mirror of
https://github.com/danog/psalm.git
synced 2024-11-30 04:39:00 +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": {
|
"require": {
|
||||||
"php": ">=5.5",
|
"php": "^5.5 || ^7.0",
|
||||||
"nikic/PHP-Parser": ">=3.0.2"
|
"nikic/PHP-Parser": "^3.0.2"
|
||||||
},
|
},
|
||||||
"bin": ["bin/psalm"],
|
"bin": ["bin/psalm"],
|
||||||
"autoload": {
|
"autoload": {
|
||||||
@ -25,7 +25,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"phpunit/phpunit": ">=5.7.4",
|
"phpunit/phpunit": "^5.7.4",
|
||||||
"squizlabs/php_codesniffer": "^2.7"
|
"squizlabs/php_codesniffer": "^2.7"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
Loading…
Reference in New Issue
Block a user