Introduce plugin manager static analysis file #860
continuous-integration.yml
on: pull_request
ci
/
Generate job matrix
10s
Matrix: ci / QA Checks
Annotations
5 errors
ci / QA Checks (PHPCodeSniffer [8.1, locked], ubuntu-latest, laminas/laminas-continuous-integration-ac...:
src/Command/AheadOfTimeFactoryCreatorCommand.php#L136
No assignment to $factoryClassName variable before or after the documentation comment.
|
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)
|