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)
May 28 2026, 4:28 PM
Unknown Object (File)
Apr 16 2026, 9:23 PM
Unknown Object (File)
Feb 9 2026, 2:05 PM
Unknown Object (File)
Nov 25 2025, 8:30 AM
Unknown Object (File)
Oct 24 2025, 5:05 PM
Unknown Object (File)
Oct 21 2025, 3:01 PM
Unknown Object (File)
May 6 2025, 9:27 AM
Unknown Object (File)
May 6 2025, 9:26 AM

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