We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
Total Complexity | 5 |
Total Lines | 35 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
9 | class Button extends Component |
||
10 | { |
||
11 | public function __construct(AttributeCollection $attributes) |
||
12 | { |
||
13 | parent::__construct($attributes); |
||
14 | } |
||
15 | |||
16 | public static function getAttributeDefaults(): array |
||
17 | { |
||
18 | return [ |
||
19 | 'stack' => 'top', |
||
20 | 'content' => 'default', |
||
21 | ]; |
||
22 | } |
||
23 | |||
24 | public static function getAttributeValidationRules(): array |
||
29 | ]; |
||
30 | } |
||
31 | |||
32 | public function stack(string $stack) |
||
33 | { |
||
34 | $this->setAttribute('stack', $stack); |
||
35 | |||
36 | return $this; |
||
37 | } |
||
38 | |||
39 | public function content(string $content) |
||
44 | } |
||
45 | } |
||
46 |
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