Menu
← Back to all error identifiers
Error Identifiers: function.*
There are 16 error identifiers in the function.* group:
-
Type-checking function call is redundant because the type is already narrowed.
-
function.deprecated phpstan-deprecation-rulesCalled function is marked as deprecated.
-
Function is declared multiple times in the same namespace.
-
Type-checking function call will always evaluate to false.
-
Named function is declared inside another function.
-
Called function is marked as internal and not part of the public API.
-
Unnecessary (void) cast on a function that does not require its return value to be used.
-
Function is called with incorrect letter casing.
-
Called function does not exist or cannot be found.
-
function.resultDiscarded non-ignorableReturn value of a #[NoDiscard] function is not used.
-
Return value of a pure function call is not used.
-
function.strict phpstan-strict-rulesFunction call is missing the strict comparison parameter.
-
Return type of a function call contains an unresolvable generic type.
-
Return value of a function like print_r() is useless without the return parameter.
-
Variance annotation on a function template type is not meaningful.
-
Return value of a void function is being used.