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)
Sat, Feb 15, 9:41 AM
Unknown Object (File)
Sat, Feb 15, 9:41 AM
Unknown Object (File)
Sat, Feb 15, 9:41 AM
Unknown Object (File)
Sat, Feb 15, 9:41 AM
Unknown Object (File)
Sun, Feb 9, 11:43 AM
Unknown Object (File)
Sun, Feb 2, 1:12 PM
Unknown Object (File)
Sun, Jan 26, 5:10 PM
Unknown Object (File)
Sun, Jan 26, 5:10 PM

Details

Summary

Explicitly specify the types of the function parameters.

Test Plan

arc unit

Diff Detail

Repository
rARC Arcanist
Branch
xhpast_linter
Lint
Lint Passed
Unit
Test Failures

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