diff --git a/tests/Composer/Test/Downloader/FileDownloaderTest.php b/tests/Composer/Test/Downloader/FileDownloaderTest.php index d186e982e..d4f6b7ad7 100644 --- a/tests/Composer/Test/Downloader/FileDownloaderTest.php +++ b/tests/Composer/Test/Downloader/FileDownloaderTest.php @@ -231,7 +231,7 @@ class FileDownloaderTest extends TestCase ->will($this->returnValue(array($distUrl))); $ioMock = $this->getMock('Composer\IO\IOInterface'); - $ioMock->expects(($this->at(0))) + $ioMock->expects($this->at(0)) ->method('writeError') ->with($this->stringContains('Downgrading')); diff --git a/tests/Composer/Test/Downloader/GitDownloaderTest.php b/tests/Composer/Test/Downloader/GitDownloaderTest.php index f487a5e28..ff1c5c201 100644 --- a/tests/Composer/Test/Downloader/GitDownloaderTest.php +++ b/tests/Composer/Test/Downloader/GitDownloaderTest.php @@ -638,7 +638,7 @@ composer https://github.com/old/url (push) ->will($this->returnValue(0)); $ioMock = $this->getMock('Composer\IO\IOInterface'); - $ioMock->expects(($this->at(0))) + $ioMock->expects($this->at(0)) ->method('writeError') ->with($this->stringContains('Downgrading')); @@ -677,7 +677,7 @@ composer https://github.com/old/url (push) ->will($this->returnValue(0)); $ioMock = $this->getMock('Composer\IO\IOInterface'); - $ioMock->expects(($this->at(0))) + $ioMock->expects($this->at(0)) ->method('writeError') ->with($this->stringContains('updating'));