From cb80bd270e3af8420b0bc080357769209d4a9c84 Mon Sep 17 00:00:00 2001 From: Herman Slatman Date: Mon, 27 Mar 2017 15:05:52 +0200 Subject: [PATCH] Fix PHP 7 only coalesce syntax --- slack.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slack.php b/slack.php index 8cc6b04..14ba20d 100644 --- a/slack.php +++ b/slack.php @@ -105,7 +105,7 @@ '{{stage}}' => $stage, '{{user}}' => $user, '{{branch}}' => $branch, - '{{app_name}}' => $config['app'] ?? 'app-name', + '{{app_name}}' => isset($config['app']) ? $config['app'] : 'app-name', ]; $config['message'] = strtr($config['message'], $messagePlaceHolders);