-
Notifications
You must be signed in to change notification settings - Fork 12
/
composer.json
94 lines (94 loc) · 2.4 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
{
"name": "ondram/ci-detector",
"description": "Detect continuous integration environment and provide unified access to properties of current build",
"license": "MIT",
"type": "library",
"keywords": [
"continuous integration",
"ci-info",
"adapter",
"interface",
"appveyor",
"aws",
"aws codebuild",
"azure",
"azure devops",
"azure pipelines",
"bamboo",
"bitbucket",
"buddy",
"circleci",
"codeship",
"codebuild",
"continuousphp",
"devops",
"drone",
"github",
"gitlab",
"jenkins",
"pipelines",
"sourcehut",
"teamcity",
"travis",
"wercker"
],
"authors": [
{
"name": "Ondřej Machulda",
"email": "[email protected]"
}
],
"require": {
"php": "^7.4 || ^8.0"
},
"require-dev": {
"ergebnis/composer-normalize": "^2.13.2",
"lmc/coding-standard": "^3.0.0",
"php-parallel-lint/php-parallel-lint": "^1.2",
"phpstan/extension-installer": "^1.1.0",
"phpstan/phpstan": "^1.2.0",
"phpstan/phpstan-phpunit": "^1.0.0",
"phpunit/phpunit": "^9.6.13"
},
"autoload": {
"psr-4": {
"OndraM\\CiDetector\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"OndraM\\CiDetector\\Ci\\": "tests/"
}
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"ergebnis/composer-normalize": true,
"phpstan/extension-installer": true
},
"sort-packages": true
},
"scripts": {
"all": [
"@lint",
"@analyze",
"@test"
],
"analyze": [
"vendor/bin/ecs check ./src/ ./tests/ ecs.php --ansi",
"vendor/bin/phpstan analyze -c phpstan.neon --ansi"
],
"fix": [
"@composer normalize",
"vendor/bin/ecs check ./src/ ./tests/ ecs.php --ansi --fix"
],
"lint": [
"vendor/bin/parallel-lint -j 10 -e php ./src ./tests ecs.php dump-current.php",
"@composer validate",
"@composer normalize --dry-run"
],
"test": [
"vendor/bin/phpunit --colors=always"
]
}
}