Page MenuHomePhabricator

Set a property so that unit tests run on PHP7
ClosedPublic

Authored by Mnkras on Oct 26 2015, 7:34 PM.
Tags
None
Referenced Files
F19827581: D14345.diff
Mon, Mar 9, 10:30 AM
F19673178: D14345.id.diff
Sun, Feb 8, 5:08 AM
F19579432: D14345.id.diff
Feb 1 2026, 2:40 PM
F19574610: D14345.diff
Feb 1 2026, 6:40 AM
F19565943: D14345.diff
Jan 31 2026, 7:27 PM
F19554118: D14345.diff
Jan 29 2026, 5:39 PM
F19261064: D14345.id34618.diff
Dec 22 2025, 5:06 PM
F18960405: D14345.diff
Nov 13 2025, 11:41 AM
Subscribers

Details

Summary

Without this change PHP throws because idx() is passed null as the property is not intialzied

Test Plan

arc unit --everything

Diff Detail

Repository
rP Phabricator
Branch
php7-unit
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 8427
Build 9686: arc lint + arc unit

Event Timeline

Mnkras retitled this revision from to Set a property so that unit tests run on PHP7.
Mnkras updated this object.
Mnkras edited the test plan for this revision. (Show Details)
epriestley added a reviewer: epriestley.

If you hold this for a bit you can try "Land Revision".

This revision is now accepted and ready to land.Oct 26 2015, 7:38 PM
This revision was automatically updated to reflect the committed changes.