Skip to content
Snippets Groups Projects
Commit d4d97e2b authored by Alexander Schnitzler's avatar Alexander Schnitzler Committed by Benjamin Franzke
Browse files

[!!!][TASK] Remove deprecated method ObjectAccess::buildSetterMethodName

Releases: master
Resolves: #91535
Related: #91473
Change-Id: I98db08e8fef297b47bd11fed13d3fe91af3ba1cd
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/64382


Tested-by: default avatarBenni Mack <benni@typo3.org>
Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: default avatarBenjamin Franzke <bfr@qbus.de>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarBenjamin Franzke <bfr@qbus.de>
parent 533b5019
Branches
Tags
No related merge requests found
......@@ -55,6 +55,7 @@ The following PHP static class methods that have been previously deprecated for
- :php:`\TYPO3\CMS\Core\Utility\GeneralUtility::presetApplicationContext`
- :php:`\TYPO3\CMS\Core\Utility\GeneralUtility::resetApplicationContext`
- :php:`\TYPO3\CMS\Core\Utility\GeneralUtility::verifyFilenameAgainstDenyPattern`
- :php:`\TYPO3\CMS\Extbase\Reflection\ObjectAccess::buildSetterMethodName`
- :php:`\TYPO3\CMS\Extbase\Utility\TypeHandlingUtility::hex2bin`
The following PHP methods have been additionally deprecated and are a no-op now:
......
......@@ -363,22 +363,6 @@ class ObjectAccess
return $properties;
}
/**
* Build the setter method name for a given property by capitalizing the
* first letter of the property, and prepending it with "set".
*
* @param string $propertyName Name of the property
*
* @return string Name of the setter method name
* @deprecated
*/
public static function buildSetterMethodName($propertyName): string
{
trigger_error(__METHOD__ . ' will be removed in TYPO3 11.0', E_USER_DEPRECATED);
return 'set' . ucfirst($propertyName);
}
/**
* @return PropertyAccessor
*/
......
......@@ -846,6 +846,7 @@ return [
'maximumNumberOfArguments' => 1,
'restFiles' => [
'Deprecation-87332-AvoidRuntimeReflectionCallsInObjectAccess.rst',
'Breaking-91473-DeprecatedFunctionalityRemoved.rst'
],
],
'TYPO3\CMS\Extbase\Utility\TypeHandlingUtility::hex2bin' => [
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment