Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/opencart/opencart
Browse files Browse the repository at this point in the history
  • Loading branch information
danielkerr committed Jan 4, 2024
2 parents 241592d + 8f73fef commit 32b2d20
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 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.41
composer require --dev phpstan/phpstan 1.10.50
./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.41.1
composer require --dev friendsofphp/php-cs-fixer v3.46.0
./system/storage/vendor/bin/php-cs-fixer fix --dry-run --diff --ansi || true
./system/storage/vendor/bin/php-cs-fixer fix --dry-run --format=checkstyle | cs2pr
4 changes: 2 additions & 2 deletions upload/admin/controller/marketplace/modification.php
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ public function refresh(): void {
if (is_file($file)) {
unlink($file);

// If directory use the remove directory function
// If directory use the remove directory function
} elseif (is_dir($file)) {
rmdir($file);
}
Expand Down Expand Up @@ -643,7 +643,7 @@ public function clear(): void {
if (is_file($file)) {
unlink($file);

// If directory use the remove directory function
// If directory use the remove directory function
} elseif (is_dir($file)) {
rmdir($file);
}
Expand Down
1 change: 0 additions & 1 deletion upload/catalog/language/en-gb/cms/comment.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,3 @@
$_['error_interval'] = 'Warning: you must wait %s minutes before making another comment!';
$_['error_login'] = 'You must login to comment on the article or rate it!';
$_['error_status'] = 'Comments are disabled!';

0 comments on commit 32b2d20

Please sign in to comment.