Commit 8adbcb2
authored
[Docs] Add XML doc for Squiz.Classes.ClassFileName sniff (#843)
* Add XML doc for Squiz\Classes\ClassFileName sniff
* [Doc] Emphasize sniff focus for ClassFileName
Adjusts the `<em>` tags in the Squiz.Classes.ClassFileName sniff XML
docs to better highlight the parts of the code samples that illustrate
the purpose of the sniff.
* Correct file/class name relation in sniff doc
Per PR #845, the filename must be modified to match the class name,
since class names are much more restrictive than filenames and the
inverse is not always possible.
This clarifies in the example titles that the fix for the invalid code
is to modify the filename rather than the class name.1 parent 4b00be5 commit 8adbcb2
1 file changed
+47
-0
lines changedLines changed: 47 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
0 commit comments