mirror of
https://github.com/composer/composer
synced 2025-05-10 00:53:06 +00:00
Fix CS
This commit is contained in:
parent
810e8bed9f
commit
88ec172bd8
10 changed files with 18 additions and 21 deletions
|
@ -499,7 +499,7 @@ class ComposerRepository extends ArrayRepository implements ConfigurableReposito
|
|||
if (!empty($mirror['dist-url'])) {
|
||||
$this->distMirrors[] = array(
|
||||
'url' => $this->canonicalizeUrl($mirror['dist-url']),
|
||||
'preferred' => !empty($mirror['preferred'])
|
||||
'preferred' => !empty($mirror['preferred']),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -445,9 +445,9 @@ class GitLabDriver extends VcsDriver
|
|||
}
|
||||
|
||||
/**
|
||||
* @param array $configuredDomains
|
||||
* @param string $guessedDomain
|
||||
* @param array $urlParts
|
||||
* @param array $configuredDomains
|
||||
* @param string $guessedDomain
|
||||
* @param array $urlParts
|
||||
* @return bool|string
|
||||
*/
|
||||
private static function determineOrigin(array $configuredDomains, $guessedDomain, array &$urlParts)
|
||||
|
|
|
@ -16,7 +16,6 @@ use Composer\Config;
|
|||
use Composer\Util\ProcessExecutor;
|
||||
use Composer\Util\Filesystem;
|
||||
use Composer\IO\IOInterface;
|
||||
use Symfony\Component\Process\Process;
|
||||
|
||||
/**
|
||||
* @author Per Bernhardt <plb@webfactory.de>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue