Page MenuHomePhabricator

Further improvements to array comma linter rule
ClosedPublic

Authored by joshuaspence on Apr 6 2015, 9:56 PM.
Tags
None
Referenced Files
F18737834: D12308.id31149.diff
Wed, Oct 1, 12:54 PM
F18717371: D12308.id29565.diff
Mon, Sep 29, 1:51 PM
F18647591: D12308.id31149.diff
Fri, Sep 19, 1:44 PM
F18631246: D12308.diff
Tue, Sep 16, 2:49 PM
F18624253: D12308.id.diff
Mon, Sep 15, 7:24 PM
F18621607: D12308.id.diff
Mon, Sep 15, 8:56 AM
F18621325: D12308.id.diff
Mon, Sep 15, 7:47 AM
F18611189: D12308.diff
Sun, Sep 14, 6:21 AM
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.