Page MenuHomePhabricator

Add a linter rule for uppercase constant definitions
ClosedPublic

Authored by joshuaspence on Apr 12 2015, 10:05 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Feb 13, 2:05 AM
Unknown Object (File)
Thu, Feb 13, 2:05 AM
Unknown Object (File)
Thu, Feb 13, 2:05 AM
Unknown Object (File)
Thu, Feb 13, 1:57 AM
Unknown Object (File)
Thu, Feb 13, 1:25 AM
Unknown Object (File)
Sat, Feb 8, 3:37 AM
Unknown Object (File)
Sat, Feb 8, 3:37 AM
Unknown Object (File)
Sat, Feb 8, 3:37 AM
Subscribers

Details

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.

Diff Detail

Repository
rARC Arcanist
Branch
master
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 5250
Build 5268: [Placeholder Plan] Wait for 30 Seconds

Event Timeline

joshuaspence retitled this revision from to Add a linter rule for uppercase constant definitions.
joshuaspence updated this object.
joshuaspence edited the test plan for this revision. (Show Details)
joshuaspence added a reviewer: epriestley.
epriestley edited edge metadata.
This revision is now accepted and ready to land.Apr 12 2015, 12:18 PM
joshuaspence edited edge metadata.

Change to LINT_NAMING_CONVENTIONS

This revision was automatically updated to reflect the committed changes.