Skip to content

Commit

Permalink
minor #1310 Remove the dependency on composer/package-versions-deprec…
Browse files Browse the repository at this point in the history
…ated (stof)

This PR was merged into the main branch.

Discussion
----------

Remove the dependency on composer/package-versions-deprecated

This package was added in the past to force keeping support for composer 1 when using doctrine/orm. In the meantime, doctrine/orm has switched to using that package directly, making this root requirement useless. And in the next releases of doctrine/orm and doctrine/dbal, they are migrating to use composer-runtime-api (dropping support for composer 1) instead of using this plugin, as part of the effort to fade out that compat plugin.

Refs symfony/symfony#44726

The package is still present for now (and so still needed in the list of allowed plugins too) because doctrine packages require it. But this will change in their next releases for DBAL, ORM and Migrations (the PRs are already merged)

Commits
-------

f12bb2c Remove the dependency on composer/package-versions-deprecated
  • Loading branch information
mwhorse46 committed Jan 14, 2022
2 parents a21f983 + 4953246 commit 3802123
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
"require": {
"php": ">=8.0.2",
"ext-pdo_sqlite": "*",
"composer/package-versions-deprecated": "^1.8",
"doctrine/dbal": "^3.1",
"doctrine/doctrine-bundle": "^2.5",
"doctrine/doctrine-migrations-bundle": "^3.0",
Expand Down
2 changes: 1 addition & 1 deletion composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3802123

Please sign in to comment.