We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm using the library https://github.com/thecodingmachine/safe.
Until now, I've used their functions this way:
\Safe\sprintf(...);
Now, with the new Rector ImportFullyQualifiedNamesRector imported it this way:
ImportFullyQualifiedNamesRector
use Safe\sprintf; \Safe\sprintf(...);
This causes issues with static analysis and with PHPStorm.
The solution is to import the functions using import function Safe\sprintf.
import function Safe\sprintf
See phan/phan#2705
The text was updated successfully, but these errors were encountered:
I didn't include functions yet. Thanks for reporting
Sorry, something went wrong.
Updated Rector to commit df1391d
9fef47b
rectorphp/rector-src@df1391d [PHP 8.0] Retype expr by attribute parameter type (#1376)
Successfully merging a pull request may close this issue.
I'm using the library https://github.com/thecodingmachine/safe.
Until now, I've used their functions this way:
Now, with the new Rector
ImportFullyQualifiedNamesRector
imported it this way:This causes issues with static analysis and with PHPStorm.
The solution is to import the functions using
import function Safe\sprintf
.See phan/phan#2705
The text was updated successfully, but these errors were encountered: