Closed mgrundkoetter closed 5 months ago
Hi, Same issue is encountered on several classes for php 8.3. Is this repo abandoned?
It's not abandoned. There is just not enough time on my end at the moment. Any help - in the meaning of a Pull Request Contribution - is welcome. 🙏
It's not abandoned. There is just not enough time on my end at the moment. Any help - in the meaning of a Pull Request Contribution - is welcome. 🙏
See: https://github.com/openmetrics-php/exposition-text/pull/11
Will be fixed with #13
Expected Behavior
Should work on PHP 8.1+ :-)
Actual Behavior
Deprecated: Return type of OpenMetricsPhp\Exposition\Text\Collections\LabelCollection::getIterator(): iterable should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/vendor/openmetrics-php/exposition-text/src/Collections/LabelCollection.php on line 65
There are probably some more.
Steps to Reproduce the Problem
Specifications
Further comments