-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
64 lines (64 loc) · 1.88 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
{
"name": "endereco/endereco-shopware5-client",
"autoload": {
"psr-4": {
"Endereco\\EnderecoShopware5Client\\": "src/"
}
},
"authors": [
{
"name": "Ilja Weber",
"email": "[email protected]"
}
],
"require": {
"php": "^7.4 || ^8.0"
},
"require-dev": {
"squizlabs/php_codesniffer": "3.7.2",
"brainmaestro/composer-git-hooks": "^2.8",
"phpstan/phpstan": "^1.10",
"phpmd/phpmd": "^2.10"
},
"extra": {
"hooks": {
"pre-commit": [
"composer qa"
]
}
},
"scripts": {
"qa": [
"@phpcs",
"@phpmd",
"@phpstan",
"@phpcompat"
],
"phpcbf": "phpcbf --standard=PSR12 --ignore=vendor/*,shops/*,node_modules/* ./**/*.php",
"phpcs": "phpcs --standard=PSR12 --ignore=vendor/*,shops/*,node_modules/* ./**/*.php",
"phpstan": [
"phpstan analyse -c phpstan.5.3.0.neon",
"phpstan analyse -c phpstan.5.3.7.neon",
"phpstan analyse -c phpstan.5.4.6.neon",
"phpstan analyse -c phpstan.5.5.10.neon",
"phpstan analyse -c phpstan.5.6.10.neon",
"phpstan analyse -c phpstan.5.7.19.neon"
],
"phpmd": "./check_phpmd.sh",
"phpcompat": "bash test_php_versions.sh",
"post-install-cmd": [
"chmod +x test_php_versions.sh",
"chmod +x fetch-shops.sh",
"chmod +x build-shopware5-client.sh",
"chmod +x check_phpmd.sh",
"cghooks add --ignore-lock"
],
"post-update-cmd": [
"chmod +x test_php_versions.sh",
"chmod +x fetch-shops.sh",
"chmod +x build-shopware5-client.sh",
"chmod +x check_phpmd.sh",
"cghooks update"
]
}
}