Page MenuHomePhabricator

Use newInstance instead of newInstanceWithoutConstructor
AbandonedPublic

Authored by hach-que on Jan 20 2015, 11:38 PM.
Tags
None
Referenced Files
F17735199: D11451.diff
Jul 20 2025, 1:20 PM
Unknown Object (File)
May 19 2025, 1:36 PM
Unknown Object (File)
May 1 2025, 8:23 PM
Unknown Object (File)
Apr 30 2025, 10:14 AM
Unknown Object (File)
Apr 26 2025, 6:21 PM
Unknown Object (File)
Mar 26 2025, 11:23 AM
Unknown Object (File)
Mar 14 2025, 3:22 PM
Unknown Object (File)
Mar 9 2025, 4:32 AM
Subscribers

Details

Reviewers
epriestley
Group Reviewers
Blessed Reviewers
Summary

newInstanceWithoutConstructor is only supported on PHP 5.4.0 or higher. Changed to newInstance and all the tests pass on PHP 5.3.17.

Test Plan

Ran unit tests.

Diff Detail

Repository
rARC Arcanist
Branch
newInstancefix
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 3952
Build 3965: [Placeholder Plan] Wait for 30 Seconds

Event Timeline

hach-que retitled this revision from to Use newInstance instead of newInstanceWithoutConstructor.
hach-que updated this object.
hach-que edited the test plan for this revision. (Show Details)
hach-que added a reviewer: epriestley.