From b9e32e9c78016c7cd2604423cb28cd3e4bf0a259 Mon Sep 17 00:00:00 2001 From: Alexis Saettler Date: Mon, 16 Jan 2023 10:31:16 +0100 Subject: [PATCH] fix: fix app_version warnings (monicahq/chandler#411) --- config/monica.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/monica.php b/config/monica.php index a13eeef3fb5..19d6b09054f 100644 --- a/config/monica.php +++ b/config/monica.php @@ -11,7 +11,7 @@ | */ - 'app_version' => trim(is_file(__DIR__.'/.version') ? file_get_contents(__DIR__.'/.version') : (is_dir(__DIR__.'/../.git') ? (($v = trim(exec('git --git-dir '.base_path('.git').' describe --abbrev=0 --tags'))) != '' ? $v : '0.0.0') : '')), + 'app_version' => trim(is_file(__DIR__.'/.version') ? file_get_contents(__DIR__.'/.version') : (is_dir(__DIR__.'/../.git') ? (($v = trim(exec('git --git-dir '.base_path('.git').' describe --abbrev=0 --tags 2>/dev/null'))) != '' ? $v : '0.0.0') : '0.0.0')), /* |--------------------------------------------------------------------------