1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2025-02-13 23:38:33 +01:00
phorge-arcanist/src/lint/linter/xhpast
Joshua Spence fe8ed2a6f8 Add a linter rule for the use of parse_str
Summary: The use of the [[http://php.net/manual/en/function.parse-str.php | parse_str]] method (when called without sepcifying a second parameter) hinders static analysis. Specifically, the `parse_str('...')` behaves similarly to [[http://php.net/manual/en/function.extract.php | extract]].

Test Plan: Added unit tests.

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: Korvin

Differential Revision: https://secure.phabricator.com/D13857
2015-08-14 07:45:27 +10:00
..
__tests__ Add some tests for subclasses 2015-06-15 20:01:30 +10:00
rules Add a linter rule for the use of parse_str 2015-08-14 07:45:27 +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