Skip to content

Commit 5d29767

Browse files
committed
fix code style and php8.2 sf7 dependencies
1 parent 34ee7bc commit 5d29767

File tree

2 files changed

+8
-15
lines changed

2 files changed

+8
-15
lines changed

Tests/Functional/App/CustomAppKernel.php

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
use Symfony\Component\DependencyInjection\ContainerBuilder;
88
use Symfony\Component\Filesystem\Filesystem;
99
use Symfony\Component\HttpKernel\Kernel;
10-
use Symfony\Component\Routing\RouteCollectionBuilder;
10+
use Symfony\Component\Routing\Loader\Configurator\RoutingConfigurator;
1111

1212
class CustomAppKernel extends Kernel
1313
{
@@ -64,9 +64,6 @@ protected function getContainerClass(): string
6464
return parent::getContainerClass().'Custom'.$this->enqueueConfigId;
6565
}
6666

67-
/**
68-
* {@inheritdoc}
69-
*/
7067
protected function configureContainer(ContainerBuilder $c, LoaderInterface $loader)
7168
{
7269
if (self::VERSION_ID < 60000) {
@@ -78,10 +75,7 @@ protected function configureContainer(ContainerBuilder $c, LoaderInterface $load
7875
$c->loadFromExtension('enqueue', $this->enqueueConfig);
7976
}
8077

81-
/**
82-
* {@inheritdoc}
83-
*/
84-
protected function configureRoutes(RouteCollectionBuilder $routes)
78+
protected function configureRoutes(RoutingConfigurator $routes)
8579
{
8680
}
8781
}

Tests/Functional/UseCasesTest.php

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
use Interop\Queue\Message;
1212
use Interop\Queue\Queue;
1313
use Symfony\Component\Console\Tester\CommandTester;
14-
use Symfony\Component\Filesystem\Filesystem;
1514

1615
/**
1716
* @group functional
@@ -147,12 +146,12 @@ public function provideEnqueueConfigs()
147146
],
148147
]];
149148

150-
//
151-
// yield 'gps' => [[
152-
// 'transport' => [
153-
// 'dsn' => getenv('GPS_DSN'),
154-
// ],
155-
// ]];
149+
//
150+
// yield 'gps' => [[
151+
// 'transport' => [
152+
// 'dsn' => getenv('GPS_DSN'),
153+
// ],
154+
// ]];
156155
}
157156

158157
/**

0 commit comments

Comments
 (0)