Skip to content

Conversation

@xabbuh
Copy link
Member

@xabbuh xabbuh commented Aug 28, 2016

Q A
Branch? 3.1
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets see failures in #19757
License MIT
Doc PR

@HeahDude
Copy link
Contributor

👍

Status: reviewed

@javiereguiluz
Copy link
Member

👍

public function testParseUnquotedScalarStartingWithPercentCharacter()
{
ErrorAssert::assertDeprecationsAreTriggered('Not quoting a scalar starting with the "%" indicator character is deprecated since Symfony 3.1 and will throw a ParseException in 4.0.', function () {
ErrorAssert::assertDeprecationsAreTriggered('Not quoting the scalar "%foo " starting with the "%" indicator character is deprecated since Symfony 3.1 and will throw a ParseException in 4.0.', function () {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@xabbuh is the trailing space legitimate or is it another bug?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

imo it's legitimate, it's what the parser receives at that stage

@nicolas-grekas
Copy link
Member

Thank you @xabbuh.

@nicolas-grekas nicolas-grekas merged commit e8dfd4d into symfony:3.1 Aug 29, 2016
nicolas-grekas added a commit that referenced this pull request Aug 29, 2016
This PR was merged into the 3.1 branch.

Discussion
----------

[Yaml] sync test and actually triggered message

| Q             | A
| ------------- | ---
| Branch?       | 3.1
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | see failures in #19757
| License       | MIT
| Doc PR        |

Commits
-------

e8dfd4d [Yaml] sync test and actually triggered message
@xabbuh xabbuh deleted the deprecation-message-fix branch August 29, 2016 10:32
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.

5 participants