Commit 8327669
Generic/TraitNameSuffix: add inline comment
This commit just adds an inline comment documenting why the sniff bails
early if there is no trait name. Doing this to follow the same pattern
used by other similar sniffs like AbstractClassName
https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/8a7ee56347bb4017ffc778a42a532cbb1651a20b/src/Standards/Generic/Sniffs/NamingConventions/AbstractClassNamePrefixSniff.php#L481 parent a007b3e commit 8327669
File tree
1 file changed
+1
-0
lines changed- src/Standards/Generic/Sniffs/NamingConventions
1 file changed
+1
-0
lines changedLines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
| |||
0 commit comments