Method create
has 60 lines of code (exceeds 25 allowed). Consider refactoring. Open
public function create(PluginConfig $pluginConfig, ListResolver $listResolver, OutputStrategy $outputStrategy)
{
$installer = $this->composer->getInstallationManager();
$downloader = $this->composer->getDownloadManager();
Missing class import via use statement (line '63', column '33'). Open
$patchFileApplier = new \Vaimo\ComposerPatches\Patch\File\Applier(
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Missing class import via use statement (line '102', column '34'). Open
$repositoryManager = new \Vaimo\ComposerPatches\Managers\RepositoryManager(
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Missing class import via use statement (line '96', column '36'). Open
$patcherStateManager = new \Vaimo\ComposerPatches\Managers\PatcherStateManager();
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Missing class import via use statement (line '54', column '36'). Open
$packageInfoResolver = new \Vaimo\ComposerPatches\Package\InfoResolver(
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Missing class import via use statement (line '85', column '33'). Open
$packageCollector = new \Vaimo\ComposerPatches\Package\Collector(
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Missing class import via use statement (line '108', column '20'). Open
return new \Vaimo\ComposerPatches\Repository\PatchesApplier(
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Missing class import via use statement (line '91', column '31'). Open
$queueGenerator = new \Vaimo\ComposerPatches\Repository\PatchesApplier\QueueGenerator(
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Missing class import via use statement (line '68', column '35'). Open
$patchDetailsLogger = new \Vaimo\ComposerPatches\Package\PatchApplier\InfoLogger($this->logger);
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Missing class import via use statement (line '89', column '30'). Open
$stateAnalyser = new \Vaimo\ComposerPatches\Repository\State\Analyser();
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Missing class import via use statement (line '105', column '17'). Open
new \Vaimo\ComposerPatches\Console\Silencer($output)
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Missing class import via use statement (line '70', column '31'). Open
$patchProcessor = new \Vaimo\ComposerPatches\Package\PatchApplier\ItemProcessor(
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Missing class import via use statement (line '78', column '36'). Open
$packagePatchApplier = new \Vaimo\ComposerPatches\Package\PatchApplier(
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Call to method getPackage
from undeclared class \Composer\Composer
Open
$rootPackage = $this->composer->getPackage();
- Exclude checks
Parameter $composer
has undeclared type \Composer\Composer
Open
public function __construct(
- Exclude checks
Call to method getConfig
from undeclared class \Composer\Composer
Open
$composerConfig = $this->composer->getConfig();
- Exclude checks
Call to method getInstallationManager
from undeclared class \Composer\Composer
Open
$installer = $this->composer->getInstallationManager();
- Exclude checks
Call to method getDownloadManager
from undeclared class \Composer\Composer
Open
$downloader = $this->composer->getDownloadManager();
- Exclude checks
Property \Vaimo\ComposerPatches\Factories\PatchesApplierFactory->composer
has undeclared type \Composer\Composer
Open
private $composer;
- Exclude checks
Call to method getEventDispatcher
from undeclared class \Composer\Composer
Open
$eventDispatcher = $this->composer->getEventDispatcher();
- Exclude checks