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)
Sat, Dec 21, 4:30 PM
Unknown Object (File)
Thu, Dec 12, 9:22 AM
Unknown Object (File)
Sun, Dec 8, 1:02 PM
Unknown Object (File)
Fri, Nov 29, 6:01 PM
Unknown Object (File)
Tue, Nov 26, 7:25 AM
Unknown Object (File)
Nov 22 2024, 6:48 PM
Unknown Object (File)
Nov 9 2024, 5:29 PM
Unknown Object (File)
Nov 9 2024, 2:06 PM
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.