Skip to content

Fix new psalm warnings #391

Fix new psalm warnings

Fix new psalm warnings #391

Triggered via push July 18, 2024 18:27
Status Success
Total duration 1m 55s
Artifacts

tests.yml

on: push
Matrix: test-basic
Code format check
27s
Code format check
Build check
17s
Build check
Static analysis check
18s
Static analysis check
Matrix: old-tests
Matrix: tests
Fit to window
Zoom out
Zoom in

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)