Page MenuHomePhabricator

Fix `LINT_ARRAY_SEPARATOR` for heredocs
ClosedPublic

Authored by joshuaspence on Sep 25 2014, 10:33 PM.
Tags
None
Referenced Files
Unknown Object (File)
Jun 18 2025, 10:10 PM
Unknown Object (File)
May 10 2025, 7:58 AM
Unknown Object (File)
May 8 2025, 1:49 AM
Unknown Object (File)
May 7 2025, 10:11 AM
Unknown Object (File)
Apr 26 2025, 4:24 AM
Unknown Object (File)
Apr 25 2025, 11:19 AM
Unknown Object (File)
Apr 25 2025, 11:19 AM
Unknown Object (File)
Apr 15 2025, 4:53 PM
Subscribers

Details

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.

Diff Detail

Repository
rARC Arcanist
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

joshuaspence retitled this revision from to Fix `LINT_ARRAY_SEPARATOR` for heredocs.
joshuaspence updated this object.
joshuaspence edited the test plan for this revision. (Show Details)
joshuaspence added a reviewer: epriestley.
epriestley edited edge metadata.
This revision is now accepted and ready to land.Sep 25 2014, 10:33 PM
This revision was automatically updated to reflect the committed changes.