You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On projects that get updated to PHP 8.2 we get the following issue when trying to run API tests:
PHP Fatal error: Declaration of Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher::addListener($event_name, $listener, $priority = 0) must be compatible with Symfony\Component\EventDispatcher\EventDispatcherInterface::addListener(string $eventName, callable $listener, int $priority = 0): void in /var/www/html/web/core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php on line 217
I suspect it's the PHP version, if someone else can also verify
The text was updated successfully, but these errors were encountered:
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?
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.
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
The text was updated successfully, but these errors were encountered: