mirror of
https://github.com/danog/psalm.git
synced 2024-11-26 20:34:47 +01:00
Fixed dependency bounds
Current definition of dependencies would result in **any** version being installed that is greater than the one specified. This is problematic since new major releases imply breaking changes and nothing ensures that psalm will be compatible with those updated dependencies. Using an operator that instructs Composer to ensure that this does not happen is therefore inalienable.
This commit is contained in:
parent
a67800cac7
commit
f7c309d8f6
@ -10,8 +10,8 @@
|
||||
}
|
||||
],
|
||||
"require": {
|
||||
"php": ">=5.5",
|
||||
"nikic/PHP-Parser": ">=3.0.2"
|
||||
"php": "^5.5 || ^7.0",
|
||||
"nikic/PHP-Parser": "^3.0.2"
|
||||
},
|
||||
"bin": ["bin/psalm"],
|
||||
"autoload": {
|
||||
@ -25,7 +25,7 @@
|
||||
}
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": ">=5.7.4",
|
||||
"phpunit/phpunit": "^5.7.4",
|
||||
"squizlabs/php_codesniffer": "^2.7"
|
||||
},
|
||||
"scripts": {
|
||||
|
Loading…
Reference in New Issue
Block a user