Use splat where possible #415
tests.yml
on: push
Matrix: test-basic
Code format check
29s
Build check
17s
Static analysis check
21s
Matrix: tests
Annotations
10 errors
TypeDoesNotContainType:
init.php#L64
init.php:64:39: TypeDoesNotContainType: Operand of type false is always falsy (see https://psalm.dev/056)
|
TypeDoesNotContainType:
init.php#L68
init.php:68:39: TypeDoesNotContainType: Operand of type false is always falsy (see https://psalm.dev/056)
|
RedundantCondition:
src/CallFinder.php#L174
src/CallFinder.php:174:13: RedundantCondition: Operand of type true is always truthy (see https://psalm.dev/122)
|
RedundantCondition:
src/CallFinder.php#L399
src/CallFinder.php:399:17: RedundantCondition: Operand of type true is always truthy (see https://psalm.dev/122)
|
RedundantCondition:
src/CallFinder.php#L534
src/CallFinder.php:534:14: RedundantCondition: Operand of type true is always truthy (see https://psalm.dev/122)
|
RedundantCondition:
src/CallFinder.php#L567
src/CallFinder.php:567:21: 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)
|
RedundantCondition:
src/Parser/MysqliPlugin.php#L150
src/Parser/MysqliPlugin.php:150:13: RedundantCondition: Operand of type true is always truthy (see https://psalm.dev/122)
|
RedundantCondition:
src/Parser/Parser.php#L442
src/Parser/Parser.php:442:21: RedundantCondition: Operand of type true is always truthy (see https://psalm.dev/122)
|
RedundantCondition:
src/Parser/Parser.php#L463
src/Parser/Parser.php:463:36: RedundantCondition: Operand of type true is always truthy (see https://psalm.dev/122)
|