Skip to content

Conversation

@mb3rnard
Copy link

Not escaping the @ symbol in parameters declaration triggered an error when running unit tests. The '@' symbol is to be reserved for possible future standardisation. See https://en.wikipedia.org/wiki/YAML

HateoasInc\Bundle\ExampleBundle\Tests\API\ArticlesTest exception 'Symfony\Component\Yaml\Exception\ParseException' with message 'The reserved indicator "@" cannot start a plain scalar; you need to quote the scalar at line 11 (near "- @doctrine.orm.entity_manager").' in phar:///usr/local/Cellar/phpunit/5.1.0/libexec/phpunit-5.1.0.phar/symfony/yaml/Inline.php:241

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant