-
Notifications
You must be signed in to change notification settings - Fork 21
/
composer.json
145 lines (145 loc) · 4.62 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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
{
"name": "acquia/orca",
"description": "A tool for testing a company's software packages together in the context of a realistic, functioning, best practices Drupal build",
"license": "GPL-2.0-or-later",
"keywords": [
"ci",
"cli",
"console",
"drupal",
"testing"
],
"authors": [
{
"name": "Acquia Engineering",
"homepage": "https://www.acquia.com",
"role": "Maintainer"
},
{
"name": "Travis Carden",
"role": "Creator & Maintainer"
}
],
"support": {
"issues": "https://github.com/acquia/orca/issues",
"source": "https://github.com/acquia/orca"
},
"require": {
"php": "^8.1",
"ext-dom": "*",
"ext-json": "*",
"ext-sqlite3": "*",
"acquia/coding-standards": "^3.0.1",
"composer/composer": "^2.5.5",
"cweagans/composer-patches": "^1.7.3",
"dealerdirect/phpcodesniffer-composer-installer": "^1.0.0",
"ergebnis/composer-normalize": "^2.30.2",
"hassankhan/config": "^3.1",
"mglaman/drupal-check": "^1.4",
"myclabs/php-enum": "^1.8.4",
"oscarotero/env": "^2.1",
"php-parallel-lint/php-console-highlighter": "^1.0",
"php-parallel-lint/php-parallel-lint": "^1.3.2",
"phpmd/phpmd": "^2.13",
"symfony/config": "^6.2.7",
"symfony/console": "^5.4.22",
"symfony/dependency-injection": "^6.0.20",
"symfony/event-dispatcher": "^6.3",
"symfony/expression-language": "^6.3.0",
"symfony/filesystem": "^6.4.0",
"symfony/finder": "^6.2.7",
"symfony/http-client": "^6.2.10",
"symfony/options-resolver": "^6.3.0",
"symfony/phpunit-bridge": "^7.0.1",
"symfony/process": "^6.4.2",
"symfony/yaml": "^6.3.0",
"weitzman/drupal-test-traits": "^2.1"
},
"require-dev": {
"brainmaestro/composer-git-hooks": "^2.8.5",
"phpspec/prophecy-phpunit": "^2.0.2",
"phpstan/phpstan": "^1.10.14",
"phpunit/php-code-coverage": "^10",
"phpunit/php-file-iterator": "^4.0",
"phpunit/phpunit": "^10"
},
"conflict": {
"symfony/symfony": "*"
},
"minimum-stability": "dev",
"prefer-stable": true,
"autoload": {
"psr-4": {
"Acquia\\Orca\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Acquia\\Orca\\Tests\\": "tests/"
}
},
"config": {
"allow-plugins": {
"cweagans/composer-patches": true,
"dealerdirect/phpcodesniffer-composer-installer": true,
"ergebnis/composer-normalize": true
},
"discard-changes": true,
"preferred-install": {
"*": "dist"
},
"sort-packages": true
},
"extra": {
"branch-alias": {
"dev-develop": "4.x-dev"
},
"hooks": {
"post-install-cmd": "vendor/bin/cghooks add --ignore-lock",
"post-update-cmd": "vendor/bin/cghooks update",
"pre-commit": [
"set -e",
"vendor/bin/parallel-lint --exclude vendor --no-progress .",
"vendor/bin/phpcs --cache=var/cache/phpcs.json"
],
"pre-push": "vendor/bin/phpcs"
},
"patches": {
"phploc/phploc": [
"https://patch-diff.githubusercontent.com/raw/sebastianbergmann/phploc/pull/227.patch"
]
},
"phpcodesniffer-search-depth": 4
},
"scripts": {
"post-install-cmd": [
"php -r \"copy('https://phar.phpunit.de/phploc.phar', 'vendor/bin/phploc');\"",
"chmod u+x vendor/bin/phploc"
],
"post-update-cmd": [
"@composer normalize"
],
"all": [
"@phplint",
"@phpcs",
"@phpstan",
"@phpunit"
],
"cghooks": "cghooks --ansi",
"coverage": "phpunit --coverage-html var/coverage-report; open var/coverage-report/index.html",
"open-coverage": "open var/coverage-report/index.html",
"phpcbf": "phpcbf",
"phpcs": "phpcs -s --cache=var/cache/phpcs.json",
"phplint": "parallel-lint --exclude vendor --ignore-fails .",
"phpmd": "phpmd . text phpmd.xml.dist --ignore-violations-on-exit",
"phpstan": "vendor/bin/phpstan analyse src",
"phpunit": "phpunit",
"stan": [
"@phplint",
"@phpcs",
"@phpstan"
],
"test": "phpunit",
"update-docs": "./bin/orca --format=md > docs/commands.md"
}
}