Skip to content

Commit

Permalink
phpstan
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinpapst committed Sep 27, 2024
1 parent 5df0a08 commit 918246b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"codestyle": "vendor/bin/php-cs-fixer fix --dry-run --verbose --show-progress=none",
"codestyle-fix": "vendor/bin/php-cs-fixer fix",
"codestyle-check": "vendor/bin/php-cs-fixer fix --dry-run --verbose --using-cache=no --show-progress=none --format=checkstyle",
"phpstan": "vendor/bin/phpstan analyse . -c phpstan.neon --level=9",
"phpstan": "vendor/bin/phpstan analyse . --configuration=phpstan.neon",
"linting": [
"composer validate --strict --no-check-version",
"@codestyle-check",
Expand Down
5 changes: 2 additions & 3 deletions phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@ includes:
- %rootDir%/../phpstan-symfony/rules.neon

parameters:
level: 9
excludePaths:
- vendor/
- vendor/(?)
treatPhpDocTypesAsCertain: false
inferPrivatePropertyTypeFromConstructor: true
checkMissingIterableValueType: false
checkGenericClassInNonGenericObjectType: false

0 comments on commit 918246b

Please sign in to comment.