-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Error when file ends with "function" #974
Comments
Can you please write exactly what error text is and with a stack trace? |
Does these notices fail corresponding unit tests? |
|
I don't believe there is a unit test for this error |
In PHPUnit if a notice/warning happens during test run it automatically fails the test. |
Are you referring to a unit test on the file? The file is not a valid PHP file. |
Issue was in the core tokenizer and has now been fixed. Thanks for reporting it. |
@UziTech , I was talking about unit test for sniff that used tokenizer, that in turn triggered that error. |
causes a bunch of undefined index errors
The text was updated successfully, but these errors were encountered: