Skip to content

Removed leading backslash in xml #26948

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 9 commits into from
2 changes: 1 addition & 1 deletion app/code/Magento/AdvancedSearch/etc/di.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<type name="Magento\AdvancedSearch\Model\Client\ClientResolver">
<arguments>
<argument name="path" xsi:type="const">Magento\CatalogSearch\Model\ResourceModel\EngineInterface::CONFIG_ENGINE_PATH</argument>
<argument name="scopeType" xsi:type="const">\Magento\Store\Model\ScopeInterface::SCOPE_STORE</argument>
<argument name="scopeType" xsi:type="const">Magento\Store\Model\ScopeInterface::SCOPE_STORE</argument>
</arguments>
</type>
<type name="Magento\AdvancedSearch\Model\SuggestedQueries">
Expand Down
2 changes: 1 addition & 1 deletion app/code/Magento/Amqp/etc/di.xml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
</type>
<virtualType name="Magento\Framework\Amqp\Bulk\ExchangeFactory" type="Magento\Framework\Amqp\ExchangeFactory">
<arguments>
<argument name="instanceName" xsi:type="string">\Magento\Framework\Amqp\Bulk\Exchange</argument>
<argument name="instanceName" xsi:type="string">Magento\Framework\Amqp\Bulk\Exchange</argument>
</arguments>
</virtualType>
</config>
2 changes: 1 addition & 1 deletion app/code/Magento/Analytics/etc/di.xml
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@
<virtualType name="SignUpResponseResolver" type="Magento\Analytics\Model\Connector\Http\ResponseResolver">
<arguments>
<argument name="responseHandlers" xsi:type="array">
<item name="201" xsi:type="object">\Magento\Analytics\Model\Connector\ResponseHandler\SignUp</item>
<item name="201" xsi:type="object">Magento\Analytics\Model\Connector\ResponseHandler\SignUp</item>
</argument>
</arguments>
</virtualType>
Expand Down
4 changes: 2 additions & 2 deletions app/code/Magento/Bundle/etc/di.xml
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@
<type name="Magento\Quote\Model\Quote\Item\Repository">
<arguments>
<argument name="cartItemProcessors" xsi:type="array">
<item name="bundle" xsi:type="object">\Magento\Bundle\Model\CartItemProcessor\Proxy</item>
<item name="bundle" xsi:type="object">Magento\Bundle\Model\CartItemProcessor\Proxy</item>
</argument>
</arguments>
</type>
Expand Down Expand Up @@ -158,7 +158,7 @@
<type name="Magento\Catalog\Ui\DataProvider\Product\ProductRenderCollectorComposite">
<arguments>
<argument name="productProviders" xsi:type="array">
<item name="bundle_price" xsi:type="object">\Magento\Bundle\Ui\DataProvider\Product\Listing\Collector\BundlePrice</item>
<item name="bundle_price" xsi:type="object">Magento\Bundle\Ui\DataProvider\Product\Listing\Collector\BundlePrice</item>
</argument>
</arguments>
</type>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,20 +31,20 @@
</container>
<block class="Magento\Bundle\Block\Catalog\Product\View\Type\Bundle\Option\Select" name="product.info.bundle.options.select" as="select">
<arguments>
<argument name="tier_price_renderer" xsi:type="object">\Magento\Bundle\Block\DataProviders\OptionPriceRenderer</argument>
<argument name="tier_price_renderer" xsi:type="object">Magento\Bundle\Block\DataProviders\OptionPriceRenderer</argument>
<argument name="validateQuantityViewModel" xsi:type="object">Magento\Bundle\ViewModel\ValidateQuantity</argument>
</arguments>
</block>
<block class="Magento\Bundle\Block\Catalog\Product\View\Type\Bundle\Option\Multi" name="product.info.bundle.options.multi" as="multi"/>
<block class="Magento\Bundle\Block\Catalog\Product\View\Type\Bundle\Option\Radio" name="product.info.bundle.options.radio" as="radio">
<arguments>
<argument name="tier_price_renderer" xsi:type="object">\Magento\Bundle\Block\DataProviders\OptionPriceRenderer</argument>
<argument name="tier_price_renderer" xsi:type="object">Magento\Bundle\Block\DataProviders\OptionPriceRenderer</argument>
<argument name="validateQuantityViewModel" xsi:type="object">Magento\Bundle\ViewModel\ValidateQuantity</argument>
</arguments>
</block>
<block class="Magento\Bundle\Block\Catalog\Product\View\Type\Bundle\Option\Checkbox" name="product.info.bundle.options.checkbox" as="checkbox">
<arguments>
<argument name="tier_price_renderer" xsi:type="object">\Magento\Bundle\Block\DataProviders\OptionPriceRenderer</argument>
<argument name="tier_price_renderer" xsi:type="object">Magento\Bundle\Block\DataProviders\OptionPriceRenderer</argument>
</arguments>
</block>
</block>
Expand Down
4 changes: 2 additions & 2 deletions app/code/Magento/Catalog/etc/adminhtml/di.xml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
</type>
<virtualType name="Magento\Catalog\Ui\DataProvider\Product\ProductCollectionFactory" type="Magento\Catalog\Model\ResourceModel\Product\CollectionFactory">
<arguments>
<argument name="instanceName" xsi:type="string">\Magento\Catalog\Ui\DataProvider\Product\ProductCollection</argument>
<argument name="instanceName" xsi:type="string">Magento\Catalog\Ui\DataProvider\Product\ProductCollection</argument>
</arguments>
</virtualType>
<type name="Magento\Catalog\Ui\DataProvider\Product\ProductDataProvider">
Expand All @@ -91,7 +91,7 @@
<argument name="addFilterStrategies" xsi:type="array">
<item name="store_id" xsi:type="object">Magento\Catalog\Ui\DataProvider\Product\AddStoreFieldToCollection</item>
</argument>
<argument name="collectionFactory" xsi:type="object">\Magento\Catalog\Ui\DataProvider\Product\ProductCollectionFactory</argument>
<argument name="collectionFactory" xsi:type="object">Magento\Catalog\Ui\DataProvider\Product\ProductCollectionFactory</argument>
<argument name="modifiersPool" xsi:type="object">Magento\Catalog\Ui\DataProvider\Product\Listing\Modifier\Pool</argument>
</arguments>
</type>
Expand Down
16 changes: 8 additions & 8 deletions app/code/Magento/Catalog/etc/di.xml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
<preference for="Magento\Catalog\Model\Indexer\Product\Price\UpdateIndexInterface" type="Magento\Catalog\Model\Indexer\Product\Price\InvalidateIndex" />
<preference for="Magento\Catalog\Model\Product\Gallery\ImagesConfigFactoryInterface" type="Magento\Catalog\Model\Product\Gallery\ImagesConfigFactory" />
<preference for="Magento\Catalog\Model\Product\Configuration\Item\ItemResolverInterface" type="Magento\Catalog\Model\Product\Configuration\Item\ItemResolverComposite" />
<preference for="Magento\Catalog\Api\Data\MassActionInterface" type="\Magento\Catalog\Model\MassAction" />
<preference for="Magento\Catalog\Api\Data\MassActionInterface" type="Magento\Catalog\Model\MassAction" />
<preference for="Magento\Catalog\Model\ProductLink\Data\ListCriteriaInterface" type="Magento\Catalog\Model\ProductLink\Data\ListCriteria" />
<preference for="Magento\Catalog\Api\CategoryListDeleteBySkuInterface" type="Magento\Catalog\Model\CategoryLinkRepository"/>
<type name="Magento\Customer\Model\ResourceModel\Visitor">
Expand Down Expand Up @@ -185,7 +185,7 @@
<type name="Magento\Catalog\Helper\Output">
<arguments>
<argument name="directivePatterns" xsi:type="array">
<item name="construct" xsi:type="const">\Magento\Framework\Filter\Template::CONSTRUCTION_PATTERN</item>
<item name="construct" xsi:type="const">Magento\Framework\Filter\Template::CONSTRUCTION_PATTERN</item>
</argument>
</arguments>
</type>
Expand Down Expand Up @@ -255,7 +255,7 @@
</type>
<type name="Magento\Store\Model\ResourceModel\Website">
<plugin name="invalidatePriceIndexerOnWebsite" type="Magento\Catalog\Model\Indexer\Product\Price\Plugin\Website"/>
<plugin name="categoryProductWebsiteAfterDelete" type="\Magento\Catalog\Model\Indexer\Category\Product\Plugin\Website"/>
<plugin name="categoryProductWebsiteAfterDelete" type="Magento\Catalog\Model\Indexer\Category\Product\Plugin\Website"/>
</type>
<type name="Magento\Store\Model\ResourceModel\Store">
<plugin name="storeViewResourceAroundSave" type="Magento\Catalog\Model\Indexer\Category\Flat\Plugin\StoreView"/>
Expand Down Expand Up @@ -366,7 +366,7 @@
</type>
<type name="Magento\Catalog\Model\Product\ReservedAttributeList">
<arguments>
<argument name="productModel" xsi:type="string">\Magento\Catalog\Model\Product</argument>
<argument name="productModel" xsi:type="string">Magento\Catalog\Model\Product</argument>
<argument name="reservedAttributes" xsi:type="array">
<item name="position" xsi:type="string">position</item>
</argument>
Expand Down Expand Up @@ -1000,10 +1000,10 @@
<type name="Magento\Catalog\Ui\DataProvider\Product\ProductRenderCollectorComposite">
<arguments>
<argument name="productProviders" xsi:type="array">
<item name="image" xsi:type="object">\Magento\Catalog\Ui\DataProvider\Product\Listing\Collector\Image</item>
<item name="price" xsi:type="object">\Magento\Catalog\Ui\DataProvider\Product\Listing\Collector\Price</item>
<item name="url" xsi:type="object">\Magento\Catalog\Ui\DataProvider\Product\Listing\Collector\Url</item>
<item name="additional_info" xsi:type="object">\Magento\Catalog\Ui\DataProvider\Product\Listing\Collector\AdditionalInfo</item>
<item name="image" xsi:type="object">Magento\Catalog\Ui\DataProvider\Product\Listing\Collector\Image</item>
<item name="price" xsi:type="object">Magento\Catalog\Ui\DataProvider\Product\Listing\Collector\Price</item>
<item name="url" xsi:type="object">Magento\Catalog\Ui\DataProvider\Product\Listing\Collector\Url</item>
<item name="additional_info" xsi:type="object">Magento\Catalog\Ui\DataProvider\Product\Listing\Collector\AdditionalInfo</item>
</argument>
</arguments>
</type>
Expand Down
2 changes: 1 addition & 1 deletion app/code/Magento/Catalog/etc/frontend/di.xml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
<arguments>
<argument name="configurationsMap" xsi:type="array">
<item name="addCompareSuccessMessage" xsi:type="array">
<item name="renderer" xsi:type="const">\Magento\Framework\View\Element\Message\Renderer\BlockRenderer::CODE</item>
<item name="renderer" xsi:type="const">Magento\Framework\View\Element\Message\Renderer\BlockRenderer::CODE</item>
<item name="data" xsi:type="array">
<item name="template" xsi:type="string">Magento_Catalog::messages/addCompareSuccessMessage.phtml</item>
</item>
Expand Down
2 changes: 1 addition & 1 deletion app/code/Magento/CatalogGraphQl/etc/di.xml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
<plugin name="productAttributesDynamicFields" type="Magento\CatalogGraphQl\Plugin\Search\Request\ConfigReader" />
</type>

<preference type="\Magento\CatalogGraphQl\Model\Resolver\Product\Price\Provider" for="\Magento\CatalogGraphQl\Model\Resolver\Product\Price\ProviderInterface"/>
<preference type="Magento\CatalogGraphQl\Model\Resolver\Product\Price\Provider" for="Magento\CatalogGraphQl\Model\Resolver\Product\Price\ProviderInterface"/>

<preference type="Magento\CatalogGraphQl\Model\Resolver\Products\Query\Search" for="Magento\CatalogGraphQl\Model\Resolver\Products\Query\ProductQueryInterface"/>

Expand Down
2 changes: 1 addition & 1 deletion app/code/Magento/CatalogRule/etc/di.xml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
<virtualType name="catalogRuleSearchResult" type="Magento\Framework\View\Element\UiComponent\DataProvider\SearchResult">
<arguments>
<argument name="mainTable" xsi:type="string">catalogrule</argument>
<argument name="resourceModel" xsi:type="string">\Magento\CatalogRule\Model\ResourceModel\Rule</argument>
<argument name="resourceModel" xsi:type="string">Magento\CatalogRule\Model\ResourceModel\Rule</argument>
</arguments>
</virtualType>
<type name="Magento\CatalogRule\Model\Rule\Condition\Combine">
Expand Down
6 changes: 3 additions & 3 deletions app/code/Magento/CatalogSearch/etc/di.xml
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@
</type>
<type name="Magento\CatalogSearch\Model\Search\RequestGenerator\GeneratorResolver">
<arguments>
<argument name="defaultGenerator" xsi:type="object">\Magento\CatalogSearch\Model\Search\RequestGenerator\General</argument>
<argument name="defaultGenerator" xsi:type="object">Magento\CatalogSearch\Model\Search\RequestGenerator\General</argument>
<argument name="generators" xsi:type="array">
<item name="decimal" xsi:type="object">Magento\CatalogSearch\Model\Search\RequestGenerator\Decimal</item>
</argument>
Expand All @@ -189,8 +189,8 @@
<type name="Magento\CatalogSearch\Model\Adapter\Aggregation\RequestCheckerComposite">
<arguments>
<argument name="queryCheckers" xsi:type="array">
<item name="advanced_search_container" xsi:type="object">\Magento\CatalogSearch\Model\Adapter\Aggregation\Checker\Query\AdvancedSearch</item>
<item name="catalog_view_container" xsi:type="object">\Magento\CatalogSearch\Model\Adapter\Aggregation\Checker\Query\CatalogView</item>
<item name="advanced_search_container" xsi:type="object">Magento\CatalogSearch\Model\Adapter\Aggregation\Checker\Query\AdvancedSearch</item>
<item name="catalog_view_container" xsi:type="object">Magento\CatalogSearch\Model\Adapter\Aggregation\Checker\Query\CatalogView</item>
</argument>
</arguments>
</type>
Expand Down
2 changes: 1 addition & 1 deletion app/code/Magento/Checkout/etc/frontend/di.xml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
<arguments>
<argument name="configurationsMap" xsi:type="array">
<item name="addCartSuccessMessage" xsi:type="array">
<item name="renderer" xsi:type="const">\Magento\Framework\View\Element\Message\Renderer\BlockRenderer::CODE</item>
<item name="renderer" xsi:type="const">Magento\Framework\View\Element\Message\Renderer\BlockRenderer::CODE</item>
<item name="data" xsi:type="array">
<item name="template" xsi:type="string">Magento_Checkout::messages/addCartSuccessMessage.phtml</item>
</item>
Expand Down
2 changes: 1 addition & 1 deletion app/code/Magento/CheckoutAgreements/etc/di.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<type name="Magento\CheckoutAgreements\Model\AgreementsValidator">
<arguments>
<argument name="list" xsi:type="array">
<item name="checkoutagreements" xsi:type="object">\Magento\CheckoutAgreements\Model\AgreementsProvider</item>
<item name="checkoutagreements" xsi:type="object">Magento\CheckoutAgreements\Model\AgreementsProvider</item>
</argument>
</arguments>
</type>
Expand Down
2 changes: 1 addition & 1 deletion app/code/Magento/Cms/etc/adminhtml/di.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
</type>
<type name="Magento\Cms\Model\Wysiwyg\Gallery\DefaultConfigProvider">
<arguments>
<argument name="currentTreePath" xsi:type="const">\Magento\Cms\Model\Wysiwyg\Config::IMAGE_DIRECTORY</argument>
<argument name="currentTreePath" xsi:type="const">Magento\Cms\Model\Wysiwyg\Config::IMAGE_DIRECTORY</argument>
<argument name="windowSize" xsi:type="array">
<item name="height" xsi:type="number">600</item>
<item name="width" xsi:type="number">1000</item>
Expand Down
2 changes: 1 addition & 1 deletion app/code/Magento/ConfigurableProduct/etc/di.xml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
<type name="Magento\Sales\Model\ResourceModel\Report\Bestsellers">
<arguments>
<argument name="ignoredProductTypes" xsi:type="array">
<item name="configurable" xsi:type="const">\Magento\ConfigurableProduct\Model\Product\Type\Configurable::TYPE_CODE</item>
<item name="configurable" xsi:type="const">Magento\ConfigurableProduct\Model\Product\Type\Configurable::TYPE_CODE</item>
</argument>
</arguments>
</type>
Expand Down
2 changes: 1 addition & 1 deletion app/code/Magento/Customer/etc/di.xml
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@
<item name="/config/action/section" xsi:type="string">name</item>
</argument>
<argument name="fileName" xsi:type="string">sections.xml</argument>
<argument name="converter" xsi:type="object">\Magento\Customer\CustomerData\SectionConfigConverter</argument>
<argument name="converter" xsi:type="object">Magento\Customer\CustomerData\SectionConfigConverter</argument>
<argument name="schemaLocator" xsi:type="object">Magento\Customer\CustomerData\SchemaLocator</argument>
<argument name="defaultScope" xsi:type="string">frontend</argument>
</arguments>
Expand Down
8 changes: 4 additions & 4 deletions app/code/Magento/Customer/etc/frontend/di.xml
Original file line number Diff line number Diff line change
Expand Up @@ -81,13 +81,13 @@
<arguments>
<argument name="configurationsMap" xsi:type="array">
<item name="customerAlreadyExistsErrorMessage" xsi:type="array">
<item name="renderer" xsi:type="const">\Magento\Framework\View\Element\Message\Renderer\BlockRenderer::CODE</item>
<item name="renderer" xsi:type="const">Magento\Framework\View\Element\Message\Renderer\BlockRenderer::CODE</item>
<item name="data" xsi:type="array">
<item name="template" xsi:type="string">Magento_Customer::messages/customerAlreadyExistsErrorMessage.phtml</item>
</item>
</item>
<item name="confirmAccountSuccessMessage" xsi:type="array">
<item name="renderer" xsi:type="const">\Magento\Framework\View\Element\Message\Renderer\BlockRenderer::CODE</item>
<item name="renderer" xsi:type="const">Magento\Framework\View\Element\Message\Renderer\BlockRenderer::CODE</item>
<item name="data" xsi:type="array">
<item name="template" xsi:type="string">Magento_Customer::messages/confirmAccountSuccessMessage.phtml</item>
</item>
Expand All @@ -99,13 +99,13 @@
</item>
</item>
<item name="customerVatShippingAddressSuccessMessage" xsi:type="array">
<item name="renderer" xsi:type="const">\Magento\Framework\View\Element\Message\Renderer\BlockRenderer::CODE</item>
<item name="renderer" xsi:type="const">Magento\Framework\View\Element\Message\Renderer\BlockRenderer::CODE</item>
<item name="data" xsi:type="array">
<item name="template" xsi:type="string">Magento_Customer::messages/customerVatShippingAddressSuccessMessage.phtml</item>
</item>
</item>
<item name="customerVatBillingAddressSuccessMessage" xsi:type="array">
<item name="renderer" xsi:type="const">\Magento\Framework\View\Element\Message\Renderer\BlockRenderer::CODE</item>
<item name="renderer" xsi:type="const">Magento\Framework\View\Element\Message\Renderer\BlockRenderer::CODE</item>
<item name="data" xsi:type="array">
<item name="template" xsi:type="string">Magento_Customer::messages/customerVatBillingAddressSuccessMessage.phtml</item>
</item>
Expand Down
4 changes: 2 additions & 2 deletions app/code/Magento/Deploy/etc/di.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
<argument name="commands" xsi:type="array">
<item name="setModeCommand" xsi:type="object">Magento\Deploy\Console\Command\SetModeCommand</item>
<item name="showModeCommand" xsi:type="object">Magento\Deploy\Console\Command\ShowModeCommand</item>
<item name="dumpApplicationCommand" xsi:type="object">\Magento\Deploy\Console\Command\App\ApplicationDumpCommand</item>
<item name="sensitiveConfigSetCommand" xsi:type="object">\Magento\Deploy\Console\Command\App\SensitiveConfigSetCommand</item>
<item name="dumpApplicationCommand" xsi:type="object">Magento\Deploy\Console\Command\App\ApplicationDumpCommand</item>
<item name="sensitiveConfigSetCommand" xsi:type="object">Magento\Deploy\Console\Command\App\SensitiveConfigSetCommand</item>
<item name="configImportCommand" xsi:type="object">Magento\Deploy\Console\Command\App\ConfigImportCommand</item>
<item name="configStatusCommand" xsi:type="object">Magento\Deploy\Console\Command\App\ConfigStatusCommand</item>
</argument>
Expand Down
2 changes: 1 addition & 1 deletion app/code/Magento/Eav/etc/di.xml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
<arguments>
<argument name="providers" xsi:type="array">
<item name="default" xsi:type="array">
<item name="eav" xsi:type="string">\Magento\Eav\Model\AttributeProvider</item>
<item name="eav" xsi:type="string">Magento\Eav\Model\AttributeProvider</item>
</item>
</argument>
</arguments>
Expand Down
Loading