Skip to content

Commit c88263e

Browse files
committed
Use default coding standard
1 parent 6affc3e commit c88263e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

wiki/Home.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ Multiple coding standards can be used within PHP_CodeSniffer so that the one ins
1010

1111
## Example
1212

13-
To check a file against the PEAR coding standard, simply specify the file's location.
13+
To check a file against the default coding standard, simply specify the file's location. The default coding standard in PHP_CodeSniffer 3.x is PEAR; the default coding standard in PHP_CodeSniffer 3.x is PSR12.
1414

1515
```bash
1616
$ phpcs path/to/code/myfile.php
17-
{{COMMAND-OUTPUT "phpcs --parallel=1 --basepath=build/wiki-code-samples --no-colors --standard=PEAR build/wiki-code-samples/path/to/code/myfile.php"}}
17+
{{COMMAND-OUTPUT "phpcs --parallel=1 --basepath=build/wiki-code-samples --no-colors build/wiki-code-samples/path/to/code/myfile.php"}}
1818
```
1919

2020
Or, if you wish to check an entire directory, you can specify the directory location instead of a file.

0 commit comments

Comments
 (0)