Skip to content

Commit

Permalink
[BUGFIX] Remove wrong MethodCallStaticMatchers
Browse files Browse the repository at this point in the history
Some methods have been added for this matcher,
which are actually not deprecated/removed as a
whole. Only the usage of those methods has been
adjusted.

The extension scanner is not capable of detecting
such usages only, hence there is no sense in
reporting every usage of those functions, albeit
these usages might be valid.

The matcher entries are removed therefore.

Resolves: #91355
Releases: master
Change-Id: I9da87ecb320f65d4fe5df168d788bb2ba8547f84
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/64451
Tested-by: TYPO3com <noreply@typo3.com>
Tested-by: Alexander Schnitzler <git@alexanderschnitzler.de>
Tested-by: Benjamin Franzke <bfr@qbus.de>
Reviewed-by: Alexander Schnitzler <git@alexanderschnitzler.de>
Reviewed-by: Benjamin Franzke <bfr@qbus.de>
  • Loading branch information
liayn authored and bnf committed May 13, 2020
1 parent 3c7867f commit 738ac0c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 23 deletions.
Expand Up @@ -87,4 +87,4 @@ Migration
* Omit the vendor name in argument :php:`$extensionName`
* Use fully qualified class names as array keys in arguments :php:`$controllerActions` and :php:`$nonCacheableControllerActions`

.. index:: PHP-API, PartiallyScanned, ext:extbase
.. index:: PHP-API, NotScanned, ext:extbase
Expand Up @@ -52,4 +52,4 @@ Just use the extension name like in this example.
'content-form',
);
.. index:: PHP-API, FullyScanned, ext:extbase
.. index:: PHP-API, NotScanned, ext:extbase
Expand Up @@ -841,20 +841,6 @@
'Breaking-87193-DeprecatedFunctionalityRemoved.rst',
],
],
'TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin' => [
'numberOfMandatoryArguments' => 3,
'maximumNumberOfArguments' => 5,
'restFiles' => [
'Deprecation-87550-UseControllerClassesWhenRegisteringPluginsmodules.rst',
],
],
'TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule' => [
'numberOfMandatoryArguments' => 1,
'maximumNumberOfArguments' => 6,
'restFiles' => [
'Deprecation-87550-UseControllerClassesWhenRegisteringPluginsmodules.rst',
],
],
'TYPO3\CMS\Extbase\Reflection\ObjectAccess::buildSetterMethodName' => [
'numberOfMandatoryArguments' => 1,
'maximumNumberOfArguments' => 1,
Expand Down Expand Up @@ -932,13 +918,6 @@
'Deprecation-88787-BackendUtilityEditOnClick.rst'
],
],
'TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin' => [
'numberOfMandatoryArguments' => 3,
'maximumNumberOfArguments' => 4,
'restFiles' => [
'Deprecation-88995-CallingRegisterPluginWithVendorName.rst'
],
],
'TYPO3\CMS\Core\Utility\GeneralUtility::getApplicationContext' => [
'numberOfMandatoryArguments' => 0,
'maximumNumberOfArguments' => 0,
Expand Down

0 comments on commit 738ac0c

Please sign in to comment.