1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-10-24 17:48:50 +02:00
phorge-arcanist/src/lint/linter/xhpast
vrana bd71ba675e Implement hook for checking switch lint
Summary:
We want to use it for `yield` and `invariant_violation()` which throws.
Having node instead of token would be better but this would be enough.

Test Plan: Implemented a hook in FB repo and added a test case there.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin

Differential Revision: https://secure.phabricator.com/D4821
2013-02-05 11:46:59 -08:00
..
__tests__ Delete license headers from files 2012-11-05 11:16:24 -08:00
ArcanistXHPASTLintNamingHook.php Delete license headers from files 2012-11-05 11:16:24 -08:00
ArcanistXHPASTLintSwitchHook.php Implement hook for checking switch lint 2013-02-05 11:46:59 -08:00