src/Package/PatchApplier/ItemProcessor.php
Method __construct
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
\Composer\EventDispatcher\EventDispatcher $eventDispatcher,
\Vaimo\ComposerPatches\Package\InfoResolver $packageInfoResolver,
\Vaimo\ComposerPatches\Interfaces\PatchFailureHandlerInterface $failureHandler,
\Vaimo\ComposerPatches\Patch\File\Applier $fileApplier,
\Vaimo\ComposerPatches\Logger $logger
Parameter $package
has undeclared type \Composer\Package\PackageInterface
Open
Open
private function dispatchEventForPackagePatch($name, PackageInterface $package, array $patch)
- Exclude checks
Property \Vaimo\ComposerPatches\Package\PatchApplier\ItemProcessor->eventDispatcher
has undeclared type \Composer\EventDispatcher\EventDispatcher
Open
Open
private $eventDispatcher;
- Exclude checks
Parameter $package
has undeclared type \Composer\Package\PackageInterface
Open
Open
public function processFileInfo(PackageInterface $package, array $info)
- Exclude checks
Parameter $eventDispatcher
has undeclared type \Composer\EventDispatcher\EventDispatcher
Open
Open
public function __construct(
- Exclude checks
Call to method dispatch
from undeclared class \Composer\EventDispatcher\EventDispatcher
Open
Open
$this->eventDispatcher->dispatch(
- Exclude checks