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

This Library is Dependent on Deprecated Linq Library #34

Closed
kachi1227 opened this issue Jul 9, 2023 · 1 comment · Fixed by #35
Closed

This Library is Dependent on Deprecated Linq Library #34

kachi1227 opened this issue Jul 9, 2023 · 1 comment · Fixed by #35

Comments

@kachi1227
Copy link

Linq is a dependency of this library but it is deprecated and its latest release does not support PHP 8. As a result, I get the following warnings whenever I use this library:

ERROR - 2023-07-09 20:22:25 --> Severity: 8192 --> Return type of Fusonic\Linq\Linq::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice /Applications/MAMP/htdocs/mask/vendor/fusonic/linq/src/Fusonic/Linq/Linq.php 728
ERROR - 2023-07-09 20:22:25 --> Severity: 8192 --> Return type of Fusonic\Linq\Linq::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice /Applications/MAMP/htdocs/mask/vendor/fusonic/linq/src/Fusonic/Linq/Linq.php 254
ERROR - 2023-07-09 20:22:25 --> Severity: 8192 --> Return type of Fusonic\Linq\Iterator\SelectIterator::current() should either be compatible with IteratorIterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice /Applications/MAMP/htdocs/mask/vendor/fusonic/linq/src/Fusonic/Linq/Iterator/SelectIterator.php 32
ERROR - 2023-07-09 20:22:25 --> Severity: 8192 --> Return type of Fusonic\Linq\Iterator\WhereIterator::accept() should either be compatible with FilterIterator::accept(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice /Applications/MAMP/htdocs/mask/vendor/fusonic/linq/src/Fusonic/Linq/Iterator/WhereIterator.php 28
ERROR - 2023-07-09 20:22:25 --> Severity: 8192 --> Return type of Fusonic\Linq\Linq::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice /Applications/MAMP/htdocs/mask/vendor/fusonic/linq/src/Fusonic/Linq/Linq.php 728
ERROR - 2023-07-09 20:22:25 --> Severity: 8192 --> Return type of Fusonic\Linq\Linq::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice /Applications/MAMP/htdocs/mask/vendor/fusonic/linq/src/Fusonic/Linq/Linq.php 254
ERROR - 2023-07-09 20:22:25 --> Severity: 8192 --> Return type of Fusonic\Linq\Iterator\SelectIterator::current() should either be compatible with IteratorIterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice /Applications/MAMP/htdocs/mask/vendor/fusonic/linq/src/Fusonic/Linq/Iterator/SelectIterator.php 32

Are there any plans to fix this or should this OpenGraph library be considered deprecated as well?

@mvaljento
Copy link

Any news on this? Causing a lot of API errors.

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

Successfully merging a pull request may close this issue.

2 participants