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 #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?
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 #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?