From 96acf0d85850858435da73d4ec1a258fc236fc1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20B=C3=B6hmer?= Date: Sat, 4 Jul 2020 23:38:18 +0200 Subject: [PATCH] Updated to doctrine migrations 3.0. --- composer.lock | 620 ++++++++++-------- config/packages/doctrine_migrations.yaml | 8 +- config/services.yaml | 3 + migrations/.gitignore | 0 {src/Migrations => migrations}/Version1.php | 10 +- .../Version20190902140506.php | 9 +- .../Version20190913141126.php | 7 +- .../Version20190924113252.php | 7 +- .../Version20191214153125.php | 7 +- .../Version20200126191823.php | 7 +- .../Version20200311204104.php | 7 +- .../Version20200409130946.php | 7 +- .../Version20200502161750.php | 3 +- .../LogSystem/LogDBMigrationSubscriber.php | 14 +- .../AbstractMultiPlatformMigration.php | 19 +- symfony.lock | 8 +- 16 files changed, 394 insertions(+), 342 deletions(-) create mode 100644 migrations/.gitignore rename {src/Migrations => migrations}/Version1.php (98%) rename {src/Migrations => migrations}/Version20190902140506.php (99%) rename {src/Migrations => migrations}/Version20190913141126.php (96%) rename {src/Migrations => migrations}/Version20190924113252.php (98%) rename {src/Migrations => migrations}/Version20191214153125.php (93%) rename {src/Migrations => migrations}/Version20200126191823.php (93%) rename {src/Migrations => migrations}/Version20200311204104.php (92%) rename {src/Migrations => migrations}/Version20200409130946.php (85%) rename {src/Migrations => migrations}/Version20200502161750.php (99%) rename src/{Migrations => Migration}/AbstractMultiPlatformMigration.php (83%) diff --git a/composer.lock b/composer.lock index 4894a7b1..b693ad94 100644 --- a/composer.lock +++ b/composer.lock @@ -70,16 +70,16 @@ }, { "name": "beberlei/doctrineextensions", - "version": "v1.2.6", + "version": "v1.2.7", "source": { "type": "git", "url": "https://github.com/beberlei/DoctrineExtensions.git", - "reference": "af72c4a136b744f1268ca8bb4da47a2f8af78f86" + "reference": "5f16b305dda06eda0d2d293c9d2bbd299249a996" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/beberlei/DoctrineExtensions/zipball/af72c4a136b744f1268ca8bb4da47a2f8af78f86", - "reference": "af72c4a136b744f1268ca8bb4da47a2f8af78f86", + "url": "https://api.github.com/repos/beberlei/DoctrineExtensions/zipball/5f16b305dda06eda0d2d293c9d2bbd299249a996", + "reference": "5f16b305dda06eda0d2d293c9d2bbd299249a996", "shasum": "" }, "require": { @@ -120,7 +120,7 @@ "doctrine", "orm" ], - "time": "2019-12-05T09:49:04+00:00" + "time": "2020-06-30T03:28:02+00:00" }, { "name": "brick/math", @@ -711,35 +711,37 @@ }, { "name": "doctrine/doctrine-migrations-bundle", - "version": "2.1.2", + "version": "3.0.1", "source": { "type": "git", "url": "https://github.com/doctrine/DoctrineMigrationsBundle.git", - "reference": "856437e8de96a70233e1f0cc2352fc8dd15a899d" + "reference": "96e730b0ffa0bb39c0f913c1966213f1674bf249" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/DoctrineMigrationsBundle/zipball/856437e8de96a70233e1f0cc2352fc8dd15a899d", - "reference": "856437e8de96a70233e1f0cc2352fc8dd15a899d", + "url": "https://api.github.com/repos/doctrine/DoctrineMigrationsBundle/zipball/96e730b0ffa0bb39c0f913c1966213f1674bf249", + "reference": "96e730b0ffa0bb39c0f913c1966213f1674bf249", "shasum": "" }, "require": { "doctrine/doctrine-bundle": "~1.0|~2.0", - "doctrine/migrations": "^2.2", - "php": "^7.1", + "doctrine/migrations": "~3.0", + "php": "^7.2", "symfony/framework-bundle": "~3.4|~4.0|~5.0" }, "require-dev": { "doctrine/coding-standard": "^5.0", - "mikey179/vfsstream": "^1.6", - "phpstan/phpstan": "^0.9.2", - "phpstan/phpstan-strict-rules": "^0.9", + "doctrine/orm": "^2.6", + "phpstan/phpstan": "^0.11", + "phpstan/phpstan-deprecation-rules": "^0.11", + "phpstan/phpstan-phpunit": "^0.11", + "phpstan/phpstan-strict-rules": "^0.11", "phpunit/phpunit": "^6.4|^7.0" }, "type": "symfony-bundle", "extra": { "branch-alias": { - "dev-master": "2.1.x-dev" + "dev-master": "3.0.x-dev" } }, "autoload": { @@ -775,7 +777,7 @@ "migrations", "schema" ], - "time": "2019-11-13T12:57:41+00:00" + "time": "2020-06-15T06:04:38+00:00" }, { "name": "doctrine/event-manager", @@ -1051,42 +1053,45 @@ }, { "name": "doctrine/migrations", - "version": "2.2.1", + "version": "3.0.1", "source": { "type": "git", "url": "https://github.com/doctrine/migrations.git", - "reference": "a3987131febeb0e9acb3c47ab0df0af004588934" + "reference": "69eaf2ca5bc48357b43ddbdc31ccdffc0e2a0882" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/migrations/zipball/a3987131febeb0e9acb3c47ab0df0af004588934", - "reference": "a3987131febeb0e9acb3c47ab0df0af004588934", + "url": "https://api.github.com/repos/doctrine/migrations/zipball/69eaf2ca5bc48357b43ddbdc31ccdffc0e2a0882", + "reference": "69eaf2ca5bc48357b43ddbdc31ccdffc0e2a0882", "shasum": "" }, "require": { - "doctrine/dbal": "^2.9", + "doctrine/dbal": "^2.10", + "doctrine/event-manager": "^1.0", "ocramius/package-versions": "^1.3", "ocramius/proxy-manager": "^2.0.2", - "php": "^7.1", + "php": "^7.2", + "psr/log": "^1.1.3", "symfony/console": "^3.4||^4.0||^5.0", "symfony/stopwatch": "^3.4||^4.0||^5.0" }, "require-dev": { - "doctrine/coding-standard": "^6.0", + "doctrine/coding-standard": "^7.0", "doctrine/orm": "^2.6", + "doctrine/persistence": "^1.3||^2.0", + "doctrine/sql-formatter": "^1.0", "ext-pdo_sqlite": "*", - "jdorn/sql-formatter": "^1.1", - "mikey179/vfsstream": "^1.6", - "phpstan/phpstan": "^0.10", - "phpstan/phpstan-deprecation-rules": "^0.10", - "phpstan/phpstan-phpunit": "^0.10", - "phpstan/phpstan-strict-rules": "^0.10", - "phpunit/phpunit": "^7.0", + "phpstan/phpstan": "^0.12", + "phpstan/phpstan-deprecation-rules": "^0.12", + "phpstan/phpstan-phpunit": "^0.12", + "phpstan/phpstan-strict-rules": "^0.12", + "phpstan/phpstan-symfony": "^0.12", + "phpunit/phpunit": "^8.4", "symfony/process": "^3.4||^4.0||^5.0", "symfony/yaml": "^3.4||^4.0||^5.0" }, "suggest": { - "jdorn/sql-formatter": "Allows to generate formatted SQL with the diff command.", + "doctrine/sql-formatter": "Allows to generate formatted SQL with the diff command.", "symfony/yaml": "Allows the use of yaml for migration configuration files." }, "bin": [ @@ -1095,7 +1100,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "2.2.x-dev" + "dev-master": "3.0.x-dev" } }, "autoload": { @@ -1129,7 +1134,7 @@ "migrations", "php" ], - "time": "2019-12-04T06:09:14+00:00" + "time": "2020-06-21T08:55:42+00:00" }, { "name": "doctrine/orm", @@ -1501,16 +1506,16 @@ }, { "name": "egulias/email-validator", - "version": "2.1.17", + "version": "2.1.18", "source": { "type": "git", "url": "https://github.com/egulias/EmailValidator.git", - "reference": "ade6887fd9bd74177769645ab5c474824f8a418a" + "reference": "cfa3d44471c7f5bfb684ac2b0da7114283d78441" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/egulias/EmailValidator/zipball/ade6887fd9bd74177769645ab5c474824f8a418a", - "reference": "ade6887fd9bd74177769645ab5c474824f8a418a", + "url": "https://api.github.com/repos/egulias/EmailValidator/zipball/cfa3d44471c7f5bfb684ac2b0da7114283d78441", + "reference": "cfa3d44471c7f5bfb684ac2b0da7114283d78441", "shasum": "" }, "require": { @@ -1534,7 +1539,7 @@ }, "autoload": { "psr-4": { - "Egulias\\EmailValidator\\": "EmailValidator" + "Egulias\\EmailValidator\\": "src" } }, "notification-url": "https://packagist.org/downloads/", @@ -1555,7 +1560,7 @@ "validation", "validator" ], - "time": "2020-02-13T22:36:52+00:00" + "time": "2020-06-16T20:11:17+00:00" }, { "name": "erusev/parsedown", @@ -1730,12 +1735,12 @@ "source": { "type": "git", "url": "https://github.com/florianv/symfony-swap.git", - "reference": "3d31a6cc5c37ab36e4af2a47664b47260a628b69" + "reference": "f06e70e5236facec98eda68f1541e987cd75f8d4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/florianv/symfony-swap/zipball/3d31a6cc5c37ab36e4af2a47664b47260a628b69", - "reference": "3d31a6cc5c37ab36e4af2a47664b47260a628b69", + "url": "https://api.github.com/repos/florianv/symfony-swap/zipball/f06e70e5236facec98eda68f1541e987cd75f8d4", + "reference": "f06e70e5236facec98eda68f1541e987cd75f8d4", "shasum": "" }, "require": { @@ -1786,7 +1791,7 @@ "money", "symfony" ], - "time": "2020-05-12T11:25:49+00:00" + "time": "2020-06-25T06:36:30+00:00" }, { "name": "friendsofsymfony/ckeditor-bundle", @@ -2095,16 +2100,16 @@ }, { "name": "league/html-to-markdown", - "version": "4.9.1", + "version": "4.10.0", "source": { "type": "git", "url": "https://github.com/thephpleague/html-to-markdown.git", - "reference": "1dcd0f85de786f46a7f224a27cc3d709ddd2a68c" + "reference": "0868ae7a552e809e5cd8f93ba022071640408e88" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/html-to-markdown/zipball/1dcd0f85de786f46a7f224a27cc3d709ddd2a68c", - "reference": "1dcd0f85de786f46a7f224a27cc3d709ddd2a68c", + "url": "https://api.github.com/repos/thephpleague/html-to-markdown/zipball/0868ae7a552e809e5cd8f93ba022071640408e88", + "reference": "0868ae7a552e809e5cd8f93ba022071640408e88", "shasum": "" }, "require": { @@ -2155,33 +2160,33 @@ "html", "markdown" ], - "time": "2019-12-28T01:32:28+00:00" + "time": "2020-07-01T00:34:03+00:00" }, { "name": "liip/imagine-bundle", - "version": "2.3.0", + "version": "2.3.1", "source": { "type": "git", "url": "https://github.com/liip/LiipImagineBundle.git", - "reference": "06740a0a0e9c0054d3e0589472fd19b975784c52" + "reference": "d0819fc9b1cd4e9e16db204467b6fe1a5316a163" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/liip/LiipImagineBundle/zipball/06740a0a0e9c0054d3e0589472fd19b975784c52", - "reference": "06740a0a0e9c0054d3e0589472fd19b975784c52", + "url": "https://api.github.com/repos/liip/LiipImagineBundle/zipball/d0819fc9b1cd4e9e16db204467b6fe1a5316a163", + "reference": "d0819fc9b1cd4e9e16db204467b6fe1a5316a163", "shasum": "" }, "require": { "imagine/imagine": "^0.7.1|^1.1", "php": "^7.1", - "symfony/asset": "^3.4|^4.3|^5.0", "symfony/filesystem": "^3.4|^4.3|^5.0", "symfony/finder": "^3.4|^4.3|^5.0", "symfony/framework-bundle": "^3.4|^4.3|^5.0", + "symfony/mime": "^4.3|^5.0", "symfony/options-resolver": "^3.4|^4.3|^5.0", "symfony/process": "^3.4|^4.3|^5.0", "symfony/templating": "^3.4|^4.3|^5.0", - "symfony/translation": "^3.4|^4.3|^5.0" + "twig/twig": "^1.40|^2.9|^3.0" }, "require-dev": { "amazonwebservices/aws-sdk-for-php": "^1.0", @@ -2199,8 +2204,7 @@ "symfony/form": "^3.4|^4.3|^5.0", "symfony/phpunit-bridge": "^4.3|^5.0", "symfony/validator": "^3.4|^4.3|^5.0", - "symfony/yaml": "^3.4|^4.3|^5.0", - "twig/twig": "^1.34|^2.4|^3.0" + "symfony/yaml": "^3.4|^4.3|^5.0" }, "suggest": { "alcaeus/mongo-php-adapter": "required on PHP >= 7.0 to use mongo components with mongodb extension", @@ -2215,8 +2219,7 @@ "ext-mongo": "required for mongodb components on PHP <7.0", "ext-mongodb": "required for mongodb components on PHP >=7.0", "league/flysystem": "required to use FlySystem data loader or cache resolver", - "monolog/monolog": "A psr/log compatible logger is required to enable logging", - "twig/twig": "required to use the provided Twig extension. Version 1.12 or greater needed" + "monolog/monolog": "A psr/log compatible logger is required to enable logging" }, "type": "symfony-bundle", "extra": { @@ -2256,7 +2259,7 @@ "symfony", "transformation" ], - "time": "2020-01-07T13:29:56+00:00" + "time": "2020-06-26T05:55:54+00:00" }, { "name": "lorenzo/pinky", @@ -2388,16 +2391,16 @@ }, { "name": "nelmio/security-bundle", - "version": "v2.9.1", + "version": "v2.10.1", "source": { "type": "git", "url": "https://github.com/nelmio/NelmioSecurityBundle.git", - "reference": "89ac385b28496691bfa7eef24d60aec9f20021a1" + "reference": "80d6e1091aadf55eab6a79be97a91c06d55e8223" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nelmio/NelmioSecurityBundle/zipball/89ac385b28496691bfa7eef24d60aec9f20021a1", - "reference": "89ac385b28496691bfa7eef24d60aec9f20021a1", + "url": "https://api.github.com/repos/nelmio/NelmioSecurityBundle/zipball/80d6e1091aadf55eab6a79be97a91c06d55e8223", + "reference": "80d6e1091aadf55eab6a79be97a91c06d55e8223", "shasum": "" }, "require": { @@ -2451,20 +2454,20 @@ "keywords": [ "security" ], - "time": "2020-05-11T08:12:17+00:00" + "time": "2020-06-18T12:49:09+00:00" }, { "name": "nikic/php-parser", - "version": "v4.5.0", + "version": "v4.6.0", "source": { "type": "git", "url": "https://github.com/nikic/PHP-Parser.git", - "reference": "53c2753d756f5adb586dca79c2ec0e2654dd9463" + "reference": "c346bbfafe2ff60680258b631afb730d186ed864" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/53c2753d756f5adb586dca79c2ec0e2654dd9463", - "reference": "53c2753d756f5adb586dca79c2ec0e2654dd9463", + "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/c346bbfafe2ff60680258b631afb730d186ed864", + "reference": "c346bbfafe2ff60680258b631afb730d186ed864", "shasum": "" }, "require": { @@ -2503,7 +2506,7 @@ "parser", "php" ], - "time": "2020-06-03T07:24:19+00:00" + "time": "2020-07-02T17:12:47+00:00" }, { "name": "nikolaposa/version", @@ -3066,16 +3069,16 @@ }, { "name": "php-http/discovery", - "version": "1.8.0", + "version": "1.9.0", "source": { "type": "git", "url": "https://github.com/php-http/discovery.git", - "reference": "10d9019f393773345aedc0dc79e7fd678da874ee" + "reference": "9ab7668fee74a5ad61996095e50917bd50ee8bfe" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-http/discovery/zipball/10d9019f393773345aedc0dc79e7fd678da874ee", - "reference": "10d9019f393773345aedc0dc79e7fd678da874ee", + "url": "https://api.github.com/repos/php-http/discovery/zipball/9ab7668fee74a5ad61996095e50917bd50ee8bfe", + "reference": "9ab7668fee74a5ad61996095e50917bd50ee8bfe", "shasum": "" }, "require": { @@ -3098,7 +3101,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.7-dev" + "dev-master": "1.9-dev" } }, "autoload": { @@ -3127,7 +3130,7 @@ "message", "psr7" ], - "time": "2020-06-14T10:44:12+00:00" + "time": "2020-07-02T11:43:45+00:00" }, { "name": "php-http/httplug", @@ -3506,25 +3509,25 @@ }, { "name": "phpdocumentor/reflection-common", - "version": "2.1.0", + "version": "2.2.0", "source": { "type": "git", "url": "https://github.com/phpDocumentor/ReflectionCommon.git", - "reference": "6568f4687e5b41b054365f9ae03fcb1ed5f2069b" + "reference": "1d01c49d4ed62f25aa84a747ad35d5a16924662b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/6568f4687e5b41b054365f9ae03fcb1ed5f2069b", - "reference": "6568f4687e5b41b054365f9ae03fcb1ed5f2069b", + "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/1d01c49d4ed62f25aa84a747ad35d5a16924662b", + "reference": "1d01c49d4ed62f25aa84a747ad35d5a16924662b", "shasum": "" }, "require": { - "php": ">=7.1" + "php": "^7.2 || ^8.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.x-dev" + "dev-2.x": "2.x-dev" } }, "autoload": { @@ -3551,7 +3554,7 @@ "reflection", "static analysis" ], - "time": "2020-04-27T09:25:28+00:00" + "time": "2020-06-27T09:03:43+00:00" }, { "name": "phpdocumentor/reflection-docblock", @@ -3608,30 +3611,29 @@ }, { "name": "phpdocumentor/type-resolver", - "version": "1.1.0", + "version": "1.3.0", "source": { "type": "git", "url": "https://github.com/phpDocumentor/TypeResolver.git", - "reference": "7462d5f123dfc080dfdf26897032a6513644fc95" + "reference": "e878a14a65245fbe78f8080eba03b47c3b705651" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/7462d5f123dfc080dfdf26897032a6513644fc95", - "reference": "7462d5f123dfc080dfdf26897032a6513644fc95", + "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/e878a14a65245fbe78f8080eba03b47c3b705651", + "reference": "e878a14a65245fbe78f8080eba03b47c3b705651", "shasum": "" }, "require": { - "php": "^7.2", + "php": "^7.2 || ^8.0", "phpdocumentor/reflection-common": "^2.0" }, "require-dev": { - "ext-tokenizer": "^7.2", - "mockery/mockery": "~1" + "ext-tokenizer": "*" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.x-dev" + "dev-1.x": "1.x-dev" } }, "autoload": { @@ -3650,7 +3652,7 @@ } ], "description": "A PSR-5 based resolver of Class names, Types and Structural Element Names", - "time": "2020-02-18T18:59:58+00:00" + "time": "2020-06-27T10:12:23+00:00" }, { "name": "psr/cache", @@ -3795,20 +3797,20 @@ }, { "name": "psr/http-client", - "version": "1.0.0", + "version": "1.0.1", "source": { "type": "git", "url": "https://github.com/php-fig/http-client.git", - "reference": "496a823ef742b632934724bf769560c2a5c7c44e" + "reference": "2dfb5f6c5eff0e91e20e913f8c5452ed95b86621" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/http-client/zipball/496a823ef742b632934724bf769560c2a5c7c44e", - "reference": "496a823ef742b632934724bf769560c2a5c7c44e", + "url": "https://api.github.com/repos/php-fig/http-client/zipball/2dfb5f6c5eff0e91e20e913f8c5452ed95b86621", + "reference": "2dfb5f6c5eff0e91e20e913f8c5452ed95b86621", "shasum": "" }, "require": { - "php": "^7.0", + "php": "^7.0 || ^8.0", "psr/http-message": "^1.0" }, "type": "library", @@ -3840,7 +3842,7 @@ "psr", "psr-18" ], - "time": "2018-10-30T23:29:13+00:00" + "time": "2020-06-29T06:28:15+00:00" }, { "name": "psr/http-factory", @@ -4232,16 +4234,16 @@ }, { "name": "s9e/text-formatter", - "version": "2.7.1", + "version": "2.7.2", "source": { "type": "git", "url": "https://github.com/s9e/TextFormatter.git", - "reference": "16a1c759307da654bedd7b649bef6930384e9561" + "reference": "aea006fbd90bf23374c538e7c1792eda13e44c89" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/s9e/TextFormatter/zipball/16a1c759307da654bedd7b649bef6930384e9561", - "reference": "16a1c759307da654bedd7b649bef6930384e9561", + "url": "https://api.github.com/repos/s9e/TextFormatter/zipball/aea006fbd90bf23374c538e7c1792eda13e44c89", + "reference": "aea006fbd90bf23374c538e7c1792eda13e44c89", "shasum": "" }, "require": { @@ -4268,7 +4270,7 @@ }, "type": "library", "extra": { - "version": "2.7.1" + "version": "2.7.2" }, "autoload": { "psr-4": { @@ -4298,7 +4300,7 @@ "parser", "shortcodes" ], - "time": "2020-06-06T14:59:45+00:00" + "time": "2020-06-22T00:41:41+00:00" }, { "name": "sabberworm/php-css-parser", @@ -4416,16 +4418,16 @@ }, { "name": "sensio/framework-extra-bundle", - "version": "v5.5.5", + "version": "v5.5.6", "source": { "type": "git", "url": "https://github.com/sensiolabs/SensioFrameworkExtraBundle.git", - "reference": "c76bb1c5c67840ecb6d9be8e9d8d7036e375e317" + "reference": "b49f079d8a87a6e6dd434062085ff5a132af466b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sensiolabs/SensioFrameworkExtraBundle/zipball/c76bb1c5c67840ecb6d9be8e9d8d7036e375e317", - "reference": "c76bb1c5c67840ecb6d9be8e9d8d7036e375e317", + "url": "https://api.github.com/repos/sensiolabs/SensioFrameworkExtraBundle/zipball/b49f079d8a87a6e6dd434062085ff5a132af466b", + "reference": "b49f079d8a87a6e6dd434062085ff5a132af466b", "shasum": "" }, "require": { @@ -4485,7 +4487,7 @@ "annotations", "controllers" ], - "time": "2020-05-06T12:12:33+00:00" + "time": "2020-06-15T20:28:02+00:00" }, { "name": "sensiolabs/security-checker", @@ -4683,7 +4685,7 @@ }, { "name": "symfony/asset", - "version": "v5.1.1", + "version": "v5.1.2", "source": { "type": "git", "url": "https://github.com/symfony/asset.git", @@ -4740,7 +4742,7 @@ }, { "name": "symfony/cache", - "version": "v5.1.1", + "version": "v5.1.2", "source": { "type": "git", "url": "https://github.com/symfony/cache.git", @@ -4878,7 +4880,7 @@ }, { "name": "symfony/config", - "version": "v5.1.1", + "version": "v5.1.2", "source": { "type": "git", "url": "https://github.com/symfony/config.git", @@ -4944,16 +4946,16 @@ }, { "name": "symfony/console", - "version": "v5.1.1", + "version": "v5.1.2", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "0f0a271bc9b7d02a053d36fcdcb12662e2a8096e" + "reference": "34ac555a3627e324b660e318daa07572e1140123" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/0f0a271bc9b7d02a053d36fcdcb12662e2a8096e", - "reference": "0f0a271bc9b7d02a053d36fcdcb12662e2a8096e", + "url": "https://api.github.com/repos/symfony/console/zipball/34ac555a3627e324b660e318daa07572e1140123", + "reference": "34ac555a3627e324b660e318daa07572e1140123", "shasum": "" }, "require": { @@ -5019,7 +5021,7 @@ ], "description": "Symfony Console Component", "homepage": "https://symfony.com", - "time": "2020-06-07T19:47:44+00:00" + "time": "2020-06-15T12:59:21+00:00" }, { "name": "symfony/contracts", @@ -5094,7 +5096,7 @@ }, { "name": "symfony/css-selector", - "version": "v5.1.1", + "version": "v5.1.2", "source": { "type": "git", "url": "https://github.com/symfony/css-selector.git", @@ -5147,7 +5149,7 @@ }, { "name": "symfony/dependency-injection", - "version": "v5.1.1", + "version": "v5.1.2", "source": { "type": "git", "url": "https://github.com/symfony/dependency-injection.git", @@ -5268,7 +5270,7 @@ }, { "name": "symfony/doctrine-bridge", - "version": "v5.1.1", + "version": "v5.1.2", "source": { "type": "git", "url": "https://github.com/symfony/doctrine-bridge.git", @@ -5367,7 +5369,7 @@ }, { "name": "symfony/dotenv", - "version": "v5.1.1", + "version": "v5.1.2", "source": { "type": "git", "url": "https://github.com/symfony/dotenv.git", @@ -5425,7 +5427,7 @@ }, { "name": "symfony/error-handler", - "version": "v5.1.1", + "version": "v5.1.2", "source": { "type": "git", "url": "https://github.com/symfony/error-handler.git", @@ -5482,7 +5484,7 @@ }, { "name": "symfony/event-dispatcher", - "version": "v5.1.1", + "version": "v5.1.2", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher.git", @@ -5612,7 +5614,7 @@ }, { "name": "symfony/expression-language", - "version": "v5.1.1", + "version": "v5.1.2", "source": { "type": "git", "url": "https://github.com/symfony/expression-language.git", @@ -5664,7 +5666,7 @@ }, { "name": "symfony/filesystem", - "version": "v5.1.1", + "version": "v5.1.2", "source": { "type": "git", "url": "https://github.com/symfony/filesystem.git", @@ -5714,7 +5716,7 @@ }, { "name": "symfony/finder", - "version": "v5.1.1", + "version": "v5.1.2", "source": { "type": "git", "url": "https://github.com/symfony/finder.git", @@ -5763,16 +5765,16 @@ }, { "name": "symfony/flex", - "version": "v1.8.1", + "version": "v1.8.4", "source": { "type": "git", "url": "https://github.com/symfony/flex.git", - "reference": "967fb2d58d4e8437e0e417979dd0e8ee4891cfb9" + "reference": "7df5a72c7664baab629ec33de7890e9e3996b51b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/flex/zipball/967fb2d58d4e8437e0e417979dd0e8ee4891cfb9", - "reference": "967fb2d58d4e8437e0e417979dd0e8ee4891cfb9", + "url": "https://api.github.com/repos/symfony/flex/zipball/7df5a72c7664baab629ec33de7890e9e3996b51b", + "reference": "7df5a72c7664baab629ec33de7890e9e3996b51b", "shasum": "" }, "require": { @@ -5808,20 +5810,20 @@ } ], "description": "Composer plugin for Symfony", - "time": "2020-06-14T09:29:35+00:00" + "time": "2020-06-16T23:10:41+00:00" }, { "name": "symfony/form", - "version": "v5.1.1", + "version": "v5.1.2", "source": { "type": "git", "url": "https://github.com/symfony/form.git", - "reference": "45eec15fa32ea0dd0962bd36fe00e49edc54cce7" + "reference": "7f0fae286e498aa19ce0c4f737c5bd16cb1ebfba" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/form/zipball/45eec15fa32ea0dd0962bd36fe00e49edc54cce7", - "reference": "45eec15fa32ea0dd0962bd36fe00e49edc54cce7", + "url": "https://api.github.com/repos/symfony/form/zipball/7f0fae286e498aa19ce0c4f737c5bd16cb1ebfba", + "reference": "7f0fae286e498aa19ce0c4f737c5bd16cb1ebfba", "shasum": "" }, "require": { @@ -5897,11 +5899,11 @@ ], "description": "Symfony Form Component", "homepage": "https://symfony.com", - "time": "2020-06-12T08:39:51+00:00" + "time": "2020-06-14T15:52:41+00:00" }, { "name": "symfony/framework-bundle", - "version": "v5.1.1", + "version": "v5.1.2", "source": { "type": "git", "url": "https://github.com/symfony/framework-bundle.git", @@ -6034,7 +6036,7 @@ }, { "name": "symfony/http-client", - "version": "v5.1.1", + "version": "v5.1.2", "source": { "type": "git", "url": "https://github.com/symfony/http-client.git", @@ -6163,16 +6165,16 @@ }, { "name": "symfony/http-foundation", - "version": "v5.1.1", + "version": "v5.1.2", "source": { "type": "git", "url": "https://github.com/symfony/http-foundation.git", - "reference": "e0d853bddc2b2cfb0d67b0b4496c03fffe1d37fa" + "reference": "f93055171b847915225bd5b0a5792888419d8d75" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-foundation/zipball/e0d853bddc2b2cfb0d67b0b4496c03fffe1d37fa", - "reference": "e0d853bddc2b2cfb0d67b0b4496c03fffe1d37fa", + "url": "https://api.github.com/repos/symfony/http-foundation/zipball/f93055171b847915225bd5b0a5792888419d8d75", + "reference": "f93055171b847915225bd5b0a5792888419d8d75", "shasum": "" }, "require": { @@ -6220,20 +6222,20 @@ ], "description": "Symfony HttpFoundation Component", "homepage": "https://symfony.com", - "time": "2020-05-24T12:18:07+00:00" + "time": "2020-06-15T06:52:54+00:00" }, { "name": "symfony/http-kernel", - "version": "v5.1.1", + "version": "v5.1.2", "source": { "type": "git", "url": "https://github.com/symfony/http-kernel.git", - "reference": "1151e5d51a680b22e758d05c6647dd9857503ec8" + "reference": "a18c27ace1ef344ffcb129a5b089bad7643b387a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-kernel/zipball/1151e5d51a680b22e758d05c6647dd9857503ec8", - "reference": "1151e5d51a680b22e758d05c6647dd9857503ec8", + "url": "https://api.github.com/repos/symfony/http-kernel/zipball/a18c27ace1ef344ffcb129a5b089bad7643b387a", + "reference": "a18c27ace1ef344ffcb129a5b089bad7643b387a", "shasum": "" }, "require": { @@ -6319,11 +6321,11 @@ ], "description": "Symfony HttpKernel Component", "homepage": "https://symfony.com", - "time": "2020-06-12T11:25:56+00:00" + "time": "2020-06-15T13:51:38+00:00" }, { "name": "symfony/inflector", - "version": "v5.1.1", + "version": "v5.1.2", "source": { "type": "git", "url": "https://github.com/symfony/inflector.git", @@ -6382,7 +6384,7 @@ }, { "name": "symfony/intl", - "version": "v5.1.1", + "version": "v5.1.2", "source": { "type": "git", "url": "https://github.com/symfony/intl.git", @@ -6458,7 +6460,7 @@ }, { "name": "symfony/mailer", - "version": "v5.1.1", + "version": "v5.1.2", "source": { "type": "git", "url": "https://github.com/symfony/mailer.git", @@ -6526,7 +6528,7 @@ }, { "name": "symfony/mime", - "version": "v5.1.1", + "version": "v5.1.2", "source": { "type": "git", "url": "https://github.com/symfony/mime.git", @@ -6589,7 +6591,7 @@ }, { "name": "symfony/monolog-bridge", - "version": "v5.1.1", + "version": "v5.1.2", "source": { "type": "git", "url": "https://github.com/symfony/monolog-bridge.git", @@ -6721,7 +6723,7 @@ }, { "name": "symfony/options-resolver", - "version": "v5.1.1", + "version": "v5.1.2", "source": { "type": "git", "url": "https://github.com/symfony/options-resolver.git", @@ -6804,16 +6806,16 @@ }, { "name": "symfony/polyfill-ctype", - "version": "v1.17.0", + "version": "v1.17.1", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "e94c8b1bbe2bc77507a1056cdb06451c75b427f9" + "reference": "2edd75b8b35d62fd3eeabba73b26b8f1f60ce13d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/e94c8b1bbe2bc77507a1056cdb06451c75b427f9", - "reference": "e94c8b1bbe2bc77507a1056cdb06451c75b427f9", + "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/2edd75b8b35d62fd3eeabba73b26b8f1f60ce13d", + "reference": "2edd75b8b35d62fd3eeabba73b26b8f1f60ce13d", "shasum": "" }, "require": { @@ -6826,6 +6828,10 @@ "extra": { "branch-alias": { "dev-master": "1.17-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" } }, "autoload": { @@ -6858,20 +6864,20 @@ "polyfill", "portable" ], - "time": "2020-05-12T16:14:59+00:00" + "time": "2020-06-06T08:46:27+00:00" }, { "name": "symfony/polyfill-intl-grapheme", - "version": "v1.17.0", + "version": "v1.17.1", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "e094b0770f7833fdf257e6ba4775be4e258230b2" + "reference": "6e4dbcf5e81eba86e36731f94fe56b1726835846" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/e094b0770f7833fdf257e6ba4775be4e258230b2", - "reference": "e094b0770f7833fdf257e6ba4775be4e258230b2", + "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/6e4dbcf5e81eba86e36731f94fe56b1726835846", + "reference": "6e4dbcf5e81eba86e36731f94fe56b1726835846", "shasum": "" }, "require": { @@ -6884,6 +6890,10 @@ "extra": { "branch-alias": { "dev-master": "1.17-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" } }, "autoload": { @@ -6918,20 +6928,20 @@ "portable", "shim" ], - "time": "2020-05-12T16:47:27+00:00" + "time": "2020-06-06T08:46:27+00:00" }, { "name": "symfony/polyfill-intl-icu", - "version": "v1.17.0", + "version": "v1.17.1", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-icu.git", - "reference": "4ef3923e4a86e1b6ef72d42be59dbf7d33a685e3" + "reference": "7b5e03aeb88cc8b4b2b136e34b0fc0830e86cd4d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-icu/zipball/4ef3923e4a86e1b6ef72d42be59dbf7d33a685e3", - "reference": "4ef3923e4a86e1b6ef72d42be59dbf7d33a685e3", + "url": "https://api.github.com/repos/symfony/polyfill-intl-icu/zipball/7b5e03aeb88cc8b4b2b136e34b0fc0830e86cd4d", + "reference": "7b5e03aeb88cc8b4b2b136e34b0fc0830e86cd4d", "shasum": "" }, "require": { @@ -6945,6 +6955,10 @@ "extra": { "branch-alias": { "dev-master": "1.17-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" } }, "autoload": { @@ -6976,20 +6990,20 @@ "portable", "shim" ], - "time": "2020-05-12T16:14:59+00:00" + "time": "2020-06-06T08:46:27+00:00" }, { "name": "symfony/polyfill-intl-idn", - "version": "v1.17.0", + "version": "v1.17.1", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-idn.git", - "reference": "3bff59ea7047e925be6b7f2059d60af31bb46d6a" + "reference": "a57f8161502549a742a63c09f0a604997bf47027" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-idn/zipball/3bff59ea7047e925be6b7f2059d60af31bb46d6a", - "reference": "3bff59ea7047e925be6b7f2059d60af31bb46d6a", + "url": "https://api.github.com/repos/symfony/polyfill-intl-idn/zipball/a57f8161502549a742a63c09f0a604997bf47027", + "reference": "a57f8161502549a742a63c09f0a604997bf47027", "shasum": "" }, "require": { @@ -7004,6 +7018,10 @@ "extra": { "branch-alias": { "dev-master": "1.17-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" } }, "autoload": { @@ -7038,20 +7056,20 @@ "portable", "shim" ], - "time": "2020-05-12T16:47:27+00:00" + "time": "2020-06-06T08:46:27+00:00" }, { "name": "symfony/polyfill-intl-normalizer", - "version": "v1.17.0", + "version": "v1.17.1", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "1357b1d168eb7f68ad6a134838e46b0b159444a9" + "reference": "40309d1700e8f72447bb9e7b54af756eeea35620" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/1357b1d168eb7f68ad6a134838e46b0b159444a9", - "reference": "1357b1d168eb7f68ad6a134838e46b0b159444a9", + "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/40309d1700e8f72447bb9e7b54af756eeea35620", + "reference": "40309d1700e8f72447bb9e7b54af756eeea35620", "shasum": "" }, "require": { @@ -7064,6 +7082,10 @@ "extra": { "branch-alias": { "dev-master": "1.17-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" } }, "autoload": { @@ -7101,20 +7123,20 @@ "portable", "shim" ], - "time": "2020-05-12T16:14:59+00:00" + "time": "2020-06-14T14:40:37+00:00" }, { "name": "symfony/polyfill-mbstring", - "version": "v1.17.0", + "version": "v1.17.1", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "fa79b11539418b02fc5e1897267673ba2c19419c" + "reference": "7110338d81ce1cbc3e273136e4574663627037a7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/fa79b11539418b02fc5e1897267673ba2c19419c", - "reference": "fa79b11539418b02fc5e1897267673ba2c19419c", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/7110338d81ce1cbc3e273136e4574663627037a7", + "reference": "7110338d81ce1cbc3e273136e4574663627037a7", "shasum": "" }, "require": { @@ -7127,6 +7149,10 @@ "extra": { "branch-alias": { "dev-master": "1.17-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" } }, "autoload": { @@ -7160,7 +7186,7 @@ "portable", "shim" ], - "time": "2020-05-12T16:47:27+00:00" + "time": "2020-06-06T08:46:27+00:00" }, { "name": "symfony/polyfill-php72", @@ -7219,16 +7245,16 @@ }, { "name": "symfony/polyfill-php73", - "version": "v1.17.0", + "version": "v1.17.1", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php73.git", - "reference": "a760d8964ff79ab9bf057613a5808284ec852ccc" + "reference": "fa0837fe02d617d31fbb25f990655861bb27bd1a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/a760d8964ff79ab9bf057613a5808284ec852ccc", - "reference": "a760d8964ff79ab9bf057613a5808284ec852ccc", + "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/fa0837fe02d617d31fbb25f990655861bb27bd1a", + "reference": "fa0837fe02d617d31fbb25f990655861bb27bd1a", "shasum": "" }, "require": { @@ -7238,6 +7264,10 @@ "extra": { "branch-alias": { "dev-master": "1.17-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" } }, "autoload": { @@ -7273,20 +7303,20 @@ "portable", "shim" ], - "time": "2020-05-12T16:47:27+00:00" + "time": "2020-06-06T08:46:27+00:00" }, { "name": "symfony/polyfill-php80", - "version": "v1.17.0", + "version": "v1.17.1", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php80.git", - "reference": "5e30b2799bc1ad68f7feb62b60a73743589438dd" + "reference": "4a5b6bba3259902e386eb80dd1956181ee90b5b2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/5e30b2799bc1ad68f7feb62b60a73743589438dd", - "reference": "5e30b2799bc1ad68f7feb62b60a73743589438dd", + "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/4a5b6bba3259902e386eb80dd1956181ee90b5b2", + "reference": "4a5b6bba3259902e386eb80dd1956181ee90b5b2", "shasum": "" }, "require": { @@ -7296,6 +7326,10 @@ "extra": { "branch-alias": { "dev-master": "1.17-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" } }, "autoload": { @@ -7335,11 +7369,11 @@ "portable", "shim" ], - "time": "2020-05-12T16:47:27+00:00" + "time": "2020-06-06T08:46:27+00:00" }, { "name": "symfony/process", - "version": "v5.1.1", + "version": "v5.1.2", "source": { "type": "git", "url": "https://github.com/symfony/process.git", @@ -7389,7 +7423,7 @@ }, { "name": "symfony/property-access", - "version": "v5.1.1", + "version": "v5.1.2", "source": { "type": "git", "url": "https://github.com/symfony/property-access.git", @@ -7458,16 +7492,16 @@ }, { "name": "symfony/property-info", - "version": "v5.1.1", + "version": "v5.1.2", "source": { "type": "git", "url": "https://github.com/symfony/property-info.git", - "reference": "8bec4622480515449873913ab687bf0fc86374c2" + "reference": "75d79faca45092829b55eb83f73068e34c6567c5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/property-info/zipball/8bec4622480515449873913ab687bf0fc86374c2", - "reference": "8bec4622480515449873913ab687bf0fc86374c2", + "url": "https://api.github.com/repos/symfony/property-info/zipball/75d79faca45092829b55eb83f73068e34c6567c5", + "reference": "75d79faca45092829b55eb83f73068e34c6567c5", "shasum": "" }, "require": { @@ -7482,7 +7516,7 @@ }, "require-dev": { "doctrine/annotations": "~1.7", - "phpdocumentor/reflection-docblock": "^3.0|^4.0", + "phpdocumentor/reflection-docblock": "^3.0|^4.0|^5.0", "symfony/cache": "^4.4|^5.0", "symfony/dependency-injection": "^4.4|^5.0", "symfony/serializer": "^4.4|^5.0" @@ -7531,11 +7565,11 @@ "type", "validator" ], - "time": "2020-06-04T09:56:18+00:00" + "time": "2020-06-15T11:50:15+00:00" }, { "name": "symfony/routing", - "version": "v5.1.1", + "version": "v5.1.2", "source": { "type": "git", "url": "https://github.com/symfony/routing.git", @@ -7613,16 +7647,16 @@ }, { "name": "symfony/security-bundle", - "version": "v5.1.1", + "version": "v5.1.2", "source": { "type": "git", "url": "https://github.com/symfony/security-bundle.git", - "reference": "4c035aa0345d7688beed8153406287f118a7de29" + "reference": "d2013a73a0163f4fad6d24fbb81affb6e943ec2e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/security-bundle/zipball/4c035aa0345d7688beed8153406287f118a7de29", - "reference": "4c035aa0345d7688beed8153406287f118a7de29", + "url": "https://api.github.com/repos/symfony/security-bundle/zipball/d2013a73a0163f4fad6d24fbb81affb6e943ec2e", + "reference": "d2013a73a0163f4fad6d24fbb81affb6e943ec2e", "shasum": "" }, "require": { @@ -7636,7 +7670,7 @@ "symfony/security-core": "^5.1", "symfony/security-csrf": "^4.4|^5.0", "symfony/security-guard": "^5.1", - "symfony/security-http": "^5.1" + "symfony/security-http": "^5.1,>=5.1.2" }, "conflict": { "symfony/browser-kit": "<4.4", @@ -7694,11 +7728,11 @@ ], "description": "Symfony SecurityBundle", "homepage": "https://symfony.com", - "time": "2020-06-08T06:10:12+00:00" + "time": "2020-06-15T08:29:02+00:00" }, { "name": "symfony/security-core", - "version": "v5.1.1", + "version": "v5.1.2", "source": { "type": "git", "url": "https://github.com/symfony/security-core.git", @@ -7773,7 +7807,7 @@ }, { "name": "symfony/security-csrf", - "version": "v5.1.1", + "version": "v5.1.2", "source": { "type": "git", "url": "https://github.com/symfony/security-csrf.git", @@ -7832,7 +7866,7 @@ }, { "name": "symfony/security-guard", - "version": "v5.1.1", + "version": "v5.1.2", "source": { "type": "git", "url": "https://github.com/symfony/security-guard.git", @@ -7887,16 +7921,16 @@ }, { "name": "symfony/security-http", - "version": "v5.1.1", + "version": "v5.1.2", "source": { "type": "git", "url": "https://github.com/symfony/security-http.git", - "reference": "8ea60d67b80bb4895c18437e773d7a409721c33c" + "reference": "671aeab2db9162288e27c8ef525c63d51c810cb3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/security-http/zipball/8ea60d67b80bb4895c18437e773d7a409721c33c", - "reference": "8ea60d67b80bb4895c18437e773d7a409721c33c", + "url": "https://api.github.com/repos/symfony/security-http/zipball/671aeab2db9162288e27c8ef525c63d51c810cb3", + "reference": "671aeab2db9162288e27c8ef525c63d51c810cb3", "shasum": "" }, "require": { @@ -7951,11 +7985,11 @@ ], "description": "Symfony Security Component - HTTP Integration", "homepage": "https://symfony.com", - "time": "2020-05-31T21:41:52+00:00" + "time": "2020-06-13T15:06:42+00:00" }, { "name": "symfony/serializer", - "version": "v5.1.1", + "version": "v5.1.2", "source": { "type": "git", "url": "https://github.com/symfony/serializer.git", @@ -8126,7 +8160,7 @@ }, { "name": "symfony/stopwatch", - "version": "v5.1.1", + "version": "v5.1.2", "source": { "type": "git", "url": "https://github.com/symfony/stopwatch.git", @@ -8176,7 +8210,7 @@ }, { "name": "symfony/string", - "version": "v5.1.1", + "version": "v5.1.2", "source": { "type": "git", "url": "https://github.com/symfony/string.git", @@ -8247,7 +8281,7 @@ }, { "name": "symfony/templating", - "version": "v5.1.1", + "version": "v5.1.2", "source": { "type": "git", "url": "https://github.com/symfony/templating.git", @@ -8303,7 +8337,7 @@ }, { "name": "symfony/translation", - "version": "v5.1.1", + "version": "v5.1.2", "source": { "type": "git", "url": "https://github.com/symfony/translation.git", @@ -8438,7 +8472,7 @@ }, { "name": "symfony/twig-bridge", - "version": "v5.1.1", + "version": "v5.1.2", "source": { "type": "git", "url": "https://github.com/symfony/twig-bridge.git", @@ -8540,7 +8574,7 @@ }, { "name": "symfony/twig-bundle", - "version": "v5.1.1", + "version": "v5.1.2", "source": { "type": "git", "url": "https://github.com/symfony/twig-bundle.git", @@ -8615,7 +8649,7 @@ }, { "name": "symfony/validator", - "version": "v5.1.1", + "version": "v5.1.2", "source": { "type": "git", "url": "https://github.com/symfony/validator.git", @@ -8710,7 +8744,7 @@ }, { "name": "symfony/var-dumper", - "version": "v5.1.1", + "version": "v5.1.2", "source": { "type": "git", "url": "https://github.com/symfony/var-dumper.git", @@ -8786,7 +8820,7 @@ }, { "name": "symfony/var-exporter", - "version": "v5.1.1", + "version": "v5.1.2", "source": { "type": "git", "url": "https://github.com/symfony/var-exporter.git", @@ -8847,7 +8881,7 @@ }, { "name": "symfony/web-link", - "version": "v5.1.1", + "version": "v5.1.2", "source": { "type": "git", "url": "https://github.com/symfony/web-link.git", @@ -8975,7 +9009,7 @@ }, { "name": "symfony/yaml", - "version": "v5.1.1", + "version": "v5.1.2", "source": { "type": "git", "url": "https://github.com/symfony/yaml.git", @@ -9191,16 +9225,16 @@ }, { "name": "thecodingmachine/safe", - "version": "v1.1.1", + "version": "v1.1.2", "source": { "type": "git", "url": "https://github.com/thecodingmachine/safe.git", - "reference": "04f9ffae372a9816d4472dfb7bcf6126b623a9df" + "reference": "85e21ee4c4118fd0cb85e9f2c778dfcb781acd1b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thecodingmachine/safe/zipball/04f9ffae372a9816d4472dfb7bcf6126b623a9df", - "reference": "04f9ffae372a9816d4472dfb7bcf6126b623a9df", + "url": "https://api.github.com/repos/thecodingmachine/safe/zipball/85e21ee4c4118fd0cb85e9f2c778dfcb781acd1b", + "reference": "85e21ee4c4118fd0cb85e9f2c778dfcb781acd1b", "shasum": "" }, "require": { @@ -9320,7 +9354,7 @@ "MIT" ], "description": "PHP core functions that throw exceptions instead of returning FALSE on error", - "time": "2020-05-04T15:25:36+00:00" + "time": "2020-06-11T08:39:56+00:00" }, { "name": "tijsverkoyen/css-to-inline-styles", @@ -9823,16 +9857,16 @@ }, { "name": "webmozart/assert", - "version": "1.8.0", + "version": "1.9.0", "source": { "type": "git", "url": "https://github.com/webmozart/assert.git", - "reference": "ab2cb0b3b559010b75981b1bdce728da3ee90ad6" + "reference": "9dc4f203e36f2b486149058bade43c851dd97451" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/webmozart/assert/zipball/ab2cb0b3b559010b75981b1bdce728da3ee90ad6", - "reference": "ab2cb0b3b559010b75981b1bdce728da3ee90ad6", + "url": "https://api.github.com/repos/webmozart/assert/zipball/9dc4f203e36f2b486149058bade43c851dd97451", + "reference": "9dc4f203e36f2b486149058bade43c851dd97451", "shasum": "" }, "require": { @@ -9840,6 +9874,7 @@ "symfony/polyfill-ctype": "^1.8" }, "conflict": { + "phpstan/phpstan": "<0.12.20", "vimeo/psalm": "<3.9.1" }, "require-dev": { @@ -9867,7 +9902,7 @@ "check", "validate" ], - "time": "2020-04-18T12:12:48+00:00" + "time": "2020-06-16T10:16:42+00:00" }, { "name": "yubico/u2flib-server", @@ -10610,16 +10645,16 @@ }, { "name": "friendsofphp/php-cs-fixer", - "version": "v2.16.3", + "version": "v2.16.4", "source": { "type": "git", "url": "https://github.com/FriendsOfPHP/PHP-CS-Fixer.git", - "reference": "83baf823a33a1cbd5416c8626935cf3f843c10b0" + "reference": "1023c3458137ab052f6ff1e09621a721bfdeca13" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/zipball/83baf823a33a1cbd5416c8626935cf3f843c10b0", - "reference": "83baf823a33a1cbd5416c8626935cf3f843c10b0", + "url": "https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/zipball/1023c3458137ab052f6ff1e09621a721bfdeca13", + "reference": "1023c3458137ab052f6ff1e09621a721bfdeca13", "shasum": "" }, "require": { @@ -10651,12 +10686,12 @@ "php-cs-fixer/phpunit-constraint-xmlmatchesxsd": "^1.1", "phpunit/phpunit": "^5.7.27 || ^6.5.14 || ^7.1", "phpunitgoodpractices/traits": "^1.8", - "symfony/phpunit-bridge": "^4.3 || ^5.0", + "symfony/phpunit-bridge": "^5.1", "symfony/yaml": "^3.0 || ^4.0 || ^5.0" }, "suggest": { "ext-dom": "For handling output formats in XML", - "ext-mbstring": "For handling non-UTF8 characters in cache signature.", + "ext-mbstring": "For handling non-UTF8 characters.", "php-cs-fixer/phpunit-constraint-isidenticalstring": "For IsIdenticalString constraint.", "php-cs-fixer/phpunit-constraint-xmlmatchesxsd": "For XmlMatchesXsd constraint.", "symfony/polyfill-mbstring": "When enabling `ext-mbstring` is not possible." @@ -10697,7 +10732,7 @@ } ], "description": "A tool to automatically fix PHP code style", - "time": "2020-04-15T18:51:10+00:00" + "time": "2020-06-27T23:57:46+00:00" }, { "name": "jean85/pretty-package-versions", @@ -11196,16 +11231,16 @@ }, { "name": "phpstan/phpstan", - "version": "0.12.29", + "version": "0.12.32", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan.git", - "reference": "9771daaf6b95c6313b908d0bcdee0afcd51f838a" + "reference": "d03863f504c8432b3de4d1881f73f6acb8c0e67c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/9771daaf6b95c6313b908d0bcdee0afcd51f838a", - "reference": "9771daaf6b95c6313b908d0bcdee0afcd51f838a", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/d03863f504c8432b3de4d1881f73f6acb8c0e67c", + "reference": "d03863f504c8432b3de4d1881f73f6acb8c0e67c", "shasum": "" }, "require": { @@ -11234,20 +11269,20 @@ "MIT" ], "description": "PHPStan - PHP Static Analysis Tool", - "time": "2020-06-14T14:10:59+00:00" + "time": "2020-07-01T11:57:52+00:00" }, { "name": "phpstan/phpstan-doctrine", - "version": "0.12.16", + "version": "0.12.17", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan-doctrine.git", - "reference": "65146e35905478bfb4e2ba078ffca1a16029d4ee" + "reference": "5eed42b2815f100f25bd45fe8c1a9b01f3e41657" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan-doctrine/zipball/65146e35905478bfb4e2ba078ffca1a16029d4ee", - "reference": "65146e35905478bfb4e2ba078ffca1a16029d4ee", + "url": "https://api.github.com/repos/phpstan/phpstan-doctrine/zipball/5eed42b2815f100f25bd45fe8c1a9b01f3e41657", + "reference": "5eed42b2815f100f25bd45fe8c1a9b01f3e41657", "shasum": "" }, "require": { @@ -11300,7 +11335,7 @@ "MIT" ], "description": "Doctrine extensions for PHPStan", - "time": "2020-06-14T11:03:59+00:00" + "time": "2020-06-23T08:50:27+00:00" }, { "name": "phpstan/phpstan-symfony", @@ -11374,16 +11409,16 @@ }, { "name": "psalm/plugin-symfony", - "version": "v1.2.3", + "version": "v1.3.0", "source": { "type": "git", "url": "https://github.com/psalm/psalm-plugin-symfony.git", - "reference": "f0b6ffab06a031490ea201cf45766b3f5883a412" + "reference": "76ff9a0f8eee871f813f29a996c317f568cdb085" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/psalm/psalm-plugin-symfony/zipball/f0b6ffab06a031490ea201cf45766b3f5883a412", - "reference": "f0b6ffab06a031490ea201cf45766b3f5883a412", + "url": "https://api.github.com/repos/psalm/psalm-plugin-symfony/zipball/76ff9a0f8eee871f813f29a996c317f568cdb085", + "reference": "76ff9a0f8eee871f813f29a996c317f568cdb085", "shasum": "" }, "require": { @@ -11394,9 +11429,10 @@ }, "require-dev": { "codeception/base": "^2.5", + "doctrine/orm": "^2.7", "phpunit/phpunit": "~7.5", "symfony/console": "*", - "weirdan/codeception-psalm-module": "^0.2.2" + "weirdan/codeception-psalm-module": "^0.7.3" }, "suggest": { "weirdan/doctrine-psalm-plugin": "If Doctrine is used, it is recommended install this plugin" @@ -11423,7 +11459,7 @@ } ], "description": "Psalm Plugin for Symfony", - "time": "2020-06-09T09:15:09+00:00" + "time": "2020-06-19T13:18:31+00:00" }, { "name": "roave/security-advisories", @@ -11431,12 +11467,12 @@ "source": { "type": "git", "url": "https://github.com/Roave/SecurityAdvisories.git", - "reference": "59f3050bcd5dab238c9ac3eada55269cc2fcfaa8" + "reference": "57353ec1a34527a2dbbd3c0fb9418ffc008c6f60" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Roave/SecurityAdvisories/zipball/59f3050bcd5dab238c9ac3eada55269cc2fcfaa8", - "reference": "59f3050bcd5dab238c9ac3eada55269cc2fcfaa8", + "url": "https://api.github.com/repos/Roave/SecurityAdvisories/zipball/57353ec1a34527a2dbbd3c0fb9418ffc008c6f60", + "reference": "57353ec1a34527a2dbbd3c0fb9418ffc008c6f60", "shasum": "" }, "conflict": { @@ -11445,6 +11481,7 @@ "alterphp/easyadmin-extension-bundle": ">=1.2,<1.2.11|>=1.3,<1.3.1", "amphp/artax": "<1.0.6|>=2,<2.0.6", "amphp/http": "<1.0.1", + "amphp/http-client": ">=4,<4.4", "api-platform/core": ">=2.2,<2.2.10|>=2.3,<2.3.6", "asymmetricrypt/asymmetricrypt": ">=0,<9.9.99", "aws/aws-sdk-php": ">=3,<3.2.1", @@ -11479,8 +11516,8 @@ "doctrine/orm": ">=2,<2.4.8|>=2.5,<2.5.1", "dolibarr/dolibarr": "<11.0.4", "dompdf/dompdf": ">=0.6,<0.6.2", - "drupal/core": ">=7,<7.70|>=8,<8.7.14|>=8.8,<8.8.6", - "drupal/drupal": ">=7,<7.70|>=8,<8.7.14|>=8.8,<8.8.6", + "drupal/core": ">=7,<7.72|>=8,<8.8.8|>=8.9,<8.9.1|>=9,<9.0.1", + "drupal/drupal": ">=7,<7.72|>=8,<8.8.8|>=8.9,<8.9.1|>=9,<9.0.1", "endroid/qr-code-bundle": "<3.4.2", "enshrined/svg-sanitize": "<0.13.1", "erusev/parsedown": "<1.7.2", @@ -11529,8 +11566,9 @@ "magento/product-community-edition": ">=2,<2.2.10|>=2.3,<2.3.2-p.2", "monolog/monolog": ">=1.8,<1.12", "namshi/jose": "<2.2", + "nystudio107/craft-seomatic": "<3.3", "nzo/url-encryptor-bundle": ">=4,<4.3.2|>=5,<5.0.1", - "october/october": ">=1.0.319,<1.0.466", + "october/october": ">=1.0.319,<1.0.467", "onelogin/php-saml": "<2.10.4", "oneup/uploader-bundle": "<1.9.3|>=2,<2.1.5", "openid/php-openid": "<2.3", @@ -11697,7 +11735,7 @@ } ], "description": "Prevents installation of composer packages with known security vulnerabilities: no API, simply require it", - "time": "2020-06-11T00:01:52+00:00" + "time": "2020-07-03T16:50:03+00:00" }, { "name": "sebastian/diff", @@ -11757,16 +11795,16 @@ }, { "name": "slevomat/coding-standard", - "version": "6.3.8", + "version": "6.3.10", "source": { "type": "git", "url": "https://github.com/slevomat/coding-standard.git", - "reference": "500f55b5e2dee1dcef8e88f2038990acdba29f1c" + "reference": "58fa5ea2c048357ae55185eb5e93ca2826fffde0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/slevomat/coding-standard/zipball/500f55b5e2dee1dcef8e88f2038990acdba29f1c", - "reference": "500f55b5e2dee1dcef8e88f2038990acdba29f1c", + "url": "https://api.github.com/repos/slevomat/coding-standard/zipball/58fa5ea2c048357ae55185eb5e93ca2826fffde0", + "reference": "58fa5ea2c048357ae55185eb5e93ca2826fffde0", "shasum": "" }, "require": { @@ -11800,7 +11838,7 @@ "MIT" ], "description": "Slevomat Coding Standard for PHP_CodeSniffer complements Consistence Coding Standard by providing sniffs with additional checks.", - "time": "2020-05-27T06:28:47+00:00" + "time": "2020-06-22T11:33:09+00:00" }, { "name": "squizlabs/php_codesniffer", @@ -11855,7 +11893,7 @@ }, { "name": "symfony/browser-kit", - "version": "v5.1.1", + "version": "v5.1.2", "source": { "type": "git", "url": "https://github.com/symfony/browser-kit.git", @@ -11914,7 +11952,7 @@ }, { "name": "symfony/debug-bundle", - "version": "v5.1.1", + "version": "v5.1.2", "source": { "type": "git", "url": "https://github.com/symfony/debug-bundle.git", @@ -12009,7 +12047,7 @@ }, { "name": "symfony/dom-crawler", - "version": "v5.1.1", + "version": "v5.1.2", "source": { "type": "git", "url": "https://github.com/symfony/dom-crawler.git", @@ -12139,7 +12177,7 @@ }, { "name": "symfony/phpunit-bridge", - "version": "v5.1.1", + "version": "v5.1.2", "source": { "type": "git", "url": "https://github.com/symfony/phpunit-bridge.git", @@ -12204,16 +12242,16 @@ }, { "name": "symfony/polyfill-php70", - "version": "v1.17.0", + "version": "v1.17.1", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php70.git", - "reference": "82225c2d7d23d7e70515496d249c0152679b468e" + "reference": "471b096aede7025bace8eb356b9ac801aaba7e2d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php70/zipball/82225c2d7d23d7e70515496d249c0152679b468e", - "reference": "82225c2d7d23d7e70515496d249c0152679b468e", + "url": "https://api.github.com/repos/symfony/polyfill-php70/zipball/471b096aede7025bace8eb356b9ac801aaba7e2d", + "reference": "471b096aede7025bace8eb356b9ac801aaba7e2d", "shasum": "" }, "require": { @@ -12224,6 +12262,10 @@ "extra": { "branch-alias": { "dev-master": "1.17-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" } }, "autoload": { @@ -12259,7 +12301,7 @@ "portable", "shim" ], - "time": "2020-05-12T16:47:27+00:00" + "time": "2020-06-06T08:46:27+00:00" }, { "name": "symfony/profiler-pack", @@ -12319,7 +12361,7 @@ }, { "name": "symfony/web-profiler-bundle", - "version": "v5.1.1", + "version": "v5.1.2", "source": { "type": "git", "url": "https://github.com/symfony/web-profiler-bundle.git", @@ -12852,22 +12894,22 @@ }, { "name": "vimeo/psalm", - "version": "3.11.5", + "version": "3.12.2", "source": { "type": "git", "url": "https://github.com/vimeo/psalm.git", - "reference": "3c60609c218d4d4b3b257728b8089094e5c6c6c2" + "reference": "7c7ebd068f8acaba211d4a2c707c4ba90874fa26" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/vimeo/psalm/zipball/3c60609c218d4d4b3b257728b8089094e5c6c6c2", - "reference": "3c60609c218d4d4b3b257728b8089094e5c6c6c2", + "url": "https://api.github.com/repos/vimeo/psalm/zipball/7c7ebd068f8acaba211d4a2c707c4ba90874fa26", + "reference": "7c7ebd068f8acaba211d4a2c707c4ba90874fa26", "shasum": "" }, "require": { "amphp/amp": "^2.1", "amphp/byte-stream": "^1.5", - "composer/semver": "^1.4", + "composer/semver": "^1.4 || ^2.0 || ^3.0", "composer/xdebug-handler": "^1.1", "ext-dom": "*", "ext-json": "*", @@ -12945,7 +12987,7 @@ "inspection", "php" ], - "time": "2020-05-27T15:12:09+00:00" + "time": "2020-07-03T16:59:07+00:00" }, { "name": "webmozart/glob", diff --git a/config/packages/doctrine_migrations.yaml b/config/packages/doctrine_migrations.yaml index 3bf0fbca..61e66124 100644 --- a/config/packages/doctrine_migrations.yaml +++ b/config/packages/doctrine_migrations.yaml @@ -1,5 +1,5 @@ doctrine_migrations: - dir_name: '%kernel.project_dir%/src/Migrations' - # namespace is arbitrary but should be different from App\Migrations - # as migrations classes should NOT be autoloaded - namespace: DoctrineMigrations + migrations_paths: + # namespace is arbitrary but should be different from App\Migrations + # as migrations classes should NOT be autoloaded + 'DoctrineMigrations': '%kernel.project_dir%/migrations' diff --git a/config/services.yaml b/config/services.yaml index fe73dc09..9a08ff86 100644 --- a/config/services.yaml +++ b/config/services.yaml @@ -39,6 +39,9 @@ services: Swap\Swap: alias: 'florianv_swap.swap' + Doctrine\Migrations\DependencyFactory: + alias: 'doctrine.migrations.dependency_factory' + #################################################################################################################### # Email #################################################################################################################### diff --git a/migrations/.gitignore b/migrations/.gitignore new file mode 100644 index 00000000..e69de29b diff --git a/src/Migrations/Version1.php b/migrations/Version1.php similarity index 98% rename from src/Migrations/Version1.php rename to migrations/Version1.php index 227bdeee..c4d7abde 100644 --- a/src/Migrations/Version1.php +++ b/migrations/Version1.php @@ -22,10 +22,8 @@ declare(strict_types=1); namespace DoctrineMigrations; -use App\Migrations\AbstractMultiPlatformMigration; -use Doctrine\DBAL\DBALException; +use App\Migration\AbstractMultiPlatformMigration; use Doctrine\DBAL\Schema\Schema; -use Doctrine\Migrations\AbstractMigration; /** * Auto-generated Migration: Please modify to your needs! @@ -40,7 +38,7 @@ final class Version1 extends AbstractMultiPlatformMigration public function mySQLUp(Schema $schema): void { - $this->skipIf($this->getOldDBVersion() > 0, 'Old Part-DB Database detected! Continue with upgrade...'); + $this->warnIf($this->getOldDBVersion() > 0, 'Old Part-DB Database detected! Continue with upgrade...'); // this up() migration is auto-generated, please modify it to your needs $this->abortIf('mysql' !== $this->connection->getDatabasePlatform()->getName(), 'Migration can only be executed safely on \'mysql\'.'); @@ -228,11 +226,11 @@ EOD; public function sqLiteUp(Schema $schema): void { - $this->skipIf(true, "Migration not needed for SQLite. Skipping..."); + $this->warnIf(true, "Migration not needed for SQLite. Skipping..."); } public function sqLiteDown(Schema $schema): void { - $this->skipIf(true, "Migration not needed for SQLite. Skipping..."); + $this->warIf(true, "Migration not needed for SQLite. Skipping..."); } } diff --git a/src/Migrations/Version20190902140506.php b/migrations/Version20190902140506.php similarity index 99% rename from src/Migrations/Version20190902140506.php rename to migrations/Version20190902140506.php index e0a881d1..31798f06 100644 --- a/src/Migrations/Version20190902140506.php +++ b/migrations/Version20190902140506.php @@ -22,10 +22,9 @@ declare(strict_types=1); namespace DoctrineMigrations; -use App\Migrations\AbstractMultiPlatformMigration; +use App\Migration\AbstractMultiPlatformMigration; use Doctrine\DBAL\DBALException; use Doctrine\DBAL\Schema\Schema; -use Doctrine\Migrations\AbstractMigration; /** * Auto-generated Migration: Please modify to your needs! @@ -48,7 +47,7 @@ final class Version20190902140506 extends AbstractMultiPlatformMigration $this->abortIf(26 !== $version, 'This database migration can only be used if the database version is 26! Install Part-DB 0.5.6 and update database there!'); } catch (DBALException $dBALException) { //when the table was not found, then you can not use this migration - $this->skipIf(true, 'Empty database detected. Skip migration.'); + $this->warnIf(true, 'Empty database detected. Skip migration.'); } //Deactive SQL Modes (especially NO_ZERO_DATE, which prevents updating) @@ -320,11 +319,11 @@ final class Version20190902140506 extends AbstractMultiPlatformMigration public function sqLiteUp(Schema $schema): void { - $this->skipIf(true, "Migration not needed for SQLite. Skipping..."); + $this->warnIf(true, "Migration not needed for SQLite. Skipping..."); } public function sqLiteDown(Schema $schema): void { - $this->skipIf(true, "Migration not needed for SQLite. Skipping..."); + $this->warnIf(true, "Migration not needed for SQLite. Skipping..."); } } diff --git a/src/Migrations/Version20190913141126.php b/migrations/Version20190913141126.php similarity index 96% rename from src/Migrations/Version20190913141126.php rename to migrations/Version20190913141126.php index a62abac2..2ac262a4 100644 --- a/src/Migrations/Version20190913141126.php +++ b/migrations/Version20190913141126.php @@ -22,9 +22,8 @@ declare(strict_types=1); namespace DoctrineMigrations; -use App\Migrations\AbstractMultiPlatformMigration; +use App\Migration\AbstractMultiPlatformMigration; use Doctrine\DBAL\Schema\Schema; -use Doctrine\Migrations\AbstractMigration; /** * Auto-generated Migration: Please modify to your needs! @@ -84,11 +83,11 @@ final class Version20190913141126 extends AbstractMultiPlatformMigration public function sqLiteUp(Schema $schema): void { - $this->skipIf(true, "Migration not needed for SQLite. Skipping..."); + $this->warnIf(true, "Migration not needed for SQLite. Skipping..."); } public function sqLiteDown(Schema $schema): void { - $this->skipIf(true, "Migration not needed for SQLite. Skipping..."); + $this->warnIf(true, "Migration not needed for SQLite. Skipping..."); } } diff --git a/src/Migrations/Version20190924113252.php b/migrations/Version20190924113252.php similarity index 98% rename from src/Migrations/Version20190924113252.php rename to migrations/Version20190924113252.php index afc32cd6..e8c3fa6f 100644 --- a/src/Migrations/Version20190924113252.php +++ b/migrations/Version20190924113252.php @@ -22,9 +22,8 @@ declare(strict_types=1); namespace DoctrineMigrations; -use App\Migrations\AbstractMultiPlatformMigration; +use App\Migration\AbstractMultiPlatformMigration; use Doctrine\DBAL\Schema\Schema; -use Doctrine\Migrations\AbstractMigration; /** * Auto-generated Migration: Please modify to your needs! @@ -173,11 +172,11 @@ final class Version20190924113252 extends AbstractMultiPlatformMigration public function sqLiteUp(Schema $schema): void { - $this->skipIf(true, "Migration not needed for SQLite. Skipping..."); + $this->warnIf(true, "Migration not needed for SQLite. Skipping..."); } public function sqLiteDown(Schema $schema): void { - $this->skipIf(true, "Migration not needed for SQLite. Skipping..."); + $this->warnIf(true, "Migration not needed for SQLite. Skipping..."); } } diff --git a/src/Migrations/Version20191214153125.php b/migrations/Version20191214153125.php similarity index 93% rename from src/Migrations/Version20191214153125.php rename to migrations/Version20191214153125.php index 99b92a62..6cf1ce63 100644 --- a/src/Migrations/Version20191214153125.php +++ b/migrations/Version20191214153125.php @@ -22,9 +22,8 @@ declare(strict_types=1); namespace DoctrineMigrations; -use App\Migrations\AbstractMultiPlatformMigration; +use App\Migration\AbstractMultiPlatformMigration; use Doctrine\DBAL\Schema\Schema; -use Doctrine\Migrations\AbstractMigration; /** * Auto-generated Migration: Please modify to your needs! @@ -59,11 +58,11 @@ final class Version20191214153125 extends AbstractMultiPlatformMigration public function sqLiteUp(Schema $schema): void { - $this->skipIf(true, "Migration not needed for SQLite. Skipping..."); + $this->warnIf(true, "Migration not needed for SQLite. Skipping..."); } public function sqLiteDown(Schema $schema): void { - $this->skipIf(true, "Migration not needed for SQLite. Skipping..."); + $this->warnIf(true, "Migration not needed for SQLite. Skipping..."); } } diff --git a/src/Migrations/Version20200126191823.php b/migrations/Version20200126191823.php similarity index 93% rename from src/Migrations/Version20200126191823.php rename to migrations/Version20200126191823.php index 3f31d551..058445bc 100644 --- a/src/Migrations/Version20200126191823.php +++ b/migrations/Version20200126191823.php @@ -22,9 +22,8 @@ declare(strict_types=1); namespace DoctrineMigrations; -use App\Migrations\AbstractMultiPlatformMigration; +use App\Migration\AbstractMultiPlatformMigration; use Doctrine\DBAL\Schema\Schema; -use Doctrine\Migrations\AbstractMigration; /** * Auto-generated Migration: Please modify to your needs! @@ -62,11 +61,11 @@ final class Version20200126191823 extends AbstractMultiPlatformMigration public function sqLiteUp(Schema $schema): void { - $this->skipIf(true, "Migration not needed for SQLite. Skipping..."); + $this->warnIf(true, "Migration not needed for SQLite. Skipping..."); } public function sqLiteDown(Schema $schema): void { - $this->skipIf(true, "Migration not needed for SQLite. Skipping..."); + $this->warnIf(true, "Migration not needed for SQLite. Skipping..."); } } diff --git a/src/Migrations/Version20200311204104.php b/migrations/Version20200311204104.php similarity index 92% rename from src/Migrations/Version20200311204104.php rename to migrations/Version20200311204104.php index 9562f9d4..be21669c 100644 --- a/src/Migrations/Version20200311204104.php +++ b/migrations/Version20200311204104.php @@ -4,9 +4,8 @@ declare(strict_types=1); namespace DoctrineMigrations; -use App\Migrations\AbstractMultiPlatformMigration; +use App\Migration\AbstractMultiPlatformMigration; use Doctrine\DBAL\Schema\Schema; -use Doctrine\Migrations\AbstractMigration; /** * Auto-generated Migration: Please modify to your needs! @@ -52,11 +51,11 @@ final class Version20200311204104 extends AbstractMultiPlatformMigration public function sqLiteUp(Schema $schema): void { - $this->skipIf(true, "Migration not needed for SQLite. Skipping..."); + $this->warnIf(true, "Migration not needed for SQLite. Skipping..."); } public function sqLiteDown(Schema $schema): void { - $this->skipIf(true, "Migration not needed for SQLite. Skipping..."); + $this->warnIf(true, "Migration not needed for SQLite. Skipping..."); } } diff --git a/src/Migrations/Version20200409130946.php b/migrations/Version20200409130946.php similarity index 85% rename from src/Migrations/Version20200409130946.php rename to migrations/Version20200409130946.php index 099bcf15..9e9b7831 100644 --- a/src/Migrations/Version20200409130946.php +++ b/migrations/Version20200409130946.php @@ -4,9 +4,8 @@ declare(strict_types=1); namespace DoctrineMigrations; -use App\Migrations\AbstractMultiPlatformMigration; +use App\Migration\AbstractMultiPlatformMigration; use Doctrine\DBAL\Schema\Schema; -use Doctrine\Migrations\AbstractMigration; /** * Auto-generated Migration: Please modify to your needs! @@ -36,11 +35,11 @@ final class Version20200409130946 extends AbstractMultiPlatformMigration public function sqLiteUp(Schema $schema): void { - $this->skipIf(true, "Migration not needed for SQLite. Skipping..."); + $this->warnIf(true, "Migration not needed for SQLite. Skipping..."); } public function sqLiteDown(Schema $schema): void { - $this->skipIf(true, "Migration not needed for SQLite. Skipping..."); + $this->warnIf(true, "Migration not needed for SQLite. Skipping..."); } } diff --git a/src/Migrations/Version20200502161750.php b/migrations/Version20200502161750.php similarity index 99% rename from src/Migrations/Version20200502161750.php rename to migrations/Version20200502161750.php index 5774158a..c0fc4d7d 100644 --- a/src/Migrations/Version20200502161750.php +++ b/migrations/Version20200502161750.php @@ -4,9 +4,8 @@ declare(strict_types=1); namespace DoctrineMigrations; -use App\Migrations\AbstractMultiPlatformMigration; +use App\Migration\AbstractMultiPlatformMigration; use Doctrine\DBAL\Schema\Schema; -use Doctrine\Migrations\AbstractMigration; /** * Auto-generated Migration: Please modify to your needs! diff --git a/src/EventSubscriber/LogSystem/LogDBMigrationSubscriber.php b/src/EventSubscriber/LogSystem/LogDBMigrationSubscriber.php index a339fb4f..8d01848a 100644 --- a/src/EventSubscriber/LogSystem/LogDBMigrationSubscriber.php +++ b/src/EventSubscriber/LogSystem/LogDBMigrationSubscriber.php @@ -45,8 +45,10 @@ namespace App\EventSubscriber\LogSystem; use App\Entity\LogSystem\DatabaseUpdatedLogEntry; use App\Services\LogSystem\EventLogger; use Doctrine\Common\EventSubscriber; +use Doctrine\Migrations\DependencyFactory; use Doctrine\Migrations\Event\MigrationsEventArgs; use Doctrine\Migrations\Events; +use Doctrine\Migrations\Version\AliasResolver; /** * This subscriber logs databaseMigrations to Event log. @@ -57,21 +59,24 @@ class LogDBMigrationSubscriber implements EventSubscriber protected $new_version = null; protected $eventLogger; + protected $aliasResolver; - public function __construct(EventLogger $eventLogger) + public function __construct(EventLogger $eventLogger, DependencyFactory $dependencyFactory) { $this->eventLogger = $eventLogger; + $this->aliasResolver = $dependencyFactory->getVersionAliasResolver(); } public function onMigrationsMigrated(MigrationsEventArgs $args): void { //Dont do anything if this was a dry run - if ($args->isDryRun()) { + if ($args->getMigratorConfiguration()->isDryRun()) { return; } //Save the version after the migration - $this->new_version = $args->getConfiguration()->getCurrentVersion(); + //$this->new_version = $args->getMigratorConfiguration()->getCurrentVersion(); + $this->new_version = (string) $this->aliasResolver->resolveVersionAlias('current'); //After everything is done, write the results to DB log $this->old_version = empty($this->old_version) ? 'legacy/empty' : $this->old_version; @@ -89,7 +94,8 @@ class LogDBMigrationSubscriber implements EventSubscriber { // Save the version before any migration if (null === $this->old_version) { - $this->old_version = $args->getConfiguration()->getCurrentVersion(); + //$this->old_version = $args->getConfiguration()->getCurrentVersion(); + $this->old_version = (string) $this->aliasResolver->resolveVersionAlias('current'); } } diff --git a/src/Migrations/AbstractMultiPlatformMigration.php b/src/Migration/AbstractMultiPlatformMigration.php similarity index 83% rename from src/Migrations/AbstractMultiPlatformMigration.php rename to src/Migration/AbstractMultiPlatformMigration.php index d96fac5d..beab8532 100644 --- a/src/Migrations/AbstractMultiPlatformMigration.php +++ b/src/Migration/AbstractMultiPlatformMigration.php @@ -1,12 +1,14 @@ logger = $logger; + AbstractMigration::__construct($connection, $logger); + } + public function up(Schema $schema): void { $db_type = $this->connection->getDatabasePlatform()->getName(); @@ -95,11 +105,12 @@ abstract class AbstractMultiPlatformMigration extends AbstractMigration public function postUp(Schema $schema): void { parent::postUp($schema); - $this->write('[!!!] Permissions were updated! Please check if they fit your expectations!'); + $this->logger->warning('[!!!] Permissions were updated! Please check if they fit your expectations!'); if (!empty($this->admin_pw)) { - $this->write(''); - $this->write('The initial password for the "admin" user is: ' . $this->admin_pw . ''); + $this->logger->warning(''); + $this->logger->warning('The initial password for the "admin" user is: ' . $this->admin_pw . ''); + $this->logger->warning(''); } } diff --git a/symfony.lock b/symfony.lock index 1145bb6e..13b9c973 100644 --- a/symfony.lock +++ b/symfony.lock @@ -90,16 +90,16 @@ ] }, "doctrine/doctrine-migrations-bundle": { - "version": "1.2", + "version": "2.2", "recipe": { "repo": "github.com/symfony/recipes", "branch": "master", - "version": "1.2", - "ref": "c1431086fec31f17fbcfe6d6d7e92059458facc1" + "version": "2.2", + "ref": "baaa439e3e3179e69e3da84b671f0a3e4a2f56ad" }, "files": [ "./config/packages/doctrine_migrations.yaml", - "./src/Migrations/.gitignore" + "./migrations/.gitignore" ] }, "doctrine/event-manager": {