Open bserem opened 5 months ago
As a temporary workaround, passing php 8.1 as a dependency in composer.json gets the jb done:
"config": {
"bin-dir": "bin/",
"platform": {
"php": "8.1"
}
},
Are you sure this is caused by drupalextension code? It is not clear from the report where the error is originating or how to replicate it. It could also be possible it is thrown in Drupal itself or in the jhedstrom/DrupalDriver project. Can you perhaps provide a full backtrace?
@pfrenssen how can I generate a full backtrace?
The problem seems to be that Drupal requires symfony/event-dispatcher:6.4.2
whereas drupalextension install symfony/event-dispatcher:7.1.1
unless you restrict it manually.
(sorry for the late reply, life got in the way)
On projects that get updated to PHP 8.2 we get the following issue when trying to run API tests:
I suspect it's the PHP version, if someone else can also verify