Skip to content
New issue

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

Fix some deprecated code #121

Merged
merged 3 commits into from
May 25, 2023
Merged

Conversation

cweiske
Copy link
Contributor

@cweiske cweiske commented Mar 29, 2023

.. while keeping compatibility with TYPO3 v10.4.11+

This obsoletes #109, #112 and #117.

…y::getInstance()

Fixes the following TYPO3v11 deprecation notice:

> TYPO3 Deprecation Notice:
> TYPO3\CMS\Core\Resource\Index\ExtractorRegistry::getInstance()
> will be removed in TYPO3 v12.0.
> Use Dependency Injection or GeneralUtility::makeInstance()
> if DI is not possible.

See: https://docs.typo3.org/c/typo3/cms-core/11.5/en-us/Changelog/11.5/Deprecation-95326-VariousGetInstanceStaticMethodsOnSingletonInterfaces.html
@cweiske
Copy link
Contributor Author

cweiske commented May 17, 2023

TYPO3_REQUEST is not available on CLI. That needs to be checked as well.

@cweiske
Copy link
Contributor Author

cweiske commented May 17, 2023

CLI is handled now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants