Skip to content

Compatibility with PHP 8.1 #2

@letrollpoilu

Description

@letrollpoilu

Hi there,

In PHP 8.1 I have a Warning message while using this package:

`Deprecated function: Return type of DOMWordsIterator::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in include() (line 19 of vendor/antoligy/dom-string-iterators/src/DOMWordsIterator.php).

include('............/web/vendor/antoligy/dom-string-iterators/src/DOMWordsIterator.php') (Line: 122)
Composer\Autoload\ClassLoader::Composer\Autoload\{closure}('......../web/vendor/composer/../antoligy/dom-string-iterators/src/DOMWordsIterator.php') (Line: 443)
Composer\Autoload\ClassLoader->loadClass('DOMWordsIterator') (Line: 611)`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions