Skip to content

Commit

Permalink
更新格式化规则
Browse files Browse the repository at this point in the history
  • Loading branch information
Yurunsoft committed Oct 20, 2021
1 parent d13e5f9 commit ceb0bfa
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion example/config/beans.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

$rootPath = dirname(__DIR__) . '/';
$rootPath = \dirname(__DIR__) . '/';

return [
'hotUpdate' => [
Expand Down
2 changes: 1 addition & 1 deletion example/config/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@
[
'class' => \Monolog\Handler\RotatingFileHandler::class,
'construct' => [
'filename' => dirname(__DIR__) . '/.runtime/logs/log.log',
'filename' => \dirname(__DIR__) . '/.runtime/logs/log.log',
],
'formatter' => [
'class' => \Monolog\Formatter\LineFormatter::class,
Expand Down
6 changes: 3 additions & 3 deletions tests/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

use function Yurun\Swoole\Coroutine\batch;

require dirname(__DIR__, 4) . '/vendor/autoload.php';
require dirname(__DIR__) . '/vendor/autoload.php';
require \dirname(__DIR__, 4) . '/vendor/autoload.php';
require \dirname(__DIR__) . '/vendor/autoload.php';

/**
* @return bool
Expand All @@ -32,7 +32,7 @@ function checkHttpServerStatus()
*/
function startServer()
{
$dirname = dirname(__DIR__);
$dirname = \dirname(__DIR__);
$servers = [
'HttpServer' => [
'start' => $dirname . '/example/bin/start-server.sh',
Expand Down

0 comments on commit ceb0bfa

Please sign in to comment.