Skip to content

Yaml: Removed boolean flags #6950

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

Closed
wants to merge 1 commit into from
Closed

Yaml: Removed boolean flags #6950

wants to merge 1 commit into from

Conversation

chr-hertel
Copy link
Contributor

Remove deprecated boolean flags and use const instead.


// throw an exception if an encoded object is found in the YAML string
Yaml::parse($yaml, true);
Yaml::parse($yaml, Yaml::PARSE_EXCEPTION_ON_INVALID_TYPE);

However, you can activate object support using the next argument::
Copy link
Member

@wouterj wouterj Sep 3, 2016

Choose a reason for hiding this comment

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

this is no longer true, it's not the next statement. Can you please rewrite this sentence?

@wouterj
Copy link
Member

wouterj commented Sep 3, 2016

Thanks for catching this and fixing it! I've left one minor comment. If you can fix it, it would be great. Otherwise, we'll do it while merging.

Status: needs work

@xabbuh
Copy link
Member

xabbuh commented Sep 3, 2016

For the records: This will fix parts (everything?) of #6226.

@chr-hertel
Copy link
Contributor Author

@wouterj sorry, missed that
@xabbuh i'll try to have a look at #6226 the next days

@wouterj
Copy link
Member

wouterj commented Sep 3, 2016

@wouterj sorry, missed that

No worries, you're doing a perfect job! :)

@@ -214,6 +228,42 @@ changed using the third argument as follows::
foo: bar
bar: baz

Mulit-line strings as scalar blocks
Copy link
Member

Choose a reason for hiding this comment

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

Mulit-line -> Multi-line

@javiereguiluz
Copy link
Member

@chr-hertel I left some minor comments but your pull request is great! Thank you.

👍

Status: reviewed

@chr-hertel
Copy link
Contributor Author

thanks @javiereguiluz, i fixed that.

@xabbuh
Copy link
Member

xabbuh commented Sep 21, 2016

@chr-hertel Sorry for the late feedback: It looks like we covered parts of this with #6622. Can you rebase here and resolve the conflicts?

Status: Needs work

@HeahDude
Copy link
Contributor

HeahDude commented Apr 1, 2017

Hello @chr-hertel do you still have time to work on this or do you want us to finish it? Thanks!

@ghost
Copy link

ghost commented Apr 8, 2017

i guess this one is not longer needed.

@xabbuh xabbuh closed this Apr 8, 2017
@chr-hertel chr-hertel deleted the patch-1 branch May 2, 2017 07:10
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