Issue Bug Closed

#102805Borken deprecation messages for deprecated VersionState methods

Oliver Bartsch 01/09/24, 17:41 updated 07/09/24, 15:12

Description

The deprecation messages for the deprecated VersionState methods looks “borken” due to usage of static class string together with the __METHOD__ constant

Core: Error handler (BE): TYPO3 Deprecation Notice: VersionState::TYPO3\CMS\Core\Versioning\VersionState::cast has been marked as deprecated in TYPO3 v13. Use VersionState::tryFrom() instead.

Core: Error handler (BE): TYPO3 Deprecation Notice: VersionState->TYPO3\CMS\Core\Versioning\VersionState::equals has been marked as deprecated in TYPO3 v13. Use VersionState::tryFrom() and native comparison logic instead.

Reviews 1