EkinoNewRelicBundle icon indicating copy to clipboard operation
EkinoNewRelicBundle copied to clipboard

Help deprecation logged as error

Open mpoiriert opened this issue 2 years ago • 0 comments

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.

mpoiriert avatar Jul 31 '22 14:07 mpoiriert