-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
75 lines (75 loc) · 2.18 KB
/
composer.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
{
"name": "re2bit/yii2-secrets",
"description": "Secrets storage and extractor for Yii2",
"type": "yii2-extension",
"license": "MIT",
"minimum-stability": "dev",
"autoload": {
"psr-4": {
"Re2bit\\Yii2Secrets\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Re2bit\\Yii2Secrets\\Tests\\": "tests/"
}
},
"authors": [
{
"name": "René Gerritsen",
"email": "rene.gerritsen@me.com"
}
],
"require": {
"php": "^7|^8",
"re2bit/secrets": "1.0.0-alpha.1.1"
},
"require-dev": {
"phpunit/phpunit": "^6|^7|^8",
"symfony/dotenv":"*",
"symfony/filesystem":"*",
"yiisoft/yii2": "2.0.49.3"
},
"repositories": [
{
"type": "composer",
"url": "https://asset-packagist.org"
},
{
"type": "vcs",
"url": "https://github.com/re2bit/secrets"
}
],
"config": {
"allow-plugins": {
"yiisoft/yii2-composer": true
}
},
"scripts": {
"install-captainhook": [
"tools/captainhook install -c=captainhook.json"
],
"cs": [
"tools/php-cs-fixer --config=.php-cs-fixer.dist.php check --verbose"
],
"fixcs": [
"tools/php-cs-fixer --config=.php-cs-fixer.dist.php fix --verbose"
],
"stan": [
"tools/phpstan analyse --level 8 -c phpstan.neon -n --memory-limit 2G ."
],
"stan-b": [
"tools/phpstan analyse --level 8 -b tools/baseline.neon -c phpstan.neon -n --memory-limit 2G ."
],
"test": [
"phpunit",
"tools/phpstan analyse --level 8 -c phpstan.neon -n --memory-limit 2G .",
"tools/php-cs-fixer --config=.php-cs-fixer.dist.php fix --verbose --dry-run"
],
"test-ci": [
"phpunit --log-junit=phpunit-result.xml",
"tools/phpstan analyse --level 8 -c phpstan.neon -n --memory-limit 2G --error-format=gitlab . >> phpstan.json",
"tools/php-cs-fixer --config=.php-cs-fixer.dist.php fix --verbose --dry-run"
]
}
}