Return-Path: X-Original-To: apmail-airavata-commits-archive@www.apache.org Delivered-To: apmail-airavata-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A5DEF10052 for ; Sun, 3 May 2015 12:39:47 +0000 (UTC) Received: (qmail 58282 invoked by uid 500); 3 May 2015 12:39:42 -0000 Delivered-To: apmail-airavata-commits-archive@airavata.apache.org Received: (qmail 58110 invoked by uid 500); 3 May 2015 12:39:42 -0000 Mailing-List: contact commits-help@airavata.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@airavata.apache.org Delivered-To: mailing list commits@airavata.apache.org Received: (qmail 57511 invoked by uid 99); 3 May 2015 12:39:41 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 May 2015 12:39:41 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id AB763E3A65; Sun, 3 May 2015 12:39:41 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: smarru@apache.org To: commits@airavata.apache.org Date: Sun, 03 May 2015 12:39:49 -0000 Message-Id: <3174640335534d81975a30e162967984@git.apache.org> In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [09/51] [partial] airavata-php-gateway git commit: removing vendor files http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/Foreach.php ---------------------------------------------------------------------- diff --git a/vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/Foreach.php b/vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/Foreach.php deleted file mode 100644 index a209c32..0000000 --- a/vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/Foreach.php +++ /dev/null @@ -1,35 +0,0 @@ - null : Variable to assign key to - * 'byRef' => false : Whether to assign value by reference - * 'stmts' => array(): Statements - * @param array $attributes Additional attributes - */ - public function __construct(PHPParser_Node_Expr $expr, PHPParser_Node_Expr $valueVar, array $subNodes = array(), array $attributes = array()) { - parent::__construct( - $subNodes + array( - 'keyVar' => null, - 'byRef' => false, - 'stmts' => array(), - ), - $attributes - ); - $this->expr = $expr; - $this->valueVar = $valueVar; - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/Function.php ---------------------------------------------------------------------- diff --git a/vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/Function.php b/vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/Function.php deleted file mode 100644 index f62de9e..0000000 --- a/vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/Function.php +++ /dev/null @@ -1,32 +0,0 @@ - false : Whether to return by reference - * 'params' => array(): Parameters - * 'stmts' => array(): Statements - * @param array $attributes Additional attributes - */ - public function __construct($name, array $subNodes = array(), array $attributes = array()) { - parent::__construct( - $subNodes + array( - 'byRef' => false, - 'params' => array(), - 'stmts' => array(), - ), - $attributes - ); - $this->name = $name; - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/Global.php ---------------------------------------------------------------------- diff --git a/vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/Global.php b/vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/Global.php deleted file mode 100644 index ba841ca..0000000 --- a/vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/Global.php +++ /dev/null @@ -1,22 +0,0 @@ - $vars, - ), - $attributes - ); - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/Goto.php ---------------------------------------------------------------------- diff --git a/vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/Goto.php b/vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/Goto.php deleted file mode 100644 index 8de1020..0000000 --- a/vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/Goto.php +++ /dev/null @@ -1,22 +0,0 @@ - $name, - ), - $attributes - ); - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/HaltCompiler.php ---------------------------------------------------------------------- diff --git a/vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/HaltCompiler.php b/vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/HaltCompiler.php deleted file mode 100644 index 0f4c4b1..0000000 --- a/vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/HaltCompiler.php +++ /dev/null @@ -1,22 +0,0 @@ - $remaining, - ), - $attributes - ); - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/If.php ---------------------------------------------------------------------- diff --git a/vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/If.php b/vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/If.php deleted file mode 100644 index 44c150b..0000000 --- a/vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/If.php +++ /dev/null @@ -1,33 +0,0 @@ - array(): Statements - * 'elseifs' => array(): Elseif clauses - * 'else' => null : Else clause - * @param array $attributes Additional attributes - */ - public function __construct(PHPParser_Node_Expr $cond, array $subNodes = array(), array $attributes = array()) { - parent::__construct( - $subNodes + array( - 'stmts' => array(), - 'elseifs' => array(), - 'else' => null, - ), - $attributes - ); - $this->cond = $cond; - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/InlineHTML.php ---------------------------------------------------------------------- diff --git a/vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/InlineHTML.php b/vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/InlineHTML.php deleted file mode 100644 index d0578de..0000000 --- a/vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/InlineHTML.php +++ /dev/null @@ -1,22 +0,0 @@ - $value, - ), - $attributes - ); - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/Interface.php ---------------------------------------------------------------------- diff --git a/vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/Interface.php b/vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/Interface.php deleted file mode 100644 index ec811c9..0000000 --- a/vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/Interface.php +++ /dev/null @@ -1,45 +0,0 @@ - true, - 'parent' => true, - 'static' => true, - ); - - /** - * Constructs a class node. - * - * @param string $name Name - * @param array $subNodes Array of the following optional subnodes: - * 'extends' => array(): Name of extended interfaces - * 'stmts' => array(): Statements - * @param array $attributes Additional attributes - */ - public function __construct($name, array $subNodes = array(), array $attributes = array()) { - parent::__construct( - $subNodes + array( - 'extends' => array(), - 'stmts' => array(), - ), - $attributes - ); - $this->name = $name; - - if (isset(self::$specialNames[(string) $this->name])) { - throw new PHPParser_Error(sprintf('Cannot use \'%s\' as class name as it is reserved', $this->name)); - } - - foreach ($this->extends as $interface) { - if (isset(self::$specialNames[(string) $interface])) { - throw new PHPParser_Error(sprintf('Cannot use \'%s\' as interface name as it is reserved', $interface)); - } - } - } -} http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/Label.php ---------------------------------------------------------------------- diff --git a/vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/Label.php b/vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/Label.php deleted file mode 100644 index 66dc51e..0000000 --- a/vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/Label.php +++ /dev/null @@ -1,22 +0,0 @@ - $name, - ), - $attributes - ); - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/Namespace.php ---------------------------------------------------------------------- diff --git a/vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/Namespace.php b/vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/Namespace.php deleted file mode 100644 index f4064ce..0000000 --- a/vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/Namespace.php +++ /dev/null @@ -1,122 +0,0 @@ - true, - 'parent' => true, - 'static' => true, - ); - - /** - * Constructs a namespace node. - * - * @param null|PHPParser_Node_Name $name Name - * @param PHPParser_Node[] $stmts Statements - * @param array $attributes Additional attributes - */ - public function __construct(PHPParser_Node_Name $name = null, $stmts = array(), array $attributes = array()) { - parent::__construct( - array( - 'name' => $name, - 'stmts' => $stmts, - ), - $attributes - ); - - if (isset(self::$specialNames[(string) $this->name])) { - throw new PHPParser_Error(sprintf('Cannot use \'%s\' as namespace name', $this->name)); - } - - if (null !== $this->stmts) { - foreach ($this->stmts as $stmt) { - if ($stmt instanceof PHPParser_Node_Stmt_Namespace) { - throw new PHPParser_Error('Namespace declarations cannot be nested', $stmt->getLine()); - } - } - } - } - - public static function postprocess(array $stmts) { - // null = not in namespace, false = semicolon style, true = bracket style - $bracketed = null; - - // whether any statements that aren't allowed before a namespace declaration are encountered - // (the only valid statement currently is a declare) - $hasNotAllowedStmts = false; - - // offsets for semicolon style namespaces - // (required for transplanting the following statements into their ->stmts property) - $nsOffsets = array(); - - foreach ($stmts as $i => $stmt) { - if ($stmt instanceof PHPParser_Node_Stmt_Namespace) { - // ->stmts is null if semicolon style is used - $currentBracketed = null !== $stmt->stmts; - - // if no namespace statement has been encountered yet - if (!isset($bracketed)) { - // set the namespacing style - $bracketed = $currentBracketed; - - // and ensure that it isn't preceded by a not allowed statement - if ($hasNotAllowedStmts) { - throw new PHPParser_Error('Namespace declaration statement has to be the very first statement in the script', $stmt->getLine()); - } - // otherwise ensure that the style of the current namespace matches the style of - // namespaceing used before in this document - } elseif ($bracketed !== $currentBracketed) { - throw new PHPParser_Error('Cannot mix bracketed namespace declarations with unbracketed namespace declarations', $stmt->getLine()); - } - - // for semicolon style namespaces remember the offset - if (!$bracketed) { - $nsOffsets[] = $i; - } - // declare() and __halt_compiler() are the only valid statements outside of namespace declarations - } elseif (!$stmt instanceof PHPParser_Node_Stmt_Declare - && !$stmt instanceof PHPParser_Node_Stmt_HaltCompiler - ) { - if (true === $bracketed) { - throw new PHPParser_Error('No code may exist outside of namespace {}', $stmt->getLine()); - } - - $hasNotAllowedStmts = true; - } - } - - // if bracketed namespaces were used or no namespaces were used at all just return the - // original statements - if (!isset($bracketed) || true === $bracketed) { - return $stmts; - // for semicolon style transplant statements - } else { - // take all statements preceding the first namespace - $newStmts = array_slice($stmts, 0, $nsOffsets[0]); - - // iterate over all following namespaces - for ($i = 0, $c = count($nsOffsets); $i < $c; ++$i) { - $newStmts[] = $nsStmt = $stmts[$nsOffsets[$i]]; - - // the last namespace takes all statements after it - if ($c === $i + 1) { - $nsStmt->stmts = array_slice($stmts, $nsOffsets[$i] + 1); - - // if the last statement is __halt_compiler() put it outside the namespace - if (end($nsStmt->stmts) instanceof PHPParser_Node_Stmt_HaltCompiler) { - $newStmts[] = array_pop($nsStmt->stmts); - } - // and all the others take all statements between the current and the following one - } else { - $nsStmt->stmts = array_slice($stmts, $nsOffsets[$i] + 1, $nsOffsets[$i + 1] - $nsOffsets[$i] - 1); - } - } - - return $newStmts; - } - } -} http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/Property.php ---------------------------------------------------------------------- diff --git a/vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/Property.php b/vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/Property.php deleted file mode 100644 index 5cc9d0c..0000000 --- a/vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/Property.php +++ /dev/null @@ -1,41 +0,0 @@ - $type, - 'props' => $props, - ), - $attributes - ); - } - - public function isPublic() { - return (bool) ($this->type & PHPParser_Node_Stmt_Class::MODIFIER_PUBLIC); - } - - public function isProtected() { - return (bool) ($this->type & PHPParser_Node_Stmt_Class::MODIFIER_PROTECTED); - } - - public function isPrivate() { - return (bool) ($this->type & PHPParser_Node_Stmt_Class::MODIFIER_PRIVATE); - } - - public function isStatic() { - return (bool) ($this->type & PHPParser_Node_Stmt_Class::MODIFIER_STATIC); - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/PropertyProperty.php ---------------------------------------------------------------------- diff --git a/vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/PropertyProperty.php b/vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/PropertyProperty.php deleted file mode 100644 index e2854f1..0000000 --- a/vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/PropertyProperty.php +++ /dev/null @@ -1,25 +0,0 @@ - $name, - 'default' => $default, - ), - $attributes - ); - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/Return.php ---------------------------------------------------------------------- diff --git a/vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/Return.php b/vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/Return.php deleted file mode 100644 index 4697530..0000000 --- a/vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/Return.php +++ /dev/null @@ -1,22 +0,0 @@ - $expr, - ), - $attributes - ); - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/Static.php ---------------------------------------------------------------------- diff --git a/vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/Static.php b/vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/Static.php deleted file mode 100644 index f44d1ed..0000000 --- a/vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/Static.php +++ /dev/null @@ -1,22 +0,0 @@ - $vars, - ), - $attributes - ); - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/StaticVar.php ---------------------------------------------------------------------- diff --git a/vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/StaticVar.php b/vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/StaticVar.php deleted file mode 100644 index 3c5b144..0000000 --- a/vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/StaticVar.php +++ /dev/null @@ -1,25 +0,0 @@ - $name, - 'default' => $default, - ), - $attributes - ); - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/Switch.php ---------------------------------------------------------------------- diff --git a/vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/Switch.php b/vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/Switch.php deleted file mode 100644 index f7022a0..0000000 --- a/vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/Switch.php +++ /dev/null @@ -1,25 +0,0 @@ - $cond, - 'cases' => $cases, - ), - $attributes - ); - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/Throw.php ---------------------------------------------------------------------- diff --git a/vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/Throw.php b/vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/Throw.php deleted file mode 100644 index 990de1a..0000000 --- a/vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/Throw.php +++ /dev/null @@ -1,22 +0,0 @@ - $expr, - ), - $attributes - ); - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/Trait.php ---------------------------------------------------------------------- diff --git a/vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/Trait.php b/vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/Trait.php deleted file mode 100644 index 14737a5..0000000 --- a/vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/Trait.php +++ /dev/null @@ -1,25 +0,0 @@ - $name, - 'stmts' => $stmts, - ), - $attributes - ); - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/TraitUse.php ---------------------------------------------------------------------- diff --git a/vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/TraitUse.php b/vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/TraitUse.php deleted file mode 100644 index 8db1b7e..0000000 --- a/vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/TraitUse.php +++ /dev/null @@ -1,25 +0,0 @@ - $traits, - 'adaptations' => $adaptations, - ), - $attributes - ); - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/TraitUseAdaptation.php ---------------------------------------------------------------------- diff --git a/vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/TraitUseAdaptation.php b/vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/TraitUseAdaptation.php deleted file mode 100644 index 63b2b27..0000000 --- a/vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/TraitUseAdaptation.php +++ /dev/null @@ -1,5 +0,0 @@ - $trait, - 'method' => $method, - 'newModifier' => $newModifier, - 'newName' => $newName, - ), - $attributes - ); - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/TraitUseAdaptation/Precedence.php ---------------------------------------------------------------------- diff --git a/vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/TraitUseAdaptation/Precedence.php b/vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/TraitUseAdaptation/Precedence.php deleted file mode 100644 index 30ae8e4..0000000 --- a/vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/TraitUseAdaptation/Precedence.php +++ /dev/null @@ -1,28 +0,0 @@ - $trait, - 'method' => $method, - 'insteadof' => $insteadof, - ), - $attributes - ); - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/TryCatch.php ---------------------------------------------------------------------- diff --git a/vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/TryCatch.php b/vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/TryCatch.php deleted file mode 100644 index 796aae3..0000000 --- a/vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/TryCatch.php +++ /dev/null @@ -1,32 +0,0 @@ - $stmts, - 'catches' => $catches, - 'finallyStmts' => $finallyStmts, - ), - $attributes - ); - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/Unset.php ---------------------------------------------------------------------- diff --git a/vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/Unset.php b/vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/Unset.php deleted file mode 100644 index e079c29..0000000 --- a/vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/Unset.php +++ /dev/null @@ -1,22 +0,0 @@ - $vars, - ), - $attributes - ); - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/Use.php ---------------------------------------------------------------------- diff --git a/vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/Use.php b/vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/Use.php deleted file mode 100644 index 36dc0b1..0000000 --- a/vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/Use.php +++ /dev/null @@ -1,22 +0,0 @@ - $uses, - ), - $attributes - ); - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/UseUse.php ---------------------------------------------------------------------- diff --git a/vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/UseUse.php b/vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/UseUse.php deleted file mode 100644 index d7d4fd6..0000000 --- a/vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/UseUse.php +++ /dev/null @@ -1,36 +0,0 @@ -getLast(); - } - - if ('self' == $alias || 'parent' == $alias) { - throw new PHPParser_Error(sprintf( - 'Cannot use %s as %s because \'%2$s\' is a special class name', - $name, $alias - )); - } - - parent::__construct( - array( - 'name' => $name, - 'alias' => $alias, - ), - $attributes - ); - } -} http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/While.php ---------------------------------------------------------------------- diff --git a/vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/While.php b/vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/While.php deleted file mode 100644 index 4dde965..0000000 --- a/vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/While.php +++ /dev/null @@ -1,25 +0,0 @@ - $cond, - 'stmts' => $stmts, - ), - $attributes - ); - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/nikic/php-parser/lib/PHPParser/NodeAbstract.php ---------------------------------------------------------------------- diff --git a/vendor/nikic/php-parser/lib/PHPParser/NodeAbstract.php b/vendor/nikic/php-parser/lib/PHPParser/NodeAbstract.php deleted file mode 100644 index e7d0456..0000000 --- a/vendor/nikic/php-parser/lib/PHPParser/NodeAbstract.php +++ /dev/null @@ -1,125 +0,0 @@ -subNodes = $subNodes; - $this->attributes = $attributes; - } - - /** - * Gets the type of the node. - * - * @return string Type of the node - */ - public function getType() { - return substr(get_class($this), 15); - } - - /** - * Gets the names of the sub nodes. - * - * @return array Names of sub nodes - */ - public function getSubNodeNames() { - return array_keys($this->subNodes); - } - - /** - * Gets line the node started in. - * - * @return int Line - */ - public function getLine() { - return $this->getAttribute('startLine', -1); - } - - /** - * Sets line the node started in. - * - * @param int $line Line - */ - public function setLine($line) { - $this->setAttribute('startLine', (int) $line); - } - - /** - * Gets the doc comment of the node. - * - * The doc comment has to be the last comment associated with the node. - * - * @return null|PHPParser_Comment_Doc Doc comment object or null - */ - public function getDocComment() { - $comments = $this->getAttribute('comments'); - if (!$comments) { - return null; - } - - $lastComment = $comments[count($comments) - 1]; - if (!$lastComment instanceof PHPParser_Comment_Doc) { - return null; - } - - return $lastComment; - } - - /** - * {@inheritDoc} - */ - public function setAttribute($key, $value) { - $this->attributes[$key] = $value; - } - - /** - * {@inheritDoc} - */ - public function hasAttribute($key) { - return array_key_exists($key, $this->attributes); - } - - /** - * {@inheritDoc} - */ - public function &getAttribute($key, $default = null) { - if (!array_key_exists($key, $this->attributes)) { - return $default; - } else { - return $this->attributes[$key]; - } - } - - /** - * {@inheritDoc} - */ - public function getAttributes() { - return $this->attributes; - } - - /* Magic interfaces */ - - public function &__get($name) { - return $this->subNodes[$name]; - } - public function __set($name, $value) { - $this->subNodes[$name] = $value; - } - public function __isset($name) { - return isset($this->subNodes[$name]); - } - public function __unset($name) { - unset($this->subNodes[$name]); - } - public function getIterator() { - return new ArrayIterator($this->subNodes); - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/nikic/php-parser/lib/PHPParser/NodeDumper.php ---------------------------------------------------------------------- diff --git a/vendor/nikic/php-parser/lib/PHPParser/NodeDumper.php b/vendor/nikic/php-parser/lib/PHPParser/NodeDumper.php deleted file mode 100644 index 283d630..0000000 --- a/vendor/nikic/php-parser/lib/PHPParser/NodeDumper.php +++ /dev/null @@ -1,39 +0,0 @@ -getType() . '('; - } elseif (is_array($node)) { - $r = 'array('; - } else { - throw new InvalidArgumentException('Can only dump nodes and arrays.'); - } - - foreach ($node as $key => $value) { - $r .= "\n" . ' ' . $key . ': '; - - if (null === $value) { - $r .= 'null'; - } elseif (false === $value) { - $r .= 'false'; - } elseif (true === $value) { - $r .= 'true'; - } elseif (is_scalar($value)) { - $r .= $value; - } else { - $r .= str_replace("\n", "\n" . ' ', $this->dump($value)); - } - } - - return $r . "\n" . ')'; - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/nikic/php-parser/lib/PHPParser/NodeTraverser.php ---------------------------------------------------------------------- diff --git a/vendor/nikic/php-parser/lib/PHPParser/NodeTraverser.php b/vendor/nikic/php-parser/lib/PHPParser/NodeTraverser.php deleted file mode 100644 index cfe9bf1..0000000 --- a/vendor/nikic/php-parser/lib/PHPParser/NodeTraverser.php +++ /dev/null @@ -1,132 +0,0 @@ -visitors = array(); - } - - /** - * Adds a visitor. - * - * @param PHPParser_NodeVisitor $visitor Visitor to add - */ - public function addVisitor(PHPParser_NodeVisitor $visitor) { - $this->visitors[] = $visitor; - } - - /** - * Removes an added visitor. - * - * @param PHPParser_NodeVisitor $visitor - */ - public function removeVisitor(PHPParser_NodeVisitor $visitor) { - foreach ($this->visitors as $index => $storedVisitor) { - if ($storedVisitor === $visitor) { - unset($this->visitors[$index]); - break; - } - } - } - - /** - * Traverses an array of nodes using the registered visitors. - * - * @param PHPParser_Node[] $nodes Array of nodes - * - * @return PHPParser_Node[] Traversed array of nodes - */ - public function traverse(array $nodes) { - foreach ($this->visitors as $visitor) { - if (null !== $return = $visitor->beforeTraverse($nodes)) { - $nodes = $return; - } - } - - $nodes = $this->traverseArray($nodes); - - foreach ($this->visitors as $visitor) { - if (null !== $return = $visitor->afterTraverse($nodes)) { - $nodes = $return; - } - } - - return $nodes; - } - - protected function traverseNode(PHPParser_Node $node) { - $node = clone $node; - - foreach ($node->getSubNodeNames() as $name) { - $subNode =& $node->$name; - - if (is_array($subNode)) { - $subNode = $this->traverseArray($subNode); - } elseif ($subNode instanceof PHPParser_Node) { - foreach ($this->visitors as $visitor) { - if (null !== $return = $visitor->enterNode($subNode)) { - $subNode = $return; - } - } - - $subNode = $this->traverseNode($subNode); - - foreach ($this->visitors as $visitor) { - if (null !== $return = $visitor->leaveNode($subNode)) { - $subNode = $return; - } - } - } - } - - return $node; - } - - protected function traverseArray(array $nodes) { - $doNodes = array(); - - foreach ($nodes as $i => &$node) { - if (is_array($node)) { - $node = $this->traverseArray($node); - } elseif ($node instanceof PHPParser_Node) { - foreach ($this->visitors as $visitor) { - if (null !== $return = $visitor->enterNode($node)) { - $node = $return; - } - } - - $node = $this->traverseNode($node); - - foreach ($this->visitors as $visitor) { - $return = $visitor->leaveNode($node); - - if (false === $return) { - $doNodes[] = array($i, array()); - break; - } elseif (is_array($return)) { - $doNodes[] = array($i, $return); - break; - } elseif (null !== $return) { - $node = $return; - } - } - } - } - - if (!empty($doNodes)) { - while (list($i, $replace) = array_pop($doNodes)) { - array_splice($nodes, $i, 1, $replace); - } - } - - return $nodes; - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/nikic/php-parser/lib/PHPParser/NodeTraverserInterface.php ---------------------------------------------------------------------- diff --git a/vendor/nikic/php-parser/lib/PHPParser/NodeTraverserInterface.php b/vendor/nikic/php-parser/lib/PHPParser/NodeTraverserInterface.php deleted file mode 100644 index 898eaa0..0000000 --- a/vendor/nikic/php-parser/lib/PHPParser/NodeTraverserInterface.php +++ /dev/null @@ -1,21 +0,0 @@ -namespace = null; - $this->aliases = array(); - } - - public function enterNode(PHPParser_Node $node) { - if ($node instanceof PHPParser_Node_Stmt_Namespace) { - $this->namespace = $node->name; - $this->aliases = array(); - } elseif ($node instanceof PHPParser_Node_Stmt_UseUse) { - $aliasName = strtolower($node->alias); - if (isset($this->aliases[$aliasName])) { - throw new PHPParser_Error( - sprintf( - 'Cannot use "%s" as "%s" because the name is already in use', - $node->name, $node->alias - ), - $node->getLine() - ); - } - - $this->aliases[$aliasName] = $node->name; - } elseif ($node instanceof PHPParser_Node_Stmt_Class) { - if (null !== $node->extends) { - $node->extends = $this->resolveClassName($node->extends); - } - - foreach ($node->implements as &$interface) { - $interface = $this->resolveClassName($interface); - } - - $this->addNamespacedName($node); - } elseif ($node instanceof PHPParser_Node_Stmt_Interface) { - foreach ($node->extends as &$interface) { - $interface = $this->resolveClassName($interface); - } - - $this->addNamespacedName($node); - } elseif ($node instanceof PHPParser_Node_Stmt_Trait) { - $this->addNamespacedName($node); - } elseif ($node instanceof PHPParser_Node_Stmt_Function) { - $this->addNamespacedName($node); - } elseif ($node instanceof PHPParser_Node_Stmt_Const) { - foreach ($node->consts as $const) { - $this->addNamespacedName($const); - } - } elseif ($node instanceof PHPParser_Node_Expr_StaticCall - || $node instanceof PHPParser_Node_Expr_StaticPropertyFetch - || $node instanceof PHPParser_Node_Expr_ClassConstFetch - || $node instanceof PHPParser_Node_Expr_New - || $node instanceof PHPParser_Node_Expr_Instanceof - ) { - if ($node->class instanceof PHPParser_Node_Name) { - $node->class = $this->resolveClassName($node->class); - } - } elseif ($node instanceof PHPParser_Node_Stmt_Catch) { - $node->type = $this->resolveClassName($node->type); - } elseif ($node instanceof PHPParser_Node_Expr_FuncCall - || $node instanceof PHPParser_Node_Expr_ConstFetch - ) { - if ($node->name instanceof PHPParser_Node_Name) { - $node->name = $this->resolveOtherName($node->name); - } - } elseif ($node instanceof PHPParser_Node_Stmt_TraitUse) { - foreach ($node->traits as &$trait) { - $trait = $this->resolveClassName($trait); - } - } elseif ($node instanceof PHPParser_Node_Param - && $node->type instanceof PHPParser_Node_Name - ) { - $node->type = $this->resolveClassName($node->type); - } - } - - protected function resolveClassName(PHPParser_Node_Name $name) { - // don't resolve special class names - if (in_array((string) $name, array('self', 'parent', 'static'))) { - return $name; - } - - // fully qualified names are already resolved - if ($name->isFullyQualified()) { - return $name; - } - - // resolve aliases (for non-relative names) - $aliasName = strtolower($name->getFirst()); - if (!$name->isRelative() && isset($this->aliases[$aliasName])) { - $name->setFirst($this->aliases[$aliasName]); - // if no alias exists prepend current namespace - } elseif (null !== $this->namespace) { - $name->prepend($this->namespace); - } - - return new PHPParser_Node_Name_FullyQualified($name->parts, $name->getAttributes()); - } - - protected function resolveOtherName(PHPParser_Node_Name $name) { - // fully qualified names are already resolved and we can't do anything about unqualified - // ones at compiler-time - if ($name->isFullyQualified() || $name->isUnqualified()) { - return $name; - } - - // resolve aliases for qualified names - $aliasName = strtolower($name->getFirst()); - if ($name->isQualified() && isset($this->aliases[$aliasName])) { - $name->setFirst($this->aliases[$aliasName]); - // prepend namespace for relative names - } elseif (null !== $this->namespace) { - $name->prepend($this->namespace); - } - - return new PHPParser_Node_Name_FullyQualified($name->parts, $name->getAttributes()); - } - - protected function addNamespacedName(PHPParser_Node $node) { - if (null !== $this->namespace) { - $node->namespacedName = clone $this->namespace; - $node->namespacedName->append($node->name); - } else { - $node->namespacedName = new PHPParser_Node_Name($node->name, $node->getAttributes()); - } - } -} http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/nikic/php-parser/lib/PHPParser/NodeVisitorAbstract.php ---------------------------------------------------------------------- diff --git a/vendor/nikic/php-parser/lib/PHPParser/NodeVisitorAbstract.php b/vendor/nikic/php-parser/lib/PHPParser/NodeVisitorAbstract.php deleted file mode 100644 index 75ae698..0000000 --- a/vendor/nikic/php-parser/lib/PHPParser/NodeVisitorAbstract.php +++ /dev/null @@ -1,12 +0,0 @@ -