Skip to content

Commit

Permalink
PHPStan: enable reportAnyTypeWideningInVarTag (#105)
Browse files Browse the repository at this point in the history
  • Loading branch information
janedbal authored Mar 19, 2024
1 parent 1df5f9d commit da787b1
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"require-dev": {
"editorconfig-checker/editorconfig-checker": "^10.3.0",
"ergebnis/composer-normalize": "^2.19",
"phpstan/phpstan": "^1.10.30",
"phpstan/phpstan": "^1.10.63",
"phpstan/phpstan-phpunit": "^1.1.1",
"phpstan/phpstan-strict-rules": "^1.2.3",
"phpunit/phpunit": "^8.5.28 || ^9.5.20",
Expand Down
12 changes: 6 additions & 6 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions phpstan.neon.dist
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ parameters:
analyseAndScan:
- tests/data/not-autoloaded/*
tmpDir: cache/phpstan/
reportAnyTypeWideningInVarTag: true
checkMissingCallableSignature: true
checkUninitializedProperties: true
checkBenevolentUnionTypes: true
Expand Down

0 comments on commit da787b1

Please sign in to comment.