Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working on symfony 3 #1

Open
gawrrell opened this issue Apr 14, 2017 · 2 comments
Open

Not working on symfony 3 #1

gawrrell opened this issue Apr 14, 2017 · 2 comments

Comments

@gawrrell
Copy link

I've recently updated from symfony2 to symfony3 and I get this error on cache:clear command:

....vendor\ticketpark\barcode-bundle\Ticketpark\BarcodeBundle\DependencyInjection/../Resou
rces/config\services.yml" does not contain valid YAML.

[Symfony\Component\Yaml\Exception\ParseException]
The reserved indicator "@" cannot start a plain scalar; you need to quote the scalar at line 9 (near "arguments: [@
ticketpark.file.handler]").

@gawrrell
Copy link
Author

I think I've found a solution:
I've put all @ references inside double quotes, ex:
arguments: ["@ticketpark.file.handler"]

@sprain
Copy link
Contributor

sprain commented Apr 16, 2017

Yes, this is necessary in Symfony 3. Would you care creating a pull request with the changes?

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

No branches or pull requests

2 participants