http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/composer/autoload_files.php ---------------------------------------------------------------------- diff --git a/vendor/composer/autoload_files.php b/vendor/composer/autoload_files.php deleted file mode 100644 index e1176ff..0000000 --- a/vendor/composer/autoload_files.php +++ /dev/null @@ -1,13 +0,0 @@ -<?php - -// autoload_files.php @generated by Composer - -$vendorDir = dirname(dirname(__FILE__)); -$baseDir = dirname($vendorDir); - -return array( - $vendorDir . '/swiftmailer/swiftmailer/lib/swift_required.php', - $vendorDir . '/ircmaxell/password-compat/lib/password.php', - $vendorDir . '/phpseclib/phpseclib/phpseclib/Crypt/Random.php', - $vendorDir . '/laravel/framework/src/Illuminate/Support/helpers.php', -);
http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/composer/autoload_namespaces.php ---------------------------------------------------------------------- diff --git a/vendor/composer/autoload_namespaces.php b/vendor/composer/autoload_namespaces.php deleted file mode 100644 index ff04239..0000000 --- a/vendor/composer/autoload_namespaces.php +++ /dev/null @@ -1,41 +0,0 @@ -<?php - -// autoload_namespaces.php @generated by Composer - -$vendorDir = dirname(dirname(__FILE__)); -$baseDir = dirname($vendorDir); - -return array( - 'Whoops' => array($vendorDir . '/filp/whoops/src'), - 'Thrift' => array($vendorDir . '/apache/thrift/lib/php/lib'), - 'System' => array($vendorDir . '/phpseclib/phpseclib/phpseclib'), - 'Symfony\\Component\\Translation\\' => array($vendorDir . '/symfony/translation'), - 'Symfony\\Component\\Security\\Core\\' => array($vendorDir . '/symfony/security-core'), - 'Symfony\\Component\\Routing\\' => array($vendorDir . '/symfony/routing'), - 'Symfony\\Component\\Process\\' => array($vendorDir . '/symfony/process'), - 'Symfony\\Component\\HttpKernel\\' => array($vendorDir . '/symfony/http-kernel'), - 'Symfony\\Component\\HttpFoundation\\' => array($vendorDir . '/symfony/http-foundation'), - 'Symfony\\Component\\Finder\\' => array($vendorDir . '/symfony/finder'), - 'Symfony\\Component\\Filesystem\\' => array($vendorDir . '/symfony/filesystem'), - 'Symfony\\Component\\EventDispatcher\\' => array($vendorDir . '/symfony/event-dispatcher'), - 'Symfony\\Component\\DomCrawler\\' => array($vendorDir . '/symfony/dom-crawler'), - 'Symfony\\Component\\Debug\\' => array($vendorDir . '/symfony/debug'), - 'Symfony\\Component\\CssSelector\\' => array($vendorDir . '/symfony/css-selector'), - 'Symfony\\Component\\Console\\' => array($vendorDir . '/symfony/console'), - 'Symfony\\Component\\BrowserKit\\' => array($vendorDir . '/symfony/browser-kit'), - 'Stack' => array($vendorDir . '/stack/builder/src'), - 'Psr\\Log\\' => array($vendorDir . '/psr/log'), - 'Predis' => array($vendorDir . '/predis/predis/lib'), - 'Patchwork' => array($vendorDir . '/patchwork/utf8/class'), - 'PHPParser' => array($vendorDir . '/nikic/php-parser/lib'), - 'Normalizer' => array($vendorDir . '/patchwork/utf8/class'), - 'Net' => array($vendorDir . '/phpseclib/phpseclib/phpseclib'), - 'Math' => array($vendorDir . '/phpseclib/phpseclib/phpseclib'), - 'Jeremeamia\\SuperClosure' => array($vendorDir . '/jeremeamia/SuperClosure/src'), - 'Illuminate' => array($vendorDir . '/laravel/framework/src'), - 'File' => array($vendorDir . '/phpseclib/phpseclib/phpseclib'), - 'Crypt' => array($vendorDir . '/phpseclib/phpseclib/phpseclib'), - 'ClassPreloader' => array($vendorDir . '/classpreloader/classpreloader/src'), - 'Carbon' => array($vendorDir . '/nesbot/carbon/src'), - 'Boris' => array($vendorDir . '/d11wtq/boris/lib'), -); http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/composer/autoload_psr4.php ---------------------------------------------------------------------- diff --git a/vendor/composer/autoload_psr4.php b/vendor/composer/autoload_psr4.php deleted file mode 100644 index 97bc5b2..0000000 --- a/vendor/composer/autoload_psr4.php +++ /dev/null @@ -1,10 +0,0 @@ -<?php - -// autoload_psr4.php @generated by Composer - -$vendorDir = dirname(dirname(__FILE__)); -$baseDir = dirname($vendorDir); - -return array( - 'Monolog\\' => array($vendorDir . '/monolog/monolog/src/Monolog'), -); http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/composer/autoload_real.php ---------------------------------------------------------------------- diff --git a/vendor/composer/autoload_real.php b/vendor/composer/autoload_real.php deleted file mode 100644 index 37e2b9e..0000000 --- a/vendor/composer/autoload_real.php +++ /dev/null @@ -1,59 +0,0 @@ -<?php - -// autoload_real.php @generated by Composer - -class ComposerAutoloaderInit95aab4dcf953834b79e3b5f569ea8229 -{ - private static $loader; - - public static function loadClassLoader($class) - { - if ('Composer\Autoload\ClassLoader' === $class) { - require __DIR__ . '/ClassLoader.php'; - } - } - - public static function getLoader() - { - if (null !== self::$loader) { - return self::$loader; - } - - spl_autoload_register(array('ComposerAutoloaderInit95aab4dcf953834b79e3b5f569ea8229', 'loadClassLoader'), true, true); - self::$loader = $loader = new \Composer\Autoload\ClassLoader(); - spl_autoload_unregister(array('ComposerAutoloaderInit95aab4dcf953834b79e3b5f569ea8229', 'loadClassLoader')); - - $includePaths = require __DIR__ . '/include_paths.php'; - array_push($includePaths, get_include_path()); - set_include_path(join(PATH_SEPARATOR, $includePaths)); - - $map = require __DIR__ . '/autoload_namespaces.php'; - foreach ($map as $namespace => $path) { - $loader->set($namespace, $path); - } - - $map = require __DIR__ . '/autoload_psr4.php'; - foreach ($map as $namespace => $path) { - $loader->setPsr4($namespace, $path); - } - - $classMap = require __DIR__ . '/autoload_classmap.php'; - if ($classMap) { - $loader->addClassMap($classMap); - } - - $loader->register(true); - - $includeFiles = require __DIR__ . '/autoload_files.php'; - foreach ($includeFiles as $file) { - composerRequire95aab4dcf953834b79e3b5f569ea8229($file); - } - - return $loader; - } -} - -function composerRequire95aab4dcf953834b79e3b5f569ea8229($file) -{ - require $file; -} http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/composer/include_paths.php ---------------------------------------------------------------------- diff --git a/vendor/composer/include_paths.php b/vendor/composer/include_paths.php deleted file mode 100644 index 958b960..0000000 --- a/vendor/composer/include_paths.php +++ /dev/null @@ -1,10 +0,0 @@ -<?php - -// include_paths.php @generated by Composer - -$vendorDir = dirname(dirname(__FILE__)); -$baseDir = dirname($vendorDir); - -return array( - $vendorDir . '/phpseclib/phpseclib/phpseclib', -); http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/composer/installed.json ---------------------------------------------------------------------- diff --git a/vendor/composer/installed.json b/vendor/composer/installed.json deleted file mode 100644 index f56af6e..0000000 --- a/vendor/composer/installed.json +++ /dev/null @@ -1,1743 +0,0 @@ -[ - { - "name": "apache/thrift", - "version": "dev-master", - "version_normalized": "9999999-dev", - "source": { - "type": "git", - "url": "https://git-wip-us.apache.org/repos/asf/thrift.git", - "reference": "1e723d931e92652e4ccb1385709258759ae5bc54" - }, - "require": { - "php": ">=5.3.0" - }, - "time": "2015-05-01 04:09:00", - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0.x-dev" - } - }, - "installation-source": "source", - "autoload": { - "psr-0": { - "Thrift": "lib/php/lib/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "Apache-2.0" - ], - "authors": [ - { - "name": "Apache Thrift Developers", - "email": "[email protected]", - "homepage": "http://thrift.apache.org" - } - ], - "description": "Apache Thrift RPC system", - "homepage": "http://thrift.apache.org/" - }, - { - "name": "symfony/translation", - "version": "v2.5.11", - "version_normalized": "2.5.11.0", - "target-dir": "Symfony/Component/Translation", - "source": { - "type": "git", - "url": "https://github.com/symfony/Translation.git", - "reference": "165b5348cd20f8c4b2fcf1097c9c8300d1093b90" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/Translation/zipball/165b5348cd20f8c4b2fcf1097c9c8300d1093b90", - "reference": "165b5348cd20f8c4b2fcf1097c9c8300d1093b90", - "shasum": "" - }, - "require": { - "php": ">=5.3.3" - }, - "require-dev": { - "symfony/config": "~2.3,>=2.3.12", - "symfony/intl": "~2.3", - "symfony/yaml": "~2.2" - }, - "suggest": { - "symfony/config": "", - "symfony/yaml": "" - }, - "time": "2015-01-03 15:23:51", - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.5-dev" - } - }, - "installation-source": "dist", - "autoload": { - "psr-0": { - "Symfony\\Component\\Translation\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Symfony Community", - "homepage": "http://symfony.com/contributors" - }, - { - "name": "Fabien Potencier", - "email": "[email protected]" - } - ], - "description": "Symfony Translation Component", - "homepage": "http://symfony.com" - }, - { - "name": "symfony/security-core", - "version": "v2.5.11", - "version_normalized": "2.5.11.0", - "target-dir": "Symfony/Component/Security/Core", - "source": { - "type": "git", - "url": "https://github.com/symfony/security-core.git", - "reference": "3a27d7b34ee62cb0fdf5ad970e7777912ef4722f" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/security-core/zipball/3a27d7b34ee62cb0fdf5ad970e7777912ef4722f", - "reference": "3a27d7b34ee62cb0fdf5ad970e7777912ef4722f", - "shasum": "" - }, - "require": { - "php": ">=5.3.3" - }, - "require-dev": { - "ircmaxell/password-compat": "1.0.*", - "psr/log": "~1.0", - "symfony/event-dispatcher": "~2.1", - "symfony/expression-language": "~2.4", - "symfony/http-foundation": "~2.4", - "symfony/translation": "~2.0,>=2.0.5", - "symfony/validator": "~2.5,>=2.5.5" - }, - "suggest": { - "ircmaxell/password-compat": "For using the BCrypt password encoder in PHP <5.5", - "symfony/event-dispatcher": "", - "symfony/expression-language": "For using the expression voter", - "symfony/http-foundation": "", - "symfony/validator": "For using the user password constraint" - }, - "time": "2015-01-25 04:37:39", - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.5-dev" - } - }, - "installation-source": "dist", - "autoload": { - "psr-0": { - "Symfony\\Component\\Security\\Core\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Symfony Community", - "homepage": "http://symfony.com/contributors" - }, - { - "name": "Fabien Potencier", - "email": "[email protected]" - } - ], - "description": "Symfony Security Component - Core Library", - "homepage": "http://symfony.com" - }, - { - "name": "symfony/routing", - "version": "v2.5.11", - "version_normalized": "2.5.11.0", - "target-dir": "Symfony/Component/Routing", - "source": { - "type": "git", - "url": "https://github.com/symfony/Routing.git", - "reference": "46142c34ea830f47429df6e15faec3a33292d618" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/Routing/zipball/46142c34ea830f47429df6e15faec3a33292d618", - "reference": "46142c34ea830f47429df6e15faec3a33292d618", - "shasum": "" - }, - "require": { - "php": ">=5.3.3" - }, - "require-dev": { - "doctrine/annotations": "~1.0", - "doctrine/common": "~2.2", - "psr/log": "~1.0", - "symfony/config": "~2.2", - "symfony/expression-language": "~2.4", - "symfony/http-foundation": "~2.3", - "symfony/yaml": "~2.0,>=2.0.5" - }, - "suggest": { - "doctrine/annotations": "For using the annotation loader", - "symfony/config": "For using the all-in-one router or any loader", - "symfony/expression-language": "For using expression matching", - "symfony/yaml": "For using the YAML loader" - }, - "time": "2015-02-08 07:07:45", - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.5-dev" - } - }, - "installation-source": "dist", - "autoload": { - "psr-0": { - "Symfony\\Component\\Routing\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Symfony Community", - "homepage": "http://symfony.com/contributors" - }, - { - "name": "Fabien Potencier", - "email": "[email protected]" - } - ], - "description": "Symfony Routing Component", - "homepage": "http://symfony.com", - "keywords": [ - "router", - "routing", - "uri", - "url" - ] - }, - { - "name": "symfony/process", - "version": "v2.5.11", - "version_normalized": "2.5.11.0", - "target-dir": "Symfony/Component/Process", - "source": { - "type": "git", - "url": "https://github.com/symfony/Process.git", - "reference": "00a1308e8b5aec5eba7c8f1708426a78f929be8c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/Process/zipball/00a1308e8b5aec5eba7c8f1708426a78f929be8c", - "reference": "00a1308e8b5aec5eba7c8f1708426a78f929be8c", - "shasum": "" - }, - "require": { - "php": ">=5.3.3" - }, - "time": "2015-02-08 07:07:45", - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.5-dev" - } - }, - "installation-source": "dist", - "autoload": { - "psr-0": { - "Symfony\\Component\\Process\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Symfony Community", - "homepage": "http://symfony.com/contributors" - }, - { - "name": "Fabien Potencier", - "email": "[email protected]" - } - ], - "description": "Symfony Process Component", - "homepage": "http://symfony.com" - }, - { - "name": "psr/log", - "version": "1.0.0", - "version_normalized": "1.0.0.0", - "source": { - "type": "git", - "url": "https://github.com/php-fig/log.git", - "reference": "fe0936ee26643249e916849d48e3a51d5f5e278b" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/log/zipball/fe0936ee26643249e916849d48e3a51d5f5e278b", - "reference": "fe0936ee26643249e916849d48e3a51d5f5e278b", - "shasum": "" - }, - "time": "2012-12-21 11:40:51", - "type": "library", - "installation-source": "dist", - "autoload": { - "psr-0": { - "Psr\\Log\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "http://www.php-fig.org/" - } - ], - "description": "Common interface for logging libraries", - "keywords": [ - "log", - "psr", - "psr-3" - ] - }, - { - "name": "symfony/debug", - "version": "v2.5.11", - "version_normalized": "2.5.11.0", - "target-dir": "Symfony/Component/Debug", - "source": { - "type": "git", - "url": "https://github.com/symfony/Debug.git", - "reference": "ed3019589cdadf32c521d1e181f9d72955645c67" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/Debug/zipball/ed3019589cdadf32c521d1e181f9d72955645c67", - "reference": "ed3019589cdadf32c521d1e181f9d72955645c67", - "shasum": "" - }, - "require": { - "php": ">=5.3.3" - }, - "conflict": { - "symfony/http-kernel": ">=2.3,<2.3.24|~2.4.0|>=2.5,<2.5.9|>=2.6,<2.6.2" - }, - "require-dev": { - "symfony/class-loader": "~2.2", - "symfony/http-foundation": "~2.1", - "symfony/http-kernel": "~2.3.24|~2.5.9|~2.6,>=2.6.2" - }, - "suggest": { - "symfony/http-foundation": "", - "symfony/http-kernel": "" - }, - "time": "2015-01-16 14:51:58", - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.5-dev" - } - }, - "installation-source": "dist", - "autoload": { - "psr-0": { - "Symfony\\Component\\Debug\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Symfony Community", - "homepage": "http://symfony.com/contributors" - }, - { - "name": "Fabien Potencier", - "email": "[email protected]" - } - ], - "description": "Symfony Debug Component", - "homepage": "http://symfony.com" - }, - { - "name": "symfony/http-foundation", - "version": "v2.5.11", - "version_normalized": "2.5.11.0", - "target-dir": "Symfony/Component/HttpFoundation", - "source": { - "type": "git", - "url": "https://github.com/symfony/HttpFoundation.git", - "reference": "08e783861dd9579bac4092814bbfb0cae6666b65" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/HttpFoundation/zipball/08e783861dd9579bac4092814bbfb0cae6666b65", - "reference": "08e783861dd9579bac4092814bbfb0cae6666b65", - "shasum": "" - }, - "require": { - "php": ">=5.3.3" - }, - "require-dev": { - "symfony/expression-language": "~2.4" - }, - "time": "2015-04-01 15:49:36", - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.5-dev" - } - }, - "installation-source": "dist", - "autoload": { - "psr-0": { - "Symfony\\Component\\HttpFoundation\\": "" - }, - "classmap": [ - "Symfony/Component/HttpFoundation/Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Symfony Community", - "homepage": "http://symfony.com/contributors" - }, - { - "name": "Fabien Potencier", - "email": "[email protected]" - } - ], - "description": "Symfony HttpFoundation Component", - "homepage": "http://symfony.com" - }, - { - "name": "symfony/event-dispatcher", - "version": "v2.6.6", - "version_normalized": "2.6.6.0", - "target-dir": "Symfony/Component/EventDispatcher", - "source": { - "type": "git", - "url": "https://github.com/symfony/EventDispatcher.git", - "reference": "70f7c8478739ad21e3deef0d977b38c77f1fb284" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/EventDispatcher/zipball/70f7c8478739ad21e3deef0d977b38c77f1fb284", - "reference": "70f7c8478739ad21e3deef0d977b38c77f1fb284", - "shasum": "" - }, - "require": { - "php": ">=5.3.3" - }, - "require-dev": { - "psr/log": "~1.0", - "symfony/config": "~2.0,>=2.0.5", - "symfony/dependency-injection": "~2.6", - "symfony/expression-language": "~2.6", - "symfony/phpunit-bridge": "~2.7", - "symfony/stopwatch": "~2.3" - }, - "suggest": { - "symfony/dependency-injection": "", - "symfony/http-kernel": "" - }, - "time": "2015-03-13 17:37:22", - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.6-dev" - } - }, - "installation-source": "dist", - "autoload": { - "psr-0": { - "Symfony\\Component\\EventDispatcher\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Symfony Community", - "homepage": "http://symfony.com/contributors" - }, - { - "name": "Fabien Potencier", - "email": "[email protected]" - } - ], - "description": "Symfony EventDispatcher Component", - "homepage": "http://symfony.com" - }, - { - "name": "symfony/http-kernel", - "version": "v2.5.11", - "version_normalized": "2.5.11.0", - "target-dir": "Symfony/Component/HttpKernel", - "source": { - "type": "git", - "url": "https://github.com/symfony/HttpKernel.git", - "reference": "7b1632cf2bdbc69c59a44942b70d5aae91034304" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/HttpKernel/zipball/7b1632cf2bdbc69c59a44942b70d5aae91034304", - "reference": "7b1632cf2bdbc69c59a44942b70d5aae91034304", - "shasum": "" - }, - "require": { - "php": ">=5.3.3", - "psr/log": "~1.0", - "symfony/debug": "~2.5.9|~2.6,>=2.6.2", - "symfony/event-dispatcher": "~2.5.9|~2.6,>=2.6.2", - "symfony/http-foundation": "~2.5" - }, - "require-dev": { - "symfony/browser-kit": "~2.3", - "symfony/class-loader": "~2.1", - "symfony/config": "~2.0,>=2.0.5", - "symfony/console": "~2.2", - "symfony/css-selector": "~2.0,>=2.0.5", - "symfony/dependency-injection": "~2.2", - "symfony/dom-crawler": "~2.0,>=2.0.5", - "symfony/expression-language": "~2.4", - "symfony/finder": "~2.0,>=2.0.5", - "symfony/process": "~2.0,>=2.0.5", - "symfony/routing": "~2.2", - "symfony/stopwatch": "~2.3", - "symfony/templating": "~2.2" - }, - "suggest": { - "symfony/browser-kit": "", - "symfony/class-loader": "", - "symfony/config": "", - "symfony/console": "", - "symfony/dependency-injection": "", - "symfony/finder": "" - }, - "time": "2015-04-01 16:01:45", - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.5-dev" - } - }, - "installation-source": "dist", - "autoload": { - "psr-0": { - "Symfony\\Component\\HttpKernel\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Symfony Community", - "homepage": "http://symfony.com/contributors" - }, - { - "name": "Fabien Potencier", - "email": "[email protected]" - } - ], - "description": "Symfony HttpKernel Component", - "homepage": "http://symfony.com" - }, - { - "name": "symfony/finder", - "version": "v2.5.11", - "version_normalized": "2.5.11.0", - "target-dir": "Symfony/Component/Finder", - "source": { - "type": "git", - "url": "https://github.com/symfony/Finder.git", - "reference": "e527ebf47ff912a45e148b7d0b107b80ec0b3cc2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/Finder/zipball/e527ebf47ff912a45e148b7d0b107b80ec0b3cc2", - "reference": "e527ebf47ff912a45e148b7d0b107b80ec0b3cc2", - "shasum": "" - }, - "require": { - "php": ">=5.3.3" - }, - "time": "2015-01-03 08:01:13", - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.5-dev" - } - }, - "installation-source": "dist", - "autoload": { - "psr-0": { - "Symfony\\Component\\Finder\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Symfony Community", - "homepage": "http://symfony.com/contributors" - }, - { - "name": "Fabien Potencier", - "email": "[email protected]" - } - ], - "description": "Symfony Finder Component", - "homepage": "http://symfony.com" - }, - { - "name": "symfony/dom-crawler", - "version": "v2.5.11", - "version_normalized": "2.5.11.0", - "target-dir": "Symfony/Component/DomCrawler", - "source": { - "type": "git", - "url": "https://github.com/symfony/DomCrawler.git", - "reference": "3860edcf7ff7e173cfe2151f0d425e610e77cc35" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/DomCrawler/zipball/3860edcf7ff7e173cfe2151f0d425e610e77cc35", - "reference": "3860edcf7ff7e173cfe2151f0d425e610e77cc35", - "shasum": "" - }, - "require": { - "php": ">=5.3.3" - }, - "require-dev": { - "symfony/css-selector": "~2.3" - }, - "suggest": { - "symfony/css-selector": "" - }, - "time": "2015-01-03 08:01:13", - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.5-dev" - } - }, - "installation-source": "dist", - "autoload": { - "psr-0": { - "Symfony\\Component\\DomCrawler\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Symfony Community", - "homepage": "http://symfony.com/contributors" - }, - { - "name": "Fabien Potencier", - "email": "[email protected]" - } - ], - "description": "Symfony DomCrawler Component", - "homepage": "http://symfony.com" - }, - { - "name": "symfony/css-selector", - "version": "v2.5.11", - "version_normalized": "2.5.11.0", - "target-dir": "Symfony/Component/CssSelector", - "source": { - "type": "git", - "url": "https://github.com/symfony/CssSelector.git", - "reference": "d45b306421462295e76b94bcf76b963867450327" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/CssSelector/zipball/d45b306421462295e76b94bcf76b963867450327", - "reference": "d45b306421462295e76b94bcf76b963867450327", - "shasum": "" - }, - "require": { - "php": ">=5.3.3" - }, - "time": "2015-01-03 08:01:13", - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.5-dev" - } - }, - "installation-source": "dist", - "autoload": { - "psr-0": { - "Symfony\\Component\\CssSelector\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Symfony Community", - "homepage": "http://symfony.com/contributors" - }, - { - "name": "Jean-François Simon", - "email": "[email protected]" - }, - { - "name": "Fabien Potencier", - "email": "[email protected]" - } - ], - "description": "Symfony CssSelector Component", - "homepage": "http://symfony.com" - }, - { - "name": "symfony/console", - "version": "v2.5.11", - "version_normalized": "2.5.11.0", - "target-dir": "Symfony/Component/Console", - "source": { - "type": "git", - "url": "https://github.com/symfony/Console.git", - "reference": "a43e750b4c74f3bdfca77c79c343033d35a6cd6e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/Console/zipball/a43e750b4c74f3bdfca77c79c343033d35a6cd6e", - "reference": "a43e750b4c74f3bdfca77c79c343033d35a6cd6e", - "shasum": "" - }, - "require": { - "php": ">=5.3.3" - }, - "require-dev": { - "psr/log": "~1.0", - "symfony/event-dispatcher": "~2.1" - }, - "suggest": { - "psr/log": "For using the console logger", - "symfony/event-dispatcher": "" - }, - "time": "2015-02-08 07:07:45", - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.5-dev" - } - }, - "installation-source": "dist", - "autoload": { - "psr-0": { - "Symfony\\Component\\Console\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Symfony Community", - "homepage": "http://symfony.com/contributors" - }, - { - "name": "Fabien Potencier", - "email": "[email protected]" - } - ], - "description": "Symfony Console Component", - "homepage": "http://symfony.com" - }, - { - "name": "symfony/browser-kit", - "version": "v2.5.11", - "version_normalized": "2.5.11.0", - "target-dir": "Symfony/Component/BrowserKit", - "source": { - "type": "git", - "url": "https://github.com/symfony/BrowserKit.git", - "reference": "b2b78b850a32251cbbd9915ab61453302e7ecd72" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/BrowserKit/zipball/b2b78b850a32251cbbd9915ab61453302e7ecd72", - "reference": "b2b78b850a32251cbbd9915ab61453302e7ecd72", - "shasum": "" - }, - "require": { - "php": ">=5.3.3", - "symfony/dom-crawler": "~2.0,>=2.0.5" - }, - "require-dev": { - "symfony/css-selector": "~2.0,>=2.0.5", - "symfony/process": "~2.0,>=2.0.5" - }, - "suggest": { - "symfony/process": "" - }, - "time": "2015-01-03 08:01:13", - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.5-dev" - } - }, - "installation-source": "dist", - "autoload": { - "psr-0": { - "Symfony\\Component\\BrowserKit\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Symfony Community", - "homepage": "http://symfony.com/contributors" - }, - { - "name": "Fabien Potencier", - "email": "[email protected]" - } - ], - "description": "Symfony BrowserKit Component", - "homepage": "http://symfony.com" - }, - { - "name": "swiftmailer/swiftmailer", - "version": "v5.4.0", - "version_normalized": "5.4.0.0", - "source": { - "type": "git", - "url": "https://github.com/swiftmailer/swiftmailer.git", - "reference": "31454f258f10329ae7c48763eb898a75c39e0a9f" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/swiftmailer/swiftmailer/zipball/31454f258f10329ae7c48763eb898a75c39e0a9f", - "reference": "31454f258f10329ae7c48763eb898a75c39e0a9f", - "shasum": "" - }, - "require": { - "php": ">=5.3.3" - }, - "require-dev": { - "mockery/mockery": "~0.9.1" - }, - "time": "2015-03-14 06:06:39", - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "5.4-dev" - } - }, - "installation-source": "dist", - "autoload": { - "files": [ - "lib/swift_required.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Chris Corbyn" - }, - { - "name": "Fabien Potencier", - "email": "[email protected]" - } - ], - "description": "Swiftmailer, free feature-rich PHP mailer", - "homepage": "http://swiftmailer.org", - "keywords": [ - "mail", - "mailer" - ] - }, - { - "name": "stack/builder", - "version": "v1.0.3", - "version_normalized": "1.0.3.0", - "source": { - "type": "git", - "url": "https://github.com/stackphp/builder.git", - "reference": "c1f8a4693b55c563405024f708a76ef576c3b276" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/stackphp/builder/zipball/c1f8a4693b55c563405024f708a76ef576c3b276", - "reference": "c1f8a4693b55c563405024f708a76ef576c3b276", - "shasum": "" - }, - "require": { - "php": ">=5.3.0", - "symfony/http-foundation": "~2.1", - "symfony/http-kernel": "~2.1" - }, - "require-dev": { - "silex/silex": "~1.0" - }, - "time": "2014-11-23 20:37:11", - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0-dev" - } - }, - "installation-source": "dist", - "autoload": { - "psr-0": { - "Stack": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Igor Wiedler", - "email": "[email protected]" - } - ], - "description": "Builder for stack middlewares based on HttpKernelInterface.", - "keywords": [ - "stack" - ] - }, - { - "name": "predis/predis", - "version": "v0.8.7", - "version_normalized": "0.8.7.0", - "source": { - "type": "git", - "url": "https://github.com/nrk/predis.git", - "reference": "4123fcd85d61354c6c9900db76c9597dbd129bf6" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/nrk/predis/zipball/4123fcd85d61354c6c9900db76c9597dbd129bf6", - "reference": "4123fcd85d61354c6c9900db76c9597dbd129bf6", - "shasum": "" - }, - "require": { - "php": ">=5.3.2" - }, - "require-dev": { - "phpunit/phpunit": "~4.0" - }, - "suggest": { - "ext-curl": "Allows access to Webdis when paired with phpiredis", - "ext-phpiredis": "Allows faster serialization and deserialization of the Redis protocol" - }, - "time": "2014-08-01 09:43:10", - "type": "library", - "installation-source": "dist", - "autoload": { - "psr-0": { - "Predis": "lib/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Daniele Alessandri", - "email": "[email protected]", - "homepage": "http://clorophilla.net" - } - ], - "description": "Flexible and feature-complete PHP client library for Redis", - "homepage": "http://github.com/nrk/predis", - "keywords": [ - "nosql", - "predis", - "redis" - ] - }, - { - "name": "phpseclib/phpseclib", - "version": "0.3.10", - "version_normalized": "0.3.10.0", - "source": { - "type": "git", - "url": "https://github.com/phpseclib/phpseclib.git", - "reference": "d15bba1edcc7c89e09cc74c5d961317a8b947bf4" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/phpseclib/phpseclib/zipball/d15bba1edcc7c89e09cc74c5d961317a8b947bf4", - "reference": "d15bba1edcc7c89e09cc74c5d961317a8b947bf4", - "shasum": "" - }, - "require": { - "php": ">=5.0.0" - }, - "require-dev": { - "phing/phing": "~2.7", - "phpunit/phpunit": "~4.0", - "sami/sami": "~2.0", - "squizlabs/php_codesniffer": "~1.5" - }, - "suggest": { - "ext-gmp": "Install the GMP (GNU Multiple Precision) extension in order to speed up arbitrary precision integer arithmetic operations.", - "ext-mcrypt": "Install the Mcrypt extension in order to speed up a wide variety of cryptographic operations.", - "pear-pear/PHP_Compat": "Install PHP_Compat to get phpseclib working on PHP < 4.3.3." - }, - "time": "2015-01-28 21:50:33", - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "0.3-dev" - } - }, - "installation-source": "dist", - "autoload": { - "psr-0": { - "Crypt": "phpseclib/", - "File": "phpseclib/", - "Math": "phpseclib/", - "Net": "phpseclib/", - "System": "phpseclib/" - }, - "files": [ - "phpseclib/Crypt/Random.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "include-path": [ - "phpseclib/" - ], - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Jim Wigginton", - "email": "[email protected]", - "role": "Lead Developer" - }, - { - "name": "Patrick Monnerat", - "email": "[email protected]", - "role": "Developer" - }, - { - "name": "Andreas Fischer", - "email": "[email protected]", - "role": "Developer" - }, - { - "name": "Hans-Jürgen Petrich", - "email": "[email protected]", - "role": "Developer" - } - ], - "description": "PHP Secure Communications Library - Pure-PHP implementations of RSA, AES, SSH2, SFTP, X.509 etc.", - "homepage": "http://phpseclib.sourceforge.net", - "keywords": [ - "BigInteger", - "aes", - "asn.1", - "asn1", - "blowfish", - "crypto", - "cryptography", - "encryption", - "rsa", - "security", - "sftp", - "signature", - "signing", - "ssh", - "twofish", - "x.509", - "x509" - ] - }, - { - "name": "patchwork/utf8", - "version": "v1.2.2", - "version_normalized": "1.2.2.0", - "source": { - "type": "git", - "url": "https://github.com/tchwork/utf8.git", - "reference": "7287a6fb2c46a66ac6bfbaf0e4975229b27efcba" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/tchwork/utf8/zipball/7287a6fb2c46a66ac6bfbaf0e4975229b27efcba", - "reference": "7287a6fb2c46a66ac6bfbaf0e4975229b27efcba", - "shasum": "" - }, - "require": { - "lib-pcre": ">=7.3", - "php": ">=5.3.0" - }, - "suggest": { - "ext-iconv": "Use iconv for best performance", - "ext-intl": "Use Intl for best performance", - "ext-mbstring": "Use Mbstring for best performance", - "ext-wfio": "Use WFIO for UTF-8 filesystem access on Windows" - }, - "time": "2015-04-26 09:51:43", - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.2-dev" - } - }, - "installation-source": "dist", - "autoload": { - "psr-0": { - "Patchwork": "class/", - "Normalizer": "class/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "(Apache-2.0 or GPL-2.0)" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "[email protected]" - } - ], - "description": "Portable and performant UTF-8, Unicode and Grapheme Clusters for PHP", - "homepage": "https://github.com/tchwork/utf8", - "keywords": [ - "grapheme", - "i18n", - "unicode", - "utf-8", - "utf8" - ] - }, - { - "name": "nesbot/carbon", - "version": "1.17.0", - "version_normalized": "1.17.0.0", - "source": { - "type": "git", - "url": "https://github.com/briannesbitt/Carbon.git", - "reference": "a1dd1ad9abfc8b3c4d8768068e6c71d293424e86" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/a1dd1ad9abfc8b3c4d8768068e6c71d293424e86", - "reference": "a1dd1ad9abfc8b3c4d8768068e6c71d293424e86", - "shasum": "" - }, - "require": { - "php": ">=5.3.0" - }, - "require-dev": { - "phpunit/phpunit": "~4.0" - }, - "time": "2015-03-08 14:05:44", - "type": "library", - "installation-source": "dist", - "autoload": { - "psr-0": { - "Carbon": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Brian Nesbitt", - "email": "[email protected]", - "homepage": "http://nesbot.com" - } - ], - "description": "A simple API extension for DateTime.", - "homepage": "http://carbon.nesbot.com", - "keywords": [ - "date", - "datetime", - "time" - ] - }, - { - "name": "monolog/monolog", - "version": "1.13.1", - "version_normalized": "1.13.1.0", - "source": { - "type": "git", - "url": "https://github.com/Seldaek/monolog.git", - "reference": "c31a2c4e8db5da8b46c74cf275d7f109c0f249ac" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/Seldaek/monolog/zipball/c31a2c4e8db5da8b46c74cf275d7f109c0f249ac", - "reference": "c31a2c4e8db5da8b46c74cf275d7f109c0f249ac", - "shasum": "" - }, - "require": { - "php": ">=5.3.0", - "psr/log": "~1.0" - }, - "provide": { - "psr/log-implementation": "1.0.0" - }, - "require-dev": { - "aws/aws-sdk-php": "~2.4, >2.4.8", - "doctrine/couchdb": "~1.0@dev", - "graylog2/gelf-php": "~1.0", - "phpunit/phpunit": "~4.0", - "raven/raven": "~0.5", - "ruflin/elastica": "0.90.*", - "swiftmailer/swiftmailer": "~5.3", - "videlalvaro/php-amqplib": "~2.4" - }, - "suggest": { - "aws/aws-sdk-php": "Allow sending log messages to AWS services like DynamoDB", - "doctrine/couchdb": "Allow sending log messages to a CouchDB server", - "ext-amqp": "Allow sending log messages to an AMQP server (1.0+ required)", - "ext-mongo": "Allow sending log messages to a MongoDB server", - "graylog2/gelf-php": "Allow sending log messages to a GrayLog2 server", - "raven/raven": "Allow sending log messages to a Sentry server", - "rollbar/rollbar": "Allow sending log messages to Rollbar", - "ruflin/elastica": "Allow sending log messages to an Elastic Search server", - "videlalvaro/php-amqplib": "Allow sending log messages to an AMQP server using php-amqplib" - }, - "time": "2015-03-09 09:58:04", - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.13.x-dev" - } - }, - "installation-source": "dist", - "autoload": { - "psr-4": { - "Monolog\\": "src/Monolog" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Jordi Boggiano", - "email": "[email protected]", - "homepage": "http://seld.be" - } - ], - "description": "Sends your logs to files, sockets, inboxes, databases and various web services", - "homepage": "http://github.com/Seldaek/monolog", - "keywords": [ - "log", - "logging", - "psr-3" - ] - }, - { - "name": "nikic/php-parser", - "version": "v0.9.5", - "version_normalized": "0.9.5.0", - "source": { - "type": "git", - "url": "https://github.com/nikic/PHP-Parser.git", - "reference": "ef70767475434bdb3615b43c327e2cae17ef12eb" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/ef70767475434bdb3615b43c327e2cae17ef12eb", - "reference": "ef70767475434bdb3615b43c327e2cae17ef12eb", - "shasum": "" - }, - "require": { - "ext-tokenizer": "*", - "php": ">=5.2" - }, - "time": "2014-07-23 18:24:17", - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "0.9-dev" - } - }, - "installation-source": "dist", - "autoload": { - "psr-0": { - "PHPParser": "lib/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Nikita Popov" - } - ], - "description": "A PHP parser written in PHP", - "keywords": [ - "parser", - "php" - ] - }, - { - "name": "jeremeamia/SuperClosure", - "version": "1.0.2", - "version_normalized": "1.0.2.0", - "source": { - "type": "git", - "url": "https://github.com/jeremeamia/super_closure.git", - "reference": "4d89ca74994feab128ea46d5b3add92e6cb84554" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/jeremeamia/super_closure/zipball/4d89ca74994feab128ea46d5b3add92e6cb84554", - "reference": "4d89ca74994feab128ea46d5b3add92e6cb84554", - "shasum": "" - }, - "require": { - "nikic/php-parser": "~0.9", - "php": ">=5.3.3" - }, - "require-dev": { - "phpunit/phpunit": "~3.7" - }, - "time": "2015-01-10 01:09:28", - "type": "library", - "installation-source": "dist", - "autoload": { - "psr-0": { - "Jeremeamia\\SuperClosure": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Jeremy Lindblom" - } - ], - "description": "Doing interesting things with closures like serialization.", - "homepage": "https://github.com/jeremeamia/super_closure", - "keywords": [ - "closure", - "function", - "parser", - "serializable", - "serialize", - "tokenizer" - ] - }, - { - "name": "filp/whoops", - "version": "1.1.5", - "version_normalized": "1.1.5.0", - "source": { - "type": "git", - "url": "https://github.com/filp/whoops.git", - "reference": "c982fe62c44798c433229cb0425c61b487cc1883" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/filp/whoops/zipball/c982fe62c44798c433229cb0425c61b487cc1883", - "reference": "c982fe62c44798c433229cb0425c61b487cc1883", - "shasum": "" - }, - "require": { - "php": ">=5.3.0" - }, - "require-dev": { - "mockery/mockery": "0.9.*" - }, - "time": "2015-03-30 15:26:59", - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.2-dev" - } - }, - "installation-source": "dist", - "autoload": { - "psr-0": { - "Whoops": "src/" - }, - "classmap": [ - "src/deprecated" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Filipe Dobreira", - "homepage": "https://github.com/filp", - "role": "Developer" - } - ], - "description": "php error handling for cool kids", - "homepage": "https://github.com/filp/whoops", - "keywords": [ - "error", - "exception", - "handling", - "library", - "silex-provider", - "whoops", - "zf2" - ] - }, - { - "name": "ircmaxell/password-compat", - "version": "v1.0.4", - "version_normalized": "1.0.4.0", - "source": { - "type": "git", - "url": "https://github.com/ircmaxell/password_compat.git", - "reference": "5c5cde8822a69545767f7c7f3058cb15ff84614c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/ircmaxell/password_compat/zipball/5c5cde8822a69545767f7c7f3058cb15ff84614c", - "reference": "5c5cde8822a69545767f7c7f3058cb15ff84614c", - "shasum": "" - }, - "require-dev": { - "phpunit/phpunit": "4.*" - }, - "time": "2014-11-20 16:49:30", - "type": "library", - "installation-source": "dist", - "autoload": { - "files": [ - "lib/password.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Anthony Ferrara", - "email": "[email protected]", - "homepage": "http://blog.ircmaxell.com" - } - ], - "description": "A compatibility library for the proposed simplified password hashing algorithm: https://wiki.php.net/rfc/password_hash", - "homepage": "https://github.com/ircmaxell/password_compat", - "keywords": [ - "hashing", - "password" - ] - }, - { - "name": "d11wtq/boris", - "version": "v1.0.10", - "version_normalized": "1.0.10.0", - "source": { - "type": "git", - "url": "https://github.com/borisrepl/boris.git", - "reference": "31055b15e2d3fe47f31f6aa8e277f8f3fc7eb483" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/borisrepl/boris/zipball/31055b15e2d3fe47f31f6aa8e277f8f3fc7eb483", - "reference": "31055b15e2d3fe47f31f6aa8e277f8f3fc7eb483", - "shasum": "" - }, - "require": { - "ext-pcntl": "*", - "ext-posix": "*", - "ext-readline": "*", - "php": ">=5.3.0" - }, - "time": "2015-03-01 08:05:19", - "bin": [ - "bin/boris" - ], - "type": "library", - "installation-source": "dist", - "autoload": { - "psr-0": { - "Boris": "lib" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "A tiny, but robust REPL (Read-Evaluate-Print-Loop) for PHP." - }, - { - "name": "symfony/filesystem", - "version": "v2.6.6", - "version_normalized": "2.6.6.0", - "target-dir": "Symfony/Component/Filesystem", - "source": { - "type": "git", - "url": "https://github.com/symfony/Filesystem.git", - "reference": "4983964b3693e4f13449cb3800c64a9112c301b4" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/Filesystem/zipball/4983964b3693e4f13449cb3800c64a9112c301b4", - "reference": "4983964b3693e4f13449cb3800c64a9112c301b4", - "shasum": "" - }, - "require": { - "php": ">=5.3.3" - }, - "require-dev": { - "symfony/phpunit-bridge": "~2.7" - }, - "time": "2015-03-22 16:55:57", - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.6-dev" - } - }, - "installation-source": "dist", - "autoload": { - "psr-0": { - "Symfony\\Component\\Filesystem\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Symfony Community", - "homepage": "http://symfony.com/contributors" - }, - { - "name": "Fabien Potencier", - "email": "[email protected]" - } - ], - "description": "Symfony Filesystem Component", - "homepage": "http://symfony.com" - }, - { - "name": "classpreloader/classpreloader", - "version": "1.0.2", - "version_normalized": "1.0.2.0", - "source": { - "type": "git", - "url": "https://github.com/ClassPreloader/ClassPreloader.git", - "reference": "2c9f3bcbab329570c57339895bd11b5dd3b00877" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/ClassPreloader/ClassPreloader/zipball/2c9f3bcbab329570c57339895bd11b5dd3b00877", - "reference": "2c9f3bcbab329570c57339895bd11b5dd3b00877", - "shasum": "" - }, - "require": { - "nikic/php-parser": "~0.9", - "php": ">=5.3.3", - "symfony/console": "~2.1", - "symfony/filesystem": "~2.1", - "symfony/finder": "~2.1" - }, - "time": "2014-03-12 00:05:31", - "bin": [ - "classpreloader.php" - ], - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0-dev" - } - }, - "installation-source": "dist", - "autoload": { - "psr-0": { - "ClassPreloader": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Helps class loading performance by generating a single PHP file containing all of the autoloaded files for a specific use case", - "keywords": [ - "autoload", - "class", - "preload" - ] - }, - { - "name": "laravel/framework", - "version": "v4.2.17", - "version_normalized": "4.2.17.0", - "source": { - "type": "git", - "url": "https://github.com/laravel/framework.git", - "reference": "3359de6d6cd322e8a1b251c2f8d9dd42a3e4e232" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/laravel/framework/zipball/3359de6d6cd322e8a1b251c2f8d9dd42a3e4e232", - "reference": "3359de6d6cd322e8a1b251c2f8d9dd42a3e4e232", - "shasum": "" - }, - "require": { - "classpreloader/classpreloader": "~1.0.2", - "d11wtq/boris": "~1.0", - "filp/whoops": "1.1.*", - "ircmaxell/password-compat": "~1.0", - "jeremeamia/superclosure": "~1.0.1", - "monolog/monolog": "~1.6", - "nesbot/carbon": "~1.0", - "patchwork/utf8": "~1.1", - "php": ">=5.4.0", - "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/html": "self.version", - "illuminate/http": "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", - "mockery/mockery": "~0.9", - "pda/pheanstalk": "~2.1", - "phpunit/phpunit": "~4.0" - }, - "suggest": { - "doctrine/dbal": "Allow renaming columns and dropping SQLite columns." - }, - "time": "2015-02-11 20:37:15", - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.2-dev" - } - }, - "installation-source": "dist", - "autoload": { - "classmap": [ - "src/Illuminate/Queue/IlluminateQueueClosure.php" - ], - "files": [ - "src/Illuminate/Support/helpers.php" - ], - "psr-0": { - "Illuminate": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Taylor Otwell", - "email": "[email protected]" - } - ], - "description": "The Laravel Framework.", - "keywords": [ - "framework", - "laravel" - ] - } -] http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/d11wtq/boris/.gitignore ---------------------------------------------------------------------- diff --git a/vendor/d11wtq/boris/.gitignore b/vendor/d11wtq/boris/.gitignore deleted file mode 100644 index 9543cdf..0000000 --- a/vendor/d11wtq/boris/.gitignore +++ /dev/null @@ -1,4 +0,0 @@ -/vendor/ -*.swp -boris.phar -.token http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/d11wtq/boris/CONTRIBUTING.md ---------------------------------------------------------------------- diff --git a/vendor/d11wtq/boris/CONTRIBUTING.md b/vendor/d11wtq/boris/CONTRIBUTING.md deleted file mode 100644 index 5567975..0000000 --- a/vendor/d11wtq/boris/CONTRIBUTING.md +++ /dev/null @@ -1,14 +0,0 @@ -# Contribution Guidelines - -## Rules - -There are a few basic ground-rules for contributors: - -1. **No `--force` pushes** or modifying the Git history in any way. -2. **External API changes and significant modifications** should be subject to a **pull request** to solicit feedback from other contributors. -3. Use a non-`master` branch for ongoing work. -4. Adhere to existing code style as much as possible. - -## Releases - -Declaring formal releases remains the prerogative of the project maintainer. http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/d11wtq/boris/LICENSE ---------------------------------------------------------------------- diff --git a/vendor/d11wtq/boris/LICENSE b/vendor/d11wtq/boris/LICENSE deleted file mode 100644 index ebd8fdd..0000000 --- a/vendor/d11wtq/boris/LICENSE +++ /dev/null @@ -1,20 +0,0 @@ -Copyright (c) 2011 Chris Corbyn - -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/d11wtq/boris/README.md ---------------------------------------------------------------------- diff --git a/vendor/d11wtq/boris/README.md b/vendor/d11wtq/boris/README.md deleted file mode 100644 index 9d60b4d..0000000 --- a/vendor/d11wtq/boris/README.md +++ /dev/null @@ -1,63 +0,0 @@ -# Boris - -A tiny, but robust REPL for PHP. - -> **Announcement:** I'm looking to add one or two additional collaborators with -> commit access. If you are actively involved in open source and have a GitHub -> profile for review, ping me on Twitter (@d11wtq) to express your interest. -> Experienced developers with active GitHub projects only. - - - -Python has one. Ruby has one. Clojure has one. Now PHP has one, too. Boris is -PHP's missing REPL (read-eval-print loop), allowing developers to experiment -with PHP code in the terminal in an interactive manner. If you make a mistake, -it doesn't matter, Boris will report the error and stand to attention for -further input. - -Everything you enter into Boris is evaluated and the result inspected so you -can understand what is happening. State is maintained between inputs, allowing -you to gradually build up a solution to a problem. - - -## Why? - -I'm in the process of transitioning away from PHP to Ruby. I have come to find -PHP's lack of a real REPL to be frustrating and was not able to find an existing -implementation that was complete. Boris weighs in at a few hundred lines of -fairly straightforward code. - - -## Usage - -Check out our wonderful [wiki] for usage instructions. - - -## Contributing - -We're committed to a loosely-coupled architecture for Boris and would love to get your contributions. - -Before jumping in, check out our **[Contributing] [contributing]** page on the wiki! - - -## Core Team - -**Chris Corbyn** - -- <https://twitter.com/d11wtq> -- <https://github.com/d11wtq> - -**Tejas Manohar** - -- <https://twitter.com/tejasmanohar> -- <https://github.com/tejasmanohar> - - -## Copyright & Licensing - -See the [LICENSE] file for details. - -[LICENSE]: https://github.com/d11wtq/boris/blob/master/LICENSE) -[wiki]: https://github.com/d11wtq/boris/wiki -[contributing]: https://github.com/d11wtq/boris/blob/master/CONTRIBUTING.md -[Chris Corbyn]: https://github.com/d11wtq http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/d11wtq/boris/bin/boris ---------------------------------------------------------------------- diff --git a/vendor/d11wtq/boris/bin/boris b/vendor/d11wtq/boris/bin/boris deleted file mode 100755 index 1701986..0000000 --- a/vendor/d11wtq/boris/bin/boris +++ /dev/null @@ -1,18 +0,0 @@ -#!/usr/bin/env php -<?php - -require_once __DIR__ . '/../lib/autoload.php'; - -if (!function_exists('pcntl_signal')) { - die("PCNTL support seems to be missing or disabled. See https://github.com/d11wtq/boris/issues/29 for details\n"); -} - -$boris = new \Boris\Boris(); - -$config = new \Boris\Config(); -$config->apply($boris); - -$options = new \Boris\CLIOptionsHandler(); -$options->handle($boris); - -$boris->start(); http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/d11wtq/boris/box.json ---------------------------------------------------------------------- diff --git a/vendor/d11wtq/boris/box.json b/vendor/d11wtq/boris/box.json deleted file mode 100644 index 9ebf165..0000000 --- a/vendor/d11wtq/boris/box.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "files": ["LICENSE"], - "finder": [{ - "name": "*.php", - "exclude": [ - "tests" - ], - "in": "lib" - }], - "git-version": "git_tag", - "main": "bin/boris", - "output": "boris.phar", - "stub": true -} http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/d11wtq/boris/composer.json ---------------------------------------------------------------------- diff --git a/vendor/d11wtq/boris/composer.json b/vendor/d11wtq/boris/composer.json deleted file mode 100644 index 5009094..0000000 --- a/vendor/d11wtq/boris/composer.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "name": "d11wtq/boris", - "description": "A tiny, but robust REPL (Read-Evaluate-Print-Loop) for PHP.", - "license": "MIT", - "require": { - "php": ">=5.3.0", - "ext-readline": "*", - "ext-pcntl": "*", - "ext-posix": "*" - }, - "autoload": { - "psr-0": { - "Boris": "lib" - } - }, - "bin": ["bin/boris"] -} http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/d11wtq/boris/lib/Boris/Boris.php ---------------------------------------------------------------------- diff --git a/vendor/d11wtq/boris/lib/Boris/Boris.php b/vendor/d11wtq/boris/lib/Boris/Boris.php deleted file mode 100644 index 8b7abe5..0000000 --- a/vendor/d11wtq/boris/lib/Boris/Boris.php +++ /dev/null @@ -1,178 +0,0 @@ -<?php - -namespace Boris; - -/** - * Boris is a tiny REPL for PHP. - */ -class Boris -{ - const VERSION = "1.0.8"; - - private $_prompt; - private $_historyFile; - private $_exports = array(); - private $_startHooks = array(); - private $_failureHooks = array(); - private $_inspector; - - /** - * Create a new REPL, which consists of an evaluation worker and a readline client. - * - * @param string $prompt, optional - * @param string $historyFile, optional - */ - public function __construct($prompt = 'boris> ', $historyFile = null) - { - $this->setPrompt($prompt); - $this->_historyFile = $historyFile ? $historyFile : sprintf('%s/.boris_history', getenv('HOME')); - $this->_inspector = new ColoredInspector(); - } - - /** - * Add a new hook to run in the context of the REPL when it starts. - * - * @param mixed $hook - * - * The hook is either a string of PHP code to eval(), or a Closure accepting - * the EvalWorker object as its first argument and the array of defined - * local variables in the second argument. - * - * If the hook is a callback and needs to set any local variables in the - * REPL's scope, it should invoke $worker->setLocal($var_name, $value) to - * do so. - * - * Hooks are guaranteed to run in the order they were added and the state - * set by each hook is available to the next hook (either through global - * resources, such as classes and interfaces, or through the 2nd parameter - * of the callback, if any local variables were set. - * - * @example Contrived example where one hook sets the date and another - * prints it in the REPL. - * - * $boris->onStart(function($worker, $vars){ - * $worker->setLocal('date', date('Y-m-d')); - * }); - * - * $boris->onStart('echo "The date is $date\n";'); - */ - public function onStart($hook) - { - $this->_startHooks[] = $hook; - } - - /** - * Add a new hook to run in the context of the REPL when a fatal error occurs. - * - * @param mixed $hook - * - * The hook is either a string of PHP code to eval(), or a Closure accepting - * the EvalWorker object as its first argument and the array of defined - * local variables in the second argument. - * - * If the hook is a callback and needs to set any local variables in the - * REPL's scope, it should invoke $worker->setLocal($var_name, $value) to - * do so. - * - * Hooks are guaranteed to run in the order they were added and the state - * set by each hook is available to the next hook (either through global - * resources, such as classes and interfaces, or through the 2nd parameter - * of the callback, if any local variables were set. - * - * @example An example if your project requires some database connection cleanup: - * - * $boris->onFailure(function($worker, $vars){ - * DB::reset(); - * }); - */ - public function onFailure($hook) - { - $this->_failureHooks[] = $hook; - } - - /** - * Set a local variable, or many local variables. - * - * @example Setting a single variable - * $boris->setLocal('user', $bob); - * - * @example Setting many variables at once - * $boris->setLocal(array('user' => $bob, 'appContext' => $appContext)); - * - * This method can safely be invoked repeatedly. - * - * @param array|string $local - * @param mixed $value, optional - */ - public function setLocal($local, $value = null) - { - if (!is_array($local)) { - $local = array( - $local => $value - ); - } - - $this->_exports = array_merge($this->_exports, $local); - } - - /** - * Sets the Boris prompt text - * - * @param string $prompt - */ - public function setPrompt($prompt) - { - $this->_prompt = $prompt; - } - - /** - * Set an Inspector object for Boris to output return values with. - * - * @param object $inspector any object the responds to inspect($v) - */ - public function setInspector($inspector) - { - $this->_inspector = $inspector; - } - - /** - * Start the REPL (display the readline prompt). - * - * This method never returns. - */ - public function start() - { - declare (ticks = 1); - pcntl_signal(SIGINT, SIG_IGN, true); - - if (!$pipes = stream_socket_pair(STREAM_PF_UNIX, STREAM_SOCK_STREAM, STREAM_IPPROTO_IP)) { - throw new \RuntimeException('Failed to create socket pair'); - } - - $pid = pcntl_fork(); - - if ($pid > 0) { - if (function_exists('setproctitle')) { - setproctitle('boris (master)'); - } - - fclose($pipes[0]); - $client = new ReadlineClient($pipes[1]); - $client->start($this->_prompt, $this->_historyFile); - } elseif ($pid < 0) { - throw new \RuntimeException('Failed to fork child process'); - } else { - if (function_exists('setproctitle')) { - setproctitle('boris (worker)'); - } - - fclose($pipes[1]); - $worker = new EvalWorker($pipes[0]); - $worker->setLocal($this->_exports); - $worker->setStartHooks($this->_startHooks); - $worker->setFailureHooks($this->_failureHooks); - $worker->setInspector($this->_inspector); - $worker->start(); - } - } -} http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/d11wtq/boris/lib/Boris/CLIOptionsHandler.php ---------------------------------------------------------------------- diff --git a/vendor/d11wtq/boris/lib/Boris/CLIOptionsHandler.php b/vendor/d11wtq/boris/lib/Boris/CLIOptionsHandler.php deleted file mode 100644 index ff785f0..0000000 --- a/vendor/d11wtq/boris/lib/Boris/CLIOptionsHandler.php +++ /dev/null @@ -1,92 +0,0 @@ -<?php - -namespace Boris; - -/** - * Processes available command line flags. - */ -class CLIOptionsHandler -{ - /** - * Accept the REPL object and perform any setup necessary from the CLI flags. - * - * @param Boris $boris - */ - public function handle($boris) - { - $args = getopt('hvr:', array( - 'help', - 'version', - 'require:' - )); - - foreach ($args as $option => $value) { - switch ($option) { - /* - * Sets files to load at startup, may be used multiple times, - * i.e: boris -r test.php,foo/bar.php -r ba/foo.php --require hey.php - */ - case 'r': - case 'require': - $this->_handleRequire($boris, $value); - break; - - /* - * Show Usage info - */ - case 'h': - case 'help': - $this->_handleUsageInfo(); - break; - - /* - * Show version - */ - case 'v': - case 'version': - $this->_handleVersion(); - break; - } - } - } - - // -- Private Methods - - private function _handleRequire($boris, $paths) - { - $require = array_reduce((array) $paths, function($acc, $v) - { - return array_merge($acc, explode(',', $v)); - }, array()); - - $boris->onStart(function($worker, $scope) use ($require) - { - foreach ($require as $path) { - require $path; - } - - $worker->setLocal(get_defined_vars()); - }); - } - - private function _handleUsageInfo() - { - echo <<<USAGE -Usage: boris [options] -boris is a tiny REPL for PHP - -Options: - -h, --help show this help message and exit - -r, --require a comma-separated list of files to require on startup - -v, --version show Boris version - -USAGE; - exit(0); - } - - private function _handleVersion() - { - printf("Boris %s\n", Boris::VERSION); - exit(0); - } -} http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80fd786e/vendor/d11wtq/boris/lib/Boris/ColoredInspector.php ---------------------------------------------------------------------- diff --git a/vendor/d11wtq/boris/lib/Boris/ColoredInspector.php b/vendor/d11wtq/boris/lib/Boris/ColoredInspector.php deleted file mode 100644 index aea868c..0000000 --- a/vendor/d11wtq/boris/lib/Boris/ColoredInspector.php +++ /dev/null @@ -1,241 +0,0 @@ -<?php - -/** - * @author Rob Morris <[email protected]> - * @author Chris Corbyn <[email protected]> - * - * Copyright © 2013-2014 Rob Morris. - */ - -namespace Boris; - -/** - * Identifies data types in data structures and syntax highlights them. - */ -class ColoredInspector implements Inspector -{ - static $TERM_COLORS = array('black' => "\033[0;30m", 'white' => "\033[1;37m", 'none' => "\033[1;30m", 'dark_grey' => "\033[1;30m", 'light_grey' => "\033[0;37m", 'dark_red' => "\033[0;31m", 'light_red' => "\033[1;31m", 'dark_green' => "\033[0;32m", 'light_green' => "\033[1;32m", 'dark_yellow' => "\033[0;33m", 'light_yellow' => "\033[1;33m", 'dark_blue' => "\033[0;34m", 'light_blue' => "\033[1;34m", 'dark_purple' => "\033[0;35m", 'light_purple' => "\033[1;35m", 'dark_cyan' => "\033[0;36m", 'light_cyan' => "\033[1;36m"); - - private $_fallback; - private $_colorMap = array(); - - /** - * Initialize a new ColoredInspector, using $colorMap. - * - * The colors should be an associative array with the keys: - * - * - 'integer' - * - 'float' - * - 'keyword' - * - 'string' - * - 'boolean' - * - 'default' - * - * And the values, one of the following colors: - * - * - 'none' - * - 'black' - * - 'white' - * - 'dark_grey' - * - 'light_grey' - * - 'dark_red' - * - 'light_red' - * - 'dark_green' - * - 'light_green' - * - 'dark_yellow' - * - 'light_yellow' - * - 'dark_blue' - * - 'light_blue' - * - 'dark_purple' - * - 'light_purple' - * - 'dark_cyan' - * - 'light_cyan' - * - * An empty $colorMap array effectively means 'none' for all types. - * - * @param array $colorMap - */ - public function __construct($colorMap = null) - { - $this->_fallback = new DumpInspector(); - - if (isset($colorMap)) { - $this->_colorMap = $colorMap; - } else { - $this->_colorMap = $this->_defaultColorMap(); - } - } - - public function inspect($variable) - { - return preg_replace('/^/m', $this->_colorize('comment', '// '), $this->_dump($variable)); - } - - /** - * Returns an associative array of an object's properties. - * - * This method is public so that subclasses may override it. - * - * @param object $value - * @return array - * */ - public function objectVars($value) - { - return get_object_vars($value); - } - - // -- Private Methods - - public function _dump($value) - { - $tests = array( - 'is_null' => '_dumpNull', - 'is_string' => '_dumpString', - 'is_bool' => '_dumpBoolean', - 'is_integer' => '_dumpInteger', - 'is_float' => '_dumpFloat', - 'is_array' => '_dumpArray', - 'is_object' => '_dumpObject' - ); - - foreach ($tests as $predicate => $outputMethod) { - if (call_user_func($predicate, $value)) - return call_user_func(array( - $this, - $outputMethod - ), $value); - } - - return $this->_fallback->inspect($value); - } - - private function _dumpNull($value) - { - return $this->_colorize('keyword', 'NULL'); - } - - private function _dumpString($value) - { - return $this->_colorize('string', var_export($value, true)); - } - - private function _dumpBoolean($value) - { - return $this->_colorize('bool', var_export($value, true)); - } - - private function _dumpInteger($value) - { - return $this->_colorize('integer', var_export($value, true)); - } - - private function _dumpFloat($value) - { - return $this->_colorize('float', var_export($value, true)); - } - - private function _dumpArray($value) - { - return $this->_dumpStructure('array', $value); - } - - private function _dumpObject($value) - { - return $this->_dumpStructure(sprintf('object(%s)', get_class($value)), $this->objectVars($value)); - } - - private function _dumpStructure($type, $value) - { - return $this->_astToString($this->_buildAst($type, $value)); - } - - public function _buildAst($type, $value, $seen = array()) - { - // FIXME: Improve this AST so it doesn't require access to dump() or colorize() - if ($this->_isSeen($value, $seen)) { - return $this->_colorize('default', '*** RECURSION ***'); - } else { - $nextSeen = array_merge($seen, array( - $value - )); - } - - if (is_object($value)) { - $vars = $this->objectVars($value); - } else { - $vars = $value; - } - - $self = $this; - - return array( - 'name' => $this->_colorize('keyword', $type), - 'children' => empty($vars) ? array() : array_combine(array_map(array( - $this, - '_dump' - ), array_keys($vars)), array_map(function($v) use ($self, $nextSeen) - { - if (is_object($v)) { - return $self->_buildAst(sprintf('object(%s)', get_class($v)), $v, $nextSeen); - } elseif (is_array($v)) { - return $self->_buildAst('array', $v, $nextSeen); - } else { - return $self->_dump($v); - } - }, array_values($vars))) - ); - } - - public function _astToString($node, $indent = 0) - { - $children = $node['children']; - $self = $this; - - return implode("\n", array( - sprintf('%s(', $node['name']), - implode(",\n", array_map(function($k) use ($self, $children, $indent) - { - if (is_array($children[$k])) { - return sprintf('%s%s => %s', str_repeat(' ', ($indent + 1) * 2), $k, $self->_astToString($children[$k], $indent + 1)); - } else { - return sprintf('%s%s => %s', str_repeat(' ', ($indent + 1) * 2), $k, $children[$k]); - } - }, array_keys($children))), - sprintf('%s)', str_repeat(' ', $indent * 2)) - )); - } - - private function _defaultColorMap() - { - return array( - 'integer' => 'light_green', - 'float' => 'light_yellow', - 'string' => 'light_red', - 'bool' => 'light_purple', - 'keyword' => 'light_cyan', - 'comment' => 'dark_grey', - 'default' => 'none' - ); - } - - private function _colorize($type, $value) - { - if (!empty($this->_colorMap[$type])) { - $colorName = $this->_colorMap[$type]; - } else { - $colorName = $this->_colorMap['default']; - } - - return sprintf("%s%s\033[0m", static::$TERM_COLORS[$colorName], $value); - } - - private function _isSeen($value, $seen) - { - foreach ($seen as $v) { - if ($v === $value) - return true; - } - - return false; - } -}
