| Total Complexity | 2 |
| Total Lines | 18 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types=1); |
||
| 16 | final class VisibilityBuilder |
||
| 17 | { |
||
| 18 | public function build(Property|ClassMethod|ClassConst $member): Visibility |
||
| 19 | { |
||
| 20 | return match (true) { |
||
| 21 | $member->isPublic() => Visibility::public(), |
||
| 22 | $member->isPrivate() => Visibility::private(), |
||
| 23 | default => Visibility::protected(), |
||
| 24 | }; |
||
| 25 | } |
||
| 26 | |||
| 27 | public function fromFlags(int $flags): Visibility |
||
| 34 | }; |
||
| 35 | } |
||
| 37 |
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