| Total Complexity | 3 |
| Total Lines | 35 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | class SimpleScopeResolver extends AbstractScopeResolver implements ScopeResolverInterface |
||
| 12 | { |
||
| 13 | /** @var string */ |
||
| 14 | protected string $defaultScope; |
||
| 15 | |||
| 16 | /** @var array */ |
||
| 17 | protected array $scopes; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * SimpleScopeResolver constructor. |
||
| 21 | * |
||
| 22 | * @param string $defaultScope |
||
| 23 | * @param array $scopes |
||
| 24 | */ |
||
| 25 | public function __construct(string $defaultScope, array $scopes) |
||
| 29 | } |
||
| 30 | |||
| 31 | |||
| 32 | /** |
||
| 33 | * @inheritDoc |
||
| 34 | */ |
||
| 35 | public function getCurrentScope(): string |
||
| 36 | { |
||
| 37 | return $this->defaultScope; |
||
| 38 | } |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @inheritDoc |
||
| 42 | */ |
||
| 43 | protected function initScopes(): array |
||
| 46 | } |
||
| 47 | } |
||
| 48 |
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