From 4906c74d76aa7bd9a3953aaf36cd72ea4ad56fe6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arnaud=20Fr=C3=A9zet?= Date: Wed, 25 May 2016 16:29:50 +0200 Subject: [PATCH] Fix #695 (Store address not saved) --- composer.lock | 475 +++++++++++------- .../Controller/StoreController.php | 5 + 2 files changed, 309 insertions(+), 171 deletions(-) diff --git a/composer.lock b/composer.lock index 8f9ceb2e..7f30364b 100644 --- a/composer.lock +++ b/composer.lock @@ -476,16 +476,16 @@ }, { "name": "doctrine/doctrine-bundle", - "version": "1.6.1", + "version": "1.6.2", "source": { "type": "git", "url": "https://github.com/doctrine/DoctrineBundle.git", - "reference": "c4ffef2b2296e9d0179eb0b5248e5ae25c9bba3b" + "reference": "e9c2ccf573b59b7cea566390f34254fed3c20ed9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/DoctrineBundle/zipball/c4ffef2b2296e9d0179eb0b5248e5ae25c9bba3b", - "reference": "c4ffef2b2296e9d0179eb0b5248e5ae25c9bba3b", + "url": "https://api.github.com/repos/doctrine/DoctrineBundle/zipball/e9c2ccf573b59b7cea566390f34254fed3c20ed9", + "reference": "e9c2ccf573b59b7cea566390f34254fed3c20ed9", "shasum": "" }, "require": { @@ -501,6 +501,7 @@ "doctrine/orm": "~2.3", "phpunit/phpunit": "~4", "satooshi/php-coveralls": "~0.6.1", + "symfony/phpunit-bridge": "~2.7|~3.0", "symfony/validator": "~2.2|~3.0", "symfony/yaml": "~2.2|~3.0", "twig/twig": "~1.10" @@ -550,7 +551,7 @@ "orm", "persistence" ], - "time": "2015-11-16 17:11:46" + "time": "2016-01-10 17:21:44" }, { "name": "doctrine/doctrine-cache-bundle", @@ -932,21 +933,21 @@ }, { "name": "doctrine/migrations", - "version": "v1.3.0", + "version": "1.4.1", "source": { "type": "git", "url": "https://github.com/doctrine/migrations.git", - "reference": "2ce8d87d4247e4b87cc5905ea5f8446b12bd9b5b" + "reference": "0d0ff5da10c5d30846da32060bd9e357abf70a05" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/migrations/zipball/2ce8d87d4247e4b87cc5905ea5f8446b12bd9b5b", - "reference": "2ce8d87d4247e4b87cc5905ea5f8446b12bd9b5b", + "url": "https://api.github.com/repos/doctrine/migrations/zipball/0d0ff5da10c5d30846da32060bd9e357abf70a05", + "reference": "0d0ff5da10c5d30846da32060bd9e357abf70a05", "shasum": "" }, "require": { "doctrine/dbal": "~2.2", - "ocramius/proxy-manager": "^1.0", + "ocramius/proxy-manager": "^1.0|^2.0", "php": "^5.5|^7.0", "symfony/console": "~2.3|~3.0", "symfony/yaml": "~2.3|~3.0" @@ -954,18 +955,22 @@ "require-dev": { "doctrine/coding-standard": "dev-master", "doctrine/orm": "2.*", + "jdorn/sql-formatter": "~1.1", "johnkary/phpunit-speedtrap": "~1.0@dev", "mockery/mockery": "^0.9.4", "phpunit/phpunit": "~4.7", "satooshi/php-coveralls": "0.6.*" }, + "suggest": { + "jdorn/sql-formatter": "Allows to generate formatted SQL with the diff command." + }, "bin": [ "bin/doctrine-migrations" ], "type": "library", "extra": { "branch-alias": { - "dev-master": "v1.4.x-dev" + "dev-master": "v1.5.x-dev" } }, "autoload": { @@ -997,7 +1002,7 @@ "database", "migrations" ], - "time": "2016-01-23 09:49:17" + "time": "2016-03-14 12:29:11" }, { "name": "doctrine/orm", @@ -1077,16 +1082,16 @@ }, { "name": "elcodi/elcodi", - "version": "v2.0.2", + "version": "v2.0.3", "source": { "type": "git", "url": "https://github.com/elcodi/elcodi.git", - "reference": "8dea4fb1740ae42f7c9bba1cfd8942e42e39b0cb" + "reference": "8f3027e17bd436d17747a20e4851edc36edb69af" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/elcodi/elcodi/zipball/8dea4fb1740ae42f7c9bba1cfd8942e42e39b0cb", - "reference": "8dea4fb1740ae42f7c9bba1cfd8942e42e39b0cb", + "url": "https://api.github.com/repos/elcodi/elcodi/zipball/8f3027e17bd436d17747a20e4851edc36edb69af", + "reference": "8f3027e17bd436d17747a20e4851edc36edb69af", "shasum": "" }, "require": { @@ -1232,20 +1237,20 @@ "elcodi", "symfony" ], - "time": "2016-01-31 16:51:50" + "time": "2016-02-15 19:15:23" }, { "name": "goodby/csv", - "version": "1.2.0", + "version": "1.3.0", "source": { "type": "git", "url": "https://github.com/goodby/csv.git", - "reference": "66c376b3bd51bc90fd680bfdf3708c9a22b9d081" + "reference": "e71217b8d6110f3d1ac3784ef9b8a2383c3398b9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/goodby/csv/zipball/66c376b3bd51bc90fd680bfdf3708c9a22b9d081", - "reference": "66c376b3bd51bc90fd680bfdf3708c9a22b9d081", + "url": "https://api.github.com/repos/goodby/csv/zipball/e71217b8d6110f3d1ac3784ef9b8a2383c3398b9", + "reference": "e71217b8d6110f3d1ac3784ef9b8a2383c3398b9", "shasum": "" }, "require": { @@ -1289,7 +1294,7 @@ "export", "import" ], - "time": "2015-01-14 03:58:50" + "time": "2015-06-29 10:28:19" }, { "name": "guzzlehttp/guzzle", @@ -1452,16 +1457,16 @@ }, { "name": "hwi/oauth-bundle", - "version": "0.4.0", + "version": "0.4.1", "source": { "type": "git", "url": "https://github.com/hwi/HWIOAuthBundle.git", - "reference": "86b5a876224b8a26707813aa94d3637886aa2041" + "reference": "ae741802c8e99d8fa52de927fd483d0299911293" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/hwi/HWIOAuthBundle/zipball/86b5a876224b8a26707813aa94d3637886aa2041", - "reference": "86b5a876224b8a26707813aa94d3637886aa2041", + "url": "https://api.github.com/repos/hwi/HWIOAuthBundle/zipball/ae741802c8e99d8fa52de927fd483d0299911293", + "reference": "ae741802c8e99d8fa52de927fd483d0299911293", "shasum": "" }, "require": { @@ -1479,7 +1484,7 @@ "require-dev": { "doctrine/orm": "~2.3", "friendsofsymfony/user-bundle": "~1.3|~2.0", - "phpunit/phpunit": "~4.8", + "phpunit/phpunit": "~4.8|~5.0", "symfony/phpunit-bridge": "~2.7", "symfony/property-access": "~2.3", "symfony/twig-bundle": "~2.3", @@ -1588,7 +1593,7 @@ "yandex", "youtube" ], - "time": "2015-12-04 12:33:38" + "time": "2016-03-08 08:00:04" }, { "name": "incenteev/composer-parameter-handler", @@ -2056,16 +2061,16 @@ }, { "name": "knplabs/gaufrette", - "version": "0.2.0", + "version": "0.2.1", "source": { "type": "git", "url": "https://github.com/KnpLabs/Gaufrette.git", - "reference": "9d52413665284f9c96e0cef399fc14e68ac0aa5a" + "reference": "1696386ca66f2f046dea7892cf1f85fd82b5b68e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/KnpLabs/Gaufrette/zipball/9d52413665284f9c96e0cef399fc14e68ac0aa5a", - "reference": "9d52413665284f9c96e0cef399fc14e68ac0aa5a", + "url": "https://api.github.com/repos/KnpLabs/Gaufrette/zipball/1696386ca66f2f046dea7892cf1f85fd82b5b68e", + "reference": "1696386ca66f2f046dea7892cf1f85fd82b5b68e", "shasum": "" }, "require": { @@ -2076,11 +2081,11 @@ "aws/aws-sdk-php": "~2", "doctrine/dbal": ">=2.3", "dropbox-php/dropbox-php": "*", - "google/apiclient": "~1.1", + "google/apiclient": "~1.1.3", "herzult/php-ssh": "*", "microsoft/windowsazure": "dev-master", "mikey179/vfsstream": "~1.2.0", - "phpseclib/phpseclib": "dev-master", + "phpseclib/phpseclib": "^2.0", "phpspec/phpspec": "2.0.*", "phpunit/phpunit": "3.7.*", "rackspace/php-opencloud": "1.9.*" @@ -2106,7 +2111,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "0.2.x-dev" + "dev-master": "0.4.x-dev" } }, "autoload": { @@ -2136,7 +2141,7 @@ "filesystem", "media" ], - "time": "2015-05-26 08:25:40" + "time": "2016-03-03 09:36:22" }, { "name": "knplabs/knp-gaufrette-bundle", @@ -2659,16 +2664,16 @@ }, { "name": "monolog/monolog", - "version": "1.17.2", + "version": "1.19.0", "source": { "type": "git", "url": "https://github.com/Seldaek/monolog.git", - "reference": "bee7f0dc9c3e0b69a6039697533dca1e845c8c24" + "reference": "5f56ed5212dc509c8dc8caeba2715732abb32dbf" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Seldaek/monolog/zipball/bee7f0dc9c3e0b69a6039697533dca1e845c8c24", - "reference": "bee7f0dc9c3e0b69a6039697533dca1e845c8c24", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/5f56ed5212dc509c8dc8caeba2715732abb32dbf", + "reference": "5f56ed5212dc509c8dc8caeba2715732abb32dbf", "shasum": "" }, "require": { @@ -2683,13 +2688,13 @@ "doctrine/couchdb": "~1.0@dev", "graylog2/gelf-php": "~1.0", "jakub-onderka/php-parallel-lint": "0.9", + "php-amqplib/php-amqplib": "~2.4", "php-console/php-console": "^3.1.3", "phpunit/phpunit": "~4.5", "phpunit/phpunit-mock-objects": "2.3.0", "raven/raven": "^0.13", "ruflin/elastica": ">=0.90 <3.0", - "swiftmailer/swiftmailer": "~5.3", - "videlalvaro/php-amqplib": "~2.4" + "swiftmailer/swiftmailer": "~5.3" }, "suggest": { "aws/aws-sdk-php": "Allow sending log messages to AWS services like DynamoDB", @@ -2697,16 +2702,17 @@ "ext-amqp": "Allow sending log messages to an AMQP server (1.0+ required)", "ext-mongo": "Allow sending log messages to a MongoDB server", "graylog2/gelf-php": "Allow sending log messages to a GrayLog2 server", + "mongodb/mongodb": "Allow sending log messages to a MongoDB server via PHP Driver", + "php-amqplib/php-amqplib": "Allow sending log messages to an AMQP server using php-amqplib", "php-console/php-console": "Allow sending log messages to Google Chrome", "raven/raven": "Allow sending log messages to a Sentry server", "rollbar/rollbar": "Allow sending log messages to Rollbar", - "ruflin/elastica": "Allow sending log messages to an Elastic Search server", - "videlalvaro/php-amqplib": "Allow sending log messages to an AMQP server using php-amqplib" + "ruflin/elastica": "Allow sending log messages to an Elastic Search server" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.16.x-dev" + "dev-master": "2.0.x-dev" } }, "autoload": { @@ -2732,7 +2738,7 @@ "logging", "psr-3" ], - "time": "2015-10-14 12:51:02" + "time": "2016-04-12 18:29:35" }, { "name": "ocramius/proxy-manager", @@ -2861,16 +2867,16 @@ }, { "name": "paragonie/random_compat", - "version": "1.1.6", + "version": "v1.4.1", "source": { "type": "git", "url": "https://github.com/paragonie/random_compat.git", - "reference": "e6f80ab77885151908d0ec743689ca700886e8b0" + "reference": "c7e26a21ba357863de030f0b9e701c7d04593774" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/paragonie/random_compat/zipball/e6f80ab77885151908d0ec743689ca700886e8b0", - "reference": "e6f80ab77885151908d0ec743689ca700886e8b0", + "url": "https://api.github.com/repos/paragonie/random_compat/zipball/c7e26a21ba357863de030f0b9e701c7d04593774", + "reference": "c7e26a21ba357863de030f0b9e701c7d04593774", "shasum": "" }, "require": { @@ -2905,7 +2911,7 @@ "pseudorandom", "random" ], - "time": "2016-01-29 16:19:52" + "time": "2016-03-18 20:34:03" }, { "name": "paymentsuite/paymentsuite", @@ -3174,16 +3180,16 @@ }, { "name": "react/promise", - "version": "v2.2.1", + "version": "v2.4.1", "source": { "type": "git", "url": "https://github.com/reactphp/promise.git", - "reference": "3b6fca09c7d56321057fa8867c8dbe1abf648627" + "reference": "8025426794f1944de806618671d4fa476dc7626f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/reactphp/promise/zipball/3b6fca09c7d56321057fa8867c8dbe1abf648627", - "reference": "3b6fca09c7d56321057fa8867c8dbe1abf648627", + "url": "https://api.github.com/repos/reactphp/promise/zipball/8025426794f1944de806618671d4fa476dc7626f", + "reference": "8025426794f1944de806618671d4fa476dc7626f", "shasum": "" }, "require": { @@ -3214,30 +3220,30 @@ } ], "description": "A lightweight implementation of CommonJS Promises/A for PHP", - "time": "2015-07-03 13:48:55" + "time": "2016-05-03 17:50:52" }, { "name": "sebastian/money", - "version": "v1.6.1", + "version": "v1.6.2", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/money.git", - "reference": "19e8660d60e7b39ee6769b09b91eb3e35b2470ec" + "reference": "80fbed3202d7c515386d1866b4c242ba417c284f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/money/zipball/19e8660d60e7b39ee6769b09b91eb3e35b2470ec", - "reference": "19e8660d60e7b39ee6769b09b91eb3e35b2470ec", + "url": "https://api.github.com/repos/sebastianbergmann/money/zipball/80fbed3202d7c515386d1866b4c242ba417c284f", + "reference": "80fbed3202d7c515386d1866b4c242ba417c284f", "shasum": "" }, "require": { "ext-intl": "*", - "php": ">=5.4" + "php": "^5.4|^7.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.0.x-dev" + "dev-master": "1.6.x-dev" } }, "autoload": { @@ -3260,21 +3266,22 @@ "keywords": [ "money" ], - "time": "2015-06-24 19:59:23" + "abandoned": "mathiasverraes/money", + "time": "2016-04-17 14:19:15" }, { "name": "sensio/distribution-bundle", - "version": "v3.0.34", + "version": "v3.0.36", "target-dir": "Sensio/Bundle/DistributionBundle", "source": { "type": "git", "url": "https://github.com/sensiolabs/SensioDistributionBundle.git", - "reference": "587f3cd08bf8856cfc888b255f34f18b85930657" + "reference": "964a56e855acac38d4a81920b3a86543f7e8492f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sensiolabs/SensioDistributionBundle/zipball/587f3cd08bf8856cfc888b255f34f18b85930657", - "reference": "587f3cd08bf8856cfc888b255f34f18b85930657", + "url": "https://api.github.com/repos/sensiolabs/SensioDistributionBundle/zipball/964a56e855acac38d4a81920b3a86543f7e8492f", + "reference": "964a56e855acac38d4a81920b3a86543f7e8492f", "shasum": "" }, "require": { @@ -3320,29 +3327,36 @@ "configuration", "distribution" ], - "time": "2015-11-26 18:10:17" + "time": "2016-04-25 20:46:43" }, { "name": "sensio/framework-extra-bundle", - "version": "v3.0.12", + "version": "v3.0.16", "source": { "type": "git", "url": "https://github.com/sensiolabs/SensioFrameworkExtraBundle.git", - "reference": "3e8936fe13aa4086644977d334d8fcd275f50357" + "reference": "507a15f56fa7699f6cc8c2c7de4080b19ce22546" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sensiolabs/SensioFrameworkExtraBundle/zipball/3e8936fe13aa4086644977d334d8fcd275f50357", - "reference": "3e8936fe13aa4086644977d334d8fcd275f50357", + "url": "https://api.github.com/repos/sensiolabs/SensioFrameworkExtraBundle/zipball/507a15f56fa7699f6cc8c2c7de4080b19ce22546", + "reference": "507a15f56fa7699f6cc8c2c7de4080b19ce22546", "shasum": "" }, "require": { "doctrine/common": "~2.2", + "symfony/dependency-injection": "~2.3|~3.0", "symfony/framework-bundle": "~2.3|~3.0" }, "require-dev": { + "symfony/browser-kit": "~2.3|~3.0", + "symfony/dom-crawler": "~2.3|~3.0", "symfony/expression-language": "~2.4|~3.0", - "symfony/security-bundle": "~2.4|~3.0" + "symfony/finder": "~2.3|~3.0", + "symfony/phpunit-bridge": "~2.7|~3.0", + "symfony/security-bundle": "~2.4|~3.0", + "symfony/twig-bundle": "~2.3|~3.0", + "twig/twig": "~1.11|~2.0" }, "suggest": { "symfony/expression-language": "", @@ -3375,7 +3389,7 @@ "annotations", "controllers" ], - "time": "2015-12-18 17:39:27" + "time": "2016-03-25 17:08:27" }, { "name": "sensiolabs/security-checker", @@ -3538,16 +3552,16 @@ }, { "name": "swiftmailer/swiftmailer", - "version": "v5.4.1", + "version": "v5.4.2", "source": { "type": "git", "url": "https://github.com/swiftmailer/swiftmailer.git", - "reference": "0697e6aa65c83edf97bb0f23d8763f94e3f11421" + "reference": "d8db871a54619458a805229a057ea2af33c753e8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/swiftmailer/swiftmailer/zipball/0697e6aa65c83edf97bb0f23d8763f94e3f11421", - "reference": "0697e6aa65c83edf97bb0f23d8763f94e3f11421", + "url": "https://api.github.com/repos/swiftmailer/swiftmailer/zipball/d8db871a54619458a805229a057ea2af33c753e8", + "reference": "d8db871a54619458a805229a057ea2af33c753e8", "shasum": "" }, "require": { @@ -3587,20 +3601,20 @@ "mail", "mailer" ], - "time": "2015-06-06 14:19:39" + "time": "2016-05-01 08:45:47" }, { "name": "symfony/assetic-bundle", - "version": "v2.7.1", + "version": "v2.8.0", "source": { "type": "git", "url": "https://github.com/symfony/assetic-bundle.git", - "reference": "d885ec8451d5a7b077bda81bb19ac9fbff9cdc76" + "reference": "aa5b4f8b712f38745928fa845ddb73300bb2af6d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/assetic-bundle/zipball/d885ec8451d5a7b077bda81bb19ac9fbff9cdc76", - "reference": "d885ec8451d5a7b077bda81bb19ac9fbff9cdc76", + "url": "https://api.github.com/repos/symfony/assetic-bundle/zipball/aa5b4f8b712f38745928fa845ddb73300bb2af6d", + "reference": "aa5b4f8b712f38745928fa845ddb73300bb2af6d", "shasum": "" }, "require": { @@ -3657,24 +3671,24 @@ "compression", "minification" ], - "time": "2015-11-17 09:45:47" + "time": "2015-12-28 13:12:39" }, { "name": "symfony/monolog-bundle", - "version": "v2.8.2", + "version": "2.11.1", "source": { "type": "git", "url": "https://github.com/symfony/monolog-bundle.git", - "reference": "84785c4d44801c4dd82829fa2e1820cacfe2c46f" + "reference": "e7caf4936c7be82bc6d68df87f1d23a0d5bf6e00" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/monolog-bundle/zipball/84785c4d44801c4dd82829fa2e1820cacfe2c46f", - "reference": "84785c4d44801c4dd82829fa2e1820cacfe2c46f", + "url": "https://api.github.com/repos/symfony/monolog-bundle/zipball/e7caf4936c7be82bc6d68df87f1d23a0d5bf6e00", + "reference": "e7caf4936c7be82bc6d68df87f1d23a0d5bf6e00", "shasum": "" }, "require": { - "monolog/monolog": "~1.8", + "monolog/monolog": "~1.18", "php": ">=5.3.2", "symfony/config": "~2.3|~3.0", "symfony/dependency-injection": "~2.3|~3.0", @@ -3682,13 +3696,14 @@ "symfony/monolog-bridge": "~2.3|~3.0" }, "require-dev": { + "phpunit/phpunit": "^4.8", "symfony/console": "~2.3|~3.0", "symfony/yaml": "~2.3|~3.0" }, "type": "symfony-bundle", "extra": { "branch-alias": { - "dev-master": "2.8.x-dev" + "dev-master": "2.x-dev" } }, "autoload": { @@ -3716,7 +3731,119 @@ "log", "logging" ], - "time": "2015-11-17 10:02:29" + "time": "2016-04-13 16:21:01" + }, + { + "name": "symfony/polyfill-apcu", + "version": "v1.2.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-apcu.git", + "reference": "6d58bceaeea2c2d3eb62503839b18646e161cd6b" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-apcu/zipball/6d58bceaeea2c2d3eb62503839b18646e161cd6b", + "reference": "6d58bceaeea2c2d3eb62503839b18646e161cd6b", + "shasum": "" + }, + "require": { + "php": ">=5.3.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.2-dev" + } + }, + "autoload": { + "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 backporting apcu_* functions to lower PHP versions", + "homepage": "https://symfony.com", + "keywords": [ + "apcu", + "compatibility", + "polyfill", + "portable", + "shim" + ], + "time": "2016-05-18 14:26:46" + }, + { + "name": "symfony/polyfill-mbstring", + "version": "v1.2.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-mbstring.git", + "reference": "dff51f72b0706335131b00a7f49606168c582594" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/dff51f72b0706335131b00a7f49606168c582594", + "reference": "dff51f72b0706335131b00a7f49606168c582594", + "shasum": "" + }, + "require": { + "php": ">=5.3.3" + }, + "suggest": { + "ext-mbstring": "For best performance" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.2-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-05-18 14:26:46" }, { "name": "symfony/swiftmailer-bundle", @@ -3777,16 +3904,16 @@ }, { "name": "symfony/symfony", - "version": "v2.7.9", + "version": "v2.7.13", "source": { "type": "git", "url": "https://github.com/symfony/symfony.git", - "reference": "d3646cc6875c214d211001e0673ec9e91b5f2da7" + "reference": "7c23f76ba732de9b34075970b0d0a3ec9a5c38f0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/symfony/zipball/d3646cc6875c214d211001e0673ec9e91b5f2da7", - "reference": "d3646cc6875c214d211001e0673ec9e91b5f2da7", + "url": "https://api.github.com/repos/symfony/symfony/zipball/7c23f76ba732de9b34075970b0d0a3ec9a5c38f0", + "reference": "7c23f76ba732de9b34075970b0d0a3ec9a5c38f0", "shasum": "" }, "require": { @@ -3794,6 +3921,8 @@ "paragonie/random_compat": "~1.0", "php": ">=5.3.9", "psr/log": "~1.0", + "symfony/polyfill-apcu": "~1.1", + "symfony/polyfill-mbstring": "~1.1", "twig/twig": "~1.23|~2.0" }, "replace": { @@ -3850,7 +3979,7 @@ "egulias/email-validator": "~1.2", "ircmaxell/password-compat": "~1.0", "monolog/monolog": "~1.11", - "ocramius/proxy-manager": "~0.4|~1.0" + "ocramius/proxy-manager": "~0.4|~1.0|~2.0" }, "type": "library", "extra": { @@ -3898,7 +4027,7 @@ "keywords": [ "framework" ], - "time": "2016-01-14 10:41:56" + "time": "2016-05-09 20:35:47" }, { "name": "twig/extensions", @@ -4015,27 +4144,27 @@ }, { "name": "zendframework/zend-code", - "version": "2.6.2", + "version": "2.6.3", "source": { "type": "git", "url": "https://github.com/zendframework/zend-code.git", - "reference": "c4e8f976a772cfb14b47dabd69b5245a423082b4" + "reference": "95033f061b083e16cdee60530ec260d7d628b887" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/zendframework/zend-code/zipball/c4e8f976a772cfb14b47dabd69b5245a423082b4", - "reference": "c4e8f976a772cfb14b47dabd69b5245a423082b4", + "url": "https://api.github.com/repos/zendframework/zend-code/zipball/95033f061b083e16cdee60530ec260d7d628b887", + "reference": "95033f061b083e16cdee60530ec260d7d628b887", "shasum": "" }, "require": { - "php": ">=5.5", - "zendframework/zend-eventmanager": "^2.6|^3.0" + "php": "^5.5 || 7.0.0 - 7.0.4 || ^7.0.6", + "zendframework/zend-eventmanager": "^2.6 || ^3.0" }, "require-dev": { "doctrine/annotations": "~1.0", "fabpot/php-cs-fixer": "1.7.*", - "phpunit/phpunit": "~4.0", - "zendframework/zend-stdlib": "~2.7" + "phpunit/phpunit": "^4.8.21", + "zendframework/zend-stdlib": "^2.7 || ^3.0" }, "suggest": { "doctrine/annotations": "Doctrine\\Common\\Annotations >=1.0 for annotation features", @@ -4063,20 +4192,20 @@ "code", "zf2" ], - "time": "2016-01-05 05:58:37" + "time": "2016-04-20 17:26:42" }, { "name": "zendframework/zend-eventmanager", - "version": "3.0.0", + "version": "3.0.1", "source": { "type": "git", "url": "https://github.com/zendframework/zend-eventmanager.git", - "reference": "8c9917f1595ff260f289439bdeb1f46500c65d62" + "reference": "5c80bdee0e952be112dcec0968bad770082c3a6e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/zendframework/zend-eventmanager/zipball/8c9917f1595ff260f289439bdeb1f46500c65d62", - "reference": "8c9917f1595ff260f289439bdeb1f46500c65d62", + "url": "https://api.github.com/repos/zendframework/zend-eventmanager/zipball/5c80bdee0e952be112dcec0968bad770082c3a6e", + "reference": "5c80bdee0e952be112dcec0968bad770082c3a6e", "shasum": "" }, "require": { @@ -4087,11 +4216,11 @@ "container-interop/container-interop": "^1.1.0", "phpunit/phpunit": "~4.0", "squizlabs/php_codesniffer": "^2.0", - "zendframework/zend-stdlib": "^2.7.3" + "zendframework/zend-stdlib": "^2.7.3 || ^3.0" }, "suggest": { "container-interop/container-interop": "^1.1.0, to use the lazy listeners feature", - "zendframework/zend-stdlib": "^2.7.3, to use the FilterChain feature" + "zendframework/zend-stdlib": "^2.7.3 || ^3.0, to use the FilterChain feature" }, "type": "library", "extra": { @@ -4117,41 +4246,40 @@ "events", "zf2" ], - "time": "2016-01-12 23:27:48" + "time": "2016-02-18 20:53:00" } ], "packages-dev": [ { "name": "behat/behat", - "version": "v3.0.15", + "version": "v3.1.0", "source": { "type": "git", "url": "https://github.com/Behat/Behat.git", - "reference": "b35ae3d45332d80c532af69cc36f780a9397a996" + "reference": "359d987b3064d78f2d3a6ba3a355277f3b09b47f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Behat/Behat/zipball/b35ae3d45332d80c532af69cc36f780a9397a996", - "reference": "b35ae3d45332d80c532af69cc36f780a9397a996", + "url": "https://api.github.com/repos/Behat/Behat/zipball/359d987b3064d78f2d3a6ba3a355277f3b09b47f", + "reference": "359d987b3064d78f2d3a6ba3a355277f3b09b47f", "shasum": "" }, "require": { - "behat/gherkin": "~4.3", + "behat/gherkin": "~4.4", "behat/transliterator": "~1.0", "ext-mbstring": "*", "php": ">=5.3.3", - "symfony/class-loader": "~2.1", - "symfony/config": "~2.3", - "symfony/console": "~2.1", - "symfony/dependency-injection": "~2.1", - "symfony/event-dispatcher": "~2.1", - "symfony/translation": "~2.3", - "symfony/yaml": "~2.1" + "symfony/class-loader": "~2.1|~3.0", + "symfony/config": "~2.3|~3.0", + "symfony/console": "~2.1|~3.0", + "symfony/dependency-injection": "~2.1|~3.0", + "symfony/event-dispatcher": "~2.1|~3.0", + "symfony/translation": "~2.3|~3.0", + "symfony/yaml": "~2.1|~3.0" }, "require-dev": { - "phpspec/prophecy-phpunit": "~1.0", - "phpunit/phpunit": "~4.0", - "symfony/process": "~2.1" + "phpunit/phpunit": "~4.5", + "symfony/process": "~2.1|~3.0" }, "suggest": { "behat/mink-extension": "for integration with Mink testing framework", @@ -4164,7 +4292,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "3.0.x-dev" + "dev-master": "3.1.x-dev" } }, "autoload": { @@ -4200,7 +4328,7 @@ "symfony", "testing" ], - "time": "2015-02-22 14:10:33" + "time": "2016-03-28 07:04:45" }, { "name": "behat/gherkin", @@ -4262,24 +4390,24 @@ }, { "name": "behat/mink", - "version": "v1.7.0", + "version": "v1.7.1", "source": { "type": "git", "url": "https://github.com/minkphp/Mink.git", - "reference": "6c129030ec2cc029905cf969a56ca8f087b2dfdf" + "reference": "e6930b9c74693dff7f4e58577e1b1743399f3ff9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/minkphp/Mink/zipball/6c129030ec2cc029905cf969a56ca8f087b2dfdf", - "reference": "6c129030ec2cc029905cf969a56ca8f087b2dfdf", + "url": "https://api.github.com/repos/minkphp/Mink/zipball/e6930b9c74693dff7f4e58577e1b1743399f3ff9", + "reference": "e6930b9c74693dff7f4e58577e1b1743399f3ff9", "shasum": "" }, "require": { "php": ">=5.3.1", - "symfony/css-selector": "~2.1" + "symfony/css-selector": "~2.1|~3.0" }, "require-dev": { - "symfony/phpunit-bridge": "~2.7" + "symfony/phpunit-bridge": "~2.7|~3.0" }, "suggest": { "behat/mink-browserkit-driver": "extremely fast headless driver for Symfony\\Kernel-based apps (Sf2, Silex)", @@ -4316,24 +4444,24 @@ "testing", "web" ], - "time": "2015-09-20 20:24:03" + "time": "2016-03-05 08:26:18" }, { "name": "behat/mink-browserkit-driver", - "version": "v1.3.1", + "version": "v1.3.2", "source": { "type": "git", "url": "https://github.com/minkphp/MinkBrowserKitDriver.git", - "reference": "2650f5420e713e3807c7f09a07370a4f48367bf9" + "reference": "10e67fb4a295efcd62ea0bf16025a85ea19534fb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/minkphp/MinkBrowserKitDriver/zipball/2650f5420e713e3807c7f09a07370a4f48367bf9", - "reference": "2650f5420e713e3807c7f09a07370a4f48367bf9", + "url": "https://api.github.com/repos/minkphp/MinkBrowserKitDriver/zipball/10e67fb4a295efcd62ea0bf16025a85ea19534fb", + "reference": "10e67fb4a295efcd62ea0bf16025a85ea19534fb", "shasum": "" }, "require": { - "behat/mink": "~1.7@dev", + "behat/mink": "^1.7.1@dev", "php": ">=5.3.6", "symfony/browser-kit": "~2.3|~3.0", "symfony/dom-crawler": "~2.3|~3.0" @@ -4372,27 +4500,27 @@ "browser", "testing" ], - "time": "2016-01-19 16:59:07" + "time": "2016-03-05 08:59:47" }, { "name": "behat/mink-extension", - "version": "v2.1.0", + "version": "v2.2", "source": { "type": "git", "url": "https://github.com/Behat/MinkExtension.git", - "reference": "06e2b99d92e175719d7e841d5be16b7df1a233c5" + "reference": "5b4bda64ff456104564317e212c823e45cad9d59" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Behat/MinkExtension/zipball/06e2b99d92e175719d7e841d5be16b7df1a233c5", - "reference": "06e2b99d92e175719d7e841d5be16b7df1a233c5", + "url": "https://api.github.com/repos/Behat/MinkExtension/zipball/5b4bda64ff456104564317e212c823e45cad9d59", + "reference": "5b4bda64ff456104564317e212c823e45cad9d59", "shasum": "" }, "require": { "behat/behat": "~3.0,>=3.0.5", "behat/mink": "~1.5", "php": ">=5.3.2", - "symfony/config": "~2.2" + "symfony/config": "~2.2|~3.0" }, "require-dev": { "behat/mink-goutte-driver": "~1.1", @@ -4431,20 +4559,20 @@ "test", "web" ], - "time": "2015-09-29 17:42:41" + "time": "2016-02-15 07:55:18" }, { "name": "behat/mink-selenium2-driver", - "version": "v1.3.0", + "version": "v1.3.1", "source": { "type": "git", "url": "https://github.com/minkphp/MinkSelenium2Driver.git", - "reference": "bedbf1999c7ba1bc6921b30ee2eadf383e7ff5c9" + "reference": "473a9f3ebe0c134ee1e623ce8a9c852832020288" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/minkphp/MinkSelenium2Driver/zipball/bedbf1999c7ba1bc6921b30ee2eadf383e7ff5c9", - "reference": "bedbf1999c7ba1bc6921b30ee2eadf383e7ff5c9", + "url": "https://api.github.com/repos/minkphp/MinkSelenium2Driver/zipball/473a9f3ebe0c134ee1e623ce8a9c852832020288", + "reference": "473a9f3ebe0c134ee1e623ce8a9c852832020288", "shasum": "" }, "require": { @@ -4492,7 +4620,7 @@ "testing", "webdriver" ], - "time": "2015-09-21 21:02:54" + "time": "2016-03-05 09:10:18" }, { "name": "behat/symfony2-extension", @@ -4878,22 +5006,24 @@ }, { "name": "phpspec/prophecy", - "version": "v1.5.0", + "version": "v1.6.0", "source": { "type": "git", "url": "https://github.com/phpspec/prophecy.git", - "reference": "4745ded9307786b730d7a60df5cb5a6c43cf95f7" + "reference": "3c91bdf81797d725b14cb62906f9a4ce44235972" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpspec/prophecy/zipball/4745ded9307786b730d7a60df5cb5a6c43cf95f7", - "reference": "4745ded9307786b730d7a60df5cb5a6c43cf95f7", + "url": "https://api.github.com/repos/phpspec/prophecy/zipball/3c91bdf81797d725b14cb62906f9a4ce44235972", + "reference": "3c91bdf81797d725b14cb62906f9a4ce44235972", "shasum": "" }, "require": { "doctrine/instantiator": "^1.0.2", + "php": "^5.3|^7.0", "phpdocumentor/reflection-docblock": "~2.0", - "sebastian/comparator": "~1.1" + "sebastian/comparator": "~1.1", + "sebastian/recursion-context": "~1.0" }, "require-dev": { "phpspec/phpspec": "~2.0" @@ -4901,7 +5031,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.4.x-dev" + "dev-master": "1.5.x-dev" } }, "autoload": { @@ -4934,7 +5064,7 @@ "spy", "stub" ], - "time": "2015-08-13 10:07:40" + "time": "2016-02-15 07:46:21" }, { "name": "phpunit/php-code-coverage", @@ -5088,21 +5218,24 @@ }, { "name": "phpunit/php-timer", - "version": "1.0.7", + "version": "1.0.8", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-timer.git", - "reference": "3e82f4e9fc92665fafd9157568e4dcb01d014e5b" + "reference": "38e9124049cf1a164f1e4537caf19c99bf1eb260" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/3e82f4e9fc92665fafd9157568e4dcb01d014e5b", - "reference": "3e82f4e9fc92665fafd9157568e4dcb01d014e5b", + "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/38e9124049cf1a164f1e4537caf19c99bf1eb260", + "reference": "38e9124049cf1a164f1e4537caf19c99bf1eb260", "shasum": "" }, "require": { "php": ">=5.3.3" }, + "require-dev": { + "phpunit/phpunit": "~4|~5" + }, "type": "library", "autoload": { "classmap": [ @@ -5125,7 +5258,7 @@ "keywords": [ "timer" ], - "time": "2015-06-21 08:01:12" + "time": "2016-05-12 18:03:57" }, { "name": "phpunit/php-token-stream", @@ -5422,16 +5555,16 @@ }, { "name": "sebastian/environment", - "version": "1.3.3", + "version": "1.3.7", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/environment.git", - "reference": "6e7133793a8e5a5714a551a8324337374be209df" + "reference": "4e8f0da10ac5802913afc151413bc8c53b6c2716" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/6e7133793a8e5a5714a551a8324337374be209df", - "reference": "6e7133793a8e5a5714a551a8324337374be209df", + "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/4e8f0da10ac5802913afc151413bc8c53b6c2716", + "reference": "4e8f0da10ac5802913afc151413bc8c53b6c2716", "shasum": "" }, "require": { @@ -5468,7 +5601,7 @@ "environment", "hhvm" ], - "time": "2015-12-02 08:37:27" + "time": "2016-05-17 03:18:57" }, { "name": "sebastian/exporter", diff --git a/src/Elcodi/Admin/StoreBundle/Controller/StoreController.php b/src/Elcodi/Admin/StoreBundle/Controller/StoreController.php index ed61ad5c..8b65753a 100644 --- a/src/Elcodi/Admin/StoreBundle/Controller/StoreController.php +++ b/src/Elcodi/Admin/StoreBundle/Controller/StoreController.php @@ -186,6 +186,11 @@ private function saveStoreAndAddFlash(StoreInterface $store) ->get('elcodi.object_manager.store') ->flush($store); + // Issue #695: we must flush the whole entity manager otherwise the store address will not be saved + $this + ->get('elcodi.object_manager.store') + ->flush(); + $this->addFlash( 'success', 'admin.store.saved'