Page MenuHomePhabricator

Use PHP type hinting in `ArcanistXHPASTLinter`.
ClosedPublic

Authored by joshuaspence on Mar 3 2014, 11:36 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 19, 4:18 PM
Unknown Object (File)
Sun, Nov 17, 12:19 AM
Unknown Object (File)
Mon, Nov 4, 6:42 PM
Unknown Object (File)
Thu, Oct 31, 8:54 PM
Unknown Object (File)
Fri, Oct 25, 1:55 PM
Unknown Object (File)
Oct 17 2024, 6:18 PM
Unknown Object (File)
Sep 21 2024, 8:01 AM
Unknown Object (File)
Sep 21 2024, 2:55 AM

Details

Summary

Explicitly specify the types of the function parameters.

Test Plan

arc unit

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

epriestley edited edge metadata.

This might have been partially motivated by some Facebook stuff at one point (they forked-but-not-really some pieces of XHPAST, see T635), but they've had something like ~2 years to clean things up and are still ~4 months behind HEAD.

This revision is now accepted and ready to land.Mar 4 2014, 7:02 PM