[TASK] Remove dependency to webmozart/assert 09/63209/3
authorBenni Mack <benni@typo3.org>
Wed, 12 Feb 2020 19:46:30 +0000 (20:46 +0100)
committerBenni Mack <benni@typo3.org>
Wed, 12 Feb 2020 20:43:18 +0000 (21:43 +0100)
TYPO3 uses "phpdocumentor/reflection-docblock" (added in Jan 2019)
but also added "webmozart/assert" which is not needed directly (as it is
a subdependency). Thus, TYPO3 Core should only require what is directly
used, therefore the dependency is removed.

Used composer command:
  composer remove webmozart/assert

Resolves: #90364
Releases: master
Change-Id: Ief2787cb98c0080517f73e321ab34568b0addafb
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/63209
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Benni Mack <benni@typo3.org>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Benni Mack <benni@typo3.org>
composer.json
composer.lock
typo3/sysext/extbase/composer.json

index b64b898..aabd8e7 100644 (file)
@@ -71,8 +71,7 @@
                "typo3/cms-cli": "^2.0",
                "typo3/cms-composer-installers": "^2.0",
                "typo3/phar-stream-wrapper": "^3.1.3",
-               "typo3fluid/fluid": "^2.6.8",
-               "webmozart/assert": "^1.0"
+               "typo3fluid/fluid": "^2.6.8"
        },
        "require-dev": {
                "codeception/codeception": "^2.5.4 || ^3",
index c59be73..9f72809 100644 (file)
@@ -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": "10987d4662e6f2d243f37617c6761d8e",
+    "content-hash": "a1bf7ee0d439e8f2928c9abb5ec33f8b",
     "packages": [
         {
             "name": "cogpowered/finediff",
         },
         {
             "name": "webmozart/assert",
-            "version": "1.5.0",
+            "version": "1.6.0",
             "source": {
                 "type": "git",
                 "url": "https://github.com/webmozart/assert.git",
-                "reference": "88e6d84706d09a236046d686bbea96f07b3a34f4"
+                "reference": "573381c0a64f155a0d9a23f4b0c797194805b925"
             },
             "dist": {
                 "type": "zip",
-                "url": "https://api.github.com/repos/webmozart/assert/zipball/88e6d84706d09a236046d686bbea96f07b3a34f4",
-                "reference": "88e6d84706d09a236046d686bbea96f07b3a34f4",
+                "url": "https://api.github.com/repos/webmozart/assert/zipball/573381c0a64f155a0d9a23f4b0c797194805b925",
+                "reference": "573381c0a64f155a0d9a23f4b0c797194805b925",
                 "shasum": ""
             },
             "require": {
                 "php": "^5.3.3 || ^7.0",
                 "symfony/polyfill-ctype": "^1.8"
             },
+            "conflict": {
+                "vimeo/psalm": "<3.6.0"
+            },
             "require-dev": {
                 "phpunit/phpunit": "^4.8.36 || ^7.5.13"
             },
             "type": "library",
-            "extra": {
-                "branch-alias": {
-                    "dev-master": "1.3-dev"
-                }
-            },
             "autoload": {
                 "psr-4": {
                     "Webmozart\\Assert\\": "src/"
                 "check",
                 "validate"
             ],
-            "time": "2019-08-24T08:43:50+00:00"
+            "time": "2019-11-24T13:36:37+00:00"
         }
     ],
     "packages-dev": [
index 74dcabd..a696d0c 100644 (file)
@@ -18,8 +18,7 @@
                "symfony/dependency-injection": "^4.4 || ^5.0",
                "symfony/property-access": "^4.4 || ^5.0",
                "symfony/property-info": "^4.4 || ^5.0",
-               "typo3/cms-core": "10.3.*@dev",
-               "webmozart/assert": "^1.0"
+               "typo3/cms-core": "10.3.*@dev"
        },
        "suggest": {
                "typo3/cms-scheduler": "Additional scheduler tasks"