Skip to content

Commit 6a482c4

Browse files
committed
Drop SF5 from tests
1 parent a11a200 commit 6a482c4

File tree

6 files changed

+4
-268
lines changed

6 files changed

+4
-268
lines changed

pkg/enqueue-bundle/Tests/Functional/App/AppKernel.php

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,8 @@ public function getLogDir(): string
2828
return sys_get_temp_dir().'/EnqueueBundle/cache/logs';
2929
}
3030

31-
public function registerContainerConfiguration(LoaderInterface $loader)
31+
public function registerContainerConfiguration(LoaderInterface $loader): void
3232
{
33-
if (self::VERSION_ID < 60000) {
34-
$loader->load(__DIR__.'/config/config-sf5.yml');
35-
36-
return;
37-
}
38-
3933
$loader->load(__DIR__.'/config/config.yml');
4034
}
4135

pkg/enqueue-bundle/Tests/Functional/App/CustomAppKernel.php

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -64,14 +64,9 @@ protected function getContainerClass(): string
6464
return parent::getContainerClass().'Custom'.$this->enqueueConfigId;
6565
}
6666

67-
protected function configureContainer(ContainerBuilder $c, LoaderInterface $loader)
67+
protected function configureContainer(ContainerBuilder $c, LoaderInterface $loader): void
6868
{
69-
if (self::VERSION_ID < 60000) {
70-
$loader->load(__DIR__.'/config/custom-config-sf5.yml');
71-
} else {
72-
$loader->load(__DIR__.'/config/custom-config.yml');
73-
}
74-
69+
$loader->load(__DIR__.'/config/custom-config.yml');
7570
$c->loadFromExtension('enqueue', $this->enqueueConfig);
7671
}
7772

pkg/enqueue-bundle/Tests/Functional/App/config/config-sf5.yml

Lines changed: 0 additions & 129 deletions
This file was deleted.

pkg/enqueue-bundle/Tests/Functional/App/config/custom-config-sf5.yml

Lines changed: 0 additions & 85 deletions
This file was deleted.

pkg/job-queue/Tests/Functional/app/AppKernel.php

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,8 @@ public function getLogDir(): string
2525
return sys_get_temp_dir().'/EnqueueJobQueue/cache/logs';
2626
}
2727

28-
public function registerContainerConfiguration(LoaderInterface $loader)
28+
public function registerContainerConfiguration(LoaderInterface $loader): void
2929
{
30-
if (self::VERSION_ID < 60000) {
31-
$loader->load(__DIR__.'/config/config-sf5.yml');
32-
33-
return;
34-
}
35-
3630
$loader->load(__DIR__.'/config/config.yml');
3731
}
3832

pkg/job-queue/Tests/Functional/app/config/config-sf5.yml

Lines changed: 0 additions & 33 deletions
This file was deleted.

0 commit comments

Comments
 (0)