Skip to content

Commit

Permalink
fix: composer package validation
Browse files Browse the repository at this point in the history
Evidently, a replace rule automatically marks a package as a conflict, so defining both is redundant and causes Packagist not to list the branch/release.

Additionally, this version removes the dependency on container-interop in the require section, since it provides that dependency itself.

Signed-off-by: Matthew Weier O'Phinney <[email protected]>
  • Loading branch information
weierophinney committed Apr 4, 2022
1 parent 52a208d commit 2bf7526
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 27 deletions.
2 changes: 0 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
},
"require": {
"php": "~7.4.0 || ~8.0.0 || ~8.1.0",
"container-interop/container-interop": "^1.2",
"laminas/laminas-stdlib": "^3.2.1",
"psr/container": "^1.0"
},
Expand All @@ -54,7 +53,6 @@
"psr/container-implementation": "^1.0"
},
"conflict": {
"container-interop/container-interop": "<1.2.0",
"laminas/laminas-code": "<3.3.1",
"zendframework/zend-code": "<3.3.1",
"zendframework/zend-servicemanager": "*"
Expand Down
50 changes: 25 additions & 25 deletions composer.lock

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

0 comments on commit 2bf7526

Please sign in to comment.