1
0
Fork 0

Remove useless parentheses

pull/7629/head
Gabriel Caruso 2018-09-07 22:29:49 -03:00 committed by Jordi Boggiano
parent 490f3ccd95
commit a17f051e29
2 changed files with 3 additions and 3 deletions

View File

@ -231,7 +231,7 @@ class FileDownloaderTest extends TestCase
->will($this->returnValue(array($distUrl))); ->will($this->returnValue(array($distUrl)));
$ioMock = $this->getMock('Composer\IO\IOInterface'); $ioMock = $this->getMock('Composer\IO\IOInterface');
$ioMock->expects(($this->at(0))) $ioMock->expects($this->at(0))
->method('writeError') ->method('writeError')
->with($this->stringContains('Downgrading')); ->with($this->stringContains('Downgrading'));

View File

@ -638,7 +638,7 @@ composer https://github.com/old/url (push)
->will($this->returnValue(0)); ->will($this->returnValue(0));
$ioMock = $this->getMock('Composer\IO\IOInterface'); $ioMock = $this->getMock('Composer\IO\IOInterface');
$ioMock->expects(($this->at(0))) $ioMock->expects($this->at(0))
->method('writeError') ->method('writeError')
->with($this->stringContains('Downgrading')); ->with($this->stringContains('Downgrading'));
@ -677,7 +677,7 @@ composer https://github.com/old/url (push)
->will($this->returnValue(0)); ->will($this->returnValue(0));
$ioMock = $this->getMock('Composer\IO\IOInterface'); $ioMock = $this->getMock('Composer\IO\IOInterface');
$ioMock->expects(($this->at(0))) $ioMock->expects($this->at(0))
->method('writeError') ->method('writeError')
->with($this->stringContains('updating')); ->with($this->stringContains('updating'));