| Total Complexity | 9 |
| Total Lines | 41 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types=1); |
||
| 20 | class NoEnvironmentHelperInsideCompilerPassRule implements Rule |
||
| 21 | { |
||
| 22 | public function getNodeType(): string |
||
| 23 | { |
||
| 24 | return StaticCall::class; |
||
| 25 | } |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @param StaticCall $node |
||
| 29 | * |
||
| 30 | * @return array<array-key, RuleError|string> |
||
| 31 | */ |
||
| 32 | public function processNode(Node $node, Scope $scope): array |
||
| 61 | } |
||
| 62 | } |
||
| 63 |
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