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

       Web browser: ---
            Bug ID: 44742
           Summary: phpcs : conflicting Sniffs about spaces in typecasts
           Product: Wikimedia
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Testing Infrastructure
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected]
    Classification: Unclassified
   Mobile Platform: ---

We seems to still have two conflicting sniffs regarding the space after a
typecast.

https://integration.mediawiki.org/ci/job/mediawiki-core-phpcs-HEAD/1373/console

--------------------------------------------------------------------------------
FOUND 2 ERROR(S) AFFECTING 2 LINE(S)
--------------------------------------------------------------------------------
  33 | ERROR | String concat is not required here; use a single string instead
  37 | ERROR | String concat is not required here; use a single string instead
--------------------------------------------------------------------------------

https://integration.mediawiki.org/ci/job/mediawiki-core-phpcs-HEAD/1375/console

--------------------------------------------------------------------------------
 FOUND 2 ERROR(S) AFFECTING 1 LINE(S)
--------------------------------------------------------------------------------
  371 | ERROR | A cast statement must be followed by a single space
  371 | ERROR | A cast statement must be followed by a single space
--------------------------------------------------------------------------------

I have made phpcs to show the sniff code (-s option) with
https://gerrit.wikimedia.org/r/47847

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to