Extract default listeners from Application #302
continuous-integration.yml
on: pull_request
ci
/
Generate job matrix
8s
Matrix: ci / QA Checks
Annotations
10 errors
MixedArrayOffset:
src/Controller/AbstractRestfulController.php#L354
src/Controller/AbstractRestfulController.php:354:29: MixedArrayOffset: Cannot access value on variable $this->customHttpMethodsMap using mixed offset (see https://psalm.dev/031)
|
DeprecatedInterface:
src/Controller/ControllerManager.php#L48
src/Controller/ControllerManager.php:48:16: DeprecatedInterface: Interface Laminas\ServiceManager\ConfigInterface is marked as deprecated (see https://psalm.dev/152)
|
MixedAssignment:
src/Controller/Plugin/AcceptableViewModelSelector.php#L206
src/Controller/Plugin/AcceptableViewModelSelector.php:206:9: MixedAssignment: Unable to determine the type that $modelAcceptString is being assigned to (see https://psalm.dev/032)
|
MixedArgument:
src/Controller/Plugin/AcceptableViewModelSelector.php#L207
src/Controller/Plugin/AcceptableViewModelSelector.php:207:38: MixedArgument: Argument 1 of key cannot be mixed, expecting array<array-key, mixed> (see https://psalm.dev/030)
|
MixedOperand:
src/Controller/Plugin/AcceptableViewModelSelector.php#L209
src/Controller/Plugin/AcceptableViewModelSelector.php:209:16: MixedOperand: Left operand cannot be mixed (see https://psalm.dev/059)
|
InvalidReturnType:
src/Controller/Plugin/AcceptableViewModelSelector.php#L215
src/Controller/Plugin/AcceptableViewModelSelector.php:215:16: InvalidReturnType: The declared return type 'string' for Laminas\Mvc\Controller\Plugin\AcceptableViewModelSelector::extractViewModelName is incorrect, got 'array<array-key, string>|string' (see https://psalm.dev/011)
|
InvalidReturnStatement:
src/Controller/Plugin/AcceptableViewModelSelector.php#L220
src/Controller/Plugin/AcceptableViewModelSelector.php:220:16: InvalidReturnStatement: The inferred type 'array<array-key, string>|string' does not match the declared return type 'string' for Laminas\Mvc\Controller\Plugin\AcceptableViewModelSelector::extractViewModelName (see https://psalm.dev/128)
|
MixedArgument:
src/Service/ApplicationFactory.php#L18
src/Service/ApplicationFactory.php:18:13: MixedArgument: Argument 2 of Laminas\Mvc\Application::__construct cannot be mixed, expecting Laminas\EventManager\EventManagerInterface (see https://psalm.dev/030)
|
MixedArgument:
src/Service/ApplicationFactory.php#L19
src/Service/ApplicationFactory.php:19:13: MixedArgument: Argument 3 of Laminas\Mvc\Application::__construct cannot be mixed, expecting Laminas\Mvc\ApplicationListenersProvider (see https://psalm.dev/030)
|
MixedArrayAssignment:
test/Application/BadControllerTrait.php#L69
test/Application/BadControllerTrait.php:69:9: MixedArrayAssignment: Cannot access array value on mixed variable $config['dependencies']['services'] (see https://psalm.dev/117)
|