mirror of
https://github.com/composer/composer
synced 2025-05-10 09:02:59 +00:00
Merge branch '2.0'
This commit is contained in:
commit
a4eb2d4096
4 changed files with 87 additions and 72 deletions
|
@ -35,7 +35,7 @@ use Composer\Semver\Constraint\ConstraintInterface;
|
|||
use Composer\Semver\Constraint\Constraint;
|
||||
use Composer\Semver\Constraint\MatchAllConstraint;
|
||||
use Composer\Util\Http\Response;
|
||||
use Composer\Util\MetadataMinifier;
|
||||
use Composer\MetadataMinifier\MetadataMinifier;
|
||||
use Composer\Util\Url;
|
||||
|
||||
/**
|
||||
|
@ -510,7 +510,7 @@ class ComposerRepository extends ArrayRepository implements ConfigurableReposito
|
|||
return array();
|
||||
}
|
||||
|
||||
private function configurePackageTransportOptions(PackageInterface $package)
|
||||
protected function configurePackageTransportOptions(PackageInterface $package)
|
||||
{
|
||||
foreach ($package->getDistUrls() as $url) {
|
||||
if (strpos($url, $this->baseUrl) === 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue