Skip to content

Commit

Permalink
Prevent installation with incompatible symfony/process versions
Browse files Browse the repository at this point in the history
Sadly, `symfony/symfony` declared `php:>=7.1` compatibility many moons ago: that is generally
technical lack of vision and responsibility on their end, but that ship has sailed.

This means that a `composer update` can and **will** install a dependency graph that is incompatible
with your system's dependencies.

This change prevents installation of `symfony/process` in versions too archaic to actually function.

As a side-effect, `vimeo/psalm` was also upgraded to its latest and greatest.

Ref: https://github.com/vimeo/psalm/releases/tag/4.12.0
  • Loading branch information
Ocramius committed Dec 5, 2021
1 parent 0cd7b62 commit cfc9528
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@
"squizlabs/php_codesniffer": "^3.6.1",
"vimeo/psalm": "^4.12.0"
},
"conflict": {
"symfony/process": "<5.3.7"
},
"autoload": {
"psr-4": {
"Roave\\BackwardCompatibility\\": "src"
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 cfc9528

Please sign in to comment.