mirror of
https://github.com/composer/composer
synced 2025-05-09 00:22:53 +00:00
Fixed PSR rules
This commit is contained in:
parent
330f56c0ec
commit
f4e9dd4fb8
22 changed files with 23 additions and 28 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue