Extract default listeners from Application #364
continuous-integration.yml
on: pull_request
ci
/
Generate job matrix
7s
Matrix: ci / QA Checks
Annotations
20 errors
ci / QA Checks (PHPCodeSniffer [8.1, locked], ubuntu-latest, laminas/laminas-continuous-integration-ac...:
src/ConfigProvider.php#L104
Expected 21 spaces before double arrow; 22 found
|
ci / QA Checks (PHPCodeSniffer [8.1, locked], ubuntu-latest, laminas/laminas-continuous-integration-ac...:
src/ConfigProvider.php#L105
Expected 15 spaces before double arrow; 16 found
|
ci / QA Checks (PHPCodeSniffer [8.1, locked], ubuntu-latest, laminas/laminas-continuous-integration-ac...:
src/ConfigProvider.php#L106
Expected 22 spaces before double arrow; 23 found
|
ci / QA Checks (PHPCodeSniffer [8.1, locked], ubuntu-latest, laminas/laminas-continuous-integration-ac...:
src/ConfigProvider.php#L107
Expected 16 spaces before double arrow; 17 found
|
ci / QA Checks (PHPCodeSniffer [8.1, locked], ubuntu-latest, laminas/laminas-continuous-integration-ac...:
src/ConfigProvider.php#L108
Expected 10 spaces before double arrow; 11 found
|
ci / QA Checks (PHPCodeSniffer [8.1, locked], ubuntu-latest, laminas/laminas-continuous-integration-ac...:
src/ConfigProvider.php#L109
Expected 17 spaces before double arrow; 18 found
|
ci / QA Checks (PHPCodeSniffer [8.1, locked], ubuntu-latest, laminas/laminas-continuous-integration-ac...:
src/ConfigProvider.php#L110
Expected 12 spaces before double arrow; 13 found
|
ci / QA Checks (PHPCodeSniffer [8.1, locked], ubuntu-latest, laminas/laminas-continuous-integration-ac...:
src/ConfigProvider.php#L111
Expected 15 spaces before double arrow; 16 found
|
ci / QA Checks (PHPCodeSniffer [8.1, locked], ubuntu-latest, laminas/laminas-continuous-integration-ac...:
src/ConfigProvider.php#L112
Expected 8 spaces before double arrow; 9 found
|
ci / QA Checks (PHPCodeSniffer [8.1, locked], ubuntu-latest, laminas/laminas-continuous-integration-ac...:
src/ConfigProvider.php#L113
Expected 18 spaces before double arrow; 19 found
|
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)
|