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: 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:

View File

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

View File

@ -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",

View File

@ -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