@@ -23,43 +23,43 @@ class ObjectManager extends TestFrameworkObjectManager
23
23
*/
24
24
private $ bootstrappedObjects = [
25
25
// Note: These are after $objectManager = $this->_factory->create($overriddenParams);
26
- 'Magento \\ Framework \\ App \ \DeploymentConfig ' ,
27
- 'Magento \\ Framework \\ App \\ Filesystem \ \DirectoryList ' ,
28
- 'Magento \\ Framework \\ Filesystem \ \DirectoryList ' ,
29
- 'Magento \\ Framework \\ Filesystem \ \DriverPool ' ,
30
- 'Magento \\ Framework \\ ObjectManager \ \RelationsInterface ' ,
31
- 'Magento \\ Framework \\ Interception \ \DefinitionInterface ' ,
32
- 'Magento \\ Framework \\ ObjectManager \ \ConfigInterface ' ,
33
- 'Magento \\ Framework \\ Interception \\ ObjectManager \ \ConfigInterface ' ,
34
- 'Magento \\ Framework \\ ObjectManager \ \DefinitionInterface ' ,
35
- 'Magento \\ Framework \\ Stdlib \ \BooleanUtils ' ,
36
- 'Magento \\ Framework \\ ObjectManager \\ Config \\ Mapper \ \Dom ' ,
37
- 'Magento \\ Framework \\ ObjectManager \ \ConfigLoaderInterface ' ,
38
- 'Magento \\ TestFramework \\ ObjectManager \ \Config ' ,
39
- 'Magento \\ Framework \ \ObjectManagerInterface ' ,
40
- 'Magento \\ RemoteStorage \\ Model \ \Config ' ,
41
- 'Magento \\ RemoteStorage \\ Driver \\ Adapter \ \MetadataProviderInterfaceFactory ' ,
42
- 'Magento \\ RemoteStorage \\ Driver \\ Adapter \\ Cache \ \CacheInterfaceFactory ' ,
43
- 'Magento \\ RemoteStorage \\ Driver \\ Adapter \ \CachedAdapterInterfaceFactory ' ,
44
- 'Magento \\ Framework \\ App \\ Cache \ \Proxy ' ,
45
- 'Aws \\ Credentials \ \CredentialsFactory ' ,
46
- 'Magento \\ Framework \\ Serialize \\ Serializer \ \Json ' ,
47
- 'Magento \\ AwsS3 \\ Driver \ \CredentialsCache ' ,
48
- 'Magento \\ AwsS3 \\ Driver \ \CachedCredentialsProvider ' ,
49
- 'Magento \\ AwsS3 \\ Driver \ \AwsS3Factory ' ,
50
- 'Magento \\ RemoteStorage \\ Driver \ \DriverFactoryPool ' ,
51
- 'Magento \\ RemoteStorage \\ Driver \ \DriverPool ' ,
26
+ 'Magento\Framework\App\DeploymentConfig ' ,
27
+ 'Magento\Framework\App\Filesystem\DirectoryList ' ,
28
+ 'Magento\Framework\Filesystem\DirectoryList ' ,
29
+ 'Magento\Framework\Filesystem\DriverPool ' ,
30
+ 'Magento\Framework\ObjectManager\RelationsInterface ' ,
31
+ 'Magento\Framework\Interception\DefinitionInterface ' ,
32
+ 'Magento\Framework\ObjectManager\ConfigInterface ' ,
33
+ 'Magento\Framework\Interception\ObjectManager\ConfigInterface ' ,
34
+ 'Magento\Framework\ObjectManager\DefinitionInterface ' ,
35
+ 'Magento\Framework\Stdlib\BooleanUtils ' ,
36
+ 'Magento\Framework\ObjectManager\Config\Mapper\Dom ' ,
37
+ 'Magento\Framework\ObjectManager\ConfigLoaderInterface ' ,
38
+ 'Magento\TestFramework\ObjectManager\Config ' ,
39
+ 'Magento\Framework\ObjectManagerInterface ' ,
40
+ 'Magento\RemoteStorage\Model\Config ' ,
41
+ 'Magento\RemoteStorage\Driver\Adapter\MetadataProviderInterfaceFactory ' ,
42
+ 'Magento\RemoteStorage\Driver\Adapter\Cache\CacheInterfaceFactory ' ,
43
+ 'Magento\RemoteStorage\Driver\Adapter\CachedAdapterInterfaceFactory ' ,
44
+ 'Magento\Framework\App\Cache\Proxy ' ,
45
+ 'Aws\Credentials\CredentialsFactory ' ,
46
+ 'Magento\Framework\Serialize\Serializer\Json ' ,
47
+ 'Magento\AwsS3\Driver\CredentialsCache ' ,
48
+ 'Magento\AwsS3\Driver\CachedCredentialsProvider ' ,
49
+ 'Magento\AwsS3\Driver\AwsS3Factory ' ,
50
+ 'Magento\RemoteStorage\Driver\DriverFactoryPool ' ,
51
+ 'Magento\RemoteStorage\Driver\DriverPool ' ,
52
52
'remoteReadFactory ' ,
53
- 'Magento \\ RemoteStorage \\ Model \\ Filesystem \\ Directory \ \WriteFactory ' ,
53
+ 'Magento\RemoteStorage\Model\Filesystem\Directory\WriteFactory ' ,
54
54
'customRemoteFilesystem ' ,
55
- 'Magento \\ Framework \\ App \\ ResourceConnection \ \Proxy ' ,
56
- 'Magento \\ Framework \\ App \\ Cache \\ Frontend \ \Factory ' ,
57
- 'Magento \\ Framework \\ App \\ Cache \\ Frontend \ \Pool ' ,
58
- 'Magento \\ Framework \\ App \\ Cache \\ Type \ \FrontendPool ' ,
59
- 'Magento \\ Framework \\ App \\ Cache \\ Type \ \Config ' ,
60
- 'Magento \\ Framework \\ ObjectManager \\ Config \\ Reader \ \DomFactory ' ,
61
- 'Magento \\ Framework \\ Serialize \\ Serializer \ \Serialize ' ,
62
- 'Magento \\ Framework \\ App \\ ObjectManager \ \ConfigLoader ' ,
55
+ 'Magento\Framework\App\ResourceConnection\Proxy ' ,
56
+ 'Magento\Framework\App\Cache\Frontend\Factory ' ,
57
+ 'Magento\Framework\App\Cache\Frontend\Pool ' ,
58
+ 'Magento\Framework\App\Cache\Type\FrontendPool ' ,
59
+ 'Magento\Framework\App\Cache\Type\Config ' ,
60
+ 'Magento\Framework\ObjectManager\Config\Reader\DomFactory ' ,
61
+ 'Magento\Framework\Serialize\Serializer\Serialize ' ,
62
+ 'Magento\Framework\App\ObjectManager\ConfigLoader ' ,
63
63
// Note: These were added by addSharedInstance
64
64
'Magento\Framework\App\Filesystem\DirectoryList ' ,
65
65
'Magento\Framework\Filesystem\DirectoryList ' ,
@@ -101,7 +101,7 @@ public function __construct(TestFrameworkObjectManager $testFrameworkObjectManag
101
101
$ properties = get_object_vars ($ testFrameworkObjectManager );
102
102
foreach ($ properties as $ key => $ value ) {
103
103
if ($ key === '_sharedInstances ' ) {
104
- foreach ($ value as $ class => $ instance ) {
104
+ foreach ($ value as $ class => $ instance ) {
105
105
if (in_array ($ class , $ this ->bootstrappedObjects )) {
106
106
$ this ->_sharedInstances [$ class ] = $ instance ;
107
107
}
0 commit comments