将 symfony 4.3 更新到 4.4 调用未定义的方法 phpDocumentor\

我收到错误


[php] Call to undefined method phpDocumentor\Reflection\DocBlock\Tags\InvalidTag::getType() ["exception" => Symfony\Component\Debug\Exception\FatalThrowableError { …}]

将 Symfony 4.3 升级到 4.4 后


这是 composer.json


"require": {

    "php": ">=7.4",

    "ext-bcmath": "*",

    "ext-curl": "*",

    "ext-dom": "*",

    "ext-json": "*",

    "ext-openssl": "*",

    "ext-simplexml": "*",

    "ext-soap": "*",

    "ext-sodium": "*",

    "beberlei/DoctrineExtensions": "^1.2",

    "codeception/codeception": "^4.0",

    "codeception/module-webdriver": "^1.0",

    "doctrine/doctrine-bundle": "1.12.0",

    "doctrine/doctrine-migrations-bundle": "^2.1",

    "excelwebzone/recaptcha-bundle": "^1.5",

    "friendsofsymfony/ckeditor-bundle": "^2.0",

    "friendsofsymfony/jsrouting-bundle": "2.2",

    "friendsofsymfony/rest-bundle": "^2.4",

    "friendsofsymfony/user-bundle": "^2.1",

    "geocoder-php/google-maps-provider": "^4.2",

    "happyr/google-analytics-bundle": "^5.0",

    "helios-ag/fm-elfinder-bundle": "^9.0",

    "incenteev/composer-parameter-handler": "^2.1",

    "jeremy-dunn/php-fedex-api-wrapper": "^2.6",

    "jms/serializer-bundle": "^2.4",

    "jms/translation-bundle": "^1.4",

    "knplabs/doctrine-behaviors": "^1.5",

    "knplabs/knp-menu-bundle": "^2.2",

    "knplabs/knp-snappy-bundle": "^1.5",

    "lcobucci/jwt": "^3.3",

    "liip/imagine-bundle": "^2.1",

    "meenie/javascript-packer": "1.1",

    "monext/payline-sdk": "dev-master",

    "moneyphp/money": "v3.1.3",

    "natxet/CssMin": "v3.0.6",

    "nesbot/carbon": "^2.1",

    "nikic/php-parser": "4.0.3",

    "nyholm/psr7": "^1.2",

},

墨色风雨
浏览 92回答 1
1回答

喵喵时光机

确定找到了一个临时修复composer require phpdocumentor/reflection-docblock:4.3.4
打开App,查看更多内容
随时随地看视频慕课网APP