Menu
← Back to all error identifiers
Error Identifiers: ternary.*
There are 5 error identifiers in the ternary.* group:
-
Ternary condition always evaluates to false.
-
Ternary condition always evaluates to true.
-
ternary.condNotBoolean phpstan-strict-rulesTernary condition is not a boolean value.
-
Result of a ternary expression is not used.
-
ternary.shortNotAllowed phpstan-strict-rulesShort ternary operator (?:) relies on loose truthiness rules.