Skip to content

Commit

Permalink
fix: limit to Composer versions under 2.3.0
Browse files Browse the repository at this point in the history
Version 2.3 made BC-incompatible changes to the plugin API, and it's next-to-impossible to adapt the plugin to work against each of Composer v1, Composer v2 <2.3.0, and Composer v2 >= 2.3.0.
As such, we are now restricting usage of this package to the Composer v2.2 LTS or before.

Signed-off-by: Matthew Weier O'Phinney <matthew@weierophinney.net>
  • Loading branch information
weierophinney committed Jul 14, 2022
1 parent 9169e4f commit 54d508a
Show file tree
Hide file tree
Showing 2 changed files with 343 additions and 284 deletions.
7 changes: 5 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,17 @@
"sort-packages": true,
"platform": {
"php": "7.3.99"
},
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"require": {
"php": "^7.3 || ~8.0.0 || ~8.1.0",
"composer-plugin-api": "^1.1 || ^2.0"
"composer-plugin-api": ">=1.1.0 <2.3.0"
},
"require-dev": {
"composer/composer": "^1.9 || ^2.0",
"composer/composer": ">=1.9.0 <2.3.0",
"laminas/laminas-coding-standard": "^2.2.1",
"mikey179/vfsstream": "^1.6.10@alpha",
"phpunit/phpunit": "^9.5.5",
Expand Down
Loading

0 comments on commit 54d508a

Please sign in to comment.