You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+6-6
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,8 @@
1
1
# PHP Composter PHPCS WPCS
2
2
3
-
### Check your PHP source code for compliance with WordPress coding standards before committing.
3
+
### Check your PHP source code for compliance with WordPress Coding Standards before committing.
4
4
5
-
This Composer package will start to check your PHP files upon each commit to make sure they comply to the [WordPress Coding Standards](https://make.wordpress.org/core/handbook/best-practices/coding-standards/php/).
5
+
This Composer package will start to check your PHP files upon each commit to make sure they comply with the [WordPress Coding Standards](https://make.wordpress.org/core/handbook/best-practices/coding-standards/php/).
6
6
7
7
This is a [PHP Composter](https://github.com/php-composter/php-composter) Action.
8
8
@@ -16,7 +16,7 @@ Uses the wonderful [PHP CodeSniffer Project](https://github.com/squizlabs/PHP_Co
16
16
17
17
## Installation
18
18
19
-
Add the repository's URL as a repository to the `composer.json` file:
19
+
Add the GitHub repository's URL as a package repository to the `composer.json` file:
20
20
```
21
21
"repositories": [
22
22
{
@@ -26,7 +26,7 @@ Add the repository's URL as a repository to the `composer.json` file:
26
26
],
27
27
```
28
28
29
-
Then j add as a development requirement to your `composer.json`, and it should work automagically:
29
+
Then just add the package as a development requirement to your `composer.json`, and it should work automagically:
@@ -38,9 +38,9 @@ It should just work when you `git commit`.
38
38
39
39
## Internals
40
40
41
-
By default of the 5 different WordPress coding standards (`WordPress-VIP`, `WordPress`, `WordPress-Extra`, `WordPress-Docs` and `WordPress-Core`), this one uses the WordPress-Extra.
41
+
By default, of the 5 different WordPress coding standards (`WordPress-VIP`, `WordPress`, `WordPress-Extra`, `WordPress-Docs` and `WordPress-Core`), this one uses the `WordPress-Extra` one.
42
42
43
-
If you need to change it, currently you need to edit the Sniff file. Contributions on how to make this dynamic are welcome (.env file, different sniffs for each and choosing the appropriate hooks).
43
+
If you need to change it, currently you need to edit the Sniff file. Contributions on how to make this dynamic are welcome (`.env` file, different sniffs for each and choosing the appropriate hooks).
0 commit comments