Skip to content
This repository has been archived by the owner on Dec 3, 2023. It is now read-only.

Commit

Permalink
remove duplicated autowires
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasVotruba committed Jul 24, 2018
1 parent 4cd93e3 commit 4d4fc05
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 60 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

use Symfony\Component\Config\Loader\LoaderInterface;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symplify\ChangelogLinker\DependencyInjection\CompilerPass\AutowireWorkersCompilerPass;
use Symplify\ChangelogLinker\DependencyInjection\CompilerPass\CollectorCompilerPass;
use Symplify\ChangelogLinker\DependencyInjection\CompilerPass\DetectParametersCompilerPass;
use Symplify\PackageBuilder\DependencyInjection\CompilerPass\AutoBindParametersCompilerPass;
Expand Down Expand Up @@ -51,7 +50,6 @@ protected function build(ContainerBuilder $containerBuilder): void
{
$containerBuilder->addCompilerPass(new PublicForTestsCompilerPass());
$containerBuilder->addCompilerPass(new CollectorCompilerPass());
$containerBuilder->addCompilerPass(new AutowireWorkersCompilerPass());
$containerBuilder->addCompilerPass(new DetectParametersCompilerPass());
$containerBuilder->addCompilerPass(new AutoBindParametersCompilerPass());
$containerBuilder->addCompilerPass(new AutowireDefaultCompilerPass());
Expand Down

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
use Symfony\Component\HttpKernel\Bundle\BundleInterface;
use Symfony\Component\Yaml\Yaml;
use Symplify\EasyCodingStandard\ChangedFilesDetector\CompilerPass\DetectParametersCompilerPass;
use Symplify\EasyCodingStandard\DependencyInjection\CompilerPass\AutowireCheckersCompilerPass;
use Symplify\EasyCodingStandard\DependencyInjection\CompilerPass\CollectorCompilerPass;
use Symplify\EasyCodingStandard\DependencyInjection\CompilerPass\ConflictingCheckersCompilerPass;
use Symplify\EasyCodingStandard\DependencyInjection\CompilerPass\CustomSourceProviderDefinitionCompilerPass;
Expand Down Expand Up @@ -82,7 +81,6 @@ protected function build(ContainerBuilder $containerBuilder): void
$containerBuilder->addCompilerPass(new ConflictingCheckersCompilerPass());

// autowire
$containerBuilder->addCompilerPass(new AutowireCheckersCompilerPass());
$containerBuilder->addCompilerPass(new AutowireDefaultCompilerPass());

// tests
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
use Symplify\MonorepoBuilder\DependencyInjection\CompilerPass\CollectorCompilerPass;
use Symplify\MonorepoBuilder\Split\DependencyInjection\CompilerPass\DetectParametersCompilerPass;
use Symplify\PackageBuilder\DependencyInjection\CompilerPass\AutoBindParametersCompilerPass;
use Symplify\PackageBuilder\DependencyInjection\CompilerPass\AutowireLocalCompilerPass;
use Symplify\PackageBuilder\DependencyInjection\CompilerPass\AutowireDefaultCompilerPass;
use Symplify\PackageBuilder\DependencyInjection\CompilerPass\PublicForTestsCompilerPass;
use Symplify\PackageBuilder\HttpKernel\AbstractCliKernel;

Expand Down Expand Up @@ -49,7 +49,7 @@ protected function build(ContainerBuilder $containerBuilder): void
$containerBuilder->addCompilerPass(new DetectParametersCompilerPass());
$containerBuilder->addCompilerPass(new PublicForTestsCompilerPass());
$containerBuilder->addCompilerPass(new AutoBindParametersCompilerPass());
$containerBuilder->addCompilerPass(new AutowireLocalCompilerPass());
$containerBuilder->addCompilerPass(new AutowireDefaultCompilerPass());

// autowire default all from local configs
}
Expand Down

0 comments on commit 4d4fc05

Please sign in to comment.