[FEATURE] Integration of a generic record link handler
[Packages/TYPO3.CMS.git] / dynamicReturnTypeMeta.json
index ea38630..5976c82 100644 (file)
@@ -1,8 +1,6 @@
 {
        // configuration file for PHPStorm Plugin: http://plugins.jetbrains.com/plugin/7251
        "methodCalls": [
-               // Do not add the methods getMock or getAccessibleMock to this configuration
-               // because additive type information gets lost. Use comments to define object types.
                {
                        "class": "\\TYPO3\\CMS\\Core\\Utility\\GeneralUtility",
                        "method": "makeInstance",
                        "class": "\\TYPO3\\CMS\\Extbase\\Object\\ObjectManagerInterface",
                        "method": "get",
                        "position": 0
+               },
+               {
+                       "class": "\\PHPUnit_Framework_TestCase",
+                       "method": "prophesize",
+                       "position": 0,
+                       "mask": "%s|\\Prophecy\\Prophecy\\ObjectProphecy"
+               },
+               {
+                       "class": "\\PHPUnit_Framework_TestCase",
+                       "method": "getMock",
+                       "position": 0,
+                       "mask": "%s|\\PHPUnit_Framework_MockObject_MockObject"
+               },
+               {
+                       "class": "\\PHPUnit_Framework_TestCase",
+                       "method": "createMock",
+                       "position": 0,
+                       "mask": "%s|\\PHPUnit_Framework_MockObject_MockObject"
+               },
+               {
+                       "class": "\\TYPO3\\CMS\\Components\\TestingFramework\\Core\\BaseTestCase",
+                       "method": "getAccessibleMock",
+                       "position": 0,
+                       "mask": "%s|\\PHPUnit_Framework_MockObject_MockObject|\\TYPO3\\CMS\\Components\\TestingFramework\\Core\\AccessibleObjectInterface"
+               },
+               {
+                       "class": "\\TYPO3\\CMS\\Components\\TestingFramework\\Core\\BaseTestCase",
+                       "method": "getAccessibleMockForAbstractClass",
+                       "position": 0,
+                       "mask": "%s|\\PHPUnit_Framework_MockObject_MockObject|\\TYPO3\\CMS\\Components\\TestingFramework\\Core\\AccessibleObjectInterface"
                }
        ],
        "functionCalls": [