File tree Expand file tree Collapse file tree 12 files changed +54
-26
lines changed
inspections/xml/TypeConfigurationTagTypesInspection
argumentFactoryTypeExists
nameAttributeValueTypeDoesNotExist
nameAttributeValueTypeExists
recursivelyArgumentProxyTypeDoesNotExist
recursivelyArgumentProxyTypeExists
recursivelyArgumentVirtualTypeDoesNotExist
recursivelyArgumentVirtualTypeExists
project/magento2/app/code/Foo Expand file tree Collapse file tree 12 files changed +54
-26
lines changed Original file line number Diff line number Diff line change 11<?xml version =" 1.0" ?>
2- <routes xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
3- xsi : noNamespaceSchemaLocation =" urn:magento:module:Magento_Webapi: etc/webapi .xsd" >
2+ <config xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
3+ xsi : noNamespaceSchemaLocation =" urn:magento:framework:ObjectManager/ etc/config .xsd" >
44 <type name =" Magento\Catalog\Api\ProductRepositoryInterface" >
55 <arguments >
66 <argument name =" test_parameter_2" xsi : type =" object" >Magento\Catalog\Api\ProductRepositoryInterfaceFactory</argument >
77 </arguments >
88 </type >
9- </routes >
9+ </config >
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" ?>
2- <routes xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
3- xsi : noNamespaceSchemaLocation =" urn:magento:module:Magento_Webapi: etc/webapi .xsd" >
2+ <config xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
3+ xsi : noNamespaceSchemaLocation =" urn:magento:framework:ObjectManager/ etc/config .xsd" >
44 <type name =" Not\Existent\Class" />
5- </routes >
5+ </config >
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" ?>
2- <routes xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
3- xsi : noNamespaceSchemaLocation =" urn:magento:module:Magento_Webapi: etc/webapi .xsd" >
2+ <config xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
3+ xsi : noNamespaceSchemaLocation =" urn:magento:framework:ObjectManager/ etc/config .xsd" >
44 <type name =" Magento\Catalog\Api\ProductRepositoryInterface" />
5- </routes >
5+ </config >
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" ?>
2- <routes xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
3- xsi : noNamespaceSchemaLocation =" urn:magento:module:Magento_Webapi: etc/webapi .xsd" >
2+ <config xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
3+ xsi : noNamespaceSchemaLocation =" urn:magento:framework:ObjectManager/ etc/config .xsd" >
44 <type name =" Magento\Catalog\Api\ProductRepositoryInterface" >
55 <arguments >
66 <argument name =" test_parameter" xsi : type =" array" >
1010 </argument >
1111 </arguments >
1212 </type >
13- </routes >
13+ </config >
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" ?>
2- <routes xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
3- xsi : noNamespaceSchemaLocation =" urn:magento:module:Magento_Webapi: etc/webapi .xsd" >
2+ <config xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
3+ xsi : noNamespaceSchemaLocation =" urn:magento:framework:ObjectManager/ etc/config .xsd" >
44 <type name =" Magento\Catalog\Api\ProductRepositoryInterface" >
55 <arguments >
66 <argument name =" test_parameter" xsi : type =" array" >
1010 </argument >
1111 </arguments >
1212 </type >
13- </routes >
13+ </config >
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" ?>
2- <routes xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
3- xsi : noNamespaceSchemaLocation =" urn:magento:module:Magento_Webapi: etc/webapi .xsd" >
2+ <config xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
3+ xsi : noNamespaceSchemaLocation =" urn:magento:framework:ObjectManager/ etc/config .xsd" >
44 <type name =" Magento\Catalog\Api\ProductRepositoryInterface" >
55 <arguments >
66 <argument name =" test_parameter" xsi : type =" array" >
1010 </argument >
1111 </arguments >
1212 </type >
13- </routes >
13+ </config >
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" ?>
2- <routes xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
3- xsi : noNamespaceSchemaLocation =" urn:magento:module:Magento_Webapi: etc/webapi .xsd" >
2+ <config xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
3+ xsi : noNamespaceSchemaLocation =" urn:magento:framework:ObjectManager/ etc/config .xsd" >
44 <type name =" Magento\Catalog\Api\ProductRepositoryInterface" >
55 <arguments >
66 <argument name =" test_parameter" xsi : type =" array" >
1010 </argument >
1111 </arguments >
1212 </type >
13- </routes >
13+ </config >
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ {
2+ "name" : " foo/bar2" ,
3+ "description" : " N/A" ,
4+ "type" : " magento2-module" ,
5+ "version" : " 1.0.0" ,
6+ "require" : {
7+ "magento/framework" : " *"
8+ },
9+ "autoload" : {
10+ "files" : [
11+ " registration.php"
12+ ],
13+ "psr-4" : {
14+ "Foo\\ Bar2\\ " : " "
15+ }
16+ }
17+ }
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" ?>
2+ <config xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
3+ xsi : noNamespaceSchemaLocation =" urn:magento:framework:ObjectManager/etc/config.xsd" >
4+ <virtualType name =" VirtualProductRepository" type =" Magento\Catalog\Api\ProductRepositoryInterface" />
5+ </config >
You can’t perform that action at this time.
0 commit comments