Skip to content

Commit d2f7fe3

Browse files
committed
ci: remove references to phplint and rename to phpcs
1 parent ed18909 commit d2f7fe3

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/workflows/test-php.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ concurrency:
88
cancel-in-progress: true
99
jobs:
1010
phplint:
11-
name: Phplint
11+
name: PHPCS
1212
runs-on: ubuntu-latest
1313
steps:
1414
- name: Setup PHP version
@@ -32,7 +32,7 @@ jobs:
3232
- name: Install composer
3333
run: composer install --prefer-dist --no-progress --no-suggest
3434
- name: Run PHPCS
35-
run: composer run lint
35+
run: composer phpcs
3636
phpunit:
3737
name: Phpunit
3838
runs-on: ubuntu-latest

composer.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@
4848
"format": "phpcbf --standard=phpcs.xml --report-summary --report-source",
4949
"phpcs": "phpcs --standard=phpcs.xml --extensions=php -s -d memory_limit=-1",
5050
"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",
5251
"phpstan": "phpstan analyse --memory-limit=-1",
5352
"install-wp-tests": "bash bin/install-wp-tests.sh wordpress_test root '' localhost latest"
5453
},

0 commit comments

Comments
 (0)