diff --git a/typo3/sysext/backend/Classes/Security/CategoryPermissionsAspect.php b/typo3/sysext/backend/Classes/Security/CategoryPermissionsAspect.php
index 04bdaa422c470bb2a6ac086122ae3f500c082623..6da3e57f3550593344a1df776f000bfdca62955e 100644
--- a/typo3/sysext/backend/Classes/Security/CategoryPermissionsAspect.php
+++ b/typo3/sysext/backend/Classes/Security/CategoryPermissionsAspect.php
@@ -78,6 +78,7 @@ final class CategoryPermissionsAspect
             $treeNodeCollection = $treeData->getChildNodes();
 
             if (!empty($categoryMountPoints) && !empty($treeNodeCollection)) {
+                // @deprecated Remove merging of $dataProvider->getRootUid() in v12
                 $startingPoints = array_unique(array_merge($dataProvider->getStartingPoints(), [$dataProvider->getRootUid()]));
                 $shallRepopulateTree = false;
 
diff --git a/typo3/sysext/core/Classes/Tree/TableConfiguration/DatabaseTreeDataProvider.php b/typo3/sysext/core/Classes/Tree/TableConfiguration/DatabaseTreeDataProvider.php
index dae7bd35377eda29f09cc9568954750e6fab6a57..ca8960f500239e2dddc55c567cbaef1b260817bc 100644
--- a/typo3/sysext/core/Classes/Tree/TableConfiguration/DatabaseTreeDataProvider.php
+++ b/typo3/sysext/core/Classes/Tree/TableConfiguration/DatabaseTreeDataProvider.php
@@ -218,7 +218,6 @@ class DatabaseTreeDataProvider extends AbstractTableConfigurationTreeDataProvide
      */
     public function setRootUid($rootUid)
     {
-        trigger_error(sprintf('%s is deprecated and will be removed in TYPO3 v12. Use %s->setStartingPoints() instead.', __METHOD__, __CLASS__), E_USER_DEPRECATED);
         $this->rootUid = $rootUid;
     }
 
@@ -230,7 +229,6 @@ class DatabaseTreeDataProvider extends AbstractTableConfigurationTreeDataProvide
      */
     public function getRootUid()
     {
-        trigger_error(sprintf('%s is deprecated and will be removed in TYPO3 v12. Use %s->getStartingPoints() instead.', __METHOD__, __CLASS__), E_USER_DEPRECATED);
         return $this->rootUid;
     }
 
@@ -342,6 +340,7 @@ class DatabaseTreeDataProvider extends AbstractTableConfigurationTreeDataProvide
     protected function loadTreeData()
     {
         if ($this->getRootUid()) {
+            // @deprecated will be removed in v12
             $startingPoints = [$this->getRootUid()];
         } elseif ($this->getStartingPoints()) {
             $startingPoints = $this->getStartingPoints();
diff --git a/typo3/sysext/core/Documentation/Changelog/11.4/Deprecation-95037-RootUidRelatedSettingOfTrees.rst b/typo3/sysext/core/Documentation/Changelog/11.4/Deprecation-95037-RootUidRelatedSettingOfTrees.rst
index b84a961b72d7b99f60b8269236c6b774eb0058a1..a4ff4f7a25fe518f4e3cb74083ac5cac90c30be0 100644
--- a/typo3/sysext/core/Documentation/Changelog/11.4/Deprecation-95037-RootUidRelatedSettingOfTrees.rst
+++ b/typo3/sysext/core/Documentation/Changelog/11.4/Deprecation-95037-RootUidRelatedSettingOfTrees.rst
@@ -27,9 +27,8 @@ Using `treeConfig/rootUid` in TCA will trigger a TCA migration to
 
 The same applies to the according page TSconfig option.
 
-Directly calling :php:`setRootUid()` or :php:`getRootUid()` will
-trigger a PHP :php:`E_USER_DEPRECATED` error. The extension scanner will also
-detect those calls.
+The extension scanner detects any call to :php:`setRootUid()`
+or :php:`getRootUid()` as weak match.
 
 
 Affected Installations
diff --git a/typo3/sysext/install/Configuration/ExtensionScanner/Php/MethodCallMatcher.php b/typo3/sysext/install/Configuration/ExtensionScanner/Php/MethodCallMatcher.php
index 60dfe03e7191933b1aa5931378798fcb957670ed..d4bcdbb981cf80b67e24cefac07c84e979def8a5 100644
--- a/typo3/sysext/install/Configuration/ExtensionScanner/Php/MethodCallMatcher.php
+++ b/typo3/sysext/install/Configuration/ExtensionScanner/Php/MethodCallMatcher.php
@@ -4901,8 +4901,8 @@ return [
         ],
     ],
     'TYPO3\CMS\Core\Tree\TableConfiguration\DatabaseTreeDataProvider->getRootUid' => [
-        'numberOfMandatoryArguments' => 1,
-        'maximumNumberOfArguments' => 1,
+        'numberOfMandatoryArguments' => 0,
+        'maximumNumberOfArguments' => 0,
         'restFiles' => [
             'Deprecation-95037-RootUidRelatedSettingOfTrees.rst',
         ],