Skip to content

Commit

Permalink
test phplint
Browse files Browse the repository at this point in the history
  • Loading branch information
slawkens committed Mar 31, 2023
1 parent 8441dbe commit c061438
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion common.php
Expand Up @@ -34,7 +34,8 @@
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;
Expand Down

0 comments on commit c061438

Please sign in to comment.