HomePhabricator

Fix `LINT_ARRAY_SEPARATOR` for heredocs

Description

Fix LINT_ARRAY_SEPARATOR for heredocs

Summary: It is not correct to add a trailing comma if the n_ARRAY_VALUE node is a heredoc string.

Test Plan: Added a test case.

Reviewers: epriestley, Blessed Reviewers

Reviewed By: epriestley, Blessed Reviewers

Subscribers: epriestley, Korvin

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

Details

Provenance
joshuaspenceAuthored on
joshuaspencePushed on Sep 25 2014, 10:36 PM
Reviewer
Blessed Reviewers
Differential Revision
D10569: Fix `LINT_ARRAY_SEPARATOR` for heredocs
Parents
rARCcb2007825048: Fix `LINT_ARRAY_SEPARATOR` for nested arrays
Branches
Unknown
Tags
Unknown

Event Timeline