Skip to content

Refactor MonthSelect removing inheritance and improving tests #743

Refactor MonthSelect removing inheritance and improving tests

Refactor MonthSelect removing inheritance and improving tests #743

Triggered via pull request November 18, 2024 10:34
Status Failure
Total duration 55s
Artifacts

continuous-integration.yml

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

Annotations

6 errors
MixedAssignment: src/MonthSelect.php#L34
src/MonthSelect.php:34:9: MixedAssignment: Unable to determine the type that $this->returnNullIfAnyFieldEmpty is being assigned to (see https://psalm.dev/032)
MixedAssignment: src/MonthSelect.php#L35
src/MonthSelect.php:35:9: MixedAssignment: Unable to determine the type that $this->returnNullIfAllFieldsEmpty is being assigned to (see https://psalm.dev/032)
MixedInferredReturnType: src/MonthSelect.php#L38
src/MonthSelect.php:38:45: MixedInferredReturnType: Could not verify return type 'T|array{month: numeric, year: numeric}|string' for Laminas\Filter\MonthSelect::__invoke (see https://psalm.dev/047)
MixedReturnStatement: src/MonthSelect.php#L40
src/MonthSelect.php:40:16: MixedReturnStatement: Possibly-mixed return value (see https://psalm.dev/138)
PossiblyUnusedMethod: test/MonthSelectTest.php#L41
test/MonthSelectTest.php:41:28: PossiblyUnusedMethod: Cannot find any calls to method LaminasTest\Filter\MonthSelectTest::provideInvalidFilterValues (see https://psalm.dev/087)