| Conditions | 1 |
| Paths | 1 |
| Total Lines | 7 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); |
||
| 27 | public function fromFlags(int $flags): Visibility |
||
| 28 | { |
||
| 29 | return match (true) { |
||
| 30 | (bool) ($flags & Class_::MODIFIER_PUBLIC) => Visibility::public(), |
||
| 31 | (bool) ($flags & Class_::MODIFIER_PROTECTED) => Visibility::protected(), |
||
| 32 | (bool) ($flags & Class_::MODIFIER_PRIVATE) => Visibility::private(), |
||
| 33 | default => throw UnknownVisibilityFlag::withValue($flags) |
||
| 34 | }; |
||
| 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