HomePhabricator

Fix the `ArcanistXHPASTLinter` single quote rule.

Description

Fix the ArcanistXHPASTLinter single quote rule.

Summary: Previously, the ArcanistXHPASTLinter was suggesting that "\1" be written as '\1', which is incorrect. Therefore, I ensured that all of the cases listed in the PHP documentation were handled correctly.

Test Plan: arc unit

Reviewers: epriestley, Blessed Reviewers

Reviewed By: epriestley, Blessed Reviewers

Subscribers: epriestley, Korvin

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

Details

Provenance
joshuaspenceAuthored on
epriestleyCommitted on May 18 2014, 1:47 PM
epriestleyPushed on May 18 2014, 1:47 PM
Reviewer
Blessed Reviewers
Differential Revision
D9182: Fix the `ArcanistXHPASTLinter` single quote rule.
Parents
rARCb21a420071e9: Update `ArcanistCoffeeLintLinter` to be compatible with CoffeeLint v1.4.0.
Branches
Unknown
Tags
Unknown

Event Timeline