We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| Total Complexity | 7 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | class RelationType extends BaseAttribute implements SmartAttributeInterface |
||
| 11 | { |
||
| 12 | public static function getDefault(SmartCollectionInterface $attributes) |
||
| 13 | { |
||
| 14 | return $attributes->getAttributeValue('entity') ? app('crud')->inferRelationTypeFromRelationship($attributes->toArray()) : false; |
||
| 15 | } |
||
| 16 | |||
| 17 | public static function getValidationRules(SmartCollectionInterface $attributes): array |
||
| 24 | } |
||
| 25 | } |
||
| 26 | } |
||
| 27 | ]; |
||
| 28 | } |
||
| 29 | |||
| 30 | public static function getAttributeName(): string |
||
| 33 | } |
||
| 34 | } |
||
| 35 |
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