-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
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
fatal error while scanning a php file #1
Comments
i reduced the script to trigger the error to <?php
require_once __DIR__ . '/../vendor/autoload.php';
use Gettext\Scanner\PhpScanner;
use Gettext\Translations;
$phpScanner = new PhpScanner(
Translations::create()
);
$phpScanner->scanFile('app/Lib/Helpers.php');
$phpScanner->scanFile('app/Middlewares/AuthMiddleware.php'); first file doesn't have translations, works fine But i still cant get it to fail in the php-scanner unti tests |
it seems that i didn't produce the correct reproduction scenario. see master...mjrider:master for the change in the testcase |
oscarotero
added a commit
that referenced
this issue
Nov 11, 2019
Fixed in v1.0.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm getting the following error:
the line of code triggering the error is:
the contents of the file which would still trigger the error
Versions:
The text was updated successfully, but these errors were encountered: