From 0cc02a87dcee06278b96571cddf4b47b0ea66edb Mon Sep 17 00:00:00 2001 From: Oliver Klee <typo3-coding@oliverklee.de> Date: Mon, 6 Jun 2022 17:23:06 +0200 Subject: [PATCH] [TASK] Drop PhpStorm meta configuration for getAccessibleMock & friends MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is now covered by the annotations using generics in the testing framework base class, and hence not needed anymore. (Removing it also helps get consistent behavior from PhpStorm's static type analysis.) Resolves: #97736 Releases: main, 11.5, 10.4 Change-Id: Ia7d7e790bb92eaf1c9b7ffa4f9d97b2b0a50dee3 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/74769 Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de> Reviewed-by: Stefan Bürk <stefan@buerk.tech> Tested-by: Stefan Bürk <stefan@buerk.tech> --- .phpstorm.meta.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.phpstorm.meta.php b/.phpstorm.meta.php index 0061cdbbf026..ff6dd1091c32 100644 --- a/.phpstorm.meta.php +++ b/.phpstorm.meta.php @@ -8,10 +8,6 @@ */ namespace PHPSTORM_META { - // Tests - override(\TYPO3\TestingFramework\Core\BaseTestCase::getAccessibleMock(0), type(0)); - override(\TYPO3\TestingFramework\Core\BaseTestCase::getAccessibleMockForAbstractClass(0), type(0)); - // Contexts // @see https://docs.typo3.org/c/typo3/cms-core/master/en-us/Changelog/9.4/Feature-85389-ContextAPIForConsistentDataHandling.html expectedArguments( -- GitLab