File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ concurrency:
8
8
cancel-in-progress : true
9
9
jobs :
10
10
phplint :
11
- name : Phplint
11
+ name : PHPCS
12
12
runs-on : ubuntu-latest
13
13
steps :
14
14
- name : Setup PHP version
32
32
- name : Install composer
33
33
run : composer install --prefer-dist --no-progress --no-suggest
34
34
- name : Run PHPCS
35
- run : composer run lint
35
+ run : composer phpcs
36
36
phpunit :
37
37
name : Phpunit
38
38
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 48
48
"format" : " phpcbf --standard=phpcs.xml --report-summary --report-source" ,
49
49
"phpcs" : " phpcs --standard=phpcs.xml --extensions=php -s -d memory_limit=-1" ,
50
50
"test" : " [ -z \" $WP_TESTS_DIR\" ] || [ -z \" $WP_CORE_DIR\" ] && echo 'Error: Both WP_TESTS_DIR and WP_CORE_DIR must be defined.' && exit 1 || phpunit --configuration=phpunit.xml" ,
51
- "lint" : " composer run-script phpcs" ,
52
51
"phpstan" : " phpstan analyse --memory-limit=-1" ,
53
52
"install-wp-tests" : " bash bin/install-wp-tests.sh wordpress_test root '' localhost latest"
54
53
},
You can’t perform that action at this time.
0 commit comments