Success

User tests: Successful: Unsuccessful:

avatar mbabker
mbabker
24 Jun 2018

Summary of Changes

  • Migrates to PHPCS 2.x ruleset
  • Expands line length to 250 characters
  • Fixes most issues found by sniffer
  • Sets allowed fail count due to upstream bugs checking tab count in closures

Testing Instructions

PHPCS command still runs

avatar mbabker mbabker - open - 24 Jun 2018
avatar elkuku
elkuku - comment - 24 Jun 2018

TBH I am not quite sure about the added ALLOWED_FAIL_COUNT here since there are still fixable errors I believe, but we are getting closer to phpcs V3 ?

avatar mbabker
mbabker - comment - 24 Jun 2018

The bulk of the failures are related to joomla/coding-standards#230, the 7 from TotalActivity.php are because I still have commented code there. So, we can't completely fix them all unless we completely ignore the Joomla.ControlStructures.ControlStructuresBrackets.SpaceBeforeBrace sniff.

avatar elkuku elkuku - change - 24 Jun 2018
Status New Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2018-06-24 21:50:30
Closed_By elkuku
avatar elkuku elkuku - close - 24 Jun 2018
avatar elkuku elkuku - merge - 24 Jun 2018
avatar elkuku elkuku - reference | bc6a428 - 24 Jun 18
avatar elkuku elkuku - merge - 24 Jun 2018
avatar elkuku elkuku - close - 24 Jun 2018
avatar elkuku elkuku - head_ref_deleted - 24 Jun 2018
avatar elkuku
elkuku - comment - 24 Jun 2018

I guess the phpcs2-test branch can also be deleted?

avatar mbabker
mbabker - comment - 24 Jun 2018

Yep.

Add a Comment

Login with GitHub to post a comment