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 Nov 6, 2021
1 parent e5b1118 commit d52e4f5
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 35 deletions.
5 changes: 4 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,10 @@
"roave/infection-static-analysis-plugin": "^1.10",
"roave/security-advisories": "dev-master",
"squizlabs/php_codesniffer": "^3.6.1",
"vimeo/psalm": "^4.11.2"
"vimeo/psalm": "^4.12.0"
},
"conflict": {
"symfony/process": "<5.3.7"
},
"autoload": {
"psr-4": {
Expand Down
81 changes: 47 additions & 34 deletions composer.lock

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

0 comments on commit d52e4f5

Please sign in to comment.