Skip to content

[Config][TwigBundle] Fixed syntax error in config #39334

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

Merged
merged 1 commit into from
Dec 8, 2020

Conversation

Nyholm
Copy link
Member

@Nyholm Nyholm commented Dec 5, 2020

Q A
Branch? 4.4
Bug fix? yes
New feature? no
Deprecations? no
Tickets
License MIT
Doc PR

Sorry for such small PR. I found this when I was parsing the yaml after running bin/console config:dump-reference TwigBundle

#SymfonyHackday

@Nyholm Nyholm requested a review from yceruto as a code owner December 5, 2020 15:56
@carsonbot carsonbot added this to the 4.4 milestone Dec 5, 2020
@carsonbot carsonbot changed the title [twigbundle] Fixed syntax error in config [TwigBundle] [twigbundle] Fixed syntax error in config Dec 5, 2020
@fabpot
Copy link
Member

fabpot commented Dec 5, 2020

Not sure about this one. IIUC, the change is only for YAML, but we have other formats as well where you should not add the quotes, right?

@Nyholm
Copy link
Member Author

Nyholm commented Dec 5, 2020

Hm. Yes. I'll try to fix this problem by updating the Yaml dumper instead.

@Nyholm
Copy link
Member Author

Nyholm commented Dec 5, 2020

I've updated the PR, it fixes the same problem but is only updating the dumper instead of the configuration.

@derrabus derrabus changed the title [TwigBundle] [twigbundle] Fixed syntax error in config [TwigBundle] Fixed syntax error in config Dec 5, 2020
@derrabus derrabus added the Config label Dec 5, 2020
@carsonbot carsonbot changed the title [TwigBundle] Fixed syntax error in config [Config][TwigBundle] Fixed syntax error in config Dec 5, 2020
@fabpot
Copy link
Member

fabpot commented Dec 8, 2020

@Nyholm Can you have a look at the tests?

@Nyholm
Copy link
Member Author

Nyholm commented Dec 8, 2020

Sure. PR is rebased and tests are updated

@derrabus
Copy link
Member

derrabus commented Dec 8, 2020

Thank you Tobias.

@derrabus derrabus merged commit 8f331f2 into symfony:4.4 Dec 8, 2020
@Nyholm
Copy link
Member Author

Nyholm commented Dec 8, 2020

Wohoo. Thank you. Now there is nothing that blocks us to make Carson bot a little bit smarter =)

symfony-tools/carsonbot#141

@Nyholm Nyholm deleted the syntax-error branch December 8, 2020 14:11
@Nyholm
Copy link
Member Author

Nyholm commented Dec 8, 2020

(except for a branch sync =) )

@fabpot fabpot mentioned this pull request Dec 18, 2020
This was referenced Dec 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants