You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Other widespread PHP libraries seem to use the silencing operator @ when triggering exceptions. We should probably do the same in Fluid v4. We should check how this affects TYPO3's deprecation logs and test suite.
core does this: TYPO3/typo3@8140ec4
the code was moved around a bit over time, but it's still same strategy: log deprecations, even if it has the STFU operator.
I just tested this with phpunit's default error handler: The deprecation with STFU operator in fact is ignored by phpunit. TYPO3 on the other hand logs both kinds of deprecations.
So I would argue to only add the operator to deprecations that are added after a major release and to leave those for Fluid v4 without the operator.
Other widespread PHP libraries seem to use the silencing operator
@
when triggering exceptions. We should probably do the same in Fluid v4. We should check how this affects TYPO3's deprecation logs and test suite.Related links:
The text was updated successfully, but these errors were encountered: