[BUGFIX] Reduce amount of false positives of extension scanner 49/58549/5
authorGeorg Ringer <georg.ringer@gmail.com>
Mon, 1 Oct 2018 22:18:57 +0000 (00:18 +0200)
committerStefan Neufeind <typo3.neufeind@speedpartner.de>
Mon, 1 Oct 2018 23:19:44 +0000 (01:19 +0200)
Reduce amount of false positives introduced with #86366 as methods
like 'getTitle()' are used too often.

Resolves: #86533
Releases: master
Change-Id: I97e7406cb5f134042fabf96ea3435c5c2f7ad665
Reviewed-on: https://review.typo3.org/58549
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
typo3/sysext/core/Documentation/Changelog/9.5/Deprecation-86366-MethodsInAbstractUpdate.rst
typo3/sysext/install/Configuration/ExtensionScanner/Php/MethodCallMatcher.php

index a0b81c8..5564eb6 100644 (file)
@@ -16,11 +16,11 @@ wizard).
 
 The following methods have been marked as deprecated and will be removed with TYPO3 v10:
 
-* :php:`AbstractUpdate::getTitle()`
-* :php:`AbstractUpdate::setTitle()`
-* :php:`AbstractUpdate::getIdentifier()`
-* :php:`AbstractUpdate::setIdentifier()`
-* :php:`AbstractUpdate::getDescription()`
+* [not scanned] :php:`AbstractUpdate::getTitle()`
+* [not scanned] :php:`AbstractUpdate::setTitle()`
+* [not scanned] :php:`AbstractUpdate::getIdentifier()`
+* [not scanned] :php:`AbstractUpdate::setIdentifier()`
+* [not scanned] :php:`AbstractUpdate::getDescription()`
 * :php:`AbstractUpdate::executeUpdate()`
 * :php:`AbstractUpdate::updateNecessary()`
 * :php:`AbstractUpdate::getPrerequisites()`
@@ -51,4 +51,4 @@ Migration
 Use the interfaces instead the abstract class to define the capabilities of the Upgrade Wizard class.
 See https://docs.typo3.org/typo3cms/extensions/core/latest/Changelog/9.4/Feature-86076-NewAPIForUpgradeWizards.html.
 
-.. index:: Backend, CLI, PHP-API, FullyScanned, ext:install
+.. index:: Backend, CLI, PHP-API, PartiallyScanned, ext:install
index 6fe244d..f63bf8a 100644 (file)
@@ -3425,41 +3425,6 @@ return [
             'Deprecation-85981-AnnotationFlushesCaches.rst'
         ],
     ],
-    'TYPO3\CMS\Install\Updates\AbstractUpdate->getTitle' => [
-        'numberOfMandatoryArguments' => 0,
-        'maximumNumberOfArguments' => 0,
-        'restFiles' => [
-            'Deprecation-86366-MethodsInAbstractUpdate.rst'
-        ],
-    ],
-    'TYPO3\CMS\Install\Updates\AbstractUpdate->setTitle' => [
-        'numberOfMandatoryArguments' => 1,
-        'maximumNumberOfArguments' => 1,
-        'restFiles' => [
-            'Deprecation-86366-MethodsInAbstractUpdate.rst'
-        ],
-    ],
-    'TYPO3\CMS\Install\Updates\AbstractUpdate->getIdentifier' => [
-        'numberOfMandatoryArguments' => 0,
-        'maximumNumberOfArguments' => 0,
-        'restFiles' => [
-            'Deprecation-86366-MethodsInAbstractUpdate.rst'
-        ],
-    ],
-    'TYPO3\CMS\Install\Updates\AbstractUpdate->setIdentifier' => [
-        'numberOfMandatoryArguments' => 1,
-        'maximumNumberOfArguments' => 1,
-        'restFiles' => [
-            'Deprecation-86366-MethodsInAbstractUpdate.rst'
-        ],
-    ],
-    'TYPO3\CMS\Install\Updates\AbstractUpdate->getDescription' => [
-        'numberOfMandatoryArguments' => 0,
-        'maximumNumberOfArguments' => 0,
-        'restFiles' => [
-            'Deprecation-86366-MethodsInAbstractUpdate.rst'
-        ],
-    ],
     'TYPO3\CMS\Install\Updates\AbstractUpdate->executeUpdate' => [
         'numberOfMandatoryArguments' => 0,
         'maximumNumberOfArguments' => 0,