| Total Complexity | 7 |
| Total Lines | 42 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | final class PropertyLoader implements PropertyLoaderInterface |
||
| 10 | { |
||
| 11 | |||
| 12 | private $index; |
||
| 13 | |||
| 14 | private $cache = []; |
||
| 15 | |||
| 16 | public static function create(): self |
||
| 21 | } |
||
| 22 | |||
| 23 | public function __construct(array $index) |
||
| 24 | { |
||
| 25 | $this->index = $index; |
||
| 26 | } |
||
| 27 | |||
| 28 | public function getPropertyRangeSet(string $name): RangeSet |
||
| 29 | { |
||
| 30 | if (!isset($this->cache[$name])) { |
||
| 31 | $this->cache[$name] = $this->loadPropertyRangeSet($name); |
||
| 32 | } |
||
| 33 | |||
| 34 | return $this->cache[$name]; |
||
| 35 | } |
||
| 36 | |||
| 37 | private function loadPropertyRangeSet(string $name): RangeSet |
||
| 51 | } |
||
| 52 | } |
||
| 53 |
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