Skip to content

Commit 984056e

Browse files
committed
Drop support for PHP 7.1, require PHPStan 1.5.0
1 parent e518535 commit 984056e

File tree

2 files changed

+5
-20
lines changed

2 files changed

+5
-20
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ jobs:
1717
fail-fast: false
1818
matrix:
1919
php-version:
20-
- "7.1"
2120
- "7.2"
2221
- "7.3"
2322
- "7.4"
@@ -38,13 +37,9 @@ jobs:
3837
run: "composer validate"
3938

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

44-
- name: "Downgrade Doctrine ORM"
45-
if: matrix.php-version == '7.1'
46-
run: "composer require --dev doctrine/orm:^2.7.5 doctrine/lexer:^1.0 --no-update --update-with-dependencies"
47-
4843
- name: "Install dependencies"
4944
run: "composer install --no-interaction --no-progress"
5045

@@ -86,7 +81,6 @@ jobs:
8681
fail-fast: false
8782
matrix:
8883
php-version:
89-
- "7.1"
9084
- "7.2"
9185
- "7.3"
9286
- "7.4"
@@ -107,13 +101,9 @@ jobs:
107101
php-version: "${{ matrix.php-version }}"
108102

109103
- name: "Downgrade PHPUnit"
110-
if: matrix.php-version == '7.1' || matrix.php-version == '7.2' || matrix.php-version == '7.3'
104+
if: matrix.php-version == '7.2' || matrix.php-version == '7.3'
111105
run: "composer require --dev phpunit/phpunit:^7.5.20 --no-update --update-with-dependencies"
112106

113-
- name: "Downgrade Doctrine ORM"
114-
if: matrix.php-version == '7.1'
115-
run: "composer require --dev doctrine/orm:^2.7.5 doctrine/lexer:^1.0 --no-update --update-with-dependencies"
116-
117107
- name: "Install lowest dependencies"
118108
if: ${{ matrix.dependencies == 'lowest' }}
119109
run: "composer update --prefer-lowest --no-interaction --no-progress"
@@ -133,7 +123,6 @@ jobs:
133123
fail-fast: false
134124
matrix:
135125
php-version:
136-
- "7.1"
137126
- "7.2"
138127
- "7.3"
139128
- "7.4"
@@ -156,13 +145,9 @@ jobs:
156145
tools: composer:v2
157146

158147
- name: "Downgrade PHPUnit"
159-
if: matrix.php-version == '7.1' || matrix.php-version == '7.2' || matrix.php-version == '7.3'
148+
if: matrix.php-version == '7.2' || matrix.php-version == '7.3'
160149
run: "composer require --dev phpunit/phpunit:^7.5.20 --no-update --update-with-dependencies"
161150

162-
- name: "Downgrade Doctrine ORM"
163-
if: matrix.php-version == '7.1'
164-
run: "composer require --dev doctrine/orm:^2.7.5 doctrine/lexer:^1.0 --no-update --update-with-dependencies"
165-
166151
- name: "Install lowest dependencies"
167152
if: ${{ matrix.dependencies == 'lowest' }}
168153
run: "composer update --prefer-lowest --no-interaction --no-progress"

composer.json

Lines changed: 2 additions & 2 deletions
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.1"
9+
"php": "^7.2 || ^8.0",
10+
"phpstan/phpstan": "^1.5"
1111
},
1212
"conflict": {
1313
"doctrine/collections": "<1.0",

0 commit comments

Comments
 (0)