Skip to content

A free, self-hostable news aggregator…

chore(deps-dev): bump phpstan/phpstan from 2.1.55 to 2.2.1 (#8906)

dependabot[bot]f04788cb3a70
diff --git a/composer.json b/composer.json
index 15069779c..219fb2dc3 100644
--- a/composer.json
+++ b/composer.json
@@ -57,7 +57,7 @@
"ext-phar": "*",
"ext-tokenizer": "*",
"ext-xmlwriter": "*",
- "phpstan/phpstan": "^2.1",
+ "phpstan/phpstan": "^2.2",
"phpstan/phpstan-deprecation-rules": "^2.0",
"phpstan/phpstan-phpunit": "^2.0",
"phpstan/phpstan-strict-rules": "^2.0",
diff --git a/composer.lock b/composer.lock
index 0e2507470..ed6d08943 100644
--- a/composer.lock
+++ b/composer.lock
@@ -245,11 +245,11 @@
},
{
"name": "phpstan/phpstan",
- "version": "2.1.55",
+ "version": "2.2.1",
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/phpstan/phpstan/zipball/9eaac3826ed5e9b8427350a43cac825eeca3f566",
- "reference": "9eaac3826ed5e9b8427350a43cac825eeca3f566",
+ "url": "https://api.github.com/repos/phpstan/phpstan/zipball/dea9c8f2d25cc849391042b71e429c1a4bf82660",
+ "reference": "dea9c8f2d25cc849391042b71e429c1a4bf82660",
"shasum": ""
},
"require": {
@@ -272,6 +272,17 @@
"license": [
"MIT"
],
+ "authors": [
+ {
+ "name": "Ondřej Mirtes"
+ },
+ {
+ "name": "Markus Staab"
+ },
+ {
+ "name": "Vincent Langlet"
+ }
+ ],
"description": "PHPStan - PHP Static Analysis Tool",
"keywords": [
"dev",
@@ -294,7 +305,7 @@
"type": "github"
}
],
- "time": "2026-05-18T11:57:34+00:00"
+ "time": "2026-05-28T14:44:12+00:00"
},
{
"name": "phpstan/phpstan-deprecation-rules",
@@ -2003,5 +2014,5 @@
"platform-overrides": {
"php": "8.1"
},
- "plugin-api-version": "2.6.0"
+ "plugin-api-version": "2.9.0"
}
diff --git a/lib/Minz/Url.php b/lib/Minz/Url.php
index f849ec6b6..38ca0ddaa 100644
--- a/lib/Minz/Url.php
+++ b/lib/Minz/Url.php
@@ -140,7 +140,7 @@ class Minz_Url {
/** @return array{c?:string,a?:string,params?:array<string,mixed>} */
public static function unserialize(string $url = ''): array {
- $result = json_decode(base64_decode($url, true) ?: '', true, JSON_THROW_ON_ERROR) ?? [];
+ $result = json_decode(base64_decode($url, true) ?: '', associative: true, flags: JSON_THROW_ON_ERROR) ?? [];
/** @var array{c?:string,a?:string,params?:array<string,mixed>} $result */
return $result;
}