Page MenuHomePhabricator

Further improvements to array comma linter rule
ClosedPublic

Authored by joshuaspence on Apr 6 2015, 9:56 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Mar 13, 12:13 AM
Unknown Object (File)
Thu, Feb 29, 9:41 PM
Unknown Object (File)
Feb 26 2024, 5:55 AM
Unknown Object (File)
Feb 14 2024, 10:13 PM
Unknown Object (File)
Feb 10 2024, 3:41 PM
Unknown Object (File)
Jan 7 2024, 12:01 AM
Unknown Object (File)
Jan 4 2024, 4:53 PM
Unknown Object (File)
Jan 1 2024, 9:07 PM
Subscribers

Details

Summary

Improve the ArcanistXHPASTLinter::LINT_ARRAY_SEPARATOR rule to be able to autofix the following code:

array(
  1,
  2,
  3, /* comment */ );
Test Plan

Added unit tests.

Diff Detail

Repository
rARC Arcanist
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

joshuaspence retitled this revision from to Further improvements to array comma linter rule.
joshuaspence updated this object.
joshuaspence edited the test plan for this revision. (Show Details)
joshuaspence edited the test plan for this revision. (Show Details)
joshuaspence added a reviewer: epriestley.
epriestley edited edge metadata.
This revision is now accepted and ready to land.May 19 2015, 3:14 PM
This revision was automatically updated to reflect the committed changes.