-
Notifications
You must be signed in to change notification settings - Fork 16
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
moodle-extra doesn't catch 'Functions must not contain multiple empty lines in a row' #87
Comments
The Moodle-extra ruleset needs to also be included with the Moodle ruleset as per the docs. Can you check with that config? |
Same issue, if I add both |
btw. the |
This is a curious case, I've tried here with this simple php script:
And this is what I get: With the "moodle" standard:
With the "moodle-extra" standard:
(I've tried the above with the testing file being within Moodle, within moodle-cs and in an empty directory, to avoid any Really curious, I've over-looked the Ciao :-) |
my
.phpcs.xml
looks like thisand in
db/install.php
I have this code:The multi empty line issue is not reported by
phpcs
When I change the rule to
<rule ref="moodle"/>
it works correctly.The text was updated successfully, but these errors were encountered: