I\'m trying to setup a unit test but whenever I run \"phpunit -c app\" I get this error:
Symfony\\Component\\DependencyInjection\\Exception\\ServiceNotFou
I had same issue with remote builds of my project. This issue was connected with empty symfony.lock file in the root of my project. This file is for preventing symfony recipes execution twice. But my symfony.lock was corrupted and empty so framework-bundle executed it's recipe and replaced my APP_ENV variable in phpunit.xml.dist from test to dev. The reason why it happened was repositories node in composer.json (https://github.com/symfony/flex/issues/347)
I'm fixing this situation by adding dependencies in symfony.lock by my hands