Skip to content

Commit 0394055

Browse files
committed
fix: ci
1 parent b47d887 commit 0394055

File tree

4 files changed

+9
-3
lines changed

4 files changed

+9
-3
lines changed

src/DependencyInjection/ShopwareAppExtension.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
use Symfony\Component\DependencyInjection\ContainerBuilder;
1515
use Symfony\Component\DependencyInjection\Definition;
1616
use Symfony\Component\DependencyInjection\Extension\Extension;
17-
use Symfony\Component\DependencyInjection\Loader\XmlFileLoader;
17+
use Symfony\Component\DependencyInjection\Loader\PhpFileLoader;
1818
use Symfony\Component\DependencyInjection\Reference;
1919

2020
final class ShopwareAppExtension extends Extension
@@ -23,12 +23,12 @@ public function load(array $configs, ContainerBuilder $container): void
2323
{
2424
$config = $this->processConfiguration(new Configuration(), $configs);
2525

26-
$loader = new XmlFileLoader(
26+
$loader = new PhpFileLoader(
2727
$container,
2828
new FileLocator(__DIR__ . '/../Resources/config')
2929
);
3030

31-
$loader->load('services.xml');
31+
$loader->load('services.php');
3232

3333
$storage = $config['storage'];
3434

src/Resources/config/routing/lifecycle.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
use Symfony\Component\HttpFoundation\Request;
46
use Symfony\Component\Routing\Loader\Configurator\RoutingConfigurator;
57
use Shopware\AppBundle\Controller\LifecycleController;

src/Resources/config/routing/webhook.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
use Symfony\Component\HttpFoundation\Request;
46
use Symfony\Component\Routing\Loader\Configurator\RoutingConfigurator;
57
use Shopware\AppBundle\Controller\WebhookController;

src/Resources/config/services.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace Symfony\Component\DependencyInjection\Loader\Configurator;
46

57
return static function (ContainerConfigurator $container) {

0 commit comments

Comments
 (0)