| Total Complexity | 5 |
| Total Lines | 34 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 16 | final class SurrogateKeys |
||
| 17 | { |
||
| 18 | /** @var list<string> */ |
||
|
|
|||
| 19 | private array $surrogateKeys; |
||
| 20 | private readonly UriTagInterface $uriTag; |
||
| 21 | |||
| 22 | public function __construct(AbstractUri $uri) |
||
| 23 | { |
||
| 24 | $this->uriTag = new UriTag(); |
||
| 25 | $this->surrogateKeys = [($this->uriTag)($uri)]; |
||
| 26 | } |
||
| 27 | |||
| 28 | /** |
||
| 29 | * Add etag of embedded resource |
||
| 30 | */ |
||
| 31 | public function addTag(ResourceObject $ro): void |
||
| 36 | } |
||
| 37 | } |
||
| 38 | |||
| 39 | public function setSurrogateHeader(ResourceObject $ro): void |
||
| 50 | } |
||
| 51 | } |
||
| 52 |
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