Skip to content

Commit 4a343d5

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 ad2ae7a commit 4a343d5

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
@@ -222,7 +222,7 @@ To enable progress reporting, use the `-p` command line argument.
222222
With progress output enabled, PHP_CodeSniffer will print a single-character status for each file being checked, like so:
223223

224224
```bash
225-
$ phpcs /path/to/code/CodeSniffer -p
225+
$ phpcs /path/to/project -p
226226

227227
...S........W.........S..................................... 60 / 110 (54%)
228228
..........EEEE.E.E.E.E.E.E.E.E..W..EEE.E.E.E.EE.E. 110 / 110 (100%)
@@ -247,7 +247,7 @@ Legend for the progress indicators:
247247
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:
248248

249249
```bash
250-
$ phpcs /path/to/code/CodeSniffer -v
250+
$ phpcs /path/to/project -v
251251

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

0 commit comments

Comments
 (0)