1919 strategy :
2020 fail-fast : false
2121 matrix :
22- php-version : ['8.1', '8. 2', '8.3', '8.4']
22+ php-version : ['8.2', '8.3', '8.4']
2323
24- uses : simplesamlphp/simplesamlphp-test-framework/.github/workflows/reusable_phplinter.yml@v1.10.0
24+ uses : simplesamlphp/simplesamlphp-test-framework/.github/workflows/reusable_phplinter.yml@v1.10.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.10.0
33+ uses : simplesamlphp/simplesamlphp-test-framework/.github/workflows/reusable_linter.yml@v1.10.1
3434 with :
3535 enable_eslinter : false
3636 enable_jsonlinter : true
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.2', '8.3', '8.4']
4949
5050 steps :
5151 - name : Setup PHP, with composer and extensions
@@ -107,15 +107,15 @@ jobs:
107107 fail-fast : true
108108 matrix :
109109 operating-system : [windows-latest]
110- php-versions : ['8.1', '8. 2', '8.3', '8.4']
110+ php-versions : ['8.2', '8.3', '8.4']
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, mbstring, openssl, pcre, posix, spl, xml
118+ extensions : ctype, date, dom, fileinfo, filter, hash, intl, mbstring, openssl, pcre, posix, spl, xml, zip
119119 tools : composer
120120 ini-values : error_reporting=E_ALL
121121 coverage : none
@@ -161,9 +161,8 @@ jobs:
161161 with :
162162 # Should be the higest supported version, so we can use the newest tools
163163 php-version : ' 8.4'
164- tools : composer, composer-require-checker, composer-unused, phpcs, psalm
165- # optional performance gain for psalm: opcache
166- extensions : ctype, date, dom, fileinfo, filter, hash, intl, mbstring, opcache, openssl, pcre, posix, spl, xml
164+ tools : composer, composer-require-checker, composer-unused
165+ extensions : ctype, date, dom, fileinfo, filter, hash, intl, mbstring, openssl, pcre, posix, spl, xml
167166
168167 - name : Setup problem matchers for PHP
169168 run : echo "::add-matcher::${{ runner.tool_cache }}/php.json"
@@ -193,29 +192,15 @@ jobs:
193192 run : composer-unused
194193
195194 - name : PHP Code Sniffer
196- run : phpcs
197-
198- - name : Psalm
199- continue-on-error : true
200- run : |
201- psalm -c psalm.xml \
202- --show-info=true \
203- --shepherd \
204- --php-version=${{ steps.setup-php.outputs.php-version }}
195+ run : vendor/bin/phpcs
205196
206- - name : Psalm (testsuite)
197+ - name : PHPStan
207198 run : |
208- psalm -c psalm-dev.xml \
209- --show-info=true \
210- --shepherd \
211- --php-version=${{ steps.setup-php.outputs.php-version }}
199+ vendor/bin/phpstan analyze -c phpstan.neon --debug
212200
213- - name : Psalter
201+ - name : PHPStan (testsuite)
214202 run : |
215- psalm --alter \
216- --issues=UnnecessaryVarAnnotation \
217- --dry-run \
218- --php-version=${{ steps.setup-php.outputs.php-version }}
203+ vendor/bin/phpstan analyze -c phpstan-dev.neon --debug
219204
220205 security :
221206 name : Security checks
@@ -226,7 +211,7 @@ jobs:
226211 uses : shivammathur/setup-php@v2
227212 with :
228213 # Should be the lowest supported version
229- php-version : ' 8.1 '
214+ php-version : ' 8.2 '
230215 extensions : ctype, date, dom, fileinfo, filter, hash, intl, mbstring, openssl, pcre, posix, spl, xml
231216 tools : composer
232217 coverage : none
0 commit comments