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
Unknown Object (File)
Mon, Apr 28, 2:08 AM
Unknown Object (File)
Tue, Apr 22, 11:56 PM
Unknown Object (File)
Apr 14 2025, 1:29 AM
Unknown Object (File)
Apr 9 2025, 7:35 PM
Unknown Object (File)
Apr 7 2025, 7:34 PM
Unknown Object (File)
Apr 7 2025, 8:45 AM
Unknown Object (File)
Apr 6 2025, 12:26 PM
Unknown Object (File)
Apr 5 2025, 8:23 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.