My symfony2 application works fine with phpunit on wamp (windows), but when you change the environment and start working with lampp (linux) after installation, I get the following error when starting the test by typing phpunit -c app /: `/ opt / lampp / htdocs / VTALLY / src / Iballot / CmsBundle / Tests / Controller / ParliamentaryControllerTest.php: 11
Symfony \ Component \ Yaml \ Exception \ ParseException raised: the reserved indicator "@" cannot trigger a simple scalar; you need to quote the scalar on line 4 (near "arguments: [@ security.context, @ fos_user.user_manager]"). `
source
share