HomePhabricator

Don't use newInstanceWithoutConstructor in Arcanist unit test

Description

Don't use newInstanceWithoutConstructor in Arcanist unit test

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

Reviewers: hach-que, joshuaspence

Reviewed By: joshuaspence

Subscribers: epriestley

Differential Revision: https://secure.phabricator.com/D11450

Details

Provenance
epriestleyAuthored on
epriestleyPushed on Jan 20 2015, 11:39 PM
Reviewer
joshuaspence
Differential Revision
D11450: Don't use newInstanceWithoutConstructor in Arcanist unit test
Parents
rARC8173ea3eea73: Fix visibility of the `ArcanistPhpcsLinter::getMandatoryFlags` method
Branches
Unknown
Tags
Unknown