1
0
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:
Richard Fussenegger 2017-01-19 21:18:46 +01:00
parent a67800cac7
commit f7c309d8f6
No known key found for this signature in database
GPG Key ID: 0528EB5E41F5F509

View File

@ -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": {