Skip to content

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

Merged
DerManoMann merged 2 commits into
2.xfrom
fix/2x-yaml-suggest
Oct 14, 2026
Merged

DerManoMann merged 2 commits into
2.xfrom
fix/2x-yaml-suggest

Conversation

@DerManoMann

Copy link
Copy Markdown
Owner

Backport of #87 to 2.x.

The loader parses .yaml and .yml specifications 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.
  • The loader throws a LogicException that names the package when it is missing.
  • The README says that some features need suggested packages, and how to list them.

@DerManoMann
DerManoMann merged commit 3e6b5a4 into 2.x Oct 14, 2026
27 checks passed
@DerManoMann
DerManoMann deleted the fix/2x-yaml-suggest branch October 14, 2026 03:48
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