diff --git a/plugins/templates/before-script.yml b/plugins/templates/before-script.yml index 01c0f42eb3e03fd66f54e4aaa9965c260dc6ecb5..410aecc38352c6f40d10c004ba9ad2ecd3aa7261 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.*"