From bc4a7834babbc5b827171c9e1ded9d1c82fc25c1 Mon Sep 17 00:00:00 2001 From: Helmut Januschka Date: Mon, 7 Aug 2017 21:56:02 +0200 Subject: [PATCH] php 5 being php5 :/ --- tests/Composer/Test/Repository/Vcs/GitLabDriverTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Composer/Test/Repository/Vcs/GitLabDriverTest.php b/tests/Composer/Test/Repository/Vcs/GitLabDriverTest.php index 08211d439..aeb885750 100644 --- a/tests/Composer/Test/Repository/Vcs/GitLabDriverTest.php +++ b/tests/Composer/Test/Repository/Vcs/GitLabDriverTest.php @@ -217,7 +217,7 @@ JSON; ->shouldBeCalledTimes(1) ; $this->remoteFilesystem->getLastHeaders() - ->willReturn([]); + ->willReturn(array()); $driver->setRemoteFilesystem($this->remoteFilesystem->reveal()); @@ -268,7 +268,7 @@ JSON; ; $this->remoteFilesystem->getLastHeaders() - ->willReturn(['Link: ; rel="next", ; rel="first", ; rel="last"'], ['Link: ; rel="prev", ; rel="first", ; rel="last"']) + ->willReturn(array('Link: ; rel="next", ; rel="first", ; rel="last"'), array('Link: ; rel="prev", ; rel="first", ; rel="last"')) ->shouldBeCalledTimes(2); $driver->setRemoteFilesystem($this->remoteFilesystem->reveal());