1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2025-01-07 21:31:01 +01:00
phorge-arcanist/src/lint
Richard van Velzen 3ffed59bd7 Update xhpast linter rules for new function AST format
Summary: See D15678. A node containing a return type hint is added right before the statement body node. This updates all relevant linter rules to now retrieve the body from the correct index.

Test Plan: Ran `arc unit --everything`, inspected every single message to make sure all xhpast test cases succeeded. Also grepped for `getChildByIndex(5` and `getChildOfType(5`.

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: Korvin

Differential Revision: https://secure.phabricator.com/D15814
2016-04-29 14:38:10 +02:00
..
engine Improve validation of 'name' and 'code' parameters for lint messages 2015-09-25 11:16:04 -07:00
linter Update xhpast linter rules for new function AST format 2016-04-29 14:38:10 +02:00
renderer Fix checkstyle severities 2015-07-23 09:14:16 +10:00
ArcanistLintMessage.php Improve validation of 'name' and 'code' parameters for lint messages 2015-09-25 11:16:04 -07:00
ArcanistLintPatcher.php Extend from Phobject 2015-06-15 15:47:33 +10:00
ArcanistLintResult.php Extend from Phobject 2015-06-15 15:47:33 +10:00
ArcanistLintSeverity.php Extend from Phobject 2015-06-15 15:47:33 +10:00