scrutinizer-ci / ocular

CLI for uploading external code coverage data
https://scrutinizer-ci.com
41 stars 24 forks source link

Update phpoption/phpoption to fix PHP8.1 deprecations #56

Closed annuh closed 2 years ago

annuh commented 2 years ago

Ocular triggers the following deprecation warning in PHP8.1:

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 vendor/phpoption/phpoption/src/PhpOption/None.php on line 118

This issue has been fixed by phpoption/phpoption:

> composer update phpoption/phpoption 
Loading composer repositories with package information
Updating dependencies
Lock file operations: 0 installs, 1 update, 0 removals
  - Upgrading phpoption/phpoption (1.7.5 => 1.8.1)
annuh commented 2 years ago

This PR is superseded by https://github.com/scrutinizer-ci/ocular/pull/57

schmittjoh commented 2 years ago

Closing this in favor of the new pull request.