| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); |
||
| 39 | public function getMetadata(): ValidatorMetadata |
||
| 40 | { |
||
| 41 | return new ValidatorMetadata( |
||
| 42 | __CLASS__, |
||
| 43 | "The field under validation must be present and not empty only if all of the other specified fields are present.", |
||
| 44 | [ |
||
| 45 | new ValidatorArgs( |
||
| 46 | 'fields', |
||
| 47 | '[String]', |
||
| 48 | 'The fields that are required with' |
||
| 49 | ) |
||
| 54 |
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.