mirror of
http://124.126.16.154:8888/singularity/composer-template.git
synced 2026-01-15 00:35:08 +08:00
build(composer): 更新配置
This commit is contained in:
0
Dockerfile
Normal file
0
Dockerfile
Normal file
24
composer.json
Normal file → Executable file
24
composer.json
Normal file → Executable file
@@ -14,9 +14,31 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
"php": "^8.0"
|
"php": "^8.0",
|
||||||
|
"composer/composer": "~2.0.14"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"phpunit/phpunit": "^9.5"
|
"phpunit/phpunit": "^9.5"
|
||||||
|
},
|
||||||
|
"minimum-stability": "dev",
|
||||||
|
"prefer-stable": true,
|
||||||
|
"config": {
|
||||||
|
"optimize-autoloader": true,
|
||||||
|
"sort-packages": true
|
||||||
|
},
|
||||||
|
"extra": [],
|
||||||
|
"scripts": {
|
||||||
|
"post-root-package-install": [
|
||||||
|
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
|
||||||
|
],
|
||||||
|
"test": "vendor/bin/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"
|
||||||
|
},
|
||||||
|
"repositories": {
|
||||||
|
"packagist": {
|
||||||
|
"type": "composer",
|
||||||
|
"url": "https://mirrors.aliyun.com/composer"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
0
composer.lock
generated
Normal file → Executable file
0
composer.lock
generated
Normal file → Executable file
0
scripts/container/git-config.sh
Normal file → Executable file
0
scripts/container/git-config.sh
Normal file → Executable file
0
scripts/container/list_dir.sh
Normal file → Executable file
0
scripts/container/list_dir.sh
Normal file → Executable file
0
scripts/container/ssh-key-permission.sh
Normal file → Executable file
0
scripts/container/ssh-key-permission.sh
Normal file → Executable file
0
scripts/unix/build-image.sh
Normal file → Executable file
0
scripts/unix/build-image.sh
Normal file → Executable file
0
scripts/unix/docker-env.sh
Normal file → Executable file
0
scripts/unix/docker-env.sh
Normal file → Executable file
0
scripts/win/build-images.bat
Normal file → Executable file
0
scripts/win/build-images.bat
Normal file → Executable file
0
scripts/win/docker-env.bat
Normal file → Executable file
0
scripts/win/docker-env.bat
Normal file → Executable file
0
scripts/win/prettier.bat
Normal file → Executable file
0
scripts/win/prettier.bat
Normal file → Executable file
0
scripts/win/readme.md
Normal file → Executable file
0
scripts/win/readme.md
Normal file → Executable file
16
tests/bootstrap.php
Normal file
16
tests/bootstrap.php
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
/**
|
||||||
|
* This file is part of Hyperf.
|
||||||
|
*
|
||||||
|
* @link https://www.hyperf.io
|
||||||
|
* @document https://hyperf.wiki
|
||||||
|
* @contact group@hyperf.io
|
||||||
|
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
||||||
|
*/
|
||||||
|
ini_set('display_errors', 'on');
|
||||||
|
ini_set('display_startup_errors', 'on');
|
||||||
|
|
||||||
|
error_reporting(E_ALL);
|
||||||
|
date_default_timezone_set('Asia/Shanghai');
|
||||||
Reference in New Issue
Block a user