Skip to content

Introduce NumberComparison validator #802

Introduce NumberComparison validator

Introduce NumberComparison validator #802

Triggered via pull request June 25, 2024 13:06
Status Failure
Total duration 1m 24s
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

4 errors
InvalidPropertyAssignmentValue: src/NumberComparison.php#L49
src/NumberComparison.php:49:32: InvalidPropertyAssignmentValue: $this->options with declared type 'array{inclusive: bool, max: null|numeric, min: null|numeric}' cannot be assigned type 'array{inclusiveMax: true, inclusiveMin: true, max: null, min: null}' (see https://psalm.dev/145)
MixedAssignment: src/NumberComparison.php#L94
src/NumberComparison.php:94:9: MixedAssignment: Unable to determine the type that $inclusiveMin is being assigned to (see https://psalm.dev/032)
MixedAssignment: src/NumberComparison.php#L95
src/NumberComparison.php:95:9: MixedAssignment: Unable to determine the type that $inclusiveMax is being assigned to (see https://psalm.dev/032)
UnusedBaselineEntry: src/NumberComparison.php#L1
src/NumberComparison.php:0:0: UnusedBaselineEntry: Baseline for issue "MixedAssignment" has 1 extra entry. (see https://psalm.dev/316)