1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-09 00:22:53 +00:00

Fixed PSR rules

This commit is contained in:
Grégoire Pineau 2012-06-14 12:10:01 +02:00
parent 330f56c0ec
commit f4e9dd4fb8
22 changed files with 23 additions and 28 deletions

View file

@ -12,7 +12,6 @@
namespace Composer\Repository;
use Composer\Repository\FilesystemRepository;
use Composer\Test\TestCase;
/**
@ -33,7 +32,7 @@ class PearRepositoryTest extends TestCase
/**
* @dataProvider repositoryDataProvider
* @param string $url
* @param array $expectedPackages
* @param array $expectedPackages
*/
public function testRepositoryRead($url, array $expectedPackages)
{
@ -126,4 +125,4 @@ class PearRepositoryTest extends TestCase
$this->repository = null;
$this->remoteFilesystem = null;
}
}
}

View file

@ -13,7 +13,6 @@
namespace Composer\Test\Repository\Vcs;
use Composer\Repository\Vcs\SvnDriver;
use Composer\IO\NullIO;
use Composer\Config;
class SvnDriverTest extends \PHPUnit_Framework_TestCase

View file

@ -15,7 +15,6 @@ namespace Composer\Test\Repository;
use Symfony\Component\Process\ExecutableFinder;
use Composer\Package\Dumper\ArrayDumper;
use Composer\Repository\VcsRepository;
use Composer\Repository\Vcs\GitDriver;
use Composer\Util\Filesystem;
use Composer\Util\ProcessExecutor;
use Composer\IO\NullIO;
@ -37,10 +36,12 @@ class VcsRepositoryTest extends \PHPUnit_Framework_TestCase
$locator = new ExecutableFinder();
if (!$locator->find('git')) {
$this->skipped = 'This test needs a git binary in the PATH to be able to run';
return;
}
if (!mkdir(self::$gitRepo) || !chdir(self::$gitRepo)) {
$this->skipped = 'Could not create and move into the temp git repo '.self::$gitRepo;
return;
}