| Total Complexity | 2 | 
| Total Lines | 36 | 
| Duplicated Lines | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 1 | 
| 1 | <?php  | 
            ||
| 15 | class NumberDetector extends AbstractDetector  | 
            ||
| 16 | { | 
            ||
| 17 | /**  | 
            ||
| 18 | * Authorize execution.  | 
            ||
| 19 | *  | 
            ||
| 20 | * @param string $column  | 
            ||
| 21 | * @param Column $metadata  | 
            ||
| 22 | * @param Model $model  | 
            ||
| 23 | *  | 
            ||
| 24 | * @return bool  | 
            ||
| 25 | */  | 
            ||
| 26 | protected function authorize(string $column, Column $metadata, Model $model): bool  | 
            ||
| 27 |     { | 
            ||
| 28 | $class = get_class($metadata->getType());  | 
            ||
| 29 | |||
| 30 | return in_array($class, [  | 
            ||
| 31 | IntegerType::class,  | 
            ||
| 32 | DecimalType::class,  | 
            ||
| 33 | FloatType::class,  | 
            ||
| 34 | BigIntType::class,  | 
            ||
| 35 | SmallIntType::class,  | 
            ||
| 36 | ]);  | 
            ||
| 37 | }  | 
            ||
| 38 | |||
| 39 | /**  | 
            ||
| 40 | * Detect field class.  | 
            ||
| 41 | *  | 
            ||
| 42 | * @param string $column  | 
            ||
| 43 | * @param Column $metadata  | 
            ||
| 44 | * @param Model $model  | 
            ||
| 45 | *  | 
            ||
| 46 | * @return mixed  | 
            ||
| 47 | */  | 
            ||
| 48 | protected function detect(string $column, Column $metadata, Model $model)  | 
            ||
| 51 | }  | 
            ||
| 52 | }  | 
            ||
| 53 | 
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