问题
I'm trying to run unit test in symfony2 project, but tests fails because of YAML parse 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 ] ]").
For sure, I should use quotes, but that's work on other PC, so what should I do to solve this error, but not using quotes?
来源:https://stackoverflow.com/questions/34454834/symfony2-phpunit-yaml-parse-error