Page MenuHomePhabricator

Add a `LINT_CONSTRUCTOR_PARENTHESES` rule to `ArcanistXHPASTLinter`
ClosedPublic

Authored by joshuaspence on Sep 28 2014, 12:44 PM.
Tags
None
Referenced Files
F14045281: D10597.diff
Wed, Nov 13, 2:34 AM
F14042594: D10597.diff
Tue, Nov 12, 4:38 AM
F14040389: D10597.diff
Mon, Nov 11, 9:46 AM
F14029818: D10597.id25574.diff
Fri, Nov 8, 9:36 PM
F14015481: D10597.diff
Sun, Nov 3, 7:33 PM
F14003614: D10597.diff
Sat, Oct 26, 8:23 AM
F13974813: D10597.diff
Fri, Oct 18, 7:29 AM
F13971556: D10597.id.diff
Thu, Oct 17, 1:57 PM
Subscribers

Details

Summary

Adds an ArcanistXHPASTLinter::LINT_CONSTRUCTOR_PARENTHESES rule which ensures that (possibly empty) parentheses are used when calling a constructor.

Test Plan

Added test cases.

Diff Detail

Repository
rARC Arcanist
Branch
master
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 2686
Build 2690: [Placeholder Plan] Wait for 30 Seconds

Event Timeline

joshuaspence retitled this revision from to Add a `LINT_CONSTRUCTOR_PARENTHESES` rule to `ArcanistXHPASTLinter`.
joshuaspence updated this object.
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.Sep 28 2014, 12:53 PM
This revision was automatically updated to reflect the committed changes.