HomePhabricator

Add a rule to the XHPAST linter to check for whitespace before a semicolon.

Description

Add a rule to the XHPAST linter to check for whitespace before a semicolon.

Summary: This rule is based on a rule from PHP_CodeSniffer.

Test Plan: Wrote and executed unit tests.

Reviewers: Blessed Reviewers, epriestley

Reviewed By: Blessed Reviewers, epriestley

Subscribers: epriestley, Korvin

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

Details

Provenance
joshuaspenceAuthored on
epriestleyCommitted on May 19 2014, 2:48 PM
epriestleyPushed on May 19 2014, 2:49 PM
Reviewer
Blessed Reviewers
Differential Revision
D9195: Add a rule to the XHPAST linter to check for whitespace before a semicolon.
Parents
rARC566c7e9c5cf4: Add a rule to the XHPAST linter for detecting `elseif` usage.
Branches
Unknown
Tags
Unknown

Event Timeline