Closed
Description
Q | A |
---|---|
Bug report? | yes |
Feature request? | no |
BC Break report? | no |
RFC? | no |
Symfony version | 4.0 |
Hi,
i think i have an issue with circular references in our Symfony 4.0 build on DoctrinePhpcrBundle.
You can reproduce it it by:
git clone https://github.com/doctrine/DoctrinePHPCRBundle.git
git checkout allow_symfony_4.0
composer config minimum-stability dev
composer require symfony/symfony:^4.0 --no-update
composer update --prefer-dist
(same as travis does it)
Then you can call every console command (lives in testing component, kernel is here):
export KERNEL_CLASS=Doctrine\\Bundle\\PHPCRBundle\\Tests\\Fixtures\\App\\Kernel && ./vendor/symfony-cmf/testing/bin/travis/../console doctrine:phpcr:init:dbal --drop -vvv
You should see the issue then. Currently i do no know why? Are we doing something wrong with the service definition or is it the setter for the TranslationStrategy. When debugging into i got the following image at the end where the exception is thrown:
Notice:
- The builds on Symfony 3.3, 3.4 and 2.8 are green