mirror of
https://github.com/composer/composer
synced 2025-05-09 00:22:53 +00:00
Remove use of deprecated getMock method
This commit is contained in:
parent
036fc44c25
commit
066351c5b9
42 changed files with 279 additions and 272 deletions
|
@ -91,12 +91,12 @@ class PerforceDriverTest extends TestCase
|
|||
|
||||
protected function getMockIOInterface()
|
||||
{
|
||||
return $this->getMock('Composer\IO\IOInterface');
|
||||
return $this->getMockBuilder('Composer\IO\IOInterface')->getMock();
|
||||
}
|
||||
|
||||
protected function getMockProcessExecutor()
|
||||
{
|
||||
return $this->getMock('Composer\Util\ProcessExecutor');
|
||||
return $this->getMockBuilder('Composer\Util\ProcessExecutor')->getMock();
|
||||
}
|
||||
|
||||
protected function getMockRemoteFilesystem()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue