Drop request and response from Application and bootstrap event #315
continuous-integration.yml
on: pull_request
ci
/
Generate job matrix
8s
Matrix: ci / QA Checks
Annotations
10 errors
MixedArgument:
src/Application.php#L81
src/Application.php:81:27: MixedArgument: Argument 1 of Laminas\Mvc\MvcEvent::setRouter cannot be mixed, expecting Laminas\Router\RouteStackInterface<Laminas\Router\RouteInterface> (see https://psalm.dev/030)
|
PossiblyUnusedMethod:
src/Application.php#L106
src/Application.php:106:21: PossiblyUnusedMethod: Cannot find any calls to method Laminas\Mvc\Application::getRequest (see https://psalm.dev/087)
|
PossiblyUnusedMethod:
src/Application.php#L118
src/Application.php:118:21: PossiblyUnusedMethod: Cannot find explicit calls to method Laminas\Mvc\Application::getResponse (but did find some potential callers) (see https://psalm.dev/087)
|
PossiblyUnusedReturnValue:
src/Application.php#L166
src/Application.php:166:16: PossiblyUnusedReturnValue: The return value for this method is never used (see https://psalm.dev/273)
|
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)
|