lint/performance/require-qualified-native-function
Not in any set. Unsafe fix: it can change behaviour.
What it does
Add leading \ before function invocation to speed up resolving.
Configuration
[lint.rules]
"performance/require-qualified-native-function" = "error"
To skip it in some files, add an override or a @pun-ignore-file comment.
Options
| Name | Type | Allowed values | Default | Upstream name |
|---|---|---|---|---|
exclude |
list |
Any | [] |
exclude |
include |
list |
Any | ["@compiler_optimized"] |
include |
scope |
enum |
all, namespaced |
"all" |
scope |
strict |
bool |
Any | true |
strict |
Replaces
native_function_invocation(php-cs-fixer, risky)