Skip to content

Introduce plugin manager static analysis file #860

Introduce plugin manager static analysis file

Introduce plugin manager static analysis file #860

Triggered via pull request October 10, 2023 19:24
Status Failure
Total duration 1m 34s
Artifacts

continuous-integration.yml

on: pull_request
ci  /  Generate job matrix
10s
ci / Generate job matrix
Matrix: ci / QA Checks
Fit to window
Zoom out
Zoom in

Annotations

5 errors
InvalidDocblock: src/AbstractPluginManager.php#L259
src/AbstractPluginManager.php:259:15: InvalidDocblock: Intersection types must be all objects, Psalm\Type\Atomic\TTypeAlias provided in docblock for Laminas\ServiceManager\AbstractPluginManager::setFactory (see https://psalm.dev/008)
MixedArgumentTypeCoercion: src/AbstractPluginManager.php#L266
src/AbstractPluginManager.php:266:43: MixedArgumentTypeCoercion: Argument 2 of Laminas\ServiceManager\ServiceManager::setFactory expects Laminas\ServiceManager\Factory\FactoryInterface|callable(Psr\Container\ContainerInterface, string, array<array-key, mixed>|null):mixed|class-string, but parent type Laminas\ServiceManager\Factory\FactoryInterface|callable|string provided (see https://psalm.dev/194)
InvalidDocblock: src/AbstractPluginManager.php#L305
src/AbstractPluginManager.php:305:21: InvalidDocblock: Intersection types must be all objects, Psalm\Type\Atomic\TTypeAlias provided in docblock for Laminas\ServiceManager\AbstractPluginManager::addDelegator (see https://psalm.dev/008)
ArgumentTypeCoercion: src/AbstractPluginManager.php#L310
src/AbstractPluginManager.php:310:45: ArgumentTypeCoercion: Argument 2 of Laminas\ServiceManager\ServiceManager::addDelegator expects Laminas\ServiceManager\Factory\DelegatorFactoryInterface|callable(Psr\Container\ContainerInterface, string, callable():mixed, array<array-key, mixed>|null):mixed|class-string, but parent type Laminas\ServiceManager\Factory\DelegatorFactoryInterface|callable|string provided (see https://psalm.dev/193)