Skip to content

Commit

Permalink
remove compiler pass
Browse files Browse the repository at this point in the history
  • Loading branch information
peterojo committed Sep 19, 2023
1 parent 095dc6a commit 77f0223
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 24 deletions.
8 changes: 0 additions & 8 deletions src/AdyenPaymentShopware6.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@

namespace Adyen\Shopware;

use Adyen\Shopware\DependencyInjection\AdyenPaymentCompilerPass;
use Adyen\Shopware\Entity\Notification\NotificationEntityDefinition;
use Adyen\Shopware\Entity\PaymentResponse\PaymentResponseEntityDefinition;
use Adyen\Shopware\Entity\PaymentStateData\PaymentStateDataEntityDefinition;
Expand All @@ -47,16 +46,9 @@
use Shopware\Core\Framework\DataAbstractionLayer\Search\Criteria;
use Doctrine\DBAL\Connection;
use Shopware\Core\System\SalesChannel\SalesChannelEntity;
use Symfony\Component\DependencyInjection\ContainerBuilder;

class AdyenPaymentShopware6 extends Plugin
{
public function build(ContainerBuilder $container): void
{
parent::build($container);
$container->addCompilerPass(new AdyenPaymentCompilerPass());
}

public function install(InstallContext $installContext): void
{
foreach (PaymentMethods\PaymentMethods::PAYMENT_METHODS as $paymentMethod) {
Expand Down
15 changes: 0 additions & 15 deletions src/DependencyInjection/AdyenPaymentCompilerPass.php

This file was deleted.

3 changes: 2 additions & 1 deletion src/Service/ConfigurationService.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ class ConfigurationService
* ConfigurationService constructor.
*
* @param SystemConfigService $systemConfigService
* @param EntityRepository|\Shopware\Core\Content\Media\DataAbstractionLayer\MediaRepositoryDecorator $mediaRepository
* @param mixed $mediaRepository
* @note `media.repository` service is decorated in Shopware 6.4 and does not return EntityRepository object
*/
public function __construct(
SystemConfigService $systemConfigService,
Expand Down

0 comments on commit 77f0223

Please sign in to comment.