fink
fink copied to clipboard
Multiple deprecations in php 8.1
Hello, first of all, thanks for the great tool, I have been using it for quite a long time.
But it seems that the library needs to be updated in order to work with PHP 8.1
I get these errors:
Deprecated: Return type of HumbugBox391\KevinGH\RequirementChecker\RequirementCollection::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///usr/local/bin/fink/.box/src/RequirementCollection.php on line 15
Deprecated: Return type of HumbugBox391\KevinGH\RequirementChecker\RequirementCollection::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///usr/local/bin/fink/.box/src/RequirementCollection.php on line 19
Deprecated: Return type of Symfony\Component\Console\Helper\HelperSet::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///usr/local/bin/fink/vendor/symfony/console/Helper/HelperSet.php on line 94
Could you please fix that?
Hi, there do not look like deprecations with Fink code itself, but possibly the dependencies need to be widened to allow more recent versions, feel free to make a PR :)