Description
Cache clear fails with fatal error:
!! PHP Fatal error: Declaration of EzSystems\EzPlatformPageBuilder\PageBuilder\Timeline\Serializer\Driver\DriverFactory::createDriver(array $metadataDirs, Doctrine\Common\Annotations\Reader $annotationReader): Metadata\Driver\DriverInterface must be compatible with JMS\Serializer\Builder\DriverFactoryInterface::createDriver(array $metadataDirs, ?Doctrine\Common\Annotations\Reader $annotationReader = null): Metadata\Driver\DriverInterface in /Users/maciejkobus/Projects/ibexa/installations/commerce-3.3.x-dev-2024-02-26/vendor/ezsystems/ezplatform-page-builder/src/lib/PageBuilder/Timeline/Serializer/Driver/DriverFactory.php on line 34
It's caused by BC break done in https://github.com/schmittjoh/serializer/releases/tag/3.30.0