Skip to content

Error on PHP 8.1.0 #171

@jonasraoni

Description

@jonasraoni

After bumping my PHP to 8.1.0 I started receiving such issues (after fixing the file manually, everything worked fine)

During inheritance of ArrayAccess: Uncaught Exception:
Return type of GetOpt\GetOpt::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed,
or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice at \ulrichsg\getopt-php\src\GetOpt.php:505

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