HomePhabricator

Minor improvement to self member reference linter rule

Description

Minor improvement to self member reference linter rule

Summary: Ref T7409. If :: is surrounded by whitespace tokens and the whitespace token contains a newline character, allow it.

Test Plan: Added test case.

Reviewers: Blessed Reviewers, epriestley

Reviewed By: Blessed Reviewers, epriestley

Subscribers: Korvin, epriestley

Maniphest Tasks: T7409

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

Details

Provenance
joshuaspenceAuthored on
joshuaspencePushed on Apr 13 2015, 8:32 PM
Reviewer
Blessed Reviewers
Differential Revision
D12391: Minor improvement to self member reference linter rule
Parents
rARCe233b158f2e1: Add a linter rule for declaring nested functions
Branches
Unknown
Tags
Unknown
Tasks
T7409: Implement PHPCS lints