1
0
mirror of https://github.com/danog/telerpc.git synced 2024-11-26 12:04:47 +01:00

Apply fixes from StyleCI

This commit is contained in:
StyleCI Bot 2022-02-23 12:52:41 +00:00
parent dc9a9d80f6
commit e6c2cc6f62
No known key found for this signature in database
GPG Key ID: EEAFB12C3E6BC249

View File

@ -33,6 +33,7 @@ final class Main
$error = \preg_replace('/_X(["_])?/', '_%d\1', $error);
$error = \preg_replace('/_\d+(["_])?/', '_%d\1', $error);
$error = preg_replace('/_X$/', '_%d', $error);
return preg_replace('/_\d+$/', '_%d', $error);
}
@ -222,7 +223,7 @@ final class Main
{
if (PHP_SAPI === 'cli') {
$this->cli();
die;
exit;
}
\ini_set('log_errors', 1);