Skip to content

Commit cb39d0f

Browse files
authored
Merge pull request #42 from daydaygo/dayday_pr
feat: update hyperf 2.0
2 parents 516de20 + e238e84 commit cb39d0f

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

.env.example

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
APP_NAME=skeleton
2+
APP_ENV=dev
23

34
DB_DRIVER=mysql
45
DB_HOST=localhost

composer.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@
2727
"hyperf/redis": "~2.0.0"
2828
},
2929
"require-dev": {
30-
"swoole/ide-helper": "^4.4",
31-
"phpmd/phpmd": "^2.6",
30+
"swoole/ide-helper": "^4.5",
3231
"friendsofphp/php-cs-fixer": "^2.14",
3332
"mockery/mockery": "^1.0",
3433
"doctrine/common": "^2.9",
@@ -72,7 +71,6 @@
7271
"test": "co-phpunit -c phpunit.xml --colors=always",
7372
"cs-fix": "php-cs-fixer fix $1",
7473
"analyse": "phpstan analyse --memory-limit 300M -l 0 -c phpstan.neon ./app ./config",
75-
"start": "php ./bin/hyperf.php start",
76-
"init-proxy": "init-proxy.sh"
74+
"start": "php ./bin/hyperf.php start"
7775
}
7876
}

config/autoload/logger.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
'class' => Monolog\Formatter\LineFormatter::class,
2323
'constructor' => [
2424
'format' => null,
25-
'dateFormat' => null,
25+
'dateFormat' => 'Y-m-d H:i:s',
2626
'allowInlineLineBreaks' => true,
2727
],
2828
],

0 commit comments

Comments
 (0)