Skip to content

Add PHP 8.1 support #1357

@mvorisek

Description

@mvorisek

This package is installable for PHP 8.1, but there are some fixes needed, example testing output:

Deprecated: Return type of Behat\Testwork\Output\Node\EventListener\ChainEventListener::count() should either be compatible with Countable::count(): int, or the #[ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /builds/mahalux/php-ci/test-project/vendor/behat/behat/src/Behat/Testwork/Output/Node/EventListener/ChainEventListener.php on line 54
Deprecated: Return type of Behat\Testwork\Output\Node\EventListener\ChainEventListener::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /builds/mahalux/php-ci/test-project/vendor/behat/behat/src/Behat/Testwork/Output/Node/EventListener/ChainEventListener.php on line 62
Deprecated: Return type of Behat\Behat\Gherkin\Specification\LazyFeatureIterator::current() should either be compatible with Iterator::current(): mixed, or the #[ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /builds/mahalux/php-ci/test-project/vendor/behat/behat/src/Behat/Behat/Gherkin/Specification/LazyFeatureIterator.php on line 120
Deprecated: Return type of Behat\Behat\Gherkin\Specification\LazyFeatureIterator::next() should either be compatible with Iterator::next(): void, or the #[ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /builds/mahalux/php-ci/test-project/vendor/behat/behat/src/Behat/Behat/Gherkin/Specification/LazyFeatureIterator.php on line 96
Deprecated: Return type of Behat\Behat\Gherkin\Specification\LazyFeatureIterator::key() should either be compatible with Iterator::key(): mixed, or the #[ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /builds/mahalux/php-ci/test-project/vendor/behat/behat/src/Behat/Behat/Gherkin/Specification/LazyFeatureIterator.php on line 112
Deprecated: Return type of Behat\Behat\Gherkin\Specification\LazyFeatureIterator::valid() should either be compatible with Iterator::valid(): bool, or the #[ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /builds/mahalux/php-ci/test-project/vendor/behat/behat/src/Behat/Behat/Gherkin/Specification/LazyFeatureIterator.php on line 104
Deprecated: Return type of Behat\Behat\Gherkin\Specification\LazyFeatureIterator::rewind() should either be compatible with Iterator::rewind(): void, or the #[ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /builds/mahalux/php-ci/test-project/vendor/behat/behat/src/Behat/Behat/Gherkin/Specification/LazyFeatureIterator.php on line 87

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions