Commit b28f0ec
committed
[BUGFIX] Use proper dependency injection in ReferenceIndex test
The Rector modernization incorrectly changed GeneralUtility::makeInstance()
to direct instantiation with 'new', which bypasses TYPO3's dependency
injection container. This causes the ReferenceIndex to fail on both
TYPO3 v12 and v13 because required dependencies are not injected.
Fix: Use GeneralUtility::makeInstance() for TYPO3 v12 compatibility.1 parent 070024b commit b28f0ec
1 file changed
Lines changed: 1 addition & 1 deletion
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
0 commit comments