PHPLIB-1597 Accept a $-prefixed string anywhere an expression is accepted #2226
Annotations
10 errors
TypeDoesNotContainType:
src/Builder/Expression/FirstOperator.php#L46
src/Builder/Expression/FirstOperator.php:46:13: TypeDoesNotContainType: Type list<mixed> for $expression is never string (see https://psalm.dev/056)
|
RedundantConditionGivenDocblockType:
src/Builder/Expression/FirstOperator.php#L46
src/Builder/Expression/FirstOperator.php:46:39: RedundantConditionGivenDocblockType: Operand of type true is always truthy (see https://psalm.dev/156)
|
NoValue:
src/Builder/Expression/FirstOperator.php#L46
src/Builder/Expression/FirstOperator.php:46:57: NoValue: All possible types for this argument were invalidated - This may be dead code (see https://psalm.dev/179)
|
TypeDoesNotContainType:
src/Builder/Expression/InOperator.php#L56
src/Builder/Expression/InOperator.php:56:13: TypeDoesNotContainType: Type list<mixed> for $array is never string (see https://psalm.dev/056)
|
RedundantConditionGivenDocblockType:
src/Builder/Expression/InOperator.php#L56
src/Builder/Expression/InOperator.php:56:34: RedundantConditionGivenDocblockType: Operand of type true is always truthy (see https://psalm.dev/156)
|
NoValue:
src/Builder/Expression/InOperator.php#L56
src/Builder/Expression/InOperator.php:56:52: NoValue: All possible types for this argument were invalidated - This may be dead code (see https://psalm.dev/179)
|
TypeDoesNotContainType:
src/Builder/Expression/IndexOfArrayOperator.php#L80
src/Builder/Expression/IndexOfArrayOperator.php:80:13: TypeDoesNotContainType: Type list<mixed> for $array is never string (see https://psalm.dev/056)
|
RedundantConditionGivenDocblockType:
src/Builder/Expression/IndexOfArrayOperator.php#L80
src/Builder/Expression/IndexOfArrayOperator.php:80:34: RedundantConditionGivenDocblockType: Operand of type true is always truthy (see https://psalm.dev/156)
|
NoValue:
src/Builder/Expression/IndexOfArrayOperator.php#L80
src/Builder/Expression/IndexOfArrayOperator.php:80:52: NoValue: All possible types for this argument were invalidated - This may be dead code (see https://psalm.dev/179)
|
TypeDoesNotContainType:
src/Builder/Expression/LastNOperator.php#L57
src/Builder/Expression/LastNOperator.php:57:13: TypeDoesNotContainType: Type list<mixed> for $input is never string (see https://psalm.dev/056)
|