checkConflict example

            if ($package->getType() === PluginFinder::COMPOSER_TYPE) {
                continue;
            }

            $pluginDependencies['require'] = $this->checkRequirement(
                $pluginDependencies['require'],
                $package->getName(),
                new Constraint('==', $package->getVersion()),
                $exceptionStack
            );

            $pluginDependencies['conflict'] = $this->checkConflict(
                $pluginDependencies['conflict'],
                $this->pluginComposer->getPackage()->getName(),
                $package->getName(),
                new Constraint('==', $package->getVersion()),
                $exceptionStack
            );

            $pluginDependencies = $this->validateReplaces($package$pluginDependencies$exceptionStack);
        }

        return $pluginDependencies;
    }
Home | Imprint | This part of the site doesn't use cookies.