snappy icon indicating copy to clipboard operation
snappy copied to clipboard

Deprecated: Return type of Symfony\Component\Process\Process::getIterator

Open pjcvijay opened this issue 3 years ago • 4 comments

I'm getting below error in PHP 8.1:

( ! ) Deprecated: Return type of Symfony\Component\Process\Process::getIterator($flags = 0) should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/autouonline/vendor/symfony/process/Process.php on line 567

I'm using v1.4.1, looks like it's not compatible with PHP 8.0.

Any suggestions please?

Thanks!

pjcvijay avatar Oct 11 '22 09:10 pjcvijay

This library is indeed compatible with PHP 8.0 (and even 8.1 by the way). The deprecation you get is raised by an external library.

garak avatar Jan 06 '23 12:01 garak

@pjcvijay Indeed, according to the error you encounter, it is the version of symfony/process that triggers this warning, snappy is compatible with the latest version of the component, can you try to update symfony/process?

PedroTroller avatar Mar 17 '23 09:03 PedroTroller

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jun 18 '23 06:06 stale[bot]

This can be addressed with #492

tacman avatar Oct 30 '23 13:10 tacman