Page MenuHomePhabricator

Don't use newInstanceWithoutConstructor in Arcanist unit test
ClosedPublic

Authored by epriestley on Jan 20 2015, 11:37 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Apr 29, 2:10 PM
Unknown Object (File)
Wed, Apr 24, 10:14 PM
Unknown Object (File)
Thu, Apr 11, 7:32 AM
Unknown Object (File)
Sun, Apr 7, 8:11 AM
Unknown Object (File)
Mar 25 2024, 11:34 AM
Unknown Object (File)
Mar 19 2024, 11:23 PM
Unknown Object (File)
Feb 15 2024, 9:24 AM
Unknown Object (File)
Jan 26 2024, 6:02 PM
Subscribers

Details

Summary

This requires PHP 5.4. Use newv() instead. I don't think the "without constructor" part is meaningful (or desirable). Simplify slightly.

Test Plan

arc unit --everything

Diff Detail

Repository
rARC Arcanist
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Don't use newInstanceWithoutConstructor in Arcanist unit test.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added reviewers: hach-que, joshuaspence.
This revision is now accepted and ready to land.Jan 20 2015, 11:38 PM
This revision was automatically updated to reflect the committed changes.