From 5a320adc75faffe27d9d0b822e30106f1d27f2c2 Mon Sep 17 00:00:00 2001 From: Tristan Darricau Date: Sun, 15 Jun 2014 22:03:39 +0200 Subject: [ticket/12724] Add Squiz.PHP.Eval in the legacy ruleset PHPBB3-12724 --- phpBB/includes/functions_module.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'phpBB/includes/functions_module.php') diff --git a/phpBB/includes/functions_module.php b/phpBB/includes/functions_module.php index 51284af233..b7615e923b 100644 --- a/phpBB/includes/functions_module.php +++ b/phpBB/includes/functions_module.php @@ -456,7 +456,9 @@ class p_master ); $is_auth = false; + // @codingStandardsIgnoreStart eval('$is_auth = (int) (' . $module_auth . ');'); + // @codingStandardsIgnoreEnd return $is_auth; } -- cgit v1.2.1