Skip to content

Commit 44640d3

Browse files
committed
minor #121 run tests against Symfony 6.1 components in the CI (xabbuh)
This PR was merged into the 0.2-dev branch. Discussion ---------- run tests against Symfony 6.1 components in the CI Commits ------- ac840ce run tests against Symfony 6.1 components in the CI
2 parents 4ade965 + ac840ce commit 44640d3

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,9 @@ jobs:
107107
- php-version: '8.1'
108108
composer-options: '--prefer-stable'
109109
symfony-version: '6.0.*'
110+
- php-version: '8.1'
111+
composer-options: '--prefer-stable'
112+
symfony-version: '6.1.*'
110113

111114
steps:
112115
- name: 'Check out'

tests/Fixtures/DependencyInjection/Kernel.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ public function registerContainerConfiguration(LoaderInterface $loader): void
3737
$loader->load(function (ContainerBuilder $container): void {
3838
$container->addCompilerPass(new PublicTestAliasPass(), PassConfig::TYPE_BEFORE_OPTIMIZATION, 1000);
3939
$container->setParameter('kernel.secret', __FILE__);
40+
$container->loadFromExtension('framework', [
41+
'http_method_override' => false,
42+
]);
4043
});
4144
}
4245

0 commit comments

Comments
 (0)