Total Complexity | 2 |
Total Lines | 21 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
16 | trait VisibilityTrait |
||
17 | { |
||
18 | /** |
||
19 | * @var int|null $visibility The visibility as an integer constant. |
||
20 | */ |
||
21 | protected $visibility = VisibilityInterface::UNKNOWN; |
||
22 | |||
23 | /** |
||
24 | * @param int|null $visibility The new visibility to set. |
||
25 | */ |
||
26 | public function setVisibility(?int $visibility): void |
||
29 | } |
||
30 | |||
31 | /** |
||
32 | * @return int|null The current visibility. |
||
33 | */ |
||
34 | public function getVisibility(): ?int |
||
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