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

PHPOption deprecation warning #101

Open
byrnereese opened this issue Jan 21, 2022 · 0 comments
Open

PHPOption deprecation warning #101

byrnereese opened this issue Jan 21, 2022 · 0 comments

Comments

@byrnereese
Copy link
Contributor

Running against PHP 8.1.1 and 8.1.2 produces the following warnings.

PHP Deprecated: Return type of PhpOption\Some::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/byrne.reese/Projects/ringcentral/ringcentral-api-docs/code-samples/vendor/phpoption/phpoption/src/PhpOption/Some.php on line 152

PHP Deprecated: Return type of PhpOption\None::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/byrne.reese/Projects/ringcentral/ringcentral-api-docs/code-samples/vendor/phpoption/phpoption/src/PhpOption/None.php on line 118

This appears to have been fixed: schmittjoh/php-option#61

It is unclear to me what dependency is including/installing php-option, but the following dependencies are out of date:

byrne.reese ~/.tmp $ php composer.phar show --outdated
guzzlehttp/psr7 1.8.3 2.1.0 PSR-7 message implementation that also provides...
rmccue/requests v1.8.1 v2.0.0 A HTTP library written in PHP, for human beings.
symfony/event-dispatcher v5.4.0 v6.0.2 Provides tools that allow your application comp...

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

1 participant