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, Nov 9, 5:29 PM
Unknown Object (File)
Sat, Nov 9, 2:06 PM
Unknown Object (File)
Wed, Oct 30, 6:42 AM
Unknown Object (File)
Wed, Oct 30, 4:27 AM
Unknown Object (File)
Oct 18 2024, 2:48 PM
Unknown Object (File)
Oct 17 2024, 7:46 AM
Unknown Object (File)
Oct 16 2024, 10:45 AM
Unknown Object (File)
Oct 11 2024, 10:12 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.