Support for Symfony 6.4 in the 4.3 branch is broken
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 65/100
Research direction
Look at the ApiTestCase class and the change from pull request #8523. Find where setBrowserKitAssertionsAsVerbose() is called and add a version check for Symfony 7. Run the tests in a Symfony 6.4 environment to verify the fix.
Written by the indexing model from the issue text.
Description
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?
- Dominant language
- PHP
- Stars
- 2.6k
- Forks
- 982
- Avg merge
- 1d 17h
- Merged PRs (30d)
- 55
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from api-platform/core
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
api-platform/core#8495 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
api-platform/core#8471 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
api-platform/core#8475 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
api-platform/core#8447 ·
-
GraphQL State
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
api-platform/core#5425 · 7 comments ·
All issues in api-platform/core
Similar issues
-
jira-created
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 1/5 Under an hour Newbie friendliness 70/100
nunomaduro/phpinsights#745 ·
-
status/awaiting_triage
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
WordPress/plugin-check#1486 ·
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
az-digital/az_quickstart#6019 ·