Adds an ArcanistXHPASTLinter::LINT_CONSTRUCTOR_PARENTHESES rule which ensures that (possibly empty) parentheses are used when calling a constructor.
Details
Details
- Reviewers
epriestley - Group Reviewers
Blessed Reviewers - Commits
- rARCe54725ec8918: Add a `LINT_CONSTRUCTOR_PARENTHESES` rule to `ArcanistXHPASTLinter`
Added test cases.
Diff Detail
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