Skip to content

Commit

Permalink
PHPStan v2
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinpapst committed Nov 22, 2024
1 parent fdb282f commit 9278716
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 3 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## Version 2.2.0

Compatibility: requires minimum Kimai 2.17.0

- Internal refactoring: PHPStan v2

## Version 2.1.0

Compatibility: requires minimum Kimai 2.17.0
Expand Down
5 changes: 4 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "A Kimai plugin which logs all failed login attempts to a dedicated logfile, which can be consumed by Fail2Ban.",
"homepage": "https://www.kimai.org/store/fail2ban-bundle.html",
"type": "kimai-plugin",
"version": "2.1.0",
"version": "2.2.0",
"keywords": [
"kimai",
"kimai-plugin"
Expand Down Expand Up @@ -54,6 +54,9 @@
"friendsofphp/php-cs-fixer": "^3.0",
"kimai/kimai": "dev-main",
"phpstan/phpstan": "^2.0",
"phpstan/phpstan-deprecation-rules": "^2.0",
"phpstan/phpstan-doctrine": "^2.0",
"phpstan/phpstan-strict-rules": "^2.0",
"phpstan/phpstan-symfony": "^2.0",
"symfony/console": "^6.0",
"symfony/event-dispatcher": "^6.0"
Expand Down
9 changes: 7 additions & 2 deletions phpstan.neon
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
includes:
- %rootDir%/../phpstan-symfony/extension.neon
- %rootDir%/../phpstan-symfony/rules.neon
- %rootDir%/../phpstan-symfony/extension.neon
- %rootDir%/../phpstan-symfony/rules.neon
- %rootDir%/../phpstan-doctrine/extension.neon
- %rootDir%/../phpstan-doctrine/rules.neon
- %rootDir%/../phpstan-deprecation-rules/rules.neon
- %rootDir%/../phpstan-strict-rules/rules.neon
- %rootDir%/../phpstan/conf/bleedingEdge.neon

parameters:
level: 9
Expand Down

0 comments on commit 9278716

Please sign in to comment.