Skip to content

PHP 8.2 with Sylius 1.10 (compile error in AbstractResourceBundle) #17

Description

@Geolim4

Hello,

I'm currently on a upgrade of our environments for a Sylius 1.10 project but for that I need to upgrade PHP first:

Sylius 1.10 has introduced PHP 8 compatibility, except that your BlogBundle (via the SyliusBlogPlugin) extends the AbstractResourceBundle.

This is an issue because actually this is incompatible with PHP 8:
Compile Error: Type of Odiseo\BlogBundle\OdiseoBlogBundle::$mappingFormat must not be defined (as in class Sylius\Bundle\ResourceBundle\AbstractResourceBundle)

Can you please remove the "string" type, until you release a new version that support at least 1.11 of resource bundle ?

You currently support SyliusResourceBundle ^1.9, which mean there's an incompatibility with

https://github.com/Sylius/SyliusResourceBundle/blob/1.8/src/Bundle/AbstractResourceBundle.php

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions