HomePhabricator

Use assert_instances_of(, 'array')
d4359a838addUnpublished

Unpublished Commit · Learn More

No further details are available.

Description

Use assert_instances_of(, 'array')

Summary: To have at least one real callsite.

Test Plan:

$message = new ArcanistLintMessage();
$message->setOtherLocations(array());
$message->setOtherLocations(array(array()));
$message->setOtherLocations(array(1));

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin

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

Details

Provenance
vranaAuthored on
Reviewer
epriestley
Differential Revision
Restricted Differential Revision
Parents
rARCe8decd20624e: Display other locations of lint errors in console renderer
Branches
Unknown
Tags
Unknown

Event Timeline