Skip to content

Commit 753d16f

Browse files
committed
Drop support for PHP 7.1, require PHPStan 1.5.0
1 parent cad8485 commit 753d16f

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

.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"
@@ -39,7 +38,7 @@ jobs:
3938
run: "composer install --no-interaction --no-progress"
4039

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

4544
- name: "Lint"
@@ -80,7 +79,6 @@ jobs:
8079
fail-fast: false
8180
matrix:
8281
php-version:
83-
- "7.1"
8482
- "7.2"
8583
- "7.3"
8684
- "7.4"
@@ -108,7 +106,7 @@ jobs:
108106
run: "composer update --no-interaction --no-progress"
109107

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

114112
- name: "Tests"
@@ -122,7 +120,6 @@ jobs:
122120
fail-fast: false
123121
matrix:
124122
php-version:
125-
- "7.1"
126123
- "7.2"
127124
- "7.3"
128125
- "7.4"
@@ -152,7 +149,7 @@ jobs:
152149
run: "composer update --no-interaction --no-progress"
153150

154151
- name: "Downgrade PHPUnit"
155-
if: matrix.php-version == '7.1' || matrix.php-version == '7.2' || matrix.php-version == '7.3'
152+
if: matrix.php-version == '7.2' || matrix.php-version == '7.3'
156153
run: "composer require --dev phpunit/phpunit:^7.5.20 --update-with-dependencies"
157154

158155
- name: "PHPStan"

composer.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
"MIT"
77
],
88
"require": {
9-
"php": "^7.1 || ^8.0",
10-
"phpstan/phpstan": "^1.4.9"
9+
"php": "^7.2 || ^8.0",
10+
"phpstan/phpstan": "^1.5.0"
1111
},
1212
"require-dev": {
1313
"nikic/php-parser": "^4.13.0",

0 commit comments

Comments
 (0)