diff --git a/app/AppKernel.php b/app/AppKernel.php index 8de8b3fd9..447eb11be 100644 --- a/app/AppKernel.php +++ b/app/AppKernel.php @@ -15,7 +15,6 @@ public function registerBundles() new Symfony\Bundle\SwiftmailerBundle\SwiftmailerBundle(), new Doctrine\Bundle\DoctrineBundle\DoctrineBundle(), new Sensio\Bundle\FrameworkExtraBundle\SensioFrameworkExtraBundle(), - new Dunglas\ActionBundle\DunglasActionBundle(), new ApiPlatform\Core\Bridge\Symfony\Bundle\ApiPlatformBundle(), new Nelmio\CorsBundle\NelmioCorsBundle(), new AppBundle\AppBundle(), diff --git a/app/config/config.yml b/app/config/config.yml index 4f98a1da6..aa81bfe76 100644 --- a/app/config/config.yml +++ b/app/config/config.yml @@ -94,3 +94,4 @@ api_platform: yaml: ['application/x-yaml'] csv: ['text/csv'] html: ['text/html'] + diff --git a/app/config/routing.yml b/app/config/routing.yml index 3ae16657f..d1299de93 100644 --- a/app/config/routing.yml +++ b/app/config/routing.yml @@ -1,6 +1,7 @@ api: resource: '.' type: 'api_platform' + prefix: 'api' app: resource: '@AppBundle/Action/' diff --git a/app/config/services.yml b/app/config/services.yml index dfa5c3cda..4ccabeba8 100644 --- a/app/config/services.yml +++ b/app/config/services.yml @@ -4,10 +4,11 @@ parameters: # parameter_name: value services: - review.search_filter: - parent: 'api_platform.doctrine.orm.search_filter' - arguments: [ { itemReviewed: 'exact' } ] - tags: [ { name: 'api_platform.filter', id: 'review.search_filter' } ] -# service_name: -# class: AppBundle\Directory\ClassName -# arguments: ["@another_service_name", "plain_value", "%parameter_name%"] + _defaults: + autowire: true + autoconfigure: true + public: false + AppBundle\Action\: + resource: '../../src/AppBundle/Action' + public: true + tags: ['controller.service_arguments'] \ No newline at end of file diff --git a/composer.json b/composer.json index d8c8283b9..1703334b2 100644 --- a/composer.json +++ b/composer.json @@ -20,8 +20,8 @@ }, "require": { "php": ">=7.0", - "symfony/symfony": "3.2.*", - "api-platform/core": "^2.0", + "symfony/symfony": "3.3.*", + "api-platform/core": "^2.1@beta", "doctrine/orm": "^2.5", "doctrine/doctrine-bundle": "^1.6", "doctrine/doctrine-cache-bundle": "^1.2", @@ -30,7 +30,6 @@ "sensio/distribution-bundle": "^5.0", "sensio/framework-extra-bundle": "^3.0.2", "incenteev/composer-parameter-handler": "^2.0", - "dunglas/action-bundle": "^0.3", "nelmio/cors-bundle": "^1.4", "phpdocumentor/reflection-docblock": "^3.0" }, diff --git a/composer.lock b/composer.lock index cfa751429..59dd7cef1 100644 --- a/composer.lock +++ b/composer.lock @@ -4,74 +4,91 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", "This file is @generated automatically" ], - "content-hash": "a514b0e48a96fb9218f3343b7290ce07", + "content-hash": "5b96a136f5f3e468352ccd402807ac53", "packages": [ { "name": "api-platform/core", - "version": "v2.0.3", + "version": "v2.1.0-beta.2", "source": { "type": "git", "url": "https://github.com/api-platform/core.git", - "reference": "01303fa8669a1bab2a12a2711f75c0a38815e593" + "reference": "acec7dd3a0d39a07effddd999e7fe1371e657f1c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/api-platform/core/zipball/01303fa8669a1bab2a12a2711f75c0a38815e593", - "reference": "01303fa8669a1bab2a12a2711f75c0a38815e593", + "url": "https://api.github.com/repos/api-platform/core/zipball/acec7dd3a0d39a07effddd999e7fe1371e657f1c", + "reference": "acec7dd3a0d39a07effddd999e7fe1371e657f1c", "shasum": "" }, "require": { "doctrine/inflector": "^1.0", "php": ">=7.0", "psr/cache": "^1.0", - "symfony/http-foundation": "^2.7 || ^3.0", - "symfony/http-kernel": "^2.7 || ^3.0", - "symfony/property-info": "^3.1", - "symfony/serializer": "^3.1", + "psr/container": "^1.0", + "symfony/http-foundation": "^3.1 || ^4.0", + "symfony/http-kernel": "^2.7 || ^3.0 || ^4.0", + "symfony/property-access": "^2.7 || ^3.0 || ^4.0", + "symfony/property-info": "^3.1 || ^4.0", + "symfony/serializer": "^3.1 || ^4.0", "willdurand/negotiation": "^2.0.3" }, + "conflict": { + "symfony/dependency-injection": "<3.3" + }, "require-dev": { "behat/behat": "^3.1", "behat/mink": "^1.7", "behat/mink-browserkit-driver": "^1.3.1", "behat/mink-extension": "^2.2", - "behat/symfony2-extension": "^2.1", - "behatch/contexts": "^2.5", + "behat/symfony2-extension": "^2.1.1", + "behatch/contexts": "^2.6", "doctrine/annotations": "^1.2", "doctrine/doctrine-bundle": "^1.6.3", - "doctrine/orm": "^2.5", - "friendsofsymfony/user-bundle": "^2.0@dev", + "doctrine/orm": "^2.5.2", + "friendsofsymfony/user-bundle": "^2.0", + "guzzlehttp/guzzle": "^6.0", "nelmio/api-doc-bundle": "^2.11.2", "php-mock/php-mock-phpunit": "^1.1", "phpdocumentor/reflection-docblock": "^3.0", "phpdocumentor/type-resolver": "^0.2", "phpunit/phpunit": "^5.6.8", "psr/log": "^1.0", - "symfony/asset": "^2.7 || ^3.0", - "symfony/cache": "^3.1", - "symfony/config": "^3.2", - "symfony/dependency-injection": "^2.7 || ^3.0", - "symfony/doctrine-bridge": "^2.8 || ^3.0", - "symfony/finder": "^2.7 || ^3.0", - "symfony/framework-bundle": "^3.1", - "symfony/phpunit-bridge": "^2.7 || ^3.0", - "symfony/security": "^2.7 || ^3.0", - "symfony/templating": "^2.7 || ^3.0", - "symfony/twig-bundle": "^2.8 || ^3.1", - "symfony/validator": "^2.7 || ^3.0" + "sensio/framework-extra-bundle": "^3.0.11 || ^4.0", + "symfony/asset": "^3.3 || ^4.0", + "symfony/cache": "^3.3 || ^4.0", + "symfony/config": "^3.3 || ^4.0", + "symfony/console": "^3.3 || ^4.0", + "symfony/debug": "^2.8 || ^3.0 || ^4.0", + "symfony/dependency-injection": "^3.3 || ^4.0", + "symfony/doctrine-bridge": "^2.8 || ^3.0 || ^4.0", + "symfony/event-dispatcher": "^3.3 || ^4.0", + "symfony/expression-language": "^2.8 || ^3.0 || ^4.0", + "symfony/finder": "^3.3 || ^4.0", + "symfony/form": "^3.3 || ^4.0", + "symfony/framework-bundle": "^3.3 || ^4.0", + "symfony/phpunit-bridge": "^2.7 || ^3.0 || ^4.0", + "symfony/routing": "^3.3 || ^4.0", + "symfony/security": "^3.0 || ^4.0", + "symfony/security-bundle": "^3.0 || ^4.0", + "symfony/twig-bundle": "^3.1 || ^4.0", + "symfony/validator": "^3.3 || ^4.0", + "symfony/yaml": "^3.3 || ^4.0" }, "suggest": { "friendsofsymfony/user-bundle": "To use the FOSUserBundle bridge.", + "guzzlehttp/guzzle": "To use the HTTP cache invalidation system.", "phpdocumentor/reflection-docblock": "To support extracting metadata from PHPDoc.", "psr/cache-implementation": "To use metadata caching.", "symfony/cache": "To have metadata caching when using Symfony integration.", "symfony/config": "To load XML configuration files.", + "symfony/expression-language": "To use authorization features.", + "symfony/security": "To use authorization features.", "symfony/twig-bundle": "To use the Swagger UI integration." }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.0.x-dev" + "dev-master": "2.1.x-dev" } }, "autoload": { @@ -101,20 +118,79 @@ "rest", "swagger" ], - "time": "2017-01-25T13:47:16+00:00" + "time": "2017-07-21T17:48:39+00:00" + }, + { + "name": "composer/ca-bundle", + "version": "1.0.7", + "source": { + "type": "git", + "url": "https://github.com/composer/ca-bundle.git", + "reference": "b17e6153cb7f33c7e44eb59578dc12eee5dc8e12" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/composer/ca-bundle/zipball/b17e6153cb7f33c7e44eb59578dc12eee5dc8e12", + "reference": "b17e6153cb7f33c7e44eb59578dc12eee5dc8e12", + "shasum": "" + }, + "require": { + "ext-openssl": "*", + "ext-pcre": "*", + "php": "^5.3.2 || ^7.0" + }, + "require-dev": { + "phpunit/phpunit": "^4.5", + "psr/log": "^1.0", + "symfony/process": "^2.5 || ^3.0" + }, + "suggest": { + "symfony/process": "This is necessary to reliably check whether openssl_x509_parse is vulnerable on older php versions, but can be ignored on PHP 5.5.6+" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.x-dev" + } + }, + "autoload": { + "psr-4": { + "Composer\\CaBundle\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "http://seld.be" + } + ], + "description": "Lets you find a path to the system CA bundle, and includes a fallback to the Mozilla CA bundle.", + "keywords": [ + "cabundle", + "cacert", + "certificate", + "ssl", + "tls" + ], + "time": "2017-03-06T11:59:08+00:00" }, { "name": "doctrine/annotations", - "version": "v1.3.1", + "version": "v1.4.0", "source": { "type": "git", "url": "https://github.com/doctrine/annotations.git", - "reference": "bd4461328621bde0ae6b1b2675fbc6aca4ceb558" + "reference": "54cacc9b81758b14e3ce750f205a393d52339e97" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/annotations/zipball/bd4461328621bde0ae6b1b2675fbc6aca4ceb558", - "reference": "bd4461328621bde0ae6b1b2675fbc6aca4ceb558", + "url": "https://api.github.com/repos/doctrine/annotations/zipball/54cacc9b81758b14e3ce750f205a393d52339e97", + "reference": "54cacc9b81758b14e3ce750f205a393d52339e97", "shasum": "" }, "require": { @@ -123,7 +199,7 @@ }, "require-dev": { "doctrine/cache": "1.*", - "phpunit/phpunit": "^5.6.1" + "phpunit/phpunit": "^5.7" }, "type": "library", "extra": { @@ -169,20 +245,20 @@ "docblock", "parser" ], - "time": "2016-12-30T15:59:45+00:00" + "time": "2017-02-24T16:22:25+00:00" }, { "name": "doctrine/cache", - "version": "v1.6.1", + "version": "v1.6.2", "source": { "type": "git", "url": "https://github.com/doctrine/cache.git", - "reference": "b6f544a20f4807e81f7044d31e679ccbb1866dc3" + "reference": "eb152c5100571c7a45470ff2a35095ab3f3b900b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/cache/zipball/b6f544a20f4807e81f7044d31e679ccbb1866dc3", - "reference": "b6f544a20f4807e81f7044d31e679ccbb1866dc3", + "url": "https://api.github.com/repos/doctrine/cache/zipball/eb152c5100571c7a45470ff2a35095ab3f3b900b", + "reference": "eb152c5100571c7a45470ff2a35095ab3f3b900b", "shasum": "" }, "require": { @@ -239,7 +315,7 @@ "cache", "caching" ], - "time": "2016-10-29T11:16:17+00:00" + "time": "2017-07-22T12:49:21+00:00" }, { "name": "doctrine/collections", @@ -310,16 +386,16 @@ }, { "name": "doctrine/common", - "version": "v2.7.2", + "version": "v2.7.3", "source": { "type": "git", "url": "https://github.com/doctrine/common.git", - "reference": "930297026c8009a567ac051fd545bf6124150347" + "reference": "4acb8f89626baafede6ee5475bc5844096eba8a9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/common/zipball/930297026c8009a567ac051fd545bf6124150347", - "reference": "930297026c8009a567ac051fd545bf6124150347", + "url": "https://api.github.com/repos/doctrine/common/zipball/4acb8f89626baafede6ee5475bc5844096eba8a9", + "reference": "4acb8f89626baafede6ee5475bc5844096eba8a9", "shasum": "" }, "require": { @@ -379,20 +455,20 @@ "persistence", "spl" ], - "time": "2017-01-13T14:02:13+00:00" + "time": "2017-07-22T08:35:12+00:00" }, { "name": "doctrine/dbal", - "version": "v2.5.10", + "version": "v2.5.13", "source": { "type": "git", "url": "https://github.com/doctrine/dbal.git", - "reference": "fc376f7a61498e18520cd6fa083752a4ca08072b" + "reference": "729340d8d1eec8f01bff708e12e449a3415af873" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/dbal/zipball/fc376f7a61498e18520cd6fa083752a4ca08072b", - "reference": "fc376f7a61498e18520cd6fa083752a4ca08072b", + "url": "https://api.github.com/repos/doctrine/dbal/zipball/729340d8d1eec8f01bff708e12e449a3415af873", + "reference": "729340d8d1eec8f01bff708e12e449a3415af873", "shasum": "" }, "require": { @@ -450,41 +526,41 @@ "persistence", "queryobject" ], - "time": "2017-01-23T23:17:10+00:00" + "time": "2017-07-22T20:44:48+00:00" }, { "name": "doctrine/doctrine-bundle", - "version": "1.6.7", + "version": "1.6.8", "source": { "type": "git", "url": "https://github.com/doctrine/DoctrineBundle.git", - "reference": "a01d99bc6c9a6c8a8ace0012690099dd957ce9b9" + "reference": "6e96577cbbdbb5b6dcca2ff203d665976b51beb0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/DoctrineBundle/zipball/a01d99bc6c9a6c8a8ace0012690099dd957ce9b9", - "reference": "a01d99bc6c9a6c8a8ace0012690099dd957ce9b9", + "url": "https://api.github.com/repos/doctrine/DoctrineBundle/zipball/6e96577cbbdbb5b6dcca2ff203d665976b51beb0", + "reference": "6e96577cbbdbb5b6dcca2ff203d665976b51beb0", "shasum": "" }, "require": { "doctrine/dbal": "~2.3", - "doctrine/doctrine-cache-bundle": "~1.0", + "doctrine/doctrine-cache-bundle": "~1.2", "jdorn/sql-formatter": "~1.1", "php": ">=5.5.9", - "symfony/console": "~2.7|~3.0", - "symfony/dependency-injection": "~2.7|~3.0", - "symfony/doctrine-bridge": "~2.7|~3.0", - "symfony/framework-bundle": "~2.7|~3.0" + "symfony/console": "~2.7|~3.0|~4.0", + "symfony/dependency-injection": "~2.7|~3.0|~4.0", + "symfony/doctrine-bridge": "~2.7|~3.0|~4.0", + "symfony/framework-bundle": "~2.7|~3.0|~4.0" }, "require-dev": { "doctrine/orm": "~2.3", "phpunit/phpunit": "~4", "satooshi/php-coveralls": "^1.0", - "symfony/phpunit-bridge": "~2.7|~3.0", - "symfony/property-info": "~2.8|~3.0", - "symfony/validator": "~2.7|~3.0", - "symfony/yaml": "~2.7|~3.0", - "twig/twig": "~1.10|~2.0" + "symfony/phpunit-bridge": "~2.7|~3.0|~4.0", + "symfony/property-info": "~2.8|~3.0|~4.0", + "symfony/validator": "~2.7|~3.0|~4.0", + "symfony/yaml": "~2.7|~3.0|~4.0", + "twig/twig": "~1.12|~2.0" }, "suggest": { "doctrine/orm": "The Doctrine ORM integration is optional in the bundle.", @@ -531,7 +607,7 @@ "orm", "persistence" ], - "time": "2017-01-16T12:01:26+00:00" + "time": "2017-05-18T08:15:18+00:00" }, { "name": "doctrine/doctrine-cache-bundle", @@ -623,33 +699,33 @@ }, { "name": "doctrine/inflector", - "version": "v1.1.0", + "version": "v1.2.0", "source": { "type": "git", "url": "https://github.com/doctrine/inflector.git", - "reference": "90b2128806bfde671b6952ab8bea493942c1fdae" + "reference": "e11d84c6e018beedd929cff5220969a3c6d1d462" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/inflector/zipball/90b2128806bfde671b6952ab8bea493942c1fdae", - "reference": "90b2128806bfde671b6952ab8bea493942c1fdae", + "url": "https://api.github.com/repos/doctrine/inflector/zipball/e11d84c6e018beedd929cff5220969a3c6d1d462", + "reference": "e11d84c6e018beedd929cff5220969a3c6d1d462", "shasum": "" }, "require": { - "php": ">=5.3.2" + "php": "^7.0" }, "require-dev": { - "phpunit/phpunit": "4.*" + "phpunit/phpunit": "^6.2" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.1.x-dev" + "dev-master": "1.2.x-dev" } }, "autoload": { - "psr-0": { - "Doctrine\\Common\\Inflector\\": "lib/" + "psr-4": { + "Doctrine\\Common\\Inflector\\": "lib/Doctrine/Common/Inflector" } }, "notification-url": "https://packagist.org/downloads/", @@ -686,7 +762,7 @@ "singularize", "string" ], - "time": "2015-11-06T14:35:42+00:00" + "time": "2017-07-22T12:18:28+00:00" }, { "name": "doctrine/instantiator", @@ -798,23 +874,23 @@ }, { "name": "doctrine/orm", - "version": "v2.5.6", + "version": "v2.5.10", "source": { "type": "git", "url": "https://github.com/doctrine/doctrine2.git", - "reference": "e6c434196c8ef058239aaa0724b4aadb0107940b" + "reference": "c78afd51721804f4f76ff30d9b6f6159eb046161" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/doctrine2/zipball/e6c434196c8ef058239aaa0724b4aadb0107940b", - "reference": "e6c434196c8ef058239aaa0724b4aadb0107940b", + "url": "https://api.github.com/repos/doctrine/doctrine2/zipball/c78afd51721804f4f76ff30d9b6f6159eb046161", + "reference": "c78afd51721804f4f76ff30d9b6f6159eb046161", "shasum": "" }, "require": { "doctrine/cache": "~1.4", "doctrine/collections": "~1.2", - "doctrine/common": ">=2.5-dev,<2.8-dev", - "doctrine/dbal": ">=2.5-dev,<2.6-dev", + "doctrine/common": ">=2.5-dev,<2.9-dev", + "doctrine/dbal": ">=2.5-dev,<2.7-dev", "doctrine/instantiator": "~1.0.1", "ext-pdo": "*", "php": ">=5.4", @@ -870,41 +946,31 @@ "database", "orm" ], - "time": "2016-12-18T15:42:34+00:00" + "time": "2017-08-18T19:17:35+00:00" }, { - "name": "dunglas/action-bundle", - "version": "v0.3.1", + "name": "fig/link-util", + "version": "1.0.0", "source": { "type": "git", - "url": "https://github.com/dunglas/DunglasActionBundle.git", - "reference": "3a72abd4ff43cae6e528c0e5973d9e9cc8945a2b" + "url": "https://github.com/php-fig/link-util.git", + "reference": "1a07821801a148be4add11ab0603e4af55a72fac" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/dunglas/DunglasActionBundle/zipball/3a72abd4ff43cae6e528c0e5973d9e9cc8945a2b", - "reference": "3a72abd4ff43cae6e528c0e5973d9e9cc8945a2b", + "url": "https://api.github.com/repos/php-fig/link-util/zipball/1a07821801a148be4add11ab0603e4af55a72fac", + "reference": "1a07821801a148be4add11ab0603e4af55a72fac", "shasum": "" }, "require": { - "php": ">=5.5.9 <7.2.0", - "symfony/config": "~2.8||~3.0", - "symfony/dependency-injection": "~2.8||~3.0", - "symfony/finder": "~2.8||~3.0", - "symfony/http-kernel": "~2.8||~3.0" - }, - "conflict": { - "symfony/framework-bundle": "<2.8.5||>3.0,<3.0.5" + "php": ">=5.5.0", + "psr/link": "~1.0@dev" }, "require-dev": { - "phpunit/phpunit": "^5.0||^4.6", - "sensio/framework-extra-bundle": "^3.0.10", - "symfony/browser-kit": "~2.8||~3.0", - "symfony/console": "~2.8||~3.0", - "symfony/expression-language": "~2.8||~3.0", - "symfony/framework-bundle": "~2.8||~3.0" + "phpunit/phpunit": "^5.1", + "squizlabs/php_codesniffer": "^2.3.1" }, - "type": "symfony-bundle", + "type": "library", "extra": { "branch-alias": { "dev-master": "1.0.x-dev" @@ -912,11 +978,8 @@ }, "autoload": { "psr-4": { - "Dunglas\\ActionBundle\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] + "Fig\\Link\\": "src/" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -924,21 +987,20 @@ ], "authors": [ { - "name": "Kévin Dunglas", - "email": "dunglas@gmail.com", - "homepage": "https://dunglas.fr" + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" } ], - "description": "Symfony controllers, redesigned", - "homepage": "https://dunglas.fr/2016/01/dunglasactionbundle-symfony-controllers-redesigned/", + "description": "Common utility implementations for HTTP links", "keywords": [ - "Autowiring", - "action", - "controllers", - "routing", - "symfony" + "http", + "http-link", + "link", + "psr", + "psr-13", + "rest" ], - "time": "2016-09-29T06:34:48+00:00" + "time": "2016-10-17T18:31:11+00:00" }, { "name": "incenteev/composer-parameter-handler", @@ -1043,16 +1105,16 @@ }, { "name": "monolog/monolog", - "version": "1.22.0", + "version": "1.23.0", "source": { "type": "git", "url": "https://github.com/Seldaek/monolog.git", - "reference": "bad29cb8d18ab0315e6c477751418a82c850d558" + "reference": "fd8c787753b3a2ad11bc60c063cff1358a32a3b4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Seldaek/monolog/zipball/bad29cb8d18ab0315e6c477751418a82c850d558", - "reference": "bad29cb8d18ab0315e6c477751418a82c850d558", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/fd8c787753b3a2ad11bc60c063cff1358a32a3b4", + "reference": "fd8c787753b3a2ad11bc60c063cff1358a32a3b4", "shasum": "" }, "require": { @@ -1073,7 +1135,7 @@ "phpunit/phpunit-mock-objects": "2.3.0", "ruflin/elastica": ">=0.90 <3.0", "sentry/sentry": "^0.13", - "swiftmailer/swiftmailer": "~5.3" + "swiftmailer/swiftmailer": "^5.3|^6.0" }, "suggest": { "aws/aws-sdk-php": "Allow sending log messages to AWS services like DynamoDB", @@ -1117,20 +1179,20 @@ "logging", "psr-3" ], - "time": "2016-11-26T00:15:39+00:00" + "time": "2017-06-19T01:22:40+00:00" }, { "name": "nelmio/cors-bundle", - "version": "1.5.1", + "version": "1.5.3", "source": { "type": "git", "url": "https://github.com/nelmio/NelmioCorsBundle.git", - "reference": "cc9a26517b65769e6e3cea10099d4a40ce11ca29" + "reference": "ac6576a599d7db9c2c6022602c188a5594216056" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nelmio/NelmioCorsBundle/zipball/cc9a26517b65769e6e3cea10099d4a40ce11ca29", - "reference": "cc9a26517b65769e6e3cea10099d4a40ce11ca29", + "url": "https://api.github.com/repos/nelmio/NelmioCorsBundle/zipball/ac6576a599d7db9c2c6022602c188a5594216056", + "reference": "ac6576a599d7db9c2c6022602c188a5594216056", "shasum": "" }, "require": { @@ -1174,20 +1236,20 @@ "cors", "crossdomain" ], - "time": "2017-01-22T21:34:09+00:00" + "time": "2017-04-24T09:12:42+00:00" }, { "name": "paragonie/random_compat", - "version": "v2.0.4", + "version": "v2.0.10", "source": { "type": "git", "url": "https://github.com/paragonie/random_compat.git", - "reference": "a9b97968bcde1c4de2a5ec6cbd06a0f6c919b46e" + "reference": "634bae8e911eefa89c1abfbf1b66da679ac8f54d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/paragonie/random_compat/zipball/a9b97968bcde1c4de2a5ec6cbd06a0f6c919b46e", - "reference": "a9b97968bcde1c4de2a5ec6cbd06a0f6c919b46e", + "url": "https://api.github.com/repos/paragonie/random_compat/zipball/634bae8e911eefa89c1abfbf1b66da679ac8f54d", + "reference": "634bae8e911eefa89c1abfbf1b66da679ac8f54d", "shasum": "" }, "require": { @@ -1222,7 +1284,7 @@ "pseudorandom", "random" ], - "time": "2016-11-07T23:38:38+00:00" + "time": "2017-03-13T16:27:32+00:00" }, { "name": "phpdocumentor/reflection-common", @@ -1416,6 +1478,104 @@ ], "time": "2016-08-06T20:24:11+00:00" }, + { + "name": "psr/container", + "version": "1.0.0", + "source": { + "type": "git", + "url": "https://github.com/php-fig/container.git", + "reference": "b7ce3b176482dbbc1245ebf52b181af44c2cf55f" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/container/zipball/b7ce3b176482dbbc1245ebf52b181af44c2cf55f", + "reference": "b7ce3b176482dbbc1245ebf52b181af44c2cf55f", + "shasum": "" + }, + "require": { + "php": ">=5.3.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Container\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" + } + ], + "description": "Common Container Interface (PHP FIG PSR-11)", + "homepage": "https://github.com/php-fig/container", + "keywords": [ + "PSR-11", + "container", + "container-interface", + "container-interop", + "psr" + ], + "time": "2017-02-14T16:28:37+00:00" + }, + { + "name": "psr/link", + "version": "1.0.0", + "source": { + "type": "git", + "url": "https://github.com/php-fig/link.git", + "reference": "eea8e8662d5cd3ae4517c9b864493f59fca95562" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/link/zipball/eea8e8662d5cd3ae4517c9b864493f59fca95562", + "reference": "eea8e8662d5cd3ae4517c9b864493f59fca95562", + "shasum": "" + }, + "require": { + "php": ">=5.3.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Link\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" + } + ], + "description": "Common interfaces for HTTP links", + "keywords": [ + "http", + "http-link", + "link", + "psr", + "psr-13", + "rest" + ], + "time": "2016-10-28T16:06:13+00:00" + }, { "name": "psr/log", "version": "1.0.2", @@ -1463,18 +1623,66 @@ ], "time": "2016-10-10T12:19:37+00:00" }, + { + "name": "psr/simple-cache", + "version": "1.0.0", + "source": { + "type": "git", + "url": "https://github.com/php-fig/simple-cache.git", + "reference": "753fa598e8f3b9966c886fe13f370baa45ef0e24" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/753fa598e8f3b9966c886fe13f370baa45ef0e24", + "reference": "753fa598e8f3b9966c886fe13f370baa45ef0e24", + "shasum": "" + }, + "require": { + "php": ">=5.3.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\SimpleCache\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" + } + ], + "description": "Common interfaces for simple caching", + "keywords": [ + "cache", + "caching", + "psr", + "psr-16", + "simple-cache" + ], + "time": "2017-01-02T13:31:39+00:00" + }, { "name": "sensio/distribution-bundle", - "version": "v5.0.18", + "version": "v5.0.21", "source": { "type": "git", "url": "https://github.com/sensiolabs/SensioDistributionBundle.git", - "reference": "17846680901003d26d823c2e3ac9228702837916" + "reference": "eb6266b3b472e4002538610b28a0a04bcf94891a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sensiolabs/SensioDistributionBundle/zipball/17846680901003d26d823c2e3ac9228702837916", - "reference": "17846680901003d26d823c2e3ac9228702837916", + "url": "https://api.github.com/repos/sensiolabs/SensioDistributionBundle/zipball/eb6266b3b472e4002538610b28a0a04bcf94891a", + "reference": "eb6266b3b472e4002538610b28a0a04bcf94891a", "shasum": "" }, "require": { @@ -1513,41 +1721,43 @@ "configuration", "distribution" ], - "time": "2017-01-10T14:58:45+00:00" + "time": "2017-08-25T16:55:44+00:00" }, { "name": "sensio/framework-extra-bundle", - "version": "v3.0.19", + "version": "v3.0.27", "source": { "type": "git", "url": "https://github.com/sensiolabs/SensioFrameworkExtraBundle.git", - "reference": "d57c2f297d17ee82baf8cae0b16dae34a9378784" + "reference": "2651d2c70c5fec10beaa670c61fd8ff1e8b3869a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sensiolabs/SensioFrameworkExtraBundle/zipball/d57c2f297d17ee82baf8cae0b16dae34a9378784", - "reference": "d57c2f297d17ee82baf8cae0b16dae34a9378784", + "url": "https://api.github.com/repos/sensiolabs/SensioFrameworkExtraBundle/zipball/2651d2c70c5fec10beaa670c61fd8ff1e8b3869a", + "reference": "2651d2c70c5fec10beaa670c61fd8ff1e8b3869a", "shasum": "" }, "require": { "doctrine/common": "~2.2", - "symfony/dependency-injection": "~2.3|~3.0", - "symfony/framework-bundle": "~2.3|~3.0" + "symfony/dependency-injection": "~2.3|~3.0|~4.0", + "symfony/framework-bundle": "~2.3|~3.0|~4.0" }, "require-dev": { - "symfony/asset": "~2.7|~3.0", - "symfony/browser-kit": "~2.3|~3.0", - "symfony/dom-crawler": "~2.3|~3.0", - "symfony/expression-language": "~2.4|~3.0", - "symfony/finder": "~2.3|~3.0", - "symfony/phpunit-bridge": "~3.2", - "symfony/psr-http-message-bridge": "^0.3", - "symfony/security-bundle": "~2.4|~3.0", - "symfony/templating": "~2.3|~3.0", - "symfony/translation": "~2.3|~3.0", - "symfony/twig-bundle": "~2.3|~3.0", - "symfony/yaml": "~2.3|~3.0", - "twig/twig": "~1.11|~2.0", + "doctrine/doctrine-bundle": "~1.5", + "doctrine/orm": "~2.4,>=2.4.5", + "symfony/asset": "~2.7|~3.0|~4.0", + "symfony/browser-kit": "~2.3|~3.0|~4.0", + "symfony/dom-crawler": "~2.3|~3.0|~4.0", + "symfony/expression-language": "~2.4|~3.0|~4.0", + "symfony/finder": "~2.3|~3.0|~4.0", + "symfony/phpunit-bridge": "~3.2|~4.0", + "symfony/psr-http-message-bridge": "^0.3|^1.0", + "symfony/security-bundle": "~2.4|~3.0|~4.0", + "symfony/templating": "~2.3|~3.0|~4.0", + "symfony/translation": "~2.3|~3.0|~4.0", + "symfony/twig-bundle": "~2.3|~3.0|~4.0", + "symfony/yaml": "~2.3|~3.0|~4.0", + "twig/twig": "~1.12|~2.0", "zendframework/zend-diactoros": "^1.3" }, "suggest": { @@ -1581,23 +1791,24 @@ "annotations", "controllers" ], - "time": "2017-01-10T19:42:56+00:00" + "time": "2017-08-23T12:40:59+00:00" }, { "name": "sensiolabs/security-checker", - "version": "v4.0.0", + "version": "v4.1.5", "source": { "type": "git", "url": "https://github.com/sensiolabs/security-checker.git", - "reference": "116027b57b568ed61b7b1c80eeb4f6ee9e8c599c" + "reference": "55553c3ad6ae2121c1b1475d4c880d71b31b8f68" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sensiolabs/security-checker/zipball/116027b57b568ed61b7b1c80eeb4f6ee9e8c599c", - "reference": "116027b57b568ed61b7b1c80eeb4f6ee9e8c599c", + "url": "https://api.github.com/repos/sensiolabs/security-checker/zipball/55553c3ad6ae2121c1b1475d4c880d71b31b8f68", + "reference": "55553c3ad6ae2121c1b1475d4c880d71b31b8f68", "shasum": "" }, "require": { + "composer/ca-bundle": "^1.0", "symfony/console": "~2.7|~3.0" }, "bin": [ @@ -1606,7 +1817,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "4.0-dev" + "dev-master": "4.1-dev" } }, "autoload": { @@ -1625,20 +1836,20 @@ } ], "description": "A security checker for your composer.lock", - "time": "2016-09-23T18:09:57+00:00" + "time": "2017-08-22T22:18:16+00:00" }, { "name": "swiftmailer/swiftmailer", - "version": "v5.4.5", + "version": "v5.4.8", "source": { "type": "git", "url": "https://github.com/swiftmailer/swiftmailer.git", - "reference": "cd142238a339459b10da3d8234220963f392540c" + "reference": "9a06dc570a0367850280eefd3f1dc2da45aef517" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/swiftmailer/swiftmailer/zipball/cd142238a339459b10da3d8234220963f392540c", - "reference": "cd142238a339459b10da3d8234220963f392540c", + "url": "https://api.github.com/repos/swiftmailer/swiftmailer/zipball/9a06dc570a0367850280eefd3f1dc2da45aef517", + "reference": "9a06dc570a0367850280eefd3f1dc2da45aef517", "shasum": "" }, "require": { @@ -1679,20 +1890,20 @@ "mail", "mailer" ], - "time": "2016-12-29T10:02:40+00:00" + "time": "2017-05-01T15:54:03+00:00" }, { "name": "symfony/monolog-bundle", - "version": "v3.0.3", + "version": "v3.1.0", "source": { "type": "git", "url": "https://github.com/symfony/monolog-bundle.git", - "reference": "ebce76a39a65495a66c34eb1574cc4b9e35a4e64" + "reference": "6f96c7dbb6b2ef70b307a1a6f897153cbca3da47" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/monolog-bundle/zipball/ebce76a39a65495a66c34eb1574cc4b9e35a4e64", - "reference": "ebce76a39a65495a66c34eb1574cc4b9e35a4e64", + "url": "https://api.github.com/repos/symfony/monolog-bundle/zipball/6f96c7dbb6b2ef70b307a1a6f897153cbca3da47", + "reference": "6f96c7dbb6b2ef70b307a1a6f897153cbca3da47", "shasum": "" }, "require": { @@ -1739,25 +1950,25 @@ "log", "logging" ], - "time": "2017-01-10T20:01:51+00:00" + "time": "2017-03-26T11:55:59+00:00" }, { "name": "symfony/polyfill-intl-icu", - "version": "v1.3.0", + "version": "v1.5.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-icu.git", - "reference": "2d6e2b20d457603eefb6e614286c22efca30fdb4" + "reference": "4aa0b65dc71a7369c1e7e6e2a3ca027d9decdb09" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-icu/zipball/2d6e2b20d457603eefb6e614286c22efca30fdb4", - "reference": "2d6e2b20d457603eefb6e614286c22efca30fdb4", + "url": "https://api.github.com/repos/symfony/polyfill-intl-icu/zipball/4aa0b65dc71a7369c1e7e6e2a3ca027d9decdb09", + "reference": "4aa0b65dc71a7369c1e7e6e2a3ca027d9decdb09", "shasum": "" }, "require": { "php": ">=5.3.3", - "symfony/intl": "~2.3|~3.0" + "symfony/intl": "~2.3|~3.0|~4.0" }, "suggest": { "ext-intl": "For best performance" @@ -1765,7 +1976,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.3-dev" + "dev-master": "1.5-dev" } }, "autoload": { @@ -1797,20 +2008,20 @@ "portable", "shim" ], - "time": "2016-11-14T01:06:16+00:00" + "time": "2017-06-14T15:44:48+00:00" }, { "name": "symfony/polyfill-mbstring", - "version": "v1.3.0", + "version": "v1.5.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "e79d363049d1c2128f133a2667e4f4190904f7f4" + "reference": "7c8fae0ac1d216eb54349e6a8baa57d515fe8803" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/e79d363049d1c2128f133a2667e4f4190904f7f4", - "reference": "e79d363049d1c2128f133a2667e4f4190904f7f4", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/7c8fae0ac1d216eb54349e6a8baa57d515fe8803", + "reference": "7c8fae0ac1d216eb54349e6a8baa57d515fe8803", "shasum": "" }, "require": { @@ -1822,7 +2033,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.3-dev" + "dev-master": "1.5-dev" } }, "autoload": { @@ -1856,20 +2067,20 @@ "portable", "shim" ], - "time": "2016-11-14T01:06:16+00:00" + "time": "2017-06-14T15:44:48+00:00" }, { "name": "symfony/polyfill-php56", - "version": "v1.3.0", + "version": "v1.5.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php56.git", - "reference": "1dd42b9b89556f18092f3d1ada22cb05ac85383c" + "reference": "e85ebdef569b84e8709864e1a290c40f156b30ca" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php56/zipball/1dd42b9b89556f18092f3d1ada22cb05ac85383c", - "reference": "1dd42b9b89556f18092f3d1ada22cb05ac85383c", + "url": "https://api.github.com/repos/symfony/polyfill-php56/zipball/e85ebdef569b84e8709864e1a290c40f156b30ca", + "reference": "e85ebdef569b84e8709864e1a290c40f156b30ca", "shasum": "" }, "require": { @@ -1879,7 +2090,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.3-dev" + "dev-master": "1.5-dev" } }, "autoload": { @@ -1912,20 +2123,20 @@ "portable", "shim" ], - "time": "2016-11-14T01:06:16+00:00" + "time": "2017-06-14T15:44:48+00:00" }, { "name": "symfony/polyfill-php70", - "version": "v1.3.0", + "version": "v1.5.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php70.git", - "reference": "13ce343935f0f91ca89605a2f6ca6f5c2f3faac2" + "reference": "b6482e68974486984f59449ecea1fbbb22ff840f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php70/zipball/13ce343935f0f91ca89605a2f6ca6f5c2f3faac2", - "reference": "13ce343935f0f91ca89605a2f6ca6f5c2f3faac2", + "url": "https://api.github.com/repos/symfony/polyfill-php70/zipball/b6482e68974486984f59449ecea1fbbb22ff840f", + "reference": "b6482e68974486984f59449ecea1fbbb22ff840f", "shasum": "" }, "require": { @@ -1935,7 +2146,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.3-dev" + "dev-master": "1.5-dev" } }, "autoload": { @@ -1971,20 +2182,20 @@ "portable", "shim" ], - "time": "2016-11-14T01:06:16+00:00" + "time": "2017-06-14T15:44:48+00:00" }, { "name": "symfony/polyfill-util", - "version": "v1.3.0", + "version": "v1.5.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-util.git", - "reference": "746bce0fca664ac0a575e465f65c6643faddf7fb" + "reference": "67925d1cf0b84bd234a83bebf26d4eb281744c6d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-util/zipball/746bce0fca664ac0a575e465f65c6643faddf7fb", - "reference": "746bce0fca664ac0a575e465f65c6643faddf7fb", + "url": "https://api.github.com/repos/symfony/polyfill-util/zipball/67925d1cf0b84bd234a83bebf26d4eb281744c6d", + "reference": "67925d1cf0b84bd234a83bebf26d4eb281744c6d", "shasum": "" }, "require": { @@ -1993,7 +2204,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.3-dev" + "dev-master": "1.5-dev" } }, "autoload": { @@ -2023,25 +2234,25 @@ "polyfill", "shim" ], - "time": "2016-11-14T01:06:16+00:00" + "time": "2017-07-05T15:09:33+00:00" }, { "name": "symfony/swiftmailer-bundle", - "version": "v2.4.2", + "version": "v2.6.3", "source": { "type": "git", "url": "https://github.com/symfony/swiftmailer-bundle.git", - "reference": "ad751095576ce0c12a284e30e3fff80c91f27225" + "reference": "11555c338f3c367b0a1bd2f024a53aa813f4ce00" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/swiftmailer-bundle/zipball/ad751095576ce0c12a284e30e3fff80c91f27225", - "reference": "ad751095576ce0c12a284e30e3fff80c91f27225", + "url": "https://api.github.com/repos/symfony/swiftmailer-bundle/zipball/11555c338f3c367b0a1bd2f024a53aa813f4ce00", + "reference": "11555c338f3c367b0a1bd2f024a53aa813f4ce00", "shasum": "" }, "require": { "php": ">=5.3.2", - "swiftmailer/swiftmailer": ">=4.2.0,~5.0", + "swiftmailer/swiftmailer": "~4.2|~5.0", "symfony/config": "~2.7|~3.0", "symfony/dependency-injection": "~2.7|~3.0", "symfony/http-kernel": "~2.7|~3.0" @@ -2049,7 +2260,7 @@ "require-dev": { "symfony/console": "~2.7|~3.0", "symfony/framework-bundle": "~2.7|~3.0", - "symfony/phpunit-bridge": "~2.7|~3.0", + "symfony/phpunit-bridge": "~3.3@dev", "symfony/yaml": "~2.7|~3.0" }, "suggest": { @@ -2058,7 +2269,7 @@ "type": "symfony-bundle", "extra": { "branch-alias": { - "dev-master": "2.4-dev" + "dev-master": "2.6-dev" } }, "autoload": { @@ -2082,40 +2293,48 @@ ], "description": "Symfony SwiftmailerBundle", "homepage": "http://symfony.com", - "time": "2016-12-20T04:44:33+00:00" + "time": "2017-07-22T07:18:13+00:00" }, { "name": "symfony/symfony", - "version": "v3.2.2", + "version": "v3.3.6", "source": { "type": "git", "url": "https://github.com/symfony/symfony.git", - "reference": "358c59fd21f9db7fdb465d1e07fba822d9e18e9e" + "reference": "6f80cbd2dd89c5308b14e03d806356fac72c263e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/symfony/zipball/358c59fd21f9db7fdb465d1e07fba822d9e18e9e", - "reference": "358c59fd21f9db7fdb465d1e07fba822d9e18e9e", + "url": "https://api.github.com/repos/symfony/symfony/zipball/6f80cbd2dd89c5308b14e03d806356fac72c263e", + "reference": "6f80cbd2dd89c5308b14e03d806356fac72c263e", "shasum": "" }, "require": { "doctrine/common": "~2.4", + "ext-xml": "*", + "fig/link-util": "^1.0", "php": ">=5.5.9", "psr/cache": "~1.0", + "psr/container": "^1.0", + "psr/link": "^1.0", "psr/log": "~1.0", + "psr/simple-cache": "^1.0", "symfony/polyfill-intl-icu": "~1.0", "symfony/polyfill-mbstring": "~1.0", "symfony/polyfill-php56": "~1.0", "symfony/polyfill-php70": "~1.0", "symfony/polyfill-util": "~1.0", - "twig/twig": "~1.28|~2.0" + "twig/twig": "~1.34|~2.4" }, "conflict": { - "phpdocumentor/reflection-docblock": "<3.0", - "phpdocumentor/type-resolver": "<0.2.0" + "phpdocumentor/reflection-docblock": "<3.0||>=3.2.0", + "phpdocumentor/type-resolver": "<0.2.0", + "phpunit/phpunit": "<4.8.35|<5.4.3,>=5.0" }, "provide": { - "psr/cache-implementation": "1.0" + "psr/cache-implementation": "1.0", + "psr/container-implementation": "1.0", + "psr/simple-cache-implementation": "1.0" }, "replace": { "symfony/asset": "self.version", @@ -2130,6 +2349,7 @@ "symfony/dependency-injection": "self.version", "symfony/doctrine-bridge": "self.version", "symfony/dom-crawler": "self.version", + "symfony/dotenv": "self.version", "symfony/event-dispatcher": "self.version", "symfony/expression-language": "self.version", "symfony/filesystem": "self.version", @@ -2162,7 +2382,9 @@ "symfony/twig-bundle": "self.version", "symfony/validator": "self.version", "symfony/var-dumper": "self.version", + "symfony/web-link": "self.version", "symfony/web-profiler-bundle": "self.version", + "symfony/web-server-bundle": "self.version", "symfony/workflow": "self.version", "symfony/yaml": "self.version" }, @@ -2178,6 +2400,7 @@ "ocramius/proxy-manager": "~0.4|~1.0|~2.0", "phpdocumentor/reflection-docblock": "^3.0", "predis/predis": "~1.0", + "sensio/framework-extra-bundle": "^3.0.2", "symfony/phpunit-bridge": "~3.2", "symfony/polyfill-apcu": "~1.1", "symfony/security-acl": "~2.8|~3.0" @@ -2185,7 +2408,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "3.2-dev" + "dev-master": "3.3-dev" } }, "autoload": { @@ -2193,7 +2416,6 @@ "Symfony\\Bridge\\Doctrine\\": "src/Symfony/Bridge/Doctrine/", "Symfony\\Bridge\\Monolog\\": "src/Symfony/Bridge/Monolog/", "Symfony\\Bridge\\ProxyManager\\": "src/Symfony/Bridge/ProxyManager/", - "Symfony\\Bridge\\Swiftmailer\\": "src/Symfony/Bridge/Swiftmailer/", "Symfony\\Bridge\\Twig\\": "src/Symfony/Bridge/Twig/", "Symfony\\Bundle\\": "src/Symfony/Bundle/", "Symfony\\Component\\": "src/Symfony/Component/" @@ -2224,38 +2446,42 @@ "keywords": [ "framework" ], - "time": "2017-01-12T21:36:55+00:00" + "time": "2017-08-01T10:26:30+00:00" }, { "name": "twig/twig", - "version": "v1.31.0", + "version": "v1.34.4", "source": { "type": "git", "url": "https://github.com/twigphp/Twig.git", - "reference": "ddc9e3e20ee9c0b6908f401ac8353635b750eca7" + "reference": "f878bab48edb66ad9c6ed626bf817f60c6c096ee" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/twigphp/Twig/zipball/ddc9e3e20ee9c0b6908f401ac8353635b750eca7", - "reference": "ddc9e3e20ee9c0b6908f401ac8353635b750eca7", + "url": "https://api.github.com/repos/twigphp/Twig/zipball/f878bab48edb66ad9c6ed626bf817f60c6c096ee", + "reference": "f878bab48edb66ad9c6ed626bf817f60c6c096ee", "shasum": "" }, "require": { - "php": ">=5.2.7" + "php": ">=5.3.3" }, "require-dev": { + "psr/container": "^1.0", "symfony/debug": "~2.7", - "symfony/phpunit-bridge": "~3.2" + "symfony/phpunit-bridge": "~3.3@dev" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.31-dev" + "dev-master": "1.34-dev" } }, "autoload": { "psr-0": { "Twig_": "lib/" + }, + "psr-4": { + "Twig\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", @@ -2285,7 +2511,7 @@ "keywords": [ "templating" ], - "time": "2017-01-11T19:36:15+00:00" + "time": "2017-07-04T13:19:31+00:00" }, { "name": "webmozart/assert", @@ -2339,16 +2565,16 @@ }, { "name": "willdurand/negotiation", - "version": "v2.2.1", + "version": "v2.3.1", "source": { "type": "git", "url": "https://github.com/willdurand/Negotiation.git", - "reference": "1f210db45723b21edd69f39794662b8d64656b93" + "reference": "03436ededa67c6e83b9b12defac15384cb399dc9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/willdurand/Negotiation/zipball/1f210db45723b21edd69f39794662b8d64656b93", - "reference": "1f210db45723b21edd69f39794662b8d64656b93", + "url": "https://api.github.com/repos/willdurand/Negotiation/zipball/03436ededa67c6e83b9b12defac15384cb399dc9", + "reference": "03436ededa67c6e83b9b12defac15384cb399dc9", "shasum": "" }, "require": { @@ -2360,7 +2586,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "2.2-dev" + "dev-master": "2.3-dev" } }, "autoload": { @@ -2387,7 +2613,7 @@ "header", "negotiation" ], - "time": "2016-10-14T09:17:47+00:00" + "time": "2017-05-14T17:21:12+00:00" } ], "packages-dev": [ @@ -2462,21 +2688,21 @@ }, { "name": "behat/behat", - "version": "v3.3.0", + "version": "v3.3.1", "source": { "type": "git", "url": "https://github.com/Behat/Behat.git", - "reference": "15a3a1857457eaa29cdf41564a5e421effb09526" + "reference": "44a58c1480d6144b2dc2c2bf02b9cef73c83840d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Behat/Behat/zipball/15a3a1857457eaa29cdf41564a5e421effb09526", - "reference": "15a3a1857457eaa29cdf41564a5e421effb09526", + "url": "https://api.github.com/repos/Behat/Behat/zipball/44a58c1480d6144b2dc2c2bf02b9cef73c83840d", + "reference": "44a58c1480d6144b2dc2c2bf02b9cef73c83840d", "shasum": "" }, "require": { "behat/gherkin": "^4.4.4", - "behat/transliterator": "~1.0", + "behat/transliterator": "^1.2", "container-interop/container-interop": "^1.1", "ext-mbstring": "*", "php": ">=5.3.3", @@ -2540,7 +2766,7 @@ "symfony", "testing" ], - "time": "2016-12-25T13:43:52+00:00" + "time": "2017-05-15T16:49:16+00:00" }, { "name": "behat/gherkin", @@ -2836,25 +3062,29 @@ }, { "name": "behat/transliterator", - "version": "v1.1.0", + "version": "v1.2.0", "source": { "type": "git", "url": "https://github.com/Behat/Transliterator.git", - "reference": "868e05be3a9f25ba6424c2dd4849567f50715003" + "reference": "826ce7e9c2a6664c0d1f381cbb38b1fb80a7ee2c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Behat/Transliterator/zipball/868e05be3a9f25ba6424c2dd4849567f50715003", - "reference": "868e05be3a9f25ba6424c2dd4849567f50715003", + "url": "https://api.github.com/repos/Behat/Transliterator/zipball/826ce7e9c2a6664c0d1f381cbb38b1fb80a7ee2c", + "reference": "826ce7e9c2a6664c0d1f381cbb38b1fb80a7ee2c", "shasum": "" }, "require": { "php": ">=5.3.3" }, + "require-dev": { + "chuyskywalker/rolling-curl": "^3.1", + "php-yaoi/php-yaoi": "^1.0" + }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.1-dev" + "dev-master": "1.2-dev" } }, "autoload": { @@ -2872,20 +3102,20 @@ "slug", "transliterator" ], - "time": "2015-09-28T16:26:35+00:00" + "time": "2017-04-04T11:38:05+00:00" }, { "name": "behatch/contexts", - "version": "2.5", + "version": "2.7.1", "source": { "type": "git", "url": "https://github.com/Behatch/contexts.git", - "reference": "1b6d9c99e4ecdf94b8b8382036f7f1d8cd071a89" + "reference": "b332c01f32e5709cb395fbd8a1fda5b76d528001" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Behatch/contexts/zipball/1b6d9c99e4ecdf94b8b8382036f7f1d8cd071a89", - "reference": "1b6d9c99e4ecdf94b8b8382036f7f1d8cd071a89", + "url": "https://api.github.com/repos/Behatch/contexts/zipball/b332c01f32e5709cb395fbd8a1fda5b76d528001", + "reference": "b332c01f32e5709cb395fbd8a1fda5b76d528001", "shasum": "" }, "require": { @@ -2893,21 +3123,22 @@ "behat/mink-extension": "~2.0", "justinrainbow/json-schema": "~1.4", "php": ">=5.4", + "symfony/http-foundation": "~2.3|~3.0", "symfony/property-access": "~2.3|~3.0" }, "replace": { "sanpi/behatch-contexts": "self.version" }, "require-dev": { - "atoum/atoum": "dev-master", + "atoum/atoum": "~2.8|~3.0", "behat/mink-goutte-driver": "~1.1", - "behat/mink-selenium2-driver": "~1.2", - "kherge/box": "~2.0" + "behat/mink-selenium2-driver": "~1.2" }, "type": "library", "autoload": { "psr-4": { - "Sanpi\\Behatch\\": "src/" + "Behatch\\": "src/", + "Sanpi\\Behatch\\": "src/class_aliases/" } }, "notification-url": "https://packagist.org/downloads/", @@ -2921,22 +3152,25 @@ "Context", "Symfony2" ], - "time": "2016-02-19T18:29:26+00:00" + "time": "2017-07-04T11:00:15+00:00" }, { "name": "container-interop/container-interop", - "version": "1.1.0", + "version": "1.2.0", "source": { "type": "git", "url": "https://github.com/container-interop/container-interop.git", - "reference": "fc08354828f8fd3245f77a66b9e23a6bca48297e" + "reference": "79cbf1341c22ec75643d841642dd5d6acd83bdb8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/container-interop/container-interop/zipball/fc08354828f8fd3245f77a66b9e23a6bca48297e", - "reference": "fc08354828f8fd3245f77a66b9e23a6bca48297e", + "url": "https://api.github.com/repos/container-interop/container-interop/zipball/79cbf1341c22ec75643d841642dd5d6acd83bdb8", + "reference": "79cbf1341c22ec75643d841642dd5d6acd83bdb8", "shasum": "" }, + "require": { + "psr/container": "^1.0" + }, "type": "library", "autoload": { "psr-4": { @@ -2948,7 +3182,8 @@ "MIT" ], "description": "Promoting the interoperability of container objects (DIC, SL, etc.)", - "time": "2014-12-30T15:22:37+00:00" + "homepage": "https://github.com/container-interop/container-interop", + "time": "2017-02-14T19:40:03+00:00" }, { "name": "doctrine/data-fixtures", @@ -3073,16 +3308,16 @@ }, { "name": "friendsofphp/php-cs-fixer", - "version": "v1.13.1", + "version": "v1.13.2", "source": { "type": "git", "url": "https://github.com/FriendsOfPHP/PHP-CS-Fixer.git", - "reference": "0ea4f7ed06ca55da1d8fc45da26ff87f261c4088" + "reference": "106313aa0d501782260e48ac04a1c671b5d418ea" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/zipball/0ea4f7ed06ca55da1d8fc45da26ff87f261c4088", - "reference": "0ea4f7ed06ca55da1d8fc45da26ff87f261c4088", + "url": "https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/zipball/106313aa0d501782260e48ac04a1c671b5d418ea", + "reference": "106313aa0d501782260e48ac04a1c671b5d418ea", "shasum": "" }, "require": { @@ -3127,33 +3362,35 @@ } ], "description": "A tool to automatically fix PHP code style", - "time": "2016-12-01T00:05:05+00:00" + "time": "2017-08-19T11:43:55+00:00" }, { "name": "fzaninotto/faker", - "version": "v1.6.0", + "version": "v1.7.1", "source": { "type": "git", "url": "https://github.com/fzaninotto/Faker.git", - "reference": "44f9a286a04b80c76a4e5fb7aad8bb539b920123" + "reference": "d3ed4cc37051c1ca52d22d76b437d14809fc7e0d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/fzaninotto/Faker/zipball/44f9a286a04b80c76a4e5fb7aad8bb539b920123", - "reference": "44f9a286a04b80c76a4e5fb7aad8bb539b920123", + "url": "https://api.github.com/repos/fzaninotto/Faker/zipball/d3ed4cc37051c1ca52d22d76b437d14809fc7e0d", + "reference": "d3ed4cc37051c1ca52d22d76b437d14809fc7e0d", "shasum": "" }, "require": { - "php": "^5.3.3|^7.0" + "php": "^5.3.3 || ^7.0" }, "require-dev": { "ext-intl": "*", - "phpunit/phpunit": "~4.0", - "squizlabs/php_codesniffer": "~1.5" + "phpunit/phpunit": "^4.0 || ^5.0", + "squizlabs/php_codesniffer": "^1.5" }, "type": "library", "extra": { - "branch-alias": [] + "branch-alias": { + "dev-master": "1.8-dev" + } }, "autoload": { "psr-4": { @@ -3175,35 +3412,37 @@ "faker", "fixtures" ], - "time": "2016-04-29T12:21:54+00:00" + "time": "2017-08-15T16:48:10+00:00" }, { "name": "hautelook/alice-bundle", - "version": "v2.0.0-beta.3", + "version": "v2.0.0-beta.4", "source": { "type": "git", "url": "https://github.com/hautelook/AliceBundle.git", - "reference": "8c08ca1518103ed474048b571fdfe3b4b106e99a" + "reference": "7498289a307b6439e923b6b3eecea2a19fd1cf7b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/hautelook/AliceBundle/zipball/8c08ca1518103ed474048b571fdfe3b4b106e99a", - "reference": "8c08ca1518103ed474048b571fdfe3b4b106e99a", + "url": "https://api.github.com/repos/hautelook/AliceBundle/zipball/7498289a307b6439e923b6b3eecea2a19fd1cf7b", + "reference": "7498289a307b6439e923b6b3eecea2a19fd1cf7b", "shasum": "" }, "require": { "nelmio/alice": "^3.0-beta3@beta", "php": "^7.0", - "symfony/finder": "^2.7||^3.0" + "symfony/finder": "^2.7||^3.3", + "theofidry/alice-data-fixtures": "^1.0-beta5@beta" }, "require-dev": { + "doctrine/common": "^2.7.2", "doctrine/data-fixtures": "^1.2", - "doctrine/doctrine-bundle": "^1.6", - "doctrine/orm": "^2.5", + "doctrine/doctrine-bundle": "^1.6.8", + "doctrine/orm": "^2.5.6", + "phpspec/prophecy": "^1.7", "phpunit/phpunit": "^5.6", "symfony/phpunit-bridge": "^3.1", - "symfony/symfony": "^2.3||~3.0", - "theofidry/alice-data-fixtures": "^1.0-beta4@beta" + "symfony/symfony": "^3.3" }, "suggest": { "theofidry/alice-bundle-extension": "Behat extension for HautelookAliceBundle" @@ -3236,7 +3475,7 @@ "homepage": "https://github.com/theofidry" } ], - "description": "Symfony2 Bundle to manage fixtures with Alice and Faker.", + "description": "Symfony bundle to manage fixtures with Alice and Faker.", "keywords": [ "Fixture", "alice", @@ -3244,7 +3483,7 @@ "orm", "symfony" ], - "time": "2016-12-17T15:16:24+00:00" + "time": "2017-07-09T12:53:29+00:00" }, { "name": "justinrainbow/json-schema", @@ -3314,16 +3553,16 @@ }, { "name": "league/html-to-markdown", - "version": "4.4.0", + "version": "4.4.1", "source": { "type": "git", "url": "https://github.com/thephpleague/html-to-markdown.git", - "reference": "13bd919efe19577084d73d14f8733244128eeaba" + "reference": "82ea375b5b2b1da1da222644c0565c695bf88186" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/html-to-markdown/zipball/13bd919efe19577084d73d14f8733244128eeaba", - "reference": "13bd919efe19577084d73d14f8733244128eeaba", + "url": "https://api.github.com/repos/thephpleague/html-to-markdown/zipball/82ea375b5b2b1da1da222644c0565c695bf88186", + "reference": "82ea375b5b2b1da1da222644c0565c695bf88186", "shasum": "" }, "require": { @@ -3374,20 +3613,20 @@ "html", "markdown" ], - "time": "2016-12-28T22:51:42+00:00" + "time": "2017-03-16T00:45:59+00:00" }, { "name": "myclabs/deep-copy", - "version": "1.5.5", + "version": "1.6.1", "source": { "type": "git", "url": "https://github.com/myclabs/DeepCopy.git", - "reference": "399c1f9781e222f6eb6cc238796f5200d1b7f108" + "reference": "8e6e04167378abf1ddb4d3522d8755c5fd90d102" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/399c1f9781e222f6eb6cc238796f5200d1b7f108", - "reference": "399c1f9781e222f6eb6cc238796f5200d1b7f108", + "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/8e6e04167378abf1ddb4d3522d8755c5fd90d102", + "reference": "8e6e04167378abf1ddb4d3522d8755c5fd90d102", "shasum": "" }, "require": { @@ -3416,33 +3655,36 @@ "object", "object graph" ], - "time": "2016-10-31T17:19:45+00:00" + "time": "2017-04-12T18:52:22+00:00" }, { "name": "nelmio/alice", - "version": "v3.0.0-beta.3", + "version": "v3.0.0-RC.1", "source": { "type": "git", "url": "https://github.com/nelmio/alice.git", - "reference": "3e53619db2590bfa72552e724cad1613a6c5c9c0" + "reference": "8c7cc34a11888c7c96096164665b53b615e50cce" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nelmio/alice/zipball/3e53619db2590bfa72552e724cad1613a6c5c9c0", - "reference": "3e53619db2590bfa72552e724cad1613a6c5c9c0", + "url": "https://api.github.com/repos/nelmio/alice/zipball/8c7cc34a11888c7c96096164665b53b615e50cce", + "reference": "8c7cc34a11888c7c96096164665b53b615e50cce", "shasum": "" }, "require": { - "fzaninotto/faker": "^1.0", + "fzaninotto/faker": "^1.6", "myclabs/deep-copy": "^1.5.2", "php": "^7.0", - "symfony/property-access": "^2.2||^3.0", - "symfony/yaml": "^2.0||^3.0" + "symfony/property-access": "^2.7.11||^3.0", + "symfony/yaml": "^2.7||^3.0" }, "require-dev": { - "bamarni/composer-bin-plugin": "^1.0.0", - "phpunit/phpunit": "^5.5", - "symfony/phpunit-bridge": "^3.1" + "bamarni/composer-bin-plugin": "^1.1.0", + "php-mock/php-mock": "^1.0", + "phpspec/prophecy": "^1.6", + "phpunit/phpunit": "^5.6", + "symfony/phpunit-bridge": "^3.1", + "symfony/var-dumper": "^3.2" }, "type": "library", "extra": { @@ -3455,7 +3697,7 @@ }, "autoload": { "files": [ - "src/functions.php" + "src/deep_clone.php" ], "psr-4": { "Nelmio\\Alice\\": "src" @@ -3486,27 +3728,27 @@ "faker", "test" ], - "time": "2016-12-16T22:40:38+00:00" + "time": "2017-06-28T23:22:17+00:00" }, { "name": "sebastian/diff", - "version": "1.4.1", + "version": "1.4.3", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/diff.git", - "reference": "13edfd8706462032c2f52b4b862974dd46b71c9e" + "reference": "7f066a26a962dbe58ddea9f72a4e82874a3975a4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/13edfd8706462032c2f52b4b862974dd46b71c9e", - "reference": "13edfd8706462032c2f52b4b862974dd46b71c9e", + "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/7f066a26a962dbe58ddea9f72a4e82874a3975a4", + "reference": "7f066a26a962dbe58ddea9f72a4e82874a3975a4", "shasum": "" }, "require": { - "php": ">=5.3.3" + "php": "^5.3.3 || ^7.0" }, "require-dev": { - "phpunit/phpunit": "~4.8" + "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0" }, "type": "library", "extra": { @@ -3538,20 +3780,20 @@ "keywords": [ "diff" ], - "time": "2015-12-08T07:14:41+00:00" + "time": "2017-05-22T07:24:03+00:00" }, { "name": "sensio/generator-bundle", - "version": "v3.1.2", + "version": "v3.1.6", "source": { "type": "git", "url": "https://github.com/sensiolabs/SensioGeneratorBundle.git", - "reference": "ec278c0bd530edf155c4a00900577b5cb80f559e" + "reference": "128bc5dabc91ca40b7445f094968dd70ccd58305" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sensiolabs/SensioGeneratorBundle/zipball/ec278c0bd530edf155c4a00900577b5cb80f559e", - "reference": "ec278c0bd530edf155c4a00900577b5cb80f559e", + "url": "https://api.github.com/repos/sensiolabs/SensioGeneratorBundle/zipball/128bc5dabc91ca40b7445f094968dd70ccd58305", + "reference": "128bc5dabc91ca40b7445f094968dd70ccd58305", "shasum": "" }, "require": { @@ -3563,7 +3805,9 @@ }, "require-dev": { "doctrine/orm": "~2.4", - "symfony/doctrine-bridge": "~2.7|~3.0" + "symfony/doctrine-bridge": "~2.7|~3.0", + "symfony/filesystem": "~2.7|~3.0", + "symfony/phpunit-bridge": "^3.3" }, "type": "symfony-bundle", "extra": { @@ -3590,26 +3834,30 @@ } ], "description": "This bundle generates code for you", - "time": "2016-12-05T16:01:19+00:00" + "time": "2017-07-18T07:57:44+00:00" }, { "name": "symfony/phpunit-bridge", - "version": "v3.2.2", + "version": "v3.3.6", "source": { "type": "git", "url": "https://github.com/symfony/phpunit-bridge.git", - "reference": "d32e4062c3a3dfb95709d2ca6dd89a327ae51c3b" + "reference": "c2c124b7f9de79f4a64dc011f041a3a2c768b913" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/phpunit-bridge/zipball/d32e4062c3a3dfb95709d2ca6dd89a327ae51c3b", - "reference": "d32e4062c3a3dfb95709d2ca6dd89a327ae51c3b", + "url": "https://api.github.com/repos/symfony/phpunit-bridge/zipball/c2c124b7f9de79f4a64dc011f041a3a2c768b913", + "reference": "c2c124b7f9de79f4a64dc011f041a3a2c768b913", "shasum": "" }, "require": { "php": ">=5.3.3" }, + "conflict": { + "phpunit/phpunit": "<4.8.35|<5.4.3,>=5.0" + }, "suggest": { + "ext-zip": "Zip support is required when using bin/simple-phpunit", "symfony/debug": "For tracking deprecated interfaces usages at runtime with DebugClassLoader" }, "bin": [ @@ -3618,7 +3866,7 @@ "type": "symfony-bridge", "extra": { "branch-alias": { - "dev-master": "3.2-dev" + "dev-master": "3.3-dev" } }, "autoload": { @@ -3648,33 +3896,43 @@ ], "description": "Symfony PHPUnit Bridge", "homepage": "https://symfony.com", - "time": "2017-01-06T17:19:17+00:00" + "time": "2017-06-12T13:35:45+00:00" }, { "name": "theofidry/alice-data-fixtures", - "version": "v1.0.0-beta.4", + "version": "v1.0.0-beta.5", "source": { "type": "git", "url": "https://github.com/theofidry/AliceDataFixtures.git", - "reference": "3cc2ea7acfa869b0c9e2c746fe7a72973533bf19" + "reference": "788b8364e5e7fdd527376c06863c4dce2550b456" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/theofidry/AliceDataFixtures/zipball/3cc2ea7acfa869b0c9e2c746fe7a72973533bf19", - "reference": "3cc2ea7acfa869b0c9e2c746fe7a72973533bf19", + "url": "https://api.github.com/repos/theofidry/AliceDataFixtures/zipball/788b8364e5e7fdd527376c06863c4dce2550b456", + "reference": "788b8364e5e7fdd527376c06863c4dce2550b456", "shasum": "" }, "require": { - "nelmio/alice": "^3.0@beta", - "php": "~7.0.0 || ~7.1.0" + "nelmio/alice": "^3.0-rc1@rc", + "php": "^7.0.0" }, "require-dev": { "bamarni/composer-bin-plugin": "^1.0", - "phpunit/phpunit": "^5.5", - "symfony/phpunit-bridge": "^3.1" + "phpspec/prophecy": "^1.7", + "phpunit/phpunit": "^6.0", + "symfony/phpunit-bridge": "^3.3.2" }, "suggest": { - "doctrine/orm": "To use Doctrine ORM" + "alcaeus/mongo-php-adapter": "To use Doctrine with the MongoDB flavour", + "doctrine/data-fixtures": "To use Doctrine", + "doctrine/dbal": "To use Doctrine with the PHPCR flavour", + "doctrine/mongodb": "To use Doctrine with the MongoDB flavour", + "doctrine/mongodb-odm": "To use Doctrine with the MongoDB flavour", + "doctrine/orm": "To use Doctrine ORM", + "doctrine/phpcr-odm": "To use Doctrine with the PHPCR flavour", + "illuminate/database": "To use Eloquent", + "jackalope/jackalope-doctrine-dbal": "To use Doctrine with the PHPCR flavour", + "ocramius/proxy-manager": "To avoid database connection on kernel boot" }, "type": "library", "extra": { @@ -3683,9 +3941,7 @@ }, "branch-alias": { "dev-master": "1.x-dev" - }, - "bin-dir": "bin", - "sort-packages": true + } }, "autoload": { "psr-4": { @@ -3712,12 +3968,13 @@ "orm", "tests" ], - "time": "2016-12-16T23:35:38+00:00" + "time": "2017-06-29T19:46:38+00:00" } ], "aliases": [], "minimum-stability": "stable", "stability-flags": { + "api-platform/core": 10, "nelmio/alice": 10, "theofidry/alice-data-fixtures": 10, "hautelook/alice-bundle": 10 diff --git a/src/AppBundle/Action/TestAction.php b/src/AppBundle/Action/TestAction.php new file mode 100644 index 000000000..dc640f9b9 --- /dev/null +++ b/src/AppBundle/Action/TestAction.php @@ -0,0 +1,45 @@ +entityManager = $entityManager; + } + + /** + * @Route( + * name="book_special", + * path="/books/{id}/special", + * defaults={"_api_resource_class"=Book::class, "_api_item_operation_name"="special"} + * ) + * @Method("GET") + */ + public function __invoke($data) // API Platform retrieves the PHP entity using the data provider then (for POST and + // PUT method) deserializes user data in it. Then passes it to the action. Here $data + // is an instance of Book having the given ID. By convention, the action's parameter + // must be called $data. + { + /** + * @var $data Book + */ + + $data->setAuthor(get_class($this->entityManager)); + return $data; // API Platform will automatically validate, persist (if you use Doctrine) and serialize an entity + // for you. If you prefer to do it yourself, return an instance of Symfony\Component\HttpFoundation\Response + } +} diff --git a/src/AppBundle/Entity/Book.php b/src/AppBundle/Entity/Book.php index c9905a6d7..23c342ebd 100644 --- a/src/AppBundle/Entity/Book.php +++ b/src/AppBundle/Entity/Book.php @@ -14,7 +14,11 @@ * * @ORM\Entity * @ApiResource( - * iri="http://schema.org/Book" + * iri="http://schema.org/Book", + * itemOperations={ + * "get"={"method"="GET"}, + * "special"={"route_name"="book_special"} + * } * ) */ class Book diff --git a/var/SymfonyRequirements.php b/var/SymfonyRequirements.php index 7e7a99de9..3b14a4022 100644 --- a/var/SymfonyRequirements.php +++ b/var/SymfonyRequirements.php @@ -633,12 +633,6 @@ function_exists('mb_strlen'), 'Install and enable the mbstring extension.' ); - $this->addRecommendation( - function_exists('iconv'), - 'iconv() should be available', - 'Install and enable the iconv extension.' - ); - $this->addRecommendation( function_exists('utf8_decode'), 'utf8_decode() should be available', diff --git a/web/config.php b/web/config.php index 9de1e88ae..fd7e17e6b 100644 --- a/web/config.php +++ b/web/config.php @@ -11,13 +11,13 @@ */ if (!isset($_SERVER['HTTP_HOST'])) { - exit('This script cannot be run from the CLI. Run it from a browser.'); + exit("This script cannot be run from the CLI. Run it from a browser.\n"); } -if (!in_array(@$_SERVER['REMOTE_ADDR'], [ +if (!in_array(@$_SERVER['REMOTE_ADDR'], array( '127.0.0.1', '::1', -])) { +))) { header('HTTP/1.0 403 Forbidden'); exit('This script is only accessible from localhost.'); }