Skip to content

Commit cd1b425

Browse files
committed
build: update composer script descriptions and old test script names.
1 parent 230f809 commit cd1b425

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

composer.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
"test-all": [
5656
"@cs-test-file",
5757
"@cs-tests",
58-
"@test"
58+
"@test-phpcs4"
5959
],
6060
"list-tokens": "@php ./vendor/bin/phpcs --standard=PHPCSDebug ./test_utils/TestFile.php",
6161
"check-completeness": "@php ./vendor/bin/phpcs-check-feature-completeness ./yCodeTech",
@@ -65,12 +65,13 @@
6565
"lint": "Run PHP Parallel Lint to check for syntax errors in PHP files.",
6666
"cs": "Run PHPCS to check for coding standards violations.",
6767
"cbf": "Run PHPCBF to fix coding standards violations.",
68-
"test": "Run PHPUnit tests without code coverage.",
68+
"test-phpcs4": "PHPCS 4.x: Run PHPUnit tests without code coverage.",
69+
"test-phpcs3": "PHPCS 3.x: Run PHPUnit tests without code coverage.",
6970
"cs-test-file": "Run PHPCS on the test file.",
7071
"fix-test-file": "Run PHPCBF on the test file.",
7172
"restore-test-file": "Restore the test file to its original state.",
7273
"cs-tests": "Run PHPCS on all sniff unit tests.",
73-
"test-all": "Run @cs-test-file, @cs-tests, and @test in sequence.",
74+
"test-all": "Run @cs-test-file, @cs-tests, and @test-phpcs4 in sequence.",
7475
"list-tokens": "List all tokens used in the test file.",
7576
"check-completeness": "Check the completeness of the PHPCS standard.",
7677
"generate-docs": "Generate markdown documentation for the PHPCS standard."

0 commit comments

Comments
 (0)