Skip to content

Backporting pst/container#2.0 change from laminas/laminas-servicemana… #2

Backporting pst/container#2.0 change from laminas/laminas-servicemana…

Backporting pst/container#2.0 change from laminas/laminas-servicemana… #2

Triggered via push October 17, 2023 13:32
Status Failure
Total duration 2m 4s
Artifacts
ci  /  Generate job matrix
10s
ci / Generate job matrix
Matrix: ci / QA Checks
Fit to window
Zoom out
Zoom in

Annotations

10 errors
ci / QA Checks (PHPCodeSniffer [8.1, locked], ubuntu-latest, laminas/laminas-continuous-integration-ac...: src/AbstractPluginManager.php#L146
Method \Laminas\ServiceManager\AbstractPluginManager::get() has useless @return annotation.
UnusedDocblockParam: src/AbstractPluginManager.php#L145
src/AbstractPluginManager.php:145:49: UnusedDocblockParam: Docblock parameter $name in docblock for Laminas\ServiceManager\AbstractPluginManager::get does not have a counterpart in signature parameter list (see https://psalm.dev/319)
InvalidDocblock: src/AbstractPluginManager.php#L154
src/AbstractPluginManager.php:154:5: InvalidDocblock: Unrecognized template '$name' in docblock for Laminas\ServiceManager\AbstractPluginManager::get (see https://psalm.dev/008)
UndefinedVariable: src/AbstractPluginManager.php#L156
src/AbstractPluginManager.php:156:26: UndefinedVariable: Cannot find referenced variable $name (see https://psalm.dev/024)
MixedArgument: src/AbstractPluginManager.php#L156
src/AbstractPluginManager.php:156:26: MixedArgument: Argument 1 of Laminas\ServiceManager\AbstractPluginManager::has cannot be mixed, expecting string (see https://psalm.dev/030)
ParseError: src/AbstractPluginManager.php#L169
src/AbstractPluginManager.php:169:9: ParseError: Syntax error, unexpected T_VARIABLE on line 169 (see https://psalm.dev/173)
UnusedDocblockParam: src/ServiceManager.php#L291
src/ServiceManager.php:291:35: UnusedDocblockParam: Docblock parameter $name in docblock for Laminas\ServiceManager\ServiceManager::has does not have a counterpart in signature parameter list (see https://psalm.dev/319)
TooManyArguments: test/AbstractPluginManagerTest.php#L129
test/AbstractPluginManagerTest.php:129:35: TooManyArguments: Too many arguments for method Laminas\ServiceManager\AbstractPluginManager::get - saw 2 (see https://psalm.dev/026)
TooManyArguments: test/AbstractPluginManagerTest.php#L130
test/AbstractPluginManagerTest.php:130:35: TooManyArguments: Too many arguments for method Laminas\ServiceManager\AbstractPluginManager::get - saw 2 (see https://psalm.dev/026)
UnusedBaselineEntry: src/AbstractPluginManager.php#L1
src/AbstractPluginManager.php:0:0: UnusedBaselineEntry: Baseline for issue "ParamNameMismatch" has 1 extra entry. (see https://psalm.dev/316)