From c061438a351bccc0e511b2fc23efbd6a8a7ee19c Mon Sep 17 00:00:00 2001 From: slawkens Date: Fri, 31 Mar 2023 10:21:27 +0200 Subject: [PATCH] test phplint --- common.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common.php b/common.php index 54b79bbf..866cc809 100644 --- a/common.php +++ b/common.php @@ -34,7 +34,8 @@ define('MYAAC_OS', stripos(PHP_OS, 'WIN') === 0 ? 'WINDOWS' : (strtoupper(PHP_OS define('IS_CLI', in_array(php_sapi_name(), ['cli', 'phpdb'])); // account flags -const FLAG_NONE = 0; +// test phplint, should give error as there is no semicolon +const FLAG_NONE = 0 const FLAG_ADMIN = 1; const FLAG_SUPER_ADMIN = 2; const FLAG_SUPER_BOTH = 3;