getExpr(); if ($stmt instanceof PhpParser\Node\Expr\BinaryOp\LogicalAnd || $stmt instanceof PhpParser\Node\Expr\BinaryOp\LogicalOr) { IssueBuffer::maybeAdd( new \Psalm\Issue\UnrecognizedExpression( 'Logical binary operators AND and OR are not allowed in the Nextcloud codebase', new CodeLocation($event->getStatementsSource()->getSource(), $stmt), ), $event->getStatementsSource()->getSuppressedIssues(), ); } return null; } }