feat: pagerfanta adapter #14
Annotations
10 errors and 1 warning
Run psalm:
packages/rekapager-pagerfanta-adapter/src/PagerfantaAdapterAdapter.php#L26
packages/rekapager-pagerfanta-adapter/src/PagerfantaAdapterAdapter.php:26:15: UndefinedDocblockClass: Docblock-defined class, interface or enum named Pagerfanta\Adapter\AdapterInterface does not exist (see https://psalm.dev/200)
|
Run psalm:
packages/rekapager-pagerfanta-adapter/src/PagerfantaAdapterAdapter.php#L35
packages/rekapager-pagerfanta-adapter/src/PagerfantaAdapterAdapter.php:35:9: UndefinedDocblockClass: Docblock-defined class, interface or enum named Pagerfanta\Adapter\AdapterInterface does not exist (see https://psalm.dev/200)
|
Run psalm:
packages/rekapager-pagerfanta-adapter/src/PagerfantaAdapterAdapter.php#L38
packages/rekapager-pagerfanta-adapter/src/PagerfantaAdapterAdapter.php:38:34: UndefinedDocblockClass: Docblock-defined class, interface or enum named Pagerfanta\Adapter\AdapterInterface does not exist (see https://psalm.dev/200)
|
Run psalm:
packages/rekapager-pagerfanta-adapter/src/PagerfantaAdapterAdapter.php#L38
packages/rekapager-pagerfanta-adapter/src/PagerfantaAdapterAdapter.php:38:34: MixedArgument: Argument 1 of iterator_to_array cannot be mixed, expecting Traversable|array<array-key, mixed> (see https://psalm.dev/030)
|
Run psalm:
packages/rekapager-pagerfanta-adapter/src/PagerfantaAdapterAdapter.php#L47
packages/rekapager-pagerfanta-adapter/src/PagerfantaAdapterAdapter.php:47:9: MixedAssignment: Unable to determine the type that $slice is being assigned to (see https://psalm.dev/032)
|
Run psalm:
packages/rekapager-pagerfanta-adapter/src/PagerfantaAdapterAdapter.php#L47
packages/rekapager-pagerfanta-adapter/src/PagerfantaAdapterAdapter.php:47:18: UndefinedDocblockClass: Docblock-defined class, interface or enum named Pagerfanta\Adapter\AdapterInterface does not exist (see https://psalm.dev/200)
|
Run psalm:
packages/rekapager-pagerfanta-adapter/src/PagerfantaAdapterAdapter.php#L50
packages/rekapager-pagerfanta-adapter/src/PagerfantaAdapterAdapter.php:50:28: MixedAssignment: Unable to determine the type that $item is being assigned to (see https://psalm.dev/032)
|
Run psalm:
packages/rekapager-pagerfanta-adapter/src/PagerfantaAdapterAdapter.php#L57
packages/rekapager-pagerfanta-adapter/src/PagerfantaAdapterAdapter.php:57:35: MixedInferredReturnType: Could not verify return type 'int<0, max>' for Rekalogika\Rekapager\Pagerfanta\PagerfantaAdapterAdapter::countItems (see https://psalm.dev/047)
|
Run psalm:
packages/rekapager-pagerfanta-adapter/src/PagerfantaAdapterAdapter.php#L59
packages/rekapager-pagerfanta-adapter/src/PagerfantaAdapterAdapter.php:59:16: UndefinedDocblockClass: Docblock-defined class, interface or enum named Pagerfanta\Adapter\AdapterInterface does not exist (see https://psalm.dev/200)
|
Run psalm:
packages/rekapager-pagerfanta-adapter/src/PagerfantaAdapterAdapter.php#L59
packages/rekapager-pagerfanta-adapter/src/PagerfantaAdapterAdapter.php:59:16: MixedReturnStatement: Could not infer a return type (see https://psalm.dev/138)
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Loading