Support for Symfony 6.4 in the 4.3 branch is broken
还没有人认领这个 Issue。
评估
调研方向
查看 ApiTestCase 类以及拉取请求 #8523 中的更改。找到调用 setBrowserKitAssertionsAsVerbose() 的位置,并添加针对 Symfony 7 的版本检查。在 Symfony 6.4 环境中运行测试以验证修复。
由索引模型根据 Issue 内容生成。
描述
API Platform version(s) affected: 4.3.19
Description
Since version 4.3.19, it is impossible to use APIP with Symfony 6.4 even though Composer allows it.
The reason is that a call to a function setBrowserKitAssertionsAsVerbose() that only exists in Symfony 7 was added in https://github.com/api-platform/core/pull/8523.
How to reproduce
Install api-platform/core 4.3 in a Symfony 6.4 app. Launch tests from classes that inherit from APIP's ApiTestCase.
Possible Solution
Perhaps have a capabilities check to avoid calling a non-existing function?
- 主要语言
- PHP
- 星标
- 2.6k
- 派生
- 982
- 平均合并
- 1 天 17 小时
- 30 天内合并 PR
- 55
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
api-platform/core 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 84/100
api-platform/core#8495 ·
-
难度 2/5 1-3 小时 新手友好度 85/100
api-platform/core#8471 ·
-
难度 2/5 1-3 小时 新手友好度 68/100
api-platform/core#8475 ·
-
难度 2/5 1-3 小时 新手友好度 68/100
api-platform/core#8447 ·
-
GraphQL State
难度 2/5 1-3 小时 新手友好度 78/100
api-platform/core#5425 · 7 条评论 ·
查看 api-platform/core 的全部 Issue
相似的 Issue
-
jira-created
难度 2/5 1-3 小时 新手友好度 75/100
-
难度 1/5 1 小时以内 新手友好度 70/100
nunomaduro/phpinsights#745 ·
-
status/awaiting_triage
难度 2/5 1-3 小时 新手友好度 75/100
-
难度 1/5 1 小时以内 新手友好度 90/100
WordPress/plugin-check#1486 ·
-
enhancement
难度 2/5 1-3 小时 新手友好度 88/100
az-digital/az_quickstart#6019 ·