You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"Note that, unless you have implemented autoloading, the use statement won’t automatically load whatever is being imported. You’ll either need to set up autoloading or load the file containing the class/function/constant using a require/import statement, for the imported constructs to be loaded when used."
Unless I am mistaken that should read require/include?
If require/import is correct, just close the issue. I will prepare a PR right away with a fix.
The text was updated successfully, but these errors were encountered:
Hello everyone. I stumpled upon this site.
https://developer.wordpress.org/coding-standards/wordpress-coding-standards/php/#using-import-use-statements
"Note that, unless you have implemented autoloading, the use statement won’t automatically load whatever is being imported. You’ll either need to set up autoloading or load the file containing the class/function/constant using a
require/import
statement, for the imported constructs to be loaded when used."Unless I am mistaken that should read
require/include
?If
require/import
is correct, just close the issue. I will prepare a PR right away with a fix.The text was updated successfully, but these errors were encountered: