Skip to content

Commit 9d9f27a

Browse files
minor symfony#44765 [ProxyManagerBridge] Remove the unused dependency on composer/package-versions-deprecated (stof)
This PR was merged into the 4.4 branch. Discussion ---------- [ProxyManagerBridge] Remove the unused dependency on composer/package-versions-deprecated | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | yes/no | New feature? | no <!-- please update src/**/CHANGELOG.md files --> | Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files --> | Tickets | - | License | MIT | Doc PR | n/a The ProxyManagerBridge depends on friendsofphp/proxy-manager-lts which has an optional dependency on the PackageVersions class to implement the `ProxyManager\Version::getVersion` method on composer 1 (with a fallback to a less precise version number). However, the bridge has stopped using that API in favor of feature detection (in symfony#39017), so the dependency is unused. This contributes to symfony#44726 Commits ------- 6ca8e30 Remove the unused dependency on composer/package-versions-deprecated
2 parents 3526a32 + 6ca8e30 commit 9d9f27a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/Symfony/Bridge/ProxyManager/composer.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
],
1818
"require": {
1919
"php": ">=7.1.3",
20-
"composer/package-versions-deprecated": "^1.8",
2120
"friendsofphp/proxy-manager-lts": "^1.0.2",
2221
"symfony/dependency-injection": "^4.0|^5.0",
2322
"symfony/polyfill-php80": "^1.16"

0 commit comments

Comments
 (0)