You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by sm...@apache.org on 2015/05/03 14:40:25 UTC

[45/51] [partial] airavata-php-gateway git commit: removing vendor files

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/ircmaxell/password-compat/composer.json
----------------------------------------------------------------------
diff --git a/vendor/ircmaxell/password-compat/composer.json b/vendor/ircmaxell/password-compat/composer.json
deleted file mode 100644
index 822fd1f..0000000
--- a/vendor/ircmaxell/password-compat/composer.json
+++ /dev/null
@@ -1,20 +0,0 @@
-{
-    "name": "ircmaxell/password-compat",
-    "description": "A compatibility library for the proposed simplified password hashing algorithm: https://wiki.php.net/rfc/password_hash",
-    "keywords": ["password", "hashing"],
-    "homepage": "https://github.com/ircmaxell/password_compat",
-    "license": "MIT",
-    "authors": [
-        {
-            "name": "Anthony Ferrara",
-            "email": "ircmaxell@php.net",
-            "homepage": "http://blog.ircmaxell.com"
-        }
-    ],
-    "require-dev": {
-        "phpunit/phpunit": "4.*"
-    },
-    "autoload": {
-        "files": ["lib/password.php"]
-    }
-}

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/ircmaxell/password-compat/lib/password.php
----------------------------------------------------------------------
diff --git a/vendor/ircmaxell/password-compat/lib/password.php b/vendor/ircmaxell/password-compat/lib/password.php
deleted file mode 100644
index cc6896c..0000000
--- a/vendor/ircmaxell/password-compat/lib/password.php
+++ /dev/null
@@ -1,314 +0,0 @@
-<?php
-/**
- * A Compatibility library with PHP 5.5's simplified password hashing API.
- *
- * @author Anthony Ferrara <ir...@php.net>
- * @license http://www.opensource.org/licenses/mit-license.html MIT License
- * @copyright 2012 The Authors
- */
-
-namespace {
-
-    if (!defined('PASSWORD_BCRYPT')) {
-        /**
-         * PHPUnit Process isolation caches constants, but not function declarations.
-         * So we need to check if the constants are defined separately from 
-         * the functions to enable supporting process isolation in userland
-         * code.
-         */
-        define('PASSWORD_BCRYPT', 1);
-        define('PASSWORD_DEFAULT', PASSWORD_BCRYPT);
-        define('PASSWORD_BCRYPT_DEFAULT_COST', 10);
-    }
-
-    if (!function_exists('password_hash')) {
-
-        /**
-         * Hash the password using the specified algorithm
-         *
-         * @param string $password The password to hash
-         * @param int    $algo     The algorithm to use (Defined by PASSWORD_* constants)
-         * @param array  $options  The options for the algorithm to use
-         *
-         * @return string|false The hashed password, or false on error.
-         */
-        function password_hash($password, $algo, array $options = array()) {
-            if (!function_exists('crypt')) {
-                trigger_error("Crypt must be loaded for password_hash to function", E_USER_WARNING);
-                return null;
-            }
-            if (is_null($password) || is_int($password)) {
-                $password = (string) $password;
-            }
-            if (!is_string($password)) {
-                trigger_error("password_hash(): Password must be a string", E_USER_WARNING);
-                return null;
-            }
-            if (!is_int($algo)) {
-                trigger_error("password_hash() expects parameter 2 to be long, " . gettype($algo) . " given", E_USER_WARNING);
-                return null;
-            }
-            $resultLength = 0;
-            switch ($algo) {
-                case PASSWORD_BCRYPT:
-                    $cost = PASSWORD_BCRYPT_DEFAULT_COST;
-                    if (isset($options['cost'])) {
-                        $cost = $options['cost'];
-                        if ($cost < 4 || $cost > 31) {
-                            trigger_error(sprintf("password_hash(): Invalid bcrypt cost parameter specified: %d", $cost), E_USER_WARNING);
-                            return null;
-                        }
-                    }
-                    // The length of salt to generate
-                    $raw_salt_len = 16;
-                    // The length required in the final serialization
-                    $required_salt_len = 22;
-                    $hash_format = sprintf("$2y$%02d$", $cost);
-                    // The expected length of the final crypt() output
-                    $resultLength = 60;
-                    break;
-                default:
-                    trigger_error(sprintf("password_hash(): Unknown password hashing algorithm: %s", $algo), E_USER_WARNING);
-                    return null;
-            }
-            $salt_requires_encoding = false;
-            if (isset($options['salt'])) {
-                switch (gettype($options['salt'])) {
-                    case 'NULL':
-                    case 'boolean':
-                    case 'integer':
-                    case 'double':
-                    case 'string':
-                        $salt = (string) $options['salt'];
-                        break;
-                    case 'object':
-                        if (method_exists($options['salt'], '__tostring')) {
-                            $salt = (string) $options['salt'];
-                            break;
-                        }
-                    case 'array':
-                    case 'resource':
-                    default:
-                        trigger_error('password_hash(): Non-string salt parameter supplied', E_USER_WARNING);
-                        return null;
-                }
-                if (PasswordCompat\binary\_strlen($salt) < $required_salt_len) {
-                    trigger_error(sprintf("password_hash(): Provided salt is too short: %d expecting %d", PasswordCompat\binary\_strlen($salt), $required_salt_len), E_USER_WARNING);
-                    return null;
-                } elseif (0 == preg_match('#^[a-zA-Z0-9./]+$#D', $salt)) {
-                    $salt_requires_encoding = true;
-                }
-            } else {
-                $buffer = '';
-                $buffer_valid = false;
-                if (function_exists('mcrypt_create_iv') && !defined('PHALANGER')) {
-                    $buffer = mcrypt_create_iv($raw_salt_len, MCRYPT_DEV_URANDOM);
-                    if ($buffer) {
-                        $buffer_valid = true;
-                    }
-                }
-                if (!$buffer_valid && function_exists('openssl_random_pseudo_bytes')) {
-                    $buffer = openssl_random_pseudo_bytes($raw_salt_len);
-                    if ($buffer) {
-                        $buffer_valid = true;
-                    }
-                }
-                if (!$buffer_valid && @is_readable('/dev/urandom')) {
-                    $f = fopen('/dev/urandom', 'r');
-                    $read = PasswordCompat\binary\_strlen($buffer);
-                    while ($read < $raw_salt_len) {
-                        $buffer .= fread($f, $raw_salt_len - $read);
-                        $read = PasswordCompat\binary\_strlen($buffer);
-                    }
-                    fclose($f);
-                    if ($read >= $raw_salt_len) {
-                        $buffer_valid = true;
-                    }
-                }
-                if (!$buffer_valid || PasswordCompat\binary\_strlen($buffer) < $raw_salt_len) {
-                    $bl = PasswordCompat\binary\_strlen($buffer);
-                    for ($i = 0; $i < $raw_salt_len; $i++) {
-                        if ($i < $bl) {
-                            $buffer[$i] = $buffer[$i] ^ chr(mt_rand(0, 255));
-                        } else {
-                            $buffer .= chr(mt_rand(0, 255));
-                        }
-                    }
-                }
-                $salt = $buffer;
-                $salt_requires_encoding = true;
-            }
-            if ($salt_requires_encoding) {
-                // encode string with the Base64 variant used by crypt
-                $base64_digits =
-                    'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';
-                $bcrypt64_digits =
-                    './ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';
-
-                $base64_string = base64_encode($salt);
-                $salt = strtr(rtrim($base64_string, '='), $base64_digits, $bcrypt64_digits);
-            }
-            $salt = PasswordCompat\binary\_substr($salt, 0, $required_salt_len);
-
-            $hash = $hash_format . $salt;
-
-            $ret = crypt($password, $hash);
-
-            if (!is_string($ret) || PasswordCompat\binary\_strlen($ret) != $resultLength) {
-                return false;
-            }
-
-            return $ret;
-        }
-
-        /**
-         * Get information about the password hash. Returns an array of the information
-         * that was used to generate the password hash.
-         *
-         * array(
-         *    'algo' => 1,
-         *    'algoName' => 'bcrypt',
-         *    'options' => array(
-         *        'cost' => PASSWORD_BCRYPT_DEFAULT_COST,
-         *    ),
-         * )
-         *
-         * @param string $hash The password hash to extract info from
-         *
-         * @return array The array of information about the hash.
-         */
-        function password_get_info($hash) {
-            $return = array(
-                'algo' => 0,
-                'algoName' => 'unknown',
-                'options' => array(),
-            );
-            if (PasswordCompat\binary\_substr($hash, 0, 4) == '$2y$' && PasswordCompat\binary\_strlen($hash) == 60) {
-                $return['algo'] = PASSWORD_BCRYPT;
-                $return['algoName'] = 'bcrypt';
-                list($cost) = sscanf($hash, "$2y$%d$");
-                $return['options']['cost'] = $cost;
-            }
-            return $return;
-        }
-
-        /**
-         * Determine if the password hash needs to be rehashed according to the options provided
-         *
-         * If the answer is true, after validating the password using password_verify, rehash it.
-         *
-         * @param string $hash    The hash to test
-         * @param int    $algo    The algorithm used for new password hashes
-         * @param array  $options The options array passed to password_hash
-         *
-         * @return boolean True if the password needs to be rehashed.
-         */
-        function password_needs_rehash($hash, $algo, array $options = array()) {
-            $info = password_get_info($hash);
-            if ($info['algo'] != $algo) {
-                return true;
-            }
-            switch ($algo) {
-                case PASSWORD_BCRYPT:
-                    $cost = isset($options['cost']) ? $options['cost'] : PASSWORD_BCRYPT_DEFAULT_COST;
-                    if ($cost != $info['options']['cost']) {
-                        return true;
-                    }
-                    break;
-            }
-            return false;
-        }
-
-        /**
-         * Verify a password against a hash using a timing attack resistant approach
-         *
-         * @param string $password The password to verify
-         * @param string $hash     The hash to verify against
-         *
-         * @return boolean If the password matches the hash
-         */
-        function password_verify($password, $hash) {
-            if (!function_exists('crypt')) {
-                trigger_error("Crypt must be loaded for password_verify to function", E_USER_WARNING);
-                return false;
-            }
-            $ret = crypt($password, $hash);
-            if (!is_string($ret) || PasswordCompat\binary\_strlen($ret) != PasswordCompat\binary\_strlen($hash) || PasswordCompat\binary\_strlen($ret) <= 13) {
-                return false;
-            }
-
-            $status = 0;
-            for ($i = 0; $i < PasswordCompat\binary\_strlen($ret); $i++) {
-                $status |= (ord($ret[$i]) ^ ord($hash[$i]));
-            }
-
-            return $status === 0;
-        }
-    }
-
-}
-
-namespace PasswordCompat\binary {
-
-    if (!function_exists('PasswordCompat\\binary\\_strlen')) {
-
-        /**
-         * Count the number of bytes in a string
-         *
-         * We cannot simply use strlen() for this, because it might be overwritten by the mbstring extension.
-         * In this case, strlen() will count the number of *characters* based on the internal encoding. A
-         * sequence of bytes might be regarded as a single multibyte character.
-         *
-         * @param string $binary_string The input string
-         *
-         * @internal
-         * @return int The number of bytes
-         */
-        function _strlen($binary_string) {
-            if (function_exists('mb_strlen')) {
-                return mb_strlen($binary_string, '8bit');
-            }
-            return strlen($binary_string);
-        }
-
-        /**
-         * Get a substring based on byte limits
-         *
-         * @see _strlen()
-         *
-         * @param string $binary_string The input string
-         * @param int    $start
-         * @param int    $length
-         *
-         * @internal
-         * @return string The substring
-         */
-        function _substr($binary_string, $start, $length) {
-            if (function_exists('mb_substr')) {
-                return mb_substr($binary_string, $start, $length, '8bit');
-            }
-            return substr($binary_string, $start, $length);
-        }
-
-        /**
-         * Check if current PHP version is compatible with the library
-         *
-         * @return boolean the check result
-         */
-        function check() {
-            static $pass = NULL;
-
-            if (is_null($pass)) {
-                if (function_exists('crypt')) {
-                    $hash = '$2y$04$usesomesillystringfore7hnbRJHxXVLeakoG8K30oukPsA.ztMG';
-                    $test = crypt("password", $hash);
-                    $pass = $test == $hash;
-                } else {
-                    $pass = false;
-                }
-            }
-            return $pass;
-        }
-
-    }
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/ircmaxell/password-compat/version-test.php
----------------------------------------------------------------------
diff --git a/vendor/ircmaxell/password-compat/version-test.php b/vendor/ircmaxell/password-compat/version-test.php
deleted file mode 100644
index 96f60ca..0000000
--- a/vendor/ircmaxell/password-compat/version-test.php
+++ /dev/null
@@ -1,6 +0,0 @@
-<?php
-
-require "lib/password.php";
-
-echo "Test for functionality of compat library: " . (PasswordCompat\binary\check() ? "Pass" : "Fail");
-echo "\n";
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/jeremeamia/SuperClosure/.gitignore
----------------------------------------------------------------------
diff --git a/vendor/jeremeamia/SuperClosure/.gitignore b/vendor/jeremeamia/SuperClosure/.gitignore
deleted file mode 100644
index d378671..0000000
--- a/vendor/jeremeamia/SuperClosure/.gitignore
+++ /dev/null
@@ -1,8 +0,0 @@
-.idea/*
-vendor/*
-build/*
-.DS_Store
-cache.properties
-phpunit.xml
-composer.phar
-composer.lock

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/jeremeamia/SuperClosure/.travis.yml
----------------------------------------------------------------------
diff --git a/vendor/jeremeamia/SuperClosure/.travis.yml b/vendor/jeremeamia/SuperClosure/.travis.yml
deleted file mode 100644
index 77b95e0..0000000
--- a/vendor/jeremeamia/SuperClosure/.travis.yml
+++ /dev/null
@@ -1,20 +0,0 @@
-language: php
-
-php:
-  - 5.3
-  - 5.4
-  - 5.5
-  - hhvm
-
-before_script:
-  - composer self-update
-  - composer install --no-interaction --prefer-source --dev
-  - cp phpunit.xml.dist phpunit.xml
-
-script:
-  - phpunit --coverage-text
-
-matrix:
-  allow_failures:
-    - php: hhvm
-  fast_finish: true

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/jeremeamia/SuperClosure/LICENSE.md
----------------------------------------------------------------------
diff --git a/vendor/jeremeamia/SuperClosure/LICENSE.md b/vendor/jeremeamia/SuperClosure/LICENSE.md
deleted file mode 100644
index 51411b8..0000000
--- a/vendor/jeremeamia/SuperClosure/LICENSE.md
+++ /dev/null
@@ -1,18 +0,0 @@
-# MIT License
-
-Copyright (c) 2010-2013 Jeremy Lindblom
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
-associated documentation files (the "Software"), to deal in the Software without restriction,
-including without limitation the rights to use, copy, modify, merge, publish, distribute,
-sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all copies or substantial
-portions of the Software.
-
-**THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT
-NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
-DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT
-OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.**

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/jeremeamia/SuperClosure/README.md
----------------------------------------------------------------------
diff --git a/vendor/jeremeamia/SuperClosure/README.md b/vendor/jeremeamia/SuperClosure/README.md
deleted file mode 100644
index 4d2fe44..0000000
--- a/vendor/jeremeamia/SuperClosure/README.md
+++ /dev/null
@@ -1,124 +0,0 @@
-# PHP Super Closure
-
-[![Latest Stable Version](https://poser.pugx.org/jeremeamia/superclosure/v/stable.png)](https://packagist.org/packages/jeremeamia/superclosure)
-[![Total Downloads](https://poser.pugx.org/jeremeamia/superclosure/downloads.png)](https://packagist.org/packages/jeremeamia/superclosure)
-[![Build Status](https://travis-ci.org/jeremeamia/super_closure.svg?branch=multiple-parsers)][2]
-[![GitTip](http://img.shields.io/gittip/jeremeamia.svg)](https://www.gittip.com/jeremeamia)
-
-Have you ever seen this?
-
-> Uncaught exception 'Exception' with message 'Serialization of 'Closure' is not allowed'
-
-It's true! If you try to serialize a `Closure`, PHP will throw an exception and tell you that it is not allowed. But
-even though it is not "allowed" by PHP, the Super Closure library ([jeremeamia/superclosure][3] on Packagist) makes it
-**possible**.
-
-I'm not joking, *you really can serialize a PHP closure*!
-
-```php
-require 'vendor/autoload.php';
-
-use Jeremeamia\SuperClosure\SerializableClosure;
-
-$greeting = 'Hello';
-$helloWorld = new SerializableClosure(function ($name = 'World') use ($greeting) {
-    echo "{$greeting}, {$name}!\n";
-});
-
-$helloWorld();
-//> Hello, World!
-$helloWorld('Jeremy');
-//> Hello, Jeremy!
-
-$serialized = serialize($helloWorld);
-$unserialized = unserialize($serialized);
-
-$unserialized();
-//> Hello, World!
-$unserialized('Jeremy');
-//> Hello, Jeremy!
-```
-Yep, pretty cool huh?
-
-## Tell Me More!
-
-It all started way back in the beginning of 2010 when PHP 5.3 was starting to gain traction. I wrote a blog post called
-[Extending PHP 5.3 Closures with Serialization and Reflection][4] on my former employers' blog, [HTMList][5], showing
-how it can be done. Since then I've made a few iterations on the code, and this most recent iteration brings with it a
-generally more robust solution that takes advantage of the fabulous [nikic/php-parser][6] library.
-
-### Features
-
-* Grants the ability to serialize closures
-* Handles closures with used/inherited/imported variables
-* Handles closures that use other closures
-* Handles closures that reference class names in the parameters or body
-* Handles recursive closures (PHP 5.4+ only)
-* Allows you to get the code of a closure
-* Allows you to get the names and values of variables used by a closure
-* Allows you to get an Abstract Syntax Tree (AST) representing the code of a closure
-* Replaces magic constants with their expected values so that the closure behaves as expected after unserialization
-* Uses an accurate parsing method of a context-free grammar via the [nikic/php-parser][6] library
-* PSR-0 compliant and installable via Composer
-
-### Caveats
-
-1. For any variables used by reference (e.g., `function () use (&$vars, &$like, &$these) {…}`), the references are not
-   maintained after serialization/unserialization. The only exception is when (in PHP 5.4+ only) the used variable is a
-   reference to the `SerializableClosure` object being serialized, which is the case with a recursive function. For some
-   reason — *that I actually don't quite understand* — this works.
-2. If you have two closures defined on a single line (you shouldn't do this anyway), you will not be able to serialize
-   either one since it is ambiguous which closure's code should be parsed.
-3. Because the technique to acquire the code and context of the closure requires reflection and full AST-style parsing,
-   the performance of serializing a closure is likely not good.
-4. **Warning**: Both `eval()` and `extract()` are required to unserialize the closure. These functions are considered
-   dangerous by many, so you will have to evaluate whether or not you actual want to be using this library if these
-   functions concern you. These functions *must* be used to make this technique work.
-
-## Installation
-
-To install the Super Closure library in your project using Composer, first add the following to your `composer.json`
-config file.
-```javascript
-{
-    "require": {
-        "jeremeamia/superclosure": "~1.0"
-    }
-}
-```
-Then run Composer's install or update commands to complete installation. Please visit the [Composer homepage][7] for
-more information about how to use Composer.
-
-## Why Would I Need To Serialize Closures?
-
-Well, since you are here looking at this README, you may already have a use case in mind. Even though this concept began
-as an experiment, there have been some use cases that have come up in the wild.
-
-For example, in a [video about Laravel 4 and IronMQ][8] by [UserScape][9], at about the 7:50 mark they show how you can
-push a closure onto a queue as a job so that it can be executed by a worker. This is nice because you do not have to
-create a whole class for a job that might be really simple. The closure serialization is done by a [class in the Laravel
-4 framework][10] that is based on one of my older versions of SuperClosure.
-
-Essentially this library let's you create closures in one process and use them in another. It would even be possible to
-provide closures (or algorithms) as a service through an API.
-
-## Who Is Using Super Closure?
-
-- [Laravel 4](https://github.com/laravel/framework) - Serializes a closure to potentially push onto a job queue.
-- [HTTP Mock for PHP](https://github.com/InterNations/http-mock) - Serialize a closure to send to remote server within
-  a test workflow.
-- [Jumper](https://github.com/kakawait/Jumper) - Serialize a closure to run on remote host via SSH.
-- [nicmart/Benchmark](https://github.com/nicmart/Benchmark) - Uses the `ClosureParser` to display a benchmarked
-  Closure's code.
-- Please let me know if and how your project uses Super Closure.
-
-[1]:  https://secure.travis-ci.org/jeremeamia/super_closure.png?branch=master
-[2]:  http://travis-ci.org/#!/jeremeamia/super_closure
-[3]:  http://packagist.org/packages/jeremeamia/SuperClosure
-[4]:  http://www.htmlist.com/development/extending-php-5-3-closures-with-serialization-and-reflection/
-[5]:  http://www.htmlist.com
-[6]:  https://github.com/nikic/PHP-Parser
-[7]:  http://getcomposer.org
-[8]:  http://vimeo.com/64703617
-[9]:  http://www.userscape.com
-[10]: https://github.com/illuminate/support/blob/master/SerializableClosure.php

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/jeremeamia/SuperClosure/composer.json
----------------------------------------------------------------------
diff --git a/vendor/jeremeamia/SuperClosure/composer.json b/vendor/jeremeamia/SuperClosure/composer.json
deleted file mode 100644
index 2477e38..0000000
--- a/vendor/jeremeamia/SuperClosure/composer.json
+++ /dev/null
@@ -1,23 +0,0 @@
-{
-    "name": "jeremeamia/SuperClosure",
-    "type": "library",
-    "description": "Doing interesting things with closures like serialization.",
-    "keywords": ["closure", "serialize", "serializable", "function", "parser", "tokenizer"],
-    "homepage": "https://github.com/jeremeamia/super_closure",
-    "license": "MIT",
-    "authors": [
-        {
-            "name": "Jeremy Lindblom"
-        }
-    ],
-    "require": {
-        "php": ">=5.3.3",
-        "nikic/php-parser": "~0.9"
-    },
-    "require-dev": {
-        "phpunit/phpunit": "~3.7"
-    },
-    "autoload": {
-        "psr-0": { "Jeremeamia\\SuperClosure": "src/" }
-    }
-}

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/jeremeamia/SuperClosure/demo/factorial.php
----------------------------------------------------------------------
diff --git a/vendor/jeremeamia/SuperClosure/demo/factorial.php b/vendor/jeremeamia/SuperClosure/demo/factorial.php
deleted file mode 100644
index 8dc8fbd..0000000
--- a/vendor/jeremeamia/SuperClosure/demo/factorial.php
+++ /dev/null
@@ -1,23 +0,0 @@
-<?php
-
-if (version_compare(PHP_VERSION, '5.4', '<=')) {
-    throw new \RuntimeException('PHP 5.4+ is required for this example.');
-}
-
-require __DIR__ . '/../vendor/autoload.php';
-
-use Jeremeamia\SuperClosure\SerializableClosure;
-
-$factorial = new SerializableClosure(function ($n) use (&$factorial) {
-    return ($n <= 1) ? 1 : $n * $factorial($n - 1);
-});
-
-echo $factorial(5) . PHP_EOL;
-//> 120
-
-$serialized = serialize($factorial);
-$unserialized = unserialize($serialized);
-
-echo $unserialized(5) . PHP_EOL;
-//> 120
-

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/jeremeamia/SuperClosure/demo/hello-world.php
----------------------------------------------------------------------
diff --git a/vendor/jeremeamia/SuperClosure/demo/hello-world.php b/vendor/jeremeamia/SuperClosure/demo/hello-world.php
deleted file mode 100644
index ce54218..0000000
--- a/vendor/jeremeamia/SuperClosure/demo/hello-world.php
+++ /dev/null
@@ -1,23 +0,0 @@
-<?php
-
-require __DIR__ . '/../vendor/autoload.php';
-
-use Jeremeamia\SuperClosure\SerializableClosure;
-
-$greeting = 'Hello';
-$helloWorld = new SerializableClosure(function ($name = 'World') use ($greeting) {
-    echo "{$greeting}, {$name}!\n";
-});
-
-$helloWorld();
-//> Hello, World!
-$helloWorld('Jeremy');
-//> Hello, Jeremy!
-
-$serialized = serialize($helloWorld);
-$unserialized = unserialize($serialized);
-
-$unserialized();
-//> Hello, World!
-$unserialized('Jeremy');
-//> Hello, Jeremy!

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/jeremeamia/SuperClosure/phpunit.xml.dist
----------------------------------------------------------------------
diff --git a/vendor/jeremeamia/SuperClosure/phpunit.xml.dist b/vendor/jeremeamia/SuperClosure/phpunit.xml.dist
deleted file mode 100644
index 299507c..0000000
--- a/vendor/jeremeamia/SuperClosure/phpunit.xml.dist
+++ /dev/null
@@ -1,34 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<phpunit
-  bootstrap="./tests/bootstrap.php"
-  processIsolation="false"
-  stopOnFailure="false"
-  syntaxCheck="false"
-  convertErrorsToExceptions="true"
-  convertNoticesToExceptions="true"
-  convertWarningsToExceptions="true"
-  testSuiteLoaderClass="PHPUnit_Runner_StandardTestSuiteLoader"
->
-
-  <testsuites>
-    <testsuite name="SuperClosure">
-      <directory>./tests/Jeremeamia/SuperClosure/Test</directory>
-    </testsuite>
-  </testsuites>
-
-  <filter>
-    <whitelist>
-      <directory suffix=".php">./src/Jeremeamia/SuperClosure</directory>
-    </whitelist>
-  </filter>
-
-  <logging>
-    <log type="coverage-html" target="./build/artifacts/coverage"
-         yui="true" highlight="false" charset="UTF-8"
-         lowUpperBound="35" highLowerBound="70"/>
-    <log type="coverage-clover" target="./build/artifacts/coverage.xml"/>
-    <log type="junit" target="./build/artifacts/log.xml" logIncompleteSkipped="false"/>
-    <log type="testdox-html" target="./build/artifacts/testdox.html"/>
-  </logging>
-
-</phpunit>

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/jeremeamia/SuperClosure/src/Jeremeamia/SuperClosure/ClosureLocation.php
----------------------------------------------------------------------
diff --git a/vendor/jeremeamia/SuperClosure/src/Jeremeamia/SuperClosure/ClosureLocation.php b/vendor/jeremeamia/SuperClosure/src/Jeremeamia/SuperClosure/ClosureLocation.php
deleted file mode 100644
index cbdbe0b..0000000
--- a/vendor/jeremeamia/SuperClosure/src/Jeremeamia/SuperClosure/ClosureLocation.php
+++ /dev/null
@@ -1,77 +0,0 @@
-<?php
-
-namespace Jeremeamia\SuperClosure;
-
-/**
- * Simple object for storing the location information of a closure (e.g., file, class, etc.)
- *
- * @copyright Jeremy Lindblom 2010-2013
- */
-class ClosureLocation
-{
-    /** @var string */
-    protected $closureScopeClass;
-
-    /** @var string */
-    public $class;
-
-    /** @var string */
-    public $directory;
-
-    /** @var string */
-    public $file;
-
-    /** @var string */
-    public $function;
-
-    /** @var string */
-    public $line;
-
-    /** @var string */
-    public $method;
-
-    /** @var string */
-    public $namespace;
-
-    /** @var string */
-    public $trait;
-
-    /**
-     * Creates a ClosureLocation and seeds it with all the data that can be gleaned from the closure's reflection
-     *
-     * @param \ReflectionFunction $reflection The reflection of the closure that this ClosureLocation should represent
-     *
-     * @return ClosureLocation
-     */
-    public static function fromReflection(\ReflectionFunction $reflection)
-    {
-        $location = new self;
-        $location->directory = dirname($reflection->getFileName());
-        $location->file = $reflection->getFileName();
-        $location->function = $reflection->getName();
-        $location->line = $reflection->getStartLine();
-
-        // @codeCoverageIgnoreStart
-        if (version_compare(PHP_VERSION, '5.4', '>=')) {
-            $closureScopeClass = $reflection->getClosureScopeClass();
-            $location->closureScopeClass = $closureScopeClass ? $closureScopeClass->getName() : null;
-        }
-        // @codeCoverageIgnoreEnd
-
-        return $location;
-    }
-
-    public function finalize()
-    {
-        if ($this->class || $this->trait) {
-            $class = $this->class ?: $this->trait;
-            $this->method = "{$class}::{$this->function}";
-        }
-
-        if (!$this->class && $this->trait) {
-            $this->class = $this->closureScopeClass;
-        }
-    }
-
-
-}

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/jeremeamia/SuperClosure/src/Jeremeamia/SuperClosure/ClosureParser.php
----------------------------------------------------------------------
diff --git a/vendor/jeremeamia/SuperClosure/src/Jeremeamia/SuperClosure/ClosureParser.php b/vendor/jeremeamia/SuperClosure/src/Jeremeamia/SuperClosure/ClosureParser.php
deleted file mode 100644
index 12b2a83..0000000
--- a/vendor/jeremeamia/SuperClosure/src/Jeremeamia/SuperClosure/ClosureParser.php
+++ /dev/null
@@ -1,195 +0,0 @@
-<?php
-
-namespace Jeremeamia\SuperClosure;
-
-use Jeremeamia\SuperClosure\Visitor\ClosureFinderVisitor;
-use Jeremeamia\SuperClosure\Visitor\MagicConstantVisitor;
-
-/**
- * Parses a closure from its reflection such that the code and used (closed upon) variables are accessible. The
- * ClosureParser uses the fabulous nikic/php-parser library which creates abstract syntax trees (AST) of the code.
- *
- * @copyright Jeremy Lindblom 2010-2013
- */
-class ClosureParser
-{
-    /**
-     * @var array
-     */
-    protected static $cache = array();
-
-    /**
-     * @var \ReflectionFunction The reflection of the closure being parsed
-     */
-    protected $reflection;
-
-    /**
-     * @var \PHPParser_Node An abstract syntax tree defining the code of the closure
-     */
-    protected $abstractSyntaxTree;
-
-    /**
-     * @var array The variables used (closed upon) by the closure and their values
-     */
-    protected $usedVariables;
-
-    /**
-     * @var  string The closure's code
-     */
-    protected $code;
-
-    /**
-     * Creates a ClosureParser for the provided closure
-     *
-     * @param \Closure $closure
-     *
-     * @return ClosureParser
-     */
-    public static function fromClosure(\Closure $closure)
-    {
-        return new self(new \ReflectionFunction($closure));
-    }
-
-    /**
-     * Clears the internal cache of file ASTs.
-     *
-     * ASTs are stored for any file that is parsed to speed up multiple
-     * parsings of the same file. If you are worried about the memory consumption of files the ClosureParser has already
-     * parsed, you can call this function to clear the cache. The cache is not persistent and stores ASTs from the
-     * current process
-     */
-    public static function clearCache()
-    {
-        self::$cache = array();
-    }
-
-    /**
-     * @param \ReflectionFunction $reflection
-     *
-     * @throws \InvalidArgumentException
-     */
-    public function __construct(\ReflectionFunction $reflection)
-    {
-        if (!$reflection->isClosure()) {
-            throw new \InvalidArgumentException('You must provide the reflection of a closure.');
-        }
-
-        $this->reflection = $reflection;
-    }
-
-    /**
-     * Returns the reflection of the closure
-     *
-     * @return \ReflectionFunction
-     */
-    public function getReflection()
-    {
-        return $this->reflection;
-    }
-
-    /**
-     * Returns the abstract syntax tree (AST) of the closure's code. Class names are resolved to their fully-qualified
-     * class names (FQCN) and magic constants are resolved to their values as they would be in the context of the
-     * closure.
-     *
-     * @return \PHPParser_Node_Expr_Closure
-     * @throws \InvalidArgumentException
-     */
-    public function getClosureAbstractSyntaxTree()
-    {
-        if (!$this->abstractSyntaxTree) {
-            try {
-                // Parse the code from the file containing the closure and create an AST with FQCN resolved
-                $fileAst = $this->getFileAbstractSyntaxTree();
-                $closureFinder = new ClosureFinderVisitor($this->reflection);
-                $fileTraverser = new \PHPParser_NodeTraverser();
-                $fileTraverser->addVisitor(new \PHPParser_NodeVisitor_NameResolver);
-                $fileTraverser->addVisitor($closureFinder);
-                $fileTraverser->traverse($fileAst);
-            } catch (\PHPParser_Error $e) {
-                // @codeCoverageIgnoreStart
-                throw new \InvalidArgumentException('There was an error parsing the file containing the closure.');
-                // @codeCoverageIgnoreEnd
-            }
-
-            // Find the first closure defined in the AST that is on the line where the closure is located
-            $closureAst = $closureFinder->getClosureNode();
-            if (!$closureAst) {
-                // @codeCoverageIgnoreStart
-                throw new \InvalidArgumentException('The closure was not found within the abstract syntax tree.');
-                // @codeCoverageIgnoreEnd
-            }
-
-            // Resolve additional nodes by making a second pass through just the closure's nodes
-            $closureTraverser = new \PHPParser_NodeTraverser();
-            $closureTraverser->addVisitor(new MagicConstantVisitor($closureFinder->getLocation()));
-            $closureAst = $closureTraverser->traverse(array($closureAst));
-            $this->abstractSyntaxTree = $closureAst[0];
-        }
-
-        return $this->abstractSyntaxTree;
-    }
-
-    /**
-     * Returns the variables that in the "use" clause of the closure definition. These are referred to as the "used
-     * variables", "static variables", or "closed upon variables", "context" of the closure.
-     *
-     * @return array
-     */
-    public function getUsedVariables()
-    {
-        if (!$this->usedVariables) {
-            // Get the variable names defined in the AST
-            $usedVarNames = array_map(function ($usedVar) {
-                return $usedVar->var;
-            }, $this->getClosureAbstractSyntaxTree()->uses);
-
-            // Get the variable names and values using reflection
-            $usedVarValues = $this->reflection->getStaticVariables();
-
-            // Combine the two arrays to create a canonical hash of variable names and values
-            $this->usedVariables = array();
-            foreach ($usedVarNames as $name) {
-                if (array_key_exists($name, $usedVarValues)) {
-                    $this->usedVariables[$name] = $usedVarValues[$name];
-                }
-            }
-        }
-
-        return $this->usedVariables;
-    }
-
-    /**
-     * Returns the formatted code of the closure
-     *
-     * @return string
-     */
-    public function getCode()
-    {
-        if (!$this->code) {
-            // Use the pretty printer to print the closure code from the AST
-            $printer = new \PHPParser_PrettyPrinter_Default();
-            $this->code = $printer->prettyPrint(array($this->getClosureAbstractSyntaxTree()));
-        }
-
-        return $this->code;
-    }
-
-    /**
-     * Loads the PHP file and produces an abstract syntax tree (AST) of the code. This is stored in an internal cache by
-     * the filename for memoization within the same process
-     *
-     * @return array
-     */
-    protected function getFileAbstractSyntaxTree()
-    {
-        $filename = $this->reflection->getFileName();
-
-        if (!isset(self::$cache[$filename])) {
-            $parser = new \PHPParser_Parser(new \PHPParser_Lexer_Emulative);
-            self::$cache[$filename] = $parser->parse(file_get_contents($filename));
-        }
-
-        return self::$cache[$filename];
-    }
-}

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/jeremeamia/SuperClosure/src/Jeremeamia/SuperClosure/SerializableClosure.php
----------------------------------------------------------------------
diff --git a/vendor/jeremeamia/SuperClosure/src/Jeremeamia/SuperClosure/SerializableClosure.php b/vendor/jeremeamia/SuperClosure/src/Jeremeamia/SuperClosure/SerializableClosure.php
deleted file mode 100644
index b3b9959..0000000
--- a/vendor/jeremeamia/SuperClosure/src/Jeremeamia/SuperClosure/SerializableClosure.php
+++ /dev/null
@@ -1,114 +0,0 @@
-<?php
-
-namespace Jeremeamia\SuperClosure;
-
-/**
- * This class allows you to do the impossible - serialize closures! With the combined power of the nikic/php-parser
- * library, the Reflection API, and infamous eval, you can serialize a closure, unserialize it in a different PHP
- * process, and execute it. It's almost as cool as time travel!
- *
- * @copyright Jeremy Lindblom 2010-2013
- */
-class SerializableClosure implements \Serializable
-{
-    /**
-     * @var \Closure The closure being made serializable
-     */
-    protected $closure;
-
-    /**
-     * @var \ReflectionFunction The reflected closure
-     */
-    protected $reflection;
-
-    /**
-     * @var array The calculated state to serialize
-     */
-    protected $state;
-
-    /**
-     * @param \Closure $closure
-     */
-    public function __construct(\Closure $closure)
-    {
-        $this->closure = $closure;
-    }
-
-    /**
-     * @return \ReflectionFunction
-     */
-    public function getReflection()
-    {
-        if (!$this->reflection) {
-            $this->reflection = new \ReflectionFunction($this->closure);
-        }
-
-        return $this->reflection;
-    }
-
-    /**
-     * @return \Closure
-     */
-    public function getClosure()
-    {
-        return $this->closure;
-    }
-
-    /**
-     * Invokes the original closure
-     *
-     * @return mixed
-     */
-    public function __invoke()
-    {
-        return $this->getReflection()->invokeArgs(func_get_args());
-    }
-
-    /**
-     * Serialize the code and of context of the closure
-     *
-     * @return string
-     */
-    public function serialize()
-    {
-        if (!$this->state) {
-            $this->createState();
-        }
-
-        return serialize($this->state);
-    }
-
-    /**
-     * Unserializes the closure data and recreates the closure. Attempts to recreate the closure's context as well by
-     * extracting the used variables into the scope. Variables names in this method are surrounded with underlines in
-     * order to prevent collisions with the variables in the context. NOTE: There be dragons here! Both `eval` and
-     * `extract` are used in this method
-     *
-     * @param string $__serialized__
-     */
-    public function unserialize($__serialized__)
-    {
-        // Unserialize the data we need to reconstruct the SuperClosure
-        $this->state = unserialize($__serialized__);
-        list($__code__, $__context__) = $this->state;
-
-        // Simulate the original context the Closure was created in
-        extract($__context__);
-
-        // Evaluate the code to recreate the Closure
-        eval("\$this->closure = {$__code__};");
-    }
-
-    /**
-     * Uses the closure parser to fetch the closure's code and context
-     */
-    protected function createState()
-    {
-        $parser = new ClosureParser($this->getReflection());
-        $this->state = array($parser->getCode());
-        // Add the used variables (context) to the state, but wrap all closures with SerializableClosure
-        $this->state[] = array_map(function ($var) {
-            return ($var instanceof \Closure) ? new self($var) : $var;
-        }, $parser->getUsedVariables());
-    }
-}

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/jeremeamia/SuperClosure/src/Jeremeamia/SuperClosure/Visitor/ClosureFinderVisitor.php
----------------------------------------------------------------------
diff --git a/vendor/jeremeamia/SuperClosure/src/Jeremeamia/SuperClosure/Visitor/ClosureFinderVisitor.php b/vendor/jeremeamia/SuperClosure/src/Jeremeamia/SuperClosure/Visitor/ClosureFinderVisitor.php
deleted file mode 100644
index 56c0625..0000000
--- a/vendor/jeremeamia/SuperClosure/src/Jeremeamia/SuperClosure/Visitor/ClosureFinderVisitor.php
+++ /dev/null
@@ -1,109 +0,0 @@
-<?php
-
-namespace Jeremeamia\SuperClosure\Visitor;
-
-use Jeremeamia\SuperClosure\ClosureLocation;
-
-/**
- * This is a visitor that extends the nikic/php-parser library and looks for a closure node and its location
- *
- * @copyright Jeremy Lindblom 2010-2013
- */
-class ClosureFinderVisitor extends \PHPParser_NodeVisitorAbstract
-{
-    /**
-     * @var \ReflectionFunction
-     */
-    protected $reflection;
-
-    /**
-     * @var \PHPParser_Node_Expr_Closure
-     */
-    protected $closureNode;
-
-    /**
-     * @var ClosureLocation
-     */
-    protected $location;
-
-    /**
-     * @param \ReflectionFunction $reflection
-     */
-    public function __construct(\ReflectionFunction $reflection)
-    {
-        $this->reflection = $reflection;
-        $this->location = new ClosureLocation;
-    }
-
-    public function beforeTraverse(array $nodes)
-    {
-        $this->location = ClosureLocation::fromReflection($this->reflection);
-    }
-
-    public function afterTraverse(array $nodes)
-    {
-        $this->location->finalize();
-    }
-
-    public function enterNode(\PHPParser_Node $node)
-    {
-        // Determine information about the closure's location
-        if (!$this->closureNode) {
-            if ($node instanceof \PHPParser_Node_Stmt_Namespace) {
-                $this->location->namespace = is_array($node->name->parts) ? implode('\\', $node->name->parts) : null;
-            }
-            if ($node instanceof \PHPParser_Node_Stmt_Trait) {
-                $this->location->trait = $this->location->namespace . '\\' . $node->name;
-                $this->location->class = null;
-            }
-            elseif ($node instanceof \PHPParser_Node_Stmt_Class) {
-                $this->location->class = $this->location->namespace . '\\' . $node->name;
-                $this->location->trait = null;
-            }
-        }
-
-        // Locate the node of the closure
-        if ($node instanceof \PHPParser_Node_Expr_Closure) {
-            if ($node->getAttribute('startLine') == $this->reflection->getStartLine()) {
-                if ($this->closureNode) {
-                    throw new \RuntimeException('Two closures were declared on the same line of code. Cannot determine '
-                        . 'which closure was the intended target.');
-                } else {
-                    $this->closureNode = $node;
-                }
-            }
-        }
-    }
-
-    public function leaveNode(\PHPParser_Node $node)
-    {
-        // Determine information about the closure's location
-        if (!$this->closureNode) {
-            if ($node instanceof \PHPParser_Node_Stmt_Namespace) {
-                $this->location->namespace = null;
-            }
-            if ($node instanceof \PHPParser_Node_Stmt_Trait) {
-                $this->location->trait = null;
-            }
-            elseif ($node instanceof \PHPParser_Node_Stmt_Class) {
-                $this->location->class = null;
-            }
-        }
-    }
-
-    /**
-     * @return \PHPParser_Node_Expr_Closure
-     */
-    public function getClosureNode()
-    {
-        return $this->closureNode;
-    }
-
-    /**
-     * @return ClosureLocation
-     */
-    public function getLocation()
-    {
-        return $this->location;
-    }
-}

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/jeremeamia/SuperClosure/src/Jeremeamia/SuperClosure/Visitor/MagicConstantVisitor.php
----------------------------------------------------------------------
diff --git a/vendor/jeremeamia/SuperClosure/src/Jeremeamia/SuperClosure/Visitor/MagicConstantVisitor.php b/vendor/jeremeamia/SuperClosure/src/Jeremeamia/SuperClosure/Visitor/MagicConstantVisitor.php
deleted file mode 100644
index 8a1846a..0000000
--- a/vendor/jeremeamia/SuperClosure/src/Jeremeamia/SuperClosure/Visitor/MagicConstantVisitor.php
+++ /dev/null
@@ -1,50 +0,0 @@
-<?php
-
-namespace Jeremeamia\SuperClosure\Visitor;
-
-use Jeremeamia\SuperClosure\ClosureLocation;
-use PHPParser_Node_Scalar_LNumber as NumberNode;
-use PHPParser_Node_Scalar_String as StringNode;
-
-/**
- * This is a visitor that resolves magic constants (e.g., __FILE__) to their intended values within a closure's AST
- *
- * @copyright Jeremy Lindblom 2010-2013
- */
-class MagicConstantVisitor extends \PHPParser_NodeVisitorAbstract
-{
-    /**
-     * @var ClosureLocation
-     */
-    protected $location;
-
-    /**
-     * @param ClosureLocation $location
-     */
-    public function __construct(ClosureLocation $location)
-    {
-        $this->location = $location;
-    }
-
-    public function leaveNode(\PHPParser_Node $node)
-    {
-        switch ($node->getType()) {
-            case 'Scalar_LineConst' :
-                return new NumberNode($node->getAttribute('startLine'));
-            case 'Scalar_FileConst' :
-                return new StringNode($this->location->file);
-            case 'Scalar_DirConst' :
-                return new StringNode($this->location->directory);
-            case 'Scalar_FuncConst' :
-                return new StringNode($this->location->function);
-            case 'Scalar_NSConst' :
-                return new StringNode($this->location->namespace);
-            case 'Scalar_ClassConst' :
-                return new StringNode($this->location->class);
-            case 'Scalar_MethodConst' :
-                return new StringNode($this->location->method);
-            case 'Scalar_TraitConst' :
-                return new StringNode($this->location->trait);
-        }
-    }
-}

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/jeremeamia/SuperClosure/tests/Jeremeamia/SuperClosure/Test/ClosureLocationTest.php
----------------------------------------------------------------------
diff --git a/vendor/jeremeamia/SuperClosure/tests/Jeremeamia/SuperClosure/Test/ClosureLocationTest.php b/vendor/jeremeamia/SuperClosure/tests/Jeremeamia/SuperClosure/Test/ClosureLocationTest.php
deleted file mode 100644
index 4475248..0000000
--- a/vendor/jeremeamia/SuperClosure/tests/Jeremeamia/SuperClosure/Test/ClosureLocationTest.php
+++ /dev/null
@@ -1,33 +0,0 @@
-<?php
-
-namespace Jeremeamia\SuperClosure\Test;
-
-use Jeremeamia\SuperClosure\ClosureLocation;
-
-class ClosureLocationTest extends \PHPUnit_Framework_TestCase
-{
-    public function testCanCreateClosureLocationFromClosureReflection()
-    {
-        $reflection = new \ReflectionFunction(function () {});
-        $location = ClosureLocation::fromReflection($reflection);
-        $setProperties = array_filter(get_object_vars($location));
-
-        $this->assertEquals(array('directory', 'file', 'function', 'line'), array_keys($setProperties));
-    }
-
-    public function testCanFinalizeLocation()
-    {
-        $location = new ClosureLocation();
-        $location->function = '[function]';
-        $location->trait = '[trait]';
-
-        $r = new \ReflectionObject($location);
-        $p = $r->getProperty('closureScopeClass');
-        $p->setAccessible(true);
-        $p->setValue($location, '[class]');
-
-        $location->finalize();
-        $this->assertEquals('[trait]::[function]', $location->method);
-        $this->assertEquals('[class]', $location->class);
-    }
-}

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/jeremeamia/SuperClosure/tests/Jeremeamia/SuperClosure/Test/ClosureParserTest.php
----------------------------------------------------------------------
diff --git a/vendor/jeremeamia/SuperClosure/tests/Jeremeamia/SuperClosure/Test/ClosureParserTest.php b/vendor/jeremeamia/SuperClosure/tests/Jeremeamia/SuperClosure/Test/ClosureParserTest.php
deleted file mode 100644
index 13abd16..0000000
--- a/vendor/jeremeamia/SuperClosure/tests/Jeremeamia/SuperClosure/Test/ClosureParserTest.php
+++ /dev/null
@@ -1,115 +0,0 @@
-<?php
-
-namespace Jeremeamia\SuperClosure\Test;
-
-use Jeremeamia\SuperClosure\ClosureParser;
-
-class ClosureParserTest extends \PHPUnit_Framework_TestCase
-{
-    /**
-     * @covers \Jeremeamia\SuperClosure\ClosureParser::__construct
-     * @covers \Jeremeamia\SuperClosure\ClosureParser::getReflection
-     */
-    public function testCanGetReflectionBackFromParser()
-    {
-        $closure = function () {};
-        $reflection = new \ReflectionFunction($closure);
-        $parser = new ClosureParser($reflection);
-
-        $this->assertSame($reflection, $parser->getReflection());
-    }
-
-    /**
-     * @covers \Jeremeamia\SuperClosure\ClosureParser::fromClosure
-     */
-    public function testCanUseFactoryMethodToCreateParser()
-    {
-        $parser = ClosureParser::fromClosure(function () {});
-
-        $this->assertInstanceOf('Jeremeamia\SuperClosure\ClosureParser', $parser);
-    }
-
-    /**
-     * @covers \Jeremeamia\SuperClosure\ClosureParser::__construct
-     */
-    public function testRaisesErrorWhenNonClosureIsProvided()
-    {
-        $this->setExpectedException('InvalidArgumentException');
-
-        $reflection = new \ReflectionFunction('strpos');
-        $parser = new ClosureParser($reflection);
-    }
-
-    /**
-     * @covers \Jeremeamia\SuperClosure\ClosureParser::getCode
-     */
-    public function testCanGetCodeFromParser()
-    {
-        $closure = function () {};
-        $expectedCode = "function () {\n    \n};";
-        $parser = new ClosureParser(new \ReflectionFunction($closure));
-        $actualCode = $parser->getCode();
-
-        $this->assertEquals($expectedCode, $actualCode);
-    }
-
-    /**
-     * @covers \Jeremeamia\SuperClosure\ClosureParser::getUsedVariables
-     */
-    public function testCanGetUsedVariablesFromParser()
-    {
-        $foo = 1;
-        $bar = 2;
-        $closure = function () use ($foo, $bar) {};
-        $expectedVars = array('foo' => 1, 'bar' => 2);
-        $parser = new ClosureParser(new \ReflectionFunction($closure));
-        $actualVars = $parser->getUsedVariables();
-
-        $this->assertEquals($expectedVars, $actualVars);
-    }
-
-    /**
-     * @covers \Jeremeamia\SuperClosure\ClosureParser::getUsedVariables
-     */
-    public function testCanGetUsedVariablesWhenOneIsNullFromParser()
-    {
-        $foo = null;
-        $bar = 2;
-        $closure = function () use ($foo, $bar) {};
-        $expectedVars = array('foo' => null, 'bar' => 2);
-        $parser = new ClosureParser(new \ReflectionFunction($closure));
-        $actualVars = $parser->getUsedVariables();
-
-        $this->assertEquals($expectedVars, $actualVars);
-    }
-
-    /**
-     * @covers \Jeremeamia\SuperClosure\ClosureParser::clearCache
-     */
-    public function testCanClearCache()
-    {
-        $parserClass = 'Jeremeamia\SuperClosure\ClosureParser';
-
-        $p = new \ReflectionProperty($parserClass, 'cache');
-        $p->setAccessible(true);
-        $p->setValue(null, array('foo' => 'bar'));
-
-        $this->assertEquals(array('foo' => 'bar'), $this->readAttribute($parserClass, 'cache'));
-
-        ClosureParser::clearCache();
-
-        $this->assertEquals(array(), $this->readAttribute($parserClass, 'cache'));
-    }
-
-    /**
-     * @covers \Jeremeamia\SuperClosure\ClosureParser::getClosureAbstractSyntaxTree
-     * @covers \Jeremeamia\SuperClosure\ClosureParser::getFileAbstractSyntaxTree
-     */
-    public function testCanGetClosureAst()
-    {
-        $closure = function () {};
-        $parser = new ClosureParser(new \ReflectionFunction($closure));
-        $ast = $parser->getClosureAbstractSyntaxTree();
-        $this->assertInstanceOf('PHPParser_Node_Expr_Closure', $ast);
-    }
-}

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/jeremeamia/SuperClosure/tests/Jeremeamia/SuperClosure/Test/SerializableClosureTest.php
----------------------------------------------------------------------
diff --git a/vendor/jeremeamia/SuperClosure/tests/Jeremeamia/SuperClosure/Test/SerializableClosureTest.php b/vendor/jeremeamia/SuperClosure/tests/Jeremeamia/SuperClosure/Test/SerializableClosureTest.php
deleted file mode 100644
index 1beac8d..0000000
--- a/vendor/jeremeamia/SuperClosure/tests/Jeremeamia/SuperClosure/Test/SerializableClosureTest.php
+++ /dev/null
@@ -1,115 +0,0 @@
-<?php
-
-namespace Jeremeamia\SuperClosure\Test;
-
-use Jeremeamia\SuperClosure\SerializableClosure;
-
-/**
- * @covers \Jeremeamia\SuperClosure\SerializableClosure
- */
-class SerializableClosureTest extends \PHPUnit_Framework_TestCase
-{
-    /**
-     * @var SerializableClosure
-     */
-    public $serializableClosure;
-
-    /**
-     * @var \Closure
-     */
-    public $originalClosure;
-
-    public function setup()
-    {
-        $base = 2;
-        $exp = function ($power) use ($base) {
-            return (int) pow($base, $power);
-        };
-
-        $this->originalClosure = $exp;
-        $this->serializableClosure = new SerializableClosure($exp);
-    }
-
-    public function testClosureProxiesToTheOriginalClosureWhenInvoked()
-    {
-        $this->assertInstanceOf('\Closure', $this->serializableClosure->getClosure());
-        $this->assertSame($this->originalClosure, $this->serializableClosure->getClosure());
-        $this->assertEquals(
-            call_user_func($this->originalClosure, 4),
-            call_user_func($this->serializableClosure, 4)
-        );
-    }
-
-    public function testClosureBehavesTheSameAfterSerializationProcess()
-    {
-        $originalReturnValue = call_user_func($this->serializableClosure, 4);
-        $serializedClosure = serialize($this->serializableClosure);
-        $unserializedClosure = unserialize($serializedClosure);
-        $finalReturnValue = call_user_func($unserializedClosure, 4);
-
-        $this->assertEquals($originalReturnValue, $finalReturnValue);
-    }
-
-    public function testCanSerializeRecursiveClosure()
-    {
-        if (version_compare(PHP_VERSION, '5.4', '<')) {
-            $this->markTestSkipped('Requires version 5.4+ of PHP');
-        }
-
-        $factorial = new SerializableClosure(function ($n) use (&$factorial) {
-            return ($n <= 1) ? 1 : $n * $factorial($n - 1);
-        });
-
-        $this->assertEquals(120, call_user_func($factorial, 5));
-    }
-
-    public function testCanSerializeMultipleTimes()
-    {
-        $result = call_user_func($this->serializableClosure, 5);
-        $this->assertEquals(32, $result);
-
-        $serializedOnce = unserialize(serialize($this->serializableClosure));
-        $this->assertEquals(32, call_user_func($serializedOnce, 5));
-        $internalState = $this->readAttribute($serializedOnce, 'state');
-        $this->assertCount(2, $internalState);
-
-        $serializedAgain = unserialize(serialize($this->serializableClosure));
-        $this->assertEquals(32, call_user_func($serializedAgain, 5));
-        $this->assertEquals($internalState, $this->readAttribute($serializedAgain, 'state'));
-
-        $serializedTwice = unserialize(serialize($serializedOnce));
-        $this->assertEquals(32, call_user_func($serializedTwice, 5));
-        $this->assertEquals($internalState, $this->readAttribute($serializedTwice, 'state'));
-    }
-
-    /**
-     * CAVEAT #1: Serializing a closure will sever relationships with things passed by reference
-     */
-    public function testDoesNotMaintainsReferencesEvenWhenVariablesAreStillInScope()
-    {
-        $num = 0;
-        $inc = new SerializableClosure(function () use (&$num) {
-            $num++;
-        });
-
-        $inc();
-        $inc();
-        $this->assertEquals(2, $num, '$num should be incremented twice because by reference');
-
-        $newInc = unserialize(serialize($inc));
-        /** @var $newInc \Closure */
-        $newInc();
-        $this->assertEquals(2, $num, '$num should not be incremented again because the reference is lost');
-    }
-
-    /**
-     * CAVEAT #2: You can't serialize a closure if there are two closures declared on one line
-     */
-    public function testCannotDetermineWhichClosureToUseIfTwoDeclaredOnTheSameLine()
-    {
-        $this->setExpectedException('Exception');
-
-        $add = function ($a, $b) {return $a + $b;}; $sub = function ($a, $b) {return $a - $b;};
-        $serialized = serialize(new SerializableClosure($sub));
-    }
-}

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/jeremeamia/SuperClosure/tests/Jeremeamia/SuperClosure/Test/Visitor/ClosureFinderVisitorTest.php
----------------------------------------------------------------------
diff --git a/vendor/jeremeamia/SuperClosure/tests/Jeremeamia/SuperClosure/Test/Visitor/ClosureFinderVisitorTest.php b/vendor/jeremeamia/SuperClosure/tests/Jeremeamia/SuperClosure/Test/Visitor/ClosureFinderVisitorTest.php
deleted file mode 100644
index b067cc7..0000000
--- a/vendor/jeremeamia/SuperClosure/tests/Jeremeamia/SuperClosure/Test/Visitor/ClosureFinderVisitorTest.php
+++ /dev/null
@@ -1,57 +0,0 @@
-<?php
-
-namespace Jeremeamia\SuperClosure\Test\Visitor;
-
-use Jeremeamia\SuperClosure\Visitor\ClosureFinderVisitor;
-
-/**
- * @covers Jeremeamia\SuperClosure\Visitor\ClosureFinderVisitor
- */
-class ClosureFinderVisitorTest extends \PHPUnit_Framework_TestCase
-{
-    public function testClosureNodeIsDiscoveredByVisitor()
-    {
-        $closure = function () {}; // Take the line number here and set it as the "startLine"
-        $reflectedClosure = new \ReflectionFunction($closure);
-        $closureFinder = new ClosureFinderVisitor($reflectedClosure);
-        $closureNode = new \PHPParser_Node_Expr_Closure(array(), array('startLine' => 14));
-        $closureFinder->enterNode($closureNode);
-
-        $this->assertSame($closureNode, $closureFinder->getClosureNode());
-    }
-
-    public function testClosureNodeIsAmbiguousIfMultipleClosuresOnLine()
-    {
-        $this->setExpectedException('RuntimeException');
-
-        $closure = function () {}; function () {}; // Take the line number here and set it as the "startLine"
-        $closureFinder = new ClosureFinderVisitor(new \ReflectionFunction($closure));
-        $closureFinder->enterNode(new \PHPParser_Node_Expr_Closure(array(), array('startLine' => 27)));
-        $closureFinder->enterNode(new \PHPParser_Node_Expr_Closure(array(), array('startLine' => 27)));
-    }
-
-    public function testCalculatesClosureLocation()
-    {
-        $closure = function () {}; // Take the line number here and set it as the "startLine"
-        $closureFinder = new ClosureFinderVisitor(new \ReflectionFunction($closure));
-
-        $closureFinder->beforeTraverse(array());
-
-        $node = new \PHPParser_Node_Stmt_Namespace(new \PHPParser_Node_Name(array('Foo', 'Bar')));
-        $closureFinder->enterNode($node);
-        $closureFinder->leaveNode($node);
-
-        $node = new \PHPParser_Node_Stmt_Trait('Fizz');
-        $closureFinder->enterNode($node);
-        $closureFinder->leaveNode($node);
-
-        $node = new \PHPParser_Node_Stmt_Class('Buzz');
-        $closureFinder->enterNode($node);
-        $closureFinder->leaveNode($node);
-
-        $closureFinder->afterTraverse(array());
-
-        $setProperties = array_filter(get_object_vars($closureFinder->getLocation()));
-        $this->assertEquals(array('directory', 'file', 'function', 'line'), array_keys($setProperties));
-    }
-}

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/jeremeamia/SuperClosure/tests/Jeremeamia/SuperClosure/Test/Visitor/MagicConstantVisitorTest.php
----------------------------------------------------------------------
diff --git a/vendor/jeremeamia/SuperClosure/tests/Jeremeamia/SuperClosure/Test/Visitor/MagicConstantVisitorTest.php b/vendor/jeremeamia/SuperClosure/tests/Jeremeamia/SuperClosure/Test/Visitor/MagicConstantVisitorTest.php
deleted file mode 100644
index 48440c8..0000000
--- a/vendor/jeremeamia/SuperClosure/tests/Jeremeamia/SuperClosure/Test/Visitor/MagicConstantVisitorTest.php
+++ /dev/null
@@ -1,54 +0,0 @@
-<?php
-
-namespace Jeremeamia\SuperClosure\Test\Visitor;
-
-use Jeremeamia\SuperClosure\Visitor\MagicConstantVisitor;
-use Jeremeamia\SuperClosure\ClosureLocation;
-
-/**
- * @covers Jeremeamia\SuperClosure\Visitor\MagicConstantVisitor
- */
-class MagicConstantVisitorTest extends \PHPUnit_Framework_TestCase
-{
-    public function testDataFromClosureLocationGetsUsed()
-    {
-        $location = new ClosureLocation();
-        $location->class = '[class]';
-        $location->directory = '[directory]';
-        $location->file = '[file]';
-        $location->function = '[function]';
-        $location->line = '[line]';
-        $location->method = '[method]';
-        $location->namespace = '[namespace]';
-        $location->trait = '[trait]';
-
-        $nodes = array(
-            'PHPParser_Node_Scalar_LineConst'   => 'PHPParser_Node_Scalar_LNumber',
-            'PHPParser_Node_Scalar_FileConst'   => 'PHPParser_Node_Scalar_String',
-            'PHPParser_Node_Scalar_DirConst'    => 'PHPParser_Node_Scalar_String',
-            'PHPParser_Node_Scalar_FuncConst'   => 'PHPParser_Node_Scalar_String',
-            'PHPParser_Node_Scalar_NSConst'     => 'PHPParser_Node_Scalar_String',
-            'PHPParser_Node_Scalar_ClassConst'  => 'PHPParser_Node_Scalar_String',
-            'PHPParser_Node_Scalar_MethodConst' => 'PHPParser_Node_Scalar_String',
-            'PHPParser_Node_Scalar_TraitConst'  => 'PHPParser_Node_Scalar_String',
-            'PHPParser_Node_Scalar_String'      => 'PHPParser_Node_Scalar_String',
-
-        );
-
-        $visitor = new MagicConstantVisitor($location);
-        foreach ($nodes as $originalNodeName => $resultNodeName) {
-            $mockNode = $this->getMockBuilder($originalNodeName)
-                ->disableOriginalConstructor()
-                ->setMethods(array('getType', 'getAttribute'))
-                ->getMock();
-            $mockNode->expects($this->any())
-                ->method('getAttribute')
-                ->will($this->returnValue(1));
-            $mockNode->expects($this->any())
-                ->method('getType')
-                ->will($this->returnValue(substr($originalNodeName, 15)));
-            $resultNode = $visitor->leaveNode($mockNode) ?: $mockNode;
-            $this->assertInstanceOf($resultNodeName, $resultNode);
-        }
-    }
-}

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/jeremeamia/SuperClosure/tests/bootstrap.php
----------------------------------------------------------------------
diff --git a/vendor/jeremeamia/SuperClosure/tests/bootstrap.php b/vendor/jeremeamia/SuperClosure/tests/bootstrap.php
deleted file mode 100644
index 16fe799..0000000
--- a/vendor/jeremeamia/SuperClosure/tests/bootstrap.php
+++ /dev/null
@@ -1,4 +0,0 @@
-<?php
-
-date_default_timezone_set('America/Los_Angeles');
-require __DIR__ . '/../vendor/autoload.php';

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/laravel/framework/.gitattributes
----------------------------------------------------------------------
diff --git a/vendor/laravel/framework/.gitattributes b/vendor/laravel/framework/.gitattributes
deleted file mode 100755
index 0c772b6..0000000
--- a/vendor/laravel/framework/.gitattributes
+++ /dev/null
@@ -1,2 +0,0 @@
-/build export-ignore
-/tests export-ignore

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/laravel/framework/.gitignore
----------------------------------------------------------------------
diff --git a/vendor/laravel/framework/.gitignore b/vendor/laravel/framework/.gitignore
deleted file mode 100755
index 10a34bb..0000000
--- a/vendor/laravel/framework/.gitignore
+++ /dev/null
@@ -1,5 +0,0 @@
-/vendor
-composer.phar
-composer.lock
-.DS_Store
-Thumbs.db

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/laravel/framework/.scrutinizer.yml
----------------------------------------------------------------------
diff --git a/vendor/laravel/framework/.scrutinizer.yml b/vendor/laravel/framework/.scrutinizer.yml
deleted file mode 100644
index 6c33c7b..0000000
--- a/vendor/laravel/framework/.scrutinizer.yml
+++ /dev/null
@@ -1,55 +0,0 @@
-filter:
-    excluded_paths: [tests/*]
-
-checks:
-    php:
-        code_rating: true
-        duplication: true
-        variable_existence: true
-        useless_calls: true
-        use_statement_alias_conflict: true
-        unused_variables: true
-        unused_properties: true
-        unused_parameters: true
-        unused_methods: true
-        unreachable_code: true
-        sql_injection_vulnerabilities: true
-        security_vulnerabilities: true
-        precedence_mistakes: true
-        precedence_in_conditions: true
-        parameter_non_unique: true
-        no_property_on_interface: true
-        no_non_implemented_abstract_methods: true
-        deprecated_code_usage: true
-        closure_use_not_conflicting: true
-        closure_use_modifiable: true
-        avoid_useless_overridden_methods: true
-        avoid_conflicting_incrementers: true
-        assignment_of_null_return: true
-        avoid_usage_of_logical_operators: true
-        ensure_lower_case_builtin_functions: true
-        foreach_traversable: true
-        function_in_camel_caps: true
-        instanceof_class_exists: true
-        lowercase_basic_constants: true
-        lowercase_php_keywords: true
-        missing_arguments: true
-        no_commented_out_code: true
-        no_duplicate_arguments: true
-        no_else_if_statements: true
-        no_space_between_concatenation_operator: true
-        no_space_inside_cast_operator: true
-        no_trailing_whitespace: true
-        no_underscore_prefix_in_properties: true
-        no_unnecessary_if: true
-        no_unnecessary_function_call_in_for_loop: true
-        non_commented_empty_catch_block: true
-        php5_style_constructor: true
-        parameters_in_camelcaps: true
-        prefer_while_loop_over_for_loop: true
-        properties_in_camelcaps: true
-        require_scope_for_methods: true
-        require_scope_for_properties: true
-        spacing_around_conditional_operators: true
-        spacing_around_non_conditional_operators: true
-        spacing_of_function_arguments: true

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/laravel/framework/.travis.yml
----------------------------------------------------------------------
diff --git a/vendor/laravel/framework/.travis.yml b/vendor/laravel/framework/.travis.yml
deleted file mode 100755
index cd31330..0000000
--- a/vendor/laravel/framework/.travis.yml
+++ /dev/null
@@ -1,13 +0,0 @@
-language: php
-
-php:
-  - 5.4
-  - 5.5
-  - 5.6
-  - hhvm
-
-sudo: false
-
-install: travis_retry composer install --no-interaction --prefer-source
-
-script: vendor/bin/phpunit

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/laravel/framework/CONTRIBUTING.md
----------------------------------------------------------------------
diff --git a/vendor/laravel/framework/CONTRIBUTING.md b/vendor/laravel/framework/CONTRIBUTING.md
deleted file mode 100755
index 2cbf825..0000000
--- a/vendor/laravel/framework/CONTRIBUTING.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# Laravel Contribution Guide
-
-Thank you for considering contributing to the Laravel framework! The contribution guide can be found in the [Laravel documentation](http://laravel.com/docs/contributions). Please review the entire guide before sending a pull request.

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/laravel/framework/LICENSE.txt
----------------------------------------------------------------------
diff --git a/vendor/laravel/framework/LICENSE.txt b/vendor/laravel/framework/LICENSE.txt
deleted file mode 100644
index 1ce5963..0000000
--- a/vendor/laravel/framework/LICENSE.txt
+++ /dev/null
@@ -1,21 +0,0 @@
-The MIT License (MIT)
-
-Copyright (c) <Taylor Otwell>
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/laravel/framework/composer.json
----------------------------------------------------------------------
diff --git a/vendor/laravel/framework/composer.json b/vendor/laravel/framework/composer.json
deleted file mode 100755
index e18a3fa..0000000
--- a/vendor/laravel/framework/composer.json
+++ /dev/null
@@ -1,96 +0,0 @@
-{
-    "name": "laravel/framework",
-    "description": "The Laravel Framework.",
-    "keywords": ["framework", "laravel"],
-    "license": "MIT",
-    "authors": [
-        {
-            "name": "Taylor Otwell",
-            "email": "taylorotwell@gmail.com"
-        }
-    ],
-    "require": {
-        "php": ">=5.4.0",
-        "classpreloader/classpreloader": "~1.0.2",
-        "d11wtq/boris": "~1.0",
-        "ircmaxell/password-compat": "~1.0",
-        "filp/whoops": "1.1.*",
-        "jeremeamia/superclosure": "~1.0.1",
-        "monolog/monolog": "~1.6",
-        "nesbot/carbon": "~1.0",
-        "patchwork/utf8": "~1.1",
-        "phpseclib/phpseclib": "0.3.*",
-        "predis/predis": "0.8.*",
-        "stack/builder": "~1.0",
-        "swiftmailer/swiftmailer": "~5.1",
-        "symfony/browser-kit": "2.5.*",
-        "symfony/console": "2.5.*",
-        "symfony/css-selector": "2.5.*",
-        "symfony/debug": "2.5.*",
-        "symfony/dom-crawler": "2.5.*",
-        "symfony/finder": "2.5.*",
-        "symfony/http-foundation": "2.5.*",
-        "symfony/http-kernel": "2.5.*",
-        "symfony/process": "2.5.*",
-        "symfony/routing": "2.5.*",
-        "symfony/security-core": "2.5.*",
-        "symfony/translation": "2.5.*"
-    },
-    "replace": {
-        "illuminate/auth": "self.version",
-        "illuminate/cache": "self.version",
-        "illuminate/config": "self.version",
-        "illuminate/console": "self.version",
-        "illuminate/container": "self.version",
-        "illuminate/cookie": "self.version",
-        "illuminate/database": "self.version",
-        "illuminate/encryption": "self.version",
-        "illuminate/events": "self.version",
-        "illuminate/exception": "self.version",
-        "illuminate/filesystem": "self.version",
-        "illuminate/foundation": "self.version",
-        "illuminate/hashing": "self.version",
-        "illuminate/http": "self.version",
-        "illuminate/html": "self.version",
-        "illuminate/log": "self.version",
-        "illuminate/mail": "self.version",
-        "illuminate/pagination": "self.version",
-        "illuminate/queue": "self.version",
-        "illuminate/redis": "self.version",
-        "illuminate/remote": "self.version",
-        "illuminate/routing": "self.version",
-        "illuminate/session": "self.version",
-        "illuminate/support": "self.version",
-        "illuminate/translation": "self.version",
-        "illuminate/validation": "self.version",
-        "illuminate/view": "self.version",
-        "illuminate/workbench": "self.version"
-    },
-    "require-dev": {
-        "aws/aws-sdk-php": "~2.6",
-        "iron-io/iron_mq": "~1.5",
-        "pda/pheanstalk": "~2.1",
-        "mockery/mockery": "~0.9",
-        "phpunit/phpunit": "~4.0"
-    },
-    "autoload": {
-        "classmap": [
-            "src/Illuminate/Queue/IlluminateQueueClosure.php"
-        ],
-        "files": [
-            "src/Illuminate/Support/helpers.php"
-        ],
-        "psr-0": {
-            "Illuminate": "src/"
-        }
-    },
-    "extra": {
-        "branch-alias": {
-            "dev-master": "4.2-dev"
-        }
-    },
-    "suggest": {
-        "doctrine/dbal": "Allow renaming columns and dropping SQLite columns."
-    },
-    "minimum-stability": "dev"
-}

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/laravel/framework/phpunit.php
----------------------------------------------------------------------
diff --git a/vendor/laravel/framework/phpunit.php b/vendor/laravel/framework/phpunit.php
deleted file mode 100755
index 7e0cfdd..0000000
--- a/vendor/laravel/framework/phpunit.php
+++ /dev/null
@@ -1,30 +0,0 @@
-<?php
-
-/*
-|--------------------------------------------------------------------------
-| Register The Composer Auto Loader
-|--------------------------------------------------------------------------
-|
-| Composer provides a convenient, automatically generated class loader
-| for our application. We just need to utilize it! We'll require it
-| into the script here so that we do not have to worry about the
-| loading of any our classes "manually". Feels great to relax.
-|
-*/
-
-require __DIR__.'/vendor/autoload.php';
-
-/*
-|--------------------------------------------------------------------------
-| Set The Default Timezone
-|--------------------------------------------------------------------------
-|
-| Here we will set the default timezone for PHP. PHP is notoriously mean
-| if the timezone is not explicitly set. This will be used by each of
-| the PHP date and date-time functions throughout the application.
-|
-*/
-
-date_default_timezone_set('UTC');
-
-Carbon\Carbon::setTestNow(Carbon\Carbon::now());

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/laravel/framework/phpunit.xml
----------------------------------------------------------------------
diff --git a/vendor/laravel/framework/phpunit.xml b/vendor/laravel/framework/phpunit.xml
deleted file mode 100755
index d52ff1b..0000000
--- a/vendor/laravel/framework/phpunit.xml
+++ /dev/null
@@ -1,30 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<phpunit backupGlobals="false"
-         backupStaticAttributes="false"
-         bootstrap="phpunit.php"
-         colors="true"
-         convertErrorsToExceptions="true"
-         convertNoticesToExceptions="true"
-         convertWarningsToExceptions="true"
-         processIsolation="false"
-         stopOnError="false"
-         stopOnFailure="false"
-         syntaxCheck="true"
-         verbose="true"
->
-    <testsuites>
-        <testsuite name="Laravel Test Suite">
-            <directory suffix="Test.php">./tests</directory>
-        </testsuite>
-    </testsuites>
-    <filter>
-        <whitelist processUncoveredFilesFromWhitelist="true">
-            <directory suffix=".php">./src</directory>
-            <exclude>
-                <file>./src/Illuminate/Foundation/start.php</file>
-                <file>./src/Illuminate/Foundation/Console/Optimize/config.php</file>
-                <directory>./src/Illuminate/Pagination/views</directory>
-            </exclude>
-        </whitelist>
-    </filter>
-</phpunit>

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/laravel/framework/readme.md
----------------------------------------------------------------------
diff --git a/vendor/laravel/framework/readme.md b/vendor/laravel/framework/readme.md
deleted file mode 100755
index a29c616..0000000
--- a/vendor/laravel/framework/readme.md
+++ /dev/null
@@ -1,27 +0,0 @@
-## Laravel Framework (Kernel)
-
-[![Build Status](https://travis-ci.org/laravel/framework.svg)](https://travis-ci.org/laravel/framework)
-[![Total Downloads](https://poser.pugx.org/laravel/framework/downloads.svg)](https://packagist.org/packages/laravel/framework)
-[![Latest Stable Version](https://poser.pugx.org/laravel/framework/v/stable.svg)](https://packagist.org/packages/laravel/framework)
-[![Latest Unstable Version](https://poser.pugx.org/laravel/framework/v/unstable.svg)](https://packagist.org/packages/laravel/framework)
-[![License](https://poser.pugx.org/laravel/framework/license.svg)](https://packagist.org/packages/laravel/framework)
-
-> **Note:** This repository contains the core code of the Laravel framework. If you want to build an application using Laravel 4, visit the main [Laravel repository](https://github.com/laravel/laravel).
-
-## Laravel PHP Framework
-
-Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable, creative experience to be truly fulfilling. Laravel attempts to take the pain out of development by easing common tasks used in the majority of web projects, such as authentication, routing, sessions, queueing, and caching.
-
-Laravel is accessible, yet powerful, providing powerful tools needed for large, robust applications. A superb inversion of control container, expressive migration system, and tightly integrated unit testing support give you the tools you need to build any application with which you are tasked.
-
-## Official Documentation
-
-Documentation for the framework can be found on the [Laravel website](http://laravel.com/docs).
-
-## Contributing
-
-Thank you for considering contributing to the Laravel framework! The contribution guide can be found in the [Laravel documentation](http://laravel.com/docs/contributions).
-
-### License
-
-The Laravel framework is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT)

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/laravel/framework/src/Illuminate/Auth/AuthManager.php
----------------------------------------------------------------------
diff --git a/vendor/laravel/framework/src/Illuminate/Auth/AuthManager.php b/vendor/laravel/framework/src/Illuminate/Auth/AuthManager.php
deleted file mode 100755
index 7f7bad2..0000000
--- a/vendor/laravel/framework/src/Illuminate/Auth/AuthManager.php
+++ /dev/null
@@ -1,116 +0,0 @@
-<?php namespace Illuminate\Auth;
-
-use Illuminate\Support\Manager;
-
-class AuthManager extends Manager {
-
-	/**
-	 * Create a new driver instance.
-	 *
-	 * @param  string  $driver
-	 * @return mixed
-	 */
-	protected function createDriver($driver)
-	{
-		$guard = parent::createDriver($driver);
-
-		// When using the remember me functionality of the authentication services we
-		// will need to be set the encryption instance of the guard, which allows
-		// secure, encrypted cookie values to get generated for those cookies.
-		$guard->setCookieJar($this->app['cookie']);
-
-		$guard->setDispatcher($this->app['events']);
-
-		return $guard->setRequest($this->app->refresh('request', $guard, 'setRequest'));
-	}
-
-	/**
-	 * Call a custom driver creator.
-	 *
-	 * @param  string  $driver
-	 * @return \Illuminate\Auth\Guard
-	 */
-	protected function callCustomCreator($driver)
-	{
-		$custom = parent::callCustomCreator($driver);
-
-		if ($custom instanceof Guard) return $custom;
-
-		return new Guard($custom, $this->app['session.store']);
-	}
-
-	/**
-	 * Create an instance of the database driver.
-	 *
-	 * @return \Illuminate\Auth\Guard
-	 */
-	public function createDatabaseDriver()
-	{
-		$provider = $this->createDatabaseProvider();
-
-		return new Guard($provider, $this->app['session.store']);
-	}
-
-	/**
-	 * Create an instance of the database user provider.
-	 *
-	 * @return \Illuminate\Auth\DatabaseUserProvider
-	 */
-	protected function createDatabaseProvider()
-	{
-		$connection = $this->app['db']->connection();
-
-		// When using the basic database user provider, we need to inject the table we
-		// want to use, since this is not an Eloquent model we will have no way to
-		// know without telling the provider, so we'll inject the config value.
-		$table = $this->app['config']['auth.table'];
-
-		return new DatabaseUserProvider($connection, $this->app['hash'], $table);
-	}
-
-	/**
-	 * Create an instance of the Eloquent driver.
-	 *
-	 * @return \Illuminate\Auth\Guard
-	 */
-	public function createEloquentDriver()
-	{
-		$provider = $this->createEloquentProvider();
-
-		return new Guard($provider, $this->app['session.store']);
-	}
-
-	/**
-	 * Create an instance of the Eloquent user provider.
-	 *
-	 * @return \Illuminate\Auth\EloquentUserProvider
-	 */
-	protected function createEloquentProvider()
-	{
-		$model = $this->app['config']['auth.model'];
-
-		return new EloquentUserProvider($this->app['hash'], $model);
-	}
-
-	/**
-	 * Get the default authentication driver name.
-	 *
-	 * @return string
-	 */
-	public function getDefaultDriver()
-	{
-		return $this->app['config']['auth.driver'];
-	}
-
-	/**
-	 * Set the default authentication driver name.
-	 *
-	 * @param  string  $name
-	 * @return void
-	 */
-	public function setDefaultDriver($name)
-	{
-		$this->app['config']['auth.driver'] = $name;
-	}
-
-}

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/laravel/framework/src/Illuminate/Auth/AuthServiceProvider.php
----------------------------------------------------------------------
diff --git a/vendor/laravel/framework/src/Illuminate/Auth/AuthServiceProvider.php b/vendor/laravel/framework/src/Illuminate/Auth/AuthServiceProvider.php
deleted file mode 100755
index a8a8024..0000000
--- a/vendor/laravel/framework/src/Illuminate/Auth/AuthServiceProvider.php
+++ /dev/null
@@ -1,42 +0,0 @@
-<?php namespace Illuminate\Auth;
-
-use Illuminate\Support\ServiceProvider;
-
-class AuthServiceProvider extends ServiceProvider {
-
-	/**
-	 * Indicates if loading of the provider is deferred.
-	 *
-	 * @var bool
-	 */
-	protected $defer = true;
-
-	/**
-	 * Register the service provider.
-	 *
-	 * @return void
-	 */
-	public function register()
-	{
-		$this->app->bindShared('auth', function($app)
-		{
-			// Once the authentication service has actually been requested by the developer
-			// we will set a variable in the application indicating such. This helps us
-			// know that we need to set any queued cookies in the after event later.
-			$app['auth.loaded'] = true;
-
-			return new AuthManager($app);
-		});
-	}
-
-	/**
-	 * Get the services provided by the provider.
-	 *
-	 * @return array
-	 */
-	public function provides()
-	{
-		return array('auth');
-	}
-
-}

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/laravel/framework/src/Illuminate/Auth/Console/ClearRemindersCommand.php
----------------------------------------------------------------------
diff --git a/vendor/laravel/framework/src/Illuminate/Auth/Console/ClearRemindersCommand.php b/vendor/laravel/framework/src/Illuminate/Auth/Console/ClearRemindersCommand.php
deleted file mode 100644
index 8bb5cb2..0000000
--- a/vendor/laravel/framework/src/Illuminate/Auth/Console/ClearRemindersCommand.php
+++ /dev/null
@@ -1,33 +0,0 @@
-<?php namespace Illuminate\Auth\Console;
-
-use Illuminate\Console\Command;
-
-class ClearRemindersCommand extends Command {
-
-	/**
-	 * The console command name.
-	 *
-	 * @var string
-	 */
-	protected $name = 'auth:clear-reminders';
-
-	/**
-	 * The console command description.
-	 *
-	 * @var string
-	 */
-	protected $description = 'Flush expired reminders.';
-
-	/**
-	 * Execute the console command.
-	 *
-	 * @return void
-	 */
-	public function fire()
-	{
-		$this->laravel['auth.reminder.repository']->deleteExpired();
-
-		$this->info('Expired reminders cleared!');
-	}
-
-}

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/laravel/framework/src/Illuminate/Auth/Console/RemindersControllerCommand.php
----------------------------------------------------------------------
diff --git a/vendor/laravel/framework/src/Illuminate/Auth/Console/RemindersControllerCommand.php b/vendor/laravel/framework/src/Illuminate/Auth/Console/RemindersControllerCommand.php
deleted file mode 100644
index b465aec..0000000
--- a/vendor/laravel/framework/src/Illuminate/Auth/Console/RemindersControllerCommand.php
+++ /dev/null
@@ -1,93 +0,0 @@
-<?php namespace Illuminate\Auth\Console;
-
-use Illuminate\Console\Command;
-use Illuminate\Filesystem\Filesystem;
-use Symfony\Component\Console\Input\InputOption;
-
-class RemindersControllerCommand extends Command {
-
-	/**
-	 * The console command name.
-	 *
-	 * @var string
-	 */
-	protected $name = 'auth:reminders-controller';
-
-	/**
-	 * The console command description.
-	 *
-	 * @var string
-	 */
-	protected $description = 'Create a stub password reminder controller';
-
-	/**
-	 * The filesystem instance.
-	 *
-	 * @var \Illuminate\Filesystem\Filesystem
-	 */
-	protected $files;
-
-	/**
-	 * Create a new reminder table command instance.
-	 *
-	 * @param  \Illuminate\Filesystem\Filesystem  $files
-	 * @return void
-	 */
-	public function __construct(Filesystem $files)
-	{
-		parent::__construct();
-
-		$this->files = $files;
-	}
-
-	/**
-	 * Execute the console command.
-	 *
-	 * @return void
-	 */
-	public function fire()
-	{
-		$destination = $this->getPath() . '/RemindersController.php';
-
-		if ( ! $this->files->exists($destination))
-		{
-			$this->files->copy(__DIR__.'/stubs/controller.stub', $destination);
-
-			$this->info('Password reminders controller created successfully!');
-
-			$this->comment("Route: Route::controller('password', 'RemindersController');");
-		}
-		else
-		{
-			$this->error('Password reminders controller already exists!');
-		}
-	}
-
-	/**
-	 * Get the path to the migration directory.
-	 *
-	 * @return string
-	 */
-	private function getPath()
-	{
-		if ( ! $path = $this->input->getOption('path'))
-		{
-			$path = $this->laravel['path'].'/controllers';
-		}
-
-		return rtrim($path, '/');
-	}
-
-	/**
-	 * Get the console command options.
-	 *
-	 * @return array
-	 */
-	protected function getOptions()
-	{
-		return array(
-			array('path', null, InputOption::VALUE_OPTIONAL, 'The directory where the controller should be placed.', null),
-		);
-	}
-
-}