1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-26 20:34:47 +01:00

Experiment with PHP 7.1 compatibility (#4421)

* Experiment with PHP 7.1 compatibility

* Let’s hop
This commit is contained in:
Matthew Brown 2020-10-26 15:14:48 -04:00 committed by GitHub
parent b91370e4ae
commit 42c9f017f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 7 deletions

View File

@ -4,9 +4,6 @@ executors:
php-73:
docker:
- image: thecodingmachine/php:7.3-v2-cli
php-74:
docker:
- image: thecodingmachine/php:7.4-v3-cli
jobs:
install-and-self-analyse:
executor: php-73
@ -88,7 +85,7 @@ jobs:
paths:
- build/psalm.phar
test-with-real-projects:
executor: php-74
executor: php-73
steps:
- checkout # used here just for the side effect of loading the github public ssh key so we can clone other stuff
- attach_workspace:

View File

@ -3,7 +3,7 @@
"description": "Composer-based Psalm Phar",
"license": ["MIT"],
"require": {
"php": "^7.3 || ^8.0"
"php": "^7.1 || ^8.0"
},
"conflict": {
"vimeo/psalm" : "*"

View File

@ -14,7 +14,7 @@
}
],
"require": {
"php": "^7.3|^8",
"php": "^7.1|^8",
"ext-SimpleXML": "*",
"ext-dom": "*",
"ext-json": "*",
@ -40,6 +40,7 @@
"psalm/psalm": "self.version"
},
"require-dev": {
"php": "^7.3|^8",
"ext-curl": "*",
"amphp/amp": "^2.4.2",
"bamarni/composer-bin-plugin": "^1.2",

View File

@ -1,6 +1,6 @@
# Installation
The latest version of Psalm requires PHP >= 7.3 and [Composer](https://getcomposer.org/).
The latest version of Psalm requires PHP >= 7.1 and [Composer](https://getcomposer.org/).
```bash
composer require --dev vimeo/psalm