Commit 8c9875d
committed
[BUGFIX] Mitigate deprecated extbase
TYPO3 v11.5 started streamlining the view implementation,
which included deprecating the extbase `ViewInterface`.
Extensions supporting two TYPO3 core version need to take
care and the migration path for controllers overriding the
`initialzeView` method is stated in the changelog [1].
This change follows the recommended migration path and
removes the deprecated interface as method native type
declarion for the `$view` argument, avoiding in TYPO3
v12 the exception
TYPO3\CMS\Extbase\Reflection\Exception\UnknownClassException
Class "TYPO3\CMS\Extbase\Mvc\View\ViewInterface" does not exist.
Reflection failed.
while still making required adjustments.
[1] https://docs.typo3.org/c/typo3/cms-core/main/en-us/Changelog/11.5/Deprecation-95222-ExtbaseViewInterface.html
Resolves: #22ViewInterface
1 parent 15d253a commit 8c9875d
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | 28 | | |
30 | 29 | | |
31 | 30 | | |
| |||
64 | 63 | | |
65 | 64 | | |
66 | 65 | | |
67 | | - | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
68 | 71 | | |
69 | 72 | | |
70 | 73 | | |
| |||
0 commit comments