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)
Thu, Apr 25, 12:06 AM
Unknown Object (File)
Thu, Apr 11, 8:23 AM
Unknown Object (File)
Thu, Apr 4, 6:00 AM
Unknown Object (File)
Sun, Mar 31, 7:52 PM
Unknown Object (File)
Mar 11 2024, 4:06 PM
Unknown Object (File)
Mar 11 2024, 4:05 PM
Unknown Object (File)
Feb 25 2024, 7:23 AM
Unknown Object (File)
Feb 16 2024, 10:39 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.