mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-03-30 12:12:42 -04:00
PHPStan 1.11 + minor update dev dependencies (#6459)
* PHPStan 1.11 + minor update dev dependencies https://github.com/phpstan/phpstan/releases/tag/1.11.0 * Comment style
This commit is contained in:
committed by
GitHub
parent
f958eaef2f
commit
2d17c020b6
@@ -41,7 +41,7 @@ if (!function_exists('syslog')) {
|
||||
define('STDERR', fopen('php://stderr', 'w'));
|
||||
}
|
||||
function syslog(int $priority, string $message): bool {
|
||||
// @phpstan-ignore-next-line
|
||||
// @phpstan-ignore booleanAnd.rightAlwaysTrue
|
||||
if (COPY_SYSLOG_TO_STDERR && defined('STDERR') && STDERR) {
|
||||
return fwrite(STDERR, $message . "\n") != false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user