diff --git a/plugins/templates/before-script.yml b/plugins/templates/before-script.yml
index 410aecc38352c6f40d10c004ba9ad2ecd3aa7261..6cbeb10beb583766bd9c755f925358486fdbaa10 100644
--- a/plugins/templates/before-script.yml
+++ b/plugins/templates/before-script.yml
@@ -5,7 +5,7 @@ before_script:
   # PHPUnit
   - |
     if [[ $(php -v) =~ "PHP 8." ]]; then
-      composer global require "phpunit/phpunit=7.*"
+      composer global require "phpunit/phpunit=9.*"
     elif [[ $(php -v) =~ "PHP 7." ]]; then
       composer global require "phpunit/phpunit=6.1.*"
     elif [[ $(php -v) =~ "PHP 5.6" ]]; then
diff --git a/plugins/templates/matrix.yml b/plugins/templates/matrix.yml
index d8f1e94fddeec16b2bb215f5e20582493df3fa8e..14f6daa2cf23032e8acdaa519dbf5f9f0f2faab1 100644
--- a/plugins/templates/matrix.yml
+++ b/plugins/templates/matrix.yml
@@ -71,6 +71,7 @@ PHPunit:PHP8.0:MySQL:
   script:
     - find . -type "f" -iname "*.php" | xargs -L "1" php -l
     - phpunit
+  allow_failure: true
 
 PHPCS:
   stage: test