-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Update Eckinox-CS to version 3
- Loading branch information
Showing
7 changed files
with
30 additions
and
17 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
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 |
---|---|---|
|
@@ -3,3 +3,4 @@ node_modules | |
.php-cs-fixer.cache | ||
.DS_Store | ||
composer.lock | ||
.twig-cs-fixer.cache |
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?php | ||
|
||
$ruleset = new TwigCsFixer\Ruleset\Ruleset(); | ||
$ruleset->addStandard(new TwigCsFixer\Standard\TwigCsFixer()); | ||
$ruleset->removeRule(TwigCsFixer\Rules\Whitespace\BlankEOFRule::class); | ||
|
||
$config = new TwigCsFixer\Config\Config(); | ||
$config->allowNonFixableRules(); | ||
$config->setRuleset($ruleset); | ||
|
||
return $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
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,14 +1,14 @@ | ||
{%- block eckinox_address_autocomplete_widget -%} | ||
<address-autocomplete class="{{ form.vars.errors|length ? 'is-invalid' : '' }}" data-api="{{ api }}" data-parent="{{ parent }}"> | ||
<input type="text" class="form-control {{ form.vars.errors|length ? 'is-invalid' : '' }}" {{ block('widget_attributes') }} {% if value is not empty %}value="{{ value }}" {% endif %}/> | ||
<div class="autocomplete-choices-wrapper"> | ||
<div class="autocomplete-choices list-group"></div> | ||
<div class="loading-overlay" style="display: none;"> | ||
<div class="spinner-border"> | ||
<span class="sr-only">Loading...</span> | ||
</div> | ||
</div> | ||
</div> | ||
</address-autocomplete> | ||
<script type="module" src="{{ asset("bundles/eckinoxaddress/js/widgets/address-autocomplete.js") }}"></script> | ||
<address-autocomplete class="{{ form.vars.errors|length ? 'is-invalid' : '' }}" data-api="{{ api }}" data-parent="{{ parent }}"> | ||
<input type="text" class="form-control {{ form.vars.errors|length ? 'is-invalid' : '' }}" {{ block('widget_attributes') }} {% if value is not empty %}value="{{ value }}" {% endif %}/> | ||
<div class="autocomplete-choices-wrapper"> | ||
<div class="autocomplete-choices list-group"></div> | ||
<div class="loading-overlay" style="display: none;"> | ||
<div class="spinner-border"> | ||
<span class="sr-only">Loading...</span> | ||
</div> | ||
</div> | ||
</div> | ||
</address-autocomplete> | ||
<script type="module" src="{{ asset("bundles/eckinoxaddress/js/widgets/address-autocomplete.js") }}"></script> | ||
{%- endblock eckinox_address_autocomplete_widget -%} |