Skip to content

[FAU-428] Add WpQuerySplitter to split large HIS code queries into smaller ones #48

[FAU-428] Add WpQuerySplitter to split large HIS code queries into smaller ones

[FAU-428] Add WpQuerySplitter to split large HIS code queries into smaller ones #48

Triggered via pull request July 2, 2024 15:02
@zhyianzhyian
opened #36
FAU-428
Status Failure
Total duration 29s
Artifacts

quality-assurance-php.yml

on: pull_request
coding-standards-analysis-php  /  coding-standards-php
16s
coding-standards-analysis-php / coding-standards-php
static-code-analysis-php  /  static-analysis-php
17s
static-code-analysis-php / static-analysis-php
Matrix: lint-php
Matrix: tests-unit-php
Waiting for pending jobs
Fit to window
Zoom out
Zoom in

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.