phpunit checks and fixes

This commit is contained in:
Clemens Schwaighofer
2023-05-31 16:14:40 +09:00
parent 75c4c98de8
commit 30bb0e8895
3 changed files with 18 additions and 9 deletions

View File

@@ -19,10 +19,10 @@ final class CoreLibsLoggingLoggingTest extends TestCase
{
private const LOG_FOLDER = __DIR__ . DIRECTORY_SEPARATOR . 'log' . DIRECTORY_SEPARATOR;
private const REGEX_BASE = "\[[\d\-\s\.:]+\]\s{1}" // date
. "\[[\w\.]+:\w+\]\s{1}" // host:port
. "\[[\w+\.\/]+\]\s{1}" // folder/file
. "\[[\w\.]+(:\d+)?\]\s{1}" // host:port
. "\[[\w+\.\/]+:\d+\]\s{1}" // folder/file
. "\[\w+\]\s{1}" // run id
. "{[\w\\\\]+}\s{1}"; // class
. "{[\w\\\\]+(::\w+)?}\s{1}"; // class
/**
* test set for options BASIC