Object initialization fix #386
tests.yml
on: push
Matrix: test-basic
Code format check
20s
Build check
20s
Static analysis check
21s
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)
|
RiskyTruthyFalsyComparison:
src/CallFinder.php#L251
src/CallFinder.php:251:21: RiskyTruthyFalsyComparison: Operand of type list{int, string, int}|null|string contains type string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
RiskyTruthyFalsyComparison:
src/CallFinder.php#L255
src/CallFinder.php:255:21: RiskyTruthyFalsyComparison: Operand of type list{int, string, int}|null|string contains type string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
RiskyTruthyFalsyComparison:
src/CallFinder.php#L259
src/CallFinder.php:259:21: RiskyTruthyFalsyComparison: Operand of type list{int, string, int}|null|string contains type string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
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)
|