Deprecation: #100653 - Deprecated some methods in DebugUtility

See forge#100653

Description

The following methods in \TYPO3\CMS\Core\Utility\DebugUtility have been marked as deprecated:

  • debugInPopUpWindow()

  • debugRows()

  • printArray()

While debugRows() and printArray() duplicate already existing methods, debugInPopUpWindow() is discouraged to use as either external debuggers, e.g. Xdebug or \TYPO3\CMS\Extbase\Utility\DebuggerUtility may be used instead.

Impact

Calling any of the aforementioned methods will trigger deprecation log entries.

Affected installations

Instances using any of the aforementioned methods are affected.

The extension scanner will find and report usages.

Migration

In case of debugRows(), the identical method debug() can be used. The method printArray() can be replaced with viewArray(). However, the former method directly outputs the contents, which is not the case with viewArray().

The method debugInPopUpWindow() is deprecated without a direct replacement, consider using an external debugger or \TYPO3\CMS\Extbase\Utility\DebuggerUtility::var_dump() instead.