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
F19515812: D11450.diff
Wed, Jan 14, 4:10 PM
F19318185: D11450.id27525.diff
Thu, Dec 25, 6:27 AM
F18804456: D11450.id27527.diff
Oct 18 2025, 8:31 AM
F18787702: D11450.id27525.diff
Oct 15 2025, 1:02 AM
F18757191: D11450.id.diff
Oct 5 2025, 4:02 PM
F18426824: D11450.id27527.diff
Aug 30 2025, 11:19 PM
F18426087: D11450.id27527.diff
Aug 30 2025, 10:29 PM
F18406358: D11450.diff
Aug 30 2025, 12:08 AM
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.