diff --git a/bin/console b/bin/console index a041b0d..d435e6c 100755 --- a/bin/console +++ b/bin/console @@ -1,37 +1,23 @@ #!/usr/bin/env php useAnnotations(true); - return $containerBuilder; - } -}; +$app = new Application; $container = $app->getContainer(); -$application = new Application('isitmaintained'); +$cli = $app->cli(); -$application->add($container->get(ClearCacheCommand::class)); -$application->add($container->get(WarmupCacheCommand::class)); -$application->add($container->get(ShowStatisticsCommand::class)); -$application->add($container->get(UpdateStatisticsCommand::class)); +$cli->add($container->get(ClearCacheCommand::class)); +$cli->add($container->get(WarmupCacheCommand::class)); +$cli->add($container->get(ShowStatisticsCommand::class)); +$cli->add($container->get(UpdateStatisticsCommand::class)); -$application->run(); +$cli->run(); diff --git a/composer.json b/composer.json index d3845d5..8b40753 100644 --- a/composer.json +++ b/composer.json @@ -19,7 +19,7 @@ "mnapoli/blackbox": "~0.4.0", "psr/log": "~1.0", "monolog/monolog": "~1.10", - "stratify/framework": "~0.1.2", + "stratify/framework": "~0.3.1", "stratify/twig-module": "~0.1.1", "doctrine/annotations": "^1.2" }, diff --git a/composer.lock b/composer.lock index 1bd0163..4838fc6 100644 --- a/composer.lock +++ b/composer.lock @@ -4,8 +4,8 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", "This file is @generated automatically" ], - "hash": "fc60ca82b7b88a8d18a9ed19ec0a7f02", - "content-hash": "ef8a56cfa34f3f89e18d26f5e92adaf2", + "hash": "28d4ae1318425144dda1e31ce7de9f07", + "content-hash": "5c1abb0435db5e1f827d339ea6d430bd", "packages": [ { "name": "aura/router", @@ -57,24 +57,26 @@ }, { "name": "badges/poser", - "version": "v1.2.0", + "version": "v1.2.2", "source": { "type": "git", "url": "https://github.com/badges/poser.git", - "reference": "2fdcba62e1e873bf47decea04022f26d8b05cda4" + "reference": "be84d404b5e4efacad3d4b2456a9d6c2afe37f03" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/badges/poser/zipball/2fdcba62e1e873bf47decea04022f26d8b05cda4", - "reference": "2fdcba62e1e873bf47decea04022f26d8b05cda4", + "url": "https://api.github.com/repos/badges/poser/zipball/be84d404b5e4efacad3d4b2456a9d6c2afe37f03", + "reference": "be84d404b5e4efacad3d4b2456a9d6c2afe37f03", "shasum": "" }, "require": { - "symfony/console": "~2" + "coduo/phpspec-data-provider-extension": "^1.0", + "php": ">=5.3", + "symfony/console": "~2.0|~3.0" }, "require-dev": { - "behat/behat": "dev-master", - "phpspec/phpspec": "dev-master" + "behat/behat": "3.*", + "phpspec/phpspec": "2.*" }, "bin": [ "bin/poser" @@ -82,7 +84,7 @@ "type": "lib", "extra": { "branch-alias": { - "dev-master": "1.0.x-dev" + "dev-master": "1.3.x-dev" } }, "autoload": { @@ -116,7 +118,67 @@ "packagist", "pin" ], - "time": "2016-02-03 18:33:10" + "time": "2016-03-27 10:57:28" + }, + { + "name": "coduo/phpspec-data-provider-extension", + "version": "1.0.3", + "source": { + "type": "git", + "url": "https://github.com/coduo/phpspec-data-provider-extension.git", + "reference": "b8d5c8594fec5ab2d7000bc31822a411bcd45146" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/coduo/phpspec-data-provider-extension/zipball/b8d5c8594fec5ab2d7000bc31822a411bcd45146", + "reference": "b8d5c8594fec5ab2d7000bc31822a411bcd45146", + "shasum": "" + }, + "require": { + "php": ">=5.4.0", + "phpspec/phpspec": "^2" + }, + "require-dev": { + "behat/behat": "3.0.*", + "bossa/phpspec2-expect": "^1", + "symfony/console": "~2.3.2", + "symfony/filesystem": "~2.3", + "symfony/process": "~2.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.1-dev" + } + }, + "autoload": { + "psr-0": { + "Coduo\\PhpSpec": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Norbert Orzechowicz", + "email": "norbert@orzechowicz.pl" + }, + { + "name": "Michał Dąbrowski", + "email": "dabrowski@brillante.pl" + } + ], + "keywords": [ + "coduo", + "data", + "dataprovider", + "extension", + "phpspec", + "provider" + ], + "time": "2015-10-27 14:27:37" }, { "name": "container-interop/container-interop", @@ -283,6 +345,60 @@ ], "time": "2015-12-31 16:37:02" }, + { + "name": "doctrine/instantiator", + "version": "1.0.5", + "source": { + "type": "git", + "url": "https://github.com/doctrine/instantiator.git", + "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/doctrine/instantiator/zipball/8e884e78f9f0eb1329e445619e04456e64d8051d", + "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d", + "shasum": "" + }, + "require": { + "php": ">=5.3,<8.0-DEV" + }, + "require-dev": { + "athletic/athletic": "~0.1.8", + "ext-pdo": "*", + "ext-phar": "*", + "phpunit/phpunit": "~4.0", + "squizlabs/php_codesniffer": "~2.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Marco Pivetta", + "email": "ocramius@gmail.com", + "homepage": "http://ocramius.github.com/" + } + ], + "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors", + "homepage": "https://github.com/doctrine/instantiator", + "keywords": [ + "constructor", + "instantiate" + ], + "time": "2015-06-14 21:17:01" + }, { "name": "doctrine/lexer", "version": "v1.0.1", @@ -339,37 +455,40 @@ }, { "name": "filp/whoops", - "version": "1.1.10", + "version": "2.1.2", "source": { "type": "git", "url": "https://github.com/filp/whoops.git", - "reference": "72538eeb70bbfb11964412a3d098d109efd012f7" + "reference": "d13505b240a6f580bc75ba591da30299d6cb0eec" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/filp/whoops/zipball/72538eeb70bbfb11964412a3d098d109efd012f7", - "reference": "72538eeb70bbfb11964412a3d098d109efd012f7", + "url": "https://api.github.com/repos/filp/whoops/zipball/d13505b240a6f580bc75ba591da30299d6cb0eec", + "reference": "d13505b240a6f580bc75ba591da30299d6cb0eec", "shasum": "" }, "require": { - "php": ">=5.3.0" + "php": ">=5.5.9" }, "require-dev": { - "mockery/mockery": "0.9.*" + "mockery/mockery": "0.9.*", + "phpunit/phpunit": "^4.8 || ^5.0", + "symfony/var-dumper": "~3.0" + }, + "suggest": { + "symfony/var-dumper": "Pretty print complex values better with var-dumper available", + "whoops/soap": "Formats errors as SOAP responses" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.2-dev" + "dev-master": "2.0-dev" } }, "autoload": { - "psr-0": { - "Whoops": "src/" - }, - "classmap": [ - "src/deprecated" - ] + "psr-4": { + "Whoops\\": "src/Whoops/" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -389,11 +508,10 @@ "exception", "handling", "library", - "silex-provider", "whoops", "zf2" ], - "time": "2015-06-29 05:42:04" + "time": "2016-04-07 06:16:25" }, { "name": "guzzle/guzzle", @@ -558,16 +676,16 @@ }, { "name": "knplabs/github-api", - "version": "1.5.1", + "version": "1.7.0", "source": { "type": "git", "url": "https://github.com/KnpLabs/php-github-api.git", - "reference": "832b7be695ed2733741cd5c79166b4a88fb50786" + "reference": "fe913715d280cc0a5f78a5366c02ad78c0305c66" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/KnpLabs/php-github-api/zipball/832b7be695ed2733741cd5c79166b4a88fb50786", - "reference": "832b7be695ed2733741cd5c79166b4a88fb50786", + "url": "https://api.github.com/repos/KnpLabs/php-github-api/zipball/fe913715d280cc0a5f78a5366c02ad78c0305c66", + "reference": "fe913715d280cc0a5f78a5366c02ad78c0305c66", "shasum": "" }, "require": { @@ -576,7 +694,8 @@ "php": ">=5.3.2" }, "require-dev": { - "phpunit/phpunit": "~4.0" + "phpunit/phpunit": "~4.0", + "sllh/php-cs-fixer-styleci-bridge": "~1.3" }, "suggest": { "knplabs/gaufrette": "Needed for optional Gaufrette cache" @@ -584,7 +703,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.4.x-dev" + "dev-master": "1.5.x-dev" } }, "autoload": { @@ -615,7 +734,7 @@ "gist", "github" ], - "time": "2015-10-11 02:38:28" + "time": "2016-05-29 11:15:42" }, { "name": "mnapoli/blackbox", @@ -655,17 +774,61 @@ "time": "2015-01-07 08:42:09" }, { - "name": "monolog/monolog", - "version": "1.17.2", + "name": "mnapoli/silly", + "version": "1.3.0", "source": { "type": "git", - "url": "https://github.com/Seldaek/monolog.git", - "reference": "bee7f0dc9c3e0b69a6039697533dca1e845c8c24" + "url": "https://github.com/mnapoli/silly.git", + "reference": "6b3fbe09e1e628233ad06aa1db6a0ce2991c0ccf" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Seldaek/monolog/zipball/bee7f0dc9c3e0b69a6039697533dca1e845c8c24", - "reference": "bee7f0dc9c3e0b69a6039697533dca1e845c8c24", + "url": "https://api.github.com/repos/mnapoli/silly/zipball/6b3fbe09e1e628233ad06aa1db6a0ce2991c0ccf", + "reference": "6b3fbe09e1e628233ad06aa1db6a0ce2991c0ccf", + "shasum": "" + }, + "require": { + "container-interop/container-interop": "~1.0", + "php": ">=5.5", + "php-di/invoker": "~1.2", + "symfony/console": "~2.6|~3.0" + }, + "require-dev": { + "mnapoli/phpunit-easymock": "~0.1.0", + "phpunit/phpunit": "~4.5" + }, + "type": "library", + "autoload": { + "psr-4": { + "Silly\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "Silly CLI micro-framework based on Symfony Console", + "keywords": [ + "cli", + "console", + "framework", + "micro-framework", + "silly" + ], + "time": "2016-02-27 10:11:44" + }, + { + "name": "monolog/monolog", + "version": "1.19.0", + "source": { + "type": "git", + "url": "https://github.com/Seldaek/monolog.git", + "reference": "5f56ed5212dc509c8dc8caeba2715732abb32dbf" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/5f56ed5212dc509c8dc8caeba2715732abb32dbf", + "reference": "5f56ed5212dc509c8dc8caeba2715732abb32dbf", "shasum": "" }, "require": { @@ -680,13 +843,13 @@ "doctrine/couchdb": "~1.0@dev", "graylog2/gelf-php": "~1.0", "jakub-onderka/php-parallel-lint": "0.9", + "php-amqplib/php-amqplib": "~2.4", "php-console/php-console": "^3.1.3", "phpunit/phpunit": "~4.5", "phpunit/phpunit-mock-objects": "2.3.0", "raven/raven": "^0.13", "ruflin/elastica": ">=0.90 <3.0", - "swiftmailer/swiftmailer": "~5.3", - "videlalvaro/php-amqplib": "~2.4" + "swiftmailer/swiftmailer": "~5.3" }, "suggest": { "aws/aws-sdk-php": "Allow sending log messages to AWS services like DynamoDB", @@ -694,16 +857,17 @@ "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", + "mongodb/mongodb": "Allow sending log messages to a MongoDB server via PHP Driver", + "php-amqplib/php-amqplib": "Allow sending log messages to an AMQP server using php-amqplib", "php-console/php-console": "Allow sending log messages to Google Chrome", "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" + "ruflin/elastica": "Allow sending log messages to an Elastic Search server" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.16.x-dev" + "dev-master": "2.0.x-dev" } }, "autoload": { @@ -729,20 +893,68 @@ "logging", "psr-3" ], - "time": "2015-10-14 12:51:02" + "time": "2016-04-12 18:29:35" }, { - "name": "php-di/invoker", - "version": "1.2.0", + "name": "paragonie/random_compat", + "version": "v2.0.2", "source": { "type": "git", - "url": "https://github.com/PHP-DI/Invoker.git", - "reference": "9949fff87fcf14e8f2ccfbe36dac1e5921944c48" + "url": "https://github.com/paragonie/random_compat.git", + "reference": "088c04e2f261c33bed6ca5245491cfca69195ccf" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/PHP-DI/Invoker/zipball/9949fff87fcf14e8f2ccfbe36dac1e5921944c48", - "reference": "9949fff87fcf14e8f2ccfbe36dac1e5921944c48", + "url": "https://api.github.com/repos/paragonie/random_compat/zipball/088c04e2f261c33bed6ca5245491cfca69195ccf", + "reference": "088c04e2f261c33bed6ca5245491cfca69195ccf", + "shasum": "" + }, + "require": { + "php": ">=5.2.0" + }, + "require-dev": { + "phpunit/phpunit": "4.*|5.*" + }, + "suggest": { + "ext-libsodium": "Provides a modern crypto API that can be used to generate random bytes." + }, + "type": "library", + "autoload": { + "files": [ + "lib/random.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Paragon Initiative Enterprises", + "email": "security@paragonie.com", + "homepage": "https://paragonie.com" + } + ], + "description": "PHP 5.x polyfill for random_bytes() and random_int() from PHP 7", + "keywords": [ + "csprng", + "pseudorandom", + "random" + ], + "time": "2016-04-03 06:00:07" + }, + { + "name": "php-di/invoker", + "version": "1.3.2", + "source": { + "type": "git", + "url": "https://github.com/PHP-DI/Invoker.git", + "reference": "4140c38ca17268adc500b1e5c85c4055e48608d2" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/PHP-DI/Invoker/zipball/4140c38ca17268adc500b1e5c85c4055e48608d2", + "reference": "4140c38ca17268adc500b1e5c85c4055e48608d2", "shasum": "" }, "require": { @@ -772,28 +984,76 @@ "invoke", "invoker" ], - "time": "2015-10-22 19:49:23" + "time": "2016-06-12 09:09:55" }, { - "name": "php-di/php-di", - "version": "5.2.2", + "name": "php-di/kernel", + "version": "0.2.2", "source": { "type": "git", - "url": "https://github.com/PHP-DI/PHP-DI.git", - "reference": "f574bcc841201ab04587b1c6da1234d4044f67d8" + "url": "https://github.com/PHP-DI/Kernel.git", + "reference": "c689a18bb8149561afb9b7d9e685b9c80de51d26" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/PHP-DI/PHP-DI/zipball/f574bcc841201ab04587b1c6da1234d4044f67d8", - "reference": "f574bcc841201ab04587b1c6da1234d4044f67d8", + "url": "https://api.github.com/repos/PHP-DI/Kernel/zipball/c689a18bb8149561afb9b7d9e685b9c80de51d26", + "reference": "c689a18bb8149561afb9b7d9e685b9c80de51d26", + "shasum": "" + }, + "require": { + "doctrine/cache": "^1.4", + "php": "^5.5|^7.0", + "php-di/php-di": "^5.2", + "puli/composer-plugin": "^1.0.0-beta8", + "puli/discovery": "^1.0.0-beta8", + "puli/repository": "^1.0.0-beta8" + }, + "require-dev": { + "phpunit/phpunit": "^4.8", + "puli/cli": "^1.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "DI\\Kernel\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "Kernel for PHP-DI applications", + "homepage": "http://php-di.org", + "keywords": [ + "application", + "kernel", + "php-di" + ], + "time": "2016-06-19 15:57:54" + }, + { + "name": "php-di/php-di", + "version": "5.3.0", + "source": { + "type": "git", + "url": "https://github.com/PHP-DI/PHP-DI.git", + "reference": "854a6d8f54e2146f0a34f0a28f0adea688b634a3" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/PHP-DI/PHP-DI/zipball/854a6d8f54e2146f0a34f0a28f0adea688b634a3", + "reference": "854a6d8f54e2146f0a34f0a28f0adea688b634a3", "shasum": "" }, "require": { "container-interop/container-interop": "~1.0", - "php": ">=5.4.0", + "php": ">=5.5.0", "php-di/invoker": "^1.1.1", "php-di/phpdoc-reader": "^2.0.1" }, + "provide": { + "container-interop/container-interop-implementation": "^1.0" + }, "replace": { "mnapoli/php-di": "*" }, @@ -801,13 +1061,13 @@ "doctrine/annotations": "~1.2", "doctrine/cache": "~1.4", "mnapoli/phpunit-easymock": "~0.2.0", - "ocramius/proxy-manager": "~1.0", + "ocramius/proxy-manager": "~1.0|~2.0", "phpunit/phpunit": "~4.5" }, "suggest": { "doctrine/annotations": "Install it if you want to use annotations (version ~1.2)", "doctrine/cache": "Install it if you want to use the cache (version ~1.4)", - "ocramius/proxy-manager": "Install it if you want to use lazy injection (version ~1.0)" + "ocramius/proxy-manager": "Install it if you want to use lazy injection (version ~1.0 or ~2.0)" }, "type": "library", "autoload": { @@ -829,7 +1089,7 @@ "dependency injection", "di" ], - "time": "2016-02-09 22:00:00" + "time": "2016-06-01 17:23:41" }, { "name": "php-di/phpdoc-reader", @@ -868,6 +1128,326 @@ ], "time": "2015-11-29 10:34:25" }, + { + "name": "phpdocumentor/reflection-common", + "version": "1.0", + "source": { + "type": "git", + "url": "https://github.com/phpDocumentor/ReflectionCommon.git", + "reference": "144c307535e82c8fdcaacbcfc1d6d8eeb896687c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/144c307535e82c8fdcaacbcfc1d6d8eeb896687c", + "reference": "144c307535e82c8fdcaacbcfc1d6d8eeb896687c", + "shasum": "" + }, + "require": { + "php": ">=5.5" + }, + "require-dev": { + "phpunit/phpunit": "^4.6" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "phpDocumentor\\Reflection\\": [ + "src" + ] + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jaap van Otterdijk", + "email": "opensource@ijaap.nl" + } + ], + "description": "Common reflection classes used by phpdocumentor to reflect the code structure", + "homepage": "http://www.phpdoc.org", + "keywords": [ + "FQSEN", + "phpDocumentor", + "phpdoc", + "reflection", + "static analysis" + ], + "time": "2015-12-27 11:43:31" + }, + { + "name": "phpdocumentor/reflection-docblock", + "version": "3.1.0", + "source": { + "type": "git", + "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git", + "reference": "9270140b940ff02e58ec577c237274e92cd40cdd" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/9270140b940ff02e58ec577c237274e92cd40cdd", + "reference": "9270140b940ff02e58ec577c237274e92cd40cdd", + "shasum": "" + }, + "require": { + "php": ">=5.5", + "phpdocumentor/reflection-common": "^1.0@dev", + "phpdocumentor/type-resolver": "^0.2.0", + "webmozart/assert": "^1.0" + }, + "require-dev": { + "mockery/mockery": "^0.9.4", + "phpunit/phpunit": "^4.4" + }, + "type": "library", + "autoload": { + "psr-4": { + "phpDocumentor\\Reflection\\": [ + "src/" + ] + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Mike van Riel", + "email": "me@mikevanriel.com" + } + ], + "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.", + "time": "2016-06-10 09:48:41" + }, + { + "name": "phpdocumentor/type-resolver", + "version": "0.2", + "source": { + "type": "git", + "url": "https://github.com/phpDocumentor/TypeResolver.git", + "reference": "b39c7a5b194f9ed7bd0dd345c751007a41862443" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/b39c7a5b194f9ed7bd0dd345c751007a41862443", + "reference": "b39c7a5b194f9ed7bd0dd345c751007a41862443", + "shasum": "" + }, + "require": { + "php": ">=5.5", + "phpdocumentor/reflection-common": "^1.0" + }, + "require-dev": { + "mockery/mockery": "^0.9.4", + "phpunit/phpunit": "^5.2||^4.8.24" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "phpDocumentor\\Reflection\\": [ + "src/" + ] + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Mike van Riel", + "email": "me@mikevanriel.com" + } + ], + "time": "2016-06-10 07:14:17" + }, + { + "name": "phpspec/php-diff", + "version": "v1.0.2", + "source": { + "type": "git", + "url": "https://github.com/phpspec/php-diff.git", + "reference": "30e103d19519fe678ae64a60d77884ef3d71b28a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phpspec/php-diff/zipball/30e103d19519fe678ae64a60d77884ef3d71b28a", + "reference": "30e103d19519fe678ae64a60d77884ef3d71b28a", + "shasum": "" + }, + "type": "library", + "autoload": { + "psr-0": { + "Diff": "lib/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Chris Boulton", + "homepage": "http://github.com/chrisboulton", + "role": "Original developer" + } + ], + "description": "A comprehensive library for generating differences between two hashable objects (strings or arrays).", + "time": "2013-11-01 13:02:21" + }, + { + "name": "phpspec/phpspec", + "version": "2.5.0", + "source": { + "type": "git", + "url": "https://github.com/phpspec/phpspec.git", + "reference": "385ecb015e97c13818074f1517928b24d4a26067" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phpspec/phpspec/zipball/385ecb015e97c13818074f1517928b24d4a26067", + "reference": "385ecb015e97c13818074f1517928b24d4a26067", + "shasum": "" + }, + "require": { + "doctrine/instantiator": "^1.0.1", + "ext-tokenizer": "*", + "php": ">=5.3.3", + "phpspec/php-diff": "~1.0.0", + "phpspec/prophecy": "~1.4", + "sebastian/exporter": "~1.0", + "symfony/console": "~2.3|~3.0", + "symfony/event-dispatcher": "~2.1|~3.0", + "symfony/finder": "~2.1|~3.0", + "symfony/process": "^2.6|~3.0", + "symfony/yaml": "~2.1|~3.0" + }, + "require-dev": { + "behat/behat": "^3.0.11", + "bossa/phpspec2-expect": "~1.0", + "phpunit/phpunit": "~4.4", + "symfony/filesystem": "~2.1|~3.0" + }, + "suggest": { + "phpspec/nyan-formatters": "~1.0 – Adds Nyan formatters" + }, + "bin": [ + "bin/phpspec" + ], + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.2.x-dev" + } + }, + "autoload": { + "psr-0": { + "PhpSpec": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Konstantin Kudryashov", + "email": "ever.zet@gmail.com", + "homepage": "http://everzet.com" + }, + { + "name": "Marcello Duarte", + "homepage": "http://marcelloduarte.net/" + } + ], + "description": "Specification-oriented BDD framework for PHP 5.3+", + "homepage": "http://phpspec.net/", + "keywords": [ + "BDD", + "SpecBDD", + "TDD", + "spec", + "specification", + "testing", + "tests" + ], + "time": "2016-03-20 20:34:32" + }, + { + "name": "phpspec/prophecy", + "version": "v1.6.1", + "source": { + "type": "git", + "url": "https://github.com/phpspec/prophecy.git", + "reference": "58a8137754bc24b25740d4281399a4a3596058e0" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phpspec/prophecy/zipball/58a8137754bc24b25740d4281399a4a3596058e0", + "reference": "58a8137754bc24b25740d4281399a4a3596058e0", + "shasum": "" + }, + "require": { + "doctrine/instantiator": "^1.0.2", + "php": "^5.3|^7.0", + "phpdocumentor/reflection-docblock": "^2.0|^3.0.2", + "sebastian/comparator": "^1.1", + "sebastian/recursion-context": "^1.0" + }, + "require-dev": { + "phpspec/phpspec": "^2.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.6.x-dev" + } + }, + "autoload": { + "psr-0": { + "Prophecy\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Konstantin Kudryashov", + "email": "ever.zet@gmail.com", + "homepage": "http://everzet.com" + }, + { + "name": "Marcello Duarte", + "email": "marcello.duarte@gmail.com" + } + ], + "description": "Highly opinionated mocking framework for PHP 5.3+", + "homepage": "https://github.com/phpspec/prophecy", + "keywords": [ + "Double", + "Dummy", + "fake", + "mock", + "spy", + "stub" + ], + "time": "2016-06-07 08:13:47" + }, { "name": "psr/http-message", "version": "1.0", @@ -957,16 +1537,16 @@ }, { "name": "puli/composer-plugin", - "version": "1.0.0-beta9", + "version": "1.0.0-beta10", "source": { "type": "git", "url": "https://github.com/puli/composer-plugin.git", - "reference": "a807314893420bd6c33402e7e9b01448748f3618" + "reference": "89f1d4df4cc24dc8025e3afb98b5fab0bd2df831" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/puli/composer-plugin/zipball/a807314893420bd6c33402e7e9b01448748f3618", - "reference": "a807314893420bd6c33402e7e9b01448748f3618", + "url": "https://api.github.com/repos/puli/composer-plugin/zipball/89f1d4df4cc24dc8025e3afb98b5fab0bd2df831", + "reference": "89f1d4df4cc24dc8025e3afb98b5fab0bd2df831", "shasum": "" }, "require": { @@ -975,6 +1555,7 @@ "puli/discovery": "^1.0-beta9", "puli/repository": "^1.0-beta9", "puli/url-generator": "^1.0-beta4", + "symfony/filesystem": "^2.3|^3.0", "symfony/process": "^2.3|^3.0", "webmozart/assert": "^1.0", "webmozart/json": "^1.2.2", @@ -984,7 +1565,6 @@ "composer/composer": "^1.0-alpha10", "phpunit/phpunit": "^4.6", "sebastian/version": "^1.0.1", - "symfony/filesystem": "^2.3", "webmozart/glob": "^4.0" }, "type": "composer-plugin", @@ -1011,7 +1591,7 @@ ], "description": "Integrates Composer into the Puli package manager.", "homepage": "http://puli.io", - "time": "2016-01-14 12:40:31" + "time": "2016-03-31 12:15:22" }, { "name": "puli/discovery", @@ -1242,19 +1822,20 @@ }, { "name": "ramsey/uuid", - "version": "2.8.4", + "version": "2.9.0", "source": { "type": "git", "url": "https://github.com/ramsey/uuid.git", - "reference": "805d8e1894c52e5b1582e75ca8803a8d85650df9" + "reference": "b2ef4dd9584268d73f92f752a62bc24cd534dc9a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ramsey/uuid/zipball/805d8e1894c52e5b1582e75ca8803a8d85650df9", - "reference": "805d8e1894c52e5b1582e75ca8803a8d85650df9", + "url": "https://api.github.com/repos/ramsey/uuid/zipball/b2ef4dd9584268d73f92f752a62bc24cd534dc9a", + "reference": "b2ef4dd9584268d73f92f752a62bc24cd534dc9a", "shasum": "" }, "require": { + "paragonie/random_compat": "^1.0|^2.0", "php": ">=5.3.3" }, "replace": { @@ -1304,7 +1885,243 @@ "identifier", "uuid" ], - "time": "2015-12-17 16:54:24" + "time": "2016-03-22 18:20:19" + }, + { + "name": "sebastian/comparator", + "version": "1.2.0", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/comparator.git", + "reference": "937efb279bd37a375bcadf584dec0726f84dbf22" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/937efb279bd37a375bcadf584dec0726f84dbf22", + "reference": "937efb279bd37a375bcadf584dec0726f84dbf22", + "shasum": "" + }, + "require": { + "php": ">=5.3.3", + "sebastian/diff": "~1.2", + "sebastian/exporter": "~1.2" + }, + "require-dev": { + "phpunit/phpunit": "~4.4" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.2.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Jeff Welch", + "email": "whatthejeff@gmail.com" + }, + { + "name": "Volker Dusch", + "email": "github@wallbash.com" + }, + { + "name": "Bernhard Schussek", + "email": "bschussek@2bepublished.at" + }, + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Provides the functionality to compare PHP values for equality", + "homepage": "http://www.github.com/sebastianbergmann/comparator", + "keywords": [ + "comparator", + "compare", + "equality" + ], + "time": "2015-07-26 15:48:44" + }, + { + "name": "sebastian/diff", + "version": "1.4.1", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/diff.git", + "reference": "13edfd8706462032c2f52b4b862974dd46b71c9e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/13edfd8706462032c2f52b4b862974dd46b71c9e", + "reference": "13edfd8706462032c2f52b4b862974dd46b71c9e", + "shasum": "" + }, + "require": { + "php": ">=5.3.3" + }, + "require-dev": { + "phpunit/phpunit": "~4.8" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.4-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Kore Nordmann", + "email": "mail@kore-nordmann.de" + }, + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Diff implementation", + "homepage": "https://github.com/sebastianbergmann/diff", + "keywords": [ + "diff" + ], + "time": "2015-12-08 07:14:41" + }, + { + "name": "sebastian/exporter", + "version": "1.2.2", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/exporter.git", + "reference": "42c4c2eec485ee3e159ec9884f95b431287edde4" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/42c4c2eec485ee3e159ec9884f95b431287edde4", + "reference": "42c4c2eec485ee3e159ec9884f95b431287edde4", + "shasum": "" + }, + "require": { + "php": ">=5.3.3", + "sebastian/recursion-context": "~1.0" + }, + "require-dev": { + "ext-mbstring": "*", + "phpunit/phpunit": "~4.4" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.3.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Jeff Welch", + "email": "whatthejeff@gmail.com" + }, + { + "name": "Volker Dusch", + "email": "github@wallbash.com" + }, + { + "name": "Bernhard Schussek", + "email": "bschussek@2bepublished.at" + }, + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + }, + { + "name": "Adam Harvey", + "email": "aharvey@php.net" + } + ], + "description": "Provides the functionality to export PHP variables for visualization", + "homepage": "http://www.github.com/sebastianbergmann/exporter", + "keywords": [ + "export", + "exporter" + ], + "time": "2016-06-17 09:04:28" + }, + { + "name": "sebastian/recursion-context", + "version": "1.0.2", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/recursion-context.git", + "reference": "913401df809e99e4f47b27cdd781f4a258d58791" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/913401df809e99e4f47b27cdd781f4a258d58791", + "reference": "913401df809e99e4f47b27cdd781f4a258d58791", + "shasum": "" + }, + "require": { + "php": ">=5.3.3" + }, + "require-dev": { + "phpunit/phpunit": "~4.4" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Jeff Welch", + "email": "whatthejeff@gmail.com" + }, + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + }, + { + "name": "Adam Harvey", + "email": "aharvey@php.net" + } + ], + "description": "Provides functionality to recursively process PHP variables", + "homepage": "http://www.github.com/sebastianbergmann/recursion-context", + "time": "2015-11-11 19:50:13" }, { "name": "seld/jsonlint", @@ -1354,21 +2171,28 @@ }, { "name": "stratify/error-handler-module", - "version": "0.1.1", + "version": "0.2.1", "source": { "type": "git", "url": "https://github.com/stratifyphp/error-handler-module.git", - "reference": "6b6567bdd39459ff19e384c53bb52453e0986677" + "reference": "e5fe83323df185234ac69d2cc7edf283fc937503" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/stratifyphp/error-handler-module/zipball/6b6567bdd39459ff19e384c53bb52453e0986677", - "reference": "6b6567bdd39459ff19e384c53bb52453e0986677", + "url": "https://api.github.com/repos/stratifyphp/error-handler-module/zipball/e5fe83323df185234ac69d2cc7edf283fc937503", + "reference": "e5fe83323df185234ac69d2cc7edf283fc937503", "shasum": "" }, "require": { - "filp/whoops": "^1.1", - "psr/http-message": "^1.0" + "container-interop/container-interop": "^1.1", + "filp/whoops": "^2.0", + "psr/http-message": "^1.0", + "psr/log": "^1.0" + }, + "require-dev": { + "php-di/php-di": "^5.2", + "phpunit/phpunit": "^5.2", + "zendframework/zend-diactoros": "^1.3" }, "type": "library", "autoload": { @@ -1380,35 +2204,39 @@ "license": [ "MIT" ], - "time": "2015-12-06 11:04:56" + "description": "Error handler module for Stratify", + "time": "2016-06-14 21:03:27" }, { "name": "stratify/framework", - "version": "0.1.3", + "version": "0.3.1", "source": { "type": "git", "url": "https://github.com/stratifyphp/framework.git", - "reference": "ea6099677e67c08e31835bfd3488418484586de1" + "reference": "2ca880849151f8c9847f895cb2b81edd7f109d89" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/stratifyphp/framework/zipball/ea6099677e67c08e31835bfd3488418484586de1", - "reference": "ea6099677e67c08e31835bfd3488418484586de1", + "url": "https://api.github.com/repos/stratifyphp/framework/zipball/2ca880849151f8c9847f895cb2b81edd7f109d89", + "reference": "2ca880849151f8c9847f895cb2b81edd7f109d89", "shasum": "" }, "require": { - "php-di/php-di": "^5.0", + "mnapoli/silly": "^1.2", + "php": ">=7.0", + "php-di/kernel": "~0.2.2", + "php-di/php-di": "^5.2", "puli/composer-plugin": "^1.0", "puli/discovery": "^1.0", "puli/repository": "^1.0", "puli/url-generator": "^1.0", - "stratify/error-handler-module": "~0.1.0", + "stratify/error-handler-module": "~0.2.0", "stratify/http": "~0.1.0", - "stratify/router": "~0.1.0" + "stratify/router": "~0.2.0" }, "require-dev": { - "phpunit/phpunit": "^5.0@dev", - "symfony/filesystem": "*" + "phpunit/phpunit": "^5.1", + "symfony/filesystem": "^3.0" }, "type": "library", "autoload": { @@ -1423,7 +2251,8 @@ "license": [ "MIT" ], - "time": "2015-10-30 23:05:14" + "description": "Stratify framework package", + "time": "2016-06-19 16:12:14" }, { "name": "stratify/http", @@ -1459,20 +2288,22 @@ }, { "name": "stratify/router", - "version": "0.1.2", + "version": "0.2.0", "source": { "type": "git", "url": "https://github.com/stratifyphp/router.git", - "reference": "2f92e65e3740000d56dacaf32230734e6f3c276d" + "reference": "fbc790f71a2fa61c2717c61e9b5ec8f5645258d7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/stratifyphp/router/zipball/2f92e65e3740000d56dacaf32230734e6f3c276d", - "reference": "2f92e65e3740000d56dacaf32230734e6f3c276d", + "url": "https://api.github.com/repos/stratifyphp/router/zipball/fbc790f71a2fa61c2717c61e9b5ec8f5645258d7", + "reference": "fbc790f71a2fa61c2717c61e9b5ec8f5645258d7", "shasum": "" }, "require": { "aura/router": "^3.0", + "container-interop/container-interop": "^1.1", + "php-di/invoker": "^1.2", "psr/http-message": "^1.0", "stratify/http": "~0.1.0" }, @@ -1492,33 +2323,30 @@ "license": [ "MIT" ], - "time": "2016-02-05 22:31:11" + "time": "2016-02-05 22:50:59" }, { "name": "stratify/twig-module", - "version": "0.1.1", + "version": "0.1.2", "source": { "type": "git", "url": "https://github.com/stratifyphp/twig-module.git", - "reference": "5648ab9255e9a9f4b3aec1cbb4d56dd96b21164a" + "reference": "79eb99ec4673194a9cd0b353e26999c0cd6e2652" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/stratifyphp/twig-module/zipball/5648ab9255e9a9f4b3aec1cbb4d56dd96b21164a", - "reference": "5648ab9255e9a9f4b3aec1cbb4d56dd96b21164a", + "url": "https://api.github.com/repos/stratifyphp/twig-module/zipball/79eb99ec4673194a9cd0b353e26999c0cd6e2652", + "reference": "79eb99ec4673194a9cd0b353e26999c0cd6e2652", "shasum": "" }, "require": { - "php-di/php-di": "^5.0", + "php-di/php-di": "^5.2", "puli/repository": "^1.0", "puli/twig-extension": "^1.0", "puli/url-generator": "^1.0", - "stratify/router": "~0.1.0", + "stratify/router": "~0.2.0", "twig/twig": "^1.21" }, - "require-dev": { - "phpunit/phpunit": "^5.0@dev" - }, "type": "library", "autoload": { "psr-4": { @@ -1529,20 +2357,21 @@ "license": [ "MIT" ], - "time": "2015-09-10 11:33:43" + "description": "Twig module", + "time": "2016-06-14 21:33:27" }, { "name": "symfony/console", - "version": "v2.8.2", + "version": "v2.8.7", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "d0239fb42f98dd02e7d342f793c5d2cdee0c478d" + "reference": "5ac8bc9aa77bb2edf06af3a1bb6bc1020d23acd3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/d0239fb42f98dd02e7d342f793c5d2cdee0c478d", - "reference": "d0239fb42f98dd02e7d342f793c5d2cdee0c478d", + "url": "https://api.github.com/repos/symfony/console/zipball/5ac8bc9aa77bb2edf06af3a1bb6bc1020d23acd3", + "reference": "5ac8bc9aa77bb2edf06af3a1bb6bc1020d23acd3", "shasum": "" }, "require": { @@ -1589,20 +2418,20 @@ ], "description": "Symfony Console Component", "homepage": "https://symfony.com", - "time": "2016-01-14 08:33:16" + "time": "2016-06-06 15:06:25" }, { "name": "symfony/event-dispatcher", - "version": "v2.8.2", + "version": "v2.8.7", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher.git", - "reference": "ee278f7c851533e58ca307f66305ccb9188aceda" + "reference": "2a6b8713f8bdb582058cfda463527f195b066110" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/ee278f7c851533e58ca307f66305ccb9188aceda", - "reference": "ee278f7c851533e58ca307f66305ccb9188aceda", + "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/2a6b8713f8bdb582058cfda463527f195b066110", + "reference": "2a6b8713f8bdb582058cfda463527f195b066110", "shasum": "" }, "require": { @@ -1649,20 +2478,20 @@ ], "description": "Symfony EventDispatcher Component", "homepage": "https://symfony.com", - "time": "2016-01-13 10:28:07" + "time": "2016-06-06 11:11:27" }, { "name": "symfony/filesystem", - "version": "v2.8.2", + "version": "v2.8.7", "source": { "type": "git", "url": "https://github.com/symfony/filesystem.git", - "reference": "637b64d0ee10f44ae98dbad651b1ecdf35a11e8c" + "reference": "dee379131dceed90a429e951546b33edfe7dccbb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/filesystem/zipball/637b64d0ee10f44ae98dbad651b1ecdf35a11e8c", - "reference": "637b64d0ee10f44ae98dbad651b1ecdf35a11e8c", + "url": "https://api.github.com/repos/symfony/filesystem/zipball/dee379131dceed90a429e951546b33edfe7dccbb", + "reference": "dee379131dceed90a429e951546b33edfe7dccbb", "shasum": "" }, "require": { @@ -1698,20 +2527,20 @@ ], "description": "Symfony Filesystem Component", "homepage": "https://symfony.com", - "time": "2016-01-13 10:28:07" + "time": "2016-04-12 18:01:21" }, { "name": "symfony/finder", - "version": "v2.8.2", + "version": "v2.8.7", "source": { "type": "git", "url": "https://github.com/symfony/finder.git", - "reference": "c90fabdd97e431ee19b6383999cf35334dff27da" + "reference": "3ec095fab1800222732ca522a95dce8fa124007b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/c90fabdd97e431ee19b6383999cf35334dff27da", - "reference": "c90fabdd97e431ee19b6383999cf35334dff27da", + "url": "https://api.github.com/repos/symfony/finder/zipball/3ec095fab1800222732ca522a95dce8fa124007b", + "reference": "3ec095fab1800222732ca522a95dce8fa124007b", "shasum": "" }, "require": { @@ -1747,20 +2576,20 @@ ], "description": "Symfony Finder Component", "homepage": "https://symfony.com", - "time": "2016-01-14 08:26:52" + "time": "2016-06-06 11:11:27" }, { "name": "symfony/polyfill-mbstring", - "version": "v1.1.0", + "version": "v1.2.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "1289d16209491b584839022f29257ad859b8532d" + "reference": "dff51f72b0706335131b00a7f49606168c582594" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/1289d16209491b584839022f29257ad859b8532d", - "reference": "1289d16209491b584839022f29257ad859b8532d", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/dff51f72b0706335131b00a7f49606168c582594", + "reference": "dff51f72b0706335131b00a7f49606168c582594", "shasum": "" }, "require": { @@ -1772,7 +2601,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.1-dev" + "dev-master": "1.2-dev" } }, "autoload": { @@ -1806,20 +2635,20 @@ "portable", "shim" ], - "time": "2016-01-20 09:13:37" + "time": "2016-05-18 14:26:46" }, { "name": "symfony/process", - "version": "v3.0.2", + "version": "v3.1.1", "source": { "type": "git", "url": "https://github.com/symfony/process.git", - "reference": "dfecef47506179db2501430e732adbf3793099c8" + "reference": "6350e63ed9c232da50e00f00a7e0330f066387a2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/process/zipball/dfecef47506179db2501430e732adbf3793099c8", - "reference": "dfecef47506179db2501430e732adbf3793099c8", + "url": "https://api.github.com/repos/symfony/process/zipball/6350e63ed9c232da50e00f00a7e0330f066387a2", + "reference": "6350e63ed9c232da50e00f00a7e0330f066387a2", "shasum": "" }, "require": { @@ -1828,7 +2657,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "3.0-dev" + "dev-master": "3.1-dev" } }, "autoload": { @@ -1855,20 +2684,69 @@ ], "description": "Symfony Process Component", "homepage": "https://symfony.com", - "time": "2016-02-02 13:44:19" + "time": "2016-06-06 11:42:41" }, { - "name": "twig/twig", - "version": "v1.24.0", + "name": "symfony/yaml", + "version": "v3.1.1", "source": { "type": "git", - "url": "https://github.com/twigphp/Twig.git", - "reference": "3e5aa30ebfbafd5951fb1b01e338e1800ce7e0e8" + "url": "https://github.com/symfony/yaml.git", + "reference": "c5a7e7fc273c758b92b85dcb9c46149ccda89623" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/twigphp/Twig/zipball/3e5aa30ebfbafd5951fb1b01e338e1800ce7e0e8", - "reference": "3e5aa30ebfbafd5951fb1b01e338e1800ce7e0e8", + "url": "https://api.github.com/repos/symfony/yaml/zipball/c5a7e7fc273c758b92b85dcb9c46149ccda89623", + "reference": "c5a7e7fc273c758b92b85dcb9c46149ccda89623", + "shasum": "" + }, + "require": { + "php": ">=5.5.9" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.1-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Component\\Yaml\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony Yaml Component", + "homepage": "https://symfony.com", + "time": "2016-06-14 11:18:07" + }, + { + "name": "twig/twig", + "version": "v1.24.1", + "source": { + "type": "git", + "url": "https://github.com/twigphp/Twig.git", + "reference": "3566d311a92aae4deec6e48682dc5a4528c4a512" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/twigphp/Twig/zipball/3566d311a92aae4deec6e48682dc5a4528c4a512", + "reference": "3566d311a92aae4deec6e48682dc5a4528c4a512", "shasum": "" }, "require": { @@ -1916,7 +2794,7 @@ "keywords": [ "templating" ], - "time": "2016-01-25 21:22:18" + "time": "2016-05-30 09:11:59" }, { "name": "webmozart/assert", @@ -2162,20 +3040,20 @@ }, { "name": "zendframework/zend-diactoros", - "version": "1.3.3", + "version": "1.3.5", "source": { "type": "git", "url": "https://github.com/zendframework/zend-diactoros.git", - "reference": "4d54fde709664562eb63356f0250d527824d05de" + "reference": "b1d59735b672865dbeb930805029c24f226e3e77" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/zendframework/zend-diactoros/zipball/4d54fde709664562eb63356f0250d527824d05de", - "reference": "4d54fde709664562eb63356f0250d527824d05de", + "url": "https://api.github.com/repos/zendframework/zend-diactoros/zipball/b1d59735b672865dbeb930805029c24f226e3e77", + "reference": "b1d59735b672865dbeb930805029c24f226e3e77", "shasum": "" }, "require": { - "php": ">=5.4", + "php": "^5.4 || ^7.0", "psr/http-message": "~1.0" }, "provide": { @@ -2208,7 +3086,7 @@ "psr", "psr-7" ], - "time": "2016-01-04 21:37:32" + "time": "2016-03-17 18:02:05" } ], "packages-dev": [], diff --git a/puli.json b/puli.json index 509d779..ecd584b 100644 --- a/puli.json +++ b/puli.json @@ -16,6 +16,10 @@ "install-path": "vendor/badges/poser", "installer": "composer" }, + "coduo/phpspec-data-provider-extension": { + "install-path": "vendor/coduo/phpspec-data-provider-extension", + "installer": "composer" + }, "container-interop/container-interop": { "install-path": "vendor/container-interop/container-interop", "installer": "composer" @@ -28,6 +32,10 @@ "install-path": "vendor/doctrine/cache", "installer": "composer" }, + "doctrine/instantiator": { + "install-path": "vendor/doctrine/instantiator", + "installer": "composer" + }, "doctrine/lexer": { "install-path": "vendor/doctrine/lexer", "installer": "composer" @@ -52,14 +60,26 @@ "install-path": "vendor/mnapoli/blackbox", "installer": "composer" }, + "mnapoli/silly": { + "install-path": "vendor/mnapoli/silly", + "installer": "composer" + }, "monolog/monolog": { "install-path": "vendor/monolog/monolog", "installer": "composer" }, + "paragonie/random_compat": { + "install-path": "vendor/paragonie/random_compat", + "installer": "composer" + }, "php-di/invoker": { "install-path": "vendor/php-di/invoker", "installer": "composer" }, + "php-di/kernel": { + "install-path": "vendor/php-di/kernel", + "installer": "composer" + }, "php-di/php-di": { "install-path": "vendor/php-di/php-di", "installer": "composer" @@ -68,6 +88,30 @@ "install-path": "vendor/php-di/phpdoc-reader", "installer": "composer" }, + "phpdocumentor/reflection-common": { + "install-path": "vendor/phpdocumentor/reflection-common", + "installer": "composer" + }, + "phpdocumentor/reflection-docblock": { + "install-path": "vendor/phpdocumentor/reflection-docblock", + "installer": "composer" + }, + "phpdocumentor/type-resolver": { + "install-path": "vendor/phpdocumentor/type-resolver", + "installer": "composer" + }, + "phpspec/php-diff": { + "install-path": "vendor/phpspec/php-diff", + "installer": "composer" + }, + "phpspec/phpspec": { + "install-path": "vendor/phpspec/phpspec", + "installer": "composer" + }, + "phpspec/prophecy": { + "install-path": "vendor/phpspec/prophecy", + "installer": "composer" + }, "psr/http-message": { "install-path": "vendor/psr/http-message", "installer": "composer" @@ -100,6 +144,22 @@ "install-path": "vendor/ramsey/uuid", "installer": "composer" }, + "sebastian/comparator": { + "install-path": "vendor/sebastian/comparator", + "installer": "composer" + }, + "sebastian/diff": { + "install-path": "vendor/sebastian/diff", + "installer": "composer" + }, + "sebastian/exporter": { + "install-path": "vendor/sebastian/exporter", + "installer": "composer" + }, + "sebastian/recursion-context": { + "install-path": "vendor/sebastian/recursion-context", + "installer": "composer" + }, "seld/jsonlint": { "install-path": "vendor/seld/jsonlint", "installer": "composer" @@ -148,6 +208,10 @@ "install-path": "vendor/symfony/process", "installer": "composer" }, + "symfony/yaml": { + "install-path": "vendor/symfony/yaml", + "installer": "composer" + }, "twig/twig": { "install-path": "vendor/twig/twig", "installer": "composer" diff --git a/src/Maintained/Application/Application.php b/src/Maintained/Application/Application.php new file mode 100644 index 0000000..a1027d0 --- /dev/null +++ b/src/Maintained/Application/Application.php @@ -0,0 +1,28 @@ + + */ +class Application extends \Stratify\Framework\Application +{ + public function __construct() + { + $modules = [ + 'error-handler', + 'twig', + 'app', + ]; + + parent::__construct($modules); + } + + protected function configureContainerBuilder(ContainerBuilder $containerBuilder) + { + $containerBuilder->useAnnotations(true); + } +} diff --git a/web/index.php b/web/index.php index 64cfa38..6529d36 100644 --- a/web/index.php +++ b/web/index.php @@ -1,6 +1,5 @@ route(HomeController::class, 'home'), - '/check/{user}/{repository}' => route(ProjectCheckController::class, 'check-project'), - '/project/{user}/{repository}' => route(ProjectController::class, 'project'), + '/' => route(HomeController::class, 'home'), + '/check/{user}/{repository}' => route(ProjectCheckController::class, 'check-project'), + '/project/{user}/{repository}' => route(ProjectController::class, 'project'), '/badge/{badge}/{user}/{repository}.svg' => route(BadgeController::class, 'badge'), ]), @@ -42,17 +36,6 @@ $http = pipe([ Error404Middleware::class, ]); -/** @var Application $app */ -$app = new class($http, $modules) extends Application -{ - protected function createContainerBuilder(array $modules) : ContainerBuilder - { - $containerBuilder = parent::createContainerBuilder($modules); - $containerBuilder->useAnnotations(true); - return $containerBuilder; - } -}; - +$app = new Application; ErrorHandler::register($app->getContainer()->get(LoggerInterface::class)); - -$app->runHttp(); +$app->http($http)->run();