| Total Complexity | 4 |
| Total Lines | 29 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | class MinItemSizeInKbRule extends MediaItemRule |
||
| 8 | { |
||
| 9 | protected int $minSizeInKb; |
||
| 10 | |||
| 11 | protected int $actualSizeInBytes; |
||
| 12 | |||
| 13 | public function __construct(int $minSizeInKb) |
||
| 14 | { |
||
| 15 | $this->minSizeInKb = $minSizeInKb; |
||
| 16 | } |
||
| 17 | |||
| 18 | public function validateMediaItem(): bool |
||
| 27 | } |
||
| 28 | |||
| 29 | public function message(): string |
||
| 39 |
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