Skip to content

Commit

Permalink
Merge pull request #425 from doctrine/3.5.x
Browse files Browse the repository at this point in the history
Merge 3.5.x up into 3.6.x
  • Loading branch information
greg0ire committed Mar 28, 2024
2 parents c808a0c + e1db891 commit c27df72
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Resources/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ First, add a new ``PSR-4`` autoload-entry in the ``composer.json`` with the new
.. note::

You need to dump the autoloader with ``composer dump-autoloader``
You need to dump the autoloader with ``composer dump-autoload``

Then, enable Dependency Injection for the ``fixtures`` directory:

Expand Down
19 changes: 19 additions & 0 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
@@ -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 c27df72

Please sign in to comment.