[!!!][TASK] Remove deprecated method ObjectAccess::buildSetterMethodName 82/64382/3
authorAlexander Schnitzler <git@alexanderschnitzler.de>
Fri, 1 May 2020 09:56:56 +0000 (11:56 +0200)
committerBenjamin Franzke <bfr@qbus.de>
Fri, 29 May 2020 19:36:35 +0000 (21:36 +0200)
Releases: master
Resolves: #91535
Related: #91473
Change-Id: I98db08e8fef297b47bd11fed13d3fe91af3ba1cd
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/64382
Tested-by: Benni Mack <benni@typo3.org>
Tested-by: TYPO3com <noreply@typo3.com>
Tested-by: Benjamin Franzke <bfr@qbus.de>
Reviewed-by: Benni Mack <benni@typo3.org>
Reviewed-by: Benjamin Franzke <bfr@qbus.de>
typo3/sysext/core/Documentation/Changelog/master/Breaking-91473-DeprecatedFunctionalityRemoved.rst
typo3/sysext/extbase/Classes/Reflection/ObjectAccess.php
typo3/sysext/install/Configuration/ExtensionScanner/Php/MethodCallStaticMatcher.php

index 62e14d5..c5faa55 100644 (file)
@@ -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:
index 6c55cd1..3750af1 100644 (file)
@@ -364,22 +364,6 @@ class ObjectAccess
     }
 
     /**
-     * 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
      */
     private static function createAccessor(): PropertyAccessor
index 74006a7..229aaec 100644 (file)
@@ -846,6 +846,7 @@ return [
         'maximumNumberOfArguments' => 1,
         'restFiles' => [
             'Deprecation-87332-AvoidRuntimeReflectionCallsInObjectAccess.rst',
+            'Breaking-91473-DeprecatedFunctionalityRemoved.rst'
         ],
     ],
     'TYPO3\CMS\Extbase\Utility\TypeHandlingUtility::hex2bin' => [