We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
1 | <?php |
||
23 | class KeySet |
||
24 | { |
||
25 | /** |
||
26 | * @param AllOf $rule |
||
27 | * |
||
28 | * @return Validatable |
||
29 | */ |
||
30 | private function filterAllOf(AllOf $rule) |
||
39 | |||
40 | /** |
||
41 | * {@inheritdoc} |
||
42 | */ |
||
43 | public function addRule($rule, $arguments = []) |
||
57 | |||
58 | /** |
||
59 | * {@inheritdoc} |
||
60 | */ |
||
61 | public function addRules(array $rules) |
||
69 | |||
70 | /** |
||
71 | * @return array |
||
72 | */ |
||
73 | public function getKeys() |
||
82 | |||
83 | /** |
||
84 | * @param array $input |
||
85 | * |
||
86 | * @return bool |
||
87 | */ |
||
88 | private function hasValidStructure($input) |
||
104 | |||
105 | /** |
||
106 | * @throws KeySetException |
||
107 | */ |
||
108 | private function checkKeys($input) |
||
117 | |||
118 | /** |
||
119 | * {@inheritdoc} |
||
120 | */ |
||
121 | public function assert($input) |
||
127 | |||
128 | /** |
||
129 | * {@inheritdoc} |
||
130 | */ |
||
131 | public function check($input) |
||
137 | |||
138 | /** |
||
139 | * {@inheritdoc} |
||
140 | */ |
||
141 | public function validate($input) |
||
149 | } |
||
150 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.