aboutsummaryrefslogtreecommitdiff
path: root/lib/lib_rss.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2023-05-04 19:47:54 +0200
committerGravatar GitHub <noreply@github.com> 2023-05-04 19:47:54 +0200
commit30c69ef147059f440d304e7da5e0236d95e424fd (patch)
tree3aeec77db07a4fe23a3721e85dbe5175f98bc2b9 /lib/lib_rss.php
parent675c56f5799ed92a6aa3a8ad3d3d8d6636f444ec (diff)
Use PHPStan dynamicConstantNames (#5370)
https://phpstan.org/config-reference#constants Avoid a few phpstan-ignore-next-line
Diffstat (limited to 'lib/lib_rss.php')
-rw-r--r--lib/lib_rss.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/lib_rss.php b/lib/lib_rss.php
index a7e03d4ea..e7cb7386a 100644
--- a/lib/lib_rss.php
+++ b/lib/lib_rss.php
@@ -17,7 +17,6 @@ if (!function_exists('str_starts_with')) {
}
if (!function_exists('syslog')) {
- // @phpstan-ignore-next-line
if (COPY_SYSLOG_TO_STDERR && !defined('STDERR')) {
define('STDERR', fopen('php://stderr', 'w'));
}
@@ -31,7 +30,6 @@ if (!function_exists('syslog')) {
}
if (function_exists('openlog')) {
- // @phpstan-ignore-next-line
if (COPY_SYSLOG_TO_STDERR) {
openlog('FreshRSS', LOG_CONS | LOG_ODELAY | LOG_PID | LOG_PERROR, LOG_USER);
} else {