Skip to content

Adding return types to the code? #9

@NicoHaase

Description

@NicoHaase

I really love the idea of using speed reports in Behat tests, but since one of the last PHP updates, there's a huge stacktrace written to my log when running Behat with XDebug enabled:

PHP Deprecated: Return type of Brunty\Behat\SpeedtrapExtension\Logger\ScenarioLogger::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/project/vendor/brunty/behat-speedtrap/src/Logger/ScenarioLogger.php on line 34

Is there any chance to revive this project, even for such a possible small change?

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