Skip to content

Commit

Permalink
Merge pull request #393 from FriendsOfCake/phpstan
Browse files Browse the repository at this point in the history
PHPStan level 8
  • Loading branch information
dereuromark authored Oct 10, 2023
2 parents 6648cfc + 9f18845 commit 139c7d9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@
],
"cs-check": "phpcs -p --standard=vendor/cakephp/cakephp-codesniffer/CakePHP --ignore=comparisons src/ tests/",
"cs-fix": "phpcbf --standard=vendor/cakephp/cakephp-codesniffer/CakePHP --ignore=comparisons src/ tests/",
"test": "phpunit"
"test": "phpunit",
"stan-setup": "cp composer.json composer.backup && composer require --dev phpstan/phpstan:^1.0.0 && mv composer.backup composer.json",
"stan-setup": "phpstan analyze"
},
"config": {
"allow-plugins": {
Expand Down
4 changes: 2 additions & 2 deletions phpstan.neon
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
parameters:
level: 7
level: 8
checkMissingIterableValueType: false
bootstrapFiles:
- tests/bootstrap.php
paths:
- src
- src/

0 comments on commit 139c7d9

Please sign in to comment.