Skip to content

Commit

Permalink
Merge pull request #423 from loic425/simplify-phpstan-config
Browse files Browse the repository at this point in the history
Simplify PHPStan config
  • Loading branch information
loic425 committed Apr 26, 2022
2 parents 3c6cacf + b62c590 commit 479c145
Showing 1 changed file with 0 additions and 26 deletions.
26 changes: 0 additions & 26 deletions phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -10,34 +10,8 @@ parameters:
reportUnmatchedIgnoredErrors: false

excludePaths:
# Recipes
- ../.recipe/**

# Makes PHPStan crash
- '**/DependencyInjection/Configuration.php'

# Vendor files in subpackages
- '**/vendor/**'

# Test dependencies
- '**/spec/**.php'

# Grids
- '**/Grid/**.php'

# These packages aren't in require-dev of the global package
- '**MongoDB**'
- '**ODM**'

ignoreErrors:
# Magic calls
- '/Call to an undefined static method Webmozart\\Assert\\Assert::all/'
- '/Call to an undefined static method Webmozart\\Assert\\Assert::nullOr/'
- '/Call to an undefined method Faker\\Generator::/'
- '/Call to an undefined method Symfony\\Component\\Config\\Definition\\Builder\\NodeParentInterface::/'
- '/Access to an undefined property Faker\\Generator::/'
- '/Method Mockery\\MockInterface::shouldReceive\(\) invoked with 1 parameter, 0 required/'

# These packages aren't in require-dev of the global package
- '/Class Doctrine\\Bundle\\MongoDBBundle/'
- '/Class Doctrine\\Bundle\\PHPCRBundle/'

0 comments on commit 479c145

Please sign in to comment.