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, Apr 25, 1:09 AM
Unknown Object (File)
Wed, Apr 17, 2:44 PM
Unknown Object (File)
Thu, Apr 4, 1:52 AM
Unknown Object (File)
Wed, Apr 3, 9:26 PM
Unknown Object (File)
Sun, Mar 31, 5:25 PM
Unknown Object (File)
Sat, Mar 30, 9:50 PM
Unknown Object (File)
Mar 23 2024, 10:08 PM
Unknown Object (File)
Mar 5 2024, 12:44 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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.