Skip to content

PHP warning on PHP 8.1 #107

@come-nc

Description

@come-nc

These two deprecations warnings are showing:

PHP Deprecated:  Opis\Closure\SerializableClosure implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /home/mcmic/dev/opis/closure/src/SerializableClosure.php on line 18
PHP Deprecated:  Return type of Opis\Closure\ReflectionClosure::isStatic() should either be compatible with ReflectionFunctionAbstract::isStatic(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/mcmic/dev/opis/closure/src/ReflectionClosure.php on line 49

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