From e7d7cbd196a01309cbab95e508f2d001840298e7 Mon Sep 17 00:00:00 2001 From: cschnell Date: Wed, 17 Apr 2024 11:19:31 +0200 Subject: [PATCH] [TASK] Add `DebugUtility::debug()` to list of `disallowedStaticCalls` (#1232) --- phpstan.neon | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/phpstan.neon b/phpstan.neon index cf89e5a..2ccfbb5 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -46,7 +46,9 @@ parameters: message: 'Use PSR-7 API instead' disallowedStaticCalls: - - method: 'TYPO3\CMS\Extbase\Utility\DebuggerUtility::var_dump()' + method: + - 'TYPO3\CMS\Extbase\Utility\DebuggerUtility::var_dump()' + - 'TYPO3\CMS\Core\Utility\DebugUtility::debug()' message: 'Use logging instead or remove if it was for debugging purposes.' disallowedSuperglobals: -