@@ -70,28 +70,29 @@ jobs:
7070 run : composer install --no-progress --prefer-dist --optimize-autoloader
7171
7272 - name : PHP Code Sniffer
73- run : php vendor/bin /phpcs
73+ run : php vendor/simplesamlphp/simplesamlphp-test-framework/tools /phpcs
7474
7575 - name : Psalm
7676 continue-on-error : true
7777 run : |
78- php vendor/bin /psalm \
78+ php vendor/simplesamlphp/simplesamlphp-test-framework/tools /psalm \
7979 -c psalm.xml \
8080 --show-info=true \
8181 --shepherd \
8282 --php-version=${{ steps.setup-php.outputs.php-version }}
8383
8484 - name : Psalm (testsuite)
8585 run : |
86- php vendor/bin /psalm \
86+ php vendor/simplesamlphp/simplesamlphp-test-framework/tools /psalm \
8787 -c psalm-dev.xml \
8888 --show-info=true \
8989 --shepherd \
9090 --php-version=${{ steps.setup-php.outputs.php-version }}
9191
9292 - name : Psalter
9393 run : |
94- php vendor/bin/psalter \
94+ php vendor/simplesamlphp/simplesamlphp-test-framework/tools/psalm \
95+ --alter \
9596 --issues=UnnecessaryVarAnnotation \
9697 --dry-run \
9798 --php-version=${{ steps.setup-php.outputs.php-version }}
@@ -185,11 +186,11 @@ jobs:
185186
186187 - name : Run unit tests with coverage
187188 if : ${{ matrix.php-versions == '8.1' }}
188- run : ./ vendor/bin /phpunit
189+ run : vendor/simplesamlphp/simplesamlphp-test-framework/tools /phpunit
189190
190191 - name : Run unit tests (no coverage)
191192 if : ${{ matrix.php-versions != '8.1' }}
192- run : ./ vendor/bin /phpunit --no-coverage
193+ run : vendor/simplesamlphp/simplesamlphp-test-framework/tools /phpunit --no-coverage
193194
194195 - name : Save coverage data
195196 if : ${{ matrix.php-versions == '8.1' }}
@@ -246,7 +247,7 @@ jobs:
246247 run : composer install --no-progress --prefer-dist --optimize-autoloader
247248
248249 - name : Run unit tests
249- run : ./ vendor/bin /phpunit --no-coverage
250+ run : vendor/simplesamlphp/simplesamlphp-test-framework/tools /phpunit --no-coverage
250251
251252 coverage :
252253 name : Code coverage
0 commit comments