Thanks to visit codestin.com
Credit goes to github.com

Skip to content

bug(yaml): DUMP_BASE64_BINARY_DATA not available #16508

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
Guikingone opened this issue Feb 14, 2022 · 1 comment
Closed

bug(yaml): DUMP_BASE64_BINARY_DATA not available #16508

Guikingone opened this issue Feb 14, 2022 · 1 comment

Comments

@Guikingone
Copy link
Contributor

Guikingone commented Feb 14, 2022

Hi πŸ‘‹πŸ»

Small question about the 3.4 version of the documentation related to the YAML component, it seems that the doc highlight the fact that since 3.2 (the doc only display the information since 3.4: https://symfony.com/doc/3.4/components/yaml.html#parsing-and-dumping-of-binary-data) , we can dump / parse binaries data thanks to Yaml::DUMP_BASE64_BINARY_DATA const.

Problem is, after checking the source code, it seems that this const does not exist: https://github.com/symfony/symfony/blob/3.2/src/Symfony/Component/Yaml/Yaml.php.

Am I missing something or is there a missing link / const / code block?

Thanks πŸ™‚

@xabbuh
Copy link
Member

xabbuh commented Feb 18, 2022

That's a mistake in the documentation. The documented flag has never been released (see symfony/symfony#18294). I have opened #16526 to fix this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants