Skip to content

Commit ec91358

Browse files
committed
更新格式化规则
1 parent f8bb64b commit ec91358

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

example/config/beans.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
declare(strict_types=1);
44

5-
$rootPath = dirname(__DIR__) . '/';
5+
$rootPath = \dirname(__DIR__) . '/';
66

77
return [
88
'hotUpdate' => [

example/config/config.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@
146146
[
147147
'class' => \Monolog\Handler\RotatingFileHandler::class,
148148
'construct' => [
149-
'filename' => dirname(__DIR__) . '/.runtime/logs/log.log',
149+
'filename' => \dirname(__DIR__) . '/.runtime/logs/log.log',
150150
],
151151
'formatter' => [
152152
'class' => \Monolog\Formatter\LineFormatter::class,

tests/bootstrap.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
declare(strict_types=1);
44

5-
require dirname(__DIR__, 4) . '/vendor/autoload.php';
6-
require dirname(__DIR__) . '/vendor/autoload.php';
5+
require \dirname(__DIR__, 4) . '/vendor/autoload.php';
6+
require \dirname(__DIR__) . '/vendor/autoload.php';
77

88
ini_set('date.timezone', date_default_timezone_get());

0 commit comments

Comments
 (0)