1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2025-01-08 13:51:01 +01:00
phorge-arcanist/src/lint
Joshua Spence f4c322cb72 Add a linter rule for list assignments
Summary: Add a linter rule to prevent trailing commas in a list assignment. `list($x, $y,)` is equivalent to `list($x, $y)`, but the latter is cleaner and should be preferred.

Test Plan: Added test cases.

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: Korvin

Differential Revision: https://secure.phabricator.com/D13870
2015-08-12 13:22:37 +10:00
..
engine Use PhutilClassMapQuery instead of PhutilSymbolLoader 2015-08-11 06:50:47 +10:00
linter Add a linter rule for list assignments 2015-08-12 13:22:37 +10:00
renderer Fix checkstyle severities 2015-07-23 09:14:16 +10:00
ArcanistLintMessage.php Also coerce "char" for lint messages 2015-07-28 16:31:03 -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