Skip to content

Commit

Permalink
QA: update phpstan
Browse files Browse the repository at this point in the history
  • Loading branch information
f3l1x committed Nov 15, 2023
1 parent 317a9a7 commit 9bdbcf0
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions phpstan.neon
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
includes:
- vendor/phpstan/phpstan-deprecation-rules/rules.neon
- vendor/phpstan/phpstan-nette/extension.neon
- vendor/phpstan/phpstan-nette/rules.neon
- vendor/phpstan/phpstan-strict-rules/rules.neon
- vendor/contributte/phpstan/phpstan.neon

parameters:
level: 9
phpVersion: 70200
phpVersion: 80100

scanDirectories:
- src
Expand All @@ -16,7 +13,6 @@ parameters:

paths:
- src
- .docs

ignoreErrors:
- '#Unsafe usage of new static\(\).#'
- '#Strict comparison using === between non-empty-array<int, string> and false will always evaluate to false#'

0 comments on commit 9bdbcf0

Please sign in to comment.