Closed
Description
Q | A |
---|---|
Bug report? | yes |
Feature request? | no |
BC Break report? | yes |
RFC? | no |
Symfony version | 3.3-dev |
When using DefinitionDecorator
in a unit test, the error above will be triggered. Seems like the renaming is not done properly.
Test output
There was 1 error:
1) Symfony\Cmf\SeoBundle\Tests\Unit\DependencyInjection\CmfSeoExtensionTest::testErrorHandlingPHPCR
Cannot declare class Symfony\Component\DependencyInjection\DefinitionDecorator, because the name is already in use
/home/travis/build/symfony-cmf/seo-bundle/.phpunit/phpunit-5.3/vendor/symfony/phpunit-bridge/DeprecationErrorHandler.php:73
/home/travis/build/symfony-cmf/seo-bundle/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/ChildDefinition.php:226
/home/travis/build/symfony-cmf/seo-bundle/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/DefinitionDecorator.php:16
/home/travis/build/symfony-cmf/seo-bundle/src/DependencyInjection/CmfSeoExtension.php:254
/home/travis/build/symfony-cmf/seo-bundle/src/DependencyInjection/CmfSeoExtension.php:240
/home/travis/build/symfony-cmf/seo-bundle/src/DependencyInjection/CmfSeoExtension.php:83
/home/travis/build/symfony-cmf/seo-bundle/vendor/matthiasnoback/symfony-dependency-injection-test/PhpUnit/AbstractExtensionTestCase.php:54
/home/travis/build/symfony-cmf/seo-bundle/tests/Unit/DependencyInjection/CmfSeoExtensionTest.php:192