| Total Complexity | 7 |
| Total Lines | 81 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 12 | class AkeneoResourceCursor implements AkeneoResourceCursorInterface |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * @var \Akeneo\Pim\ApiClient\Pagination\ResourceCursorInterface |
||
| 16 | */ |
||
| 17 | private $resourceCursor; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @param \Akeneo\Pim\ApiClient\Pagination\ResourceCursorInterface $resourceCursor |
||
| 21 | */ |
||
| 22 | public function __construct(ResourceCursorInterface $resourceCursor) |
||
| 25 | } |
||
| 26 | |||
| 27 | /** |
||
| 28 | * {@inheritDoc} |
||
| 29 | * |
||
| 30 | * @return int |
||
| 31 | */ |
||
| 32 | public function getPageSize(): int |
||
| 36 | } |
||
| 37 | |||
| 38 | /** |
||
| 39 | * {@inheritDoc} |
||
| 40 | * |
||
| 41 | * @return mixed |
||
| 42 | */ |
||
| 43 | #[\ReturnTypeWillChange] |
||
| 48 | } |
||
| 49 | |||
| 50 | /** |
||
| 51 | * {@inheritDoc} |
||
| 52 | * |
||
| 53 | * @return void |
||
| 54 | */ |
||
| 55 | public function next(): void |
||
| 56 | { |
||
| 57 | $this->resourceCursor |
||
| 58 | ->next(); |
||
| 59 | } |
||
| 60 | |||
| 61 | /** |
||
| 62 | * {@inheritDoc} |
||
| 63 | * |
||
| 64 | * @return mixed |
||
| 65 | */ |
||
| 66 | #[\ReturnTypeWillChange] |
||
| 71 | } |
||
| 72 | |||
| 73 | /** |
||
| 74 | * {@inheritDoc} |
||
| 75 | * |
||
| 76 | * @return bool |
||
| 77 | */ |
||
| 78 | public function valid(): bool |
||
| 79 | { |
||
| 80 | return $this->resourceCursor |
||
| 81 | ->valid(); |
||
| 82 | } |
||
| 83 | |||
| 84 | /** |
||
| 85 | * {@inheritDoc} |
||
| 86 | * |
||
| 87 | * @return void |
||
| 88 | */ |
||
| 89 | public function rewind(): void |
||
| 93 | } |
||
| 94 | } |
||
| 95 |
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