https://bugzilla.wikimedia.org/show_bug.cgi?id=55623

       Web browser: ---
            Bug ID: 55623
           Summary: Bogus phpcs failure in VisualEditor
           Product: Wikimedia
           Version: wmf-deployment
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Continuous integration
          Assignee: wikibugs-l@lists.wikimedia.org
          Reporter: roan.katt...@gmail.com
                CC: has...@free.fr, innocentkil...@gmail.com,
                    krinklem...@gmail.com
    Classification: Unclassified
   Mobile Platform: ---

https://integration.wikimedia.org/ci/job/mwext-VisualEditor-phpcs-HEAD/1561/console
is a bogus failure. The error messages are:

14:41:05 FILE:
...orkspace/mwext-VisualEditor-phpcs-HEAD/maintenance/makeStaticLoader.php
14:41:05
--------------------------------------------------------------------------------
14:41:05 FOUND 2 ERROR(S) AFFECTING 2 LINE(S)
14:41:05
--------------------------------------------------------------------------------
14:41:05  78 | ERROR | Expected 1 space before "?"; 3 found
14:41:05     |       | (Squiz.WhiteSpace.OperatorSpacing.SpacingBefore)
14:41:05  80 | ERROR | Expected 1 space before ":"; 3 found
14:41:05     |       | (Squiz.WhiteSpace.OperatorSpacing.SpacingBefore)
14:41:05
--------------------------------------------------------------------------------

The source code doesn't have 3 spaces before the ?, only a bunch of tabs), but
it does have a comment on the preceding line each time. Maybe that's what's
confusing phpcs?

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to