Skip to content

Fix int-range concat to behave like union of int types #789

Fix int-range concat to behave like union of int types

Fix int-range concat to behave like union of int types #789

Triggered via push May 7, 2024 09:51
Status Failure
Total duration 1m 13s
Artifacts

shepherd.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

8 errors
UndefinedPropertyFetch: src/Psalm/Internal/Analyzer/Statements/Expression/BinaryOp/ConcatAnalyzer.php#L189
src/Psalm/Internal/Analyzer/Statements/Expression/BinaryOp/ConcatAnalyzer.php:189:40: UndefinedPropertyFetch: Instance property Psalm\Type\Atomic::$value is not defined (see https://psalm.dev/039)
MixedOperand: src/Psalm/Internal/Analyzer/Statements/Expression/BinaryOp/ConcatAnalyzer.php#L189
src/Psalm/Internal/Analyzer/Statements/Expression/BinaryOp/ConcatAnalyzer.php:189:40: MixedOperand: Left operand cannot be mixed (see https://psalm.dev/059)
UndefinedPropertyFetch: src/Psalm/Internal/Analyzer/Statements/Expression/BinaryOp/ConcatAnalyzer.php#L189
src/Psalm/Internal/Analyzer/Statements/Expression/BinaryOp/ConcatAnalyzer.php:189:65: UndefinedPropertyFetch: Instance property Psalm\Type\Atomic::$value is not defined (see https://psalm.dev/039)
PossiblyUnusedProperty: src/Psalm/Type/Atomic/TFalse.php#L13
src/Psalm/Type/Atomic/TFalse.php:13:12: PossiblyUnusedProperty: Cannot find explicit references to property Psalm\Type\Atomic\TFalse::$value (but did find some potential references) (see https://psalm.dev/149)
PossiblyUnusedProperty: src/Psalm/Type/Atomic/TTrue.php#L13
src/Psalm/Type/Atomic/TTrue.php:13:12: PossiblyUnusedProperty: Cannot find explicit references to property Psalm\Type\Atomic\TTrue::$value (but did find some potential references) (see https://psalm.dev/149)
PossiblyUnusedMethod: src/Psalm/Type/UnionTrait.php#L1149
src/Psalm/Type/UnionTrait.php:1149:21: PossiblyUnusedMethod: Cannot find any calls to method Psalm\Type\MutableUnion::allSpecificLiterals (see https://psalm.dev/087)
PossiblyUnusedMethod: src/Psalm/Type/UnionTrait.php#L1149
src/Psalm/Type/UnionTrait.php:1149:21: PossiblyUnusedMethod: Cannot find any calls to method Psalm\Type\Union::allSpecificLiterals (see https://psalm.dev/087)
build
Process completed with exit code 2.