Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[Console] Support with PHP8.1 #42415

Copy link
Copy link
Closed
Closed
Copy link
@Jeckerson

Description

@Jeckerson
Issue body actions

Description
By using symfony/console package inside Zephir, we are having fatal error:

Fatal error: During inheritance of IteratorAggregate: Uncaught ErrorException: 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 /srv/vendor/symfony/console/Helper/HelperSet.php:94

Example
Code example can be found here
https://github.com/zephir-lang/zephir/blob/7315f84929e04a0f52b276edd65cfd3673327f4a/Library/Console/Command/FullCleanCommand.php#L39

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

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.