From aeb4ea10fb0e52a5e9288b173b7393a55f068dc5 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 7 Sep 2024 09:59:42 +0200 Subject: [PATCH] Update PHPStan packages (#834) * Update PHPStan packages * Fix phpstan issue --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Frank Dekker --- composer.lock | 50 ++++++++++++++++++++--------------------- src/Utility/UriUtil.php | 2 +- 2 files changed, 26 insertions(+), 26 deletions(-) diff --git a/composer.lock b/composer.lock index 39cf0d363..760a629da 100644 --- a/composer.lock +++ b/composer.lock @@ -11527,22 +11527,22 @@ }, { "name": "phpstan/extension-installer", - "version": "1.4.2", + "version": "1.4.3", "source": { "type": "git", "url": "https://github.com/phpstan/extension-installer.git", - "reference": "46c8219b3fb0deb3fc08301e8f0797d321d17dcd" + "reference": "85e90b3942d06b2326fba0403ec24fe912372936" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/extension-installer/zipball/46c8219b3fb0deb3fc08301e8f0797d321d17dcd", - "reference": "46c8219b3fb0deb3fc08301e8f0797d321d17dcd", + "url": "https://api.github.com/repos/phpstan/extension-installer/zipball/85e90b3942d06b2326fba0403ec24fe912372936", + "reference": "85e90b3942d06b2326fba0403ec24fe912372936", "shasum": "" }, "require": { "composer-plugin-api": "^2.0", "php": "^7.2 || ^8.0", - "phpstan/phpstan": "^1.9.0" + "phpstan/phpstan": "^1.9.0 || ^2.0" }, "require-dev": { "composer/composer": "^2.0", @@ -11569,22 +11569,22 @@ ], "support": { "issues": "https://github.com/phpstan/extension-installer/issues", - "source": "https://github.com/phpstan/extension-installer/tree/1.4.2" + "source": "https://github.com/phpstan/extension-installer/tree/1.4.3" }, - "time": "2024-08-26T07:38:00+00:00" + "time": "2024-09-04T20:21:43+00:00" }, { "name": "phpstan/phpstan", - "version": "1.11.11", + "version": "1.12.2", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan.git", - "reference": "707c2aed5d8d0075666e673a5e71440c1d01a5a3" + "reference": "0ca1c7bb55fca8fe6448f16fff0f311ccec960a1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/707c2aed5d8d0075666e673a5e71440c1d01a5a3", - "reference": "707c2aed5d8d0075666e673a5e71440c1d01a5a3", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/0ca1c7bb55fca8fe6448f16fff0f311ccec960a1", + "reference": "0ca1c7bb55fca8fe6448f16fff0f311ccec960a1", "shasum": "" }, "require": { @@ -11629,20 +11629,20 @@ "type": "github" } ], - "time": "2024-08-19T14:37:29+00:00" + "time": "2024-09-05T16:09:28+00:00" }, { "name": "phpstan/phpstan-doctrine", - "version": "1.5.2", + "version": "1.5.3", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan-doctrine.git", - "reference": "4d17bed8a33aa8220c1f2a21a6b14fcdb0e5b02c" + "reference": "38db3bad8f1567d7bf64806738d724261f8a2b5c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan-doctrine/zipball/4d17bed8a33aa8220c1f2a21a6b14fcdb0e5b02c", - "reference": "4d17bed8a33aa8220c1f2a21a6b14fcdb0e5b02c", + "url": "https://api.github.com/repos/phpstan/phpstan-doctrine/zipball/38db3bad8f1567d7bf64806738d724261f8a2b5c", + "reference": "38db3bad8f1567d7bf64806738d724261f8a2b5c", "shasum": "" }, "require": { @@ -11699,9 +11699,9 @@ "description": "Doctrine extensions for PHPStan", "support": { "issues": "https://github.com/phpstan/phpstan-doctrine/issues", - "source": "https://github.com/phpstan/phpstan-doctrine/tree/1.5.2" + "source": "https://github.com/phpstan/phpstan-doctrine/tree/1.5.3" }, - "time": "2024-08-23T11:07:15+00:00" + "time": "2024-09-01T13:17:34+00:00" }, { "name": "phpstan/phpstan-phpunit", @@ -11806,22 +11806,22 @@ }, { "name": "phpstan/phpstan-symfony", - "version": "1.4.8", + "version": "1.4.9", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan-symfony.git", - "reference": "14eec8c011b856eee4d744a2a3f709db1e1858bd" + "reference": "51ab2438fb2695467cf96b58d2f8f28d4dd1e3e9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan-symfony/zipball/14eec8c011b856eee4d744a2a3f709db1e1858bd", - "reference": "14eec8c011b856eee4d744a2a3f709db1e1858bd", + "url": "https://api.github.com/repos/phpstan/phpstan-symfony/zipball/51ab2438fb2695467cf96b58d2f8f28d4dd1e3e9", + "reference": "51ab2438fb2695467cf96b58d2f8f28d4dd1e3e9", "shasum": "" }, "require": { "ext-simplexml": "*", "php": "^7.2 || ^8.0", - "phpstan/phpstan": "^1.11.7" + "phpstan/phpstan": "^1.12" }, "conflict": { "symfony/framework-bundle": "<3.0" @@ -11872,9 +11872,9 @@ "description": "Symfony Framework extensions and rules for PHPStan", "support": { "issues": "https://github.com/phpstan/phpstan-symfony/issues", - "source": "https://github.com/phpstan/phpstan-symfony/tree/1.4.8" + "source": "https://github.com/phpstan/phpstan-symfony/tree/1.4.9" }, - "time": "2024-08-13T19:43:40+00:00" + "time": "2024-09-05T16:15:09+00:00" }, { "name": "phpunit/php-code-coverage", diff --git a/src/Utility/UriUtil.php b/src/Utility/UriUtil.php index 3ebb79d8a..fd314177d 100644 --- a/src/Utility/UriUtil.php +++ b/src/Utility/UriUtil.php @@ -21,7 +21,7 @@ public static function credentials(?UriInterface $uri): array return [null, null]; } - $username = isset($matches[1]) ? urldecode($matches[1]) : null; + $username = urldecode($matches[1]); $username = $username === '' ? null : $username; $password = isset($matches[2]) ? urldecode($matches[2]) : null;