Skip to content

Commit 1a3c33b

Browse files
tvdijenthijskh
authored andcommitted
Drop PHP 8.2
1 parent 6825f22 commit 1a3c33b

1 file changed

Lines changed: 13 additions & 10 deletions

File tree

.github/workflows/php.yml

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ jobs:
1919
strategy:
2020
fail-fast: false
2121
matrix:
22-
php-version: ['8.2', '8.3', '8.4', '8.5']
22+
php-version: ['8.3', '8.4', '8.5']
2323

24-
uses: simplesamlphp/simplesamlphp-test-framework/.github/workflows/reusable_phplinter.yml@v1.10.3
24+
uses: simplesamlphp/simplesamlphp-test-framework/.github/workflows/reusable_phplinter.yml@v1.11.0
2525
with:
2626
php-version: ${{ matrix.php-version }}
2727

@@ -30,7 +30,7 @@ jobs:
3030
strategy:
3131
fail-fast: false
3232

33-
uses: simplesamlphp/simplesamlphp-test-framework/.github/workflows/reusable_linter.yml@v1.10.3
33+
uses: simplesamlphp/simplesamlphp-test-framework/.github/workflows/reusable_linter.yml@v1.11.0
3434
with:
3535
enable_eslinter: false
3636
enable_jsonlinter: true
@@ -45,15 +45,15 @@ jobs:
4545
fail-fast: false
4646
matrix:
4747
operating-system: [ubuntu-latest]
48-
php-versions: ['8.2', '8.3', '8.4', '8.5']
48+
php-versions: ['8.3', '8.4', '8.5']
4949

5050
steps:
5151
- name: Setup PHP, with composer and extensions
5252
# https://github.com/shivammathur/setup-php
5353
uses: shivammathur/setup-php@v2
5454
with:
5555
php-version: ${{ matrix.php-versions }}
56-
extensions: ctype, date, dom, fileinfo, filter, hash, intl, ldap, mbstring, openssl, pcre, spl, xml
56+
extensions: ctype, date, dom, fileinfo, filter, hash, intl, ldap, mbstring, openssl, pcre, sodium, spl, xml
5757
tools: composer
5858
ini-values: error_reporting=E_ALL
5959
coverage: pcov
@@ -107,15 +107,16 @@ 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
114114
# https://github.com/shivammathur/setup-php
115115
uses: shivammathur/setup-php@v2
116116
with:
117117
php-version: ${{ matrix.php-versions }}
118-
extensions: ctype, date, dom, fileinfo, filter, hash, intl, ldap, mbstring, openssl, pcre, spl, xml, zip
118+
extensions: ctype, date, dom, fileinfo, filter, hash, intl, ldap, mbstring, openssl,\
119+
pcre, sodium, spl, xml, zip
119120
tools: composer
120121
ini-values: error_reporting=E_ALL
121122
coverage: none
@@ -164,7 +165,8 @@ jobs:
164165
php-version: '8.5'
165166
tools: composer, composer-require-checker, composer-unused, phpcs, psalm
166167
# optional performance gain for psalm: opcache
167-
extensions: ctype, date, dom, fileinfo, filter, hash, intl, ldap, mbstring, opcache, openssl, pcre, spl, xml
168+
extensions: ctype, date, dom, fileinfo, filter, hash, intl, ldap, mbstring, opcache,\
169+
openssl, pcre, sodium, spl, xml
168170

169171
- name: Setup problem matchers for PHP
170172
run: echo "::add-matcher::${{ runner.tool_cache }}/php.json"
@@ -228,8 +230,9 @@ jobs:
228230
uses: shivammathur/setup-php@v2
229231
with:
230232
# Should be the lowest supported version
231-
php-version: '8.2'
232-
extensions: ctype, date, dom, fileinfo, filter, hash, intl, ldap, mbstring, openssl, pcre, spl, xml
233+
php-version: '8.3'
234+
extensions: ctype, date, dom, fileinfo, filter, hash, intl, ldap, mbstring, openssl,\
235+
pcre, sodium, spl, xml
233236
tools: composer
234237
coverage: none
235238

0 commit comments

Comments
 (0)