Add ignore for PHPStan 2.1.55+ (#8864)

This commit is contained in:
Alexandre Alapetite
2026-05-19 22:07:52 +02:00
committed by GitHub
parent c3fa374f25
commit b7c58e590e
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -1014,7 +1014,7 @@ class FreshRSS_Entry extends Minz_Model {
continue;
}
$html .= $doc->saveHTML($node) . "\n";
} catch (Error $e) {
} catch (Error $e) { // @phpstan-ignore catch.neverThrown
if (!str_contains($e->getMessage(), 'Node no longer exists')) {
throw $e;
}
Generated
+4 -4
View File
@@ -245,11 +245,11 @@
},
{
"name": "phpstan/phpstan",
"version": "2.1.54",
"version": "2.1.55",
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/phpstan/phpstan/zipball/8be50c3992107dc837b17da4d140fbbdf9a5c5bd",
"reference": "8be50c3992107dc837b17da4d140fbbdf9a5c5bd",
"url": "https://api.github.com/repos/phpstan/phpstan/zipball/9eaac3826ed5e9b8427350a43cac825eeca3f566",
"reference": "9eaac3826ed5e9b8427350a43cac825eeca3f566",
"shasum": ""
},
"require": {
@@ -294,7 +294,7 @@
"type": "github"
}
],
"time": "2026-04-29T13:31:09+00:00"
"time": "2026-05-18T11:57:34+00:00"
},
{
"name": "phpstan/phpstan-deprecation-rules",