-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #55 from magento-commerce/imported-fredden-magento…
…-semver-72 [Imported] Detect when virtualTypes move elsewhere
- Loading branch information
Showing
7 changed files
with
96 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
...les/di_xml/moved-to-another-module/source-code-after/Magento/AnotherTestModule/etc/di.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?xml version="1.0"?> | ||
<!-- | ||
/** | ||
* Copyright © Magento, Inc. All rights reserved. | ||
* See COPYING.txt for license details. | ||
*/ | ||
--> | ||
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd"> | ||
<!-- This file is in Magento_AnotherTestModule's etc/ directory --> | ||
|
||
<!-- @api --> | ||
<virtualType name="customCacheInstance" type="Magento\Framework\App\Cache" shared="true"/> | ||
<!-- @api --> | ||
<virtualType name="customCacheInstance2" type="Magento\Test" /> | ||
<!-- @api --> | ||
<virtualType name="customCacheInstance3" type="Magento\Framework\Test2" shared="false"/> | ||
</config> |
17 changes: 17 additions & 0 deletions
17
...st/_files/di_xml/moved-to-another-module/source-code-before/Magento/TestModule/etc/di.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?xml version="1.0"?> | ||
<!-- | ||
/** | ||
* Copyright © Magento, Inc. All rights reserved. | ||
* See COPYING.txt for license details. | ||
*/ | ||
--> | ||
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd"> | ||
<!-- This file is in Magento_TestModule's etc/ directory --> | ||
|
||
<!-- @api --> | ||
<virtualType name="customCacheInstance" type="Magento\Framework\App\Cache" shared="true"/> | ||
<!-- @api --> | ||
<virtualType name="customCacheInstance2" type="Magento\Test" /> | ||
<!-- @api --> | ||
<virtualType name="customCacheInstance3" type="Magento\Framework\Test2" shared="false"/> | ||
</config> |
17 changes: 17 additions & 0 deletions
17
.../CompareSourceCommandTest/_files/di_xml/moved-to-app-etc/source-code-after/app/etc/di.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?xml version="1.0"?> | ||
<!-- | ||
/** | ||
* Copyright © Magento, Inc. All rights reserved. | ||
* See COPYING.txt for license details. | ||
*/ | ||
--> | ||
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd"> | ||
<!-- This file is in a the global app/etc/ directory --> | ||
|
||
<!-- @api --> | ||
<virtualType name="customCacheInstance" type="Magento\Framework\App\Cache" shared="true"/> | ||
<!-- @api --> | ||
<virtualType name="customCacheInstance2" type="Magento\Test" /> | ||
<!-- @api --> | ||
<virtualType name="customCacheInstance3" type="Magento\Framework\Test2" shared="false"/> | ||
</config> |
17 changes: 17 additions & 0 deletions
17
...mmandTest/_files/di_xml/moved-to-app-etc/source-code-before/Magento/TestModule/etc/di.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?xml version="1.0"?> | ||
<!-- | ||
/** | ||
* Copyright © Magento, Inc. All rights reserved. | ||
* See COPYING.txt for license details. | ||
*/ | ||
--> | ||
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd"> | ||
<!-- This file is in a module's etc/ directory --> | ||
|
||
<!-- @api --> | ||
<virtualType name="customCacheInstance" type="Magento\Framework\App\Cache" shared="true"/> | ||
<!-- @api --> | ||
<virtualType name="customCacheInstance2" type="Magento\Test" /> | ||
<!-- @api --> | ||
<virtualType name="customCacheInstance3" type="Magento\Framework\Test2" shared="false"/> | ||
</config> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
app/code | ||
app/etc | ||
lib/internal/Magento | ||
Inventory* | ||
Adobe* |