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

Help deprecation logged as error #283

Open
mpoiriert opened this issue Jul 31, 2022 · 0 comments
Open

Help deprecation logged as error #283

mpoiriert opened this issue Jul 31, 2022 · 0 comments

Comments

@mpoiriert
Copy link

We have a lot of deprecation log as error in new relic.

Example:

strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated

This is happening since we migrate to symfony 4 -> 5, php 7 -> 8.

Deprecation log is disable.

We also have a lot of those:

Return type of Money\Currencies\ISOCurrencies::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

We don't have controller over all the library.

It's not really a deprecation but should probably treated as such...

Is there a way to ignore ReturnTypeWillChange error ?

loging, monogolog, deprecations are all disable in the ekino_new_relic configuration.

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

1 participant