| Total Complexity | 6 |
| Total Lines | 34 |
| Duplicated Lines | 0 % |
| Changes | 3 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 8 | class ValidPattern implements ValidationRule |
||
| 9 | { |
||
| 10 | public function __construct( |
||
| 14 | } |
||
| 15 | |||
| 16 | /** |
||
| 17 | * Check texts with specific pattern. |
||
| 18 | * |
||
| 19 | * @param string $attribute |
||
| 20 | * @param mixed $value |
||
| 21 | * @param Closure $fail |
||
| 22 | * @return void |
||
| 23 | */ |
||
| 24 | public function validate(string $attribute, mixed $value, Closure $fail): void |
||
| 28 | } |
||
| 29 | } |
||
| 30 | |||
| 31 | private function isPatternValid($value) |
||
| 44 |
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