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
// nikic's PHPParser if (!class_exists('PhpParser\Autoloader', true)) { require __DIR__ . '/../vendor/nikic/php-parser/lib/bootstrap.php'; }
The test (class_exists) is not consistent with action in php-parser/lib/bootstrap.php (declare the autoloader class AND register an autoloader)
This can raise issue if "autoload" can find the class, as the "register" will not be run. Simple Proposal:
if (!class_exists('PhpParser\Autoloader', false)) {
Or simply drop this test and use "require_once"
The text was updated successfully, but these errors were encountered:
edfcd32
No branches or pull requests
The test (class_exists) is not consistent with action in php-parser/lib/bootstrap.php (declare the autoloader class AND register an autoloader)
This can raise issue if "autoload" can find the class, as the "register" will not be run.
Simple Proposal:
Or simply drop this test and use "require_once"
The text was updated successfully, but these errors were encountered: