airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sma...@apache.org
Subject [04/51] [partial] airavata-php-gateway git commit: removing vendor files
Date Sun, 03 May 2015 12:39:44 GMT
http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/nikic/php-parser/test/code/parser/stmt/haltCompilerInvalidSyntax.test-fail
----------------------------------------------------------------------
diff --git a/vendor/nikic/php-parser/test/code/parser/stmt/haltCompilerInvalidSyntax.test-fail b/vendor/nikic/php-parser/test/code/parser/stmt/haltCompilerInvalidSyntax.test-fail
deleted file mode 100644
index 597710f..0000000
--- a/vendor/nikic/php-parser/test/code/parser/stmt/haltCompilerInvalidSyntax.test-fail
+++ /dev/null
@@ -1,6 +0,0 @@
-Invalid __halt_compiler() syntax
------
-<?php
-__halt_compiler()
------
-__HALT_COMPILER must be followed by "();" on line 2

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/nikic/php-parser/test/code/parser/stmt/haltCompilerOutermostScope.test-fail
----------------------------------------------------------------------
diff --git a/vendor/nikic/php-parser/test/code/parser/stmt/haltCompilerOutermostScope.test-fail b/vendor/nikic/php-parser/test/code/parser/stmt/haltCompilerOutermostScope.test-fail
deleted file mode 100644
index 6cb7e94..0000000
--- a/vendor/nikic/php-parser/test/code/parser/stmt/haltCompilerOutermostScope.test-fail
+++ /dev/null
@@ -1,8 +0,0 @@
-__halt_compiler can only be used from outermost scope
------
-<?php
-if (true) {
-    __halt_compiler();
-}
------
-__HALT_COMPILER() can only be used from the outermost scope on line 3

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/nikic/php-parser/test/code/parser/stmt/if.test
----------------------------------------------------------------------
diff --git a/vendor/nikic/php-parser/test/code/parser/stmt/if.test b/vendor/nikic/php-parser/test/code/parser/stmt/if.test
deleted file mode 100644
index 84ebb11..0000000
--- a/vendor/nikic/php-parser/test/code/parser/stmt/if.test
+++ /dev/null
@@ -1,95 +0,0 @@
-If/Elseif/Else
------
-<?php
-
-if      ($a) {}
-elseif  ($b) {}
-elseif  ($c) {}
-else         {}
-
-if ($a) {} // without else
-
-if      ($a):
-elseif  ($b):
-elseif  ($c):
-else        :
-endif;
-
-if ($a): endif; // without else
------
-array(
-    0: Stmt_If(
-        stmts: array(
-        )
-        elseifs: array(
-            0: Stmt_ElseIf(
-                cond: Expr_Variable(
-                    name: b
-                )
-                stmts: array(
-                )
-            )
-            1: Stmt_ElseIf(
-                cond: Expr_Variable(
-                    name: c
-                )
-                stmts: array(
-                )
-            )
-        )
-        else: Stmt_Else(
-            stmts: array(
-            )
-        )
-        cond: Expr_Variable(
-            name: a
-        )
-    )
-    1: Stmt_If(
-        stmts: array(
-        )
-        elseifs: array(
-        )
-        else: null
-        cond: Expr_Variable(
-            name: a
-        )
-    )
-    2: Stmt_If(
-        stmts: array(
-        )
-        elseifs: array(
-            0: Stmt_ElseIf(
-                cond: Expr_Variable(
-                    name: b
-                )
-                stmts: array(
-                )
-            )
-            1: Stmt_ElseIf(
-                cond: Expr_Variable(
-                    name: c
-                )
-                stmts: array(
-                )
-            )
-        )
-        else: Stmt_Else(
-            stmts: array(
-            )
-        )
-        cond: Expr_Variable(
-            name: a
-        )
-    )
-    3: Stmt_If(
-        stmts: array(
-        )
-        elseifs: array(
-        )
-        else: null
-        cond: Expr_Variable(
-            name: a
-        )
-    )
-)
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/nikic/php-parser/test/code/parser/stmt/inlineHTML.test
----------------------------------------------------------------------
diff --git a/vendor/nikic/php-parser/test/code/parser/stmt/inlineHTML.test b/vendor/nikic/php-parser/test/code/parser/stmt/inlineHTML.test
deleted file mode 100644
index 9b1b71d..0000000
--- a/vendor/nikic/php-parser/test/code/parser/stmt/inlineHTML.test
+++ /dev/null
@@ -1,27 +0,0 @@
-Inline HTML
------
-<?php
-$a;
-?>
-B
-<?php
-$c;
-?>
-<?php
-$d;
------
-array(
-    0: Expr_Variable(
-        name: a
-    )
-    1: Stmt_InlineHTML(
-        value: B
-
-    )
-    2: Expr_Variable(
-        name: c
-    )
-    3: Expr_Variable(
-        name: d
-    )
-)
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/nikic/php-parser/test/code/parser/stmt/loop/do.test
----------------------------------------------------------------------
diff --git a/vendor/nikic/php-parser/test/code/parser/stmt/loop/do.test b/vendor/nikic/php-parser/test/code/parser/stmt/loop/do.test
deleted file mode 100644
index 2799e26..0000000
--- a/vendor/nikic/php-parser/test/code/parser/stmt/loop/do.test
+++ /dev/null
@@ -1,17 +0,0 @@
-Do loop
------
-<?php
-
-do {
-
-} while ($a);
------
-array(
-    0: Stmt_Do(
-        cond: Expr_Variable(
-            name: a
-        )
-        stmts: array(
-        )
-    )
-)
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/nikic/php-parser/test/code/parser/stmt/loop/for.test
----------------------------------------------------------------------
diff --git a/vendor/nikic/php-parser/test/code/parser/stmt/loop/for.test b/vendor/nikic/php-parser/test/code/parser/stmt/loop/for.test
deleted file mode 100644
index 6d63027..0000000
--- a/vendor/nikic/php-parser/test/code/parser/stmt/loop/for.test
+++ /dev/null
@@ -1,86 +0,0 @@
-For loop
------
-<?php
-
-// "classical" loop
-for ($i = 0; $i < $c; ++$i) {}
-
-// multiple expressions
-for (;$a,$b;) {}
-
-// infinite loop
-for (;;) {}
-
-// alternative syntax
-for (;;):
-endfor;
------
-array(
-    0: Stmt_For(
-        init: array(
-            0: Expr_Assign(
-                var: Expr_Variable(
-                    name: i
-                )
-                expr: Scalar_LNumber(
-                    value: 0
-                )
-            )
-        )
-        cond: array(
-            0: Expr_Smaller(
-                left: Expr_Variable(
-                    name: i
-                )
-                right: Expr_Variable(
-                    name: c
-                )
-            )
-        )
-        loop: array(
-            0: Expr_PreInc(
-                var: Expr_Variable(
-                    name: i
-                )
-            )
-        )
-        stmts: array(
-        )
-    )
-    1: Stmt_For(
-        init: array(
-        )
-        cond: array(
-            0: Expr_Variable(
-                name: a
-            )
-            1: Expr_Variable(
-                name: b
-            )
-        )
-        loop: array(
-        )
-        stmts: array(
-        )
-    )
-    2: Stmt_For(
-        init: array(
-        )
-        cond: array(
-        )
-        loop: array(
-        )
-        stmts: array(
-        )
-    )
-    3: Stmt_For(
-        init: array(
-        )
-        cond: array(
-        )
-        loop: array(
-        )
-        stmts: array(
-        )
-    )
-)
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/nikic/php-parser/test/code/parser/stmt/loop/foreach.test
----------------------------------------------------------------------
diff --git a/vendor/nikic/php-parser/test/code/parser/stmt/loop/foreach.test b/vendor/nikic/php-parser/test/code/parser/stmt/loop/foreach.test
deleted file mode 100644
index 000019b..0000000
--- a/vendor/nikic/php-parser/test/code/parser/stmt/loop/foreach.test
+++ /dev/null
@@ -1,139 +0,0 @@
-Foreach loop
------
-<?php
-
-// foreach on variable
-foreach ($a as $b)  {}
-foreach ($a as &$b) {}
-foreach ($a as $b => $c) {}
-foreach ($a as $b => &$c) {}
-foreach ($a as list($a, $b)) {}
-foreach ($a as $a => list($b, , $c)) {}
-
-// foreach on expression
-foreach (array() as $b) {}
-
-// alternative syntax
-foreach ($a as $b):
-endforeach;
------
-array(
-    0: Stmt_Foreach(
-        keyVar: null
-        byRef: false
-        stmts: array(
-        )
-        expr: Expr_Variable(
-            name: a
-        )
-        valueVar: Expr_Variable(
-            name: b
-        )
-    )
-    1: Stmt_Foreach(
-        keyVar: null
-        byRef: true
-        stmts: array(
-        )
-        expr: Expr_Variable(
-            name: a
-        )
-        valueVar: Expr_Variable(
-            name: b
-        )
-    )
-    2: Stmt_Foreach(
-        keyVar: Expr_Variable(
-            name: b
-        )
-        byRef: false
-        stmts: array(
-        )
-        expr: Expr_Variable(
-            name: a
-        )
-        valueVar: Expr_Variable(
-            name: c
-        )
-    )
-    3: Stmt_Foreach(
-        keyVar: Expr_Variable(
-            name: b
-        )
-        byRef: true
-        stmts: array(
-        )
-        expr: Expr_Variable(
-            name: a
-        )
-        valueVar: Expr_Variable(
-            name: c
-        )
-    )
-    4: Stmt_Foreach(
-        keyVar: null
-        byRef: false
-        stmts: array(
-        )
-        expr: Expr_Variable(
-            name: a
-        )
-        valueVar: Expr_List(
-            vars: array(
-                0: Expr_Variable(
-                    name: a
-                )
-                1: Expr_Variable(
-                    name: b
-                )
-            )
-        )
-    )
-    5: Stmt_Foreach(
-        keyVar: Expr_Variable(
-            name: a
-        )
-        byRef: false
-        stmts: array(
-        )
-        expr: Expr_Variable(
-            name: a
-        )
-        valueVar: Expr_List(
-            vars: array(
-                0: Expr_Variable(
-                    name: b
-                )
-                1: null
-                2: Expr_Variable(
-                    name: c
-                )
-            )
-        )
-    )
-    6: Stmt_Foreach(
-        keyVar: null
-        byRef: false
-        stmts: array(
-        )
-        expr: Expr_Array(
-            items: array(
-            )
-        )
-        valueVar: Expr_Variable(
-            name: b
-        )
-    )
-    7: Stmt_Foreach(
-        keyVar: null
-        byRef: false
-        stmts: array(
-        )
-        expr: Expr_Variable(
-            name: a
-        )
-        valueVar: Expr_Variable(
-            name: b
-        )
-    )
-)
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/nikic/php-parser/test/code/parser/stmt/loop/while.test
----------------------------------------------------------------------
diff --git a/vendor/nikic/php-parser/test/code/parser/stmt/loop/while.test b/vendor/nikic/php-parser/test/code/parser/stmt/loop/while.test
deleted file mode 100644
index 65f6b23..0000000
--- a/vendor/nikic/php-parser/test/code/parser/stmt/loop/while.test
+++ /dev/null
@@ -1,25 +0,0 @@
-While loop
------
-<?php
-
-while ($a) {}
-
-while ($a):
-endwhile;
------
-array(
-    0: Stmt_While(
-        cond: Expr_Variable(
-            name: a
-        )
-        stmts: array(
-        )
-    )
-    1: Stmt_While(
-        cond: Expr_Variable(
-            name: a
-        )
-        stmts: array(
-        )
-    )
-)
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/nikic/php-parser/test/code/parser/stmt/namespace/alias.test
----------------------------------------------------------------------
diff --git a/vendor/nikic/php-parser/test/code/parser/stmt/namespace/alias.test b/vendor/nikic/php-parser/test/code/parser/stmt/namespace/alias.test
deleted file mode 100644
index dc534c2..0000000
--- a/vendor/nikic/php-parser/test/code/parser/stmt/namespace/alias.test
+++ /dev/null
@@ -1,85 +0,0 @@
-Aliases (use)
------
-<?php
-
-use A\B;
-use C\D as E;
-use F\G as H, J;
-
-// evil alias notation - Do Not Use!
-use \A;
-use \A as B;
------
-array(
-    0: Stmt_Use(
-        uses: array(
-            0: Stmt_UseUse(
-                name: Name(
-                    parts: array(
-                        0: A
-                        1: B
-                    )
-                )
-                alias: B
-            )
-        )
-    )
-    1: Stmt_Use(
-        uses: array(
-            0: Stmt_UseUse(
-                name: Name(
-                    parts: array(
-                        0: C
-                        1: D
-                    )
-                )
-                alias: E
-            )
-        )
-    )
-    2: Stmt_Use(
-        uses: array(
-            0: Stmt_UseUse(
-                name: Name(
-                    parts: array(
-                        0: F
-                        1: G
-                    )
-                )
-                alias: H
-            )
-            1: Stmt_UseUse(
-                name: Name(
-                    parts: array(
-                        0: J
-                    )
-                )
-                alias: J
-            )
-        )
-    )
-    3: Stmt_Use(
-        uses: array(
-            0: Stmt_UseUse(
-                name: Name(
-                    parts: array(
-                        0: A
-                    )
-                )
-                alias: A
-            )
-        )
-    )
-    4: Stmt_Use(
-        uses: array(
-            0: Stmt_UseUse(
-                name: Name(
-                    parts: array(
-                        0: A
-                    )
-                )
-                alias: B
-            )
-        )
-    )
-)
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/nikic/php-parser/test/code/parser/stmt/namespace/braced.test
----------------------------------------------------------------------
diff --git a/vendor/nikic/php-parser/test/code/parser/stmt/namespace/braced.test b/vendor/nikic/php-parser/test/code/parser/stmt/namespace/braced.test
deleted file mode 100644
index 1fefc1d..0000000
--- a/vendor/nikic/php-parser/test/code/parser/stmt/namespace/braced.test
+++ /dev/null
@@ -1,42 +0,0 @@
-Braced namespaces
------
-<?php
-
-namespace Foo\Bar {
-    foo;
-}
-namespace {
-    bar;
-}
------
-array(
-    0: Stmt_Namespace(
-        name: Name(
-            parts: array(
-                0: Foo
-                1: Bar
-            )
-        )
-        stmts: array(
-            0: Expr_ConstFetch(
-                name: Name(
-                    parts: array(
-                        0: foo
-                    )
-                )
-            )
-        )
-    )
-    1: Stmt_Namespace(
-        name: null
-        stmts: array(
-            0: Expr_ConstFetch(
-                name: Name(
-                    parts: array(
-                        0: bar
-                    )
-                )
-            )
-        )
-    )
-)
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/nikic/php-parser/test/code/parser/stmt/namespace/mix.test-fail
----------------------------------------------------------------------
diff --git a/vendor/nikic/php-parser/test/code/parser/stmt/namespace/mix.test-fail b/vendor/nikic/php-parser/test/code/parser/stmt/namespace/mix.test-fail
deleted file mode 100644
index 77d65c4..0000000
--- a/vendor/nikic/php-parser/test/code/parser/stmt/namespace/mix.test-fail
+++ /dev/null
@@ -1,13 +0,0 @@
-Namespace types cannot be mixed
------
-<?php
-namespace A;
-namespace B {}
------
-Cannot mix bracketed namespace declarations with unbracketed namespace declarations on line 3
------
-<?php
-namespace A {}
-namespace B;
------
-Cannot mix bracketed namespace declarations with unbracketed namespace declarations on line 3
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/nikic/php-parser/test/code/parser/stmt/namespace/name.test
----------------------------------------------------------------------
diff --git a/vendor/nikic/php-parser/test/code/parser/stmt/namespace/name.test b/vendor/nikic/php-parser/test/code/parser/stmt/namespace/name.test
deleted file mode 100644
index 922d26c..0000000
--- a/vendor/nikic/php-parser/test/code/parser/stmt/namespace/name.test
+++ /dev/null
@@ -1,42 +0,0 @@
-Different name types
------
-<?php
-
-A;
-A\B;
-\A\B;
-namespace\A\B;
------
-array(
-    0: Expr_ConstFetch(
-        name: Name(
-            parts: array(
-                0: A
-            )
-        )
-    )
-    1: Expr_ConstFetch(
-        name: Name(
-            parts: array(
-                0: A
-                1: B
-            )
-        )
-    )
-    2: Expr_ConstFetch(
-        name: Name_FullyQualified(
-            parts: array(
-                0: A
-                1: B
-            )
-        )
-    )
-    3: Expr_ConstFetch(
-        name: Name_Relative(
-            parts: array(
-                0: A
-                1: B
-            )
-        )
-    )
-)
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/nikic/php-parser/test/code/parser/stmt/namespace/name.test-fail
----------------------------------------------------------------------
diff --git a/vendor/nikic/php-parser/test/code/parser/stmt/namespace/name.test-fail b/vendor/nikic/php-parser/test/code/parser/stmt/namespace/name.test-fail
deleted file mode 100644
index 4bdfc49..0000000
--- a/vendor/nikic/php-parser/test/code/parser/stmt/namespace/name.test-fail
+++ /dev/null
@@ -1,25 +0,0 @@
-Invalid namespace names
------
-<?php namespace self;
------
-Cannot use 'self' as namespace name on line 1
------
-<?php namespace parent;
------
-Cannot use 'parent' as namespace name on line 1
------
-<?php namespace static;
------
-Syntax error, unexpected T_STATIC, expecting T_STRING or T_NS_SEPARATOR or '{' on line 1
------
-<?php use A as self;
------
-Cannot use A as self because 'self' is a special class name on line 1
------
-<?php use B as parent;
------
-Cannot use B as parent because 'parent' is a special class name on line 1
------
-<?php use C as static;
------
-Syntax error, unexpected T_STATIC, expecting T_STRING on line 1

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/nikic/php-parser/test/code/parser/stmt/namespace/nested.test-fail
----------------------------------------------------------------------
diff --git a/vendor/nikic/php-parser/test/code/parser/stmt/namespace/nested.test-fail b/vendor/nikic/php-parser/test/code/parser/stmt/namespace/nested.test-fail
deleted file mode 100644
index 7526b76..0000000
--- a/vendor/nikic/php-parser/test/code/parser/stmt/namespace/nested.test-fail
+++ /dev/null
@@ -1,10 +0,0 @@
-Nested namespaces are not allowed
------
-<?php
-namespace A {
-    namespace B {
-
-    }
-}
------
-Namespace declarations cannot be nested on line 3
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/nikic/php-parser/test/code/parser/stmt/namespace/notBraced.test
----------------------------------------------------------------------
diff --git a/vendor/nikic/php-parser/test/code/parser/stmt/namespace/notBraced.test b/vendor/nikic/php-parser/test/code/parser/stmt/namespace/notBraced.test
deleted file mode 100644
index d4d1017..0000000
--- a/vendor/nikic/php-parser/test/code/parser/stmt/namespace/notBraced.test
+++ /dev/null
@@ -1,45 +0,0 @@
-Semicolon style namespaces
------
-<?php
-
-namespace Foo\Bar;
-foo;
-
-namespace Bar;
-bar;
------
-array(
-    0: Stmt_Namespace(
-        name: Name(
-            parts: array(
-                0: Foo
-                1: Bar
-            )
-        )
-        stmts: array(
-            0: Expr_ConstFetch(
-                name: Name(
-                    parts: array(
-                        0: foo
-                    )
-                )
-            )
-        )
-    )
-    1: Stmt_Namespace(
-        name: Name(
-            parts: array(
-                0: Bar
-            )
-        )
-        stmts: array(
-            0: Expr_ConstFetch(
-                name: Name(
-                    parts: array(
-                        0: bar
-                    )
-                )
-            )
-        )
-    )
-)
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/nikic/php-parser/test/code/parser/stmt/namespace/outsideStmt.test
----------------------------------------------------------------------
diff --git a/vendor/nikic/php-parser/test/code/parser/stmt/namespace/outsideStmt.test b/vendor/nikic/php-parser/test/code/parser/stmt/namespace/outsideStmt.test
deleted file mode 100644
index 64d5cf0..0000000
--- a/vendor/nikic/php-parser/test/code/parser/stmt/namespace/outsideStmt.test
+++ /dev/null
@@ -1,37 +0,0 @@
-Some statements may occur outside of namespaces
------
-<?php
-declare(A='B');
-namespace B {
-
-}
-__halt_compiler()
-?>
-Hi!
------
-array(
-    0: Stmt_Declare(
-        declares: array(
-            0: Stmt_DeclareDeclare(
-                key: A
-                value: Scalar_String(
-                    value: B
-                )
-            )
-        )
-        stmts: array(
-        )
-    )
-    1: Stmt_Namespace(
-        name: Name(
-            parts: array(
-                0: B
-            )
-        )
-        stmts: array(
-        )
-    )
-    2: Stmt_HaltCompiler(
-        remaining: Hi!
-    )
-)
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/nikic/php-parser/test/code/parser/stmt/namespace/outsideStmt.test-fail
----------------------------------------------------------------------
diff --git a/vendor/nikic/php-parser/test/code/parser/stmt/namespace/outsideStmt.test-fail b/vendor/nikic/php-parser/test/code/parser/stmt/namespace/outsideStmt.test-fail
deleted file mode 100644
index 98c0460..0000000
--- a/vendor/nikic/php-parser/test/code/parser/stmt/namespace/outsideStmt.test-fail
+++ /dev/null
@@ -1,13 +0,0 @@
-There (mostly) can't be statements outside of namespaces
------
-<?php
-echo 1;
-namespace A;
------
-Namespace declaration statement has to be the very first statement in the script on line 3
------
-<?php
-namespace A {}
-echo 1;
------
-No code may exist outside of namespace {} on line 3
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/nikic/php-parser/test/code/parser/stmt/switch.test
----------------------------------------------------------------------
diff --git a/vendor/nikic/php-parser/test/code/parser/stmt/switch.test b/vendor/nikic/php-parser/test/code/parser/stmt/switch.test
deleted file mode 100644
index 8799a7a..0000000
--- a/vendor/nikic/php-parser/test/code/parser/stmt/switch.test
+++ /dev/null
@@ -1,67 +0,0 @@
-Switch
------
-<?php
-
-switch ($a) {
-    case 0:
-    case 1;
-    default:
-}
-
-// alternative syntax
-switch ($a):
-endswitch;
-
-// leading semicolon
-switch ($a) { ; }
-switch ($a): ; endswitch;
------
-array(
-    0: Stmt_Switch(
-        cond: Expr_Variable(
-            name: a
-        )
-        cases: array(
-            0: Stmt_Case(
-                cond: Scalar_LNumber(
-                    value: 0
-                )
-                stmts: array(
-                )
-            )
-            1: Stmt_Case(
-                cond: Scalar_LNumber(
-                    value: 1
-                )
-                stmts: array(
-                )
-            )
-            2: Stmt_Case(
-                cond: null
-                stmts: array(
-                )
-            )
-        )
-    )
-    1: Stmt_Switch(
-        cond: Expr_Variable(
-            name: a
-        )
-        cases: array(
-        )
-    )
-    2: Stmt_Switch(
-        cond: Expr_Variable(
-            name: a
-        )
-        cases: array(
-        )
-    )
-    3: Stmt_Switch(
-        cond: Expr_Variable(
-            name: a
-        )
-        cases: array(
-        )
-    )
-)
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/nikic/php-parser/test/code/parser/stmt/tryCatch.test
----------------------------------------------------------------------
diff --git a/vendor/nikic/php-parser/test/code/parser/stmt/tryCatch.test b/vendor/nikic/php-parser/test/code/parser/stmt/tryCatch.test
deleted file mode 100644
index da67fe3..0000000
--- a/vendor/nikic/php-parser/test/code/parser/stmt/tryCatch.test
+++ /dev/null
@@ -1,114 +0,0 @@
-Try/catch
------
-<?php
-
-try {
-    doTry();
-} catch (A $b) {
-    doCatchA();
-} catch (B $c) {
-    doCatchB();
-} finally {
-    doFinally();
-}
-
-// no finally
-try { }
-catch (A $b) { }
-
-// no catch
-try { }
-finally { }
-
------
-array(
-    0: Stmt_TryCatch(
-        stmts: array(
-            0: Expr_FuncCall(
-                name: Name(
-                    parts: array(
-                        0: doTry
-                    )
-                )
-                args: array(
-                )
-            )
-        )
-        catches: array(
-            0: Stmt_Catch(
-                type: Name(
-                    parts: array(
-                        0: A
-                    )
-                )
-                var: b
-                stmts: array(
-                    0: Expr_FuncCall(
-                        name: Name(
-                            parts: array(
-                                0: doCatchA
-                            )
-                        )
-                        args: array(
-                        )
-                    )
-                )
-            )
-            1: Stmt_Catch(
-                type: Name(
-                    parts: array(
-                        0: B
-                    )
-                )
-                var: c
-                stmts: array(
-                    0: Expr_FuncCall(
-                        name: Name(
-                            parts: array(
-                                0: doCatchB
-                            )
-                        )
-                        args: array(
-                        )
-                    )
-                )
-            )
-        )
-        finallyStmts: array(
-            0: Expr_FuncCall(
-                name: Name(
-                    parts: array(
-                        0: doFinally
-                    )
-                )
-                args: array(
-                )
-            )
-        )
-    )
-    1: Stmt_TryCatch(
-        stmts: array(
-        )
-        catches: array(
-            0: Stmt_Catch(
-                type: Name(
-                    parts: array(
-                        0: A
-                    )
-                )
-                var: b
-                stmts: array(
-                )
-            )
-        )
-        finallyStmts: null
-    )
-    2: Stmt_TryCatch(
-        stmts: array(
-        )
-        catches: array(
-        )
-        finallyStmts: array(
-        )
-    )
-)
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/nikic/php-parser/test/code/parser/stmt/tryCatch.test-fail
----------------------------------------------------------------------
diff --git a/vendor/nikic/php-parser/test/code/parser/stmt/tryCatch.test-fail b/vendor/nikic/php-parser/test/code/parser/stmt/tryCatch.test-fail
deleted file mode 100644
index 0d91ce2..0000000
--- a/vendor/nikic/php-parser/test/code/parser/stmt/tryCatch.test-fail
+++ /dev/null
@@ -1,7 +0,0 @@
-Cannot use try without catch or finally
------
-<?php
-
-try { }
------
-Cannot use try without catch or finally on line 3
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/nikic/php-parser/test/code/parser/stmt/unset.test
----------------------------------------------------------------------
diff --git a/vendor/nikic/php-parser/test/code/parser/stmt/unset.test b/vendor/nikic/php-parser/test/code/parser/stmt/unset.test
deleted file mode 100644
index c69679e..0000000
--- a/vendor/nikic/php-parser/test/code/parser/stmt/unset.test
+++ /dev/null
@@ -1,26 +0,0 @@
-Unset
------
-<?php
-
-unset($a);
-unset($b, $c);
------
-array(
-    0: Stmt_Unset(
-        vars: array(
-            0: Expr_Variable(
-                name: a
-            )
-        )
-    )
-    1: Stmt_Unset(
-        vars: array(
-            0: Expr_Variable(
-                name: b
-            )
-            1: Expr_Variable(
-                name: c
-            )
-        )
-    )
-)
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/nikic/php-parser/test/code/prettyPrinter/closure.test
----------------------------------------------------------------------
diff --git a/vendor/nikic/php-parser/test/code/prettyPrinter/closure.test b/vendor/nikic/php-parser/test/code/prettyPrinter/closure.test
deleted file mode 100644
index 7e4fcfd..0000000
--- a/vendor/nikic/php-parser/test/code/prettyPrinter/closure.test
+++ /dev/null
@@ -1,18 +0,0 @@
-Closures
------
-<?php
-
-$closureWithArgs = function ($arg1, $arg2) {
-    $comment = 'closure body';
-};
-
-$closureWithArgsAndVars = function ($arg1, $arg2) use($var1, $var2) {
-    $comment = 'closure body';
-};
------
-$closureWithArgs = function ($arg1, $arg2) {
-    $comment = 'closure body';
-};
-$closureWithArgsAndVars = function ($arg1, $arg2) use($var1, $var2) {
-    $comment = 'closure body';
-};
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/nikic/php-parser/test/code/prettyPrinter/comments.test
----------------------------------------------------------------------
diff --git a/vendor/nikic/php-parser/test/code/prettyPrinter/comments.test b/vendor/nikic/php-parser/test/code/prettyPrinter/comments.test
deleted file mode 100644
index 7c2a474..0000000
--- a/vendor/nikic/php-parser/test/code/prettyPrinter/comments.test
+++ /dev/null
@@ -1,56 +0,0 @@
-Comments
------
-<?php
-
-function justForIndentation()
-{
-    // Some text
-    # Some text
-    /* Some text */
-    /** Some text */
-    /**
-     * Some text.
-     * Some more text.
-     */
-    /*
-     * Some text.
-     * Some more text.
-     */
-    /*
-        Some text.
-        Some more text.
-    */
-    /* Some text.
-       More text. */
-    /* Some text.
-       More text.
-       Even more text. */
-    $foo;
-}
-
------
-function justForIndentation()
-{
-    // Some text
-    # Some text
-    /* Some text */
-    /** Some text */
-    /**
-     * Some text.
-     * Some more text.
-     */
-    /*
-     * Some text.
-     * Some more text.
-     */
-    /*
-        Some text.
-        Some more text.
-    */
-    /* Some text.
-       More text. */
-    /* Some text.
-       More text.
-       Even more text. */
-    $foo;
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/nikic/php-parser/test/code/prettyPrinter/include.test
----------------------------------------------------------------------
diff --git a/vendor/nikic/php-parser/test/code/prettyPrinter/include.test b/vendor/nikic/php-parser/test/code/prettyPrinter/include.test
deleted file mode 100644
index 3c40779..0000000
--- a/vendor/nikic/php-parser/test/code/prettyPrinter/include.test
+++ /dev/null
@@ -1,7 +0,0 @@
-Include
------
-<?php
-
-(include $foo) && (include $bar);
------
-(include $foo) && (include $bar);
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/nikic/php-parser/test/code/prettyPrinter/inlineHTMLandPHPtest.file-test
----------------------------------------------------------------------
diff --git a/vendor/nikic/php-parser/test/code/prettyPrinter/inlineHTMLandPHPtest.file-test b/vendor/nikic/php-parser/test/code/prettyPrinter/inlineHTMLandPHPtest.file-test
deleted file mode 100644
index 74a2685..0000000
--- a/vendor/nikic/php-parser/test/code/prettyPrinter/inlineHTMLandPHPtest.file-test
+++ /dev/null
@@ -1,52 +0,0 @@
-File containing both inline HTML and PHP
------
-HTML
-<?php
-echo 'PHP';
------
-HTML
-<?php
-echo 'PHP';
------
-<?php
-echo 'PHP';
-?>
-HTML
------
-<?php
-
-echo 'PHP';
-?>
-HTML
------
-HTML
-<?php
-echo 'PHP';
-?>
-HTML
------
-HTML
-<?php
-echo 'PHP';
-?>
-HTML
------
-HTML
-<?php
-echo 'PHP';
-?>
-HTML
-<?php
-echo 'PHP';
-?>
-HTML
------
-HTML
-<?php
-echo 'PHP';
-?>
-HTML
-<?php
-echo 'PHP';
-?>
-HTML
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/nikic/php-parser/test/code/prettyPrinter/namespaces.test
----------------------------------------------------------------------
diff --git a/vendor/nikic/php-parser/test/code/prettyPrinter/namespaces.test b/vendor/nikic/php-parser/test/code/prettyPrinter/namespaces.test
deleted file mode 100644
index 82bbf6d..0000000
--- a/vendor/nikic/php-parser/test/code/prettyPrinter/namespaces.test
+++ /dev/null
@@ -1,58 +0,0 @@
-Namespaces
------
-<?php
-
-namespace Foo;
-
-function foo()
-{
-
-}
-
-namespace Bar;
-
-function bar()
-{
-
-}
------
-namespace Foo;
-
-function foo()
-{
-
-}
-namespace Bar;
-
-function bar()
-{
-
-}
------
-<?php
-
-namespace Foo {
-    function foo()
-    {
-
-    }
-}
-
-namespace {
-    function glob() {
-
-    }
-}
------
-namespace Foo {
-    function foo()
-    {
-
-    }
-}
-namespace {
-    function glob()
-    {
-
-    }
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/nikic/php-parser/test/code/prettyPrinter/onlyInlineHTML.file-test
----------------------------------------------------------------------
diff --git a/vendor/nikic/php-parser/test/code/prettyPrinter/onlyInlineHTML.file-test b/vendor/nikic/php-parser/test/code/prettyPrinter/onlyInlineHTML.file-test
deleted file mode 100644
index 0e2d4f7..0000000
--- a/vendor/nikic/php-parser/test/code/prettyPrinter/onlyInlineHTML.file-test
+++ /dev/null
@@ -1,11 +0,0 @@
-File containing only inline HTML
------
-Hallo World
-Foo Bar
-Bar Foo
-World Hallo
------
-Hallo World
-Foo Bar
-Bar Foo
-World Hallo
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/nikic/php-parser/test/code/prettyPrinter/onlyPHP.file-test
----------------------------------------------------------------------
diff --git a/vendor/nikic/php-parser/test/code/prettyPrinter/onlyPHP.file-test b/vendor/nikic/php-parser/test/code/prettyPrinter/onlyPHP.file-test
deleted file mode 100644
index 6b7ec49..0000000
--- a/vendor/nikic/php-parser/test/code/prettyPrinter/onlyPHP.file-test
+++ /dev/null
@@ -1,11 +0,0 @@
-File containing only PHP
------
-<?php
-
-echo 'Foo Bar';
-echo 'Bar Foo';
------
-<?php
-
-echo 'Foo Bar';
-echo 'Bar Foo';
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/nikic/php-parser/test/code/prettyPrinter/parentheses.test
----------------------------------------------------------------------
diff --git a/vendor/nikic/php-parser/test/code/prettyPrinter/parentheses.test b/vendor/nikic/php-parser/test/code/prettyPrinter/parentheses.test
deleted file mode 100644
index 0e5b572..0000000
--- a/vendor/nikic/php-parser/test/code/prettyPrinter/parentheses.test
+++ /dev/null
@@ -1,45 +0,0 @@
-Pretty printer generates least-parentheses output
------
-<?php
-
-echo 'abc' . 'cde' . 'fgh';
-echo 'abc' . ('cde' . 'fgh');
-
-echo 'abc' . 1 + 2 . 'fgh';
-echo 'abc' . (1 + 2) . 'fgh';
-
-echo 1 * 2 + 3 / 4 % 5 . 6;
-echo 1 * (2 + 3) / (4 % (5 . 6));
-
-$a = $b = $c = $d = $f && true;
-($a = $b = $c = $d = $f) && true;
-$a = $b = $c = $d = $f and true;
-$a = $b = $c = $d = ($f and true);
-
-$a ? $b : $c ? $d : $e ? $f : $g;
-$a ? $b : ($c ? $d : ($e ? $f : $g));
-$a ? $b ? $c : $d : $f;
-
-(1 > 0) > (1 < 0);
-
-// this will currently unnecessarily print !($a = $b). This is correct as far as operator precedence is concerned, but
-// the parentheses are not really necessary, because = takes only variables as the left hand side operator.
-!$a = $b;
------
-echo 'abc' . 'cde' . 'fgh';
-echo 'abc' . ('cde' . 'fgh');
-echo 'abc' . 1 + 2 . 'fgh';
-echo 'abc' . (1 + 2) . 'fgh';
-echo 1 * 2 + 3 / 4 % 5 . 6;
-echo 1 * (2 + 3) / (4 % (5 . 6));
-$a = $b = $c = $d = $f && true;
-($a = $b = $c = $d = $f) && true;
-$a = $b = $c = $d = $f and true;
-$a = $b = $c = $d = ($f and true);
-$a ? $b : $c ? $d : $e ? $f : $g;
-$a ? $b : ($c ? $d : ($e ? $f : $g));
-$a ? $b ? $c : $d : $f;
-(1 > 0) > (1 < 0);
-// this will currently unnecessarily print !($a = $b). This is correct as far as operator precedence is concerned, but
-// the parentheses are not really necessary, because = takes only variables as the left hand side operator.
-!($a = $b);
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/nikic/php-parser/test/code/prettyPrinter/switch.test
----------------------------------------------------------------------
diff --git a/vendor/nikic/php-parser/test/code/prettyPrinter/switch.test b/vendor/nikic/php-parser/test/code/prettyPrinter/switch.test
deleted file mode 100644
index 0733a48..0000000
--- a/vendor/nikic/php-parser/test/code/prettyPrinter/switch.test
+++ /dev/null
@@ -1,35 +0,0 @@
-switch/case/default
------
-<?php
-
-switch ($expr) {
-    case 0:
-        echo 'First case, with a break';
-        break;
-    case 1:
-        echo 'Second case, which falls through';
-    case 2:
-    case 3:
-    case 4:
-        echo 'Third case, return instead of break';
-        return;
-    default:
-        echo 'Default case';
-        break;
-}
------
-switch ($expr) {
-    case 0:
-        echo 'First case, with a break';
-        break;
-    case 1:
-        echo 'Second case, which falls through';
-    case 2:
-    case 3:
-    case 4:
-        echo 'Third case, return instead of break';
-        return;
-    default:
-        echo 'Default case';
-        break;
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/nikic/php-parser/test_old/run.php
----------------------------------------------------------------------
diff --git a/vendor/nikic/php-parser/test_old/run.php b/vendor/nikic/php-parser/test_old/run.php
deleted file mode 100644
index 3b1c82f..0000000
--- a/vendor/nikic/php-parser/test_old/run.php
+++ /dev/null
@@ -1,189 +0,0 @@
-<?php
-
-error_reporting(E_ALL | E_STRICT);
-ini_set('short_open_tag', false);
-
-if ('cli' !== php_sapi_name()) {
-    die('This script is designed for running on the command line.');
-}
-
-function showHelp($error) {
-    die($error . "\n\n" .
-<<<OUTPUT
-This script has to be called with the following signature:
-
-    php run.php [--no-progress] testType pathToTestFiles
-
-The test type can be either "Symfony" or "PHP".
-
-The following options are available:
-
-    --no-progress    Disables showing which file is currently tested.
-OUTPUT
-    );
-}
-
-$options = array();
-$arguments = array();
-
-// remove script name from argv
-array_shift($argv);
-
-foreach ($argv as $arg) {
-    if ('-' === $arg[0]) {
-        $options[] = $arg;
-    } else {
-        $arguments[] = $arg;
-    }
-}
-
-if (count($arguments) !== 2) {
-    showHelp('Too little arguments passed!');
-}
-
-$SHOW_PROGRESS = true;
-if (count($options) > 0) {
-    if (count($options) === 1 && $options[0] === '--no-progress') {
-        $SHOW_PROGRESS = false;
-    } else {
-        showHelp('Invalid option passed!');
-    }
-}
-
-$TEST_TYPE = $arguments[0];
-$DIR       = $arguments[1];
-
-if ('Symfony' === $TEST_TYPE) {
-    function filter_func($path) {
-        return preg_match('~\.php(?:\.cache)?$~', $path) && false === strpos($path, 'skeleton');
-    };
-} elseif ('PHP' === $TEST_TYPE) {
-    function filter_func($path) {
-        return preg_match('~\.phpt$~', $path);
-    };
-} else {
-    showHelp('Test type must be either "Symfony" or "PHP"!');
-}
-
-require_once dirname(__FILE__) . '/../lib/PHPParser/Autoloader.php';
-PHPParser_Autoloader::register();
-
-$parser        = new PHPParser_Parser(new PHPParser_Lexer_Emulative);
-$prettyPrinter = new PHPParser_PrettyPrinter_Default;
-$nodeDumper    = new PHPParser_NodeDumper;
-
-$parseFail = $ppFail = $compareFail = $count = 0;
-
-$readTime = $parseTime = $ppTime = $reparseTime = $compareTime = 0;
-$totalStartTime = microtime(true);
-
-foreach (new RecursiveIteratorIterator(
-             new RecursiveDirectoryIterator($DIR),
-             RecursiveIteratorIterator::LEAVES_ONLY)
-         as $file) {
-    if (!filter_func($file)) {
-        continue;
-    }
-
-    $startTime = microtime(true);
-    $code = file_get_contents($file);
-    $readTime += microtime(true) - $startTime;
-
-    if ('PHP' === $TEST_TYPE) {
-        if (preg_match('~(?:
-# skeleton files
-  ext.gmp.tests.001
-| ext.skeleton.tests.001
-# multibyte encoded files
-| ext.mbstring.tests.zend_multibyte-01
-| Zend.tests.multibyte.multibyte_encoding_001
-| Zend.tests.multibyte.multibyte_encoding_004
-| Zend.tests.multibyte.multibyte_encoding_005
-# token_get_all bug (https://bugs.php.net/bug.php?id=60097)
-| Zend.tests.bug47516
-# pretty print difference due to INF vs 1e1000
-| ext.standard.tests.general_functions.bug27678
-| tests.lang.bug24640
-)\.phpt$~x', $file)) {
-            continue;
-        }
-
-        if (!preg_match('~--FILE--\s*(.*?)--[A-Z]+--~s', $code, $matches)) {
-            continue;
-        }
-        if (preg_match('~--EXPECT(?:F|REGEX)?--\s*(?:Parse|Fatal) error~', $code)) {
-            continue;
-        }
-
-        $code = $matches[1];
-    }
-
-    set_time_limit(10);
-
-    ++$count;
-
-    if ($SHOW_PROGRESS) {
-        echo substr(str_pad('Testing file ' . $count . ': ' . substr($file, strlen($DIR)), 79), 0, 79), "\r";
-    }
-
-    try {
-        $startTime = microtime(true);
-        $stmts = $parser->parse($code);
-        $parseTime += microtime(true) - $startTime;
-
-        $startTime = microtime(true);
-        $code = '<?php' . "\n" . $prettyPrinter->prettyPrint($stmts);
-        $ppTime += microtime(true) - $startTime;
-
-        try {
-            $startTime = microtime(true);
-            $ppStmts = $parser->parse($code);
-            $reparseTime += microtime(true) - $startTime;
-
-            $startTime = microtime(true);
-            $same = $nodeDumper->dump($stmts) == $nodeDumper->dump($ppStmts);
-            $compareTime += microtime(true) - $startTime;
-
-            if (!$same) {
-                echo $file, ":\n    Result of initial parse and parse after pretty print differ\n";
-
-                ++$compareFail;
-            }
-        } catch (PHPParser_Error $e) {
-            echo $file, ":\n    Parse of pretty print failed with message: {$e->getMessage()}\n";
-
-            ++$ppFail;
-        }
-    } catch (PHPParser_Error $e) {
-        echo $file, ":\n    Parse failed with message: {$e->getMessage()}\n";
-
-        ++$parseFail;
-    }
-}
-
-if (0 === $parseFail && 0 === $ppFail && 0 === $compareFail) {
-    echo "\n\n", 'All tests passed.', "\n";
-} else {
-    echo "\n\n", '==========', "\n\n", 'There were: ', "\n";
-    if (0 !== $parseFail) {
-        echo '    ', $parseFail,   ' parse failures.',        "\n";
-    }
-    if (0 !== $ppFail) {
-        echo '    ', $ppFail,      ' pretty print failures.', "\n";
-    }
-    if (0 !== $compareFail) {
-        echo '    ', $compareFail, ' compare failures.',      "\n";
-    }
-}
-
-echo "\n",
-     'Tested files:         ', $count,        "\n",
-     "\n",
-     'Reading files took:   ', $readTime,    "\n",
-     'Parsing took:         ', $parseTime,   "\n",
-     'Pretty printing took: ', $ppTime,      "\n",
-     'Reparsing took:       ', $reparseTime, "\n",
-     'Comparing took:       ', $compareTime, "\n",
-     "\n",
-     'Total time:           ', microtime(true) - $totalStartTime, "\n",
-     'Maximum memory usage: ', memory_get_peak_usage(true), "\n";
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/patchwork/utf8/.travis.yml
----------------------------------------------------------------------
diff --git a/vendor/patchwork/utf8/.travis.yml b/vendor/patchwork/utf8/.travis.yml
deleted file mode 100644
index 7988d56..0000000
--- a/vendor/patchwork/utf8/.travis.yml
+++ /dev/null
@@ -1,18 +0,0 @@
-language: php
-
-php:
-  - 5.3
-  - 5.4
-  - 5.5
-  - 5.6
-  - nightly
-  - hhvm-nightly
-
-matrix:
-  allow_failures:
-    - php: nightly
-    - php: hhvm-nightly
-
-script:
-  - phpunit --coverage-text
-  - phpunit --group unicode --coverage-text

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/patchwork/utf8/CHANGELOG.md
----------------------------------------------------------------------
diff --git a/vendor/patchwork/utf8/CHANGELOG.md b/vendor/patchwork/utf8/CHANGELOG.md
deleted file mode 100644
index 1695ada..0000000
--- a/vendor/patchwork/utf8/CHANGELOG.md
+++ /dev/null
@@ -1,172 +0,0 @@
-## v1.2.2 (2015-04-26)
-
-- Fix ucwords to be functionally the same as in-built PHP version
-- Fix iconv_set_encoding deprecation notice in PHP 5.6.0
-- remove legacy test for HHVM/PHP7
-- mb_parse_str() should have no return value
-
-## v1.2.1 (2015-01-28)
-
-- fix double declaration in mbstring shim
-
-## v1.2.0 (2015-01-12)
-
-- add u::strwidth() to get the width of a string when printed on a terminal
-- add more mbstring shims
-- add a note about https://bugs.php.net/65358
-- fail properly when COM is not loaded
-- fallback on stat() when lstat() fails
-
-## v1.2.0-beta (2014-08-05)
-
-- add best-fit mappings for UTF-8 to Code Page approximations
-- add portable Unicode filesystem access under Windows and other OSes
-
-## v1.1.29 (2015-04-26)
-
-- fix ucwords to be functionally the same as in-built PHP version
-- fix iconv_set_encoding deprecation notice in PHP 5.6.0
-- remove legacy test for HHVM/PHP7
-
-## v1.1.28 (2015-01-12)
-
-- fix mbstring shim for html-entities
-
-## v1.1.27 (2015-01-11)
-
-- update to Unicode 7.0
-- fix iconv shim compat layer
-
-## v1.1.26 (2014-11-08)
-
-- tweak composer.json
-
-## v1.1.25 (2014-08-05)
-
-- update travis matrix
-- add composer branch alias
-
-## v1.1.24 (2014-06-17)
-
-- update tests for latest HHVM fixes
-- move legacy GRAPHEME_CLUSTER_RX version to Intl shim
-
-## v1.1.23 (2014-05-22)
-
-- enable tests for PHP 5.6
-- remove HHVM from allowed failures
-
-## v1.1.22 (2014-05-06)
-
-- fix #19: don't call ini_set() when not required and gain compat with PHP5.6
-
-## v1.1.21 (2014-03-26)
-
-- fix #18 u::wordwrap() now relies on native behavior
-
-## v1.1.20 (2014-03-01)
-## v1.1.19 (2014-03-01)
-
-- fix mb_regex_encoding() being disabled on some hosting providers
-
-## v1.1.18 (2014-02-02)
-
-- require PCRE>=7.3, the first that correctly checks UTF-8 validity
-- enable HHVM on Travis CI
-
-## v1.1.17 (2014-01-02)
-
-- enable Travis CI and SensioLabsInsight
-- add shims for mb_check_encoding, mb_detect_encoding, mb_detect_order,
-  mb_language and mb_encoding_aliases
-- mbstring shim fix: alias UTF8 to UTF-8
-- more tests
-
-## v1.1.16 (2013-12-06)
-
-- fix $_FILES bootup filtering
-- fix mbstring shim behavior with invalid utf8 strings
-
-## v1.1.15 (2013-11-23)
-
-- u::toAscii() is now locale sensitive and allows a substitution character
-- use LSB for more extension openness
-- handle null for mb_substr() shim length as in PHP 5.4.8
-- fix casts to string
-- fix mbstring MB_CASE_TITLE shim on edge case
-- small optimizations
-- add a changelog
-
-## v1.1.14 (2013-11-04)
-
-- set default_charset to UTF-8 at bootup
-- remove bootup PCRE warning
-- fix iconv internal_encoding shim
-- fix bootup dependencies
-- add tests for normalizers consts
-- readme update
-
-## v1.1.13 (2013-10-11)
-
-- new u::filter(): normalizes to UTF-8 NFC, converting from CP-1252 when needed
-- new u::json_decode(), u::filter_input() and u::filter_input_array() for NFC safeness
-- reference Unicode 6.3
-- more tests
-- readme update
-
-## v1.1.12 (2013-10-03)
-
-- new Patchwork\TurkishUtf8 class extends Patchwork\Utf8 with Turkish specifics
-- expose Patchwork\Utf8\Bootup::filterString() for UF-8 NFC strings normalization
-- normalize inputs EOL to work around https://bugs.php.net/65732
-- update composer.json
-
-## v1.1.11 (2013-08-19)
-
-- updates related to PHP bugs 52211 and 61860
-- fixes and tests for iconv shim
-- fixes and tests for mbstring shim
-
-## v1.1.10 (2013-08-13)
-
-- update .gitattributes export-ignore
-- fixes and tests for intl::grapheme_extract() shim
-- fixes and tests for iconv shim
-- fixes and tests for mbstring shim
-
-## v1.1.9 (2013-08-04)
-
-- know that PHP bug 61860 has been fixed in 5.5.1
-- fix intl::grapheme_strlen() shim on edge case
-- fix case sensitive encoding checks for mbstring shim
-- some more fixes, tests and optimizations
-
-## v1.1.8 since v1.1.0 (2013-05-24)
-
-- filter leading combining chars in inputs for NFC safeness
-- fixes, tests and optimizations
-- readme update
-
-## v1.1.0 (2013-04-18)
-
-- PSR-0 autoloading and explicit bootup configuration is now required
-
-## v1.0.6 since v1.0.0 (2013-04-22)
-
-- add extra characters for ASCII transliterations
-- move bootup stages in namespaced functions for greater modularity
-- NFC normalization for autoglobal inputs
-- better setlocale() initialization
-- fix fatal error caused by multiple bootup inclusion
-- fix bootup
-
-## v1.0.0 (2012-10-15)
-
-- first official release of a work started in 2007
-- Apache v2.0 / GPL v2.0 dual-licensed
-- PHP portability implementations for mbstring, iconv, intl grapheme_*() and utf8_encode/decode()
-- Unicode compliant and portable Normalizer
-- grapheme clusters aware UTF-8 handling string functions replica
-- PHP runtime environment configuration for UTF-8
-- extra functions for UTF-8 validity checks, transliterations and case folding
-- covered by unit tests

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/patchwork/utf8/README.md
----------------------------------------------------------------------
diff --git a/vendor/patchwork/utf8/README.md b/vendor/patchwork/utf8/README.md
deleted file mode 100644
index e194a17..0000000
--- a/vendor/patchwork/utf8/README.md
+++ /dev/null
@@ -1,153 +0,0 @@
-Patchwork UTF-8 for PHP
-=======================
-
-[![Latest Stable Version](https://poser.pugx.org/patchwork/utf8/v/stable.png)](https://packagist.org/packages/patchwork/utf8)
-[![Total Downloads](https://poser.pugx.org/patchwork/utf8/downloads.png)](https://packagist.org/packages/patchwork/utf8)
-[![Build Status](https://secure.travis-ci.org/tchwork/utf8.png?branch=master)](http://travis-ci.org/tchwork/utf8)
-[![SensioLabsInsight](https://insight.sensiolabs.com/projects/666c8ae7-0997-4d27-883a-6089ce3cc76b/mini.png)](https://insight.sensiolabs.com/projects/666c8ae7-0997-4d27-883a-6089ce3cc76b)
-
-Patchwork UTF-8 gives PHP developpers extensive, portable and performant
-handling of UTF-8 and [grapheme clusters](http://unicode.org/reports/tr29/).
-
-It provides both :
-
-- a portability layer for `mbstring`, `iconv`, and intl `Normalizer` and
-  `grapheme_*` functions,
-- an UTF-8 grapheme clusters aware replica of native string functions.
-
-It can also serve as a documentation source referencing the practical problems
-that arise when handling UTF-8 in PHP: Unicode concepts, related algorithms,
-bugs in PHP core, workarounds, etc.
-
-Version 1.2 adds best-fit mappings for UTF-8 to *Code Page* approximations.
-It also adds Unicode filesystem access under Windows, using preferably
-[wfio](https://github.com/kenjiuno/php-wfio) or a COM based fallback otherwise.
-
-Portability
------------
-
-Unicode handling in PHP is best performed using a combo of `mbstring`, `iconv`,
-`intl` and `pcre` with the `u` flag enabled. But when an application is expected
-to run on many servers, you should be aware that these 4 extensions are not
-always enabled.
-
-Patchwork UTF-8 provides pure PHP implementations for 3 of those 4 extensions.
-`pcre` compiled with unicode support is required but is widely available.
-The following set of portability-fallbacks allows an application to run on a
-server even if one or more of those extensions are not enabled:
-
-- *utf8_encode, utf8_decode*,
-- `mbstring`: *mb_check_encoding, mb_convert_case, mb_convert_encoding,
-  mb_decode_mimeheader, mb_detect_encoding, mb_detect_order,
-  mb_encode_mimeheader, mb_encoding_aliases, mb_get_info, mb_http_input,
-  mb_http_output, mb_internal_encoding, mb_language, mb_list_encodings,
-  mb_output_handler, mb_strlen, mb_strpos, mb_strrpos, mb_strtolower,
-  mb_strtoupper, mb_stripos, mb_stristr, mb_strrchr, mb_strrichr, mb_strripos,
-  mb_strstr, mb_strwidth, mb_substitute_character, mb_substr, mb_substr_count*,
-- `iconv`: *iconv, iconv_mime_decode, iconv_mime_decode_headers,
-  iconv_get_encoding, iconv_set_encoding, iconv_mime_encode, ob_iconv_handler,
-  iconv_strlen, iconv_strpos, iconv_strrpos, iconv_substr*,
-- `intl`: *Normalizer, grapheme_extract, grapheme_stripos, grapheme_stristr,
-  grapheme_strlen, grapheme_strpos, grapheme_strripos, grapheme_strrpos,
-  grapheme_strstr, grapheme_substr, normalizer_is_normalized,
-  normalizer_normalize*.
-
-Patchwork\Utf8
---------------
-
-[Grapheme clusters](http://unicode.org/reports/tr29/) should always be
-considered when working with generic Unicode strings. The `Patchwork\Utf8`
-class implements the quasi-complete set of native string functions that need
-UTF-8 grapheme clusters awareness. Function names, arguments and behavior
-carefully replicates native PHP string functions.
-
-Some more functions are also provided to help handling UTF-8 strings:
-
-- *filter()*: normalizes to UTF-8 NFC, converting from [CP-1252](http://wikipedia.org/wiki/CP-1252) when needed,
-- *isUtf8()*: checks if a string contains well formed UTF-8 data,
-- *toAscii()*: generic UTF-8 to ASCII transliteration,
-- *strtocasefold()*: unicode transformation for caseless matching,
-- *strtonatfold()*: generic case sensitive transformation for collation matching,
-- *strwidth()*: computes the width of a string when printed on a terminal,
-- *wrapPath()*: unicode filesystem access under Windows and other OSes.
-
-Mirrored string functions are:
-*strlen, substr, strpos, stripos, strrpos, strripos, strstr, stristr, strrchr,
-strrichr, strtolower, strtoupper, wordwrap, chr, count_chars, ltrim, ord, rtrim,
-trim, str_ireplace, str_pad, str_shuffle, str_split, str_word_count, strcmp,
-strnatcmp, strcasecmp, strnatcasecmp, strncasecmp, strncmp, strcspn, strpbrk,
-strrev, strspn, strtr, substr_compare, substr_count, substr_replace, ucfirst,
-lcfirst, ucwords, number_format, utf8_encode, utf8_decode, json_decode,
-filter_input, filter_input_array*.
-
-Notably missing (but hard to replicate) are *printf*-family functions.
-
-The implementation favors performance over full edge cases handling.
-It generally works on UTF-8 normalized strings and provides filters to get them.
-
-As the turkish locale requires special cares, a `Patchwork\TurkishUtf8` class
-is provided for working with this locale. It clones all the features of
-`Patchwork\Utf8` but knows about the turkish specifics.
-
-Usage
------
-
-The recommended way to install Patchwork UTF-8 is [through
-composer](http://getcomposer.org). Just create a `composer.json` file and run
-the `php composer.phar install` command to install it:
-
-    {
-        "require": {
-            "patchwork/utf8": "~1.2"
-        }
-    }
-
-Then, early in your bootstrap sequence, you have to configure your environment:
-
-```php
-\Patchwork\Utf8\Bootup::initAll(); // Enables the portablity layer and configures PHP for UTF-8
-\Patchwork\Utf8\Bootup::filterRequestUri(); // Redirects to an UTF-8 encoded URL if it's not already the case
-\Patchwork\Utf8\Bootup::filterRequestInputs(); // Normalizes HTTP inputs to UTF-8 NFC
-```
-
-Run `phpunit` to see the code in action.
-
-Make sure that you are confident about using UTF-8 by reading
-[Character Sets / Character Encoding Issues](http://www.phpwact.org/php/i18n/charsets)
-and [Handling UTF-8 with PHP](http://www.phpwact.org/php/i18n/utf-8),
-or [PHP et UTF-8](http://julp.lescigales.org/articles/3-php-et-utf-8.html) for french readers.
-
-You should also get familiar with the concept of
-[Unicode Normalization](http://en.wikipedia.org/wiki/Unicode_equivalence) and
-[Grapheme Clusters](http://unicode.org/reports/tr29/).
-
-Do not blindly replace all use of PHP's string functions. Most of the time you
-will not need to, and you will be introducing a significant performance overhead
-to your application.
-
-Screen your input on the *outer perimeter* so that only well formed UTF-8 pass
-through. When dealing with badly formed UTF-8, you should not try to fix it
-(see [Unicode Security Considerations](http://www.unicode.org/reports/tr36/#Deletion_of_Noncharacters)).
-Instead, consider it as [CP-1252](http://wikipedia.org/wiki/CP-1252) and use
-`Patchwork\Utf8::utf8_encode()` to get an UTF-8 string. Don't forget also to
-choose one unicode normalization form and stick to it. NFC is now the defacto
-standard. `Patchwork\Utf8::filter()` implements this behavior: it converts from
-CP1252 and to NFC.
-
-This library is orthogonal to `mbstring.func_overload` and will not work if the
-php.ini setting is enabled.
-
-Licensing
----------
-
-Patchwork\Utf8 is free software; you can redistribute it and/or modify it under
-the terms of the (at your option):
-- [Apache License v2.0](http://apache.org/licenses/LICENSE-2.0.txt), or
-- [GNU General Public License v2.0](http://gnu.org/licenses/gpl-2.0.txt).
-
-Unicode handling requires tedious work to be implemented and maintained on the
-long run. As such, contributions such as unit tests, bug reports, comments or
-patches licensed under both licenses are really welcomed.
-
-I hope many projects could adopt this code and together help solve the unicode
-subject for PHP.

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/patchwork/utf8/class/Normalizer.php
----------------------------------------------------------------------
diff --git a/vendor/patchwork/utf8/class/Normalizer.php b/vendor/patchwork/utf8/class/Normalizer.php
deleted file mode 100644
index 3acd5f3..0000000
--- a/vendor/patchwork/utf8/class/Normalizer.php
+++ /dev/null
@@ -1,17 +0,0 @@
-<?php // vi: set fenc=utf-8 ts=4 sw=4 et:
-/*
- * Copyright (C) 2013 Nicolas Grekas - p@tchwork.com
- *
- * This library is free software; you can redistribute it and/or modify it
- * under the terms of the (at your option):
- * Apache License v2.0 (http://apache.org/licenses/LICENSE-2.0.txt), or
- * GNU General Public License v2.0 (http://gnu.org/licenses/gpl-2.0.txt).
- */
-
-/**
- * Normalizer plugs Patchwork\PHP\Shim\Normalizer as a PHP implementation
- * of intl's Normalizer when the intl extension in not enabled.
- */
-class Normalizer extends Patchwork\PHP\Shim\Normalizer
-{
-}

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/patchwork/utf8/class/Patchwork/PHP/Shim/Iconv.php
----------------------------------------------------------------------
diff --git a/vendor/patchwork/utf8/class/Patchwork/PHP/Shim/Iconv.php b/vendor/patchwork/utf8/class/Patchwork/PHP/Shim/Iconv.php
deleted file mode 100644
index 43e5933..0000000
--- a/vendor/patchwork/utf8/class/Patchwork/PHP/Shim/Iconv.php
+++ /dev/null
@@ -1,646 +0,0 @@
-<?php // vi: set fenc=utf-8 ts=4 sw=4 et:
-/*
- * Copyright (C) 2013 Nicolas Grekas - p@tchwork.com
- *
- * This library is free software; you can redistribute it and/or modify it
- * under the terms of the (at your option):
- * Apache License v2.0 (http://apache.org/licenses/LICENSE-2.0.txt), or
- * GNU General Public License v2.0 (http://gnu.org/licenses/gpl-2.0.txt).
- */
-
-namespace Patchwork\PHP\Shim;
-
-/**
- * iconv implementation in pure PHP, UTF-8 centric.
- *
- * Implemented:
- * - iconv              - Convert string to requested character encoding
- * - iconv_mime_decode  - Decodes a MIME header field
- * - iconv_mime_decode_headers - Decodes multiple MIME header fields at once
- * - iconv_get_encoding - Retrieve internal configuration variables of iconv extension
- * - iconv_set_encoding - Set current setting for character encoding conversion
- * - iconv_mime_encode  - Composes a MIME header field
- * - ob_iconv_handler   - Convert character encoding as output buffer handler
- * - iconv_strlen       - Returns the character count of string
- * - iconv_strpos       - Finds position of first occurrence of a needle within a haystack
- * - iconv_strrpos      - Finds the last occurrence of a needle within a haystack
- * - iconv_substr       - Cut out part of a string
- *
- * Charsets available for convertion are defined by files
- * in the charset/ directory and by Iconv::$alias below.
- * You're welcome to send back any addition you make.
- */
-class Iconv
-{
-    const
-
-    ERROR_ILLEGAL_CHARACTER = 'iconv(): Detected an illegal character in input string',
-    ERROR_WRONG_CHARSET     = 'iconv(): Wrong charset, conversion from `%s\' to `%s\' is not allowed';
-
-
-    public static
-
-    $input_encoding = 'utf-8',
-    $output_encoding = 'utf-8',
-    $internal_encoding = 'utf-8';
-
-    protected static
-
-    $alias = array(
-        'utf8' => 'utf-8',
-        'ascii' => 'us-ascii',
-        'tis-620' => 'iso-8859-11',
-        'cp1250' => 'windows-1250',
-        'cp1251' => 'windows-1251',
-        'cp1252' => 'windows-1252',
-        'cp1253' => 'windows-1253',
-        'cp1254' => 'windows-1254',
-        'cp1255' => 'windows-1255',
-        'cp1256' => 'windows-1256',
-        'cp1257' => 'windows-1257',
-        'cp1258' => 'windows-1258',
-        'shift-jis' => 'cp932',
-        'shift_jis' => 'cp932',
-        'latin1' => 'iso-8859-1',
-        'latin2' => 'iso-8859-2',
-        'latin3' => 'iso-8859-3',
-        'latin4' => 'iso-8859-4',
-        'latin5' => 'iso-8859-9',
-        'latin6' => 'iso-8859-10',
-        'latin7' => 'iso-8859-13',
-        'latin8' => 'iso-8859-14',
-        'latin9' => 'iso-8859-15',
-        'latin10' => 'iso-8859-16',
-        'iso8859-1' => 'iso-8859-1',
-        'iso8859-2' => 'iso-8859-2',
-        'iso8859-3' => 'iso-8859-3',
-        'iso8859-4' => 'iso-8859-4',
-        'iso8859-5' => 'iso-8859-5',
-        'iso8859-6' => 'iso-8859-6',
-        'iso8859-7' => 'iso-8859-7',
-        'iso8859-8' => 'iso-8859-8',
-        'iso8859-9' => 'iso-8859-9',
-        'iso8859-10' => 'iso-8859-10',
-        'iso8859-11' => 'iso-8859-11',
-        'iso8859-12' => 'iso-8859-12',
-        'iso8859-13' => 'iso-8859-13',
-        'iso8859-14' => 'iso-8859-14',
-        'iso8859-15' => 'iso-8859-15',
-        'iso8859-16' => 'iso-8859-16',
-        'iso_8859-1' => 'iso-8859-1',
-        'iso_8859-2' => 'iso-8859-2',
-        'iso_8859-3' => 'iso-8859-3',
-        'iso_8859-4' => 'iso-8859-4',
-        'iso_8859-5' => 'iso-8859-5',
-        'iso_8859-6' => 'iso-8859-6',
-        'iso_8859-7' => 'iso-8859-7',
-        'iso_8859-8' => 'iso-8859-8',
-        'iso_8859-9' => 'iso-8859-9',
-        'iso_8859-10' => 'iso-8859-10',
-        'iso_8859-11' => 'iso-8859-11',
-        'iso_8859-12' => 'iso-8859-12',
-        'iso_8859-13' => 'iso-8859-13',
-        'iso_8859-14' => 'iso-8859-14',
-        'iso_8859-15' => 'iso-8859-15',
-        'iso_8859-16' => 'iso-8859-16',
-        'iso88591' => 'iso-8859-1',
-        'iso88592' => 'iso-8859-2',
-        'iso88593' => 'iso-8859-3',
-        'iso88594' => 'iso-8859-4',
-        'iso88595' => 'iso-8859-5',
-        'iso88596' => 'iso-8859-6',
-        'iso88597' => 'iso-8859-7',
-        'iso88598' => 'iso-8859-8',
-        'iso88599' => 'iso-8859-9',
-        'iso885910' => 'iso-8859-10',
-        'iso885911' => 'iso-8859-11',
-        'iso885912' => 'iso-8859-12',
-        'iso885913' => 'iso-8859-13',
-        'iso885914' => 'iso-8859-14',
-        'iso885915' => 'iso-8859-15',
-        'iso885916' => 'iso-8859-16',
-    ),
-
-    $translit_map = array(),
-    $convert_map = array(),
-    $error_handler,
-    $last_error,
-
-    $ulen_mask = array("\xC0" => 2, "\xD0" => 2, "\xE0" => 3, "\xF0" => 4),
-    $is_valid_utf8;
-
-
-    static function iconv($in_charset, $out_charset, $str)
-    {
-        if ('' === $str .= '') return '';
-
-        // Prepare for //IGNORE and //TRANSLIT
-
-        $TRANSLIT = $IGNORE = '';
-
-        $out_charset = strtolower($out_charset);
-        $in_charset  = strtolower($in_charset );
-
-        '' === $out_charset && $out_charset = 'iso-8859-1';
-        '' ===  $in_charset &&  $in_charset = 'iso-8859-1';
-
-        if ('//translit' === substr($out_charset, -10))
-        {
-            $TRANSLIT = '//TRANSLIT';
-            $out_charset = substr($out_charset, 0, -10);
-        }
-
-        if ('//ignore' === substr($out_charset, -8))
-        {
-            $IGNORE = '//IGNORE';
-            $out_charset = substr($out_charset, 0, -8);
-        }
-
-        '//translit' === substr($in_charset, -10) && $in_charset = substr($in_charset, 0, -10);
-        '//ignore'   === substr($in_charset,  -8) && $in_charset = substr($in_charset, 0,  -8);
-
-        isset(self::$alias[ $in_charset]) &&  $in_charset = self::$alias[ $in_charset];
-        isset(self::$alias[$out_charset]) && $out_charset = self::$alias[$out_charset];
-
-
-        // Load charset maps
-
-        if ( ('utf-8' !==  $in_charset && !static::loadMap('from.',  $in_charset,  $in_map))
-          || ('utf-8' !== $out_charset && !static::loadMap(  'to.', $out_charset, $out_map)) )
-        {
-            user_error(sprintf(self::ERROR_WRONG_CHARSET, $in_charset, $out_charset));
-            return false;
-        }
-
-
-        if ('utf-8' !== $in_charset)
-        {
-            // Convert input to UTF-8
-            $result = '';
-            if (self::map_to_utf8($result, $in_map, $str, $IGNORE)) $str = $result;
-            else $str = false;
-            self::$is_valid_utf8 = true;
-        }
-        else
-        {
-            self::$is_valid_utf8 = preg_match('//u', $str);
-
-            if (!self::$is_valid_utf8 && !$IGNORE)
-            {
-                user_error(self::ERROR_ILLEGAL_CHARACTER);
-                return false;
-            }
-
-            if ('utf-8' === $out_charset)
-            {
-                // UTF-8 validation
-                $str = self::utf8_to_utf8($str, $IGNORE);
-            }
-        }
-
-        if ('utf-8' !== $out_charset && false !== $str)
-        {
-            // Convert output to UTF-8
-            $result = '';
-            if (self::map_from_utf8($result, $out_map, $str, $IGNORE, $TRANSLIT)) return $result;
-            else return false;
-        }
-        else return $str;
-    }
-
-    static function iconv_mime_decode_headers($str, $mode = 0, $charset = INF)
-    {
-        INF === $charset && $charset = self::$internal_encoding;
-
-        false !== strpos($str, "\r") && $str = strtr(str_replace("\r\n", "\n", $str), "\r", "\n");
-        $str = explode("\n\n", $str, 2);
-
-        $headers = array();
-
-        $str = preg_split('/\n(?![ \t])/', $str[0]);
-        foreach ($str as $str)
-        {
-            $str = self::iconv_mime_decode($str, $mode, $charset);
-            if (false === $str) return false;
-            $str = explode(':', $str, 2);
-
-            if (2 === count($str))
-            {
-                if (isset($headers[$str[0]]))
-                {
-                    is_array($headers[$str[0]]) || $headers[$str[0]] = array($headers[$str[0]]);
-                    $headers[$str[0]][] = ltrim($str[1]);
-                }
-                else $headers[$str[0]] = ltrim($str[1]);
-            }
-        }
-
-        return $headers;
-    }
-
-    static function iconv_mime_decode($str, $mode = 0, $charset = INF)
-    {
-        INF === $charset && $charset = self::$internal_encoding;
-        if (ICONV_MIME_DECODE_CONTINUE_ON_ERROR & $mode) $charset .= '//IGNORE';
-
-        false !== strpos($str, "\r") && $str = strtr(str_replace("\r\n", "\n", $str), "\r", "\n");
-        $str = preg_split('/\n(?![ \t])/', rtrim($str), 2);
-        $str = preg_replace('/[ \t]*\n[ \t]+/', ' ', rtrim($str[0]));
-        $str = preg_split('/=\?([^?]+)\?([bqBQ])\?(.*?)\?=/', $str, -1, PREG_SPLIT_DELIM_CAPTURE);
-
-        $result = self::iconv('utf-8', $charset, $str[0]);
-        if (false === $result) return false;
-
-        $i = 1;
-        $len = count($str);
-
-        while ($i < $len)
-        {
-            $c = strtolower($str[$i]);
-            if ( (ICONV_MIME_DECODE_CONTINUE_ON_ERROR & $mode)
-              && 'utf-8' !== $c
-              && !isset(self::$alias[$c])
-              && !static::loadMap('from.', $c,  $d) ) $d = false;
-            else if ('B' === strtoupper($str[$i+1])) $d = base64_decode($str[$i+2]);
-            else $d = rawurldecode(strtr(str_replace('%', '%25', $str[$i+2]), '=_', '% '));
-
-            if (false !== $d)
-            {
-                $result .= self::iconv($c, $charset, $d);
-                $d = self::iconv('utf-8' , $charset, $str[$i+3]);
-                if ('' !== trim($d)) $result .= $d;
-            }
-            else if (ICONV_MIME_DECODE_CONTINUE_ON_ERROR & $mode)
-            {
-                $result .= "=?{$str[$i]}?{$str[$i+1]}?{$str[$i+2]}?={$str[$i+3]}";
-            }
-            else
-            {
-                $result = false;
-                break;
-            }
-
-            $i += 4;
-        }
-
-        return $result;
-    }
-
-    static function iconv_get_encoding($type = 'all')
-    {
-        switch ($type)
-        {
-        case 'input_encoding'   : return self::$input_encoding;
-        case 'output_encoding'  : return self::$output_encoding;
-        case 'internal_encoding': return self::$internal_encoding;
-        }
-
-        return array(
-            'input_encoding'    => self::$input_encoding,
-            'output_encoding'   => self::$output_encoding,
-            'internal_encoding' => self::$internal_encoding
-        );
-    }
-
-    static function iconv_set_encoding($type, $charset)
-    {
-        switch ($type)
-        {
-        case 'input_encoding'   : self::$input_encoding    = $charset; break;
-        case 'output_encoding'  : self::$output_encoding   = $charset; break;
-        case 'internal_encoding': self::$internal_encoding = $charset; break;
-
-        default: return false;
-        }
-
-        return true;
-    }
-
-    static function iconv_mime_encode($field_name, $field_value, $pref = INF)
-    {
-        is_array($pref) || $pref = array();
-
-        $pref += array(
-            'scheme'           => 'B',
-            'input-charset'    => self::$internal_encoding,
-            'output-charset'   => self::$internal_encoding,
-            'line-length'      => 76,
-            'line-break-chars' => "\r\n"
-        );
-
-        preg_match('/[\x80-\xFF]/', $field_name) && $field_name = '';
-
-        $scheme = strtoupper(substr($pref['scheme'], 0, 1));
-        $in  = strtolower($pref['input-charset']);
-        $out = strtolower($pref['output-charset']);
-
-        if ('utf-8' !== $in && false === $field_value = self::iconv($in, 'utf-8', $field_value)) return false;
-
-        preg_match_all('/./us', $field_value, $chars);
-
-        $chars = isset($chars[0]) ? $chars[0] : array();
-
-        $line_break  = (int) $pref['line-length'];
-        $line_start  = "=?{$pref['output-charset']}?{$scheme}?";
-        $line_length = strlen($field_name) + 2 + strlen($line_start) + 2;
-        $line_offset = strlen($line_start) + 3;
-        $line_data   = '';
-
-        $field_value = array();
-
-        $Q = 'Q' === $scheme;
-
-        foreach ($chars as $c)
-        {
-            if ('utf-8' !== $out && false === $c = self::iconv('utf-8', $out, $c)) return false;
-
-            $o = $Q
-                ? $c = preg_replace_callback(
-                    '/[=_\?\x00-\x1F\x80-\xFF]/',
-                    array(__CLASS__, 'qp_byte_callback'),
-                    $c
-                )
-                : base64_encode($line_data . $c);
-
-            if (isset($o[$line_break - $line_length]))
-            {
-                $Q || $line_data = base64_encode($line_data);
-                $field_value[] = $line_start . $line_data . '?=';
-                $line_length = $line_offset;
-                $line_data = '';
-            }
-
-            $line_data .= $c;
-            $Q && $line_length += strlen($c);
-        }
-
-        if ('' !== $line_data)
-        {
-            $Q || $line_data = base64_encode($line_data);
-            $field_value[] = $line_start . $line_data . '?=';
-        }
-
-        return $field_name . ': ' . implode($pref['line-break-chars'] . ' ', $field_value);
-    }
-
-    static function ob_iconv_handler($buffer, $mode)
-    {
-        return self::iconv(self::$internal_encoding, self::$output_encoding, $buffer);
-    }
-
-    static function iconv_strlen($s, $encoding = INF)
-    {
-/**/    if (extension_loaded('xml'))
-            return self::strlen1($s, $encoding);
-/**/    else
-            return self::strlen2($s, $encoding);
-    }
-
-    static function strlen1($s, $encoding = INF)
-    {
-        INF === $encoding && $encoding = self::$internal_encoding;
-        if (0 !== strncasecmp($encoding, 'utf-8', 5) && false === $s = self::iconv($encoding, 'utf-8', $s)) return false;
-
-        return strlen(utf8_decode($s));
-    }
-
-    static function strlen2($s, $encoding = INF)
-    {
-        INF === $encoding && $encoding = self::$internal_encoding;
-        if (0 !== strncasecmp($encoding, 'utf-8', 5) && false === $s = self::iconv($encoding, 'utf-8', $s)) return false;
-
-        $ulen_mask = self::$ulen_mask;
-
-        $i = 0; $j = 0;
-        $len = strlen($s);
-
-        while ($i < $len)
-        {
-            $u = $s[$i] & "\xF0";
-            $i += isset($ulen_mask[$u]) ? $ulen_mask[$u] : 1;
-            ++$j;
-        }
-
-        return $j;
-    }
-
-    static function iconv_strpos($haystack, $needle, $offset = 0, $encoding = INF)
-    {
-        INF === $encoding && $encoding = self::$internal_encoding;
-
-        if (0 !== strncasecmp($encoding, 'utf-8', 5))
-        {
-            if (false === $haystack = self::iconv($encoding, 'utf-8', $haystack)) return false;
-            if (false === $needle = self::iconv($encoding, 'utf-8', $needle)) return false;
-        }
-
-        if ($offset = (int) $offset) $haystack = self::iconv_substr($haystack, $offset, 2147483647, 'utf-8');
-        $pos = strpos($haystack, $needle);
-        return false === $pos ? false : ($offset + ($pos ? self::iconv_strlen(substr($haystack, 0, $pos), 'utf-8') : 0));
-    }
-
-    static function iconv_strrpos($haystack, $needle, $encoding = INF)
-    {
-        INF === $encoding && $encoding = self::$internal_encoding;
-
-        if (0 !== strncasecmp($encoding, 'utf-8', 5))
-        {
-            if (false === $haystack = self::iconv($encoding, 'utf-8', $haystack)) return false;
-            if (false === $needle = self::iconv($encoding, 'utf-8', $needle)) return false;
-        }
-
-        $pos = isset($needle[0]) ? strrpos($haystack, $needle) : false;
-        return false === $pos ? false : self::iconv_strlen($pos ? substr($haystack, 0, $pos) : $haystack, 'utf-8');
-    }
-
-    static function iconv_substr($s, $start, $length = 2147483647, $encoding = INF)
-    {
-        INF === $encoding && $encoding = self::$internal_encoding;
-        if (0 === strncasecmp($encoding, 'utf-8', 5)) $encoding = INF;
-        else if (false === $s = self::iconv($encoding, 'utf-8', $s)) return false;
-
-        $s .= '';
-        $slen = self::iconv_strlen($s, 'utf-8');
-        $start = (int) $start;
-
-        if (0 > $start) $start += $slen;
-        if (0 > $start) return false;
-        if ($start >= $slen) return false;
-
-        $rx = $slen - $start;
-
-        if (0 > $length) $length += $rx;
-        if (0 === $length) return '';
-        if (0 > $length) return false;
-
-        if ($length > $rx) $length = $rx;
-
-        $rx = '/^' . ($start ? self::preg_offset($start) : '') . '(' . self::preg_offset($length) . ')/u';
-
-        $s = preg_match($rx, $s, $s) ? $s[1] : '';
-
-        if (INF === $encoding) return $s;
-        else return self::iconv('utf-8', $encoding, $s);
-    }
-
-    protected static function loadMap($type, $charset, &$map)
-    {
-        if (!isset(self::$convert_map[$type . $charset]))
-        {
-            if (false === $map = static::getData($type . $charset))
-            {
-                if ('to.' === $type && static::loadMap('from.', $charset, $map)) $map = array_flip($map);
-                else return false;
-            }
-
-            self::$convert_map[$type . $charset] = $map;
-        }
-        else $map = self::$convert_map[$type . $charset];
-
-        return true;
-    }
-
-    protected static function utf8_to_utf8($str, $IGNORE)
-    {
-        $ulen_mask = self::$ulen_mask;
-        $valid     = self::$is_valid_utf8;
-
-        $u = $str;
-        $i = $j = 0;
-        $len = strlen($str);
-
-        while ($i < $len)
-        {
-            if ($str[$i] < "\x80") $u[$j++] = $str[$i++];
-            else
-            {
-                $ulen = $str[$i] & "\xF0";
-                $ulen = isset($ulen_mask[$ulen]) ? $ulen_mask[$ulen] : 1;
-                $uchr = substr($str, $i, $ulen);
-
-                if (1 === $ulen || !($valid || preg_match('/^.$/us', $uchr)))
-                {
-                    if ($IGNORE)
-                    {
-                        ++$i;
-                        continue;
-                    }
-
-                    user_error(self::ERROR_ILLEGAL_CHARACTER);
-                    return false;
-                }
-                else $i += $ulen;
-
-                $u[$j++] = $uchr[0];
-
-                   isset($uchr[1]) && 0 !== ($u[$j++] = $uchr[1])
-                && isset($uchr[2]) && 0 !== ($u[$j++] = $uchr[2])
-                && isset($uchr[3]) && 0 !== ($u[$j++] = $uchr[3]);
-            }
-        }
-
-        return substr($u, 0, $j);
-    }
-
-    protected static function map_to_utf8(&$result, $map, $str, $IGNORE)
-    {
-        $len = strlen($str);
-        for ($i = 0; $i < $len; ++$i)
-        {
-            if (isset($str[$i+1], $map[$str[$i] . $str[$i+1]])) $result .= $map[$str[$i] . $str[++$i]];
-            else if (isset($map[$str[$i]])) $result .= $map[$str[$i]];
-            else if (!$IGNORE)
-            {
-                user_error(self::ERROR_ILLEGAL_CHARACTER);
-                return false;
-            }
-        }
-
-        return true;
-    }
-
-    protected static function map_from_utf8(&$result, $map, $str, $IGNORE, $TRANSLIT)
-    {
-        $ulen_mask = self::$ulen_mask;
-        $valid     = self::$is_valid_utf8;
-
-        if ($TRANSLIT) self::$translit_map or self::$translit_map = static::getData('translit');
-
-        $i = 0;
-        $len = strlen($str);
-
-        while ($i < $len)
-        {
-            if ($str[$i] < "\x80") $uchr = $str[$i++];
-            else
-            {
-                $ulen = $str[$i] & "\xF0";
-                $ulen = isset($ulen_mask[$ulen]) ? $ulen_mask[$ulen] : 1;
-                $uchr = substr($str, $i, $ulen);
-
-                if ($IGNORE && (1 === $ulen || !($valid || preg_match('/^.$/us', $uchr))))
-                {
-                    ++$i;
-                    continue;
-                }
-                else $i += $ulen;
-            }
-
-            if (isset($map[$uchr]))
-            {
-                $result .= $map[$uchr];
-            }
-            else if ($TRANSLIT)
-            {
-                if (isset(self::$translit_map[$uchr]))
-                {
-                    $uchr = self::$translit_map[$uchr];
-                }
-                else if ($uchr >= "\xC3\x80")
-                {
-                    $uchr = \Normalizer::normalize($uchr, \Normalizer::NFD);
-
-                    if ($uchr[0] < "\x80") $uchr = $uchr[0];
-                    else if ($IGNORE) continue;
-                    else return false;
-                }
-
-                $str = $uchr . substr($str, $i);
-                $len = strlen($str);
-                $i = 0;
-            }
-            else if (!$IGNORE)
-            {
-                return false;
-            }
-        }
-
-        return true;
-    }
-
-    protected static function qp_byte_callback($m)
-    {
-        return '=' . strtoupper(dechex(ord($m[0])));
-    }
-
-    protected static function preg_offset($offset)
-    {
-        $rx = array();
-        $offset = (int) $offset;
-
-        while ($offset > 65535)
-        {
-            $rx[] = '.{65535}';
-            $offset -= 65535;
-        }
-
-        return implode('', $rx) . '.{' . $offset . '}';
-    }
-
-    protected static function getData($file)
-    {
-        $file = __DIR__ . '/charset/' . $file . '.ser';
-        if (file_exists($file)) return unserialize(file_get_contents($file));
-        else return false;
-    }
-}

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/patchwork/utf8/class/Patchwork/PHP/Shim/Intl.php
----------------------------------------------------------------------
diff --git a/vendor/patchwork/utf8/class/Patchwork/PHP/Shim/Intl.php b/vendor/patchwork/utf8/class/Patchwork/PHP/Shim/Intl.php
deleted file mode 100644
index 97381fa..0000000
--- a/vendor/patchwork/utf8/class/Patchwork/PHP/Shim/Intl.php
+++ /dev/null
@@ -1,156 +0,0 @@
-<?php // vi: set fenc=utf-8 ts=4 sw=4 et:
-/*
- * Copyright (C) 2013 Nicolas Grekas - p@tchwork.com
- *
- * This library is free software; you can redistribute it and/or modify it
- * under the terms of the (at your option):
- * Apache License v2.0 (http://apache.org/licenses/LICENSE-2.0.txt), or
- * GNU General Public License v2.0 (http://gnu.org/licenses/gpl-2.0.txt).
- */
-
-namespace Patchwork\PHP\Shim;
-
-/**
- * Partial intl implementation in pure PHP.
- *
- * Implemented:
- * - grapheme_extract  - Extract a sequence of grapheme clusters from a text buffer, which must be encoded in UTF-8
- * - grapheme_stripos  - Find position (in grapheme units) of first occurrence of a case-insensitive string
- * - grapheme_stristr  - Returns part of haystack string from the first occurrence of case-insensitive needle to the end of haystack
- * - grapheme_strlen   - Get string length in grapheme units
- * - grapheme_strpos   - Find position (in grapheme units) of first occurrence of a string
- * - grapheme_strripos - Find position (in grapheme units) of last occurrence of a case-insensitive string
- * - grapheme_strrpos  - Find position (in grapheme units) of last occurrence of a string
- * - grapheme_strstr   - Returns part of haystack string from the first occurrence of needle to the end of haystack
- * - grapheme_substr   - Return part of a string
- */
-class Intl
-{
-    // (CRLF|([ZWNJ-ZWJ]|T+|L*(LV?V+|LV|LVT)T*|L+|[^Control])[Extend]*|[Control])
-    // This regular expression is a work around for http://bugs.exim.org/1279
-    const GRAPHEME_CLUSTER_RX = '(?:\r\n|(?:[ -~\x{200C}\x{200D}]|[ᆨ-ᇹ]+|[ᄀ-ᅟ]*(?:[가개갸걔거게겨계고과괘괴교구궈궤귀규그긔기까깨꺄꺠꺼께껴꼐꼬꽈꽤꾀꾜꾸꿔꿰뀌뀨끄끠끼나내냐냬너네녀녜노놔놰뇌뇨누눠눼뉘뉴느늬니다대댜댸더데뎌뎨도돠돼되됴두둬뒈뒤듀드듸디따때땨떄떠떼뗘뗴또똬뙈뙤뚀뚜뚸뛔뛰뜌뜨띄띠라래랴럐러레려례로롸뢔뢰료루뤄뤠뤼류르릐리마매먀먜머메며몌모뫄뫠뫼묘무뭐뭬뮈뮤므믜미바배뱌뱨버베벼볘보봐봬뵈뵤부붜붸뷔뷰브븨비빠빼뺘뺴뻐뻬뼈뼤뽀뽜뽸뾔뾰뿌뿨쀄쀠쀼쁘쁴삐사새샤섀서세셔셰소솨쇄쇠쇼수숴쉐쉬슈스싀시싸쌔쌰썌써쎄쎠쎼쏘쏴쐐쐬쑈쑤쒀쒜쒸쓔쓰씌씨아애야얘어에여예오와왜외요우워웨위유으의이자재쟈쟤저제져졔조좌좨죄죠주줘줴쥐쥬즈즤지짜째쨔쨰쩌쩨쪄쪠쪼쫘쫴쬐쬬쭈쭤쮀쮜쮸쯔쯰찌차채챠챼처체쳐쳬
 초촤쵀최쵸추춰췌취츄츠츼치카캐캬컈커케켜켸코콰쾌쾨쿄쿠쿼퀘퀴큐크킈키타태탸턔터테텨톄토톼퇘퇴툐투퉈퉤튀튜트틔티파패퍄퍠퍼페펴폐포퐈퐤푀표푸풔풰퓌퓨프픠피하해햐햬허헤혀혜호화홰회효후훠훼휘휴흐희히]?[ᅠ-ᆢ]+|[가-힣])[ᆨ-ᇹ]*|[ᄀ-ᅟ]+|[^\p{Cc}\p{Cf}\p{Zl}\p{Zp}])[\p{Mn}\p{Me}\x{09BE}\x{09D7}\x{0B3E}\x{0B57}\x{0BBE}\x{0BD7}\x{0CC2}\x{0CD5}\x{0CD6}\x{0D3E}\x{0D57}\x{0DCF}\x{0DDF}\x{200C}\x{200D}\x{1D165}\x{1D16E}-\x{1D172}]*|[\p{Cc}\p{Cf}\p{Zl}\p{Zp}])';
-
-    static function grapheme_extract($s, $size, $type = GRAPHEME_EXTR_COUNT, $start = 0, &$next = 0)
-    {
-        if (!is_scalar($s)) {
-            $hasError = false;
-            set_error_handler(function () use (&$hasError) {$hasError = true;});
-            $next = substr($s, $start);
-            restore_error_handler();
-            if ($hasError) {
-                substr($s, $start);
-                $s = '';
-            } else {
-                $s = $next;
-            }
-        } else {
-            $s = substr($s, $start);
-        }
-        $size  = (int) $size;
-        $type  = (int) $type;
-        $start = (int) $start;
-
-        if (!isset($s[0]) || 0 > $size || 0 > $start || 0 > $type || 2 < $type) return false;
-        if (0 === $size) return '';
-
-        $next = $start;
-
-        $s = preg_split('/(' . GRAPHEME_CLUSTER_RX . ')/u', "\r\n" .  $s, $size + 1, PREG_SPLIT_NO_EMPTY | PREG_SPLIT_DELIM_CAPTURE);
-
-        if (!isset($s[1])) return false;
-
-        $i = 1;
-        $ret = '';
-
-        do
-        {
-            if (GRAPHEME_EXTR_COUNT === $type) --$size;
-            else if (GRAPHEME_EXTR_MAXBYTES === $type) $size -= strlen($s[$i]);
-            else $size -= iconv_strlen($s[$i], 'UTF-8//IGNORE');
-
-            if ($size >= 0) $ret .= $s[$i];
-        }
-        while (isset($s[++$i]) && $size > 0);
-
-        $next += strlen($ret);
-
-        return $ret;
-    }
-
-    static function grapheme_strlen($s)
-    {
-        preg_replace('/' . GRAPHEME_CLUSTER_RX . '/u', '', $s, -1, $len);
-        return 0 === $len && '' !== $s ? null : $len;
-    }
-
-    static function grapheme_substr($s, $start, $len = 2147483647)
-    {
-        preg_match_all('/' . GRAPHEME_CLUSTER_RX . '/u', $s, $s);
-
-        $slen = count($s[0]);
-        $start = (int) $start;
-
-        if (0 > $start) $start += $slen;
-        if (0 > $start) return false;
-        if ($start >= $slen) return false;
-
-        $rem = $slen - $start;
-
-        if (0 > $len) $len += $rem;
-        if (0 === $len) return '';
-        if (0 > $len) return false;
-        if ($len > $rem) $len = $rem;
-
-        return implode('', array_slice($s[0], $start, $len));
-    }
-
-    static function grapheme_substr_workaround62759($s, $start, $len)
-    {
-        // Intl based http://bugs.php.net/62759 and 55562 workaround
-
-        if (2147483647 == $len) return grapheme_substr($s, $start);
-
-        $s .= '';
-        $slen = grapheme_strlen($s);
-        $start = (int) $start;
-
-        if (0 > $start) $start += $slen;
-        if (0 > $start) return false;
-        if ($start >= $slen) return false;
-
-        $rem = $slen - $start;
-
-        if (0 > $len) $len += $rem;
-        if (0 === $len) return '';
-        if (0 > $len) return false;
-        if ($len > $rem) $len = $rem;
-
-        return grapheme_substr($s, $start, $len);
-    }
-
-    static function grapheme_strpos  ($s, $needle, $offset = 0) {return self::grapheme_position($s, $needle, $offset, 0);}
-    static function grapheme_stripos ($s, $needle, $offset = 0) {return self::grapheme_position($s, $needle, $offset, 1);}
-    static function grapheme_strrpos ($s, $needle, $offset = 0) {return self::grapheme_position($s, $needle, $offset, 2);}
-    static function grapheme_strripos($s, $needle, $offset = 0) {return self::grapheme_position($s, $needle, $offset, 3);}
-    static function grapheme_stristr ($s, $needle, $before_needle = false) {return mb_stristr($s, $needle, $before_needle, 'UTF-8');}
-    static function grapheme_strstr  ($s, $needle, $before_needle = false) {return mb_strstr ($s, $needle, $before_needle, 'UTF-8');}
-
-
-    protected static function grapheme_position($s, $needle, $offset, $mode)
-    {
-        if (! preg_match('/./us', $needle .= '')) return false;
-        if (! preg_match('/./us', $s .= '')) return false;
-        if ($offset > 0) $s = self::grapheme_substr($s, $offset);
-        else if ($offset < 0) $offset = 0;
-
-        switch ($mode)
-        {
-        case 0: $needle = iconv_strpos ($s, $needle, 0, 'UTF-8'); break;
-        case 1: $needle = mb_stripos   ($s, $needle, 0, 'UTF-8'); break;
-        case 2: $needle = iconv_strrpos($s, $needle,    'UTF-8'); break;
-        default: $needle = mb_strripos ($s, $needle, 0, 'UTF-8'); break;
-        }
-
-        return $needle ? self::grapheme_strlen(iconv_substr($s, 0, $needle, 'UTF-8')) + $offset : $needle;
-    }
-}


Mime
View raw message