Skip to content

Commit feb01a0

Browse files
committed
phpstan level 9
1 parent 9317755 commit feb01a0

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
Compatibility: requires minimum Kimai 2.15.0
44

55
- Inline Nelmio API Doc config
6+
- PHPStan Level 9 and codestyle fixes
67

78
## Version 2.4.0
89

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
"codestyle": "vendor/bin/php-cs-fixer fix --dry-run --verbose --show-progress=none",
4444
"codestyle-fix": "vendor/bin/php-cs-fixer fix",
4545
"codestyle-check": "vendor/bin/php-cs-fixer fix --dry-run --verbose --using-cache=no --show-progress=none --format=checkstyle",
46-
"phpstan": "vendor/bin/phpstan analyse . --configuration=phpstan.neon --level=8",
46+
"phpstan": "vendor/bin/phpstan analyse . --configuration=phpstan.neon",
4747
"linting": [
4848
"composer validate --strict --no-check-version",
4949
"@codestyle-check",

phpstan.neon

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ includes:
66
- %rootDir%/../phpstan/conf/bleedingEdge.neon
77

88
parameters:
9+
level: 9
910
excludePaths:
1011
- vendor/
1112
treatPhpDocTypesAsCertain: false

0 commit comments

Comments
 (0)