HomePhabricator

Add a linter rule for uppercase constant definitions

Description

Add a linter rule for uppercase constant definitions

Summary: Ref T7409. Adds a linter rule to ensure that constant are defined as being uppercase. Based on Generic_Sniffs_NamingConventions_UpperCaseConstantNameSniff.

Test Plan: Added test cases.

Reviewers: Blessed Reviewers, epriestley

Reviewed By: Blessed Reviewers, epriestley

Subscribers: Korvin, epriestley

Maniphest Tasks: T7409

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

Details

Provenance
joshuaspenceAuthored on
joshuaspencePushed on Apr 12 2015, 9:38 PM
Reviewer
Blessed Reviewers
Differential Revision
D12366: Add a linter rule for uppercase constant definitions
Parents
rARCbf1b30ae2635: Trim trailing whitespace from diff hints
Branches
Unknown
Tags
Unknown
Tasks
T7409: Implement PHPCS lints