Skip to content

ParserTest: Remove warning about deprecated expectWarning #408

ParserTest: Remove warning about deprecated expectWarning

ParserTest: Remove warning about deprecated expectWarning #408

Triggered via push August 16, 2024 17:39
Status Success
Total duration 1m 42s
Artifacts

tests.yml

on: push
Matrix: test-basic
Code format check
20s
Code format check
Build check
28s
Build check
Static analysis check
23s
Static analysis check
Matrix: tests
Fit to window
Zoom out
Zoom in

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#L385
src/CallFinder.php:385:17: RedundantCondition: Operand of type true is always truthy (see https://psalm.dev/122)
RedundantCondition: src/CallFinder.php#L520
src/CallFinder.php:520:14: RedundantCondition: Operand of type true is always truthy (see https://psalm.dev/122)
RedundantCondition: src/CallFinder.php#L553
src/CallFinder.php:553: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#L466
src/Parser/Parser.php:466:21: RedundantCondition: Operand of type true is always truthy (see https://psalm.dev/122)
RedundantCondition: src/Parser/Parser.php#L487
src/Parser/Parser.php:487:36: RedundantCondition: Operand of type true is always truthy (see https://psalm.dev/122)