1919 strategy :
2020 fail-fast : false
2121 matrix :
22- php-version : ['8.1 ', '8.2 ', '8.3', '8.4 ']
22+ php-version : ['8.3 ', '8.4 ', '8.5 ']
2323
2424 uses : simplesamlphp/simplesamlphp-test-framework/.github/workflows/reusable_phplinter.yml@v1.11.0
2525 with :
@@ -46,15 +46,15 @@ jobs:
4646 fail-fast : false
4747 matrix :
4848 operating-system : [ubuntu-latest]
49- php-versions : ['8.1 ', '8.2 ', '8.3', '8.4 ']
49+ php-versions : ['8.3 ', '8.4 ', '8.5 ']
5050
5151 steps :
5252 - name : Setup PHP, with composer and extensions
5353 # https://github.com/shivammathur/setup-php
5454 uses : shivammathur/setup-php@v2
5555 with :
5656 php-version : ${{ matrix.php-versions }}
57- extensions : ctype, date, dom, fileinfo, filter, hash, intl, mbstring, openssl, pcre, posix, spl, xml
57+ extensions : ctype, date, dom, fileinfo, filter, hash, intl, mbstring, openssl, pcre, posix, sodium, spl, xml
5858 tools : composer
5959 ini-values : error_reporting=E_ALL
6060 coverage : pcov
@@ -86,15 +86,15 @@ jobs:
8686 run : composer install --no-progress --prefer-dist --optimize-autoloader
8787
8888 - name : Run unit tests with coverage
89- if : ${{ matrix.php-versions == '8.4 ' }}
89+ if : ${{ matrix.php-versions == '8.5 ' }}
9090 run : vendor/bin/phpunit
9191
9292 - name : Run unit tests (no coverage)
93- if : ${{ matrix.php-versions != '8.4 ' }}
93+ if : ${{ matrix.php-versions != '8.5 ' }}
9494 run : vendor/bin/phpunit --no-coverage
9595
9696 - name : Save coverage data
97- if : ${{ matrix.php-versions == '8.4 ' }}
97+ if : ${{ matrix.php-versions == '8.5 ' }}
9898 uses : actions/upload-artifact@v6
9999 with :
100100 name : coverage-data
@@ -109,15 +109,16 @@ jobs:
109109 fail-fast : true
110110 matrix :
111111 operating-system : [windows-latest]
112- php-versions : ['8.1 ', '8.2 ', '8.3', '8.4 ']
112+ php-versions : ['8.3 ', '8.4 ', '8.5 ']
113113
114114 steps :
115115 - name : Setup PHP, with composer and extensions
116116 # https://github.com/shivammathur/setup-php
117117 uses : shivammathur/setup-php@v2
118118 with :
119119 php-version : ${{ matrix.php-versions }}
120- extensions : ctype, date, dom, fileinfo, filter, hash, intl, mbstring, openssl, pcre, posix, spl, xml, zip
120+ extensions : ctype, date, dom, fileinfo, filter, hash, intl, mbstring, openssl,\
121+ pcre, posix, sodium, spl, xml, zip
121122 tools : composer
122123 ini-values : error_reporting=E_ALL
123124 coverage : none
@@ -163,9 +164,9 @@ jobs:
163164 uses : shivammathur/setup-php@v2
164165 with :
165166 # Should be the higest supported version, so we can use the newest tools
166- php-version : ' 8.4 '
167+ php-version : ' 8.5 '
167168 tools : composer, composer-require-checker, composer-unused, phpcs, phpstan
168- extensions : ctype, date, dom, fileinfo, filter, hash, intl, mbstring, openssl, pcre, posix, spl, xml
169+ extensions : ctype, date, dom, fileinfo, filter, hash, intl, mbstring, openssl, pcre, posix, sodium, spl, xml
169170
170171 - name : Setup problem matchers for PHP
171172 run : echo "::add-matcher::${{ runner.tool_cache }}/php.json"
@@ -203,7 +204,7 @@ jobs:
203204 run : composer-unused
204205
205206 - name : PHP Code Sniffer
206- run : phpcs
207+ run : vendor/bin/ phpcs
207208
208209 - name : PHPStan
209210 run : |
@@ -224,8 +225,8 @@ jobs:
224225 uses : shivammathur/setup-php@v2
225226 with :
226227 # Should be the lowest supported version
227- php-version : ' 8.1 '
228- extensions : ctype, date, dom, fileinfo, filter, hash, intl, mbstring, openssl, pcre, posix, spl, xml
228+ php-version : ' 8.3 '
229+ extensions : ctype, date, dom, fileinfo, filter, hash, intl, mbstring, openssl, pcre, posix, sodium, spl, xml
229230 tools : composer
230231 coverage : none
231232
0 commit comments