From 5e9cb687a118f12954ce3808f531beee5d92fe30 Mon Sep 17 00:00:00 2001 From: Daniel Bachhuber Date: Fri, 17 Feb 2023 06:29:45 -0800 Subject: [PATCH] Add `phpcbf` mention to README --- .readme-partials/USING.md | 2 ++ README.md | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.readme-partials/USING.md b/.readme-partials/USING.md index 0fd5c7d3..88521945 100644 --- a/.readme-partials/USING.md +++ b/.readme-partials/USING.md @@ -12,6 +12,7 @@ To make use of the WP-CLI testing framework, you need to complete the following "behat-rerun": "rerun-behat-tests", "lint": "run-linter-tests", "phpcs": "run-phpcs-tests", + "phpcbf": "run-phpcbf-cleanup", "phpunit": "run-php-unit-tests", "prepare-tests": "install-package-tests", "test": [ @@ -90,6 +91,7 @@ You can use the following commands to control the tests: * `composer test` - Run all test suites. * `composer lint` - Run only the linting test suite. * `composer phpcs` - Run only the code sniffer test suite. +* `composer phpcbf` - Run only the code sniffer cleanup. * `composer phpunit` - Run only the unit test suite. * `composer behat` - Run only the functional test suite. diff --git a/README.md b/README.md index 81ae6872..2401ee6b 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,7 @@ To make use of the WP-CLI testing framework, you need to complete the following "behat-rerun": "rerun-behat-tests", "lint": "run-linter-tests", "phpcs": "run-phpcs-tests", + "phpcbf": "run-phpcbf-cleanup", "phpunit": "run-php-unit-tests", "prepare-tests": "install-package-tests", "test": [ @@ -101,6 +102,7 @@ You can use the following commands to control the tests: * `composer test` - Run all test suites. * `composer lint` - Run only the linting test suite. * `composer phpcs` - Run only the code sniffer test suite. +* `composer phpcbf` - Run only the code sniffer cleanup. * `composer phpunit` - Run only the unit test suite. * `composer behat` - Run only the functional test suite.