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
F19489967: D12366.id29694.diff
Thu, Jan 8, 6:12 AM
F19306681: D12366.id29712.diff
Wed, Dec 24, 6:01 PM
F18864950: D12366.id29694.diff
Nov 3 2025, 9:27 AM
F18803878: D12366.id.diff
Oct 18 2025, 4:26 AM
F18799171: D12366.diff
Oct 17 2025, 12:19 PM
F18787792: D12366.id29716.diff
Oct 15 2025, 1:34 AM
F18757236: D12366.diff
Oct 5 2025, 4:19 PM
F18685523: D12366.id29712.diff
Sep 26 2025, 11:13 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.