[FAU-428] Add WpQuerySplitter to split large HIS code queries into smaller ones #48
quality-assurance-php.yml
on: pull_request
coding-standards-analysis-php
/
coding-standards-php
16s
static-code-analysis-php
/
static-analysis-php
17s
Matrix: lint-php
Matrix: tests-unit-php
Waiting for pending jobs
Annotations
8 errors
MixedReturnTypeCoercion:
src/Infrastructure/Repository/RepositoryModule.php#L42
src/Infrastructure/Repository/RepositoryModule.php:42:33: MixedReturnTypeCoercion: The declared return type 'array<string, callable(Psr\Container\ContainerInterface):mixed>' for Fau\DegreeProgram\Output\Infrastructure\Repository\RepositoryModule::services is more specific than the inferred return type 'array<mixed|string, callable(Psr\Container\ContainerInterface):mixed|impure-Closure(Psr\Container\ContainerInterface):Fau\DegreeProgram\Common\Application\Repository\CachedDegreeProgramViewRepository|impure-Closure(Psr\Container\ContainerInterface):Fau\DegreeProgram\Common\Infrastructure\Repository\WordPressDatabaseDegreeProgramCollectionRepository|impure-Closure(Psr\Container\ContainerInterface):Fau\DegreeProgram\Common\Infrastructure\Repository\WpQueryArgsBuilder|impure-Closure(Psr\Container\ContainerInterface):Fau\DegreeProgram\Output\Infrastructure\Repository\CachedApiCollectionRepository|impure-Closure(Psr\Container\ContainerInterface):Fau\DegreeProgram\Output\Infrastructure\Repository\CurrentViewRepository|impure-Closure(Psr\Container\ContainerInterface):Fau\DegreeProgram\Output\Infrastructure\Repository\WordPressApiDegreeProgramViewRepository|impure-Closure(Psr\Container\ContainerInterface):Fau\DegreeProgram\Output\Infrastructure\Repository\WordPressDatabaseOriginalDegreeProgramViewRepository|impure-Closure(Psr\Container\ContainerInterface):mixed|pure-Closure():Fau\DegreeProgram\Common\Infrastructure\Repository\CampoKeysRepository|pure-Closure():Fau\DegreeProgram\Common\Infrastructure\Repository\IdGenerator|pure-Closure():Fau\DegreeProgram\Output\Infrastructure\Repository\PostsRepository|pure-Closure():Fau\DegreeProgram\Output\Infrastructure\Repository\WordPressTermRepository>' (see https://psalm.dev/197)
|
MixedReturnTypeCoercion:
src/Infrastructure/Repository/RepositoryModule.php#L45
src/Infrastructure/Repository/RepositoryModule.php:45:13: MixedReturnTypeCoercion: The type 'array<mixed|string, callable(Psr\Container\ContainerInterface):mixed|impure-Closure(Psr\Container\ContainerInterface):Fau\DegreeProgram\Common\Application\Repository\CachedDegreeProgramViewRepository|impure-Closure(Psr\Container\ContainerInterface):Fau\DegreeProgram\Common\Infrastructure\Repository\WordPressDatabaseDegreeProgramCollectionRepository|impure-Closure(Psr\Container\ContainerInterface):Fau\DegreeProgram\Common\Infrastructure\Repository\WpQueryArgsBuilder|impure-Closure(Psr\Container\ContainerInterface):Fau\DegreeProgram\Output\Infrastructure\Repository\CachedApiCollectionRepository|impure-Closure(Psr\Container\ContainerInterface):Fau\DegreeProgram\Output\Infrastructure\Repository\CurrentViewRepository|impure-Closure(Psr\Container\ContainerInterface):Fau\DegreeProgram\Output\Infrastructure\Repository\WordPressApiDegreeProgramViewRepository|impure-Closure(Psr\Container\ContainerInterface):Fau\DegreeProgram\Output\Infrastructure\Repository\WordPressDatabaseOriginalDegreeProgramViewRepository|impure-Closure(Psr\Container\ContainerInterface):mixed|pure-Closure():Fau\DegreeProgram\Common\Infrastructure\Repository\CampoKeysRepository|pure-Closure():Fau\DegreeProgram\Common\Infrastructure\Repository\IdGenerator|pure-Closure():Fau\DegreeProgram\Output\Infrastructure\Repository\PostsRepository|pure-Closure():Fau\DegreeProgram\Output\Infrastructure\Repository\WordPressTermRepository>' is more general than the declared return type 'array<string, callable(Psr\Container\ContainerInterface):mixed>' for Fau\DegreeProgram\Output\Infrastructure\Repository\RepositoryModule::services (see https://psalm.dev/197)
|
TooManyArguments:
src/Infrastructure/Repository/RepositoryModule.php#L61
src/Infrastructure/Repository/RepositoryModule.php:61:122: TooManyArguments: Too many arguments for Fau\DegreeProgram\Common\Infrastructure\Repository\WordPressDatabaseDegreeProgramCollectionRepository::__construct - expecting 2 but saw 3 (see https://psalm.dev/026)
|
UndefinedClass:
src/Infrastructure/Repository/RepositoryModule.php#L64
src/Infrastructure/Repository/RepositoryModule.php:64:37: UndefinedClass: Class, interface or enum named Fau\DegreeProgram\Common\Infrastructure\Repository\WpQuerySplitter does not exist (see https://psalm.dev/019)
|
MixedArgument:
src/Infrastructure/Repository/RepositoryModule.php#L64
src/Infrastructure/Repository/RepositoryModule.php:64:37: MixedArgument: Argument 1 of Psr\Container\ContainerInterface::get cannot be mixed, expecting string (see https://psalm.dev/030)
|
UndefinedClass:
src/Infrastructure/Repository/RepositoryModule.php#L66
src/Infrastructure/Repository/RepositoryModule.php:66:17: UndefinedClass: Class, interface or enum named Fau\DegreeProgram\Common\Infrastructure\Repository\WpQuerySplitter does not exist (see https://psalm.dev/019)
|
UndefinedClass:
src/Infrastructure/Repository/RepositoryModule.php#L66
src/Infrastructure/Repository/RepositoryModule.php:66:91: UndefinedClass: Class, interface or enum named Fau\DegreeProgram\Common\Infrastructure\Repository\WpQuerySplitter does not exist (see https://psalm.dev/019)
|
static-code-analysis-php / static-analysis-php
Process completed with exit code 2.
|