1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2025-02-04 02:48:24 +01:00
phorge-arcanist/src/lint/linter/xhpast
Joshua Spence 504ff42681 Minor improvement for array value linter rule
Summary:
This linter rule fails on multi-line arrays with no whitespace before the first array value. Specifically, the following exception is thrown:

```
Fatal error: Call to a member function isAnyWhitespace() on boolean in arcanist/src/lint/linter/xhpast/rules/ArcanistArrayValueXHPASTLinterRule.php on line 40
```

Test Plan: Added another test case.

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: Korvin

Differential Revision: https://secure.phabricator.com/D13856
2015-08-11 07:55:11 +10:00
..
__tests__ Add some tests for subclasses 2015-06-15 20:01:30 +10:00
rules Minor improvement for array value linter rule 2015-08-11 07:55:11 +10:00
ArcanistXHPASTLinterRule.php Fix self member reference rule for PHP 5.3 2015-08-11 06:49: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