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

[Yaml] throw a ParseException on invalid data type #15361

Closed
wants to merge 1 commit into from

Conversation

xabbuh
Copy link
Member

@xabbuh xabbuh commented Jul 25, 2015

Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets #15234
License MIT
Doc PR

Without this check, PHP would trigger a warning when an array was passed
to trim(). The parser must throw a ParseException instance on a
malformed YAML string instead.

Without this check, PHP would trigger a warning when an array was passed
to `trim()`. The parser must throw a `ParseException` instance on a
malformed YAML string instead.
@xabbuh
Copy link
Member Author

xabbuh commented Jul 25, 2015

Sorry, this fix must be merged into the 2.6 branch.

@wouterj
Copy link
Member

wouterj commented Jul 25, 2015

👍

Status: Reviewed

@mickaelandrieu
Copy link
Contributor

👍 thanks @xabbuh

@fabpot
Copy link
Member

fabpot commented Jul 26, 2015

Thank you @xabbuh.

fabpot added a commit that referenced this pull request Jul 26, 2015
This PR was submitted for the 2.8 branch but it was merged into the 2.6 branch instead (closes #15361).

Discussion
----------

[Yaml] throw a ParseException on invalid data type

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #15234
| License       | MIT
| Doc PR        |

Without this check, PHP would trigger a warning when an array was passed
to `trim()`. The parser must throw a `ParseException` instance on a
malformed YAML string instead.

Commits
-------

adc6b30 [Yaml] throw a ParseException on invalid data type
@fabpot fabpot closed this Jul 26, 2015
@xabbuh xabbuh deleted the issue-15234 branch July 27, 2015 06:35
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.

None yet

5 participants