mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-01 14:30:32 +02:00
[ticket/12724] Add Squiz.PHP.Eval in the legacy ruleset
PHPBB3-12724
This commit is contained in:
@@ -1287,7 +1287,9 @@ function restore_config($schema)
|
||||
{
|
||||
$var = (empty($m[2]) || empty($convert_config[$m[2]])) ? "''" : "'" . addslashes($convert_config[$m[2]]) . "'";
|
||||
$exec = '$config_value = ' . $m[1] . '(' . $var . ');';
|
||||
// @codingStandardsIgnoreStart
|
||||
eval($exec);
|
||||
// @codingStandardsIgnoreEnd
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user