Menu
← Back to all error identifiers
Error Identifiers: possiblyImpure.*
There are 20 error identifiers in the possiblyImpure.* group:
-
Pure function contains inline HTML output between PHP tags.
-
Pure function possibly uses die which terminates the script.
-
Pure function contains an echo statement which is a side effect.
-
Pure function possibly uses eval which can have arbitrary side effects.
-
Pure function possibly uses exit which terminates the script.
-
Pure function calls another function or callable whose purity is unknown.
-
Pure function possibly accesses mutable global state via the global keyword.
-
Pure function uses include which can execute arbitrary code.
-
Pure function calls a method whose purity is unknown.
-
Pure function instantiates a class whose constructor purity is unknown.
-
Pure function contains a print statement which is a side effect.
-
Pure function possibly assigns a value to an object property.
-
Pure function creates a by-reference assignment to a property.
-
Pure function unsets a property which modifies object state.
-
Pure function uses require which can execute arbitrary code.
-
Pure function uses a static variable which persists mutable state.
-
Pure function accesses a static property which is shared mutable state.
-
Pure function or method accesses a superglobal variable.
-
Pure function or method uses yield, which is a stateful operation.
-
Pure function or method uses yield from, which is a stateful operation.