-
-
Notifications
You must be signed in to change notification settings - Fork 174
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
PHP Fatal error when running against my project #116
Comments
You need to configure the sniff as said in the error message:
|
You can either exclude the sniff (if you don't want fully qualified names after any keyword) or configure its property. |
How do I exclude the hint OR configure the keywords? |
https://github.com/slevomat/coding-standard#using-individual-sniffs And configuring this exact sniff is described in the README: https://github.com/slevomat/coding-standard#slevomatcodingstandardnamespacesfullyqualifiedclassnameafterkeyword |
That worked! Many thanks!! |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Installed using:
and php composer.phar update / php composer.phar install.
Then edited vendor/bin/phpcs.xml to add:
Not sure I understand the nature of the error, but its entirely possible that I installed wrong, am running it incorrectly, or that my project (with some code from php-4 days) is triggering an unusual corner case.
The text was updated successfully, but these errors were encountered: