Skip to content

PHP 8.1 compatibility #183

Closed
Closed
@oranges13

Description

@oranges13

What version of this package are you using?
0.30.1

What operating system, Node.js, and npm version?
Ubuntu Linux (Xenial) / PHP 8.1

What happened?
Running unit tests with PHPUnit results in deprecation messages:

PHP Deprecated:  Return type of Noodlehaus\AbstractConfig::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

What did you expect to happen?
Running tests will not display deprecation messages

Are you willing to submit a pull request to fix this bug?
I cannot at this time.

However, the solution should be updating the version of hassankhan/config in use to the version which supports PHP8.1

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