Total Complexity | 4 |
Total Lines | 22 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php declare(strict_types=1); |
||
8 | trait WithVisibility |
||
9 | { |
||
10 | private readonly Visibility $visibility; |
||
|
|||
11 | |||
12 | 6 | public function isPublic(): bool |
|
15 | } |
||
16 | |||
17 | 4 | public function isPrivate(): bool |
|
20 | } |
||
21 | |||
22 | 4 | public function isProtected(): bool |
|
25 | } |
||
26 | |||
27 | 7 | public function hasVisibility(Visibility $visibility): bool |
|
32 |
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