| Total Complexity | 4 |
| Total Lines | 51 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 14 | class IsNotEntityValidator extends AbstractValidator |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * @var array |
||
| 18 | */ |
||
| 19 | private $messageTemplates = [ |
||
| 20 | IsNotEntityError::FOUND |
||
| 21 | => 'An entity of type \'%entityName%\' was found matching \'%value%\'.', |
||
| 22 | ]; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @param mixed $value |
||
| 26 | * @param array $context |
||
| 27 | * |
||
| 28 | * @return bool |
||
| 29 | * |
||
| 30 | * @throws RuntimeException |
||
| 31 | */ |
||
| 32 | public function isValid($value, array $context = []): bool |
||
| 69 |
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