File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -43,11 +43,17 @@ shipped by Magento. Once those problems are fixed in Magento, those mocks can be
4343### TestFramework autoloader
4444The extension provides an autoloader for ` Magento\TestFramework ` classes to let you run PHPStan also against your test classes.
4545
46+ #### TestFramework ObjectManager type hints
47+ A type extension was added so that ` Magento\Framework\TestFramework\Unit\Helper\ObjectManager ` calls return the correct return type.
48+ Additionally, a PHPStan rule was added to check that only ` Magento\Framework\Data\Collection ` sub classes can be passed to
49+ ` Magento\Framework\TestFramework\Unit\Helper\ObjectManager::getCollectionMock() ` .
50+
4651### ObjectManager type hints
47- A type extension was added so that ` ObjectManager ` calls return the correct return type.
52+ A type extension was added so that ` Magento\Framework\App\ ObjectManager` calls return the correct return type.
4853
4954### Support for magic method calls
50- For some classes like the ` DataObject ` or the ` SessionManager ` logic was added to be able to support magic method calls.
55+ For some classes like the ` Magento\Framework\DataObject ` or ` Magento\Framework\Session\SessionManager ` logic was added
56+ to be able to support magic method calls.
5157
5258### PHPStan rules
5359
You can’t perform that action at this time.
0 commit comments