Skip to content

Commit

Permalink
Merge pull request #424 from greg0ire/baseline-issues
Browse files Browse the repository at this point in the history
Dismiss new PHPStan issues
  • Loading branch information
greg0ire committed Mar 28, 2024
2 parents 6c3253b + b83a046 commit e1db891
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions phpstan-baseline.neon
@@ -1,5 +1,24 @@
parameters:
excludePaths:
# Contains an error that is impossible to ignore
- Tests/IntegrationTest.php

ignoreErrors:
-
message: "#^Call to an undefined static method Doctrine\\\\Bundle\\\\FixturesBundle\\\\Loader\\\\SymfonyBridgeLoader\\:\\:addFixture\\(\\)\\.$#"
count: 1
path: Loader/SymfonyFixturesLoader.php

-
message: "#^Call to an undefined static method Doctrine\\\\Bundle\\\\FixturesBundle\\\\Loader\\\\SymfonyBridgeLoader\\:\\:getFixtures\\(\\)\\.$#"
count: 1
path: Loader/SymfonyFixturesLoader.php

-
message: "#^Class Doctrine\\\\Bundle\\\\FixturesBundle\\\\Loader\\\\SymfonyFixturesLoader does not have a constructor and must be instantiated without any parameters\\.$#"
count: 2
path: Tests/Command/LoadDataFixturesDoctrineCommandTest.php

-
message: "#^Constructor of class Doctrine\\\\Bundle\\\\FixturesBundle\\\\Tests\\\\Fixtures\\\\FooBundle\\\\DataFixtures\\\\RequiredConstructorArgsFixtures has an unused parameter \\$fooRequiredArg\\.$#"
count: 1
Expand Down

0 comments on commit e1db891

Please sign in to comment.