-
Notifications
You must be signed in to change notification settings - Fork 6
Closed
Description
I'm getting the following error:
PHP Fatal error: Uncaught Error: Call to undefined method PhpParser\Node\Expr\Variable::getLast() in .../vendor/gettext/php-scanner/src/PhpNodeVisitor.php:31
the line of code triggering the error is:
$phpScanner->scanFile($file->getRelativePathname());
the contents of the file which would still trigger the error
<?php
class AuthMiddleware
{
public function test()
{
return __('Accessing the Backoffice is not allowed at this time.');
}
}
Versions:
gettext/gettext v5.0.0 PHP gettext manager
gettext/languages 2.5.0 gettext languages with plural rules
gettext/php-scanner v1.0.0 PHP scanner for gettext
Metadata
Metadata
Assignees
Labels
No labels