| Conditions | 5 |
| Paths | 3 |
| Total Lines | 13 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 6 |
| CRAP Score | 5 |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); |
||
| 20 | 11 | public function accept(Stmt|Param $member): bool |
|
| 21 | { |
||
| 22 | 11 | if ($member instanceof ClassConst |
|
| 23 | || $member instanceof ClassMethod |
||
| 24 | || $member instanceof Property) { |
||
| 25 | 9 | return ! $member->isPrivate(); |
|
| 26 | } |
||
| 27 | |||
| 28 | 4 | if ($member instanceof Param) { |
|
| 29 | 3 | return ! (bool) ($member->flags & Class_::MODIFIER_PRIVATE); |
|
| 30 | } |
||
| 31 | |||
| 32 | 1 | return false; |
|
| 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