Skip to content

Commit da41cc9

Browse files
committed
Drop support for PHP 7.1, require PHPStan 1.5.0
1 parent 337ff95 commit da41cc9

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

Diff for: .github/workflows/build.yml

+3-6
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ jobs:
1616
strategy:
1717
matrix:
1818
php-version:
19-
- "7.1"
2019
- "7.2"
2120
- "7.3"
2221
- "7.4"
@@ -40,7 +39,7 @@ jobs:
4039
run: "composer install --no-interaction --no-progress"
4140

4241
- name: "Downgrade PHPUnit"
43-
if: matrix.php-version == '7.1' || matrix.php-version == '7.2' || matrix.php-version == '7.3'
42+
if: matrix.php-version == '7.2' || matrix.php-version == '7.3'
4443
run: "composer require --dev phpunit/phpunit:^7.5.20 --update-with-dependencies"
4544

4645
- name: "Lint"
@@ -81,7 +80,6 @@ jobs:
8180
fail-fast: false
8281
matrix:
8382
php-version:
84-
- "7.1"
8583
- "7.2"
8684
- "7.3"
8785
- "7.4"
@@ -110,7 +108,7 @@ jobs:
110108
run: "composer update --no-interaction --no-progress"
111109

112110
- name: "Downgrade PHPUnit"
113-
if: matrix.php-version == '7.1' || matrix.php-version == '7.2' || matrix.php-version == '7.3'
111+
if: matrix.php-version == '7.2' || matrix.php-version == '7.3'
114112
run: "composer require --dev phpunit/phpunit:^7.5.20 --update-with-dependencies"
115113

116114
- name: "Tests"
@@ -124,7 +122,6 @@ jobs:
124122
fail-fast: false
125123
matrix:
126124
php-version:
127-
- "7.1"
128125
- "7.2"
129126
- "7.3"
130127
- "7.4"
@@ -147,7 +144,7 @@ jobs:
147144
run: "composer update --no-interaction --no-progress"
148145

149146
- name: "Downgrade PHPUnit"
150-
if: matrix.php-version == '7.1' || matrix.php-version == '7.2' || matrix.php-version == '7.3'
147+
if: matrix.php-version == '7.2' || matrix.php-version == '7.3'
151148
run: "composer require --dev phpunit/phpunit:^7.5.20 --update-with-dependencies"
152149

153150
- name: "PHPStan"

Diff for: composer.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
"description": "PHPDoc parser with support for nullable, intersection and generic types",
44
"license": "MIT",
55
"require": {
6-
"php": "^7.1 || ^8.0"
6+
"php": "^7.2 || ^8.0"
77
},
88
"require-dev": {
99
"php-parallel-lint/php-parallel-lint": "^1.2",
1010
"phpstan/extension-installer": "^1.0",
11-
"phpstan/phpstan": "^1.0",
11+
"phpstan/phpstan": "^1.5",
1212
"phpstan/phpstan-strict-rules": "^1.0",
1313
"phpunit/phpunit": "^9.5",
1414
"symfony/process": "^5.2"

0 commit comments

Comments
 (0)