为了账号安全,请及时绑定邮箱和手机立即绑定

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

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

PHP
墨色风雨 2023-04-02 11:12:16
我收到错误[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",},
查看完整描述

1 回答

?
喵喵时光机

TA贡献1846条经验 获得超7个赞

确定找到了一个临时修复

composer require phpdocumentor/reflection-docblock:4.3.4
查看完整回答
反对 回复 2023-04-02
  • 1 回答
  • 0 关注
  • 91 浏览

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信