We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6480dab commit ab56b4dCopy full SHA for ab56b4d
view/adminhtml/templates/catalog/category/edit/merchandising.phtml
@@ -1,6 +1,8 @@
1
<?php
2
3
/** @var \Algolia\AlgoliaSearch\Block\Adminhtml\Category\Merchandising $block */
4
+/** @var \Magento\Framework\Escaper $escaper */
5
+/** TODO:Reevaluate PHPCS ignores and enables/disables */
6
7
$configHelper = $block->getConfigHelper();
8
@@ -193,7 +195,7 @@ $isConfig = [
193
195
<script>
194
196
requirejs(['algoliaAdminBundle'], function (algoliaAdminBundle) {
197
algoliaAdminBundle.$(function ($) {
- var config = <?php echo json_encode($isConfig); ?>;
198
+ var config = <?= /** phpcs:ignore Magento2.Security.XssTemplate.FoundUnescaped */json_encode($isConfig); ?>;
199
200
var search = algoliaAdminBundle.instantsearch(config);
201
0 commit comments