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

php 8.1: vfsStreamContainerIterator incompatible with Iterator #259

Closed
othercorey opened this issue Jul 25, 2021 · 0 comments
Closed

php 8.1: vfsStreamContainerIterator incompatible with Iterator #259

othercorey opened this issue Jul 25, 2021 · 0 comments

Comments

@othercorey
Copy link

Another set of incompatible return type warnings from php 8.1. These will most likely need to be suppressed with the ReturnTypeWillChange attribute, but up to you.

PHP Deprecated:  Return type of org\bovigo\vfs\vfsStreamContainerIterator::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/cakephp/cakephp/vendor/mikey179/vfsstream/src/main/php/org/bovigo/vfs/vfsStreamContainerIterator.php on line 51
PHP Deprecated:  Return type of org\bovigo\vfs\vfsStreamContainerIterator::next() should either be compatible with Iterator::next(): void, or the #[ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/runner/work/cakephp/cakephp/vendor/mikey179/vfsstream/src/main/php/org/bovigo/vfs/vfsStreamContainerIterator.php on line 79
PHP Deprecated:  Return type of org\bovigo\vfs\vfsStreamContainerIterator::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/cakephp/cakephp/vendor/mikey179/vfsstream/src/main/php/org/bovigo/vfs/vfsStreamContainerIterator.php on line 66
PHP Deprecated:  Return type of org\bovigo\vfs\vfsStreamContainerIterator::rewind() should either be compatible with Iterator::rewind(): void, or the #[ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/runner/work/cakephp/cakephp/vendor/mikey179/vfsstream/src/main/php/org/bovigo/vfs/vfsStreamContainerIterator.php on line 41
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

No branches or pull requests

2 participants