src/DependencyInjection/SilverbackApiComponentsExtension.php
Method load
has 67 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function load(array $configs, ContainerBuilder $container): void
{
$configuration = new Configuration();
$config = $this->processConfiguration($configuration, $configs);
File SilverbackApiComponentsExtension.php
has 273 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
<?php
/*
* This file is part of the Silverback API Components Bundle Project
*
Method prependApiPlatformConfig
has 47 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private function prependApiPlatformConfig(ContainerBuilder $container, array $config): void
{
$srcBase = __DIR__ . '/..';
$mappingPaths = [$srcBase . '/Entity/Core'];
$this->appendMappingPaths($mappingPaths, $srcBase, 'uploadable');
Method setMailerServiceArguments
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private function setMailerServiceArguments(ContainerBuilder $container, array $config): void
{
$definition = $container->getDefinition(UserMailer::class);
$definition->setArgument(
'$context',