Skip to content

Commit

Permalink
Merge pull request PrestaShop#30472 from FabienPapet/bump-composer-de…
Browse files Browse the repository at this point in the history
…pendencies
  • Loading branch information
FabienPapet authored Dec 15, 2022
2 parents d06522b + bac1eab commit f62cafb
Show file tree
Hide file tree
Showing 15 changed files with 167 additions and 178 deletions.
2 changes: 1 addition & 1 deletion classes/controller/FrontController.php
Original file line number Diff line number Diff line change
Expand Up @@ -1841,7 +1841,7 @@ protected function updateQueryString(array $extraParams = null)

if (null !== $extraParams) {
foreach ($params as $key => $param) {
if (null === $param || '' === $param) {
if ('' === $param) {
unset($params[$key]);
}
}
Expand Down
3 changes: 2 additions & 1 deletion classes/webservice/SQLUtils.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ public static function getSQLRetrieveFilter($sqlId, $filterValue, $tableAlias =
unset($matches3[0]);
if (count($matches3) > 0) {
sort($matches3);
$ret .= ' AND ' . $tableAlias . '`' . bqSQL($sqlId) . '` BETWEEN "' . pSQL($matches3[0]) . '" AND "' . pSQL($matches3[1]) . "\"\n";
[$first, $last] = array_values($matches3); // reset-keys
$ret .= ' AND ' . $tableAlias . '`' . bqSQL($sqlId) . '` BETWEEN "' . pSQL($first) . '" AND "' . pSQL($last) . "\"\n";
}
} else {
$ret .= ' AND ' . $tableAlias . '`' . bqSQL($sqlId) . '`="' . pSQL($matches[2]) . '"' . "\n";
Expand Down
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,14 @@
"friendsofsymfony/jsrouting-bundle": "^2.4",
"geoip2/geoip2": "~2.4.2",
"greenlion/php-sql-parser": "^4.3",
"guzzlehttp/guzzle": "^7.4",
"guzzlehttp/guzzle": "^7.5",
"incenteev/composer-parameter-handler": "~2.0",
"ircmaxell/password-compat": "^1.0.4",
"ircmaxell/random-lib": "^1.2.0",
"jakeasmith/http_build_url": "^1",
"lcobucci/jwt": "dev-3.4.6-patch as 3.4.6",
"league/oauth2-server": "^8.3",
"league/tactician-bundle": "^1.0",
"league/tactician-bundle": "^1.4",
"martinlindhe/php-mb-helpers": "^0.1.6",
"matthiasmullie/minify": "~1.3.0",
"mobiledetect/mobiledetectlib": "~2.8.34",
Expand All @@ -57,7 +57,7 @@
"nyholm/psr7": "^1.5",
"pear/archive_tar": "^1.4.12",
"pelago/emogrifier": "^v5.0.1",
"phpoffice/phpspreadsheet": "~1.5",
"phpoffice/phpspreadsheet": "^1.19",
"prestashop/blockreassurance": "^5.1",
"prestashop/blockwishlist": "^2.0",
"prestashop/circuit-breaker": "^4.0",
Expand Down Expand Up @@ -138,7 +138,7 @@
"symfony/property-access": "^4",
"symfony/psr-http-message-bridge": "^2.1",
"symfony/swiftmailer-bundle": "^3.1",
"symfony/symfony": "^4.4",
"symfony/symfony": "^4.4.49",
"tecnickcom/tcpdf": "^6.2.12",
"tijsverkoyen/css-to-inline-styles": "^2.2",
"twig/twig": "^3.0"
Expand All @@ -150,7 +150,7 @@
"johnkary/phpunit-speedtrap": "^3",
"mikey179/vfsstream": "^1.6",
"phpstan/extension-installer": "^1.2",
"phpstan/phpstan": "^1",
"phpstan/phpstan": "^1.9.3",
"phpunit/phpunit": "~8.5.16 || ~9.5.10",
"spaze/phpstan-disallowed-calls": "^2.10",
"symfony/phpunit-bridge": "^3.4"
Expand Down
Loading

0 comments on commit f62cafb

Please sign in to comment.