[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>
Showing
- typo3/sysext/core/Documentation/Changelog/9.0/Breaking-82899-MoreRestrictingChecksForAPIMethodsInExtensionManagementUtility.rst 1 addition, 1 deletion...ictingChecksForAPIMethodsInExtensionManagementUtility.rst
- typo3/sysext/install/Classes/Controller/UpgradeController.php 5 additions, 0 deletions...3/sysext/install/Classes/Controller/UpgradeController.php
- typo3/sysext/install/Classes/ExtensionScanner/Php/Matcher/AbstractCoreMatcher.php 1 addition, 1 deletion...sses/ExtensionScanner/Php/Matcher/AbstractCoreMatcher.php
- typo3/sysext/install/Classes/ExtensionScanner/Php/Matcher/MethodArgumentRequiredStaticMatcher.php 107 additions, 0 deletions...anner/Php/Matcher/MethodArgumentRequiredStaticMatcher.php
- typo3/sysext/install/Configuration/ExtensionScanner/Php/MethodArgumentRequiredStaticMatcher.php 10 additions, 0 deletions...ensionScanner/Php/MethodArgumentRequiredStaticMatcher.php
- typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/Fixtures/MethodArgumentRequiredStaticMatcherFixture.php 44 additions, 0 deletions...r/Fixtures/MethodArgumentRequiredStaticMatcherFixture.php
- typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/MethodArgumentRequiredStaticMatcherTest.php 215 additions, 0 deletions...r/Php/Matcher/MethodArgumentRequiredStaticMatcherTest.php
Please register or sign in to comment