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:
parent
b91370e4ae
commit
42c9f017f9
@ -4,9 +4,6 @@ executors:
|
|||||||
php-73:
|
php-73:
|
||||||
docker:
|
docker:
|
||||||
- image: thecodingmachine/php:7.3-v2-cli
|
- image: thecodingmachine/php:7.3-v2-cli
|
||||||
php-74:
|
|
||||||
docker:
|
|
||||||
- image: thecodingmachine/php:7.4-v3-cli
|
|
||||||
jobs:
|
jobs:
|
||||||
install-and-self-analyse:
|
install-and-self-analyse:
|
||||||
executor: php-73
|
executor: php-73
|
||||||
@ -88,7 +85,7 @@ jobs:
|
|||||||
paths:
|
paths:
|
||||||
- build/psalm.phar
|
- build/psalm.phar
|
||||||
test-with-real-projects:
|
test-with-real-projects:
|
||||||
executor: php-74
|
executor: php-73
|
||||||
steps:
|
steps:
|
||||||
- checkout # used here just for the side effect of loading the github public ssh key so we can clone other stuff
|
- checkout # used here just for the side effect of loading the github public ssh key so we can clone other stuff
|
||||||
- attach_workspace:
|
- attach_workspace:
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
"description": "Composer-based Psalm Phar",
|
"description": "Composer-based Psalm Phar",
|
||||||
"license": ["MIT"],
|
"license": ["MIT"],
|
||||||
"require": {
|
"require": {
|
||||||
"php": "^7.3 || ^8.0"
|
"php": "^7.1 || ^8.0"
|
||||||
},
|
},
|
||||||
"conflict": {
|
"conflict": {
|
||||||
"vimeo/psalm" : "*"
|
"vimeo/psalm" : "*"
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"require": {
|
"require": {
|
||||||
"php": "^7.3|^8",
|
"php": "^7.1|^8",
|
||||||
"ext-SimpleXML": "*",
|
"ext-SimpleXML": "*",
|
||||||
"ext-dom": "*",
|
"ext-dom": "*",
|
||||||
"ext-json": "*",
|
"ext-json": "*",
|
||||||
@ -40,6 +40,7 @@
|
|||||||
"psalm/psalm": "self.version"
|
"psalm/psalm": "self.version"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
|
"php": "^7.3|^8",
|
||||||
"ext-curl": "*",
|
"ext-curl": "*",
|
||||||
"amphp/amp": "^2.4.2",
|
"amphp/amp": "^2.4.2",
|
||||||
"bamarni/composer-bin-plugin": "^1.2",
|
"bamarni/composer-bin-plugin": "^1.2",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# Installation
|
# 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
|
```bash
|
||||||
composer require --dev vimeo/psalm
|
composer require --dev vimeo/psalm
|
||||||
|
Loading…
Reference in New Issue
Block a user