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)
Sat, Feb 8, 1:25 AM
Unknown Object (File)
Sat, Feb 8, 1:24 AM
Unknown Object (File)
Sat, Feb 8, 1:24 AM
Unknown Object (File)
Sat, Feb 8, 1:24 AM
Unknown Object (File)
Tue, Feb 4, 2:07 AM
Unknown Object (File)
Sun, Feb 2, 4:34 AM
Unknown Object (File)
Sat, Feb 1, 4:42 AM
Unknown Object (File)
Thu, Jan 23, 10:20 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
Branch
versioncompat
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 3951
Build 3964: [Placeholder Plan] Wait for 30 Seconds

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.