From abfa5159930be6cd61e270a2ba4083239a84cadc Mon Sep 17 00:00:00 2001 From: Matthieu Napoli Date: Tue, 13 Oct 2015 20:37:44 +0200 Subject: [PATCH 1/6] #22 Add the MIT license --- LICENSE | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..5330471 --- /dev/null +++ b/LICENSE @@ -0,0 +1,18 @@ +Is It Maintained + +Copyright (C) Matthieu Napoli + +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. -- 2.39.5 From aaf3988c819d3ed2c10bf08d76d5f9a72d2cd35c Mon Sep 17 00:00:00 2001 From: John-Philip Johansson Date: Tue, 27 Oct 2015 08:47:12 +0100 Subject: [PATCH 2/6] Add IsItMaintained badges to README --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 54252ab..b924d69 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,8 @@ # Is It Maintained? +[![Average time to resolve an issue](http://isitmaintained.com/badge/resolution/mnapoli/IsItMaintained.svg)](http://isitmaintained.com/project/mnapoli/IsItMaintained "Average time to resolve an issue") +[![Percentage of issues still open](http://isitmaintained.com/badge/open/mnapoli/IsItMaintained.svg)](http://isitmaintained.com/project/mnapoli/IsItMaintained "Percentage of issues still open") + Monitoring open source projects activity. ![](web/img/dude.png) -- 2.39.5 From 6bf7b3c911d8d981897ed67b122663e9bbfc987d Mon Sep 17 00:00:00 2001 From: Matthieu Napoli Date: Sat, 31 Oct 2015 01:54:09 +0100 Subject: [PATCH 3/6] Rewrite the application using Stratify --- .gitignore | 15 +- app/config/config.php | 52 - app/config/routes.php | 30 - app/container.php | 14 - bin/console | 22 +- composer.json | 21 +- composer.lock | 2335 ++++++++--------- docker-compose.yml | 8 + puli.json | 172 ++ {app => res}/config/config.libraries.php | 59 +- res/config/config.php | 63 + {app => res}/config/parameters.php.dist | 0 .../Application/View => res/views}/404.twig | 0 .../View => res/views}/github-limit.twig | 0 .../Application/View => res/views}/home.twig | 0 .../View => res/views}/layout.twig | 0 .../View => res/views}/maintenance.twig | 0 .../View => res/views}/not-found.twig | 0 .../View => res/views}/project-check.twig | 0 .../View => res/views}/project.twig | 0 .../Controller/BadgeController.php | 12 +- .../Controller/Error404Controller.php | 17 - .../Application/Controller/HomeController.php | 4 +- .../Controller/MaintenanceController.php | 17 - .../Controller/ProjectCheckController.php | 2 +- .../Controller/ProjectController.php | 8 +- .../Middleware/Error404Middleware.php | 31 + .../Middleware/MaintenanceMiddleware.php | 41 + {app => var}/cache/.gitkeep | 0 {app => var}/data/.gitkeep | 0 {app => var}/logs/.gitkeep | 0 web/index.php | 73 +- 32 files changed, 1588 insertions(+), 1408 deletions(-) delete mode 100644 app/config/config.php delete mode 100644 app/config/routes.php delete mode 100644 app/container.php create mode 100644 docker-compose.yml create mode 100644 puli.json rename {app => res}/config/config.libraries.php (59%) create mode 100644 res/config/config.php rename {app => res}/config/parameters.php.dist (100%) rename {src/Maintained/Application/View => res/views}/404.twig (100%) rename {src/Maintained/Application/View => res/views}/github-limit.twig (100%) rename {src/Maintained/Application/View => res/views}/home.twig (100%) rename {src/Maintained/Application/View => res/views}/layout.twig (100%) rename {src/Maintained/Application/View => res/views}/maintenance.twig (100%) rename {src/Maintained/Application/View => res/views}/not-found.twig (100%) rename {src/Maintained/Application/View => res/views}/project-check.twig (100%) rename {src/Maintained/Application/View => res/views}/project.twig (100%) delete mode 100644 src/Maintained/Application/Controller/Error404Controller.php delete mode 100644 src/Maintained/Application/Controller/MaintenanceController.php create mode 100644 src/Maintained/Application/Middleware/Error404Middleware.php create mode 100644 src/Maintained/Application/Middleware/MaintenanceMiddleware.php rename {app => var}/cache/.gitkeep (100%) rename {app => var}/data/.gitkeep (100%) rename {app => var}/logs/.gitkeep (100%) diff --git a/.gitignore b/.gitignore index a8120d0..8bf5ccf 100644 --- a/.gitignore +++ b/.gitignore @@ -1,11 +1,10 @@ -/app/cache/* -!/app/cache/.gitkeep -/app/data/* -!/app/data/.gitkeep -/app/logs/* -!/app/logs/.gitkeep -/app/config/parameters.php +/var/cache/* +!/var/cache/.gitkeep +/var/data/* +!/var/data/.gitkeep +/var/logs/* +!/var/logs/.gitkeep +/res/config/parameters.php /vendor/ /web/vendor/ -/composer.phar /theme/ diff --git a/app/config/config.php b/app/config/config.php deleted file mode 100644 index 2ef8adc..0000000 --- a/app/config/config.php +++ /dev/null @@ -1,52 +0,0 @@ - 'http://isitmaintained.com', - 'maintenance' => false, - - 'directory.cache' => __DIR__ . '/../../app/cache', - 'directory.data' => __DIR__ . '/../../app/data', - 'directory.logs' => __DIR__ . '/../../app/logs', - - // Routing - 'routes' => require __DIR__ . '/routes.php', - - // Piwik tracking - 'piwik.enabled' => false, - 'piwik.host' => null, - 'piwik.site_id' => null, - - // GitHub API - 'github.auth_token' => null, - - StatisticsProvider::class => link(CachedStatisticsProvider::class), - CachedStatisticsProvider::class => object() - ->constructorParameter('cache', link('storage.statistics')) - ->constructorParameter('wrapped', link(StatisticsProviderLogger::class)), - StatisticsProviderLogger::class => object() - ->constructorParameter('wrapped', link(StatisticsComputer::class)) - ->constructorParameter('repositoryStorage', link('storage.repositories')), - - // CLI commands - ClearCacheCommand::class => object() - ->constructorParameter('cacheDirectory', link('directory.cache')) - ->constructorParameter('dataDirectory', link('directory.data')), - ShowStatisticsCommand::class => object(), - WarmupCacheCommand::class => object() - ->constructorParameter('repositoryStorage', link('storage.repositories')), - UpdateStatisticsCommand::class => object() - ->constructorParameter('repositoryStorage', link('storage.repositories')) - ->constructorParameter('statisticsCache', link('storage.statistics')), -]; diff --git a/app/config/routes.php b/app/config/routes.php deleted file mode 100644 index 1bcce6f..0000000 --- a/app/config/routes.php +++ /dev/null @@ -1,30 +0,0 @@ - [ - 'pattern' => '/', - 'controller' => HomeController::class, - ], - 'check-project' => [ - 'pattern' => '/check/{user}/{repository}', - 'controller' => ProjectCheckController::class, - ], - 'project' => [ - 'pattern' => '/project/{user}/{repository}', - 'controller' => ProjectController::class, - ], - 'badge' => [ - 'pattern' => '/badge/{badge}/{user}/{repository}.svg', - 'controller' => BadgeController::class, - ], - '404' => [ - 'pattern' => '/404', - 'controller' => Error404Controller::class, - ], -]; diff --git a/app/container.php b/app/container.php deleted file mode 100644 index a6cb2a5..0000000 --- a/app/container.php +++ /dev/null @@ -1,14 +0,0 @@ -addDefinitions(__DIR__ . '/config/config.php'); -$builder->addDefinitions(__DIR__ . '/config/config.libraries.php'); - -if (file_exists(__DIR__ . '/config/parameters.php')) { - $builder->addDefinitions(__DIR__ . '/config/parameters.php'); -} - -return $builder->build(); diff --git a/bin/console b/bin/console index 9f17dff..a041b0d 100755 --- a/bin/console +++ b/bin/console @@ -1,7 +1,7 @@ #!/usr/bin/env php useAnnotations(true); + return $containerBuilder; + } +}; +$container = $app->getContainer(); -$application = new Application('Maintained'); +$application = new Application('isitmaintained'); $application->add($container->get(ClearCacheCommand::class)); $application->add($container->get(WarmupCacheCommand::class)); diff --git a/composer.json b/composer.json index c74970a..55e74af 100644 --- a/composer.json +++ b/composer.json @@ -7,30 +7,23 @@ "Maintained\\": "src/Maintained/" } }, - "autoload-dev": { - "psr-4": { - "Tests\\Maintained\\": "tests/" - } - }, "require": { - "php": ">=5.6", + "php": ">=7.0", "ext-gd": "*", - "mnapoli/php-di": "4.4.x-dev", + "php-di/php-di": "~5.1", "knplabs/github-api": "~1.3", - "aura/router": "~2.0", "badges/poser": "~1.1", - "twig/twig": "~1.16", "doctrine/cache": "~1.0", "symfony/console": "~2.6", "symfony/filesystem": "~2.6", "mnapoli/piwik-twig-extension": "~1.0", "mnapoli/blackbox": "~0.4.0", "psr/log": "~1.0", - "monolog/monolog": "~1.10" + "monolog/monolog": "~1.10", + "stratify/framework": "~0.1.2", + "stratify/twig-module": "~0.1.1", + "doctrine/annotations": "^1.2" }, - "require-dev": { - "phpunit/phpunit": "~4.0" - }, - "minimum-stability": "dev", + "minimum-stability": "beta", "prefer-stable": true } diff --git a/composer.lock b/composer.lock index ac59f93..9d277da 100644 --- a/composer.lock +++ b/composer.lock @@ -1,49 +1,43 @@ { "_readme": [ "This file locks the dependencies of your project to a known state", - "Read more about it at http://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", + "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", "This file is @generated automatically" ], - "hash": "a01eab3ffdca88cd6a71d08b59099b15", + "hash": "899bb31213ba6c4d59486bdcccf2f229", + "content-hash": "ac8afeb3ac57a6cf0d9773cfda1ff96c", "packages": [ { "name": "aura/router", - "version": "2.2.0", + "version": "3.0.0-beta2", "source": { "type": "git", "url": "https://github.com/auraphp/Aura.Router.git", - "reference": "2544c687a5074ca8ce0dbe6d27a04c006a118e2a" + "reference": "363012b210bdd936c2cba33b080ab5708923449a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/auraphp/Aura.Router/zipball/2544c687a5074ca8ce0dbe6d27a04c006a118e2a", - "reference": "2544c687a5074ca8ce0dbe6d27a04c006a118e2a", + "url": "https://api.github.com/repos/auraphp/Aura.Router/zipball/363012b210bdd936c2cba33b080ab5708923449a", + "reference": "363012b210bdd936c2cba33b080ab5708923449a", "shasum": "" }, "require": { - "php": ">=5.3.0" + "php": ">=5.5.0", + "psr/http-message": "~1.0", + "psr/log": "~1.0" + }, + "require-dev": { + "zendframework/zend-diactoros": "~1.0" }, "type": "library", - "extra": { - "aura": { - "type": "library", - "config": { - "common": "Aura\\Router\\_Config\\Common" - } - }, - "branch-alias": { - "dev-develop-2": "2.0.x-dev" - } - }, "autoload": { "psr-4": { - "Aura\\Router\\": "src/", - "Aura\\Router\\_Config\\": "config/" + "Aura\\Router\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "BSD-2-Clause" + "MIT" ], "authors": [ { @@ -51,14 +45,15 @@ "homepage": "https://github.com/auraphp/Aura.Router/contributors" } ], - "description": "A web router implementation; given a URI path and a copy of $_SERVER, it will extract path-info parameter values for a specific route.", + "description": "Powerful, flexible web routing for PSR-7 requests.", "homepage": "https://github.com/auraphp/Aura.Router", "keywords": [ + "psr-7", "route", "router", "routing" ], - "time": "2014-11-10 15:51:58" + "time": "2015-07-16 20:59:25" }, { "name": "badges/poser", @@ -152,16 +147,16 @@ }, { "name": "doctrine/annotations", - "version": "v1.2.3", + "version": "v1.2.7", "source": { "type": "git", "url": "https://github.com/doctrine/annotations.git", - "reference": "eeda578cbe24a170331a1cfdf78be723412df7a4" + "reference": "f25c8aab83e0c3e976fd7d19875f198ccf2f7535" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/annotations/zipball/eeda578cbe24a170331a1cfdf78be723412df7a4", - "reference": "eeda578cbe24a170331a1cfdf78be723412df7a4", + "url": "https://api.github.com/repos/doctrine/annotations/zipball/f25c8aab83e0c3e976fd7d19875f198ccf2f7535", + "reference": "f25c8aab83e0c3e976fd7d19875f198ccf2f7535", "shasum": "" }, "require": { @@ -216,20 +211,20 @@ "docblock", "parser" ], - "time": "2014-12-20 20:49:38" + "time": "2015-08-31 12:32:49" }, { "name": "doctrine/cache", - "version": "v1.3.1", + "version": "v1.5.0", "source": { "type": "git", "url": "https://github.com/doctrine/cache.git", - "reference": "cf483685798a72c93bf4206e3dd6358ea07d64e7" + "reference": "eb8a73619af4f1c8711e2ce482f5de3643258a1f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/cache/zipball/cf483685798a72c93bf4206e3dd6358ea07d64e7", - "reference": "cf483685798a72c93bf4206e3dd6358ea07d64e7", + "url": "https://api.github.com/repos/doctrine/cache/zipball/eb8a73619af4f1c8711e2ce482f5de3643258a1f", + "reference": "eb8a73619af4f1c8711e2ce482f5de3643258a1f", "shasum": "" }, "require": { @@ -240,17 +235,18 @@ }, "require-dev": { "phpunit/phpunit": ">=3.7", + "predis/predis": "~1.0", "satooshi/php-coveralls": "~0.6" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.4.x-dev" + "dev-master": "1.5.x-dev" } }, "autoload": { - "psr-0": { - "Doctrine\\Common\\Cache\\": "lib/" + "psr-4": { + "Doctrine\\Common\\Cache\\": "lib/Doctrine/Common/Cache" } }, "notification-url": "https://packagist.org/downloads/", @@ -285,7 +281,7 @@ "cache", "caching" ], - "time": "2014-09-17 14:24:04" + "time": "2015-10-28 11:27:45" }, { "name": "doctrine/lexer", @@ -342,17 +338,75 @@ "time": "2014-09-09 13:34:57" }, { - "name": "guzzle/guzzle", - "version": "v3.9.2", + "name": "filp/whoops", + "version": "1.1.7", "source": { "type": "git", - "url": "https://github.com/guzzle/guzzle3.git", - "reference": "54991459675c1a2924122afbb0e5609ade581155" + "url": "https://github.com/filp/whoops.git", + "reference": "72538eeb70bbfb11964412a3d098d109efd012f7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/guzzle3/zipball/54991459675c1a2924122afbb0e5609ade581155", - "reference": "54991459675c1a2924122afbb0e5609ade581155", + "url": "https://api.github.com/repos/filp/whoops/zipball/72538eeb70bbfb11964412a3d098d109efd012f7", + "reference": "72538eeb70bbfb11964412a3d098d109efd012f7", + "shasum": "" + }, + "require": { + "php": ">=5.3.0" + }, + "require-dev": { + "mockery/mockery": "0.9.*" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.2-dev" + } + }, + "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" + ], + "time": "2015-06-29 05:42:04" + }, + { + "name": "guzzle/guzzle", + "version": "v3.9.3", + "source": { + "type": "git", + "url": "https://github.com/guzzle/guzzle3.git", + "reference": "0645b70d953bc1c067bbc8d5bc53194706b628d9" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/guzzle/guzzle3/zipball/0645b70d953bc1c067bbc8d5bc53194706b628d9", + "reference": "0645b70d953bc1c067bbc8d5bc53194706b628d9", "shasum": "" }, "require": { @@ -393,6 +447,9 @@ "zendframework/zend-cache": "2.*,<2.3", "zendframework/zend-log": "2.*,<2.3" }, + "suggest": { + "guzzlehttp/guzzle": "Guzzle 5 has moved to a new package name. The package you have installed, Guzzle 3, is deprecated." + }, "type": "library", "extra": { "branch-alias": { @@ -420,7 +477,7 @@ "homepage": "https://github.com/guzzle/guzzle/contributors" } ], - "description": "Guzzle is a PHP HTTP client library and framework for building RESTful web service clients", + "description": "PHP HTTP client. This library is deprecated in favor of https://packagist.org/packages/guzzlehttp/guzzle", "homepage": "http://guzzlephp.org/", "keywords": [ "client", @@ -431,20 +488,20 @@ "rest", "web service" ], - "time": "2014-08-11 04:32:36" + "time": "2015-03-18 18:23:50" }, { "name": "knplabs/github-api", - "version": "1.4.1", + "version": "1.5.1", "source": { "type": "git", "url": "https://github.com/KnpLabs/php-github-api.git", - "reference": "c4fb5fe66df44efa83a7236c3e18dca557649217" + "reference": "832b7be695ed2733741cd5c79166b4a88fb50786" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/KnpLabs/php-github-api/zipball/c4fb5fe66df44efa83a7236c3e18dca557649217", - "reference": "c4fb5fe66df44efa83a7236c3e18dca557649217", + "url": "https://api.github.com/repos/KnpLabs/php-github-api/zipball/832b7be695ed2733741cd5c79166b4a88fb50786", + "reference": "832b7be695ed2733741cd5c79166b4a88fb50786", "shasum": "" }, "require": { @@ -461,12 +518,12 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.3.x-dev" + "dev-master": "1.4.x-dev" } }, "autoload": { - "psr-0": { - "Github\\": "lib/" + "psr-4": { + "Github\\": "lib/Github/" } }, "notification-url": "https://packagist.org/downloads/", @@ -492,7 +549,7 @@ "gist", "github" ], - "time": "2014-12-22 23:59:03" + "time": "2015-10-11 02:38:28" }, { "name": "mnapoli/blackbox", @@ -531,91 +588,6 @@ ], "time": "2015-01-07 08:42:09" }, - { - "name": "mnapoli/php-di", - "version": "4.4.x-dev", - "source": { - "type": "git", - "url": "https://github.com/mnapoli/PHP-DI.git", - "reference": "32b6f33e7ccccdd323d588647bcf7cddb54c42ae" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/mnapoli/PHP-DI/zipball/32b6f33e7ccccdd323d588647bcf7cddb54c42ae", - "reference": "32b6f33e7ccccdd323d588647bcf7cddb54c42ae", - "shasum": "" - }, - "require": { - "container-interop/container-interop": "~1.0", - "doctrine/annotations": "1.*", - "doctrine/cache": "1.*", - "mnapoli/phpdocreader": "~1.3", - "myclabs/php-enum": "1.*", - "ocramius/proxy-manager": "~0.3", - "php": ">=5.3.3" - }, - "require-dev": { - "phpunit/phpunit": "~4.0" - }, - "type": "library", - "autoload": { - "psr-0": { - "DI\\": "src/", - "IntegrationTests\\": "tests/", - "UnitTests\\": "tests/" - }, - "files": [ - "src/DI/functions.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHP-DI is a Container that makes Dependency Injection as practical as possible in PHP", - "homepage": "http://mnapoli.github.com/PHP-DI/", - "keywords": [ - "container", - "dependency injection", - "di" - ], - "time": "2014-10-12 06:11:26" - }, - { - "name": "mnapoli/phpdocreader", - "version": "1.3.0", - "source": { - "type": "git", - "url": "https://github.com/mnapoli/PhpDocReader.git", - "reference": "8a6e123fd1ce54f7fcbd71747b3bf04e465da229" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/mnapoli/PhpDocReader/zipball/8a6e123fd1ce54f7fcbd71747b3bf04e465da229", - "reference": "8a6e123fd1ce54f7fcbd71747b3bf04e465da229", - "shasum": "" - }, - "require": { - "doctrine/annotations": "1.*", - "php": ">=5.3.0" - }, - "type": "library", - "autoload": { - "psr-0": { - "PhpDocReader": "src/", - "UnitTest": "tests/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "keywords": [ - "phpdoc", - "reflection" - ], - "time": "2014-08-21 08:20:45" - }, { "name": "mnapoli/piwik-twig-extension", "version": "1.0.0", @@ -651,16 +623,16 @@ }, { "name": "monolog/monolog", - "version": "1.12.0", + "version": "1.17.2", "source": { "type": "git", "url": "https://github.com/Seldaek/monolog.git", - "reference": "1fbe8c2641f2b163addf49cc5e18f144bec6b19f" + "reference": "bee7f0dc9c3e0b69a6039697533dca1e845c8c24" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Seldaek/monolog/zipball/1fbe8c2641f2b163addf49cc5e18f144bec6b19f", - "reference": "1fbe8c2641f2b163addf49cc5e18f144bec6b19f", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/bee7f0dc9c3e0b69a6039697533dca1e845c8c24", + "reference": "bee7f0dc9c3e0b69a6039697533dca1e845c8c24", "shasum": "" }, "require": { @@ -671,12 +643,16 @@ "psr/log-implementation": "1.0.0" }, "require-dev": { - "aws/aws-sdk-php": "~2.4, >2.4.8", + "aws/aws-sdk-php": "^2.4.9", "doctrine/couchdb": "~1.0@dev", "graylog2/gelf-php": "~1.0", - "phpunit/phpunit": "~4.0", - "raven/raven": "~0.5", - "ruflin/elastica": "0.90.*", + "jakub-onderka/php-parallel-lint": "0.9", + "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" }, "suggest": { @@ -685,6 +661,7 @@ "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", + "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", @@ -693,7 +670,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.12.x-dev" + "dev-master": "1.16.x-dev" } }, "autoload": { @@ -719,78 +696,171 @@ "logging", "psr-3" ], - "time": "2014-12-29 21:29:35" + "time": "2015-10-14 12:51:02" }, { - "name": "myclabs/php-enum", - "version": "1.2.1", + "name": "php-di/invoker", + "version": "1.2.0", "source": { "type": "git", - "url": "https://github.com/myclabs/php-enum.git", - "reference": "b52c2f215f5b251693369309ea7f537f9d92ec5e" + "url": "https://github.com/PHP-DI/Invoker.git", + "reference": "9949fff87fcf14e8f2ccfbe36dac1e5921944c48" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/myclabs/php-enum/zipball/b52c2f215f5b251693369309ea7f537f9d92ec5e", - "reference": "b52c2f215f5b251693369309ea7f537f9d92ec5e", + "url": "https://api.github.com/repos/PHP-DI/Invoker/zipball/9949fff87fcf14e8f2ccfbe36dac1e5921944c48", + "reference": "9949fff87fcf14e8f2ccfbe36dac1e5921944c48", "shasum": "" }, + "require": { + "container-interop/container-interop": "~1.1" + }, + "require-dev": { + "athletic/athletic": "~0.1.8", + "phpunit/phpunit": "~4.5" + }, "type": "library", "autoload": { - "psr-0": { - "MyCLabs": "src/" + "psr-4": { + "Invoker\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], - "description": "PHP Enum implementation", - "homepage": "http://github.com/myclabs/php-enum", + "description": "Generic and extensible callable invoker", + "homepage": "https://github.com/PHP-DI/Invoker", "keywords": [ - "enum" + "callable", + "dependency", + "dependency-injection", + "injection", + "invoke", + "invoker" ], - "time": "2013-11-11 18:29:08" + "time": "2015-10-22 19:49:23" }, { - "name": "ocramius/proxy-manager", - "version": "0.5.2", + "name": "php-di/php-di", + "version": "5.1.0", "source": { "type": "git", - "url": "https://github.com/Ocramius/ProxyManager.git", - "reference": "0ac0eb3e8e04c7fa75caaf1a43c5405623abf8f5" + "url": "https://github.com/PHP-DI/PHP-DI.git", + "reference": "f4a8088fa4eb480ee66c51b5ee4e4e30cce78489" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Ocramius/ProxyManager/zipball/0ac0eb3e8e04c7fa75caaf1a43c5405623abf8f5", - "reference": "0ac0eb3e8e04c7fa75caaf1a43c5405623abf8f5", + "url": "https://api.github.com/repos/PHP-DI/PHP-DI/zipball/f4a8088fa4eb480ee66c51b5ee4e4e30cce78489", + "reference": "f4a8088fa4eb480ee66c51b5ee4e4e30cce78489", "shasum": "" }, "require": { - "php": ">=5.3.3", - "zendframework/zend-code": ">2.2.5,<3.0" + "container-interop/container-interop": "~1.0", + "php": ">=5.4.0", + "php-di/invoker": "^1.0.1", + "php-di/phpdoc-reader": "~2.0" + }, + "replace": { + "mnapoli/php-di": "*" }, "require-dev": { - "ext-phar": "*", - "phpunit/phpunit": "~4.0", - "squizlabs/php_codesniffer": "1.5.*" + "doctrine/annotations": "~1.2", + "doctrine/cache": "~1.4", + "mnapoli/phpunit-easymock": "~0.1.4", + "ocramius/proxy-manager": "~1.0", + "phpunit/phpunit": "~4.5" }, "suggest": { - "ocramius/generated-hydrator": "To have very fast object to array to object conversion for ghost objects", - "zendframework/zend-json": "To have the JsonRpc adapter (Remote Object feature)", - "zendframework/zend-soap": "To have the Soap adapter (Remote Object feature)", - "zendframework/zend-stdlib": "To use the hydrator proxy", - "zendframework/zend-xmlrpc": "To have the XmlRpc adapter (Remote Object feature)" + "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)" + }, + "type": "library", + "autoload": { + "psr-4": { + "DI\\": "src/DI/" + }, + "files": [ + "src/DI/functions.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "The dependency injection container for humans", + "homepage": "http://php-di.org/", + "keywords": [ + "container", + "dependency injection", + "di" + ], + "time": "2015-09-08 08:56:29" + }, + { + "name": "php-di/phpdoc-reader", + "version": "2.0.0", + "source": { + "type": "git", + "url": "https://github.com/PHP-DI/PhpDocReader.git", + "reference": "21dce5e29f640d655e7b4583ecfb7d166127a5da" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/PHP-DI/PhpDocReader/zipball/21dce5e29f640d655e7b4583ecfb7d166127a5da", + "reference": "21dce5e29f640d655e7b4583ecfb7d166127a5da", + "shasum": "" + }, + "require": { + "php": ">=5.3.0" + }, + "require-dev": { + "phpunit/phpunit": "~4.6" + }, + "type": "library", + "autoload": { + "psr-4": { + "PhpDocReader\\": "src/PhpDocReader" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "PhpDocReader parses @var and @param values in PHP docblocks (supports namespaced class names with the same resolution rules as PHP)", + "keywords": [ + "phpdoc", + "reflection" + ], + "time": "2015-06-01 14:23:20" + }, + { + "name": "psr/http-message", + "version": "1.0", + "source": { + "type": "git", + "url": "https://github.com/php-fig/http-message.git", + "reference": "85d63699f0dbedb190bbd4b0d2b9dc707ea4c298" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/http-message/zipball/85d63699f0dbedb190bbd4b0d2b9dc707ea4c298", + "reference": "85d63699f0dbedb190bbd4b0d2b9dc707ea4c298", + "shasum": "" + }, + "require": { + "php": ">=5.3.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "0.6.x-dev" + "dev-master": "1.0.x-dev" } }, "autoload": { - "psr-0": { - "ProxyManager\\": "src" + "psr-4": { + "Psr\\Http\\Message\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", @@ -799,21 +869,20 @@ ], "authors": [ { - "name": "Marco Pivetta", - "email": "ocramius@gmail.com", - "homepage": "http://ocramius.github.com/" + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" } ], - "description": "A library providing utilities to generate, instantiate and generally operate with Object Proxies", - "homepage": "https://github.com/Ocramius/ProxyManager", + "description": "Common interface for HTTP messages", "keywords": [ - "aop", - "lazy loading", - "proxy", - "proxy pattern", - "service proxies" + "http", + "http-message", + "psr", + "psr-7", + "request", + "response" ], - "time": "2014-09-28 14:18:11" + "time": "2015-05-04 20:22:00" }, { "name": "psr/log", @@ -854,23 +923,545 @@ "time": "2012-12-21 11:40:51" }, { - "name": "symfony/console", - "version": "v2.6.3", - "target-dir": "Symfony/Component/Console", + "name": "puli/composer-plugin", + "version": "1.0.0-beta8", "source": { "type": "git", - "url": "https://github.com/symfony/Console.git", - "reference": "6ac6491ff60c0e5a941db3ccdc75a07adbb61476" + "url": "https://github.com/puli/composer-plugin.git", + "reference": "59109e95eac8ea5088cc20988f565b81a6a0ec7b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/Console/zipball/6ac6491ff60c0e5a941db3ccdc75a07adbb61476", - "reference": "6ac6491ff60c0e5a941db3ccdc75a07adbb61476", + "url": "https://api.github.com/repos/puli/composer-plugin/zipball/59109e95eac8ea5088cc20988f565b81a6a0ec7b", + "reference": "59109e95eac8ea5088cc20988f565b81a6a0ec7b", + "shasum": "" + }, + "require": { + "composer-plugin-api": "^1.0", + "puli/discovery": "^1.0-beta8", + "puli/repository": "^1.0-beta8", + "puli/url-generator": "^1.0-beta3", + "symfony/process": "^2.3", + "webmozart/assert": "^1.0", + "webmozart/key-value-store": "^1.0-beta6", + "webmozart/path-util": "^2.2.3" + }, + "require-dev": { + "composer/composer": "^1.0-alpha10", + "phpunit/phpunit": "^4.6", + "sebastian/version": "^1.0.1", + "symfony/filesystem": "^2.3", + "webmozart/glob": "^3.1" + }, + "type": "composer-plugin", + "extra": { + "branch-alias": { + "dev-master": "1.0-dev" + }, + "class": "Puli\\ComposerPlugin\\PuliPlugin" + }, + "autoload": { + "psr-4": { + "Puli\\ComposerPlugin\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Bernhard Schussek", + "email": "bschussek@gmail.com" + } + ], + "description": "Integrates Composer into the Puli package manager.", + "homepage": "http://puli.io", + "time": "2015-10-05 11:31:15" + }, + { + "name": "puli/discovery", + "version": "1.0.0-beta8", + "source": { + "type": "git", + "url": "https://github.com/puli/discovery.git", + "reference": "1450c75ae9ecbe7491f182cf871e5eaee41dc198" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/puli/discovery/zipball/1450c75ae9ecbe7491f182cf871e5eaee41dc198", + "reference": "1450c75ae9ecbe7491f182cf871e5eaee41dc198", + "shasum": "" + }, + "require": { + "php": ">=5.3.9", + "puli/repository": "^1.0", + "ramsey/uuid": "^2.8", + "webmozart/assert": "^1.0", + "webmozart/expression": "^1.0.0-beta5", + "webmozart/glob": ">=2.0,<4.0" + }, + "require-dev": { + "phpunit/phpunit": "^4.6", + "sebastian/version": "^1.0.1", + "webmozart/key-value-store": "^1.0.0-beta6" + }, + "suggest": { + "webmozart/key-value-store": "to use the KeyValueStoreDiscovery" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0-dev" + } + }, + "autoload": { + "psr-4": { + "Puli\\Discovery\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Bernhard Schussek", + "email": "bschussek@gmail.com" + } + ], + "description": "Publishes and discovers artifacts across Puli packages.", + "homepage": "http://puli.io", + "time": "2015-10-05 10:21:07" + }, + { + "name": "puli/repository", + "version": "1.0.0-beta8", + "source": { + "type": "git", + "url": "https://github.com/puli/repository.git", + "reference": "f7c53212d9a9cca75e5fdfcea27e4dfa10b0521f" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/puli/repository/zipball/f7c53212d9a9cca75e5fdfcea27e4dfa10b0521f", + "reference": "f7c53212d9a9cca75e5fdfcea27e4dfa10b0521f", + "shasum": "" + }, + "require": { + "php": ">=5.3.9", + "webmozart/assert": "^1.0", + "webmozart/glob": "^3.1", + "webmozart/path-util": "^2.2" + }, + "require-dev": { + "phpunit/phpunit": "^4.6", + "sebastian/version": "^1.0.1", + "symfony/filesystem": "^2.0", + "webmozart/key-value-store": "^1.0.0-beta5" + }, + "suggest": { + "symfony/filesystem": "to use the FilesystemRepository", + "webmozart/key-value-store": "to use the path mapping repositories" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.1-dev" + } + }, + "autoload": { + "psr-4": { + "Puli\\Repository\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Bernhard Schussek", + "email": "bschussek@gmail.com" + } + ], + "description": "A filesystem-like repository for storing arbitrary resources.", + "homepage": "http://puli.io", + "time": "2015-10-05 10:10:00" + }, + { + "name": "puli/twig-extension", + "version": "1.0.0-beta7", + "source": { + "type": "git", + "url": "https://github.com/puli/twig-extension.git", + "reference": "ddc4fef54ab5e2914902ffd523f3304aeb5d8afa" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/puli/twig-extension/zipball/ddc4fef54ab5e2914902ffd523f3304aeb5d8afa", + "reference": "ddc4fef54ab5e2914902ffd523f3304aeb5d8afa", + "shasum": "" + }, + "require": { + "php": ">=5.3.9", + "puli/repository": "^1.0-beta8", + "twig/twig": "^1.20|^2.0", + "webmozart/path-util": "^2.0" + }, + "require-dev": { + "phpunit/phpunit": "^4.6", + "puli/url-generator": "^1.0", + "sebastian/version": "^1.0.1", + "symfony/http-kernel": "^2.3" + }, + "suggest": { + "puli/url-generator": "Enables the resource_url() function" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0-dev" + } + }, + "autoload": { + "psr-4": { + "Puli\\TwigExtension\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Bernhard Schussek", + "email": "bschussek@gmail.com" + } + ], + "description": "A Puli extension for the Twig templating system.", + "homepage": "http://puli.io", + "time": "2015-10-05 11:47:39" + }, + { + "name": "puli/url-generator", + "version": "1.0.0-beta3", + "source": { + "type": "git", + "url": "https://github.com/puli/url-generator.git", + "reference": "64528da1957740d454bfdad5fa662d756cbf785c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/puli/url-generator/zipball/64528da1957740d454bfdad5fa662d756cbf785c", + "reference": "64528da1957740d454bfdad5fa662d756cbf785c", + "shasum": "" + }, + "require": { + "php": ">=5.3.9", + "puli/discovery": "^1.0.0-beta8", + "puli/repository": "^1.0.0-beta8", + "webmozart/glob": ">=2.0,<4.0" + }, + "require-dev": { + "phpunit/phpunit": "^4.6", + "sebastian/version": "^1.0.1" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0-dev" + } + }, + "autoload": { + "psr-4": { + "Puli\\UrlGenerator\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Bernhard Schussek", + "email": "bschussek@gmail.com" + } + ], + "description": "Generates URLs for public Puli resources.", + "homepage": "http://puli.io", + "keywords": [ + "asset", + "public", + "puli", + "resource", + "url" + ], + "time": "2015-10-05 10:25:51" + }, + { + "name": "ramsey/uuid", + "version": "2.8.3", + "source": { + "type": "git", + "url": "https://github.com/ramsey/uuid.git", + "reference": "767a5b5f70cd990c04ef21d8374794d1a02fa9e8" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/ramsey/uuid/zipball/767a5b5f70cd990c04ef21d8374794d1a02fa9e8", + "reference": "767a5b5f70cd990c04ef21d8374794d1a02fa9e8", "shasum": "" }, "require": { "php": ">=5.3.3" }, + "replace": { + "rhumsaa/uuid": "self.version" + }, + "require-dev": { + "doctrine/dbal": ">=2.3", + "jakub-onderka/php-parallel-lint": "^0.9.0", + "moontoast/math": "~1.1", + "phpunit/phpunit": "~4.1", + "satooshi/php-coveralls": "~0.6", + "squizlabs/php_codesniffer": "^2.3", + "symfony/console": "~2.3" + }, + "suggest": { + "doctrine/dbal": "Allow the use of a UUID as doctrine field type.", + "moontoast/math": "Support for converting UUID to 128-bit integer (in string form).", + "symfony/console": "Support for use of the bin/uuid command line tool." + }, + "bin": [ + "bin/uuid" + ], + "type": "library", + "autoload": { + "psr-4": { + "Rhumsaa\\Uuid\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Marijn Huizendveld", + "email": "marijn.huizendveld@gmail.com" + }, + { + "name": "Ben Ramsey", + "homepage": "http://benramsey.com" + } + ], + "description": "A PHP 5.3+ library for generating RFC 4122 version 1, 3, 4, and 5 universally unique identifiers (UUID).", + "homepage": "https://github.com/ramsey/uuid", + "keywords": [ + "guid", + "identifier", + "uuid" + ], + "time": "2015-08-31 13:34:50" + }, + { + "name": "stratify/error-handler-module", + "version": "0.1.0", + "source": { + "type": "git", + "url": "https://github.com/stratifyphp/error-handler-module.git", + "reference": "65731e262f835d300e99487946d1a348763239d1" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/stratifyphp/error-handler-module/zipball/65731e262f835d300e99487946d1a348763239d1", + "reference": "65731e262f835d300e99487946d1a348763239d1", + "shasum": "" + }, + "require": { + "filp/whoops": "^1.1", + "php-di/php-di": "^5.0", + "psr/http-message": "^1.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Stratify\\ErrorHandlerModule\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "time": "2015-09-09 07:56:46" + }, + { + "name": "stratify/framework", + "version": "0.1.3", + "source": { + "type": "git", + "url": "https://github.com/stratifyphp/framework.git", + "reference": "ea6099677e67c08e31835bfd3488418484586de1" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/stratifyphp/framework/zipball/ea6099677e67c08e31835bfd3488418484586de1", + "reference": "ea6099677e67c08e31835bfd3488418484586de1", + "shasum": "" + }, + "require": { + "php-di/php-di": "^5.0", + "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/http": "~0.1.0", + "stratify/router": "~0.1.0" + }, + "require-dev": { + "phpunit/phpunit": "^5.0@dev", + "symfony/filesystem": "*" + }, + "type": "library", + "autoload": { + "psr-4": { + "Stratify\\Framework\\": "src" + }, + "files": [ + "src/functions.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "time": "2015-10-30 23:05:14" + }, + { + "name": "stratify/http", + "version": "0.1.0", + "source": { + "type": "git", + "url": "https://github.com/stratifyphp/http.git", + "reference": "4358876b42c04f4682d90114a687b9e11fa68f51" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/stratifyphp/http/zipball/4358876b42c04f4682d90114a687b9e11fa68f51", + "reference": "4358876b42c04f4682d90114a687b9e11fa68f51", + "shasum": "" + }, + "require": { + "zendframework/zend-diactoros": "^1.1" + }, + "require-dev": { + "phpunit/phpunit": "^5.0@dev" + }, + "type": "library", + "autoload": { + "psr-4": { + "Stratify\\Http\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "time": "2015-09-01 16:44:29" + }, + { + "name": "stratify/router", + "version": "0.1.1", + "source": { + "type": "git", + "url": "https://github.com/stratifyphp/router.git", + "reference": "bae8ffbd46c92dc43e2682ac5aad789b226b76d2" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/stratifyphp/router/zipball/bae8ffbd46c92dc43e2682ac5aad789b226b76d2", + "reference": "bae8ffbd46c92dc43e2682ac5aad789b226b76d2", + "shasum": "" + }, + "require": { + "aura/router": "^3.0@beta", + "psr/http-message": "^1.0", + "stratify/http": "~0.1.0" + }, + "require-dev": { + "phpunit/phpunit": "^5.0@dev" + }, + "type": "library", + "autoload": { + "psr-4": { + "Stratify\\Router\\": "src/" + }, + "files": [ + "src/functions.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "time": "2015-09-10 11:32:06" + }, + { + "name": "stratify/twig-module", + "version": "0.1.1", + "source": { + "type": "git", + "url": "https://github.com/stratifyphp/twig-module.git", + "reference": "5648ab9255e9a9f4b3aec1cbb4d56dd96b21164a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/stratifyphp/twig-module/zipball/5648ab9255e9a9f4b3aec1cbb4d56dd96b21164a", + "reference": "5648ab9255e9a9f4b3aec1cbb4d56dd96b21164a", + "shasum": "" + }, + "require": { + "php-di/php-di": "^5.0", + "puli/repository": "^1.0", + "puli/twig-extension": "^1.0", + "puli/url-generator": "^1.0", + "stratify/router": "~0.1.0", + "twig/twig": "^1.21" + }, + "require-dev": { + "phpunit/phpunit": "^5.0@dev" + }, + "type": "library", + "autoload": { + "psr-4": { + "Stratify\\TwigModule\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "time": "2015-09-10 11:33:43" + }, + { + "name": "symfony/console", + "version": "v2.7.6", + "source": { + "type": "git", + "url": "https://github.com/symfony/console.git", + "reference": "5efd632294c8320ea52492db22292ff853a43766" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/console/zipball/5efd632294c8320ea52492db22292ff853a43766", + "reference": "5efd632294c8320ea52492db22292ff853a43766", + "shasum": "" + }, + "require": { + "php": ">=5.3.9" + }, "require-dev": { "psr/log": "~1.0", "symfony/event-dispatcher": "~2.1", @@ -884,11 +1475,11 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "2.6-dev" + "dev-master": "2.7-dev" } }, "autoload": { - "psr-0": { + "psr-4": { "Symfony\\Component\\Console\\": "" } }, @@ -897,36 +1488,35 @@ "MIT" ], "authors": [ - { - "name": "Symfony Community", - "homepage": "http://symfony.com/contributors" - }, { "name": "Fabien Potencier", "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" } ], "description": "Symfony Console Component", - "homepage": "http://symfony.com", - "time": "2015-01-06 17:50:02" + "homepage": "https://symfony.com", + "time": "2015-10-20 14:38:46" }, { "name": "symfony/event-dispatcher", - "version": "v2.6.3", - "target-dir": "Symfony/Component/EventDispatcher", + "version": "v2.7.6", "source": { "type": "git", - "url": "https://github.com/symfony/EventDispatcher.git", - "reference": "40ff70cadea3785d83cac1c8309514b36113064e" + "url": "https://github.com/symfony/event-dispatcher.git", + "reference": "87a5db5ea887763fa3a31a5471b512ff1596d9b8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/EventDispatcher/zipball/40ff70cadea3785d83cac1c8309514b36113064e", - "reference": "40ff70cadea3785d83cac1c8309514b36113064e", + "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/87a5db5ea887763fa3a31a5471b512ff1596d9b8", + "reference": "87a5db5ea887763fa3a31a5471b512ff1596d9b8", "shasum": "" }, "require": { - "php": ">=5.3.3" + "php": ">=5.3.9" }, "require-dev": { "psr/log": "~1.0", @@ -942,11 +1532,11 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "2.6-dev" + "dev-master": "2.7-dev" } }, "autoload": { - "psr-0": { + "psr-4": { "Symfony\\Component\\EventDispatcher\\": "" } }, @@ -955,45 +1545,44 @@ "MIT" ], "authors": [ - { - "name": "Symfony Community", - "homepage": "http://symfony.com/contributors" - }, { "name": "Fabien Potencier", "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" } ], "description": "Symfony EventDispatcher Component", - "homepage": "http://symfony.com", - "time": "2015-01-05 14:28:40" + "homepage": "https://symfony.com", + "time": "2015-10-11 09:39:48" }, { "name": "symfony/filesystem", - "version": "v2.6.3", - "target-dir": "Symfony/Component/Filesystem", + "version": "v2.7.6", "source": { "type": "git", - "url": "https://github.com/symfony/Filesystem.git", - "reference": "a1f566d1f92e142fa1593f4555d6d89e3044a9b7" + "url": "https://github.com/symfony/filesystem.git", + "reference": "56fd6df73be859323ff97418d97edc1d756df6df" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/Filesystem/zipball/a1f566d1f92e142fa1593f4555d6d89e3044a9b7", - "reference": "a1f566d1f92e142fa1593f4555d6d89e3044a9b7", + "url": "https://api.github.com/repos/symfony/filesystem/zipball/56fd6df73be859323ff97418d97edc1d756df6df", + "reference": "56fd6df73be859323ff97418d97edc1d756df6df", "shasum": "" }, "require": { - "php": ">=5.3.3" + "php": ">=5.3.9" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.6-dev" + "dev-master": "2.7-dev" } }, "autoload": { - "psr-0": { + "psr-4": { "Symfony\\Component\\Filesystem\\": "" } }, @@ -1002,45 +1591,44 @@ "MIT" ], "authors": [ - { - "name": "Symfony Community", - "homepage": "http://symfony.com/contributors" - }, { "name": "Fabien Potencier", "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" } ], "description": "Symfony Filesystem Component", - "homepage": "http://symfony.com", - "time": "2015-01-03 21:13:09" + "homepage": "https://symfony.com", + "time": "2015-10-18 20:23:18" }, { "name": "symfony/finder", - "version": "v2.6.3", - "target-dir": "Symfony/Component/Finder", + "version": "v2.7.6", "source": { "type": "git", - "url": "https://github.com/symfony/Finder.git", - "reference": "16513333bca64186c01609961a2bb1b95b5e1355" + "url": "https://github.com/symfony/finder.git", + "reference": "2ffb4e9598db3c48eb6d0ae73b04bbf09280c59d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/Finder/zipball/16513333bca64186c01609961a2bb1b95b5e1355", - "reference": "16513333bca64186c01609961a2bb1b95b5e1355", + "url": "https://api.github.com/repos/symfony/finder/zipball/2ffb4e9598db3c48eb6d0ae73b04bbf09280c59d", + "reference": "2ffb4e9598db3c48eb6d0ae73b04bbf09280c59d", "shasum": "" }, "require": { - "php": ">=5.3.3" + "php": ">=5.3.9" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.6-dev" + "dev-master": "2.7-dev" } }, "autoload": { - "psr-0": { + "psr-4": { "Symfony\\Component\\Finder\\": "" } }, @@ -1049,40 +1637,90 @@ "MIT" ], "authors": [ - { - "name": "Symfony Community", - "homepage": "http://symfony.com/contributors" - }, { "name": "Fabien Potencier", "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" } ], "description": "Symfony Finder Component", - "homepage": "http://symfony.com", - "time": "2015-01-03 08:01:59" + "homepage": "https://symfony.com", + "time": "2015-10-11 09:39:48" }, { - "name": "twig/twig", - "version": "v1.16.3", + "name": "symfony/process", + "version": "v2.7.6", "source": { "type": "git", - "url": "https://github.com/twigphp/Twig.git", - "reference": "6dc11a1e8ecfc30e2c68aaeb218148409d8e68af" + "url": "https://github.com/symfony/process.git", + "reference": "4a959dd4e19c2c5d7512689413921e0a74386ec7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/twigphp/Twig/zipball/6dc11a1e8ecfc30e2c68aaeb218148409d8e68af", - "reference": "6dc11a1e8ecfc30e2c68aaeb218148409d8e68af", + "url": "https://api.github.com/repos/symfony/process/zipball/4a959dd4e19c2c5d7512689413921e0a74386ec7", + "reference": "4a959dd4e19c2c5d7512689413921e0a74386ec7", "shasum": "" }, "require": { - "php": ">=5.2.4" + "php": ">=5.3.9" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.16-dev" + "dev-master": "2.7-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Component\\Process\\": "" + } + }, + "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 Process Component", + "homepage": "https://symfony.com", + "time": "2015-10-23 14:47:27" + }, + { + "name": "twig/twig", + "version": "v1.23.0", + "source": { + "type": "git", + "url": "https://github.com/twigphp/Twig.git", + "reference": "5868cd822fd6cf626d5f805439575f9c323cee2a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/twigphp/Twig/zipball/5868cd822fd6cf626d5f805439575f9c323cee2a", + "reference": "5868cd822fd6cf626d5f805439575f9c323cee2a", + "shasum": "" + }, + "require": { + "php": ">=5.2.7" + }, + "require-dev": { + "symfony/debug": "~2.7", + "symfony/phpunit-bridge": "~2.7" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.23-dev" } }, "autoload": { @@ -1117,834 +1755,27 @@ "keywords": [ "templating" ], - "time": "2014-12-25 19:58:19" + "time": "2015-10-29 23:29:01" }, { - "name": "zendframework/zend-code", - "version": "2.3.3", - "target-dir": "Zend/Code", - "source": { - "type": "git", - "url": "https://github.com/zendframework/Component_ZendCode.git", - "reference": "78ea301533dd05f1c1759e8928d119804900446b" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/zendframework/Component_ZendCode/zipball/78ea301533dd05f1c1759e8928d119804900446b", - "reference": "78ea301533dd05f1c1759e8928d119804900446b", - "shasum": "" - }, - "require": { - "php": ">=5.3.23", - "zendframework/zend-eventmanager": "self.version" - }, - "require-dev": { - "doctrine/common": ">=2.1", - "zendframework/zend-stdlib": "self.version" - }, - "suggest": { - "doctrine/common": "Doctrine\\Common >=2.1 for annotation features", - "zendframework/zend-stdlib": "Zend\\Stdlib component" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.3-dev", - "dev-develop": "2.4-dev" - } - }, - "autoload": { - "psr-0": { - "Zend\\Code\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "description": "provides facilities to generate arbitrary code using an object oriented interface", - "homepage": "https://github.com/zendframework/zf2", - "keywords": [ - "code", - "zf2" - ], - "time": "2014-09-16 22:58:11" - }, - { - "name": "zendframework/zend-eventmanager", - "version": "2.3.3", - "target-dir": "Zend/EventManager", - "source": { - "type": "git", - "url": "https://github.com/zendframework/Component_ZendEventManager.git", - "reference": "4110fe64b10616b9bb71429a206d8e9e6d99e3ba" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/zendframework/Component_ZendEventManager/zipball/4110fe64b10616b9bb71429a206d8e9e6d99e3ba", - "reference": "4110fe64b10616b9bb71429a206d8e9e6d99e3ba", - "shasum": "" - }, - "require": { - "php": ">=5.3.23", - "zendframework/zend-stdlib": "self.version" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.3-dev", - "dev-develop": "2.4-dev" - } - }, - "autoload": { - "psr-0": { - "Zend\\EventManager\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "homepage": "https://github.com/zendframework/zf2", - "keywords": [ - "eventmanager", - "zf2" - ], - "time": "2014-09-16 22:58:11" - }, - { - "name": "zendframework/zend-stdlib", - "version": "2.3.3", - "target-dir": "Zend/Stdlib", - "source": { - "type": "git", - "url": "https://github.com/zendframework/Component_ZendStdlib.git", - "reference": "fa33e6647f830d0d2a1cb451efcdfe1bb9a66c33" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/zendframework/Component_ZendStdlib/zipball/fa33e6647f830d0d2a1cb451efcdfe1bb9a66c33", - "reference": "fa33e6647f830d0d2a1cb451efcdfe1bb9a66c33", - "shasum": "" - }, - "require": { - "php": ">=5.3.23" - }, - "require-dev": { - "zendframework/zend-eventmanager": "self.version", - "zendframework/zend-serializer": "self.version", - "zendframework/zend-servicemanager": "self.version" - }, - "suggest": { - "zendframework/zend-eventmanager": "To support aggregate hydrator usage", - "zendframework/zend-serializer": "Zend\\Serializer component", - "zendframework/zend-servicemanager": "To support hydrator plugin manager usage" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.3-dev", - "dev-develop": "2.4-dev" - } - }, - "autoload": { - "psr-0": { - "Zend\\Stdlib\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "homepage": "https://github.com/zendframework/zf2", - "keywords": [ - "stdlib", - "zf2" - ], - "time": "2014-09-16 22:58:11" - } - ], - "packages-dev": [ - { - "name": "doctrine/instantiator", - "version": "1.0.4", - "source": { - "type": "git", - "url": "https://github.com/doctrine/instantiator.git", - "reference": "f976e5de371104877ebc89bd8fecb0019ed9c119" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/doctrine/instantiator/zipball/f976e5de371104877ebc89bd8fecb0019ed9c119", - "reference": "f976e5de371104877ebc89bd8fecb0019ed9c119", - "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.*@ALPHA" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0.x-dev" - } - }, - "autoload": { - "psr-0": { - "Doctrine\\Instantiator\\": "src" - } - }, - "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": "2014-10-13 12:58:55" - }, - { - "name": "phpunit/php-code-coverage", - "version": "2.0.14", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "ca158276c1200cc27f5409a5e338486bc0b4fc94" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/ca158276c1200cc27f5409a5e338486bc0b4fc94", - "reference": "ca158276c1200cc27f5409a5e338486bc0b4fc94", - "shasum": "" - }, - "require": { - "php": ">=5.3.3", - "phpunit/php-file-iterator": "~1.3", - "phpunit/php-text-template": "~1.2", - "phpunit/php-token-stream": "~1.3", - "sebastian/environment": "~1.0", - "sebastian/version": "~1.0" - }, - "require-dev": { - "ext-xdebug": ">=2.1.4", - "phpunit/phpunit": "~4.1" - }, - "suggest": { - "ext-dom": "*", - "ext-xdebug": ">=2.2.1", - "ext-xmlwriter": "*" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.0.x-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "include-path": [ - "" - ], - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sb@sebastian-bergmann.de", - "role": "lead" - } - ], - "description": "Library that provides collection, processing, and rendering functionality for PHP code coverage information.", - "homepage": "https://github.com/sebastianbergmann/php-code-coverage", - "keywords": [ - "coverage", - "testing", - "xunit" - ], - "time": "2014-12-26 13:28:33" - }, - { - "name": "phpunit/php-file-iterator", - "version": "1.3.4", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/php-file-iterator.git", - "reference": "acd690379117b042d1c8af1fafd61bde001bf6bb" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/acd690379117b042d1c8af1fafd61bde001bf6bb", - "reference": "acd690379117b042d1c8af1fafd61bde001bf6bb", - "shasum": "" - }, - "require": { - "php": ">=5.3.3" - }, - "type": "library", - "autoload": { - "classmap": [ - "File/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "include-path": [ - "" - ], - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sb@sebastian-bergmann.de", - "role": "lead" - } - ], - "description": "FilterIterator implementation that filters files based on a list of suffixes.", - "homepage": "https://github.com/sebastianbergmann/php-file-iterator/", - "keywords": [ - "filesystem", - "iterator" - ], - "time": "2013-10-10 15:34:57" - }, - { - "name": "phpunit/php-text-template", - "version": "1.2.0", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/php-text-template.git", - "reference": "206dfefc0ffe9cebf65c413e3d0e809c82fbf00a" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/206dfefc0ffe9cebf65c413e3d0e809c82fbf00a", - "reference": "206dfefc0ffe9cebf65c413e3d0e809c82fbf00a", - "shasum": "" - }, - "require": { - "php": ">=5.3.3" - }, - "type": "library", - "autoload": { - "classmap": [ - "Text/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "include-path": [ - "" - ], - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sb@sebastian-bergmann.de", - "role": "lead" - } - ], - "description": "Simple template engine.", - "homepage": "https://github.com/sebastianbergmann/php-text-template/", - "keywords": [ - "template" - ], - "time": "2014-01-30 17:20:04" - }, - { - "name": "phpunit/php-timer", - "version": "1.0.5", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/php-timer.git", - "reference": "19689d4354b295ee3d8c54b4f42c3efb69cbc17c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/19689d4354b295ee3d8c54b4f42c3efb69cbc17c", - "reference": "19689d4354b295ee3d8c54b4f42c3efb69cbc17c", - "shasum": "" - }, - "require": { - "php": ">=5.3.3" - }, - "type": "library", - "autoload": { - "classmap": [ - "PHP/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "include-path": [ - "" - ], - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sb@sebastian-bergmann.de", - "role": "lead" - } - ], - "description": "Utility class for timing", - "homepage": "https://github.com/sebastianbergmann/php-timer/", - "keywords": [ - "timer" - ], - "time": "2013-08-02 07:42:54" - }, - { - "name": "phpunit/php-token-stream", - "version": "1.3.0", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/php-token-stream.git", - "reference": "f8d5d08c56de5cfd592b3340424a81733259a876" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/f8d5d08c56de5cfd592b3340424a81733259a876", - "reference": "f8d5d08c56de5cfd592b3340424a81733259a876", - "shasum": "" - }, - "require": { - "ext-tokenizer": "*", - "php": ">=5.3.3" - }, - "require-dev": { - "phpunit/phpunit": "~4.2" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.3-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - } - ], - "description": "Wrapper around PHP's tokenizer extension.", - "homepage": "https://github.com/sebastianbergmann/php-token-stream/", - "keywords": [ - "tokenizer" - ], - "time": "2014-08-31 06:12:13" - }, - { - "name": "phpunit/phpunit", - "version": "4.4.1", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "6a5e49a86ce5e33b8d0657abe145057fc513543a" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/6a5e49a86ce5e33b8d0657abe145057fc513543a", - "reference": "6a5e49a86ce5e33b8d0657abe145057fc513543a", - "shasum": "" - }, - "require": { - "ext-dom": "*", - "ext-json": "*", - "ext-pcre": "*", - "ext-reflection": "*", - "ext-spl": "*", - "php": ">=5.3.3", - "phpunit/php-code-coverage": "~2.0", - "phpunit/php-file-iterator": "~1.3.2", - "phpunit/php-text-template": "~1.2", - "phpunit/php-timer": "~1.0.2", - "phpunit/phpunit-mock-objects": "~2.3", - "sebastian/comparator": "~1.0", - "sebastian/diff": "~1.1", - "sebastian/environment": "~1.1", - "sebastian/exporter": "~1.0", - "sebastian/global-state": "~1.0", - "sebastian/version": "~1.0", - "symfony/yaml": "~2.0" - }, - "suggest": { - "phpunit/php-invoker": "~1.1" - }, - "bin": [ - "phpunit" - ], - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.4.x-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" - } - ], - "description": "The PHP Unit Testing framework.", - "homepage": "https://phpunit.de/", - "keywords": [ - "phpunit", - "testing", - "xunit" - ], - "time": "2014-12-28 07:57:05" - }, - { - "name": "phpunit/phpunit-mock-objects", - "version": "2.3.0", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/phpunit-mock-objects.git", - "reference": "c63d2367247365f688544f0d500af90a11a44c65" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/c63d2367247365f688544f0d500af90a11a44c65", - "reference": "c63d2367247365f688544f0d500af90a11a44c65", - "shasum": "" - }, - "require": { - "doctrine/instantiator": "~1.0,>=1.0.1", - "php": ">=5.3.3", - "phpunit/php-text-template": "~1.2" - }, - "require-dev": { - "phpunit/phpunit": "~4.3" - }, - "suggest": { - "ext-soap": "*" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.3.x-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sb@sebastian-bergmann.de", - "role": "lead" - } - ], - "description": "Mock Object library for PHPUnit", - "homepage": "https://github.com/sebastianbergmann/phpunit-mock-objects/", - "keywords": [ - "mock", - "xunit" - ], - "time": "2014-10-03 05:12:11" - }, - { - "name": "sebastian/comparator", - "version": "1.1.0", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/comparator.git", - "reference": "c484a80f97573ab934e37826dba0135a3301b26a" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/c484a80f97573ab934e37826dba0135a3301b26a", - "reference": "c484a80f97573ab934e37826dba0135a3301b26a", - "shasum": "" - }, - "require": { - "php": ">=5.3.3", - "sebastian/diff": "~1.1", - "sebastian/exporter": "~1.0" - }, - "require-dev": { - "phpunit/phpunit": "~4.1" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.1.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": "2014-11-16 21:32:38" - }, - { - "name": "sebastian/diff", - "version": "1.2.0", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/diff.git", - "reference": "5843509fed39dee4b356a306401e9dd1a931fec7" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/5843509fed39dee4b356a306401e9dd1a931fec7", - "reference": "5843509fed39dee4b356a306401e9dd1a931fec7", - "shasum": "" - }, - "require": { - "php": ">=5.3.3" - }, - "require-dev": { - "phpunit/phpunit": "~4.2" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.2-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": "http://www.github.com/sebastianbergmann/diff", - "keywords": [ - "diff" - ], - "time": "2014-08-15 10:29:00" - }, - { - "name": "sebastian/environment", - "version": "1.2.1", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/environment.git", - "reference": "6e6c71d918088c251b181ba8b3088af4ac336dd7" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/6e6c71d918088c251b181ba8b3088af4ac336dd7", - "reference": "6e6c71d918088c251b181ba8b3088af4ac336dd7", - "shasum": "" - }, - "require": { - "php": ">=5.3.3" - }, - "require-dev": { - "phpunit/phpunit": "~4.3" - }, - "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": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - } - ], - "description": "Provides functionality to handle HHVM/PHP environments", - "homepage": "http://www.github.com/sebastianbergmann/environment", - "keywords": [ - "Xdebug", - "environment", - "hhvm" - ], - "time": "2014-10-25 08:00:45" - }, - { - "name": "sebastian/exporter", + "name": "webmozart/assert", "version": "1.0.2", "source": { "type": "git", - "url": "https://github.com/sebastianbergmann/exporter.git", - "reference": "c7d59948d6e82818e1bdff7cadb6c34710eb7dc0" + "url": "https://github.com/webmozart/assert.git", + "reference": "30eed06dd6bc88410a4ff7f77b6d22f3ce13dbde" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/c7d59948d6e82818e1bdff7cadb6c34710eb7dc0", - "reference": "c7d59948d6e82818e1bdff7cadb6c34710eb7dc0", + "url": "https://api.github.com/repos/webmozart/assert/zipball/30eed06dd6bc88410a4ff7f77b6d22f3ce13dbde", + "reference": "30eed06dd6bc88410a4ff7f77b6d22f3ce13dbde", "shasum": "" }, "require": { "php": ">=5.3.3" }, "require-dev": { - "phpunit/phpunit": "~4.0" - }, - "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": "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": "2014-09-10 00:51:36" - }, - { - "name": "sebastian/global-state", - "version": "1.0.0", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/global-state.git", - "reference": "c7428acdb62ece0a45e6306f1ae85e1c05b09c01" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/c7428acdb62ece0a45e6306f1ae85e1c05b09c01", - "reference": "c7428acdb62ece0a45e6306f1ae85e1c05b09c01", - "shasum": "" - }, - "require": { - "php": ">=5.3.3" - }, - "require-dev": { - "phpunit/phpunit": "~4.2" - }, - "suggest": { - "ext-uopz": "*" + "phpunit/phpunit": "^4.6" }, "type": "library", "extra": { @@ -1953,89 +1784,8 @@ } }, "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - } - ], - "description": "Snapshotting of global state", - "homepage": "http://www.github.com/sebastianbergmann/global-state", - "keywords": [ - "global state" - ], - "time": "2014-10-06 09:23:50" - }, - { - "name": "sebastian/version", - "version": "1.0.4", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/version.git", - "reference": "a77d9123f8e809db3fbdea15038c27a95da4058b" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/a77d9123f8e809db3fbdea15038c27a95da4058b", - "reference": "a77d9123f8e809db3fbdea15038c27a95da4058b", - "shasum": "" - }, - "type": "library", - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" - } - ], - "description": "Library that helps with managing the version number of Git-hosted PHP projects", - "homepage": "https://github.com/sebastianbergmann/version", - "time": "2014-12-15 14:25:24" - }, - { - "name": "symfony/yaml", - "version": "v2.6.3", - "target-dir": "Symfony/Component/Yaml", - "source": { - "type": "git", - "url": "https://github.com/symfony/Yaml.git", - "reference": "82462a90848a52c2533aa6b598b107d68076b018" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/Yaml/zipball/82462a90848a52c2533aa6b598b107d68076b018", - "reference": "82462a90848a52c2533aa6b598b107d68076b018", - "shasum": "" - }, - "require": { - "php": ">=5.3.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.6-dev" - } - }, - "autoload": { - "psr-0": { - "Symfony\\Component\\Yaml\\": "" + "psr-4": { + "Webmozart\\Assert\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", @@ -2044,28 +1794,277 @@ ], "authors": [ { - "name": "Symfony Community", - "homepage": "http://symfony.com/contributors" - }, - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" + "name": "Bernhard Schussek", + "email": "bschussek@gmail.com" } ], - "description": "Symfony Yaml Component", - "homepage": "http://symfony.com", - "time": "2015-01-03 15:33:07" + "description": "Assertions to validate method input/output with nice error messages.", + "keywords": [ + "assert", + "check", + "validate" + ], + "time": "2015-08-24 13:29:44" + }, + { + "name": "webmozart/expression", + "version": "1.0.0-beta5", + "source": { + "type": "git", + "url": "https://github.com/webmozart/expression.git", + "reference": "d7448660cb52d971683d0eb2e74aab16cab42f9d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/webmozart/expression/zipball/d7448660cb52d971683d0eb2e74aab16cab42f9d", + "reference": "d7448660cb52d971683d0eb2e74aab16cab42f9d", + "shasum": "" + }, + "require": { + "php": ">=5.3.9" + }, + "require-dev": { + "phpunit/phpunit": "^4.6", + "sebastian/version": "^1.0.1" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0-dev" + } + }, + "autoload": { + "psr-4": { + "Webmozart\\Expression\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Bernhard Schussek", + "email": "bschussek@gmail.com" + } + ], + "description": "Formulate expressions and search criteria using PHP objects.", + "keywords": [ + "criteria", + "expression", + "filter", + "formula" + ], + "time": "2015-10-02 13:14:43" + }, + { + "name": "webmozart/glob", + "version": "3.1.1", + "source": { + "type": "git", + "url": "https://github.com/webmozart/glob.git", + "reference": "44fd5671153c550a0b772d8f819bff7d913e646f" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/webmozart/glob/zipball/44fd5671153c550a0b772d8f819bff7d913e646f", + "reference": "44fd5671153c550a0b772d8f819bff7d913e646f", + "shasum": "" + }, + "require": { + "php": ">=5.3.3", + "webmozart/path-util": "^2.2" + }, + "require-dev": { + "phpunit/phpunit": "^4.6", + "symfony/filesystem": "^2.5" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.2-dev" + } + }, + "autoload": { + "psr-4": { + "Webmozart\\Glob\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Bernhard Schussek", + "email": "bschussek@gmail.com" + } + ], + "description": "A PHP implementation of Ant's glob.", + "time": "2015-08-24 13:32:28" + }, + { + "name": "webmozart/key-value-store", + "version": "1.0.0-beta6", + "source": { + "type": "git", + "url": "https://github.com/webmozart/key-value-store.git", + "reference": "cb3a57c0a3ec03b7c86f58048bc6bb714554c8c0" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/webmozart/key-value-store/zipball/cb3a57c0a3ec03b7c86f58048bc6bb714554c8c0", + "reference": "cb3a57c0a3ec03b7c86f58048bc6bb714554c8c0", + "shasum": "" + }, + "require": { + "php": ">=5.3.3", + "webmozart/assert": "~1.0" + }, + "require-dev": { + "basho/riak": "~1.4", + "doctrine/cache": "~1.4", + "doctrine/dbal": "~2.4", + "phpunit/phpunit": "^4.6", + "predis/predis": "~1.0", + "sebastian/version": "^1.0.1", + "symfony/filesystem": "~2.5" + }, + "suggest": { + "basho/riak": "To enable the RiakStore", + "doctrine/cache": "To enable the CachedStore", + "doctrine/dbal": "To enable the DbalStore", + "predis/predis": "To enable the PredisStore" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0-dev" + } + }, + "autoload": { + "psr-4": { + "Webmozart\\KeyValueStore\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Bernhard Schussek", + "email": "bschussek@gmail.com" + } + ], + "description": "A key-value store API with implementations for different backends.", + "time": "2015-10-02 13:30:40" + }, + { + "name": "webmozart/path-util", + "version": "2.2.3", + "source": { + "type": "git", + "url": "https://github.com/webmozart/path-util.git", + "reference": "e5ac8b8a0ceaf7b36bff257be21780332880284d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/webmozart/path-util/zipball/e5ac8b8a0ceaf7b36bff257be21780332880284d", + "reference": "e5ac8b8a0ceaf7b36bff257be21780332880284d", + "shasum": "" + }, + "require": { + "php": ">=5.3.3", + "webmozart/assert": "~1.0" + }, + "require-dev": { + "phpunit/phpunit": "^4.6", + "sebastian/version": "^1.0.1" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.3-dev" + } + }, + "autoload": { + "psr-4": { + "Webmozart\\PathUtil\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Bernhard Schussek", + "email": "bschussek@gmail.com" + } + ], + "description": "A robust cross-platform utility for normalizing, comparing and modifying file paths.", + "time": "2015-10-05 10:49:32" + }, + { + "name": "zendframework/zend-diactoros", + "version": "1.1.4", + "source": { + "type": "git", + "url": "https://github.com/zendframework/zend-diactoros.git", + "reference": "3f0ce6c0ba2106e018fb514a9f09dbb91eb6bfd0" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/zendframework/zend-diactoros/zipball/3f0ce6c0ba2106e018fb514a9f09dbb91eb6bfd0", + "reference": "3f0ce6c0ba2106e018fb514a9f09dbb91eb6bfd0", + "shasum": "" + }, + "require": { + "php": ">=5.4", + "psr/http-message": "~1.0" + }, + "provide": { + "psr/http-message-implementation": "~1.0.0" + }, + "require-dev": { + "phpunit/phpunit": "~4.6", + "squizlabs/php_codesniffer": "^2.3.1" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0-dev", + "dev-develop": "1.1-dev" + } + }, + "autoload": { + "psr-4": { + "Zend\\Diactoros\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-2-Clause" + ], + "description": "PSR HTTP Message implementations", + "homepage": "https://github.com/zendframework/zend-diactoros", + "keywords": [ + "http", + "psr", + "psr-7" + ], + "time": "2015-10-16 15:24:05" } ], + "packages-dev": [], "aliases": [], - "minimum-stability": "dev", - "stability-flags": { - "mnapoli/php-di": 20 - }, + "minimum-stability": "beta", + "stability-flags": [], "prefer-stable": true, "prefer-lowest": false, "platform": { - "php": ">=5.6", + "php": ">=7.0", "ext-gd": "*" }, "platform-dev": [] diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..59e76e7 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,8 @@ +app: + image: mnapoli/php7-cli + ports: + - "8080:8000" + volumes: + - .:/app + working_dir: /app + command: "php -S 0.0.0.0:8000 -t web" diff --git a/puli.json b/puli.json new file mode 100644 index 0000000..a6e39e5 --- /dev/null +++ b/puli.json @@ -0,0 +1,172 @@ +{ + "version": "1.0", + "name": "mnapoli/maintained", + "path-mappings": { + "/app": "res" + }, + "config": { + "bootstrap-file": "vendor/autoload.php" + }, + "packages": { + "aura/router": { + "install-path": "vendor/aura/router", + "installer": "composer" + }, + "badges/poser": { + "install-path": "vendor/badges/poser", + "installer": "composer" + }, + "container-interop/container-interop": { + "install-path": "vendor/container-interop/container-interop", + "installer": "composer" + }, + "doctrine/annotations": { + "install-path": "vendor/doctrine/annotations", + "installer": "composer" + }, + "doctrine/cache": { + "install-path": "vendor/doctrine/cache", + "installer": "composer" + }, + "doctrine/lexer": { + "install-path": "vendor/doctrine/lexer", + "installer": "composer" + }, + "filp/whoops": { + "install-path": "vendor/filp/whoops", + "installer": "composer" + }, + "guzzle/guzzle": { + "install-path": "vendor/guzzle/guzzle", + "installer": "composer" + }, + "knplabs/github-api": { + "install-path": "vendor/knplabs/github-api", + "installer": "composer" + }, + "mnapoli/blackbox": { + "install-path": "vendor/mnapoli/blackbox", + "installer": "composer" + }, + "mnapoli/piwik-twig-extension": { + "install-path": "vendor/mnapoli/piwik-twig-extension", + "installer": "composer" + }, + "monolog/monolog": { + "install-path": "vendor/monolog/monolog", + "installer": "composer" + }, + "php-di/invoker": { + "install-path": "vendor/php-di/invoker", + "installer": "composer" + }, + "php-di/php-di": { + "install-path": "vendor/php-di/php-di", + "installer": "composer" + }, + "php-di/phpdoc-reader": { + "install-path": "vendor/php-di/phpdoc-reader", + "installer": "composer" + }, + "psr/http-message": { + "install-path": "vendor/psr/http-message", + "installer": "composer" + }, + "psr/log": { + "install-path": "vendor/psr/log", + "installer": "composer" + }, + "puli/composer-plugin": { + "install-path": "vendor/puli/composer-plugin", + "installer": "composer" + }, + "puli/discovery": { + "install-path": "vendor/puli/discovery", + "installer": "composer" + }, + "puli/repository": { + "install-path": "vendor/puli/repository", + "installer": "composer" + }, + "puli/twig-extension": { + "install-path": "vendor/puli/twig-extension", + "installer": "composer" + }, + "puli/url-generator": { + "install-path": "vendor/puli/url-generator", + "installer": "composer" + }, + "ramsey/uuid": { + "install-path": "vendor/ramsey/uuid", + "installer": "composer" + }, + "stratify/error-handler-module": { + "install-path": "vendor/stratify/error-handler-module", + "installer": "composer" + }, + "stratify/framework": { + "install-path": "vendor/stratify/framework", + "installer": "composer" + }, + "stratify/http": { + "install-path": "vendor/stratify/http", + "installer": "composer" + }, + "stratify/router": { + "install-path": "vendor/stratify/router", + "installer": "composer" + }, + "stratify/twig-module": { + "install-path": "vendor/stratify/twig-module", + "installer": "composer" + }, + "symfony/console": { + "install-path": "vendor/symfony/console", + "installer": "composer" + }, + "symfony/event-dispatcher": { + "install-path": "vendor/symfony/event-dispatcher", + "installer": "composer" + }, + "symfony/filesystem": { + "install-path": "vendor/symfony/filesystem", + "installer": "composer" + }, + "symfony/finder": { + "install-path": "vendor/symfony/finder", + "installer": "composer" + }, + "symfony/process": { + "install-path": "vendor/symfony/process", + "installer": "composer" + }, + "twig/twig": { + "install-path": "vendor/twig/twig", + "installer": "composer" + }, + "webmozart/assert": { + "install-path": "vendor/webmozart/assert", + "installer": "composer" + }, + "webmozart/expression": { + "install-path": "vendor/webmozart/expression", + "installer": "composer" + }, + "webmozart/glob": { + "install-path": "vendor/webmozart/glob", + "installer": "composer" + }, + "webmozart/key-value-store": { + "install-path": "vendor/webmozart/key-value-store", + "installer": "composer" + }, + "webmozart/path-util": { + "install-path": "vendor/webmozart/path-util", + "installer": "composer" + }, + "zendframework/zend-diactoros": { + "install-path": "vendor/zendframework/zend-diactoros", + "installer": "composer" + } + } +} diff --git a/app/config/config.libraries.php b/res/config/config.libraries.php similarity index 59% rename from app/config/config.libraries.php rename to res/config/config.libraries.php index f5fc53f..e154320 100644 --- a/app/config/config.libraries.php +++ b/res/config/config.libraries.php @@ -1,7 +1,5 @@ link(Container::class), - - // Routing - Router::class => factory(function (ContainerInterface $c) { - $router = (new RouterFactory())->newInstance(); - - // Add the routes from the array config (Aura router doesn't seem to accept routes as array) - $routes = $c->get('routes'); - foreach ($routes as $routeName => $route) { - $router->add($routeName, $route['pattern']) - ->addValues(['controller' => $route['controller']]); - } - - return $router; - }), - // Logger - LoggerInterface::class => factory(function (ContainerInterface $c) { + LoggerInterface::class => function (ContainerInterface $c) { $logger = new Logger('main'); $file = $c->get('directory.logs') . '/app.log'; $logger->pushHandler(new StreamHandler($file, Logger::WARNING)); return $logger; - }), + }, // Badge generator Poser::class => object() - ->constructor(link(SvgFlatRender::class)), + ->constructor(get(SvgFlatRender::class)), // Twig - Twig_Environment::class => factory(function (ContainerInterface $c) { - $loader = new Twig_Loader_Filesystem(__DIR__ . '/../../src/Maintained/Application/View'); - $twig = new Twig_Environment($loader); - - $twig->addExtension($c->get(TwigExtension::class)); - $twig->addExtension($c->get(PiwikTwigExtension::class)); - - return $twig; - }), + 'twig.extensions' => add([ + get(TwigExtension::class), + get(PiwikTwigExtension::class), + ]), PiwikTwigExtension::class => object() - ->constructor(link('piwik.host'), link('piwik.site_id'), link('piwik.enabled')), + ->constructor(get('piwik.host'), get('piwik.site_id'), get('piwik.enabled')), // Cache - Cache::class => factory(function (ContainerInterface $c) { + Cache::class => function (ContainerInterface $c) { $cache = new FilesystemCache($c->get('directory.cache') . '/app'); $cache->setNamespace('Maintained'); return $cache; - }), + }, - 'storage.repositories' => factory(function (ContainerInterface $c) { + 'storage.repositories' => function (ContainerInterface $c) { $backend = new StorageWithTransformers( new FileStorage($c->get('directory.data') . '/repositories.json') ); @@ -89,17 +66,17 @@ return [ ); $storage->addTransformer(new ObjectArrayMapper(Repository::class)); return $storage; - }), - 'storage.statistics' => factory(function (ContainerInterface $c) { + }, + 'storage.statistics' => function (ContainerInterface $c) { $storage = new MapWithTransformers( new MultipleFileStorage($c->get('directory.data') . '/statistics') ); $storage->addTransformer(new PhpSerializeEncoder); return $storage; - }), + }, // GitHub API - Client::class => factory(function (ContainerInterface $c) { + Client::class => function (ContainerInterface $c) { $cacheDirectory = $c->get('directory.cache') . '/github'; $client = new Client( @@ -112,6 +89,6 @@ return [ } return $client; - }), + }, ]; diff --git a/res/config/config.php b/res/config/config.php new file mode 100644 index 0000000..ccfb5e3 --- /dev/null +++ b/res/config/config.php @@ -0,0 +1,63 @@ + 'http://isitmaintained.com', + 'maintenance' => false, + + 'directory.cache' => __DIR__ . '/../../var/cache', + 'directory.data' => __DIR__ . '/../../var/data', + 'directory.logs' => __DIR__ . '/../../var/logs', + + // Piwik tracking + 'piwik.enabled' => false, + 'piwik.host' => null, + 'piwik.site_id' => null, + + // GitHub API + 'github.auth_token' => null, + + StatisticsProvider::class => get(CachedStatisticsProvider::class), + CachedStatisticsProvider::class => object() + ->constructorParameter('cache', get('storage.statistics')) + ->constructorParameter('wrapped', get(StatisticsProviderLogger::class)), + StatisticsProviderLogger::class => object() + ->constructorParameter('wrapped', get(StatisticsComputer::class)) + ->constructorParameter('repositoryStorage', get('storage.repositories')), + + // CLI commands + ClearCacheCommand::class => object() + ->constructorParameter('cacheDirectory', get('directory.cache')) + ->constructorParameter('dataDirectory', get('directory.data')), + ShowStatisticsCommand::class => object(), + WarmupCacheCommand::class => object() + ->constructorParameter('repositoryStorage', get('storage.repositories')), + UpdateStatisticsCommand::class => object() + ->constructorParameter('repositoryStorage', get('storage.repositories')) + ->constructorParameter('statisticsCache', get('storage.statistics')), + + // Middlewares + MaintenanceMiddleware::class => object() + ->constructorParameter('enabled', get('maintenance')), + +]; + +return array_merge( + $config, + require __DIR__ . '/config.libraries.php', + require __DIR__ . '/parameters.php' +); diff --git a/app/config/parameters.php.dist b/res/config/parameters.php.dist similarity index 100% rename from app/config/parameters.php.dist rename to res/config/parameters.php.dist diff --git a/src/Maintained/Application/View/404.twig b/res/views/404.twig similarity index 100% rename from src/Maintained/Application/View/404.twig rename to res/views/404.twig diff --git a/src/Maintained/Application/View/github-limit.twig b/res/views/github-limit.twig similarity index 100% rename from src/Maintained/Application/View/github-limit.twig rename to res/views/github-limit.twig diff --git a/src/Maintained/Application/View/home.twig b/res/views/home.twig similarity index 100% rename from src/Maintained/Application/View/home.twig rename to res/views/home.twig diff --git a/src/Maintained/Application/View/layout.twig b/res/views/layout.twig similarity index 100% rename from src/Maintained/Application/View/layout.twig rename to res/views/layout.twig diff --git a/src/Maintained/Application/View/maintenance.twig b/res/views/maintenance.twig similarity index 100% rename from src/Maintained/Application/View/maintenance.twig rename to res/views/maintenance.twig diff --git a/src/Maintained/Application/View/not-found.twig b/res/views/not-found.twig similarity index 100% rename from src/Maintained/Application/View/not-found.twig rename to res/views/not-found.twig diff --git a/src/Maintained/Application/View/project-check.twig b/res/views/project-check.twig similarity index 100% rename from src/Maintained/Application/View/project-check.twig rename to res/views/project-check.twig diff --git a/src/Maintained/Application/View/project.twig b/res/views/project.twig similarity index 100% rename from src/Maintained/Application/View/project.twig rename to res/views/project.twig diff --git a/src/Maintained/Application/Controller/BadgeController.php b/src/Maintained/Application/Controller/BadgeController.php index 4d89cdd..b693f4a 100644 --- a/src/Maintained/Application/Controller/BadgeController.php +++ b/src/Maintained/Application/Controller/BadgeController.php @@ -8,6 +8,7 @@ use Maintained\Statistics\Statistics; use Maintained\Statistics\StatisticsProvider; use PUGX\Poser\Image; use PUGX\Poser\Poser; +use Zend\Diactoros\Response; /** * @author Matthieu Napoli @@ -55,11 +56,14 @@ class BadgeController } } - // Cache the badge for 1 day - header('Cache-Control: max-age=86400'); - header('Content-type: image/svg+xml'); + $response = new Response(); + $response->getBody()->write($badge); - echo $badge; + // Cache the badge for 1 day + $response = $response->withHeader('Cache-Control', 'max-age=86400'); + $response = $response->withHeader('Content-type', 'image/svg+xml'); + + return $response; } /** diff --git a/src/Maintained/Application/Controller/Error404Controller.php b/src/Maintained/Application/Controller/Error404Controller.php deleted file mode 100644 index 73b9ab2..0000000 --- a/src/Maintained/Application/Controller/Error404Controller.php +++ /dev/null @@ -1,17 +0,0 @@ - - */ -class Error404Controller -{ - public function __invoke(Twig_Environment $twig) - { - header('HTTP/1.0 404 Not Found'); - echo $twig->render('404.twig'); - } -} diff --git a/src/Maintained/Application/Controller/HomeController.php b/src/Maintained/Application/Controller/HomeController.php index d9553e4..5288e83 100644 --- a/src/Maintained/Application/Controller/HomeController.php +++ b/src/Maintained/Application/Controller/HomeController.php @@ -4,6 +4,8 @@ namespace Maintained\Application\Controller; use BlackBox\MapStorage; use DI\Annotation\Inject; +use Psr\Http\Message\ResponseInterface; +use Psr\Http\Message\ServerRequestInterface; use Twig_Environment; /** @@ -45,7 +47,7 @@ class HomeController 'robbyrussell/oh-my-zsh' => 'Oh My Zsh', ]; - echo $this->twig->render('home.twig', [ + return $this->twig->render('/app/views/home.twig', [ 'latestRepositories' => $latestRepositories, 'showcase' => $showcase, ]); diff --git a/src/Maintained/Application/Controller/MaintenanceController.php b/src/Maintained/Application/Controller/MaintenanceController.php deleted file mode 100644 index 7f32d24..0000000 --- a/src/Maintained/Application/Controller/MaintenanceController.php +++ /dev/null @@ -1,17 +0,0 @@ - - */ -class MaintenanceController -{ - public function __invoke(Twig_Environment $twig) - { - header('HTTP/1.0 503 Service Unavailable'); - echo $twig->render('maintenance.twig'); - } -} diff --git a/src/Maintained/Application/Controller/ProjectCheckController.php b/src/Maintained/Application/Controller/ProjectCheckController.php index b376720..516bcc9 100644 --- a/src/Maintained/Application/Controller/ProjectCheckController.php +++ b/src/Maintained/Application/Controller/ProjectCheckController.php @@ -35,7 +35,7 @@ class ProjectCheckController // Silence exception: the error will show on the badges } - echo $this->twig->render('project-check.twig', [ + return $this->twig->render('project-check.twig', [ 'repository' => $user . '/' . $repository, ]); } diff --git a/src/Maintained/Application/Controller/ProjectController.php b/src/Maintained/Application/Controller/ProjectController.php index 8a827a5..3c9a441 100644 --- a/src/Maintained/Application/Controller/ProjectController.php +++ b/src/Maintained/Application/Controller/ProjectController.php @@ -29,14 +29,12 @@ class ProjectController $statistics = $this->statisticsProvider->getStatistics($user, $repository); } catch (RuntimeException $e) { if ($e->getMessage() === 'Not Found') { - echo $this->twig->render('not-found.twig'); - return; + return $this->twig->render('/app/views/not-found.twig'); } - echo $this->twig->render('github-limit.twig'); - return; + return $this->twig->render('/app/views/github-limit.twig'); } - echo $this->twig->render('project.twig', [ + return $this->twig->render('/app/views/project.twig', [ 'repository' => $user . '/' . $repository, 'resolutionTime' => $statistics->resolutionTime, 'openedIssues' => round($statistics->openIssuesRatio * 100), diff --git a/src/Maintained/Application/Middleware/Error404Middleware.php b/src/Maintained/Application/Middleware/Error404Middleware.php new file mode 100644 index 0000000..65507d9 --- /dev/null +++ b/src/Maintained/Application/Middleware/Error404Middleware.php @@ -0,0 +1,31 @@ + + */ +class Error404Middleware +{ + /** + * @var Twig_Environment + */ + private $twig; + + public function __construct(Twig_Environment $twig) + { + $this->twig = $twig; + } + + public function __invoke(ServerRequestInterface $request, ResponseInterface $response) : ResponseInterface + { + $response = $response->withStatus(404); + $response->getBody()->write($this->twig->render('/app/views/404.twig')); + + return $response; + } +} diff --git a/src/Maintained/Application/Middleware/MaintenanceMiddleware.php b/src/Maintained/Application/Middleware/MaintenanceMiddleware.php new file mode 100644 index 0000000..9ef9b85 --- /dev/null +++ b/src/Maintained/Application/Middleware/MaintenanceMiddleware.php @@ -0,0 +1,41 @@ + + */ +class MaintenanceMiddleware +{ + /** + * @var Twig_Environment + */ + private $twig; + + /** + * @var bool + */ + private $enabled; + + public function __construct(Twig_Environment $twig, bool $enabled) + { + $this->twig = $twig; + $this->enabled = $enabled; + } + + public function __invoke(ServerRequestInterface $request, ResponseInterface $response, callable $next) : ResponseInterface + { + if (!$this->enabled) { + return $next($request, $response); + } + + $response = $response->withStatus(503); + $response->getBody()->write($this->twig->render('/app/views/maintenance.twig')); + + return $response; + } +} diff --git a/app/cache/.gitkeep b/var/cache/.gitkeep similarity index 100% rename from app/cache/.gitkeep rename to var/cache/.gitkeep diff --git a/app/data/.gitkeep b/var/data/.gitkeep similarity index 100% rename from app/data/.gitkeep rename to var/data/.gitkeep diff --git a/app/logs/.gitkeep b/var/logs/.gitkeep similarity index 100% rename from app/logs/.gitkeep rename to var/logs/.gitkeep diff --git a/web/index.php b/web/index.php index f8e5a23..525bda5 100644 --- a/web/index.php +++ b/web/index.php @@ -1,45 +1,54 @@ get(LoggerInterface::class)); +$http = pipe([ + ErrorHandlerMiddleware::class, + MaintenanceMiddleware::class, -if ($container->get('maintenance')) { - $controller = MaintenanceController::class; - $requestParameters = []; -} else { - /** @var Router $router */ - $router = $container->get(Router::class); + router([ + '/' => 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'), + ]), - $url = parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH); - $route = $router->match($url, $_SERVER); - if ($route) { - $requestParameters = $route->params; - $controller = $requestParameters['controller']; - } else { - if (php_sapi_name() === 'cli-server') { - return false; - } + // If no route matched + Error404Middleware::class, +]); - $controller = Error404Controller::class; - $requestParameters = []; +/** @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; } -} +}; -// Handle the case where the controller is an invokable class -if (is_string($controller) && class_exists($controller)) { - $controller = $container->make($controller); -} +ErrorHandler::register($app->getContainer()->get(LoggerInterface::class)); -// Dispatch -$container->call($controller, $requestParameters); +$app->runHttp(); -- 2.39.5 From bb942336de0c2c0e29f9e64f5ab12be101b1ed3d Mon Sep 17 00:00:00 2001 From: Matthieu Napoli Date: Sat, 31 Oct 2015 02:00:24 +0100 Subject: [PATCH 4/6] Add Puli to gitignore --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 8bf5ccf..224b2a1 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ +/.puli/ /var/cache/* !/var/cache/.gitkeep /var/data/* -- 2.39.5 From 35d6c5f5fa612cb882304324c4c3a4f72e6b4cea Mon Sep 17 00:00:00 2001 From: Matthieu Napoli Date: Sat, 7 Nov 2015 20:35:29 +0100 Subject: [PATCH 5/6] Better support for PHP's built-in webserver --- docker-compose.yml | 2 +- web/index.php | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 59e76e7..6e34a4e 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -5,4 +5,4 @@ app: volumes: - .:/app working_dir: /app - command: "php -S 0.0.0.0:8000 -t web" + command: "php -S 0.0.0.0:8000 -t web web/index.php" diff --git a/web/index.php b/web/index.php index 525bda5..64cfa38 100644 --- a/web/index.php +++ b/web/index.php @@ -15,6 +15,10 @@ use function Stratify\Framework\pipe; use function Stratify\Framework\router; use function Stratify\Router\route; +if (php_sapi_name() === 'cli-server' && is_file(__DIR__ . preg_replace('#(\?.*)$#', '', $_SERVER['REQUEST_URI']))) { + return false; +} + require __DIR__ . '/../vendor/autoload.php'; $modules = [ -- 2.39.5 From 176cbeae39ccf36cb4de5403e52359d924b91298 Mon Sep 17 00:00:00 2001 From: Matthieu Napoli Date: Sun, 21 Feb 2016 22:56:35 +0100 Subject: [PATCH 6/6] Update dependencies --- composer.lock | 595 ++++++++++++------ docker-compose.yml | 8 - puli.json | 16 +- .../Application/Controller/HomeController.php | 2 - 4 files changed, 405 insertions(+), 216 deletions(-) delete mode 100644 docker-compose.yml diff --git a/composer.lock b/composer.lock index 9d277da..7957466 100644 --- a/composer.lock +++ b/composer.lock @@ -9,16 +9,16 @@ "packages": [ { "name": "aura/router", - "version": "3.0.0-beta2", + "version": "3.0.0", "source": { "type": "git", "url": "https://github.com/auraphp/Aura.Router.git", - "reference": "363012b210bdd936c2cba33b080ab5708923449a" + "reference": "aeb49c8903cb07561022e2b65ef16c68fd2c01da" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/auraphp/Aura.Router/zipball/363012b210bdd936c2cba33b080ab5708923449a", - "reference": "363012b210bdd936c2cba33b080ab5708923449a", + "url": "https://api.github.com/repos/auraphp/Aura.Router/zipball/aeb49c8903cb07561022e2b65ef16c68fd2c01da", + "reference": "aeb49c8903cb07561022e2b65ef16c68fd2c01da", "shasum": "" }, "require": { @@ -53,20 +53,20 @@ "router", "routing" ], - "time": "2015-07-16 20:59:25" + "time": "2015-12-01 15:31:40" }, { "name": "badges/poser", - "version": "v1.1", + "version": "v1.2.0", "source": { "type": "git", "url": "https://github.com/badges/poser.git", - "reference": "10aaca8a9f8e5b23887902c440551584ceaf8fef" + "reference": "2fdcba62e1e873bf47decea04022f26d8b05cda4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/badges/poser/zipball/10aaca8a9f8e5b23887902c440551584ceaf8fef", - "reference": "10aaca8a9f8e5b23887902c440551584ceaf8fef", + "url": "https://api.github.com/repos/badges/poser/zipball/2fdcba62e1e873bf47decea04022f26d8b05cda4", + "reference": "2fdcba62e1e873bf47decea04022f26d8b05cda4", "shasum": "" }, "require": { @@ -116,7 +116,7 @@ "packagist", "pin" ], - "time": "2015-04-20 20:12:36" + "time": "2016-02-03 18:33:10" }, { "name": "container-interop/container-interop", @@ -215,33 +215,33 @@ }, { "name": "doctrine/cache", - "version": "v1.5.0", + "version": "v1.6.0", "source": { "type": "git", "url": "https://github.com/doctrine/cache.git", - "reference": "eb8a73619af4f1c8711e2ce482f5de3643258a1f" + "reference": "f8af318d14bdb0eff0336795b428b547bd39ccb6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/cache/zipball/eb8a73619af4f1c8711e2ce482f5de3643258a1f", - "reference": "eb8a73619af4f1c8711e2ce482f5de3643258a1f", + "url": "https://api.github.com/repos/doctrine/cache/zipball/f8af318d14bdb0eff0336795b428b547bd39ccb6", + "reference": "f8af318d14bdb0eff0336795b428b547bd39ccb6", "shasum": "" }, "require": { - "php": ">=5.3.2" + "php": "~5.5|~7.0" }, "conflict": { "doctrine/common": ">2.2,<2.4" }, "require-dev": { - "phpunit/phpunit": ">=3.7", + "phpunit/phpunit": "~4.8|~5.0", "predis/predis": "~1.0", "satooshi/php-coveralls": "~0.6" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.5.x-dev" + "dev-master": "1.6.x-dev" } }, "autoload": { @@ -281,7 +281,7 @@ "cache", "caching" ], - "time": "2015-10-28 11:27:45" + "time": "2015-12-31 16:37:02" }, { "name": "doctrine/lexer", @@ -339,7 +339,7 @@ }, { "name": "filp/whoops", - "version": "1.1.7", + "version": "1.1.10", "source": { "type": "git", "url": "https://github.com/filp/whoops.git", @@ -490,6 +490,72 @@ ], "time": "2015-03-18 18:23:50" }, + { + "name": "justinrainbow/json-schema", + "version": "1.6.1", + "source": { + "type": "git", + "url": "https://github.com/justinrainbow/json-schema.git", + "reference": "cc84765fb7317f6b07bd8ac78364747f95b86341" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/justinrainbow/json-schema/zipball/cc84765fb7317f6b07bd8ac78364747f95b86341", + "reference": "cc84765fb7317f6b07bd8ac78364747f95b86341", + "shasum": "" + }, + "require": { + "php": ">=5.3.29" + }, + "require-dev": { + "json-schema/json-schema-test-suite": "1.1.0", + "phpdocumentor/phpdocumentor": "~2", + "phpunit/phpunit": "~3.7" + }, + "bin": [ + "bin/validate-json" + ], + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.6.x-dev" + } + }, + "autoload": { + "psr-4": { + "JsonSchema\\": "src/JsonSchema/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Bruno Prieto Reis", + "email": "bruno.p.reis@gmail.com" + }, + { + "name": "Justin Rainbow", + "email": "justin.rainbow@gmail.com" + }, + { + "name": "Igor Wiedler", + "email": "igor@wiedler.ch" + }, + { + "name": "Robert Schönthal", + "email": "seroscho@googlemail.com" + } + ], + "description": "A library to validate a json schema.", + "homepage": "https://github.com/justinrainbow/json-schema", + "keywords": [ + "json", + "schema" + ], + "time": "2016-01-25 15:43:01" + }, { "name": "knplabs/github-api", "version": "1.5.1", @@ -743,23 +809,23 @@ }, { "name": "php-di/php-di", - "version": "5.1.0", + "version": "5.2.2", "source": { "type": "git", "url": "https://github.com/PHP-DI/PHP-DI.git", - "reference": "f4a8088fa4eb480ee66c51b5ee4e4e30cce78489" + "reference": "f574bcc841201ab04587b1c6da1234d4044f67d8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/PHP-DI/PHP-DI/zipball/f4a8088fa4eb480ee66c51b5ee4e4e30cce78489", - "reference": "f4a8088fa4eb480ee66c51b5ee4e4e30cce78489", + "url": "https://api.github.com/repos/PHP-DI/PHP-DI/zipball/f574bcc841201ab04587b1c6da1234d4044f67d8", + "reference": "f574bcc841201ab04587b1c6da1234d4044f67d8", "shasum": "" }, "require": { "container-interop/container-interop": "~1.0", "php": ">=5.4.0", - "php-di/invoker": "^1.0.1", - "php-di/phpdoc-reader": "~2.0" + "php-di/invoker": "^1.1.1", + "php-di/phpdoc-reader": "^2.0.1" }, "replace": { "mnapoli/php-di": "*" @@ -767,7 +833,7 @@ "require-dev": { "doctrine/annotations": "~1.2", "doctrine/cache": "~1.4", - "mnapoli/phpunit-easymock": "~0.1.4", + "mnapoli/phpunit-easymock": "~0.2.0", "ocramius/proxy-manager": "~1.0", "phpunit/phpunit": "~4.5" }, @@ -796,20 +862,20 @@ "dependency injection", "di" ], - "time": "2015-09-08 08:56:29" + "time": "2016-02-09 22:00:00" }, { "name": "php-di/phpdoc-reader", - "version": "2.0.0", + "version": "2.0.1", "source": { "type": "git", "url": "https://github.com/PHP-DI/PhpDocReader.git", - "reference": "21dce5e29f640d655e7b4583ecfb7d166127a5da" + "reference": "83f5ead159defccfa8e7092e5b6c1c533b326d68" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/PHP-DI/PhpDocReader/zipball/21dce5e29f640d655e7b4583ecfb7d166127a5da", - "reference": "21dce5e29f640d655e7b4583ecfb7d166127a5da", + "url": "https://api.github.com/repos/PHP-DI/PhpDocReader/zipball/83f5ead159defccfa8e7092e5b6c1c533b326d68", + "reference": "83f5ead159defccfa8e7092e5b6c1c533b326d68", "shasum": "" }, "require": { @@ -833,7 +899,7 @@ "phpdoc", "reflection" ], - "time": "2015-06-01 14:23:20" + "time": "2015-11-29 10:34:25" }, { "name": "psr/http-message", @@ -924,34 +990,35 @@ }, { "name": "puli/composer-plugin", - "version": "1.0.0-beta8", + "version": "1.0.0-beta9", "source": { "type": "git", "url": "https://github.com/puli/composer-plugin.git", - "reference": "59109e95eac8ea5088cc20988f565b81a6a0ec7b" + "reference": "a807314893420bd6c33402e7e9b01448748f3618" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/puli/composer-plugin/zipball/59109e95eac8ea5088cc20988f565b81a6a0ec7b", - "reference": "59109e95eac8ea5088cc20988f565b81a6a0ec7b", + "url": "https://api.github.com/repos/puli/composer-plugin/zipball/a807314893420bd6c33402e7e9b01448748f3618", + "reference": "a807314893420bd6c33402e7e9b01448748f3618", "shasum": "" }, "require": { "composer-plugin-api": "^1.0", - "puli/discovery": "^1.0-beta8", - "puli/repository": "^1.0-beta8", - "puli/url-generator": "^1.0-beta3", - "symfony/process": "^2.3", + "php": "^5.3.9|^7.0", + "puli/discovery": "^1.0-beta9", + "puli/repository": "^1.0-beta9", + "puli/url-generator": "^1.0-beta4", + "symfony/process": "^2.3|^3.0", "webmozart/assert": "^1.0", - "webmozart/key-value-store": "^1.0-beta6", - "webmozart/path-util": "^2.2.3" + "webmozart/json": "^1.2.2", + "webmozart/path-util": "^2.2" }, "require-dev": { "composer/composer": "^1.0-alpha10", "phpunit/phpunit": "^4.6", "sebastian/version": "^1.0.1", "symfony/filesystem": "^2.3", - "webmozart/glob": "^3.1" + "webmozart/glob": "^4.0" }, "type": "composer-plugin", "extra": { @@ -977,37 +1044,39 @@ ], "description": "Integrates Composer into the Puli package manager.", "homepage": "http://puli.io", - "time": "2015-10-05 11:31:15" + "time": "2016-01-14 12:40:31" }, { "name": "puli/discovery", - "version": "1.0.0-beta8", + "version": "1.0.0-beta9", "source": { "type": "git", "url": "https://github.com/puli/discovery.git", - "reference": "1450c75ae9ecbe7491f182cf871e5eaee41dc198" + "reference": "3fcb42bbbf27e7baa6d978c93be966ee4c2f6085" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/puli/discovery/zipball/1450c75ae9ecbe7491f182cf871e5eaee41dc198", - "reference": "1450c75ae9ecbe7491f182cf871e5eaee41dc198", + "url": "https://api.github.com/repos/puli/discovery/zipball/3fcb42bbbf27e7baa6d978c93be966ee4c2f6085", + "reference": "3fcb42bbbf27e7baa6d978c93be966ee4c2f6085", "shasum": "" }, "require": { - "php": ">=5.3.9", - "puli/repository": "^1.0", + "php": "^5.3.9|^7.0", "ramsey/uuid": "^2.8", "webmozart/assert": "^1.0", - "webmozart/expression": "^1.0.0-beta5", - "webmozart/glob": ">=2.0,<4.0" + "webmozart/expression": "^1.0" }, "require-dev": { "phpunit/phpunit": "^4.6", + "puli/repository": "^1.0-beta9", "sebastian/version": "^1.0.1", - "webmozart/key-value-store": "^1.0.0-beta6" + "webmozart/json": "^1.2", + "webmozart/key-value-store": "^1.0-beta7" }, "suggest": { - "webmozart/key-value-store": "to use the KeyValueStoreDiscovery" + "puli/repository": "to bind and discover Puli resources", + "webmozart/json": "to use the JSON discovery", + "webmozart/key-value-store": "to use the key-value store discovery" }, "type": "library", "extra": { @@ -1032,37 +1101,40 @@ ], "description": "Publishes and discovers artifacts across Puli packages.", "homepage": "http://puli.io", - "time": "2015-10-05 10:21:07" + "time": "2016-01-14 10:18:41" }, { "name": "puli/repository", - "version": "1.0.0-beta8", + "version": "1.0.0-beta10", "source": { "type": "git", "url": "https://github.com/puli/repository.git", - "reference": "f7c53212d9a9cca75e5fdfcea27e4dfa10b0521f" + "reference": "2b3136f62c81bf1d6f0fbdbda62c199524eab65d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/puli/repository/zipball/f7c53212d9a9cca75e5fdfcea27e4dfa10b0521f", - "reference": "f7c53212d9a9cca75e5fdfcea27e4dfa10b0521f", + "url": "https://api.github.com/repos/puli/repository/zipball/2b3136f62c81bf1d6f0fbdbda62c199524eab65d", + "reference": "2b3136f62c81bf1d6f0fbdbda62c199524eab65d", "shasum": "" }, "require": { - "php": ">=5.3.9", + "php": "^5.3.9|^7.0", + "psr/log": "^1.0", "webmozart/assert": "^1.0", - "webmozart/glob": "^3.1", + "webmozart/glob": "^4.1", "webmozart/path-util": "^2.2" }, "require-dev": { "phpunit/phpunit": "^4.6", "sebastian/version": "^1.0.1", - "symfony/filesystem": "^2.0", - "webmozart/key-value-store": "^1.0.0-beta5" + "symfony/filesystem": "^2.0|^3.0", + "webmozart/json": "^1.2.1", + "webmozart/key-value-store": "^1.0-beta7" }, "suggest": { - "symfony/filesystem": "to use the FilesystemRepository", - "webmozart/key-value-store": "to use the path mapping repositories" + "symfony/filesystem": "to use the filesystem repository", + "webmozart/json": "to use the JSON repositories", + "webmozart/key-value-store": "to use the key-value store change stream" }, "type": "library", "extra": { @@ -1087,36 +1159,37 @@ ], "description": "A filesystem-like repository for storing arbitrary resources.", "homepage": "http://puli.io", - "time": "2015-10-05 10:10:00" + "time": "2016-02-05 10:12:35" }, { "name": "puli/twig-extension", - "version": "1.0.0-beta7", + "version": "1.0.0-beta8", "source": { "type": "git", "url": "https://github.com/puli/twig-extension.git", - "reference": "ddc4fef54ab5e2914902ffd523f3304aeb5d8afa" + "reference": "41972f1b7330bec8481fd5ea2c30f52afa381730" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/puli/twig-extension/zipball/ddc4fef54ab5e2914902ffd523f3304aeb5d8afa", - "reference": "ddc4fef54ab5e2914902ffd523f3304aeb5d8afa", + "url": "https://api.github.com/repos/puli/twig-extension/zipball/41972f1b7330bec8481fd5ea2c30f52afa381730", + "reference": "41972f1b7330bec8481fd5ea2c30f52afa381730", "shasum": "" }, "require": { - "php": ">=5.3.9", - "puli/repository": "^1.0-beta8", + "php": "^5.3.9|^7.0", + "puli/repository": "^1.0-beta9", "twig/twig": "^1.20|^2.0", "webmozart/path-util": "^2.0" }, "require-dev": { "phpunit/phpunit": "^4.6", - "puli/url-generator": "^1.0", + "puli/discovery": "^1.0-beta9", + "puli/url-generator": "^1.0-beta4", "sebastian/version": "^1.0.1", "symfony/http-kernel": "^2.3" }, "suggest": { - "puli/url-generator": "Enables the resource_url() function" + "puli/url-generator": "to use the resource_url() function" }, "type": "library", "extra": { @@ -1141,27 +1214,28 @@ ], "description": "A Puli extension for the Twig templating system.", "homepage": "http://puli.io", - "time": "2015-10-05 11:47:39" + "time": "2016-01-14 12:44:30" }, { "name": "puli/url-generator", - "version": "1.0.0-beta3", + "version": "1.0.0-beta4", "source": { "type": "git", "url": "https://github.com/puli/url-generator.git", - "reference": "64528da1957740d454bfdad5fa662d756cbf785c" + "reference": "b6c0bfb678dde9a2f8ece661f894c9f39e62dcc2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/puli/url-generator/zipball/64528da1957740d454bfdad5fa662d756cbf785c", - "reference": "64528da1957740d454bfdad5fa662d756cbf785c", + "url": "https://api.github.com/repos/puli/url-generator/zipball/b6c0bfb678dde9a2f8ece661f894c9f39e62dcc2", + "reference": "b6c0bfb678dde9a2f8ece661f894c9f39e62dcc2", "shasum": "" }, "require": { - "php": ">=5.3.9", - "puli/discovery": "^1.0.0-beta8", - "puli/repository": "^1.0.0-beta8", - "webmozart/glob": ">=2.0,<4.0" + "php": "^5.3.9|^7.0", + "puli/discovery": "^1.0-beta9", + "puli/repository": "^1.0-beta9", + "webmozart/glob": "^4.0", + "webmozart/path-util": "^2.3" }, "require-dev": { "phpunit/phpunit": "^4.6", @@ -1197,20 +1271,20 @@ "resource", "url" ], - "time": "2015-10-05 10:25:51" + "time": "2016-01-14 10:30:17" }, { "name": "ramsey/uuid", - "version": "2.8.3", + "version": "2.8.4", "source": { "type": "git", "url": "https://github.com/ramsey/uuid.git", - "reference": "767a5b5f70cd990c04ef21d8374794d1a02fa9e8" + "reference": "805d8e1894c52e5b1582e75ca8803a8d85650df9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ramsey/uuid/zipball/767a5b5f70cd990c04ef21d8374794d1a02fa9e8", - "reference": "767a5b5f70cd990c04ef21d8374794d1a02fa9e8", + "url": "https://api.github.com/repos/ramsey/uuid/zipball/805d8e1894c52e5b1582e75ca8803a8d85650df9", + "reference": "805d8e1894c52e5b1582e75ca8803a8d85650df9", "shasum": "" }, "require": { @@ -1223,10 +1297,10 @@ "doctrine/dbal": ">=2.3", "jakub-onderka/php-parallel-lint": "^0.9.0", "moontoast/math": "~1.1", - "phpunit/phpunit": "~4.1", + "phpunit/phpunit": "~4.1|~5.0", "satooshi/php-coveralls": "~0.6", "squizlabs/php_codesniffer": "^2.3", - "symfony/console": "~2.3" + "symfony/console": "~2.3|~3.0" }, "suggest": { "doctrine/dbal": "Allow the use of a UUID as doctrine field type.", @@ -1263,25 +1337,70 @@ "identifier", "uuid" ], - "time": "2015-08-31 13:34:50" + "time": "2015-12-17 16:54:24" }, { - "name": "stratify/error-handler-module", - "version": "0.1.0", + "name": "seld/jsonlint", + "version": "1.4.0", "source": { "type": "git", - "url": "https://github.com/stratifyphp/error-handler-module.git", - "reference": "65731e262f835d300e99487946d1a348763239d1" + "url": "https://github.com/Seldaek/jsonlint.git", + "reference": "66834d3e3566bb5798db7294619388786ae99394" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/stratifyphp/error-handler-module/zipball/65731e262f835d300e99487946d1a348763239d1", - "reference": "65731e262f835d300e99487946d1a348763239d1", + "url": "https://api.github.com/repos/Seldaek/jsonlint/zipball/66834d3e3566bb5798db7294619388786ae99394", + "reference": "66834d3e3566bb5798db7294619388786ae99394", + "shasum": "" + }, + "require": { + "php": "^5.3 || ^7.0" + }, + "bin": [ + "bin/jsonlint" + ], + "type": "library", + "autoload": { + "psr-4": { + "Seld\\JsonLint\\": "src/Seld/JsonLint/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "http://seld.be" + } + ], + "description": "JSON Linter", + "keywords": [ + "json", + "linter", + "parser", + "validator" + ], + "time": "2015-11-21 02:21:41" + }, + { + "name": "stratify/error-handler-module", + "version": "0.1.1", + "source": { + "type": "git", + "url": "https://github.com/stratifyphp/error-handler-module.git", + "reference": "6b6567bdd39459ff19e384c53bb52453e0986677" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/stratifyphp/error-handler-module/zipball/6b6567bdd39459ff19e384c53bb52453e0986677", + "reference": "6b6567bdd39459ff19e384c53bb52453e0986677", "shasum": "" }, "require": { "filp/whoops": "^1.1", - "php-di/php-di": "^5.0", "psr/http-message": "^1.0" }, "type": "library", @@ -1294,7 +1413,7 @@ "license": [ "MIT" ], - "time": "2015-09-09 07:56:46" + "time": "2015-12-06 11:04:56" }, { "name": "stratify/framework", @@ -1373,25 +1492,25 @@ }, { "name": "stratify/router", - "version": "0.1.1", + "version": "0.1.2", "source": { "type": "git", "url": "https://github.com/stratifyphp/router.git", - "reference": "bae8ffbd46c92dc43e2682ac5aad789b226b76d2" + "reference": "2f92e65e3740000d56dacaf32230734e6f3c276d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/stratifyphp/router/zipball/bae8ffbd46c92dc43e2682ac5aad789b226b76d2", - "reference": "bae8ffbd46c92dc43e2682ac5aad789b226b76d2", + "url": "https://api.github.com/repos/stratifyphp/router/zipball/2f92e65e3740000d56dacaf32230734e6f3c276d", + "reference": "2f92e65e3740000d56dacaf32230734e6f3c276d", "shasum": "" }, "require": { - "aura/router": "^3.0@beta", + "aura/router": "^3.0", "psr/http-message": "^1.0", "stratify/http": "~0.1.0" }, "require-dev": { - "phpunit/phpunit": "^5.0@dev" + "phpunit/phpunit": "^5.1" }, "type": "library", "autoload": { @@ -1406,7 +1525,7 @@ "license": [ "MIT" ], - "time": "2015-09-10 11:32:06" + "time": "2016-02-05 22:31:11" }, { "name": "stratify/twig-module", @@ -1447,25 +1566,26 @@ }, { "name": "symfony/console", - "version": "v2.7.6", + "version": "v2.8.2", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "5efd632294c8320ea52492db22292ff853a43766" + "reference": "d0239fb42f98dd02e7d342f793c5d2cdee0c478d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/5efd632294c8320ea52492db22292ff853a43766", - "reference": "5efd632294c8320ea52492db22292ff853a43766", + "url": "https://api.github.com/repos/symfony/console/zipball/d0239fb42f98dd02e7d342f793c5d2cdee0c478d", + "reference": "d0239fb42f98dd02e7d342f793c5d2cdee0c478d", "shasum": "" }, "require": { - "php": ">=5.3.9" + "php": ">=5.3.9", + "symfony/polyfill-mbstring": "~1.0" }, "require-dev": { "psr/log": "~1.0", - "symfony/event-dispatcher": "~2.1", - "symfony/process": "~2.1" + "symfony/event-dispatcher": "~2.1|~3.0.0", + "symfony/process": "~2.1|~3.0.0" }, "suggest": { "psr/log": "For using the console logger", @@ -1475,13 +1595,16 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "2.7-dev" + "dev-master": "2.8-dev" } }, "autoload": { "psr-4": { "Symfony\\Component\\Console\\": "" - } + }, + "exclude-from-classmap": [ + "/Tests/" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -1499,20 +1622,20 @@ ], "description": "Symfony Console Component", "homepage": "https://symfony.com", - "time": "2015-10-20 14:38:46" + "time": "2016-01-14 08:33:16" }, { "name": "symfony/event-dispatcher", - "version": "v2.7.6", + "version": "v2.8.2", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher.git", - "reference": "87a5db5ea887763fa3a31a5471b512ff1596d9b8" + "reference": "ee278f7c851533e58ca307f66305ccb9188aceda" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/87a5db5ea887763fa3a31a5471b512ff1596d9b8", - "reference": "87a5db5ea887763fa3a31a5471b512ff1596d9b8", + "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/ee278f7c851533e58ca307f66305ccb9188aceda", + "reference": "ee278f7c851533e58ca307f66305ccb9188aceda", "shasum": "" }, "require": { @@ -1520,10 +1643,10 @@ }, "require-dev": { "psr/log": "~1.0", - "symfony/config": "~2.0,>=2.0.5", - "symfony/dependency-injection": "~2.6", - "symfony/expression-language": "~2.6", - "symfony/stopwatch": "~2.3" + "symfony/config": "~2.0,>=2.0.5|~3.0.0", + "symfony/dependency-injection": "~2.6|~3.0.0", + "symfony/expression-language": "~2.6|~3.0.0", + "symfony/stopwatch": "~2.3|~3.0.0" }, "suggest": { "symfony/dependency-injection": "", @@ -1532,13 +1655,16 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "2.7-dev" + "dev-master": "2.8-dev" } }, "autoload": { "psr-4": { "Symfony\\Component\\EventDispatcher\\": "" - } + }, + "exclude-from-classmap": [ + "/Tests/" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -1556,20 +1682,20 @@ ], "description": "Symfony EventDispatcher Component", "homepage": "https://symfony.com", - "time": "2015-10-11 09:39:48" + "time": "2016-01-13 10:28:07" }, { "name": "symfony/filesystem", - "version": "v2.7.6", + "version": "v2.8.2", "source": { "type": "git", "url": "https://github.com/symfony/filesystem.git", - "reference": "56fd6df73be859323ff97418d97edc1d756df6df" + "reference": "637b64d0ee10f44ae98dbad651b1ecdf35a11e8c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/filesystem/zipball/56fd6df73be859323ff97418d97edc1d756df6df", - "reference": "56fd6df73be859323ff97418d97edc1d756df6df", + "url": "https://api.github.com/repos/symfony/filesystem/zipball/637b64d0ee10f44ae98dbad651b1ecdf35a11e8c", + "reference": "637b64d0ee10f44ae98dbad651b1ecdf35a11e8c", "shasum": "" }, "require": { @@ -1578,13 +1704,16 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "2.7-dev" + "dev-master": "2.8-dev" } }, "autoload": { "psr-4": { "Symfony\\Component\\Filesystem\\": "" - } + }, + "exclude-from-classmap": [ + "/Tests/" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -1602,20 +1731,20 @@ ], "description": "Symfony Filesystem Component", "homepage": "https://symfony.com", - "time": "2015-10-18 20:23:18" + "time": "2016-01-13 10:28:07" }, { "name": "symfony/finder", - "version": "v2.7.6", + "version": "v2.8.2", "source": { "type": "git", "url": "https://github.com/symfony/finder.git", - "reference": "2ffb4e9598db3c48eb6d0ae73b04bbf09280c59d" + "reference": "c90fabdd97e431ee19b6383999cf35334dff27da" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/2ffb4e9598db3c48eb6d0ae73b04bbf09280c59d", - "reference": "2ffb4e9598db3c48eb6d0ae73b04bbf09280c59d", + "url": "https://api.github.com/repos/symfony/finder/zipball/c90fabdd97e431ee19b6383999cf35334dff27da", + "reference": "c90fabdd97e431ee19b6383999cf35334dff27da", "shasum": "" }, "require": { @@ -1624,13 +1753,16 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "2.7-dev" + "dev-master": "2.8-dev" } }, "autoload": { "psr-4": { "Symfony\\Component\\Finder\\": "" - } + }, + "exclude-from-classmap": [ + "/Tests/" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -1648,35 +1780,97 @@ ], "description": "Symfony Finder Component", "homepage": "https://symfony.com", - "time": "2015-10-11 09:39:48" + "time": "2016-01-14 08:26:52" }, { - "name": "symfony/process", - "version": "v2.7.6", + "name": "symfony/polyfill-mbstring", + "version": "v1.1.0", "source": { "type": "git", - "url": "https://github.com/symfony/process.git", - "reference": "4a959dd4e19c2c5d7512689413921e0a74386ec7" + "url": "https://github.com/symfony/polyfill-mbstring.git", + "reference": "1289d16209491b584839022f29257ad859b8532d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/process/zipball/4a959dd4e19c2c5d7512689413921e0a74386ec7", - "reference": "4a959dd4e19c2c5d7512689413921e0a74386ec7", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/1289d16209491b584839022f29257ad859b8532d", + "reference": "1289d16209491b584839022f29257ad859b8532d", "shasum": "" }, "require": { - "php": ">=5.3.9" + "php": ">=5.3.3" + }, + "suggest": { + "ext-mbstring": "For best performance" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.7-dev" + "dev-master": "1.1-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Polyfill\\Mbstring\\": "" + }, + "files": [ + "bootstrap.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill for the Mbstring extension", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "mbstring", + "polyfill", + "portable", + "shim" + ], + "time": "2016-01-20 09:13:37" + }, + { + "name": "symfony/process", + "version": "v3.0.2", + "source": { + "type": "git", + "url": "https://github.com/symfony/process.git", + "reference": "dfecef47506179db2501430e732adbf3793099c8" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/process/zipball/dfecef47506179db2501430e732adbf3793099c8", + "reference": "dfecef47506179db2501430e732adbf3793099c8", + "shasum": "" + }, + "require": { + "php": ">=5.5.9" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.0-dev" } }, "autoload": { "psr-4": { "Symfony\\Component\\Process\\": "" - } + }, + "exclude-from-classmap": [ + "/Tests/" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -1694,20 +1888,20 @@ ], "description": "Symfony Process Component", "homepage": "https://symfony.com", - "time": "2015-10-23 14:47:27" + "time": "2016-02-02 13:44:19" }, { "name": "twig/twig", - "version": "v1.23.0", + "version": "v1.24.0", "source": { "type": "git", "url": "https://github.com/twigphp/Twig.git", - "reference": "5868cd822fd6cf626d5f805439575f9c323cee2a" + "reference": "3e5aa30ebfbafd5951fb1b01e338e1800ce7e0e8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/twigphp/Twig/zipball/5868cd822fd6cf626d5f805439575f9c323cee2a", - "reference": "5868cd822fd6cf626d5f805439575f9c323cee2a", + "url": "https://api.github.com/repos/twigphp/Twig/zipball/3e5aa30ebfbafd5951fb1b01e338e1800ce7e0e8", + "reference": "3e5aa30ebfbafd5951fb1b01e338e1800ce7e0e8", "shasum": "" }, "require": { @@ -1720,7 +1914,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.23-dev" + "dev-master": "1.24-dev" } }, "autoload": { @@ -1755,7 +1949,7 @@ "keywords": [ "templating" ], - "time": "2015-10-29 23:29:01" + "time": "2016-01-25 21:22:18" }, { "name": "webmozart/assert", @@ -1808,16 +2002,16 @@ }, { "name": "webmozart/expression", - "version": "1.0.0-beta5", + "version": "1.0.0", "source": { "type": "git", "url": "https://github.com/webmozart/expression.git", - "reference": "d7448660cb52d971683d0eb2e74aab16cab42f9d" + "reference": "35c222fc49533894228e1240cc844ae91d6a9ef2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/webmozart/expression/zipball/d7448660cb52d971683d0eb2e74aab16cab42f9d", - "reference": "d7448660cb52d971683d0eb2e74aab16cab42f9d", + "url": "https://api.github.com/repos/webmozart/expression/zipball/35c222fc49533894228e1240cc844ae91d6a9ef2", + "reference": "35c222fc49533894228e1240cc844ae91d6a9ef2", "shasum": "" }, "require": { @@ -1855,34 +2049,35 @@ "filter", "formula" ], - "time": "2015-10-02 13:14:43" + "time": "2015-12-17 10:43:13" }, { "name": "webmozart/glob", - "version": "3.1.1", + "version": "4.1.0", "source": { "type": "git", "url": "https://github.com/webmozart/glob.git", - "reference": "44fd5671153c550a0b772d8f819bff7d913e646f" + "reference": "3cbf63d4973cf9d780b93d2da8eec7e4a9e63bbe" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/webmozart/glob/zipball/44fd5671153c550a0b772d8f819bff7d913e646f", - "reference": "44fd5671153c550a0b772d8f819bff7d913e646f", + "url": "https://api.github.com/repos/webmozart/glob/zipball/3cbf63d4973cf9d780b93d2da8eec7e4a9e63bbe", + "reference": "3cbf63d4973cf9d780b93d2da8eec7e4a9e63bbe", "shasum": "" }, "require": { - "php": ">=5.3.3", + "php": "^5.3.3|^7.0", "webmozart/path-util": "^2.2" }, "require-dev": { "phpunit/phpunit": "^4.6", + "sebastian/version": "^1.0.1", "symfony/filesystem": "^2.5" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.2-dev" + "dev-master": "4.1-dev" } }, "autoload": { @@ -1901,50 +2096,42 @@ } ], "description": "A PHP implementation of Ant's glob.", - "time": "2015-08-24 13:32:28" + "time": "2015-12-29 11:14:33" }, { - "name": "webmozart/key-value-store", - "version": "1.0.0-beta6", + "name": "webmozart/json", + "version": "1.2.2", "source": { "type": "git", - "url": "https://github.com/webmozart/key-value-store.git", - "reference": "cb3a57c0a3ec03b7c86f58048bc6bb714554c8c0" + "url": "https://github.com/webmozart/json.git", + "reference": "a1fb3da904b8364e3db47eed68f76bfb6cd0031a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/webmozart/key-value-store/zipball/cb3a57c0a3ec03b7c86f58048bc6bb714554c8c0", - "reference": "cb3a57c0a3ec03b7c86f58048bc6bb714554c8c0", + "url": "https://api.github.com/repos/webmozart/json/zipball/a1fb3da904b8364e3db47eed68f76bfb6cd0031a", + "reference": "a1fb3da904b8364e3db47eed68f76bfb6cd0031a", "shasum": "" }, "require": { - "php": ">=5.3.3", - "webmozart/assert": "~1.0" + "justinrainbow/json-schema": "^1.6", + "php": "^5.3.3|^7.0", + "seld/jsonlint": "^1.0", + "webmozart/path-util": "^2.3" }, "require-dev": { - "basho/riak": "~1.4", - "doctrine/cache": "~1.4", - "doctrine/dbal": "~2.4", "phpunit/phpunit": "^4.6", - "predis/predis": "~1.0", "sebastian/version": "^1.0.1", - "symfony/filesystem": "~2.5" - }, - "suggest": { - "basho/riak": "To enable the RiakStore", - "doctrine/cache": "To enable the CachedStore", - "doctrine/dbal": "To enable the DbalStore", - "predis/predis": "To enable the PredisStore" + "symfony/filesystem": "^2.5" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.0-dev" + "dev-master": "1.2-dev" } }, "autoload": { "psr-4": { - "Webmozart\\KeyValueStore\\": "src/" + "Webmozart\\Json\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", @@ -1957,21 +2144,21 @@ "email": "bschussek@gmail.com" } ], - "description": "A key-value store API with implementations for different backends.", - "time": "2015-10-02 13:30:40" + "description": "A robust JSON decoder/encoder with support for schema validation.", + "time": "2016-01-14 12:11:46" }, { "name": "webmozart/path-util", - "version": "2.2.3", + "version": "2.3.0", "source": { "type": "git", "url": "https://github.com/webmozart/path-util.git", - "reference": "e5ac8b8a0ceaf7b36bff257be21780332880284d" + "reference": "d939f7edc24c9a1bb9c0dee5cb05d8e859490725" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/webmozart/path-util/zipball/e5ac8b8a0ceaf7b36bff257be21780332880284d", - "reference": "e5ac8b8a0ceaf7b36bff257be21780332880284d", + "url": "https://api.github.com/repos/webmozart/path-util/zipball/d939f7edc24c9a1bb9c0dee5cb05d8e859490725", + "reference": "d939f7edc24c9a1bb9c0dee5cb05d8e859490725", "shasum": "" }, "require": { @@ -2004,20 +2191,20 @@ } ], "description": "A robust cross-platform utility for normalizing, comparing and modifying file paths.", - "time": "2015-10-05 10:49:32" + "time": "2015-12-17 08:42:14" }, { "name": "zendframework/zend-diactoros", - "version": "1.1.4", + "version": "1.3.3", "source": { "type": "git", "url": "https://github.com/zendframework/zend-diactoros.git", - "reference": "3f0ce6c0ba2106e018fb514a9f09dbb91eb6bfd0" + "reference": "4d54fde709664562eb63356f0250d527824d05de" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/zendframework/zend-diactoros/zipball/3f0ce6c0ba2106e018fb514a9f09dbb91eb6bfd0", - "reference": "3f0ce6c0ba2106e018fb514a9f09dbb91eb6bfd0", + "url": "https://api.github.com/repos/zendframework/zend-diactoros/zipball/4d54fde709664562eb63356f0250d527824d05de", + "reference": "4d54fde709664562eb63356f0250d527824d05de", "shasum": "" }, "require": { @@ -2034,8 +2221,8 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.0-dev", - "dev-develop": "1.1-dev" + "dev-master": "1.3-dev", + "dev-develop": "1.4-dev" } }, "autoload": { @@ -2054,7 +2241,7 @@ "psr", "psr-7" ], - "time": "2015-10-16 15:24:05" + "time": "2016-01-04 21:37:32" } ], "packages-dev": [], diff --git a/docker-compose.yml b/docker-compose.yml deleted file mode 100644 index 6e34a4e..0000000 --- a/docker-compose.yml +++ /dev/null @@ -1,8 +0,0 @@ -app: - image: mnapoli/php7-cli - ports: - - "8080:8000" - volumes: - - .:/app - working_dir: /app - command: "php -S 0.0.0.0:8000 -t web web/index.php" diff --git a/puli.json b/puli.json index a6e39e5..75ff4c6 100644 --- a/puli.json +++ b/puli.json @@ -40,6 +40,10 @@ "install-path": "vendor/guzzle/guzzle", "installer": "composer" }, + "justinrainbow/json-schema": { + "install-path": "vendor/justinrainbow/json-schema", + "installer": "composer" + }, "knplabs/github-api": { "install-path": "vendor/knplabs/github-api", "installer": "composer" @@ -100,6 +104,10 @@ "install-path": "vendor/ramsey/uuid", "installer": "composer" }, + "seld/jsonlint": { + "install-path": "vendor/seld/jsonlint", + "installer": "composer" + }, "stratify/error-handler-module": { "install-path": "vendor/stratify/error-handler-module", "installer": "composer" @@ -136,6 +144,10 @@ "install-path": "vendor/symfony/finder", "installer": "composer" }, + "symfony/polyfill-mbstring": { + "install-path": "vendor/symfony/polyfill-mbstring", + "installer": "composer" + }, "symfony/process": { "install-path": "vendor/symfony/process", "installer": "composer" @@ -156,8 +168,8 @@ "install-path": "vendor/webmozart/glob", "installer": "composer" }, - "webmozart/key-value-store": { - "install-path": "vendor/webmozart/key-value-store", + "webmozart/json": { + "install-path": "vendor/webmozart/json", "installer": "composer" }, "webmozart/path-util": { diff --git a/src/Maintained/Application/Controller/HomeController.php b/src/Maintained/Application/Controller/HomeController.php index 5288e83..e7e8c26 100644 --- a/src/Maintained/Application/Controller/HomeController.php +++ b/src/Maintained/Application/Controller/HomeController.php @@ -4,8 +4,6 @@ namespace Maintained\Application\Controller; use BlackBox\MapStorage; use DI\Annotation\Inject; -use Psr\Http\Message\ResponseInterface; -use Psr\Http\Message\ServerRequestInterface; use Twig_Environment; /** -- 2.39.5