Skip to content

Suggest symfony/yaml, and say so when a YAML specification needs it - #87

Merged
DerManoMann merged 1 commit into
mainfrom
fix/yaml-suggest
Oct 14, 2026
Merged

DerManoMann merged 1 commit into
mainfrom
fix/yaml-suggest

Conversation

@DerManoMann

Copy link
Copy Markdown
Owner

The loader parses .yaml and .yml files with symfony/yaml, which is only in require-dev. Without it, loading a YAML specification failed with a class-not-found error.

symfony/yaml is now in suggest, and the loader throws a LogicException naming the package when it is missing. Also the README points at composer suggests for the packages optional features need, rather than naming them.

@DerManoMann
DerManoMann merged commit 7e8c78d into main Oct 14, 2026
20 of 21 checks passed
@DerManoMann
DerManoMann deleted the fix/yaml-suggest branch October 14, 2026 03:00
DerManoMann added a commit that referenced this pull request Oct 14, 2026
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

Successfully merging this pull request may close these issues.

1 participant