Skip to content

A free, self-hostable news aggregator…

Add ignore for PHPStan 2.1.55+ (#8864)

Alexandre Alapetiteb7c58e590e85
diff --git a/app/Models/Entry.php b/app/Models/Entry.php
index 647861ad5..bce9fc00b 100644
--- a/app/Models/Entry.php
+++ b/app/Models/Entry.php
@@ -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;
}
diff --git a/composer.lock b/composer.lock
index 5d9623fe9..0e2507470 100644
--- a/composer.lock
+++ b/composer.lock
@@ -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",