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
F15547227: D11450.diff
Sat, Apr 26, 6:21 PM
F15505476: D11450.id27525.diff
Tue, Apr 15, 3:17 AM
F15473516: D11450.id27527.diff
Sat, Apr 5, 10:57 PM
F15465364: D11450.id27525.diff
Wed, Apr 2, 5:50 PM
F15426236: D11450.id27527.diff
Mar 23 2025, 7:49 AM
F15425421: D11450.diff
Mar 23 2025, 4:39 AM
Unknown Object (File)
Feb 18 2025, 12:53 PM
Unknown Object (File)
Feb 16 2025, 9:52 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.