-
Notifications
You must be signed in to change notification settings - Fork 12
/
composer.json
executable file
·54 lines (54 loc) · 1.87 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
{
"name": "ec-europa/qa-automation",
"description": "Extra php codesniffs for QualityAssurance.",
"type": "phpcodesniffer-standard",
"homepage": "https://github.com/ec-europa/qa-automation",
"minimum-stability": "beta",
"prefer-stable": true,
"support": {
"issues": "https://github.com/ec-europa/qa-automation/issues",
"source": "https://github.com/ec-europa/qa-automation"
},
"keywords": [
"phpcs",
"standards",
"code review"
],
"require": {
"php": ">=8.1",
"phpcompatibility/php-compatibility": "^9.1",
"squizlabs/php_codesniffer": "^3.6",
"drupal/coder": "^8.3",
"cweagans/composer-patches": "^1.7 || ^2.0",
"composer/xdebug-handler": "^3.0",
"phpmd/phpmd": "^2.12",
"symfony/yaml": "^5.0 || ^6.0 || ^7.0"
},
"require-dev": {
"phpunit/phpunit": "^9.0"
},
"autoload": {
"psr-0": {
"QualityAssurance\\": "phpcs/QualityAssurance/"
}
},
"extra": {
"composer-exit-on-patch-failure": true,
"enable-patching": true
},
"scripts": {
"toolkit-update-phpcs-config": "$(pwd)/vendor/bin/phpcs --config-set installed_paths '../../drupal/coder/coder_sniffer,../../phpcompatibility/php-compatibility,../../ec-europa/qa-automation/phpcs'",
"post-install-cmd": [
"./vendor/bin/phpcs --config-set installed_paths '../../drupal/coder/coder_sniffer,../../phpcompatibility/php-compatibility,phpcs'"
],
"post-update-cmd" : [
"./vendor/bin/phpcs --config-set installed_paths '../../drupal/coder/coder_sniffer,../../phpcompatibility/php-compatibility,phpcs'"
]
},
"config": {
"allow-plugins": {
"cweagans/composer-patches": true,
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}