Skip to content

Commit

Permalink
Change deprecated PHPStan config
Browse files Browse the repository at this point in the history
  • Loading branch information
Zales0123 committed Jul 29, 2024
1 parent 7993b5b commit 3b70936
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions phpstan.neon
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
parameters:
level: max
reportUnmatchedIgnoredErrors: false
checkMissingIterableValueType: false
checkGenericClassInNonGenericObjectType: false
paths:
- src
- tests/Behat
Expand All @@ -16,6 +14,10 @@ parameters:
- 'tests/Application/src/**.php'

ignoreErrors:
-
identifier: missingType.iterableValue
-
identifier: missingType.generics
- '/Call to an undefined method Payum\\Core\\Request\\GetStatusInterface::getFirstModel\(\)./'
- '/Call to an undefined method Sylius\\Bundle\\PayumBundle\\Request\\ResolveNextRouteInterface::getModel\(\)./'
- '/Cannot call method getModel\(\) on mixed./'
Expand Down

0 comments on commit 3b70936

Please sign in to comment.