Skip to content

[Console] PHP 8.1 deprecation notice for HelperSet::getIterator() #42199

@sebastianbergmann

Description

@sebastianbergmann

From https://github.com/sebastianbergmann/phpunit/runs/3111696987:

PHP Deprecated: Return type of Symfony\Component\Console\Helper\HelperSet::getIterator()
should either be compatible with IteratorAggregate::getIterator(): Traversable,
or the #[ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
in phar:///home/runner/work/phpunit/phpunit/tools/composer/vendor/symfony/console/Helper/HelperSet.php on line 112

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions