| Total Complexity | 4 |
| Total Lines | 59 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | class CompressorDecorator implements CompressorInterface |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @var CompressorInterface |
||
| 13 | */ |
||
| 14 | private $compressor; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @var Connection |
||
| 18 | */ |
||
| 19 | private $connection; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @var Shop |
||
| 23 | */ |
||
| 24 | private $shop; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * CompressorDecorator constructor. |
||
| 28 | * |
||
| 29 | * @param CompressorInterface $compressor |
||
| 30 | * @param Connection $connection |
||
| 31 | */ |
||
| 32 | public function __construct(CompressorInterface $compressor, Connection $connection) |
||
| 33 | { |
||
| 34 | $this->compressor = $compressor; |
||
| 35 | $this->connection = $connection; |
||
| 36 | } |
||
| 37 | |||
| 38 | /** |
||
| 39 | * @param Shop $shop |
||
| 40 | */ |
||
| 41 | public function setShop(Shop $shop) |
||
| 42 | { |
||
| 43 | $this->shop = $shop; |
||
| 44 | } |
||
| 45 | |||
| 46 | /** |
||
| 47 | * {@inheritdoc} |
||
| 48 | */ |
||
| 49 | public function compress($content) |
||
| 68 | } |
||
| 69 | } |
||
| 70 |
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