mirror of
https://github.com/danog/telerpc.git
synced 2024-11-26 20:14:48 +01:00
Apply fixes from StyleCI
This commit is contained in:
parent
dc9a9d80f6
commit
e6c2cc6f62
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user