src/Tool/JSONThrowOnError.php
private function shouldCheckOption($node): Bool
    {
        if (!$node instanceof Node) {
            return true;
        }
        if ($node->kind === \ast\AST_CONST) {
            return true;
        }
        if ($node->kind === \ast\AST_BINARY_OP && $node->flags === \ast\flags\BINARY_BITWISE_OR) {
            return true;
        }

        return false;
    }
private function shouldCheckOption($node): Bool
    {
        if (!$node instanceof Node) {
            return true;
        }
        if ($node->kind === \ast\AST_CONST) {
            return true;
        }
        if ($node->kind === \ast\AST_BINARY_OP && $node->flags === \ast\flags\BINARY_BITWISE_OR) {
            return true;
        }

        return false;
    }
private function shouldCheckOption ( $ node ) : Bool { if ( ! $ node instanceof Node ) { return true ; } if ( $ node -> kind === \ ast \ AST_CONST ) { return true ; } if ( $ node -> kind === \ ast \ AST_BINARY_OP && $ node -> flags === \ ast \ flags \ BINARY_BITWISE_OR ) { return true ; } return false ; }
Check whether the passed options node should be checked.

This function is used to suppress false positives.

@param mixed $node Options node.
@return boolean Result.
Check whether the passed options node should be checked .