We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| Total Complexity | 4 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | class SelectFromModel extends BaseField |
||
| 10 | { |
||
| 11 | public function __construct(string|array $attributes) |
||
| 12 | { |
||
| 13 | parent::__construct($attributes); |
||
| 14 | $this->attributes->setAttribute('type', 'select_from_model'); |
||
| 15 | } |
||
| 16 | |||
| 17 | public static function blocked(): array |
||
| 18 | { |
||
| 19 | return [FieldType::class]; |
||
| 20 | } |
||
| 21 | |||
| 22 | public function model(string $model): self |
||
| 27 | } |
||
| 28 | |||
| 29 | public static function defaults(): array |
||
| 35 | }, |
||
| 36 | ]; |
||
| 39 |
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