-
Improvement
-
Resolution: Fixed
-
Minor
-
3.11.5, 4.0
-
MOODLE_311_STABLE, MOODLE_400_STABLE
-
MOODLE_311_STABLE
-
The @codingStandardsIgnoreFile, @codingStandardsIgnoreLine, @codingStandardsIgnoreStart and codingStandardsIgnoreEnd annotations have been deprecated by PHP_CodeSniffer 3.x and removed in 4.x. A new, more powerful, alternative is now available using inline comments (// phpcs:xxxx).
Link: https://github.com/squizlabs/PHP_CodeSniffer/wiki/Advanced-Usage#ignoring-files-and-folders
Right now there are a few uses in core of the old/deprecated variants. This issue is about:
- Review all them, one by one.
- Decide which ones can be simply removed.
- Decide which ones must be changed to the new syntax alternatives.
Ciao