HomePhabricator

Fix `LINT_ARRAY_SEPARATOR` for nested arrays

Description

Fix LINT_ARRAY_SEPARATOR for nested arrays

Summary: The LINT_ARRAY_SEPARATOR rule was added to ArcanistXHPASTLinter in D10535. Unfortunately, it does not correctly handle nested arrays correctly. This patch fixes this. Depends on D10554.

Test Plan: Added a test case.

Reviewers: epriestley, Blessed Reviewers

Reviewed By: epriestley, Blessed Reviewers

Subscribers: epriestley, Korvin

Differential Revision: https://secure.phabricator.com/D10558

Details

Provenance
joshuaspenceAuthored on
joshuaspencePushed on Sep 25 2014, 9:33 PM
Reviewer
Blessed Reviewers
Differential Revision
D10558: Fix `LINT_ARRAY_SEPARATOR` for nested arrays
Parents
rARCe6e317db27ce: Fix incorrect linter code being raised
Branches
Unknown
Tags
Unknown

Event Timeline