-
Improvement
-
Resolution: Fixed
-
Minor
-
2.2.2, 2.3
-
None
-
MOODLE_22_STABLE, MOODLE_23_STABLE
-
MOODLE_22_STABLE, MOODLE_23_STABLE
There are some minor improvements to be performed to the code-checker plugin (to be used in 2.2 and upwards):
- Update codesniffer to 1.3.3 (we are 1.3.0 right now).
- Add one Sniff controlling invalid T_COMMENT tokens:
- # (shell/perl ones => error).
- /// (more than 2 slashes => error).
- //[^ ] (2 slashes not followed by space => warning).
- Tidy plugin own phpdocs.
- Update http://docs.moodle.org/dev/Coding_style to explain/clarify the 2-slash rules.
Ciao