1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2025-01-10 14:51:05 +01:00
phorge-arcanist/src/lint/linter/xhpast
Joshua Spence 6fa2de5ff8 Add a linter rule for detecting empty files
Summary: Adds two different linter rules (one general purpose and another PHP specific) to prevent empty files from being added to a repository. For some unknown reason, people seem to like to do this.

Test Plan: Added test cases.

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: avivey, cburroughs, Korvin

Differential Revision: https://secure.phabricator.com/D13881
2015-09-01 19:30:55 +10:00
..
__tests__ Add some tests for subclasses 2015-06-15 20:01:30 +10:00
rules Add a linter rule for detecting empty files 2015-09-01 19:30:55 +10:00
ArcanistXHPASTLinterRule.php Add a linter rule for detecting empty files 2015-09-01 19:30:55 +10:00
ArcanistXHPASTLintNamingHook.php Extend from Phobject 2015-06-15 15:47:33 +10:00
ArcanistXHPASTLintSwitchHook.php Extend from Phobject 2015-06-15 15:47:33 +10:00