From 840e7d6a9dee208277aed7fb9f949432ec459b60 Mon Sep 17 00:00:00 2001 From: Erick Hitter <git-contrib@ethitter.com> Date: Sat, 27 Mar 2021 15:42:03 -0700 Subject: [PATCH] Fix syntax --- plugins/templates/before-script.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/templates/before-script.yml b/plugins/templates/before-script.yml index 01c0f42..410aecc 100644 --- a/plugins/templates/before-script.yml +++ b/plugins/templates/before-script.yml @@ -6,7 +6,7 @@ before_script: - | if [[ $(php -v) =~ "PHP 8." ]]; then composer global require "phpunit/phpunit=7.*" - el if [[ $(php -v) =~ "PHP 7." ]]; then + elif [[ $(php -v) =~ "PHP 7." ]]; then composer global require "phpunit/phpunit=6.1.*" elif [[ $(php -v) =~ "PHP 5.6" ]]; then composer global require "phpunit/phpunit=5.4.*" -- GitLab