mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-06 00:05:42 +08:00
Do some code quality check and fix #126
This commit is contained in:
@@ -39,11 +39,11 @@ const BUILD_STATUS_ALREADY = 1;
|
||||
const BUILD_STATUS_FAILED = 2;
|
||||
|
||||
// build target type
|
||||
const BUILD_TARGET_NONE = 0;
|
||||
const BUILD_TARGET_CLI = 1;
|
||||
const BUILD_TARGET_MICRO = 2;
|
||||
const BUILD_TARGET_FPM = 4;
|
||||
const BUILD_TARGET_ALL = 7;
|
||||
const BUILD_TARGET_NONE = 0; // no target
|
||||
const BUILD_TARGET_CLI = 1; // build cli
|
||||
const BUILD_TARGET_MICRO = 2; // build micro
|
||||
const BUILD_TARGET_FPM = 4; // build fpm
|
||||
const BUILD_TARGET_ALL = 7; // build all
|
||||
|
||||
// doctor error fix policy
|
||||
const FIX_POLICY_DIE = 1; // die directly
|
||||
@@ -57,9 +57,4 @@ const PKGCONF_PATCH_LIBDIR = 4;
|
||||
const PKGCONF_PATCH_INCLUDEDIR = 8;
|
||||
const PKGCONF_PATCH_ALL = 15;
|
||||
|
||||
// Custom download type
|
||||
const DOWNLOAD_TYPE_NONE = 0;
|
||||
const DOWNLOAD_TYPE_ARCHIVE = 1;
|
||||
const DOWNLOAD_TYPE_DIR = 2;
|
||||
|
||||
ConsoleLogger::$date_format = 'H:i:s';
|
||||
|
||||
Reference in New Issue
Block a user