Skip to content

Commit c4f4fce

Browse files
committed
MAGETWO-34528: Contribution of Sprint 24 Work to Mainline
- Dependency test and static error fixes
1 parent b170df3 commit c4f4fce

File tree

5 files changed

+6
-12
lines changed

5 files changed

+6
-12
lines changed

app/code/Magento/Fedex/composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"description": "N/A",
44
"require": {
55
"php": "~5.5.0|~5.6.0",
6+
"magento/module-store": "0.42.0-beta9",
67
"magento/module-shipping": "0.42.0-beta9",
78
"magento/module-directory": "0.42.0-beta9",
89
"magento/module-catalog": "0.42.0-beta9",

app/code/Magento/OfflineShipping/composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"description": "N/A",
44
"require": {
55
"php": "~5.5.0|~5.6.0",
6+
"magento/module-store": "0.42.0-beta9",
67
"magento/module-backend": "0.42.0-beta9",
78
"magento/module-shipping": "0.42.0-beta9",
89
"magento/module-catalog": "0.42.0-beta9",

app/code/Magento/Store/etc/di.xml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,6 @@
99
<preference for="Magento\Framework\App\Request\PathInfoProcessorInterface" type="Magento\Store\App\Request\PathInfoProcessor" />
1010
<preference for="Magento\Store\Model\StoreManagerInterface" type="Magento\Store\Model\StoreManager" />
1111
<preference for="Magento\Framework\App\Response\RedirectInterface" type="Magento\Store\App\Response\Redirect" />
12-
<type name="Magento\Framework\Module\Updater\SetupFactory">
13-
<arguments>
14-
<argument name="resourceTypes" xsi:type="array">
15-
<item name="store_setup" xsi:type="string">Magento\Framework\Module\DataSetup</item>
16-
</argument>
17-
</arguments>
18-
</type>
1912
<type name="Magento\Framework\App\Config\ScopePool">
2013
<arguments>
2114
<argument name="readerPool" xsi:type="object">Magento\Store\Model\Config\Reader\ReaderPool\Proxy</argument>

dev/tests/static/testsuite/Magento/Test/Legacy/InstallUpgradeTest.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,8 @@ function ($file) {
5151
'Invalid directory. Please convert data/sql scripts to a class within module\'s Setup folder'
5252
);
5353
},
54-
$this->convertArray(Files::init()->getFiles(
55-
[BP . '/app/code/*/*/sql', BP . '/app/code/*/*/data'],
56-
'*.php'
57-
)
54+
$this->convertArray(
55+
Files::init()->getFiles([BP . '/app/code/*/*/sql', BP . '/app/code/*/*/data'], '*.php')
5856
)
5957
);
6058
}

setup/src/Magento/Setup/Model/InstallerFactory.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ class InstallerFactory
2929
* @param ServiceLocatorInterface $serviceLocator
3030
* @param ResourceFactory $resourceFactory
3131
*/
32-
public function __construct(ServiceLocatorInterface $serviceLocator, ResourceFactory $resourceFactory) {
32+
public function __construct(ServiceLocatorInterface $serviceLocator, ResourceFactory $resourceFactory)
33+
{
3334
$this->serviceLocator = $serviceLocator;
3435
$this->resourceFactory = $resourceFactory;
3536
}

0 commit comments

Comments
 (0)