src/Compatibility/Executor.php
Method downloadPackage
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public function downloadPackage($downloader, $package, $source, $destDir, $errorHandler, &$patchData, &$errors)
Call to method install
from undeclared class \Composer\Installer\InstallationManager
Open
Open
return $installationManager->install($repository, $installOperation);
- Exclude checks
Call to method getInstaller
from undeclared class \Composer\Installer\InstallationManager
Open
Open
$installationManager->getInstaller($package->getType())
- Exclude checks
Reference to constant VERSION
from undeclared class \Composer\Composer
Open
Open
if (version_compare(\Composer\Composer::VERSION, '2.0', '<')) {
- Exclude checks
Reference to constant VERSION
from undeclared class \Composer\Composer
Open
Open
if (version_compare(\Composer\Composer::VERSION, '2.0', '<')) {
- Exclude checks
Reference to constant VERSION
from undeclared class \Composer\Composer
Open
Open
if (version_compare(\Composer\Composer::VERSION, '2.0', '<')) {
- Exclude checks
Parameter $installOperation
has undeclared type \Composer\DependencyResolver\Operation\InstallOperation
Open
Open
public function processReinstallOperation(
- Exclude checks
Call to method download
from undeclared class \Composer\Downloader\FileDownloader
Open
Open
$downloader->download($package, $destDir, false);
- Exclude checks
Parameter $uninstallOperation
has undeclared type \Composer\DependencyResolver\Operation\UninstallOperation
Open
Open
public function processReinstallOperation(
- Exclude checks
Parameter $composer
has undeclared type \Composer\Composer
Open
Open
public function waitDownloadCompletion(\Composer\Composer $composer)
- Exclude checks
Call to method getLoop
from undeclared class \Composer\Composer
Open
Open
$composer->getLoop()->getHttpDownloader()->wait();
- Exclude checks
Parameter $repository
has undeclared type \Composer\Repository\WritableRepositoryInterface
Open
Open
public function processReinstallOperation(
- Exclude checks
Call to method getPackage
from undeclared class \Composer\DependencyResolver\Operation\InstallOperation
Open
Open
$package = $installOperation->getPackage();
- Exclude checks
Call to method getLoop
from undeclared class \Composer\Composer
Open
Open
$composer->getLoop()->wait($processes);
- Exclude checks
Call to method uninstall
from undeclared class \Composer\Installer\InstallationManager
Open
Open
return $installationManager
- Exclude checks
Reference to constant VERSION
from undeclared class \Composer\Composer
Open
Open
if (version_compare(\Composer\Composer::VERSION, '2.0', '<')) {
- Exclude checks
Reference to constant VERSION
from undeclared class \Composer\Composer
Open
Open
if (version_compare(\Composer\Composer::VERSION, '2.0', '<')) {
- Exclude checks
Call to method install
from undeclared class \Composer\Installer\InstallationManager
Open
Open
$installationManager->install($repository, $installOperation);
- Exclude checks
Reference to constant VERSION
from undeclared class \Composer\Composer
Open
Open
if (version_compare(\Composer\Composer::VERSION, '2.0', '<')) {
- Exclude checks
Call to method download
from undeclared class \Composer\Downloader\FileDownloader
Open
Open
$resultPromise = $downloader->download($package, $destDir, null, false);
- Exclude checks
Parameter $composer
has undeclared type \Composer\Composer
Open
Open
public function waitForCompletion(\Composer\Composer $composer, array $processes)
- Exclude checks
Checking instanceof against undeclared class \Composer\Downloader\TransportException
Open
Open
if (!$exception instanceof \Composer\Downloader\TransportException) {
- Exclude checks
Parameter $installationManager
has undeclared type \Composer\Installer\InstallationManager
Open
Open
public function processReinstallOperation(
- Exclude checks