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
24- uses : simplesamlphp/simplesamlphp-test-framework/.github/workflows/reusable_phplinter.yml@v1.11.0
24+ uses : simplesamlphp/simplesamlphp-test-framework/.github/workflows/reusable_phplinter.yml@v1.11.1
2525 with :
2626 php-version : ${{ matrix.php-version }}
2727
3030 strategy :
3131 fail-fast : false
3232
33- uses : simplesamlphp/simplesamlphp-test-framework/.github/workflows/reusable_linter.yml@v1.11.0
33+ uses : simplesamlphp/simplesamlphp-test-framework/.github/workflows/reusable_linter.yml@v1.11.1
3434 with :
3535 enable_eslinter : false
3636 enable_jsonlinter : true
@@ -45,15 +45,16 @@ jobs:
4545 fail-fast : false
4646 matrix :
4747 operating-system : [ubuntu-latest]
48- php-versions : ['8.1 ', '8.2 ', '8.3', '8.4 ']
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, mbstring, openssl, pcre, posix, spl, xml
56+ extensions : ctype, date, dom, fileinfo, filter, hash, intl, mbstring, openssl, pcre, posix,\
57+ session, sodium, spl, xml
5758 tools : composer
5859 ini-values : error_reporting=E_ALL
5960 coverage : pcov
@@ -85,15 +86,15 @@ jobs:
8586 run : composer install --no-progress --prefer-dist --optimize-autoloader
8687
8788 - name : Run unit tests with coverage
88- if : ${{ matrix.php-versions == '8.4 ' }}
89+ if : ${{ matrix.php-versions == '8.5 ' }}
8990 run : vendor/bin/phpunit
9091
9192 - name : Run unit tests (no coverage)
92- if : ${{ matrix.php-versions != '8.4 ' }}
93+ if : ${{ matrix.php-versions != '8.5 ' }}
9394 run : vendor/bin/phpunit --no-coverage
9495
9596 - name : Save coverage data
96- if : ${{ matrix.php-versions == '8.4 ' }}
97+ if : ${{ matrix.php-versions == '8.5 ' }}
9798 uses : actions/upload-artifact@v7
9899 with :
99100 name : coverage-data
@@ -107,15 +108,16 @@ jobs:
107108 fail-fast : true
108109 matrix :
109110 operating-system : [windows-latest]
110- php-versions : ['8.1 ', '8.2 ', '8.3', '8.4 ']
111+ php-versions : ['8.3 ', '8.4 ', '8.5 ']
111112
112113 steps :
113114 - name : Setup PHP, with composer and extensions
114115 # https://github.com/shivammathur/setup-php
115116 uses : shivammathur/setup-php@v2
116117 with :
117118 php-version : ${{ matrix.php-versions }}
118- extensions : ctype, date, dom, fileinfo, filter, hash, intl, mbstring, openssl, pcre, posix, spl, xml, zip
119+ extensions : ctype, date, dom, fileinfo, filter, hash, intl, mbstring, openssl, pcre, posix,\
120+ session, sodium, spl, xml, zip
119121 tools : composer
120122 ini-values : error_reporting=E_ALL
121123 coverage : none
@@ -160,10 +162,11 @@ jobs:
160162 uses : shivammathur/setup-php@v2
161163 with :
162164 # Should be the higest supported version, so we can use the newest tools
163- php-version : ' 8.4 '
165+ php-version : ' 8.5 '
164166 tools : composer, composer-require-checker, composer-unused, phpcs, psalm
165167 # optional performance gain for psalm: opcache
166- extensions : ctype, date, dom, fileinfo, filter, hash, intl, mbstring, opcache, openssl, pcre, posix, spl, xml
168+ extensions : ctype, date, dom, fileinfo, filter, hash, intl, mbstring, opcache, openssl, pcre, posix,\
169+ session, sodium, spl, xml
167170
168171 - name : Setup problem matchers for PHP
169172 run : echo "::add-matcher::${{ runner.tool_cache }}/php.json"
@@ -193,7 +196,7 @@ jobs:
193196 run : composer-unused
194197
195198 - name : PHP Code Sniffer
196- run : phpcs
199+ run : vendor/bin/ phpcs
197200
198201 - name : Psalm
199202 continue-on-error : true
@@ -226,8 +229,9 @@ jobs:
226229 uses : shivammathur/setup-php@v2
227230 with :
228231 # Should be the lowest supported version
229- php-version : ' 8.1'
230- extensions : ctype, date, dom, fileinfo, filter, hash, intl, mbstring, openssl, pcre, posix, spl, xml
232+ php-version : ' 8.3'
233+ extensions : ctype, date, dom, fileinfo, filter, hash, intl, mbstring, openssl, pcre, posix,\
234+ session, sodium, spl, xml
231235 tools : composer
232236 coverage : none
233237
0 commit comments