Skip to content

Is there PHP8.1 compatibility work in the plan? #26

@adarshkhatri

Description

@adarshkhatri

Since moving to PHP 8.1, we are having issues regarding the Deprecated return type errors. Lots of them.

Is there PHP8.1 compatibility work in the plan?

One of the error:

Fatal error: During inheritance of IteratorAggregate: Uncaught Exception: Deprecated Functionality: Return type of Metabor\NamedCollection::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /vendor/metabor/statemachine/src/Metabor/NamedCollection.php on line 53 in /vendor/magento/framework/App/ErrorHandler.php:61
Stack trace:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions