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: -