Skip to content
Permalink
Browse files

cs fix

  • Loading branch information...
weirdan authored and muglug committed Apr 13, 2019
1 parent 4daf94c commit 8dda8a0ee4a30c4512112b7a19602e71a67b52e6
@@ -634,7 +634,8 @@ function (Assertion $assertion) use ($generic_params) : Assertion {
$context->check_consts = false;
} elseif ($function->parts === ['extract']) {
$context->check_variables = false;
} elseif (strtolower($function->parts[0]) === 'var_dump' || strtolower($function->parts[0]) === 'shell_exec') {
} elseif (strtolower($function->parts[0]) === 'var_dump'
|| strtolower($function->parts[0]) === 'shell_exec') {
if (IssueBuffer::accepts(
new ForbiddenCode(
'Unsafe ' . implode('', $function->parts),

0 comments on commit 8dda8a0

Please sign in to comment.
You can’t perform that action at this time.