Skip to content

Commit 40b83f1

Browse files
committed
Drop PHP 7.1 support, require PHPStan 1.5.0
1 parent 0e9fbbe commit 40b83f1

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

4241
- name: "Downgrade PHPUnit and Mockery"
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 mockery/mockery:^1.3 --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 and Mockery"
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 mockery/mockery:^1.3 --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"
@@ -155,7 +152,7 @@ jobs:
155152
run: "composer update --no-interaction --no-progress"
156153

157154
- name: "Downgrade PHPUnit and Mockery"
158-
if: matrix.php-version == '7.1' || matrix.php-version == '7.2' || matrix.php-version == '7.3'
155+
if: matrix.php-version == '7.2' || matrix.php-version == '7.3'
159156
run: "composer require --dev phpunit/phpunit:^7.5.20 mockery/mockery:^1.3 --update-with-dependencies"
160157

161158
- 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.0"
9+
"php": "^7.2 || ^8.0",
10+
"phpstan/phpstan": "^1.5.0"
1111
},
1212
"require-dev": {
1313
"mockery/mockery": "^1.2.4",

0 commit comments

Comments
 (0)