#96219Use get_debug_type() over is_object() and gettype()
Description
In some exception messages, the exact object type is rendered. Currently, this is done via is_object(), get_class() and gettype(). With PHP 8 (and the symfony/polyfill-php80 package), get_debug_type() may be used providing the same functionality.
Reviews 1
History 27
-
Gerrit Code Review pushed patch set 1 for main to change 72479 status
In ProgressUnder Review 12/03/21, 12:09 -
Gerrit Code Review pushed patch set 2 for main to change 72479 12/03/21, 12:12
-
Gerrit Code Review pushed patch set 3 for main to change 72479 12/03/21, 12:12
-
Gerrit Code Review pushed patch set 4 for main to change 72479 12/03/21, 12:35
-
Gerrit Code Review pushed patch set 5 for main to change 72479 12/03/21, 12:54
-
Andreas Fernandez commented and changed status
Under ReviewResolved done0 %100 % 12/04/21, 14:40 -
Benni Mack changed status
ResolvedClosed 10/04/22, 14:08
Applied in changeset commit:1c1975d0d6e7a1894c7f8749417394ffaa18771f.