Add PHPStan configuration for Symfony4 tests
- Created a new phpstan.neon file in the Symfony4 tests directory. - Configured paths and excluded Symfony3 directory. - Added bootstrap files for autoloading. - Set dynamic constant names and adjusted reporting settings. - Established PHPStan level to 6 for stricter analysis.
This commit is contained in:
@@ -5,13 +5,32 @@
|
||||
<div class="modal fade" id="empik-product-price-modal-{$id_product}" tabindex="-1" role="dialog" aria-hidden="true">
|
||||
<div class="modal-dialog" role="document">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header row">
|
||||
<div class="col-xs-11">
|
||||
<h3 class="modal-title text-left" style="margin: 0">{l s='Attributes' mod='empikmarketplace'}</h3>
|
||||
</div>
|
||||
<div class="col-xs-1">
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||
<span class="icon-close"></span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
{foreach $combinations as $combinationsId => $combination}
|
||||
<table class="table">
|
||||
<tr>
|
||||
<td class="text-left" style="width: 50%">{$combination.attributes_list}</td>
|
||||
<td class="text-left">
|
||||
<input type="text" class="js-empik-price-input" data-product-id="{$id_product}" data-product-attribute-id="{$combinationsId}" data-action="savePrice" value="{$combination.offer_price}">
|
||||
<div class="input-group">
|
||||
<input type="text" class="js-empik-price-input form-control"
|
||||
data-product-id="{$id_product}"
|
||||
data-product-attribute-id="{$combinationsId}"
|
||||
data-action="savePrice"
|
||||
value="{$combination.offer_price}">
|
||||
<span class="input-group-addon">
|
||||
{$currencySign}
|
||||
</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -22,6 +41,15 @@
|
||||
</div>
|
||||
{else}
|
||||
<div class="empik-edit-price-wrapper">
|
||||
<input type="text" class="js-empik-price-input" data-product-id="{$id_product}" data-product-attribute-id="0" data-action="savePrice" value="{$value}">
|
||||
<div class="input-group">
|
||||
<input type="text" class="js-empik-price-input form-control"
|
||||
data-product-id="{$id_product}"
|
||||
data-product-attribute-id="0"
|
||||
data-action="savePrice"
|
||||
value="{$value}">
|
||||
<span class="input-group-addon">
|
||||
{$currencySign}
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
@@ -5,13 +5,34 @@
|
||||
<div class="modal fade" id="empik-product-price-reduced-modal-{$id_product}" tabindex="-1" role="dialog" aria-hidden="true">
|
||||
<div class="modal-dialog" role="document">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header row">
|
||||
<div class="col-xs-11">
|
||||
<h3 class="modal-title text-left" style="margin: 0">{l s='Attributes' mod='empikmarketplace'}</h3>
|
||||
</div>
|
||||
<div class="col-xs-1">
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||
<span class="icon-close"></span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
{foreach $combinations as $combinationsId => $combination}
|
||||
<table class="table">
|
||||
<tr>
|
||||
<td class="text-left" style="width: 50%">{$combination.attributes_list}</td>
|
||||
<td class="text-left">
|
||||
<input type="text" class="js-empik-price-input" data-product-id="{$id_product}" data-product-attribute-id="{$combinationsId}" data-action="saveReducedPrice" value="{$combination.offer_price_reduced}">
|
||||
|
||||
<div class="input-group">
|
||||
<input type="text" class="js-empik-price-input form-control"
|
||||
data-product-id="{$id_product}"
|
||||
data-product-attribute-id="{$combinationsId}"
|
||||
data-action="saveReducedPrice"
|
||||
value="{$combination.offer_price_reduced}"
|
||||
>
|
||||
<span class="input-group-addon">
|
||||
{$currencySign}
|
||||
</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -22,6 +43,15 @@
|
||||
</div>
|
||||
{else}
|
||||
<div class="empik-edit-price-wrapper">
|
||||
<input type="text" class="js-empik-price-input" data-product-id="{$id_product}" data-product-attribute-id="0" data-action="saveReducedPrice" value="{$value}">
|
||||
<div class="input-group">
|
||||
<input type="text" class="js-empik-price-input form-control"
|
||||
data-product-id="{$id_product}"
|
||||
data-product-attribute-id="0"
|
||||
data-action="saveReducedPrice"
|
||||
value="{$value}">
|
||||
<span class="input-group-addon">
|
||||
{$currencySign}
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
Reference in New Issue
Block a user