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
We should add support for PSR-2 Coding Standards and potentially use this as the default standards if none are supplied.
The text was updated successfully, but these errors were encountered:
I suggest that we do this after #27 so that the new files don't also need to be modified.
Sorry, something went wrong.
got this quite a lot on private functions:
name should follow the pattern /^_[a-z][a-zA-Z0-9]*$/
which is agains PSR-2 "4.3. Methods". So I wonder how to set phpcheckstyle to PSR-2
Yes, this is old school naming.
You can edit the config file and change the "privateFunctionNaming" rule to remove the underscore.
<test name="privateFunctionNaming" regexp="/^_[a-z][a-zA-Z0-9]*$/" level="error"/>
==>
<test name="privateFunctionNaming" regexp="/^[a-z][a-zA-Z0-9]*$/" level="error"/>
No branches or pull requests
We should add support for PSR-2 Coding Standards and potentially use this as the default standards if none are supplied.
The text was updated successfully, but these errors were encountered: