mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-25 16:22:42 +01:00
Add a call to assert_instances_of
Summary: This was taken from D13569. Test Plan: `arc lint` still works. Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: Korvin Differential Revision: https://secure.phabricator.com/D13943
This commit is contained in:
parent
f47d15387b
commit
e56f326cf7
1 changed files with 2 additions and 0 deletions
|
@ -471,6 +471,8 @@ abstract class ArcanistLintEngine extends Phobject {
|
|||
}
|
||||
|
||||
private function executeLinters(array $runnable) {
|
||||
assert_instances_of($runnable, 'ArcanistLinter');
|
||||
|
||||
$all_paths = $this->getPaths();
|
||||
$path_chunks = array_chunk($all_paths, 32, $preserve_keys = true);
|
||||
|
||||
|
|
Loading…
Reference in a new issue