Skip to content

Commit ec8758d

Browse files
committed
Attempted fix for CI
1 parent 6c454e8 commit ec8758d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/php.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ jobs:
162162
with:
163163
# Should be the higest supported version, so we can use the newest tools
164164
php-version: '8.4'
165-
tools: composer, composer-require-checker, composer-unused, phpcs
165+
tools: composer, composer-require-checker, composer-unused
166166
extensions: ctype, date, dom, filter, hash, intl, mbstring, opcache, openssl, pcre, spl, xml
167167

168168
- name: Setup problem matchers for PHP
@@ -199,7 +199,7 @@ jobs:
199199
--excludePackage=phpstan/phpstan-mockery
200200
201201
- name: PHP Code Sniffer
202-
run: phpcs
202+
run: vendor/bin/phpcs
203203

204204
- name: PHPStan
205205
run: |

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
"phpunit/phpunit": "^11.5 || ^12.3",
3131
"psr/log": "^3.0",
3232
"slevomat/coding-standard": "^8.20",
33+
"squizlabs/php_codesniffer": "^4.0",
3334
"symfony/phpunit-bridge": "^7.3 || ^8.0"
3435
},
3536
"require-dev": {

phpcs-simplesamlphp.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
<!-- Do not allow unnecessary spaces inside arbitrary parentheses -->
1010
<rule ref="Generic.WhiteSpace.ArbitraryParenthesesSpacing" />
1111

12-
<autoload>vendor/slevomat/coding-standard/autoload-bootstrap.php</autoload>
1312
<config name="installed_paths" value="vendor/slevomat/coding-standard"/>
1413

1514
<!-- Use fully qualified class names in annotations and PHPdoc -->

0 commit comments

Comments
 (0)