commit
d2e1fb0a6f
|
@ -499,7 +499,7 @@ class ComposerRepository extends ArrayRepository implements ConfigurableReposito
|
||||||
if (!empty($mirror['dist-url'])) {
|
if (!empty($mirror['dist-url'])) {
|
||||||
$this->distMirrors[] = array(
|
$this->distMirrors[] = array(
|
||||||
'url' => $this->canonicalizeUrl($mirror['dist-url']),
|
'url' => $this->canonicalizeUrl($mirror['dist-url']),
|
||||||
'preferred' => !empty($mirror['preferred'])
|
'preferred' => !empty($mirror['preferred']),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,7 +16,6 @@ use Composer\Config;
|
||||||
use Composer\Util\ProcessExecutor;
|
use Composer\Util\ProcessExecutor;
|
||||||
use Composer\Util\Filesystem;
|
use Composer\Util\Filesystem;
|
||||||
use Composer\IO\IOInterface;
|
use Composer\IO\IOInterface;
|
||||||
use Symfony\Component\Process\Process;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Per Bernhardt <plb@webfactory.de>
|
* @author Per Bernhardt <plb@webfactory.de>
|
||||||
|
|
|
@ -32,7 +32,6 @@ class ZipDownloaderTest extends TestCase
|
||||||
$this->config = $this->getMock('Composer\Config');
|
$this->config = $this->getMock('Composer\Config');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public function tearDown()
|
public function tearDown()
|
||||||
{
|
{
|
||||||
$fs = new Filesystem;
|
$fs = new Filesystem;
|
||||||
|
|
|
@ -401,7 +401,7 @@ JSON;
|
||||||
$options = array(
|
$options = array(
|
||||||
'ssl' => array(
|
'ssl' => array(
|
||||||
'verify_peer' => false,
|
'verify_peer' => false,
|
||||||
)
|
),
|
||||||
);
|
);
|
||||||
$projectData = <<<JSON
|
$projectData = <<<JSON
|
||||||
{
|
{
|
||||||
|
|
|
@ -13,7 +13,6 @@
|
||||||
namespace Composer\Test\Util;
|
namespace Composer\Test\Util;
|
||||||
|
|
||||||
use Composer\Util\Perforce;
|
use Composer\Util\Perforce;
|
||||||
use Composer\Util\ProcessExecutor;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Matt Whittom <Matt.Whittom@veteransunited.com>
|
* @author Matt Whittom <Matt.Whittom@veteransunited.com>
|
||||||
|
|
Loading…
Reference in New Issue