protected function isDeclaration(ParentNode $node) {
    return $node instanceof FunctionDeclarationNode ||
      $node instanceof SingleInheritanceNode ||
      $node instanceof InterfaceNode ||
      $node instanceof ClassMethodNode ||
      $node instanceof InterfaceMethodNode;
  }
protected function isDeclaration(ParentNode $node) {
    return $node instanceof FunctionDeclarationNode ||
      $node instanceof SingleInheritanceNode ||
      $node instanceof InterfaceNode ||
      $node instanceof ClassMethodNode ||
      $node instanceof InterfaceMethodNode;
  }
protected function isDeclaration ( ParentNode $ node ) { return $ node instanceof FunctionDeclarationNode || $ node instanceof SingleInheritanceNode || $ node instanceof InterfaceNode || $ node instanceof ClassMethodNode || $ node instanceof InterfaceMethodNode ; }
Test if declaration_brace_newline setting applies to node.

@param ParentNode $node
Node to test.

@return bool
TRUE if declaration_brace_newline applies to node.
Test if declaration_brace_newline setting applies to node .