1
0
Fork 0

Update phpstan

pull/12349/head
Jordi Boggiano 2025-03-24 10:36:38 +01:00
parent 71e8395ebd
commit 9165f5fe72
No known key found for this signature in database
2 changed files with 19 additions and 17 deletions

34
composer.lock generated
View File

@ -8,16 +8,16 @@
"packages": [
{
"name": "composer/ca-bundle",
"version": "1.5.5",
"version": "1.5.6",
"source": {
"type": "git",
"url": "https://github.com/composer/ca-bundle.git",
"reference": "08c50d5ec4c6ced7d0271d2862dec8c1033283e6"
"reference": "f65c239c970e7f072f067ab78646e9f0b2935175"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/composer/ca-bundle/zipball/08c50d5ec4c6ced7d0271d2862dec8c1033283e6",
"reference": "08c50d5ec4c6ced7d0271d2862dec8c1033283e6",
"url": "https://api.github.com/repos/composer/ca-bundle/zipball/f65c239c970e7f072f067ab78646e9f0b2935175",
"reference": "f65c239c970e7f072f067ab78646e9f0b2935175",
"shasum": ""
},
"require": {
@ -64,7 +64,7 @@
"support": {
"irc": "irc://irc.freenode.org/composer",
"issues": "https://github.com/composer/ca-bundle/issues",
"source": "https://github.com/composer/ca-bundle/tree/1.5.5"
"source": "https://github.com/composer/ca-bundle/tree/1.5.6"
},
"funding": [
{
@ -80,7 +80,7 @@
"type": "tidelift"
}
],
"time": "2025-01-08T16:17:16+00:00"
"time": "2025-03-06T14:30:56+00:00"
},
{
"name": "composer/class-map-generator",
@ -2020,16 +2020,16 @@
"packages-dev": [
{
"name": "phpstan/phpstan",
"version": "1.12.19",
"version": "1.12.23",
"source": {
"type": "git",
"url": "https://github.com/phpstan/phpstan.git",
"reference": "c42ba9bab7a940ed00092ecb1c77bad98896d789"
"reference": "29201e7a743a6ab36f91394eab51889a82631428"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/phpstan/phpstan/zipball/c42ba9bab7a940ed00092ecb1c77bad98896d789",
"reference": "c42ba9bab7a940ed00092ecb1c77bad98896d789",
"url": "https://api.github.com/repos/phpstan/phpstan/zipball/29201e7a743a6ab36f91394eab51889a82631428",
"reference": "29201e7a743a6ab36f91394eab51889a82631428",
"shasum": ""
},
"require": {
@ -2074,7 +2074,7 @@
"type": "github"
}
],
"time": "2025-02-19T15:42:21+00:00"
"time": "2025-03-23T14:57:32+00:00"
},
{
"name": "phpstan/phpstan-deprecation-rules",
@ -2226,16 +2226,16 @@
},
{
"name": "phpstan/phpstan-symfony",
"version": "1.4.13",
"version": "1.4.14",
"source": {
"type": "git",
"url": "https://github.com/phpstan/phpstan-symfony.git",
"reference": "dd1aaa7f85f9916222a2ce7e4d21072fe03958f4"
"reference": "08b97ab6621a57d6bbb8add1a358c5bf25cd98df"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/phpstan/phpstan-symfony/zipball/dd1aaa7f85f9916222a2ce7e4d21072fe03958f4",
"reference": "dd1aaa7f85f9916222a2ce7e4d21072fe03958f4",
"url": "https://api.github.com/repos/phpstan/phpstan-symfony/zipball/08b97ab6621a57d6bbb8add1a358c5bf25cd98df",
"reference": "08b97ab6621a57d6bbb8add1a358c5bf25cd98df",
"shasum": ""
},
"require": {
@ -2292,9 +2292,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.13"
"source": "https://github.com/phpstan/phpstan-symfony/tree/1.4.14"
},
"time": "2025-01-04T13:55:31+00:00"
"time": "2025-03-19T12:40:08+00:00"
},
{
"name": "symfony/phpunit-bridge",

View File

@ -129,6 +129,7 @@ class Problem
return implode('-', $rule->getLiterals());
}
// @phpstan-ignore deadCode.unreachable
throw new \LogicException('Unknown rule type: '.$rule->getReason());
}
@ -149,6 +150,7 @@ class Problem
return 0;
}
// @phpstan-ignore deadCode.unreachable
throw new \LogicException('Unknown rule type: '.$rule->getReason());
}