HomePhabricator

Add a linter rule for unnecessary symbol aliases

Description

Add a linter rule for unnecessary symbol aliases

Summary: Add a linter rule to detect symbols which are aliased with the same name, such as use X\Y\Z as Z. This is unnecessary and is more-simply expressed as use X\Y\Z.

Test Plan: Added unit tests.

Reviewers: Blessed Reviewers, epriestley

Reviewed By: Blessed Reviewers, epriestley

Subscribers: Korvin

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

Details

Provenance
joshuaspenceAuthored on
joshuaspencePushed on Nov 23 2015, 9:25 PM
Reviewer
Blessed Reviewers
Differential Revision
D14557: Add a linter rule for unnecessary symbol aliases
Parents
rARC3b41e62f8700: Use Remarkup in linter messages
Branches
Unknown
Tags
Unknown
Build Status
Buildable 9030
Build 10614: Run Core Tests