mirror of
https://github.com/bdnugget/magento2.git
synced 2026-11-08 01:37:36 +00:00
* WeakMapSorter arguments from root di.xml have been temporarily moved into Config Module - This should be moved back to the root di.xml once the issue with array_replace_recursive is fixed in lib/internal/Magento/Framework/ObjectManager/Config/Config.php * Changed Magento\Framework\TestFramework\ApplicationStateComparator\ObjectManagerInterface and dependant classes so that we just use _resetState() instead of the individual resetStateWeakMapObjects() and resetStateSharedInstances() * In ReloadProcessorComposite, moved ksort to constructor so that it only has to be called once. * In Resetter, made new constant RESET_PATH * Now using ObjectManager from setObjectManager to construct WeakMapSorter to avoid use of global variable. * Moved WeakMapSorter to property in Resetter instead of local variable so that we can cache the sortOrder values which are added dynamically. * Changed WeakMapSorter's use of di.xml so that the keys are the class names and the sortValues are the values. * WeakMapSorter now uses and caches the sortValues for subclasses and implementations of interfaces. * Magento\Framework\TestFramework\ApplicationStateComparator\DynamicFactoryDecorator now uses Resetter