Skip to content

linter: function param type mismatch with phpdoc #212

linter: function param type mismatch with phpdoc

linter: function param type mismatch with phpdoc #212

Triggered via pull request April 16, 2025 14:12
Status Failure
Total duration 47s
Artifacts

linter.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

6 errors
linter
Process completed with exit code 2.
linter: src/linter/block.go#L555
S1009: should omit nil check; len() for map[string]string is defined as zero (gosimple)
linter: src/tests/checkers/func_params_type_mismatch_phpdoc_test.go#L223
`Responsable` is a misspelling of `Responsible` (misspell)
linter: src/tests/checkers/func_params_type_mismatch_phpdoc_test.go#L221
`Responsable` is a misspelling of `Responsible` (misspell)
linter: src/tests/checkers/func_params_type_mismatch_phpdoc_test.go#L218
`Responsable` is a misspelling of `Responsible` (misspell)
linter: src/linter/block.go#L693
singleCaseSwitch: should rewrite switch statement to if statement (gocritic)