Skip to content

Commit 4754000

Browse files
committed
Revert conditions order
1 parent 50fa7de commit 4754000

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Tests/Tests/epv_test_validate_php_functions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,8 +335,8 @@ private function checkInDefined(If_ $node)
335335

336336
if ($cond instanceof BooleanNot
337337
&& $cond->expr instanceof FuncCall
338-
&& $cond->expr->args[0]->value->value === 'IN_PHPBB'
339338
&& $cond->expr->name->getFirst() === 'defined'
339+
&& $cond->expr->args[0]->value->value === 'IN_PHPBB'
340340
)
341341
{
342342

0 commit comments

Comments
 (0)