🐞 fix: Update composer test scripts and readme
This commit is contained in:
@@ -445,7 +445,7 @@ Code linting for modified WordPress coding standards using phpcs:
|
||||
|
||||
- Run `composer lint` in your terminal to check PHP files for coding standards violations
|
||||
- Test results are saved in `phpcs-results.txt`. Review the file for error details.
|
||||
- Automated fixes noted in the results can be done using `composer fix <filename>.php` in your terminal.
|
||||
- Automated fixes noted in the results can be done using `composer fix` in your terminal.
|
||||
|
||||
### Files
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
"phpcs --report-full=./phpcs-results.txt ."
|
||||
],
|
||||
"fix": [
|
||||
"phpcbf --standard=.phpcs.xml"
|
||||
"phpcbf --standard=.phpcs.xml ."
|
||||
],
|
||||
"phpcs-config": [
|
||||
"phpcs --config-show"
|
||||
|
||||
Reference in New Issue
Block a user