Skip to content

Commit

Permalink
phpstan level 9
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinpapst committed Jul 28, 2024
1 parent 9317755 commit feb01a0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
Compatibility: requires minimum Kimai 2.15.0

- Inline Nelmio API Doc config
- PHPStan Level 9 and codestyle fixes

## Version 2.4.0

Expand Down
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 . --configuration=phpstan.neon --level=8",
"phpstan": "vendor/bin/phpstan analyse . --configuration=phpstan.neon",
"linting": [
"composer validate --strict --no-check-version",
"@codestyle-check",
Expand Down
1 change: 1 addition & 0 deletions phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ includes:
- %rootDir%/../phpstan/conf/bleedingEdge.neon

parameters:
level: 9
excludePaths:
- vendor/
treatPhpDocTypesAsCertain: false
Expand Down

0 comments on commit feb01a0

Please sign in to comment.