1 | <?php |
||
12 | final class Ruleset |
||
13 | { |
||
14 | /** |
||
15 | * @var RulesetBuilder |
||
16 | */ |
||
17 | private $rulesetBuilder; |
||
18 | |||
19 | 1 | public function __construct(RulesetBuilder $rulesetBuilder) |
|
23 | |||
24 | /** |
||
25 | * @param array|Sniff[] $sniffs |
||
26 | */ |
||
27 | public function decorateSniffsWithCustomRules(array $sniffs, array $ruleset) |
||
44 | |||
45 | /** |
||
46 | * @param string $sniffCode |
||
47 | * @param string $name |
||
48 | * @param string|array $value |
||
49 | */ |
||
50 | private function setSniffProperty(string $sniffCode, string $name, $value) |
||
70 | } |
||
71 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.