From a17f051e2906de312a30165f5295e1dc334e4d7c Mon Sep 17 00:00:00 2001 From: Gabriel Caruso Date: Fri, 7 Sep 2018 22:29:49 -0300 Subject: [PATCH] Remove useless parentheses --- tests/Composer/Test/Downloader/FileDownloaderTest.php | 2 +- tests/Composer/Test/Downloader/GitDownloaderTest.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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'));