|
Ran
|
Jobs
8
|
Files
262
|
Run time
1min
|
Badge
README BADGES
|
push
github
Ruleset::setSniffProperty(): add test for edge case / unused sniff I haven't been able to come up with a _real_ situation in which [this condition](https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/15db72320/src/Ruleset.php#L1476-L1479) could result in an early return - either via reading an XML ruleset or via inline `phpcs:set` annotation. Having said that, the method is `public` and is regularly used in test frameworks for external standards, so this code should remain in place. This commit now safeguards the behaviour via a test.
18863 of 24597 relevant lines covered (76.69%)
75.4 hits per line