Use Attribute instead of annotation in Plugin Manager test Trait #1103
continuous-integration.yml
on: pull_request
ci
/
Generate job matrix
8s
Matrix: ci / QA Checks
Annotations
5 errors and 13 warnings
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)
|
PossiblyUnusedMethod:
src/Test/CommonPluginManagerTrait.php#L58
src/Test/CommonPluginManagerTrait.php:58:28: PossiblyUnusedMethod: Cannot find any calls to method LaminasTest\ServiceManager\ExamplePluginManagerTest::aliasProvider (see https://psalm.dev/087)
|
ci / Generate job matrix
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
ci / QA Checks (PHPUnit [8.3, latest], ubuntu-latest, laminas/laminas-continuous-integration-action@v1...
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
ci / QA Checks (PHPUnit [8.2, lowest], ubuntu-latest, laminas/laminas-continuous-integration-action@v1...
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
ci / QA Checks (PHPUnit [8.2, latest], ubuntu-latest, laminas/laminas-continuous-integration-action@v1...
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
ci / QA Checks (PHPUnit [8.1, locked], ubuntu-latest, laminas/laminas-continuous-integration-action@v1...
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
ci / QA Checks (PHPCodeSniffer [8.1, locked], ubuntu-latest, laminas/laminas-continuous-integration-ac...
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
ci / QA Checks (PHPUnit [8.3, lowest], ubuntu-latest, laminas/laminas-continuous-integration-action@v1...
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
ci / QA Checks (PHPUnit [8.4, lowest], ubuntu-latest, laminas/laminas-continuous-integration-action@v1...
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
ci / QA Checks (PHPUnit [8.1, lowest], ubuntu-latest, laminas/laminas-continuous-integration-action@v1...
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
ci / QA Checks (PHPUnit [8.4, latest], ubuntu-latest, laminas/laminas-continuous-integration-action@v1...
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
ci / QA Checks (PHPUnit [8.1, latest], ubuntu-latest, laminas/laminas-continuous-integration-action@v1...
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
ci / QA Checks (Psalm [8.1, locked], ubuntu-latest, laminas/laminas-continuous-integration-action@v1, ...
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
ci / QA Checks (PHPBench [8.1, locked], ubuntu-latest, laminas/laminas-continuous-integration-action@v...
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|