Commit dee5f79
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
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | | - | |
16 | 14 | | |
17 | 15 | | |
18 | 16 | | |
| |||
0 commit comments