Skip to content

Commit 0234009

Browse files
committed
Drop support for PHP 7.2 and 7.3
1 parent 264ce7a commit 0234009

File tree

4 files changed

+1
-59
lines changed

4 files changed

+1
-59
lines changed

.github/workflows/lint.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@ jobs:
2525
fail-fast: false
2626
matrix:
2727
php-version:
28-
- "7.2"
29-
- "7.3"
3028
- "7.4"
3129
- "8.0"
3230
- "8.1"

.github/workflows/reflection-golden-test.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ jobs:
6565
fail-fast: false
6666
matrix:
6767
php-version:
68-
- "7.3"
6968
- "7.4"
7069
- "8.0"
7170
- "8.1"

.github/workflows/static-analysis.yml

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@ jobs:
3131
fail-fast: false
3232
matrix:
3333
php-version:
34-
- "7.2"
35-
- "7.3"
3634
- "7.4"
3735
- "8.0"
3836
- "8.1"
@@ -61,21 +59,12 @@ jobs:
6159
run: "vendor/bin/simple-downgrade downgrade -c build/downgrade.php ${{ matrix.php-version }}"
6260

6361
- name: "Upload transformed sources"
64-
if: matrix.php-version == '7.2'
62+
if: matrix.php-version == '7.4'
6563
uses: actions/upload-artifact@v3
6664
with:
6765
name: transformed-src
6866
path: src
6967

70-
- name: "Paratest patch"
71-
if: matrix.php-version == '7.2'
72-
run: composer config extra.patches.brianium/paratest --json --merge '["patches/paratest.patch"]'
73-
shell: bash
74-
75-
- name: "Downgrade PHPUnit"
76-
if: matrix.php-version == '7.2'
77-
run: "composer require --dev phpunit/phpunit:^8.5.31 brianium/paratest:^4.0 --update-with-dependencies --ignore-platform-reqs"
78-
7968
- name: "PHPStan"
8069
run: "make phpstan"
8170

.github/workflows/tests.yml

Lines changed: 0 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ jobs:
3535
fail-fast: false
3636
matrix:
3737
php-version:
38-
- "7.3"
3938
- "7.4"
4039
- "8.0"
4140
- "8.1"
@@ -122,46 +121,3 @@ jobs:
122121

123122
- name: "Tests"
124123
run: "make tests-levels"
125-
126-
tests-old-phpunit:
127-
name: "Tests with old PHPUnit"
128-
runs-on: ${{ matrix.operating-system }}
129-
timeout-minutes: 60
130-
131-
strategy:
132-
fail-fast: false
133-
matrix:
134-
php-version:
135-
- "7.2"
136-
operating-system: [ ubuntu-latest ]
137-
138-
steps:
139-
- name: "Checkout"
140-
uses: actions/checkout@v4
141-
142-
- name: "Install PHP"
143-
uses: "shivammathur/setup-php@v2"
144-
with:
145-
coverage: "none"
146-
php-version: "${{ matrix.php-version }}"
147-
tools: pecl
148-
extensions: ds,mbstring
149-
ini-file: development
150-
ini-values: memory_limit=2G
151-
152-
- name: "Install dependencies"
153-
run: "composer install --no-interaction --no-progress"
154-
155-
- name: "Transform source code"
156-
shell: bash
157-
run: "vendor/bin/simple-downgrade downgrade -c build/downgrade.php ${{ matrix.php-version }}"
158-
159-
- name: "Paratest patch"
160-
run: composer config extra.patches.brianium/paratest --json --merge '["patches/paratest.patch"]'
161-
shell: bash
162-
163-
- name: "Downgrade PHPUnit"
164-
run: "composer require --dev phpunit/phpunit:^8.5.31 brianium/paratest:^4.0 --update-with-dependencies --ignore-platform-reqs"
165-
166-
- name: "Tests"
167-
run: "make tests-coverage"

0 commit comments

Comments
 (0)