mirror of
https://github.com/composer/composer
synced 2025-05-09 00:22:53 +00:00
CS fixes
This commit is contained in:
parent
d036b2390e
commit
ac497feaba
53 changed files with 166 additions and 156 deletions
|
@ -74,6 +74,7 @@ class PerforceDriverTest extends \PHPUnit_Framework_TestCase
|
|||
{
|
||||
$config = new Config();
|
||||
$config->merge(array('config'=>array('home'=>$testPath)));
|
||||
|
||||
return $config;
|
||||
}
|
||||
|
||||
|
@ -104,6 +105,7 @@ class PerforceDriverTest extends \PHPUnit_Framework_TestCase
|
|||
protected function getMockPerforce()
|
||||
{
|
||||
$methods = array('p4login', 'checkStream', 'writeP4ClientSpec', 'connectClient', 'getComposerInformation', 'cleanupClientSpec');
|
||||
|
||||
return $this->getMockBuilder('Composer\Util\Perforce', $methods)->disableOriginalConstructor()->getMock();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue