Home GnuPG

Add a `LINT_CONSTRUCTOR_PARENTHESES` rule to `ArcanistXHPASTLinter`
e54725ec8918Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Add a LINT_CONSTRUCTOR_PARENTHESES rule to ArcanistXHPASTLinter

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.

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: epriestley, Korvin

Differential Revision: https://secure.phabricator.com/D10597

Details

Provenance
Joshua Spence <josh@joshuaspence.com>Authored on Oct 7 2014, 2:59 PM
Parents
rARCb1112e73c463: Minor linter fixes
Branches
Unknown
Tags
Unknown

Event Timeline

Joshua Spence <josh@joshuaspence.com> committed rARCe54725ec8918: Add a `LINT_CONSTRUCTOR_PARENTHESES` rule to `ArcanistXHPASTLinter` (authored by Joshua Spence <josh@joshuaspence.com>).Oct 7 2014, 2:59 PM