Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix PHP 8.1 deprecation notices #13

Merged
merged 1 commit into from
Jul 20, 2021
Merged

Fix PHP 8.1 deprecation notices #13

merged 1 commit into from
Jul 20, 2021

Conversation

sebastianbergmann
Copy link
Member

@sebastianbergmann sebastianbergmann commented Jul 20, 2021

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

Deprecated: Return type of PharIo\Manifest\ElementCollection::current() should either be compatible with
Iterator::current(): mixed, or the #[ReturnTypeWillChange] attribute should be used to temporarily suppress
the notice in /home/runner/work/phpunit/phpunit/vendor/phar-io/manifest/src/xml/ElementCollection.php on line 27

Deprecated: Return type of PharIo\Manifest\ElementCollection::key() should either be compatible with
Iterator::key(): mixed, or the #[ReturnTypeWillChange] attribute should be used to temporarily suppress
the notice in /home/runner/work/phpunit/phpunit/vendor/phar-io/manifest/src/xml/ElementCollection.php on line 33

Deprecated: Return type of PharIo\Manifest\ElementCollection::valid() should either be compatible with
Iterator::valid(): bool, or the #[ReturnTypeWillChange] attribute should be used to temporarily suppress
the notice in /home/runner/work/phpunit/phpunit/vendor/phar-io/manifest/src/xml/ElementCollection.php on line 37

Deprecated: Return type of PharIo\Manifest\ElementCollection::current() should either be compatible with Iterator::current(): mixed, or the #[ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/local/src/phpunit/vendor/phar-io/manifest/src/xml/ElementCollection.php on line 27

Deprecated: Return type of PharIo\Manifest\ElementCollection::key() should either be compatible with Iterator::key(): mixed, or the #[ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/local/src/phpunit/vendor/phar-io/manifest/src/xml/ElementCollection.php on line 33

Deprecated: Return type of PharIo\Manifest\ElementCollection::valid() should either be compatible with Iterator::valid(): bool, or the #[ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/local/src/phpunit/vendor/phar-io/manifest/src/xml/ElementCollection.php on line 37
@theseer theseer merged commit 6cfbbfa into phar-io:master Jul 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants