| Total Complexity | 2 |
| Total Lines | 18 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types=1); |
||
| 14 | final class VisibilityBuilder |
||
| 15 | { |
||
| 16 | 33 | public function build(Property|ClassMethod|ClassConst $member): Visibility |
|
| 17 | { |
||
| 18 | return match (true) { |
||
| 19 | 33 | $member->isPublic() => Visibility::PUBLIC, |
|
| 20 | 27 | $member->isPrivate() => Visibility::PRIVATE, |
|
| 21 | 33 | default => Visibility::PROTECTED, |
|
| 22 | }; |
||
| 23 | } |
||
| 24 | |||
| 25 | 10 | public function fromFlags(int $flags): Visibility |
|
| 32 | }; |
||
| 33 | } |
||
| 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