Skip to content

Commit

Permalink
Tools-Update (#5766)
Browse files Browse the repository at this point in the history
  • Loading branch information
gharlan committed Jul 31, 2023
1 parent 1c7d337 commit 417cd63
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"ext-mbstring": "*"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "v3.20.0",
"friendsofphp/php-cs-fixer": "v3.22.0",
"friendsofredaxo/linter": "1.4.0",
"jetbrains/phpstorm-attributes": "^1.0",
"phpstan/extension-installer": "1.3.1",
Expand All @@ -22,7 +22,7 @@
"phpunit/phpunit": "^10.0.7",
"psalm/plugin-phpunit": "0.18.4",
"psalm/plugin-symfony": "v5.0.3",
"rector/rector": "0.17.2",
"rector/rector": "0.17.7",
"redaxo/php-cs-fixer-config": "2.2.0",
"redaxo/psalm-plugin": "2.0.0",
"vimeo/psalm": "5.14.0"
Expand Down
2 changes: 1 addition & 1 deletion redaxo/src/addons/mediapool/pages/media.list.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
'filename' => $fileName,
'category_id' => $rexFileCategory,
]));
} catch (rex_sql_exception $e) {
} catch (rex_sql_exception) {
$error = rex_i18n::msg('pool_selectedmedia_error');
}
}
Expand Down
2 changes: 1 addition & 1 deletion redaxo/src/addons/structure/lib/navigation.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class rex_navigation
/** @var array<int, string> */
private array $linkclasses = [];
/** @var list<array{metafield: string, value: int|string, type: string, depth: int|''}> */
private array$filter = [];
private array $filter = [];
/**
* @var list<array{
* callback: callable(rex_category, int, array<int|string, int|string|list<string>>,array<int|string, int|string|list<string>>, string):bool,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
$action->insert();
$success = rex_i18n::msg('action_taken');
$goon = '1';
} catch (rex_sql_exception $e) {
} catch (rex_sql_exception) {
$error = $action->getError();
}
} elseif ('delete' == $functionAction) {
Expand Down
4 changes: 2 additions & 2 deletions redaxo/src/core/pages/setup.php
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@
}
try {
rex::setProperty($key, $config[$key]);
} catch (InvalidArgumentException $e) {
} catch (InvalidArgumentException) {
$errorArray[] = rex_view::error(rex_i18n::msg($key . '_invalid'));
}
}
Expand Down Expand Up @@ -313,7 +313,7 @@
$user->setValue('status', '1');
try {
$user->insert();
} catch (rex_sql_exception $e) {
} catch (rex_sql_exception) {
$errors[] = rex_view::error(rex_i18n::msg('setup_504'));
}
}
Expand Down

0 comments on commit 417cd63

Please sign in to comment.