HomePhabricator

Add support for nullable parameter types

Description

Add support for nullable parameter types

Summary: Ref T4334. Adds support for nullable parameter types, which are a thing as of PHP 7.1.

Test Plan: Added unit tests.

Reviewers: epriestley, Blessed Reviewers

Reviewed By: epriestley, Blessed Reviewers

Subscribers: Korvin, wjiang, thaiphv, Firehed

Maniphest Tasks: T4334

Differential Revision: https://secure.phabricator.com/D18770

Details

Provenance
joshuaspenceAuthored on Nov 24 2017, 3:28 AM
joshuaspencePushed on Nov 26 2017, 10:42 PM
Reviewer
Blessed Reviewers
Differential Revision
D18770: Add support for nullable parameter types
Parents
rPHUae80e72461d2: Fix node for nullable return value
Branches
Unknown
Tags
Unknown
Tasks
T4334: Support PHP5.4+ syntax in XHPAST
Build Status
Buildable 18856
Build 25418: Run Core Tests