Review 11.5 Merged

76053[BUGFIX] Uninitialized properties in DebuggerUtility

Stefan Bürk CR +2 V +2 Easy +24 −2 updated 10/10/22, 13:05

Commit message

DebuggerUtility::var_dump() is commonly used to debug PHP classes.

We recommend hardening PHP classes by using typed properties in PHP
classes. Previously uninitialized properties resulted in a PHP exception
when passing the class instance into DebuggerUtility::var_dump.

Uninitialized properties will not be processed by
DebuggerUtility::var_dump anymore. Instead a label "uninitialized"
indicates that it has not been initialized at the time of debugging.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 2