Fix new psalm warnings #391
tests.yml
on: push
Matrix: test-basic
Code format check
27s
Build check
17s
Static analysis check
18s
Matrix: old-tests
Matrix: tests
Annotations
10 errors
TypeDoesNotContainType:
init.php#L67
init.php:67:39: TypeDoesNotContainType: Operand of type false is always falsy (see https://psalm.dev/056)
|
TypeDoesNotContainType:
init.php#L71
init.php:71:39: TypeDoesNotContainType: Operand of type false is always falsy (see https://psalm.dev/056)
|
RedundantCondition:
src/CallFinder.php#L172
src/CallFinder.php:172:13: RedundantCondition: Operand of type true is always truthy (see https://psalm.dev/122)
|
RedundantCondition:
src/CallFinder.php#L177
src/CallFinder.php:177:13: RedundantCondition: Operand of type true is always truthy (see https://psalm.dev/122)
|
RedundantCondition:
src/CallFinder.php#L388
src/CallFinder.php:388:17: RedundantCondition: Operand of type true is always truthy (see https://psalm.dev/122)
|
RedundantCondition:
src/CallFinder.php#L522
src/CallFinder.php:522:14: RedundantCondition: Operand of type true is always truthy (see https://psalm.dev/122)
|
RedundantCondition:
src/CallFinder.php#L523
src/CallFinder.php:523:14: RedundantCondition: Operand of type true is always truthy (see https://psalm.dev/122)
|
RedundantCondition:
src/CallFinder.php#L556
src/CallFinder.php:556:21: RedundantCondition: Operand of type true is always truthy (see https://psalm.dev/122)
|
RedundantCondition:
src/Parser/ClassStaticsPlugin.php#L124
src/Parser/ClassStaticsPlugin.php:124:17: RedundantCondition: Operand of type true is always truthy (see https://psalm.dev/122)
|
TypeDoesNotContainType:
src/Parser/EnumPlugin.php#L47
src/Parser/EnumPlugin.php:47:13: TypeDoesNotContainType: Operand of type false is always falsy (see https://psalm.dev/056)
|