diff --git a/Tests/Twig/Extension/__snapshots__/MenuExtensionTest__testRenderMenuBootstrap4__1.php b/Tests/Twig/Extension/__snapshots__/MenuExtensionTest__testRenderMenuBootstrap4__1.php
deleted file mode 100644
index 36f5421..0000000
--- a/Tests/Twig/Extension/__snapshots__/MenuExtensionTest__testRenderMenuBootstrap4__1.php
+++ /dev/null
@@ -1 +0,0 @@
-Dropdown Menu 1
Dropdown Menu 2Link 1 (this should render an active nav-link)Dropdown Menu 4';
diff --git a/Tests/Twig/Extension/__snapshots__/MenuExtensionTest__testRenderMenuBootstrap4__1.txt b/Tests/Twig/Extension/__snapshots__/MenuExtensionTest__testRenderMenuBootstrap4__1.txt
new file mode 100644
index 0000000..4a111d2
--- /dev/null
+++ b/Tests/Twig/Extension/__snapshots__/MenuExtensionTest__testRenderMenuBootstrap4__1.txt
@@ -0,0 +1 @@
+Dropdown Menu 1Dropdown Menu 2Link 1 (this should render an active nav-link)Dropdown Menu 4
\ No newline at end of file
diff --git a/Tests/Twig/Extension/__snapshots__/MenuExtensionTest__testRenderMenuBootstrap5__1.php b/Tests/Twig/Extension/__snapshots__/MenuExtensionTest__testRenderMenuBootstrap5__1.php
deleted file mode 100644
index 61e346f..0000000
--- a/Tests/Twig/Extension/__snapshots__/MenuExtensionTest__testRenderMenuBootstrap5__1.php
+++ /dev/null
@@ -1 +0,0 @@
-Dropdown Menu 1Dropdown Menu 2Link 1 (this should render an active nav-link)Dropdown Menu 4';
diff --git a/Tests/Twig/Extension/__snapshots__/MenuExtensionTest__testRenderMenuBootstrap5__1.txt b/Tests/Twig/Extension/__snapshots__/MenuExtensionTest__testRenderMenuBootstrap5__1.txt
new file mode 100644
index 0000000..fdbb310
--- /dev/null
+++ b/Tests/Twig/Extension/__snapshots__/MenuExtensionTest__testRenderMenuBootstrap5__1.txt
@@ -0,0 +1 @@
+Dropdown Menu 1Dropdown Menu 2Link 1 (this should render an active nav-link)Dropdown Menu 4
\ No newline at end of file
diff --git a/composer.json b/composer.json
index 97e4160..06cde42 100644
--- a/composer.json
+++ b/composer.json
@@ -21,9 +21,9 @@
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.0",
"squizlabs/php_codesniffer": "^3.0",
- "symfony/phpunit-bridge": "^4.2|^5.0|^6.0",
- "spatie/phpunit-snapshot-assertions": "^2.0 || ^3.0 || ^4.0",
- "phpunit/phpunit": "^7.0 || ^8.0 || ^9.0",
+ "symfony/phpunit-bridge": "^7.0",
+ "spatie/phpunit-snapshot-assertions": "^4.0",
+ "phpunit/phpunit": "^9.5",
"dg/bypass-finals": "^1.0"
},
"autoload": {
diff --git a/phpunit.xml.dist b/phpunit.xml.dist
index c9ebb2a..5a01832 100644
--- a/phpunit.xml.dist
+++ b/phpunit.xml.dist
@@ -6,6 +6,7 @@
backupGlobals="false"
colors="true"
bootstrap="vendor/autoload.php"
+ convertDeprecationsToExceptions="false"
>