[TASK] Introduce Matcher for required arguments in static calls 68/55268/6
authorAnja Leichsenring <aleichsenring@ab-softlab.de>
Fri, 5 Jan 2018 07:13:52 +0000 (08:13 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Fri, 12 Jan 2018 11:44:26 +0000 (12:44 +0100)
commitc047e3435d38b27b14a560c2ea4e4a4fc2f27a9c
tree4213144fa52f639237d36935b5bbd725f88e17e4
parent4945e8392f77b0ccc8a53dd9dc55d87d5f66a7c5
[TASK] Introduce Matcher for required arguments in static calls

Add a matcher that is able to detect hits of method calls that do
not comply to a minimum amount of arguments, where new arguments
have been introduced or previously optional ones have been made
mandatory.

Resolves: #83471
Relates: #82899
Releases: master
Change-Id: I96eedb06bfcd88a8927902060224b12b64f6f470
Reviewed-on: https://review.typo3.org/55268
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Reiner Teubner <rteubner@me.com>
Tested-by: Reiner Teubner <rteubner@me.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/core/Documentation/Changelog/9.0/Breaking-82899-MoreRestrictingChecksForAPIMethodsInExtensionManagementUtility.rst
typo3/sysext/install/Classes/Controller/UpgradeController.php
typo3/sysext/install/Classes/ExtensionScanner/Php/Matcher/AbstractCoreMatcher.php
typo3/sysext/install/Classes/ExtensionScanner/Php/Matcher/MethodArgumentRequiredStaticMatcher.php [new file with mode: 0644]
typo3/sysext/install/Configuration/ExtensionScanner/Php/MethodArgumentRequiredStaticMatcher.php [new file with mode: 0644]
typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/Fixtures/MethodArgumentRequiredStaticMatcherFixture.php [new file with mode: 0644]
typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/MethodArgumentRequiredStaticMatcherTest.php [new file with mode: 0644]