Skip to content

Commit

Permalink
chore: update phpstan to 1.11.0
Browse files Browse the repository at this point in the history
  • Loading branch information
brotkrueml committed May 13, 2024
1 parent 5694b77 commit 56f353e
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"brotkrueml/coding-standards": "~3.0.0",
"ergebnis/composer-normalize": "~2.42.0",
"phpstan/extension-installer": "^1.3",
"phpstan/phpstan": "1.10.57",
"phpstan/phpstan": "1.11.0",
"phpunit/phpunit": "^9.6",
"rector/rector": "1.0.5",
"symfony/yaml": "^5.4 || ^6.4 || ^7.0",
Expand Down
15 changes: 15 additions & 0 deletions phpstan.baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,18 @@ parameters:
message: "#^Instantiated class Symfony\\\\Component\\\\RateLimiter\\\\RateLimiterFactory not found\\.$#"
count: 1
path: Classes/RateLimiter/FormRateLimitFactory.php

-
message: "#^\"@\\\\unserialize\\(\\$content\\)\" is forbidden to use$#"
count: 1
path: Classes/RateLimiter/Storage/FileStorage.php

-
message: "#^\"@\\\\unserialize\\(\\$content\\)\" is forbidden to use$#"
count: 1
path: Classes/RateLimiter/Storage/FileStorageCleaner.php

-
message: "#^Cognitive complexity for \"Brotkrueml\\\\FormRateLimit\\\\RateLimiter\\\\Storage\\\\FileStorageCleaner\\:\\:processFile\\(\\)\" is 8, keep it under 6$#"
count: 1
path: Classes/RateLimiter/Storage/FileStorageCleaner.php

0 comments on commit 56f353e

Please sign in to comment.