Skip to content

Commit da787b1

Browse files
authored
PHPStan: enable reportAnyTypeWideningInVarTag (#105)
1 parent 1df5f9d commit da787b1

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"require-dev": {
2727
"editorconfig-checker/editorconfig-checker": "^10.3.0",
2828
"ergebnis/composer-normalize": "^2.19",
29-
"phpstan/phpstan": "^1.10.30",
29+
"phpstan/phpstan": "^1.10.63",
3030
"phpstan/phpstan-phpunit": "^1.1.1",
3131
"phpstan/phpstan-strict-rules": "^1.2.3",
3232
"phpunit/phpunit": "^8.5.28 || ^9.5.20",

composer.lock

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

phpstan.neon.dist

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ parameters:
1515
analyseAndScan:
1616
- tests/data/not-autoloaded/*
1717
tmpDir: cache/phpstan/
18+
reportAnyTypeWideningInVarTag: true
1819
checkMissingCallableSignature: true
1920
checkUninitializedProperties: true
2021
checkBenevolentUnionTypes: true

0 commit comments

Comments
 (0)