Importing global PHP functions #4527
Labels
kind:feature
A feature request
needs:triage
Requires attention from one of the committers
PHP
[ci] enable extra PHP tests (php/php.editor)
Description
Hello!
Right now only functions from other namespaces can be imported (and
count
for some reason) with theuse function
directive. All other display thecannot be resolved
in theFix imports in Current Namespace
window.Use case/motivation
I have found the
use function
to be far more elegant than the prefixed syntax, but I have to do it manually. Being able to import them automatically like the class names would save a lot of tedious minor work.Related issues
No response
Are you willing to submit a pull request?
No
Code of Conduct
Yes
The text was updated successfully, but these errors were encountered: