Skip to content

PHPLIB-1597 Accept a $-prefixed string anywhere an expression is accepted #2216

PHPLIB-1597 Accept a $-prefixed string anywhere an expression is accepted

PHPLIB-1597 Accept a $-prefixed string anywhere an expression is accepted #2216

Triggered via pull request January 24, 2025 11:35
Status Failure
Total duration 34s
Artifacts

static-analysis.yml

on: pull_request
Fit to window
Zoom out
Zoom in

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)