Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
APP_NAME=skeleton
APP_ENV=dev

DB_DRIVER=mysql
DB_HOST=localhost
Expand Down
6 changes: 2 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@
"hyperf/redis": "~2.0.0"
},
"require-dev": {
"swoole/ide-helper": "^4.4",
"phpmd/phpmd": "^2.6",
"swoole/ide-helper": "^4.5",
"friendsofphp/php-cs-fixer": "^2.14",
"mockery/mockery": "^1.0",
"doctrine/common": "^2.9",
Expand Down Expand Up @@ -72,7 +71,6 @@
"test": "co-phpunit -c phpunit.xml --colors=always",
"cs-fix": "php-cs-fixer fix $1",
"analyse": "phpstan analyse --memory-limit 300M -l 0 -c phpstan.neon ./app ./config",
"start": "php ./bin/hyperf.php start",
"init-proxy": "init-proxy.sh"
"start": "php ./bin/hyperf.php start"
}
}
2 changes: 1 addition & 1 deletion config/autoload/logger.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
'class' => Monolog\Formatter\LineFormatter::class,
'constructor' => [
'format' => null,
'dateFormat' => null,
'dateFormat' => 'Y-m-d H:i:s',
'allowInlineLineBreaks' => true,
],
],
Expand Down