Skip to content

Commit a150e9a

Browse files
committed
Wiki/Usage: update paths in commands
The `CodeSniffer` directory is a directory from way back in PHPCS 2.0 and is not really relevant to these output examples anyway, so let's use more generic names.
1 parent dcece54 commit a150e9a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

wiki/Usage.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ To enable progress reporting, use the `-p` command line argument.
121121
With progress output enabled, PHP_CodeSniffer will print a single-character status for each file being checked, like so:
122122

123123
```bash
124-
$ phpcs /path/to/code/CodeSniffer -p
124+
$ phpcs /path/to/project -p
125125

126126
...S........W.........S..................................... 60 / 110 (54%)
127127
..........EEEE.E.E.E.E.E.E.E.E..W..EEE.E.E.E.EE.E. 110 / 110 (100%)
@@ -146,7 +146,7 @@ Legend for the progress indicators:
146146
With verbose output enabled, PHP_CodeSniffer will print the file that it is checking, show you how many tokens and lines the file contains, and let you know how long it took to process. The output will look like this:
147147

148148
```bash
149-
$ phpcs /path/to/code/CodeSniffer -v
149+
$ phpcs /path/to/project -v
150150

151151
Registering sniffs in PEAR standard... DONE (28 sniffs registered)
152152
Creating file list... DONE (158 files in queue)

0 commit comments

Comments
 (0)