Skip to content

Commit

Permalink
Silence deprecation from 6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Jean85 committed Jul 16, 2024
1 parent d43e91c commit d37ced7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/Functional/TestApp/TestKernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ public function registerContainerConfiguration(LoaderInterface $loader): void
$loader->load(__DIR__ . '/docker.yaml');
}

if (version_compare(Kernel::VERSION, '6.0.0') >= 0) {
$loader->load(__DIR__ . '/deprecations_6.0.yml');
}

if (version_compare(Kernel::VERSION, '6.1.0') >= 0) {
$loader->load(__DIR__ . '/deprecations_6.1.yml');
}
Expand Down
3 changes: 3 additions & 0 deletions tests/Functional/TestApp/deprecations_6.0.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
framework:
router:
utf8: true

0 comments on commit d37ced7

Please sign in to comment.