Issue Task Closed

#96219Use get_debug_type() over is_object() and gettype()

Andreas Kienast 12/03/21, 12:06 updated 10/04/22, 14:08

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

  1. Gerrit Code Review pushed patch set 1 for main to change 72479 status In Progress Under Review 12/03/21, 12:09

  2. Gerrit Code Review pushed patch set 2 for main to change 72479 12/03/21, 12:12

  3. Gerrit Code Review pushed patch set 3 for main to change 72479 12/03/21, 12:12

  4. Gerrit Code Review pushed patch set 4 for main to change 72479 12/03/21, 12:35

  5. Gerrit Code Review pushed patch set 5 for main to change 72479 12/03/21, 12:54

  6. Andreas Fernandez commented and changed status Under Review Resolved done 0 % 100 % 12/04/21, 14:40

    Applied in changeset commit:1c1975d0d6e7a1894c7f8749417394ffaa18771f.

  7. Benni Mack changed status Resolved Closed 10/04/22, 14:08