File tree Expand file tree Collapse file tree 3 files changed +10
-4
lines changed
Expand file tree Collapse file tree 3 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 99 - name : Composer dependencies
1010 run : composer install
1111 - name : Run Testsuite
12- run : composer run-script cs
12+ run : composer run-script phpcs
Original file line number Diff line number Diff line change 1010 <arg name =" extensions" value =" php" />
1111 <arg name =" cache" value =" .phpcs.cache" />
1212
13+ <rule ref =" PHPCompatibilityWP" />
14+
1315 <rule ref =" WordPress" >
1416 <!-- PSR4 -->
1517 <exclude name =" WordPress.Files.FileName" />
1618 </rule >
1719 <rule ref =" WordPress-Extra" />
1820 <rule ref =" WordPress-Docs" />
21+
22+ <exclude-pattern >*/node_modules/*</exclude-pattern >
23+ <exclude-pattern >*/vendor/*</exclude-pattern >
1924</ruleset >
Original file line number Diff line number Diff line change 4747 "phpunit/phpunit" : " ^9.6" ,
4848 "brain/monkey" : " ^2.0@dev" ,
4949 "phpstan/phpstan-mockery" : " ^2.0" ,
50- "lloc/composer-i18n-scripts" : " ^1.0"
50+ "lloc/composer-i18n-scripts" : " ^1.0" ,
51+ "phpcompatibility/phpcompatibility-wp" : " ^2.1"
5152 },
5253 "scripts" : {
5354 "tests" : " ./vendor/bin/phpunit -c ./phpunit.xml.dist" ,
5455 "tests:coverage" : " XDEBUG_MODE=coverage ./vendor/bin/phpunit -c ./phpunit.xml.dist --coverage-html ./tests/coverage" ,
55- "cs " : " ./ vendor/bin/phpcs ." ,
56- "cs:fix " : " ./vendor/bin/phpcbf ." ,
56+ "phpcs " : " vendor/bin/phpcs ." ,
57+ "phpcbf " : " ./vendor/bin/phpcbf ." ,
5758 "phpstan" : " ./vendor/bin/phpstan analyse --memory-limit=1G" ,
5859 "qa" : [
5960 " @cs" ,
You can’t perform that action at this time.
0 commit comments