Skip to content

Commit 02dceb2

Browse files
committed
Drop support for PHP 7.1, require PHPStan 1.5.0
1 parent 31a8e63 commit 02dceb2

File tree

2 files changed

+5
-11
lines changed

2 files changed

+5
-11
lines changed

.github/workflows/build.yml

+3-9
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"
@@ -90,9 +88,6 @@ jobs:
9088
dependencies:
9189
- "lowest"
9290
- "highest"
93-
exclude:
94-
- php-version: "7.1"
95-
dependencies: "highest"
9691

9792
steps:
9893
- name: "Checkout"
@@ -113,7 +108,7 @@ jobs:
113108
run: "composer update --no-interaction --no-progress"
114109

115110
- name: "Downgrade PHPUnit"
116-
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'
117112
run: "composer require --dev phpunit/phpunit:^7.5.20 --update-with-dependencies"
118113

119114
- name: "Tests"
@@ -127,7 +122,6 @@ jobs:
127122
fail-fast: false
128123
matrix:
129124
php-version:
130-
- "7.1"
131125
- "7.2"
132126
- "7.3"
133127
- "7.4"
@@ -158,7 +152,7 @@ jobs:
158152
run: "composer update --no-interaction --no-progress"
159153

160154
- name: "Downgrade PHPUnit"
161-
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'
162156
run: "composer require --dev phpunit/phpunit:^7.5.20 --update-with-dependencies"
163157

164158
- name: "PHPStan"

composer.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313
}
1414
],
1515
"require": {
16-
"php": "^7.1 || ^8.0",
16+
"php": "^7.2 || ^8.0",
1717
"ext-simplexml": "*",
18-
"phpstan/phpstan": "^1.4"
18+
"phpstan/phpstan": "^1.5"
1919
},
2020
"conflict": {
2121
"symfony/framework-bundle": "<3.0"

0 commit comments

Comments
 (0)