Skip to content

Commit dee5f79

Browse files
CybotTMclaude
andcommitted
fix: remove duplicate use statements causing PHPStan fatal error
Removed duplicate import declarations in RteImagesDbHook.php: - TYPO3\CMS\Core\Core\Environment (declared on lines 15 and 28) - TYPO3\CMS\Core\Http\RequestFactory (declared on lines 14 and 33) PHPStan was failing with: "Fatal error: Cannot use TYPO3\CMS\Core\Core\Environment as Environment because the name is already in use" This resolves the namespace conflict and allows PHPStan to analyze the codebase successfully. Resolves PHPStan CI failures in PR #346. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 32f772d commit dee5f79

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

Classes/Database/RteImagesDbHook.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111

1212
namespace Netresearch\RteCKEditorImage\Database;
1313

14-
use TYPO3\CMS\Core\Http\RequestFactory;
15-
use TYPO3\CMS\Core\Core\Environment;
1614
use finfo;
1715
use Psr\Http\Message\ServerRequestInterface;
1816
use Psr\Log\LoggerAwareTrait;

0 commit comments

Comments
 (0)