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
F18185032: D12366.id29712.diff
Sat, Aug 16, 2:54 PM
F18099039: D12366.id29716.diff
Sat, Aug 9, 12:53 AM
F18065034: D12366.id29694.diff
Mon, Aug 4, 1:59 PM
F18054577: D12366.id.diff
Mon, Aug 4, 6:22 AM
F18050670: D12366.diff
Sun, Aug 3, 8:39 PM
Unknown Object (File)
Jul 3 2025, 10:26 AM
Unknown Object (File)
May 7 2025, 10:13 PM
Unknown Object (File)
May 7 2025, 6:12 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 5265
Build 5283: [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.