cebe / php-openapi

Read and write OpenAPI yaml/json files and make the content accessible in PHP objects.
MIT License
466 stars 88 forks source link

Allow Symfony YAML 5.0 #45

Closed lookyman closed 4 years ago

cebe commented 4 years ago

Seems symfony/yaml 4.4 breaks one of the yaml file tests as it does not read them the same as prior versions did...

lookyman commented 4 years ago

Yep, looks like it's not as straightforward as I thought.

lookyman commented 4 years ago

This is probably the culprit: https://github.com/symfony/yaml/commit/110e3e9eaa7827def84cb1cfee95a6cfde4bf608

I haven't checked it out yet, but it's the only relevant commit message referencing inline YAML since 4.3.0.

cebe commented 4 years ago

I have created a test script and reported a bug here: https://github.com/symfony/symfony/issues/34805