Skip to content

Commit b51d603

Browse files
committed
Drop SF5 from tests
1 parent 7589954 commit b51d603

File tree

4 files changed

+3
-228
lines changed

4 files changed

+3
-228
lines changed

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

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

Tests/Functional/App/config/config-sf5.yml

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

Tests/Functional/App/config/custom-config-sf5.yml

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

0 commit comments

Comments
 (0)