Skip to content

Extract default listeners from Application #365

Extract default listeners from Application

Extract default listeners from Application #365

Triggered via pull request July 28, 2024 23:00
Status Failure
Total duration 52s
Artifacts

continuous-integration.yml

on: pull_request
ci  /  Generate job matrix
6s
ci / Generate job matrix
Matrix: ci / QA Checks
Fit to window
Zoom out
Zoom in

Annotations

10 errors
RiskyTruthyFalsyComparison: src/Controller/AbstractController.php#L156
src/Controller/AbstractController.php:156:13: RiskyTruthyFalsyComparison: Operand of type false|int contains type int, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
InvalidArrayOffset: src/Controller/AbstractRestfulController.php#L354
src/Controller/AbstractRestfulController.php:354:29: InvalidArrayOffset: Cannot access value on variable $this->customHttpMethodsMap using a never offset, expecting array-key (see https://psalm.dev/115)
NoValue: src/Controller/AbstractRestfulController.php#L355
src/Controller/AbstractRestfulController.php:355:17: NoValue: All possible types for this assignment were invalidated - This may be dead code (see https://psalm.dev/179)
UnusedVariable: src/Controller/AbstractRestfulController.php#L355
src/Controller/AbstractRestfulController.php:355:17: UnusedVariable: $action is never referenced or the value is not used (see https://psalm.dev/077)
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)
RiskyTruthyFalsyComparison: src/Controller/Plugin/AcceptableViewModelSelector.php#L128
src/Controller/Plugin/AcceptableViewModelSelector.php:128:14: RiskyTruthyFalsyComparison: Operand of type array<array-key, mixed>|null contains type array<array-key, mixed>, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
RiskyTruthyFalsyComparison: src/Controller/Plugin/AcceptableViewModelSelector.php#L132
src/Controller/Plugin/AcceptableViewModelSelector.php:132:13: RiskyTruthyFalsyComparison: Operand of type array<array-key, mixed>|null contains type array<array-key, mixed>, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
NullArrayOffset: src/Controller/Plugin/AcceptableViewModelSelector.php#L207
src/Controller/Plugin/AcceptableViewModelSelector.php:207:15: NullArrayOffset: Cannot access value on variable $modelAcceptString using null offset (see https://psalm.dev/124)
NoValue: src/Controller/Plugin/AcceptableViewModelSelector.php#L207
src/Controller/Plugin/AcceptableViewModelSelector.php:207:38: NoValue: All possible types for this argument were invalidated - This may be dead code (see https://psalm.dev/179)
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)