1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-10-25 01:58:49 +02:00
phorge-arcanist/src/lint
epriestley 465ad3fa44 Add a lint warning for implicit fallthrough in switch statements
Summary: If a case does not end with break, continue, throw, exit or return and does not have a "fallthrough" comment, raise a warning.

Test Plan: Ran test case; ran linter against all of Phabricator (no hits).

Reviewers: btrahan

Reviewed By: btrahan

CC: aran, epriestley

Differential Revision: https://secure.phabricator.com/D1824
2012-03-08 12:20:19 -08:00
..
engine Finalize Arcanist Classes 2012-01-31 12:07:05 -08:00
linter Add a lint warning for implicit fallthrough in switch statements 2012-03-08 12:20:19 -08:00
message Finalize Arcanist Classes 2012-01-31 12:07:05 -08:00
patcher Stop arc from destroying files under HPHPi. 2011-02-24 14:08:49 -08:00
renderer Use string operations, not idx(), for string indexing. 2012-02-29 08:39:25 -08:00
result Some documentation. 2011-02-19 11:36:08 -08:00
severity Finalize Arcanist Classes 2012-01-31 12:07:05 -08:00