Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[Yaml] add inline parser context initializer #24060

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
Sep 6, 2017

Conversation

xabbuh
Copy link
Member

@xabbuh xabbuh commented Sep 1, 2017

Q A
Branch? 3.4
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets #23262 (comment)
License MIT
Doc PR

Calling the parser to initialize some internal context does not look
like a good idea. Additionally, this change allows to not accept null
values in Inline::parse() in 3.4 anymore.

@@ -223,9 +223,8 @@ private function doParse($value, $flags)
$context = 'mapping';

// force correct settings
Copy link
Member

Choose a reason for hiding this comment

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

comment is not relevant anymore I suppose

@xabbuh xabbuh force-pushed the yaml-inline-initialize branch from 5c140e3 to 1be23c2 Compare September 4, 2017 13:18
Calling the parser to initialize some internal context does not look
like a good idea. Additionally, this change allows to not accept null
values in `Inline::parse()` in 3.4 anymore.
@fabpot
Copy link
Member

fabpot commented Sep 6, 2017

Thank you @xabbuh.

@fabpot fabpot merged commit 1be23c2 into symfony:3.4 Sep 6, 2017
fabpot added a commit that referenced this pull request Sep 6, 2017
This PR was merged into the 3.4 branch.

Discussion
----------

[Yaml] add inline parser context initializer

| Q             | A
| ------------- | ---
| Branch?       | 3.4
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #23262 (comment)
| License       | MIT
| Doc PR        |

Calling the parser to initialize some internal context does not look
like a good idea. Additionally, this change allows to not accept null
values in `Inline::parse()` in 3.4 anymore.

Commits
-------

1be23c2 [Yaml] add inline parser context initializer
@xabbuh xabbuh deleted the yaml-inline-initialize branch September 6, 2017 16:00
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.

4 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.