Page MenuHomePhabricator

Add a linter rule for lowercase function names
ClosedPublic

Authored by joshuaspence on Apr 12 2015, 9:20 PM.
Tags
None
Referenced Files
F19304102: D12377.diff
Wed, Dec 24, 7:12 AM
F19205478: D12377.diff
Tue, Dec 16, 8:04 PM
F18778012: D12377.id29709.diff
Oct 11 2025, 7:16 AM
F18735276: D12377.id30021.diff
Oct 1 2025, 12:38 AM
F18593844: D12377.diff
Sep 12 2025, 4:10 PM
F18591054: D12377.diff
Sep 12 2025, 8:06 AM
F18577757: D12377.id30021.diff
Sep 10 2025, 7:50 PM
F18575052: D12377.id.diff
Sep 10 2025, 12:13 PM
Subscribers

Details

Summary

Ref T7409. Adds ArcanistXHPASTLinter::LINT_LOWERCASE_FUNCTIONS to ensure that builtin PHP functions are lowercased. Based on Squiz_Sniffs_PHP_LowercasePHPFunctionsSniff.

Test Plan

Added unit tests.

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 lowercase function names.
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, 9:20 PM
This revision was automatically updated to reflect the committed changes.