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

Multiple derprecations in php 8.1 #74

Open
beeyev opened this issue Feb 3, 2022 · 1 comment
Open

Multiple derprecations in php 8.1 #74

beeyev opened this issue Feb 3, 2022 · 1 comment

Comments

@beeyev
Copy link

beeyev commented Feb 3, 2022

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 Mihaeu\PhpDependencies\Util\AbstractMap::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/dephpend/src/Util/AbstractMap.php on line 132

Deprecated: Return type of Mihaeu\PhpDependencies\Util\AbstractCollection::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/dephpend/src/Util/AbstractCollection.php on line 84

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/dephpend/vendor/symfony/console/Helper/HelperSet.php on line 94

Could you please fix that?

@mihaeu
Copy link
Owner

mihaeu commented Feb 4, 2022

Hi @beeyev, you're right, thanks for the report. I'll try to get to it this weekend.

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

2 participants