mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 14:00:31 +02:00
[ticket/12724] Add Squiz.PHP.Eval in the legacy ruleset
PHPBB3-12724
This commit is contained in:
@@ -456,7 +456,9 @@ class p_master
|
||||
);
|
||||
|
||||
$is_auth = false;
|
||||
// @codingStandardsIgnoreStart
|
||||
eval('$is_auth = (int) (' . $module_auth . ');');
|
||||
// @codingStandardsIgnoreEnd
|
||||
|
||||
return $is_auth;
|
||||
}
|
||||
|
Reference in New Issue
Block a user