Skip to content

Commit

Permalink
Redo changes
Browse files Browse the repository at this point in the history
  • Loading branch information
condor2 committed May 29, 2024
1 parent 9ef0d91 commit 46ba7d2
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/Lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,12 @@ jobs:

- name: PHPStan
run: |
composer require --dev phpstan/phpstan 1.10.67
composer require --dev phpstan/phpstan 1.11
./upload/system/storage/vendor/bin/phpstan analyze --no-progress
- name: Code style
if: matrix.php == '8.3'
run: |
composer require --dev friendsofphp/php-cs-fixer v3.54.0
composer require --dev friendsofphp/php-cs-fixer v3.58.0
./upload/system/storage/vendor/bin/php-cs-fixer fix --dry-run --diff --ansi || true
./upload/system/storage/vendor/bin/php-cs-fixer fix --dry-run --format=checkstyle | cs2pr
2 changes: 1 addition & 1 deletion .php-cs-fixer.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/*
* This document has been generated with
* https://mlocati.github.io/php-cs-fixer-configurator/#version:3.52.1|configurator
* https://mlocati.github.io/php-cs-fixer-configurator/#version:3.58.0|configurator
* you can change this configuration by importing this file.
*/
$config = new PhpCsFixer\Config();
Expand Down
4 changes: 0 additions & 4 deletions upload/admin/model/extension/currency/ecb.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,6 @@ public function refresh() {

$default = $this->config->get('config_currency');

if (!$default) {
return false;
}

$results = $this->model_localisation_currency->getCurrencies();

foreach ($results as $result) {
Expand Down
4 changes: 0 additions & 4 deletions upload/catalog/model/extension/currency/ecb.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,6 @@ public function refresh() {

$default = $this->config->get('config_currency');

if (!$default) {
return false;
}

$results = $this->model_localisation_currency->getCurrencies();

foreach ($results as $result) {
Expand Down

0 comments on commit 46ba7d2

Please sign in to comment.