From 231e90a72e3e4c4b8380920e1b8fb3ae2392a280 Mon Sep 17 00:00:00 2001 From: Maxime Steinhausser Date: Thu, 2 Jun 2022 16:36:13 +0200 Subject: [PATCH 1/2] [Docs] Upgrade to Symfony 6.1 stable --- doc/app/composer.json | 22 +-- doc/app/composer.lock | 390 +++++++++++++++++++++--------------------- 2 files changed, 202 insertions(+), 210 deletions(-) diff --git a/doc/app/composer.json b/doc/app/composer.json index 44f21291..b554218c 100644 --- a/doc/app/composer.json +++ b/doc/app/composer.json @@ -8,24 +8,24 @@ "composer/package-versions-deprecated": "^1.11", "phpdocumentor/reflection-docblock": "^5.2", "stenope/stenope": "dev-master", - "symfony/asset": "^6.1@RC", - "symfony/console": "^6.1@RC", - "symfony/dotenv": "^6.1@RC", + "symfony/asset": "^6.1", + "symfony/console": "^6.1", + "symfony/dotenv": "^6.1", "symfony/flex": "^1.3.1", - "symfony/framework-bundle": "^6.1@RC", + "symfony/framework-bundle": "^6.1", "symfony/monolog-bundle": "^3.7", - "symfony/runtime": "^6.1@RC", - "symfony/twig-bundle": "^6.1@RC", + "symfony/runtime": "^6.1", + "symfony/twig-bundle": "^6.1", "symfony/webpack-encore-bundle": "^1.11", - "symfony/yaml": "^6.1@RC", + "symfony/yaml": "^6.1", "twig/extra-bundle": "^2.12|^3.0", "twig/twig": "^2.12|^3.0" }, "require-dev": { - "symfony/debug-bundle": "^6.1@RC", - "symfony/stopwatch": "^6.1@RC", - "symfony/var-dumper": "^6.1@RC", - "symfony/web-profiler-bundle": "^6.1@RC" + "symfony/debug-bundle": "^6.1", + "symfony/stopwatch": "^6.1", + "symfony/var-dumper": "^6.1", + "symfony/web-profiler-bundle": "^6.1" }, "config": { "optimize-autoloader": true, diff --git a/doc/app/composer.lock b/doc/app/composer.lock index 0c857663..1f04580d 100644 --- a/doc/app/composer.lock +++ b/doc/app/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "36c18c556a44f7981c1e2f49b99105f6", + "content-hash": "32707c0605d637e71e10cceff0daf343", "packages": [ { "name": "composer/package-versions-deprecated", @@ -669,7 +669,7 @@ "dist": { "type": "path", "url": "../..", - "reference": "3811e12b25cda76a3ca60e5ede6216d833016573" + "reference": "b975effa813f534d37ddfcee4816a166d8f1b165" }, "require": { "erusev/parsedown": "^1.7.4", @@ -758,7 +758,7 @@ }, { "name": "symfony/asset", - "version": "v6.1.0-RC1", + "version": "v6.1.0", "source": { "type": "git", "url": "https://github.com/symfony/asset.git", @@ -810,7 +810,7 @@ "description": "Manages URL generation and versioning of web assets such as CSS stylesheets, JavaScript files and image files", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/asset/tree/v6.1.0-RC1" + "source": "https://github.com/symfony/asset/tree/v6.1.0" }, "funding": [ { @@ -830,16 +830,16 @@ }, { "name": "symfony/cache", - "version": "v6.1.0-RC1", + "version": "v6.1.0", "source": { "type": "git", "url": "https://github.com/symfony/cache.git", - "reference": "4743afecf8ba617c5c47675bc744db169af47d0a" + "reference": "314afa1b7c9e157dbce75221a057428cfeb9c61e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/cache/zipball/4743afecf8ba617c5c47675bc744db169af47d0a", - "reference": "4743afecf8ba617c5c47675bc744db169af47d0a", + "url": "https://api.github.com/repos/symfony/cache/zipball/314afa1b7c9e157dbce75221a057428cfeb9c61e", + "reference": "314afa1b7c9e157dbce75221a057428cfeb9c61e", "shasum": "" }, "require": { @@ -906,7 +906,7 @@ "psr6" ], "support": { - "source": "https://github.com/symfony/cache/tree/v6.1.0-RC1" + "source": "https://github.com/symfony/cache/tree/v6.1.0" }, "funding": [ { @@ -922,24 +922,24 @@ "type": "tidelift" } ], - "time": "2022-04-26T13:23:01+00:00" + "time": "2022-05-21T13:34:40+00:00" }, { "name": "symfony/cache-contracts", - "version": "v3.0.1", + "version": "v3.1.0", "source": { "type": "git", "url": "https://github.com/symfony/cache-contracts.git", - "reference": "1c0a181c9ee221afe4fa55b2d13fc63c5ae14348" + "reference": "2eab7fa459af6d75c6463e63e633b667a9b761d3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/cache-contracts/zipball/1c0a181c9ee221afe4fa55b2d13fc63c5ae14348", - "reference": "1c0a181c9ee221afe4fa55b2d13fc63c5ae14348", + "url": "https://api.github.com/repos/symfony/cache-contracts/zipball/2eab7fa459af6d75c6463e63e633b667a9b761d3", + "reference": "2eab7fa459af6d75c6463e63e633b667a9b761d3", "shasum": "" }, "require": { - "php": ">=8.0.2", + "php": ">=8.1", "psr/cache": "^3.0" }, "suggest": { @@ -948,7 +948,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "3.0-dev" + "dev-main": "3.1-dev" }, "thanks": { "name": "symfony/contracts", @@ -985,7 +985,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/cache-contracts/tree/v3.0.1" + "source": "https://github.com/symfony/cache-contracts/tree/v3.1.0" }, "funding": [ { @@ -1001,20 +1001,20 @@ "type": "tidelift" } ], - "time": "2022-01-02T09:55:41+00:00" + "time": "2022-02-25T11:15:52+00:00" }, { "name": "symfony/config", - "version": "v6.1.0-RC1", + "version": "v6.1.0", "source": { "type": "git", "url": "https://github.com/symfony/config.git", - "reference": "614472728505943274631c0ac3cb47b392c58798" + "reference": "ed8d12417bcacd2d969750feb1fe1aab1c11e613" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/config/zipball/614472728505943274631c0ac3cb47b392c58798", - "reference": "614472728505943274631c0ac3cb47b392c58798", + "url": "https://api.github.com/repos/symfony/config/zipball/ed8d12417bcacd2d969750feb1fe1aab1c11e613", + "reference": "ed8d12417bcacd2d969750feb1fe1aab1c11e613", "shasum": "" }, "require": { @@ -1062,7 +1062,7 @@ "description": "Helps you find, load, combine, autofill and validate configuration values of any kind", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/config/tree/v6.1.0-RC1" + "source": "https://github.com/symfony/config/tree/v6.1.0" }, "funding": [ { @@ -1078,20 +1078,20 @@ "type": "tidelift" } ], - "time": "2022-04-25T21:28:30+00:00" + "time": "2022-05-17T12:56:32+00:00" }, { "name": "symfony/console", - "version": "v6.1.0-RC1", + "version": "v6.1.0", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "7755bd7069072348cb7215dadf57bcdba628e747" + "reference": "c9646197ef43b0e2ff44af61e7f0571526fd4170" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/7755bd7069072348cb7215dadf57bcdba628e747", - "reference": "7755bd7069072348cb7215dadf57bcdba628e747", + "url": "https://api.github.com/repos/symfony/console/zipball/c9646197ef43b0e2ff44af61e7f0571526fd4170", + "reference": "c9646197ef43b0e2ff44af61e7f0571526fd4170", "shasum": "" }, "require": { @@ -1158,7 +1158,7 @@ "terminal" ], "support": { - "source": "https://github.com/symfony/console/tree/v6.1.0-RC1" + "source": "https://github.com/symfony/console/tree/v6.1.0" }, "funding": [ { @@ -1174,11 +1174,11 @@ "type": "tidelift" } ], - "time": "2022-05-14T12:53:54+00:00" + "time": "2022-05-27T06:34:22+00:00" }, { "name": "symfony/css-selector", - "version": "v6.1.0-RC1", + "version": "v6.1.0", "source": { "type": "git", "url": "https://github.com/symfony/css-selector.git", @@ -1223,7 +1223,7 @@ "description": "Converts CSS selectors to XPath expressions", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/css-selector/tree/v6.1.0-RC1" + "source": "https://github.com/symfony/css-selector/tree/v6.1.0" }, "funding": [ { @@ -1243,16 +1243,16 @@ }, { "name": "symfony/dependency-injection", - "version": "v6.1.0-RC1", + "version": "v6.1.0", "source": { "type": "git", "url": "https://github.com/symfony/dependency-injection.git", - "reference": "5ed5c0b2f6dae25bc6722b8904706dde2b544d59" + "reference": "fc1fcd2b153f585934e80055bb3254913def2a6e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/dependency-injection/zipball/5ed5c0b2f6dae25bc6722b8904706dde2b544d59", - "reference": "5ed5c0b2f6dae25bc6722b8904706dde2b544d59", + "url": "https://api.github.com/repos/symfony/dependency-injection/zipball/fc1fcd2b153f585934e80055bb3254913def2a6e", + "reference": "fc1fcd2b153f585934e80055bb3254913def2a6e", "shasum": "" }, "require": { @@ -1310,7 +1310,7 @@ "description": "Allows you to standardize and centralize the way objects are constructed in your application", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/dependency-injection/tree/v6.1.0-RC1" + "source": "https://github.com/symfony/dependency-injection/tree/v6.1.0" }, "funding": [ { @@ -1326,29 +1326,29 @@ "type": "tidelift" } ], - "time": "2022-05-06T08:47:04+00:00" + "time": "2022-05-27T06:40:20+00:00" }, { "name": "symfony/deprecation-contracts", - "version": "v3.0.1", + "version": "v3.1.0", "source": { "type": "git", "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "26954b3d62a6c5fd0ea8a2a00c0353a14978d05c" + "reference": "07f1b9cc2ffee6aaafcf4b710fbc38ff736bd918" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/26954b3d62a6c5fd0ea8a2a00c0353a14978d05c", - "reference": "26954b3d62a6c5fd0ea8a2a00c0353a14978d05c", + "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/07f1b9cc2ffee6aaafcf4b710fbc38ff736bd918", + "reference": "07f1b9cc2ffee6aaafcf4b710fbc38ff736bd918", "shasum": "" }, "require": { - "php": ">=8.0.2" + "php": ">=8.1" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "3.0-dev" + "dev-main": "3.1-dev" }, "thanks": { "name": "symfony/contracts", @@ -1377,7 +1377,7 @@ "description": "A generic function and convention to trigger deprecation notices", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.0.1" + "source": "https://github.com/symfony/deprecation-contracts/tree/v3.1.0" }, "funding": [ { @@ -1393,11 +1393,11 @@ "type": "tidelift" } ], - "time": "2022-01-02T09:55:41+00:00" + "time": "2022-02-25T11:15:52+00:00" }, { "name": "symfony/dom-crawler", - "version": "v6.1.0-RC1", + "version": "v6.1.0", "source": { "type": "git", "url": "https://github.com/symfony/dom-crawler.git", @@ -1447,7 +1447,7 @@ "description": "Eases DOM navigation for HTML and XML documents", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/dom-crawler/tree/v6.1.0-RC1" + "source": "https://github.com/symfony/dom-crawler/tree/v6.1.0" }, "funding": [ { @@ -1467,7 +1467,7 @@ }, { "name": "symfony/dotenv", - "version": "v6.1.0-RC1", + "version": "v6.1.0", "source": { "type": "git", "url": "https://github.com/symfony/dotenv.git", @@ -1520,7 +1520,7 @@ "environment" ], "support": { - "source": "https://github.com/symfony/dotenv/tree/v6.1.0-RC1" + "source": "https://github.com/symfony/dotenv/tree/v6.1.0" }, "funding": [ { @@ -1540,16 +1540,16 @@ }, { "name": "symfony/error-handler", - "version": "v6.1.0-RC1", + "version": "v6.1.0", "source": { "type": "git", "url": "https://github.com/symfony/error-handler.git", - "reference": "5ba1bb74e3309e38ace8d78c007487f482bbe750" + "reference": "d02c662651e5de760bb7d5e94437113309e8f8a0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/error-handler/zipball/5ba1bb74e3309e38ace8d78c007487f482bbe750", - "reference": "5ba1bb74e3309e38ace8d78c007487f482bbe750", + "url": "https://api.github.com/repos/symfony/error-handler/zipball/d02c662651e5de760bb7d5e94437113309e8f8a0", + "reference": "d02c662651e5de760bb7d5e94437113309e8f8a0", "shasum": "" }, "require": { @@ -1591,7 +1591,7 @@ "description": "Provides tools to manage errors and ease debugging PHP code", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/error-handler/tree/v6.1.0-RC1" + "source": "https://github.com/symfony/error-handler/tree/v6.1.0" }, "funding": [ { @@ -1607,11 +1607,11 @@ "type": "tidelift" } ], - "time": "2022-05-10T09:20:06+00:00" + "time": "2022-05-23T10:32:57+00:00" }, { "name": "symfony/event-dispatcher", - "version": "v6.1.0-RC1", + "version": "v6.1.0", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher.git", @@ -1674,7 +1674,7 @@ "description": "Provides tools that allow your application components to communicate with each other by dispatching events and listening to them", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/event-dispatcher/tree/v6.1.0-RC1" + "source": "https://github.com/symfony/event-dispatcher/tree/v6.1.0" }, "funding": [ { @@ -1694,20 +1694,20 @@ }, { "name": "symfony/event-dispatcher-contracts", - "version": "v3.0.1", + "version": "v3.1.0", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher-contracts.git", - "reference": "7bc61cc2db649b4637d331240c5346dcc7708051" + "reference": "02ff5eea2f453731cfbc6bc215e456b781480448" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/7bc61cc2db649b4637d331240c5346dcc7708051", - "reference": "7bc61cc2db649b4637d331240c5346dcc7708051", + "url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/02ff5eea2f453731cfbc6bc215e456b781480448", + "reference": "02ff5eea2f453731cfbc6bc215e456b781480448", "shasum": "" }, "require": { - "php": ">=8.0.2", + "php": ">=8.1", "psr/event-dispatcher": "^1" }, "suggest": { @@ -1716,7 +1716,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "3.0-dev" + "dev-main": "3.1-dev" }, "thanks": { "name": "symfony/contracts", @@ -1753,7 +1753,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v3.0.1" + "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v3.1.0" }, "funding": [ { @@ -1769,20 +1769,20 @@ "type": "tidelift" } ], - "time": "2022-01-02T09:55:41+00:00" + "time": "2022-02-25T11:15:52+00:00" }, { "name": "symfony/filesystem", - "version": "v6.1.0-RC1", + "version": "v6.1.0", "source": { "type": "git", "url": "https://github.com/symfony/filesystem.git", - "reference": "2938239e4d04321ecdf2118546c9dd2595cff24c" + "reference": "3132d2f43ca799c2aa099f9738d98228c56baa5d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/filesystem/zipball/2938239e4d04321ecdf2118546c9dd2595cff24c", - "reference": "2938239e4d04321ecdf2118546c9dd2595cff24c", + "url": "https://api.github.com/repos/symfony/filesystem/zipball/3132d2f43ca799c2aa099f9738d98228c56baa5d", + "reference": "3132d2f43ca799c2aa099f9738d98228c56baa5d", "shasum": "" }, "require": { @@ -1816,7 +1816,7 @@ "description": "Provides basic utilities for the filesystem", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/filesystem/tree/v6.1.0-RC1" + "source": "https://github.com/symfony/filesystem/tree/v6.1.0" }, "funding": [ { @@ -1832,11 +1832,11 @@ "type": "tidelift" } ], - "time": "2022-04-08T16:22:35+00:00" + "time": "2022-05-21T13:34:40+00:00" }, { "name": "symfony/finder", - "version": "v6.1.0-RC1", + "version": "v6.1.0", "source": { "type": "git", "url": "https://github.com/symfony/finder.git", @@ -1880,7 +1880,7 @@ "description": "Finds files and directories via an intuitive fluent interface", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/finder/tree/v6.1.0-RC1" + "source": "https://github.com/symfony/finder/tree/v6.1.0" }, "funding": [ { @@ -1965,16 +1965,16 @@ }, { "name": "symfony/framework-bundle", - "version": "v6.1.0-RC1", + "version": "v6.1.0", "source": { "type": "git", "url": "https://github.com/symfony/framework-bundle.git", - "reference": "8c0485c8d51c675b07f1b0227f96ead41de9fbef" + "reference": "48aff85408cc5a0b800b187fb9e302f949446d41" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/framework-bundle/zipball/8c0485c8d51c675b07f1b0227f96ead41de9fbef", - "reference": "8c0485c8d51c675b07f1b0227f96ead41de9fbef", + "url": "https://api.github.com/repos/symfony/framework-bundle/zipball/48aff85408cc5a0b800b187fb9e302f949446d41", + "reference": "48aff85408cc5a0b800b187fb9e302f949446d41", "shasum": "" }, "require": { @@ -1982,10 +1982,10 @@ "ext-xml": "*", "php": ">=8.1", "symfony/cache": "^5.4|^6.0", - "symfony/config": "^5.4|^6.0", - "symfony/dependency-injection": "^5.4.5|^6.0.5", + "symfony/config": "^6.1", + "symfony/dependency-injection": "^6.1", "symfony/deprecation-contracts": "^2.1|^3", - "symfony/error-handler": "^5.4|^6.0", + "symfony/error-handler": "^6.1", "symfony/event-dispatcher": "^5.4|^6.0", "symfony/filesystem": "^5.4|^6.0", "symfony/finder": "^5.4|^6.0", @@ -2048,7 +2048,7 @@ "symfony/rate-limiter": "^5.4|^6.0", "symfony/security-bundle": "^5.4|^6.0", "symfony/semaphore": "^5.4|^6.0", - "symfony/serializer": "^5.4|^6.0", + "symfony/serializer": "^6.1", "symfony/stopwatch": "^5.4|^6.0", "symfony/string": "^5.4|^6.0", "symfony/translation": "^5.4|^6.0", @@ -2096,7 +2096,7 @@ "description": "Provides a tight integration between Symfony components and the Symfony full-stack framework", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/framework-bundle/tree/v6.1.0-RC1" + "source": "https://github.com/symfony/framework-bundle/tree/v6.1.0" }, "funding": [ { @@ -2112,20 +2112,20 @@ "type": "tidelift" } ], - "time": "2022-05-14T17:09:39+00:00" + "time": "2022-05-27T06:30:26+00:00" }, { "name": "symfony/http-foundation", - "version": "v6.1.0-RC1", + "version": "v6.1.0", "source": { "type": "git", "url": "https://github.com/symfony/http-foundation.git", - "reference": "3fa0a7d81846f44ec2246df4b0677fbf03be0f19" + "reference": "18f8a2a3ab703428143c27c055fd743ab7e7dcb1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-foundation/zipball/3fa0a7d81846f44ec2246df4b0677fbf03be0f19", - "reference": "3fa0a7d81846f44ec2246df4b0677fbf03be0f19", + "url": "https://api.github.com/repos/symfony/http-foundation/zipball/18f8a2a3ab703428143c27c055fd743ab7e7dcb1", + "reference": "18f8a2a3ab703428143c27c055fd743ab7e7dcb1", "shasum": "" }, "require": { @@ -2168,7 +2168,7 @@ "description": "Defines an object-oriented layer for the HTTP specification", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/http-foundation/tree/v6.1.0-RC1" + "source": "https://github.com/symfony/http-foundation/tree/v6.1.0" }, "funding": [ { @@ -2184,20 +2184,20 @@ "type": "tidelift" } ], - "time": "2022-05-11T12:12:29+00:00" + "time": "2022-05-21T13:34:40+00:00" }, { "name": "symfony/http-kernel", - "version": "v6.1.0-RC1", + "version": "v6.1.0", "source": { "type": "git", "url": "https://github.com/symfony/http-kernel.git", - "reference": "9da0aa05eaebeb33f638adc4fbcd32e813fb85b5" + "reference": "a57c7084bd0604d80d70c89c6662512c698352d1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-kernel/zipball/9da0aa05eaebeb33f638adc4fbcd32e813fb85b5", - "reference": "9da0aa05eaebeb33f638adc4fbcd32e813fb85b5", + "url": "https://api.github.com/repos/symfony/http-kernel/zipball/a57c7084bd0604d80d70c89c6662512c698352d1", + "reference": "a57c7084bd0604d80d70c89c6662512c698352d1", "shasum": "" }, "require": { @@ -2278,7 +2278,7 @@ "description": "Provides a structured process for converting a Request into a Response", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/http-kernel/tree/v6.1.0-RC1" + "source": "https://github.com/symfony/http-kernel/tree/v6.1.0" }, "funding": [ { @@ -2294,20 +2294,20 @@ "type": "tidelift" } ], - "time": "2022-05-14T18:28:31+00:00" + "time": "2022-05-27T07:21:03+00:00" }, { "name": "symfony/mime", - "version": "v6.1.0-RC1", + "version": "v6.1.0", "source": { "type": "git", "url": "https://github.com/symfony/mime.git", - "reference": "ccc0b0b3a702eae0160f3e93b384b754eeb8702c" + "reference": "032e796edbf842bc4b4c81c42598b144b95ce56a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/mime/zipball/ccc0b0b3a702eae0160f3e93b384b754eeb8702c", - "reference": "ccc0b0b3a702eae0160f3e93b384b754eeb8702c", + "url": "https://api.github.com/repos/symfony/mime/zipball/032e796edbf842bc4b4c81c42598b144b95ce56a", + "reference": "032e796edbf842bc4b4c81c42598b144b95ce56a", "shasum": "" }, "require": { @@ -2359,7 +2359,7 @@ "mime-type" ], "support": { - "source": "https://github.com/symfony/mime/tree/v6.1.0-RC1" + "source": "https://github.com/symfony/mime/tree/v6.1.0" }, "funding": [ { @@ -2375,11 +2375,11 @@ "type": "tidelift" } ], - "time": "2022-04-12T16:22:53+00:00" + "time": "2022-05-21T13:34:40+00:00" }, { "name": "symfony/monolog-bridge", - "version": "v6.1.0-RC1", + "version": "v6.1.0", "source": { "type": "git", "url": "https://github.com/symfony/monolog-bridge.git", @@ -2442,7 +2442,7 @@ "description": "Provides integration for Monolog with various Symfony components", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/monolog-bridge/tree/v6.1.0-RC1" + "source": "https://github.com/symfony/monolog-bridge/tree/v6.1.0" }, "funding": [ { @@ -2543,16 +2543,16 @@ }, { "name": "symfony/polyfill-intl-grapheme", - "version": "v1.25.0", + "version": "v1.26.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "81b86b50cf841a64252b439e738e97f4a34e2783" + "reference": "433d05519ce6990bf3530fba6957499d327395c2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/81b86b50cf841a64252b439e738e97f4a34e2783", - "reference": "81b86b50cf841a64252b439e738e97f4a34e2783", + "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/433d05519ce6990bf3530fba6957499d327395c2", + "reference": "433d05519ce6990bf3530fba6957499d327395c2", "shasum": "" }, "require": { @@ -2564,7 +2564,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.23-dev" + "dev-main": "1.26-dev" }, "thanks": { "name": "symfony/polyfill", @@ -2604,7 +2604,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.25.0" + "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.26.0" }, "funding": [ { @@ -2620,20 +2620,20 @@ "type": "tidelift" } ], - "time": "2021-11-23T21:10:46+00:00" + "time": "2022-05-24T11:49:31+00:00" }, { "name": "symfony/polyfill-intl-idn", - "version": "v1.25.0", + "version": "v1.26.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-idn.git", - "reference": "749045c69efb97c70d25d7463abba812e91f3a44" + "reference": "59a8d271f00dd0e4c2e518104cc7963f655a1aa8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-idn/zipball/749045c69efb97c70d25d7463abba812e91f3a44", - "reference": "749045c69efb97c70d25d7463abba812e91f3a44", + "url": "https://api.github.com/repos/symfony/polyfill-intl-idn/zipball/59a8d271f00dd0e4c2e518104cc7963f655a1aa8", + "reference": "59a8d271f00dd0e4c2e518104cc7963f655a1aa8", "shasum": "" }, "require": { @@ -2647,7 +2647,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.23-dev" + "dev-main": "1.26-dev" }, "thanks": { "name": "symfony/polyfill", @@ -2691,7 +2691,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-idn/tree/v1.25.0" + "source": "https://github.com/symfony/polyfill-intl-idn/tree/v1.26.0" }, "funding": [ { @@ -2707,20 +2707,20 @@ "type": "tidelift" } ], - "time": "2021-09-14T14:02:44+00:00" + "time": "2022-05-24T11:49:31+00:00" }, { "name": "symfony/polyfill-intl-normalizer", - "version": "v1.25.0", + "version": "v1.26.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "8590a5f561694770bdcd3f9b5c69dde6945028e8" + "reference": "219aa369ceff116e673852dce47c3a41794c14bd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/8590a5f561694770bdcd3f9b5c69dde6945028e8", - "reference": "8590a5f561694770bdcd3f9b5c69dde6945028e8", + "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/219aa369ceff116e673852dce47c3a41794c14bd", + "reference": "219aa369ceff116e673852dce47c3a41794c14bd", "shasum": "" }, "require": { @@ -2732,7 +2732,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.23-dev" + "dev-main": "1.26-dev" }, "thanks": { "name": "symfony/polyfill", @@ -2775,7 +2775,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.25.0" + "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.26.0" }, "funding": [ { @@ -2791,20 +2791,20 @@ "type": "tidelift" } ], - "time": "2021-02-19T12:13:01+00:00" + "time": "2022-05-24T11:49:31+00:00" }, { "name": "symfony/polyfill-mbstring", - "version": "v1.25.0", + "version": "v1.26.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "0abb51d2f102e00a4eefcf46ba7fec406d245825" + "reference": "9344f9cb97f3b19424af1a21a3b0e75b0a7d8d7e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/0abb51d2f102e00a4eefcf46ba7fec406d245825", - "reference": "0abb51d2f102e00a4eefcf46ba7fec406d245825", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/9344f9cb97f3b19424af1a21a3b0e75b0a7d8d7e", + "reference": "9344f9cb97f3b19424af1a21a3b0e75b0a7d8d7e", "shasum": "" }, "require": { @@ -2819,7 +2819,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.23-dev" + "dev-main": "1.26-dev" }, "thanks": { "name": "symfony/polyfill", @@ -2858,7 +2858,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.25.0" + "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.26.0" }, "funding": [ { @@ -2874,11 +2874,11 @@ "type": "tidelift" } ], - "time": "2021-11-30T18:21:41+00:00" + "time": "2022-05-24T11:49:31+00:00" }, { "name": "symfony/process", - "version": "v6.1.0-RC1", + "version": "v6.1.0", "source": { "type": "git", "url": "https://github.com/symfony/process.git", @@ -2919,7 +2919,7 @@ "description": "Executes commands in sub-processes", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/process/tree/v6.1.0-RC1" + "source": "https://github.com/symfony/process/tree/v6.1.0" }, "funding": [ { @@ -2939,7 +2939,7 @@ }, { "name": "symfony/property-access", - "version": "v6.1.0-RC1", + "version": "v6.1.0", "source": { "type": "git", "url": "https://github.com/symfony/property-access.git", @@ -2998,7 +2998,7 @@ "reflection" ], "support": { - "source": "https://github.com/symfony/property-access/tree/v6.1.0-RC1" + "source": "https://github.com/symfony/property-access/tree/v6.1.0" }, "funding": [ { @@ -3018,16 +3018,16 @@ }, { "name": "symfony/property-info", - "version": "v6.1.0-RC1", + "version": "v6.1.0", "source": { "type": "git", "url": "https://github.com/symfony/property-info.git", - "reference": "2eb46696b9aa9724ad897113c770c3d66b14cb8b" + "reference": "3034b470009cd673c6409c3c1952869c197bc8cd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/property-info/zipball/2eb46696b9aa9724ad897113c770c3d66b14cb8b", - "reference": "2eb46696b9aa9724ad897113c770c3d66b14cb8b", + "url": "https://api.github.com/repos/symfony/property-info/zipball/3034b470009cd673c6409c3c1952869c197bc8cd", + "reference": "3034b470009cd673c6409c3c1952869c197bc8cd", "shasum": "" }, "require": { @@ -3087,7 +3087,7 @@ "validator" ], "support": { - "source": "https://github.com/symfony/property-info/tree/v6.1.0-RC1" + "source": "https://github.com/symfony/property-info/tree/v6.1.0" }, "funding": [ { @@ -3103,11 +3103,11 @@ "type": "tidelift" } ], - "time": "2022-05-10T09:20:06+00:00" + "time": "2022-05-24T19:09:44+00:00" }, { "name": "symfony/routing", - "version": "v6.1.0-RC1", + "version": "v6.1.0", "source": { "type": "git", "url": "https://github.com/symfony/routing.git", @@ -3175,7 +3175,7 @@ "url" ], "support": { - "source": "https://github.com/symfony/routing/tree/v6.1.0-RC1" + "source": "https://github.com/symfony/routing/tree/v6.1.0" }, "funding": [ { @@ -3195,7 +3195,7 @@ }, { "name": "symfony/runtime", - "version": "v6.1.0-RC1", + "version": "v6.1.0", "source": { "type": "git", "url": "https://github.com/symfony/runtime.git", @@ -3251,7 +3251,7 @@ "description": "Enables decoupling PHP applications from global state", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/runtime/tree/v6.1.0-RC1" + "source": "https://github.com/symfony/runtime/tree/v6.1.0" }, "funding": [ { @@ -3271,7 +3271,7 @@ }, { "name": "symfony/serializer", - "version": "v6.1.0-RC1", + "version": "v6.1.0", "source": { "type": "git", "url": "https://github.com/symfony/serializer.git", @@ -3352,7 +3352,7 @@ "description": "Handles serializing and deserializing data structures, including object graphs, into array structures or other formats like XML and JSON.", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/serializer/tree/v6.1.0-RC1" + "source": "https://github.com/symfony/serializer/tree/v6.1.0" }, "funding": [ { @@ -3372,20 +3372,20 @@ }, { "name": "symfony/service-contracts", - "version": "v3.0.1", + "version": "v3.1.0", "source": { "type": "git", "url": "https://github.com/symfony/service-contracts.git", - "reference": "e517458f278c2131ca9f262f8fbaf01410f2c65c" + "reference": "d66cd8ab656780f62c4215b903a420eb86358957" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/service-contracts/zipball/e517458f278c2131ca9f262f8fbaf01410f2c65c", - "reference": "e517458f278c2131ca9f262f8fbaf01410f2c65c", + "url": "https://api.github.com/repos/symfony/service-contracts/zipball/d66cd8ab656780f62c4215b903a420eb86358957", + "reference": "d66cd8ab656780f62c4215b903a420eb86358957", "shasum": "" }, "require": { - "php": ">=8.0.2", + "php": ">=8.1", "psr/container": "^2.0" }, "conflict": { @@ -3397,7 +3397,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "3.0-dev" + "dev-main": "3.1-dev" }, "thanks": { "name": "symfony/contracts", @@ -3407,7 +3407,10 @@ "autoload": { "psr-4": { "Symfony\\Contracts\\Service\\": "" - } + }, + "exclude-from-classmap": [ + "/Test/" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -3434,7 +3437,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/service-contracts/tree/v3.0.1" + "source": "https://github.com/symfony/service-contracts/tree/v3.1.0" }, "funding": [ { @@ -3450,11 +3453,11 @@ "type": "tidelift" } ], - "time": "2022-03-13T20:10:05+00:00" + "time": "2022-05-07T08:07:09+00:00" }, { "name": "symfony/string", - "version": "v6.1.0-RC1", + "version": "v6.1.0", "source": { "type": "git", "url": "https://github.com/symfony/string.git", @@ -3519,7 +3522,7 @@ "utf8" ], "support": { - "source": "https://github.com/symfony/string/tree/v6.1.0-RC1" + "source": "https://github.com/symfony/string/tree/v6.1.0" }, "funding": [ { @@ -3617,16 +3620,16 @@ }, { "name": "symfony/twig-bridge", - "version": "v6.1.0-RC1", + "version": "v6.1.0", "source": { "type": "git", "url": "https://github.com/symfony/twig-bridge.git", - "reference": "5b8c7b2bff04d47672327c51496832144968b5b5" + "reference": "53ce2d7811500c0f0f94af700307ff5b1e305d3c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/twig-bridge/zipball/5b8c7b2bff04d47672327c51496832144968b5b5", - "reference": "5b8c7b2bff04d47672327c51496832144968b5b5", + "url": "https://api.github.com/repos/symfony/twig-bridge/zipball/53ce2d7811500c0f0f94af700307ff5b1e305d3c", + "reference": "53ce2d7811500c0f0f94af700307ff5b1e305d3c", "shasum": "" }, "require": { @@ -3719,7 +3722,7 @@ "description": "Provides integration for Twig with various Symfony components", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/twig-bridge/tree/v6.1.0-RC1" + "source": "https://github.com/symfony/twig-bridge/tree/v6.1.0" }, "funding": [ { @@ -3735,11 +3738,11 @@ "type": "tidelift" } ], - "time": "2022-05-13T16:41:52+00:00" + "time": "2022-05-21T13:34:40+00:00" }, { "name": "symfony/twig-bundle", - "version": "v6.1.0-RC1", + "version": "v6.1.0", "source": { "type": "git", "url": "https://github.com/symfony/twig-bundle.git", @@ -3805,7 +3808,7 @@ "description": "Provides a tight integration of Twig into the Symfony full-stack framework", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/twig-bundle/tree/v6.1.0-RC1" + "source": "https://github.com/symfony/twig-bundle/tree/v6.1.0" }, "funding": [ { @@ -3825,16 +3828,16 @@ }, { "name": "symfony/var-dumper", - "version": "v6.1.0-RC1", + "version": "v6.1.0", "source": { "type": "git", "url": "https://github.com/symfony/var-dumper.git", - "reference": "ef234654e3718cb7dace74c7ff5ce563e191fd0f" + "reference": "98587d939cb783aa04e828e8fa857edaca24c212" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/var-dumper/zipball/ef234654e3718cb7dace74c7ff5ce563e191fd0f", - "reference": "ef234654e3718cb7dace74c7ff5ce563e191fd0f", + "url": "https://api.github.com/repos/symfony/var-dumper/zipball/98587d939cb783aa04e828e8fa857edaca24c212", + "reference": "98587d939cb783aa04e828e8fa857edaca24c212", "shasum": "" }, "require": { @@ -3893,7 +3896,7 @@ "dump" ], "support": { - "source": "https://github.com/symfony/var-dumper/tree/v6.1.0-RC1" + "source": "https://github.com/symfony/var-dumper/tree/v6.1.0" }, "funding": [ { @@ -3909,20 +3912,20 @@ "type": "tidelift" } ], - "time": "2022-05-04T14:48:14+00:00" + "time": "2022-05-21T13:34:40+00:00" }, { "name": "symfony/var-exporter", - "version": "v6.1.0-RC1", + "version": "v6.1.0", "source": { "type": "git", "url": "https://github.com/symfony/var-exporter.git", - "reference": "e09f5b5bd857010a5e1b8864f30fed76697489d9" + "reference": "33c301d3177150a52350ac893490a9289eb143dd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/var-exporter/zipball/e09f5b5bd857010a5e1b8864f30fed76697489d9", - "reference": "e09f5b5bd857010a5e1b8864f30fed76697489d9", + "url": "https://api.github.com/repos/symfony/var-exporter/zipball/33c301d3177150a52350ac893490a9289eb143dd", + "reference": "33c301d3177150a52350ac893490a9289eb143dd", "shasum": "" }, "require": { @@ -3965,7 +3968,7 @@ "serialize" ], "support": { - "source": "https://github.com/symfony/var-exporter/tree/v6.1.0-RC1" + "source": "https://github.com/symfony/var-exporter/tree/v6.1.0" }, "funding": [ { @@ -3981,7 +3984,7 @@ "type": "tidelift" } ], - "time": "2022-04-30T16:37:22+00:00" + "time": "2022-05-21T13:34:40+00:00" }, { "name": "symfony/webpack-encore-bundle", @@ -4056,7 +4059,7 @@ }, { "name": "symfony/yaml", - "version": "v6.1.0-RC1", + "version": "v6.1.0", "source": { "type": "git", "url": "https://github.com/symfony/yaml.git", @@ -4110,7 +4113,7 @@ "description": "Loads and dumps YAML files", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/yaml/tree/v6.1.0-RC1" + "source": "https://github.com/symfony/yaml/tree/v6.1.0" }, "funding": [ { @@ -4345,7 +4348,7 @@ "packages-dev": [ { "name": "symfony/debug-bundle", - "version": "v6.1.0-RC1", + "version": "v6.1.0", "source": { "type": "git", "url": "https://github.com/symfony/debug-bundle.git", @@ -4403,7 +4406,7 @@ "description": "Provides a tight integration of the Symfony VarDumper component and the ServerLogCommand from MonologBridge into the Symfony full-stack framework", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/debug-bundle/tree/v6.1.0-RC1" + "source": "https://github.com/symfony/debug-bundle/tree/v6.1.0" }, "funding": [ { @@ -4423,7 +4426,7 @@ }, { "name": "symfony/stopwatch", - "version": "v6.1.0-RC1", + "version": "v6.1.0", "source": { "type": "git", "url": "https://github.com/symfony/stopwatch.git", @@ -4465,7 +4468,7 @@ "description": "Provides a way to profile code", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/stopwatch/tree/v6.1.0-RC1" + "source": "https://github.com/symfony/stopwatch/tree/v6.1.0" }, "funding": [ { @@ -4485,7 +4488,7 @@ }, { "name": "symfony/web-profiler-bundle", - "version": "v6.1.0-RC1", + "version": "v6.1.0", "source": { "type": "git", "url": "https://github.com/symfony/web-profiler-bundle.git", @@ -4543,7 +4546,7 @@ "description": "Provides a development tool that gives detailed information about the execution of any request", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/web-profiler-bundle/tree/v6.1.0-RC1" + "source": "https://github.com/symfony/web-profiler-bundle/tree/v6.1.0" }, "funding": [ { @@ -4565,18 +4568,7 @@ "aliases": [], "minimum-stability": "RC", "stability-flags": { - "stenope/stenope": 20, - "symfony/asset": 5, - "symfony/console": 5, - "symfony/dotenv": 5, - "symfony/framework-bundle": 5, - "symfony/runtime": 5, - "symfony/twig-bundle": 5, - "symfony/yaml": 5, - "symfony/debug-bundle": 5, - "symfony/stopwatch": 5, - "symfony/var-dumper": 5, - "symfony/web-profiler-bundle": 5 + "stenope/stenope": 20 }, "prefer-stable": false, "prefer-lowest": false, From 55a2dca11886f396322ae466d6bb35bcfb44f8f3 Mon Sep 17 00:00:00 2001 From: Maxime Steinhausser Date: Thu, 16 Jun 2022 15:00:59 +0200 Subject: [PATCH 2/2] Upgrade PHPStan --- composer.json | 4 ++-- phpstan.neon.dist | 12 ++++++------ src/Command/DebugCommand.php | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/composer.json b/composer.json index 08245173..5b8d4651 100644 --- a/composer.json +++ b/composer.json @@ -58,9 +58,9 @@ }, "require-dev": { "doctrine/annotations": "^1.9", - "ekino/phpstan-banned-code": "^0.4", + "ekino/phpstan-banned-code": "^1.0", "phpspec/prophecy-phpunit": "^2.0", - "phpstan/phpstan": "^0.12.32", + "phpstan/phpstan": "^1.6", "psr/log": "^1", "symfony/browser-kit": "^5.1|^6.0", "symfony/expression-language": "^5.1|^6.0", diff --git a/phpstan.neon.dist b/phpstan.neon.dist index 76e753a4..0e3edf7a 100644 --- a/phpstan.neon.dist +++ b/phpstan.neon.dist @@ -2,21 +2,21 @@ includes: - vendor/ekino/phpstan-banned-code/extension.neon parameters: + level: 1 + bootstrapFiles: - config/tags.php - tests/bootstrap.php - vendor/bin/.phpunit/phpunit/vendor/autoload.php - excludes_analyse: - - tests/fixtures/app/var/ - - tests/fixtures/Unit/Service/Git/bin - - level: 1 - paths: - 'src' - 'tests' + excludePaths: + - tests/fixtures/app/var/ + - tests/fixtures/Unit/Service/Git/bin + banned_code: nodes: #- diff --git a/src/Command/DebugCommand.php b/src/Command/DebugCommand.php index 68927b35..20638231 100644 --- a/src/Command/DebugCommand.php +++ b/src/Command/DebugCommand.php @@ -188,7 +188,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int private function getOrders(array $rawOrders): array { $orders = []; - foreach ($rawOrders ?? [] as $field) { + foreach ($rawOrders as $field) { if (str_starts_with($field, 'desc:')) { $orders[substr($field, 5)] = false; continue;