]> khamidou — GitHub mirrors - arcanist.git/commit
Add a linter rule for public properties
authorJoshua Spence <josh@freelancer.com>
Wed, 2 Dec 2015 22:48:35 +0000 (09:48 +1100)
committerJoshua Spence <josh@freelancer.com>
Wed, 2 Dec 2015 22:48:48 +0000 (09:48 +1100)
commitcdaad096fa8dec4049220f2c3d6f0da14200ab15
tree46307cafae061d2ba2188ec337c656e70fd05104
parent3c193984da6f415e406ce811c2ac1ff93d30a5e1
Add a linter rule for public properties

Summary: Add a linter rule which advises against public class properties.

Test Plan: Added unit tests.

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: Korvin

Differential Revision: https://secure.phabricator.com/D14641
src/__phutil_library_map__.php
src/lint/linter/xhpast/ArcanistXHPASTLinterRule.php
src/lint/linter/xhpast/rules/ArcanistPublicPropertyXHPASTLinterRule.php [new file with mode: 0644]
src/lint/linter/xhpast/rules/__tests__/ArcanistPublicPropertyXHPASTLinterRuleTestCase.php [new file with mode: 0644]
src/lint/linter/xhpast/rules/__tests__/public-property/class.lint-test [new file with mode: 0644]