I am trying to run unit test in a symfony2 project, but the tests fail due to a YAML parsing error:
The file "../services.yml" does not contain valid YAML in "../"
Caused by:
The reserved indicator "@" cannot start a plain scalar; you need to quote the scalar at line 6 (near "- [ setContainer, [ @service_container ] ]").
Of course, I have to use quotes, but it works on another PC, so what should I do to solve this error, but not using quotes?
php yaml symfony phpunit
Svyat Dec 24 '15 at 15:22 2015-12-24 15:22
source share