mirror of
https://github.com/composer/composer
synced 2025-05-09 00:22:53 +00:00
CS fixes
This commit is contained in:
parent
751190aafd
commit
94926218e8
56 changed files with 94 additions and 123 deletions
|
@ -16,7 +16,6 @@ use Composer\TestCase;
|
|||
use Composer\IO\NullIO;
|
||||
use Composer\Config;
|
||||
use Composer\Package\BasePackage;
|
||||
use Composer\Util\Filesystem;
|
||||
|
||||
class ArtifactRepositoryTest extends TestCase
|
||||
{
|
||||
|
@ -67,7 +66,6 @@ class ArtifactRepositoryTest extends TestCase
|
|||
$this->assertTrue(strpos($package->getDistUrl(), $relativePath) === 0);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
//Files jsonInFirstLevel.zip, jsonInRoot.zip and jsonInSecondLevel.zip were generated with:
|
||||
|
|
|
@ -73,7 +73,7 @@ class PerforceDriverTest extends \PHPUnit_Framework_TestCase
|
|||
protected function getTestConfig($testPath)
|
||||
{
|
||||
$config = new Config();
|
||||
$config->merge(array('config'=>array('home'=>$testPath)));
|
||||
$config->merge(array('config' => array('home' => $testPath)));
|
||||
|
||||
return $config;
|
||||
}
|
||||
|
@ -173,5 +173,4 @@ class PerforceDriverTest extends \PHPUnit_Framework_TestCase
|
|||
$this->perforce->expects($this->once())->method('cleanupClientSpec');
|
||||
$this->driver->cleanup();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue