Ran
|
Files
257
|
Run time
5s
|
Badge
Embed ▾
README BADGES
|
push
github
Improve test coverage of the LanguageConstructSpacing sniff This sniff has an `else if` condition (https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/c85534876/src/Standards/Generic/Sniffs/WhiteSpace/LanguageConstructSpacingSniff.php#L131) to handle language constructs that are followed by some content without a space or opening parenthesis first. This code was not exercised by the automated tests. This commit adds a few examples to make sure this part of the code is covered.
14836 of 23516 relevant lines covered (63.09%)
1.83 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|