PHPLIB-1597 Accept a $-prefixed string anywhere an expression is accepted #2216
Annotations
10 errors
TypeDoesNotContainType:
src/Builder/Accumulator/AccumulatorAccumulator.php#L101
src/Builder/Accumulator/AccumulatorAccumulator.php:101:13: TypeDoesNotContainType: Type list<mixed> for $accumulateArgs is never string (see https://psalm.dev/056)
|
RedundantConditionGivenDocblockType:
src/Builder/Accumulator/AccumulatorAccumulator.php#L101
src/Builder/Accumulator/AccumulatorAccumulator.php:101:43: RedundantConditionGivenDocblockType: Operand of type true is always truthy (see https://psalm.dev/156)
|
NoValue:
src/Builder/Accumulator/AccumulatorAccumulator.php#L101
src/Builder/Accumulator/AccumulatorAccumulator.php:101:61: NoValue: All possible types for this argument were invalidated - This may be dead code (see https://psalm.dev/179)
|
TypeDoesNotContainType:
src/Builder/Accumulator/AccumulatorAccumulator.php#L116
src/Builder/Accumulator/AccumulatorAccumulator.php:116:13: TypeDoesNotContainType: Type list<mixed> for $initArgs is never string (see https://psalm.dev/056)
|
RedundantConditionGivenDocblockType:
src/Builder/Accumulator/AccumulatorAccumulator.php#L116
src/Builder/Accumulator/AccumulatorAccumulator.php:116:37: RedundantConditionGivenDocblockType: Operand of type true is always truthy (see https://psalm.dev/156)
|
NoValue:
src/Builder/Accumulator/AccumulatorAccumulator.php#L116
src/Builder/Accumulator/AccumulatorAccumulator.php:116:55: NoValue: All possible types for this argument were invalidated - This may be dead code (see https://psalm.dev/179)
|
TypeDoesNotContainType:
src/Builder/Accumulator/LastNAccumulator.php#L58
src/Builder/Accumulator/LastNAccumulator.php:58:13: TypeDoesNotContainType: Type list<mixed> for $input is never string (see https://psalm.dev/056)
|
RedundantConditionGivenDocblockType:
src/Builder/Accumulator/LastNAccumulator.php#L58
src/Builder/Accumulator/LastNAccumulator.php:58:34: RedundantConditionGivenDocblockType: Operand of type true is always truthy (see https://psalm.dev/156)
|
NoValue:
src/Builder/Accumulator/LastNAccumulator.php#L58
src/Builder/Accumulator/LastNAccumulator.php:58:52: NoValue: All possible types for this argument were invalidated - This may be dead code (see https://psalm.dev/179)
|
TypeDoesNotContainType:
src/Builder/Accumulator/MaxNAccumulator.php#L56
src/Builder/Accumulator/MaxNAccumulator.php:56:13: TypeDoesNotContainType: Type list<mixed> for $input is never string (see https://psalm.dev/056)
|