1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 22:10:45 +02:00

[ticket/12724] Add Squiz.PHP.Eval in the legacy ruleset

PHPBB3-12724
This commit is contained in:
Tristan Darricau
2014-06-15 22:03:39 +02:00
parent 3a96c5b753
commit 5a320adc75
5 changed files with 25 additions and 0 deletions

View File

@@ -456,7 +456,9 @@ class p_master
);
$is_auth = false;
// @codingStandardsIgnoreStart
eval('$is_auth = (int) (' . $module_auth . ');');
// @codingStandardsIgnoreEnd
return $is_auth;
}