- Issue created by @amym-li
- Status changed to Needs review
almost 2 years ago 8:02am 14 March 2023
Received this deprecation warning after running static analysis on version 4.0.2 using Phan
web/modules/contrib/google_analytics/src/Form/GoogleAnalyticsAdminSettingsForm.php:888 PhanDeprecatedPartiallySupportedCallable
Saw deprecated partially supported callable static::containsForbiddenToken.
This was deprecated in PHP 8.2 and behaves inconsistently and can be called with call_user_func but not $callable() and the referenced class depends on context at call time. In some cases, [static::class, 'containsForbiddenToken'] can be used instead.
Needs review
4.0
Code