Page MenuHomePhabricator

PHPCS on LocalSettings.php on REL1_27 fails
Closed, ResolvedPublic

Description

21:47:10 FILE: /workspace/src/LocalSettings.php
21:47:10 ----------------------------------------------------------------------
21:47:10 FOUND 2 ERRORS AND 3 WARNINGS AFFECTING 5 LINES
21:47:10 ----------------------------------------------------------------------
21:47:10  107 | WARNING | [ ] Unnecessary empty comment found
21:47:10      |         |     (MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.EmptyComment)
21:47:10  111 | WARNING | [ ] Unnecessary empty comment found
21:47:10      |         |     (MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.EmptyComment)
21:47:10  131 | ERROR   | [x] Multiple empty lines should not exist in a row;
21:47:10      |         |     found 2 consecutive empty lines
21:47:10      |         |     (MediaWiki.WhiteSpace.MultipleEmptyLines.MultipleEmptyLines)
21:47:10  189 | WARNING | [x] Single space expected between "#" and comment
21:47:10      |         |     (MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.SingleSpaceBeforeSingleLineComment)
21:47:10  221 | ERROR   | [x] Multiple empty lines should not exist in a row;
21:47:10      |         |     found 2 consecutive empty lines
21:47:10      |         |     (MediaWiki.WhiteSpace.MultipleEmptyLines.MultipleEmptyLines)
21:47:10 ----------------------------------------------------------------------
21:47:10 PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
21:47:10 ----------------------------------------------------------------------

Event Timeline

Change 466782 had a related patch set uploaded (by Reedy; owner: Reedy):
[mediawiki/core@REL1_27] Add LocalSettings.php to phpcs exclusions

https://gerrit.wikimedia.org/r/466782

Change 466782 merged by jenkins-bot:
[mediawiki/core@REL1_27] Add LocalSettings.php to phpcs exclusions

https://gerrit.wikimedia.org/r/466782

xSavitar assigned this task to Reedy.