We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TYPO3v12 removed ActionController::getControllerContext() (mentioned in #2863 and the changelog).
ActionController::getControllerContext()
Code that use the context to access the UriBuilder is broken now:
function showAction() { $uriBuilder = $this->getControllerContext()->getUriBuilder(); }
Call to undefined method Mogic\Foo\Controllers\QuickAccessController::getControllerContext()
The docs say that each ActionController has the UriBuilder automatically available at $this->uriBuilder.
$this->uriBuilder
TYPO3-rector could fix those instances.
-$uriBuilder = $this->getControllerContext()->getUriBuilder(); +$uriBuilder = $this->uriBuilder;
The text was updated successfully, but these errors were encountered:
[FEATURE] Add MigrateGetControllerContextGetUriBuilderRector
29febd7
Resolves: sabbelasichon#4474
011b505
Successfully merging a pull request may close this issue.
Feature Request
TYPO3v12 removed
ActionController::getControllerContext()
(mentioned in #2863 and the changelog).Code that use the context to access the UriBuilder is broken now:
The docs say that each ActionController has the UriBuilder automatically available at
$this->uriBuilder
.TYPO3-rector could fix those instances.
Diff
The text was updated successfully, but these errors were encountered: