Introduce plugin manager static analysis file #846
Triggered via pull request
September 10, 2023 12:43
Status
Failure
Total duration
1m 16s
Artifacts
–
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
continuous-integration.yml
on: pull_request
ci
/
Generate job matrix
12s
Matrix: ci / QA Checks
Annotations
8 errors
MixedReturnTypeCoercion:
test/StaticAnalysis/CallablePluginManager.php#L26
test/StaticAnalysis/CallablePluginManager.php:26:60: MixedReturnTypeCoercion: The declared return type 'callable' for LaminasTest\ServiceManager\StaticAnalysis\CallablePluginManager::validateWhateverPlugin is more specific than the inferred return type 'InstanceType:Laminas\ServiceManager\AbstractPluginManager as mixed' (see https://psalm.dev/197)
|
MixedReturnTypeCoercion:
test/StaticAnalysis/CallablePluginManager.php#L29
test/StaticAnalysis/CallablePluginManager.php:29:16: MixedReturnTypeCoercion: The type 'InstanceType:Laminas\ServiceManager\AbstractPluginManager as mixed' is more general than the declared return type 'callable' for LaminasTest\ServiceManager\StaticAnalysis\CallablePluginManager::validateWhateverPlugin (see https://psalm.dev/197)
|
MoreSpecificReturnType:
test/StaticAnalysis/SingleInstancePluginManager.php#L33
test/StaticAnalysis/SingleInstancePluginManager.php:33:42: MoreSpecificReturnType: The declared return type 'LaminasTest\ServiceManager\StaticAnalysis\ConcreteStdClassPlugin' for LaminasTest\ServiceManager\StaticAnalysis\SingleInstancePluginManager::getConcretePlugin is more specific than the inferred return type 'stdClass' (see https://psalm.dev/070)
|
LessSpecificReturnStatement:
test/StaticAnalysis/SingleInstancePluginManager.php#L35
test/StaticAnalysis/SingleInstancePluginManager.php:35:16: LessSpecificReturnStatement: The type 'stdClass' is more general than the declared return type 'LaminasTest\ServiceManager\StaticAnalysis\ConcreteStdClassPlugin' for LaminasTest\ServiceManager\StaticAnalysis\SingleInstancePluginManager::getConcretePlugin (see https://psalm.dev/129)
|
MoreSpecificReturnType:
test/StaticAnalysis/SingleInstancePluginManager.php#L38
test/StaticAnalysis/SingleInstancePluginManager.php:38:44: MoreSpecificReturnType: The declared return type 'LaminasTest\ServiceManager\StaticAnalysis\ConcreteStdClassPlugin' for LaminasTest\ServiceManager\StaticAnalysis\SingleInstancePluginManager::buildConcretePlugin is more specific than the inferred return type 'stdClass' (see https://psalm.dev/070)
|
LessSpecificReturnStatement:
test/StaticAnalysis/SingleInstancePluginManager.php#L40
test/StaticAnalysis/SingleInstancePluginManager.php:40:16: LessSpecificReturnStatement: The type 'stdClass' is more general than the declared return type 'LaminasTest\ServiceManager\StaticAnalysis\ConcreteStdClassPlugin' for LaminasTest\ServiceManager\StaticAnalysis\SingleInstancePluginManager::buildConcretePlugin (see https://psalm.dev/129)
|
MixedReturnTypeCoercion:
test/StaticAnalysis/UnionPluginManager.php#L33
test/StaticAnalysis/UnionPluginManager.php:33:60: MixedReturnTypeCoercion: The declared return type 'callable|object' for LaminasTest\ServiceManager\StaticAnalysis\UnionPluginManager::validateWhateverPlugin is more specific than the inferred return type 'InstanceType:Laminas\ServiceManager\AbstractPluginManager as mixed' (see https://psalm.dev/197)
|
MixedReturnTypeCoercion:
test/StaticAnalysis/UnionPluginManager.php#L36
test/StaticAnalysis/UnionPluginManager.php:36:16: MixedReturnTypeCoercion: The type 'InstanceType:Laminas\ServiceManager\AbstractPluginManager as mixed' is more general than the declared return type 'callable|object' for LaminasTest\ServiceManager\StaticAnalysis\UnionPluginManager::validateWhateverPlugin (see https://psalm.dev/197)
|