Skip to content

Commit

Permalink
Merge pull request #177 from Zales0123/upgrade-phpstan-config
Browse files Browse the repository at this point in the history
Change deprecated PHPStan config
  • Loading branch information
Zales0123 authored Jul 29, 2024
2 parents b2ee511 + 3b70936 commit 7363601
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 7363601

Please sign in to comment.