fix and refactor
Showing
... | ... | @@ -10,19 +10,19 @@ |
"description": "Quickly build a background management system for web applications", | ||
"license": "Apache-2.0", | ||
"require": { | ||
"xmo/mine": "dev-main", | ||
"xmo/mine-office": "dev-main", | ||
"xmo/mine-core": "1.3.*", | ||
"xmo/mine-office": "1.3.*", | ||
"xmo/jwt-auth": "0.6.*" | ||
}, | ||
"require-dev": { | ||
"friendsofphp/php-cs-fixer": "^3.9", | ||
"friendsofphp/php-cs-fixer": "^3.0", | ||
"hyperf/devtool": "3.0.*", | ||
"hyperf/ide-helper": "3.0.*", | ||
"hyperf/testing": "3.0.*", | ||
"hyperf/watcher": "3.0.*", | ||
"mockery/mockery": "^1.0", | ||
"phpstan/phpstan": "^0.12", | ||
"swoole/ide-helper": "^4.5" | ||
"phpstan/phpstan": "^1.0", | ||
"swoole/ide-helper": "^5.0" | ||
}, | ||
"suggest": { | ||
"ext-openssl": "Required to use HTTPS.", | ||
... | ... | @@ -62,20 +62,10 @@ |
], | ||
"test": "co-phpunit --prepend test/bootstrap.php -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 ./mine", | ||
"analyse": "phpstan analyse --memory-limit 300M -l 0 -c phpstan.neon ./app ./config ./vendor/xmo", | ||
"start": [ | ||
"Composer\\Config::disableProcessTimeout", | ||
"php ./bin/hyperf.php start" | ||
] | ||
}, | ||
"repositories": { | ||
"mine": { | ||
"type": "path", | ||
"url": "/opt/mine" | ||
}, | ||
"mine-office": { | ||
"type": "path", | ||
"url": "/opt/office" | ||
} | ||
} | ||
} |
此差异已折叠。
想要评论请 注册 或 登录