| Total Complexity | 2 |
| Total Lines | 21 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 15 | class Validation extends PhalconValidation |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * |
||
| 19 | * Overwrite to throw the exception and avoid all the overloaded code |
||
| 20 | * Validate a set of data according to a set of rules. |
||
| 21 | * |
||
| 22 | * @param array|object data |
||
| 23 | * @param object entity |
||
| 24 | * |
||
| 25 | * @return \Phalcon\Validation\Message\Group |
||
| 26 | */ |
||
| 27 | public function validate($data = null, $entity = null) |
||
| 38 |
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths