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
Ocular triggers the following deprecation warning in PHP8.1:
This issue has been fixed by phpoption/phpoption: