Skip to content

Commit 50bbab2

Browse files
committed
Remove tests for PHP 8.2
1 parent 162d3d4 commit 50bbab2

File tree

2 files changed

+7
-26
lines changed

2 files changed

+7
-26
lines changed

.github/workflows/php.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
strategy:
1919
fail-fast: false
2020
matrix:
21-
php-version: ['8.2', '8.3', '8.4', '8.5']
21+
php-version: ['8.3', '8.4', '8.5']
2222

2323
uses: simplesamlphp/simplesamlphp-test-framework/.github/workflows/reusable_phplinter.yml@v1.10.6
2424
with:
@@ -44,7 +44,7 @@ jobs:
4444
fail-fast: false
4545
matrix:
4646
operating-system: [ubuntu-latest]
47-
php-versions: ['8.2', '8.3', '8.4', '8.5']
47+
php-versions: ['8.3', '8.4', '8.5']
4848

4949
steps:
5050
- name: Setup PHP, with composer and extensions
@@ -107,7 +107,7 @@ jobs:
107107
fail-fast: true
108108
matrix:
109109
operating-system: [windows-latest]
110-
php-versions: ['8.2', '8.3', '8.4', '8.5']
110+
php-versions: ['8.3', '8.4', '8.5']
111111

112112
steps:
113113
- name: Setup PHP, with composer and extensions
@@ -225,7 +225,7 @@ jobs:
225225
uses: shivammathur/setup-php@v2
226226
with:
227227
# Should be the lowest supported version
228-
php-version: '8.2'
228+
php-version: '8.3'
229229
extensions: ctype, date, dom, filter, hash, intl, mbstring, openssl, pcre, spl, xml
230230
tools: composer
231231
coverage: none

.github/workflows/reusable_phplinter.yml

Lines changed: 3 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ on: # yamllint disable-line rule:truthy
1919
default: ${{ github.ref }}
2020

2121
env:
22-
supported: '["7.4", "8.0", "8.1", "8.2", "8.3", "8.4", "8.5"]'
22+
supported: '["8.3", "8.4", "8.5"]'
2323

2424
jobs:
2525
linter:
@@ -45,29 +45,10 @@ jobs:
4545
coverage: "none"
4646
extensions: :redis
4747

48-
- name: Install overtrue/phplint (v3.4)
49-
if: inputs.php-version == '7.4'
48+
- name: Install overtrue/phplint (v9.7)
5049
run: |
5150
sleep $((random % 10))
52-
phive install overtrue/phplint@~3.4.0 --force-accept-unsigned --target ./bin
53-
54-
- name: Install overtrue/phplint (v4.5)
55-
if: inputs.php-version == '8.0'
56-
run: |
57-
sleep $((random % 10))
58-
phive install overtrue/phplint@~4.5.0 --force-accept-unsigned --target ./bin
59-
60-
- name: Install overtrue/phplint (v9.4)
61-
if: inputs.php-version == '8.1'
62-
run: |
63-
sleep $((random % 10))
64-
phive install overtrue/phplint@~9.4.0 --force-accept-unsigned --target ./bin
65-
66-
- name: Install overtrue/phplint (v9.6)
67-
if: inputs.php-version != '7.4' && inputs.php-version != '8.0' && inputs.php-version != '8.1'
68-
run: |
69-
sleep $((random % 10))
70-
phive install overtrue/phplint@~9.6.0 --force-accept-unsigned --target ./bin
51+
phive install overtrue/phplint@~9.7.1 --force-accept-unsigned --target ./bin
7152
7253
- name: Lint PHP files
7354
run: |

0 commit comments

Comments
 (0)