doctrine / DoctrineFixturesBundle

Symfony integration for the doctrine/data-fixtures library
MIT License
2.45k stars 202 forks source link

Deprecation Notice: Psr-4 autoloading #309

Closed supercoffee closed 4 years ago

supercoffee commented 4 years ago

After installing this library with composer install, composer dumps out a deprecation warning relating to the IntegrationTest.php file. This should be easy to fix by simply moving the IntegrationTestKernel class into it's own file by the same name.

Deprecation Notice: Class Doctrine\Bundle\FixturesBundle\Tests\IntegrationTest\IntegrationTest located in ./vendor/doctrine/doctrine-fixtures-bundle/Tests/IntegrationTest.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///app/composer.phar/src/Composer/Autoload/ClassMapGenerator.php:201
Deprecation Notice: Class Doctrine\Bundle\FixturesBundle\Tests\IntegrationTest\IntegrationTestKernel located in ./vendor/doctrine/doctrine-fixtures-bundle/Tests/IntegrationTest.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///app/composer.phar/src/Composer/Autoload/ClassMapGenerator.php:201
greg0ire commented 4 years ago

Can you make a PR?

alcaeus commented 4 years ago

See #306, we’ll tag a release shortly. I’m closing this here.