Skip to content
This repository was archived by the owner on Nov 27, 2020. It is now read-only.

Make the app/config/*.yml files validate #427

Closed
wants to merge 3 commits into from

Conversation

isleshocky77
Copy link
Contributor

You cannot start a Plain Style Scalar with an Indicator (%). Play Style
Scalars which have a leading % should be changed to double-quote style
scalars.

fixes #426

You cannot start a Plain Style Scalar with an Indicator (%). Play Style
Scalars which have a leading % should be changed to double-quote style
scalars.

fixes #426
@michaelcullum
Copy link

This would need updates in the docs too?

@isleshocky77
Copy link
Contributor Author

I would agree; however, wouldn't that be an issue and pull for a different repo (not symfony-standard)?

@michaelcullum
Copy link

Yes, but this PR won't be merged until the docs are done in a PR to https://github.com/symfony/symfony-docs

@isleshocky77
Copy link
Contributor Author

Strange enough it appears this has already started to have been addressed and I would consider it now to be incosistent:

http://symfony.com/doc/current/book/page_creation.html#application-configuration

framework:
    secret:          "%secret%"
    router:          { resource: "%kernel.root_dir%/config/routing.yml" }

You cannot start a Plain Style Scalar with an Indicator (%). Plain
Style Scalars which have a leading % should be changed to double-quote
style scalars.

for #426
@fabpot
Copy link
Member

fabpot commented Oct 3, 2012

@isleshocky77 Can you submit a PR on the 2.1 branch instead? For the docs, I think we just need to create a ticket so that it is not lost. Thanks.

@fabpot fabpot closed this Oct 6, 2012
fabpot added a commit that referenced this pull request Oct 6, 2012
This PR was merged into the 2.1 branch.

Commits
-------

8c03340 You cannot start a Plain Style Scalar with an Indicator (%). Plain Style Scalars which have a leading % should be changed to double-quote style scalars.
9afa2c1 Correcting YAML Markup in app/config to be valid YAML 1.2o

Discussion
----------

Make the app/config/*.yml files validate

You cannot start a Plain Style Scalar with an Indicator (%). Play Style
Scalars which have a leading % should be changed to double-quote style
scalars.

fixes #426
see #427
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants