Description
Symfony version(s) affected: 4.1.0-beta2
Description
See https://travis-ci.org/omines/datatables-bundle/builds/382768680, build is failing only on 'dev', which is Symfony master branch. Following error occurs only in this build config:
PHP Fatal error: Uncaught Symfony\Component\DependencyInjection\Exception\InvalidArgumentException: Invalid ignore-on-uninitialized reference found in service ".2_ServiceLocator~i_rgpvA": target service "Omines\DataTablesBundle\Adapter\ArrayAdapter" is not shared. in /home/travis/build/omines/datatables-bundle/vendor/symfony/dependency-injection/Compiler/CheckExceptionOnInvalidReferenceBehaviorPass.php:35
Same error also occurs when running tests in a real application with 4.1.0-beta2, but strangely not in its dev environment.
How to reproduce
git clone git@github.com:omines/datatables-bundle.git reproducer
cd reproducer
composer config minimum-stability dev
composer update
vendor/bin/phpunit