Skip to content

Remove unused symfony/yaml dependency - #500

Open
TomasVotruba wants to merge 1 commit into
mainfrom
remove-symfony-yaml
Open

Remove unused symfony/yaml dependency#500
TomasVotruba wants to merge 1 commit into
mainfrom
remove-symfony-yaml

Conversation

@TomasVotruba

Copy link
Copy Markdown
Member

symfony/yaml was only used by YamlToAttributeDoctrineMappingRector, deprecated in #492. That rule's body is now a throw, and the YAML parsing code it needed is gone.

There is no Symfony\Component\Yaml usage left anywhere in config/, rules/, src/ or tests/, so the package no longer needs it in require:

     "require": {
-        "php": ">=8.4",
-        "symfony/yaml": "^7.4|8.0.*"
+        "php": ">=8.4"
     },

This drops a runtime dependency from every rector/rector install.

It was only needed by YamlToAttributeDoctrineMappingRector, deprecated in #492.
There is no Symfony\Component\Yaml usage left in the package.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant