-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
83 lines (83 loc) · 2.28 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
{
"name": "syde/phpcs",
"description": "Syde PHP coding standards for WordPress projects.",
"license": "GPL-2.0-or-later",
"type": "phpcodesniffer-standard",
"keywords": [
"phpcs",
"coding standards",
"static analysis",
"WordPress",
"Inpsyde",
"Syde"
],
"authors": [
{
"name": "Syde GmbH",
"email": "[email protected]",
"homepage": "https://syde.com",
"role": "Company"
}
],
"require": {
"php": ">=8.1",
"automattic/vipwpcs": "^3.0",
"dealerdirect/phpcodesniffer-composer-installer": "^1.0",
"phpcompatibility/php-compatibility": "dev-develop",
"phpcsstandards/phpcsextra": "^1.2",
"phpcsstandards/phpcsutils": "^1.0",
"sirbrillig/phpcs-variable-analysis": "^2.11",
"slevomat/coding-standard": "^8.15",
"squizlabs/php_codesniffer": "^3.11",
"wp-coding-standards/wpcs": "^3.1"
},
"require-dev": {
"phpstan/phpstan": "^2.0",
"phpunit/phpunit": "^10.5"
},
"minimum-stability": "stable",
"autoload": {
"psr-4": {
"SydeCS\\Syde\\Helpers\\": "Syde/Helpers/"
}
},
"autoload-dev": {
"psr-4": {
"SydeCS\\Syde\\Tests\\": [
"tests/e2e/",
"tests/src/",
"tests/unit/"
]
}
},
"config": {
"allow-plugins": {
"composer/*": true,
"dealerdirect/phpcodesniffer-composer-installer": true
},
"sort-packages": true
},
"scripts": {
"coverage": [
"Composer\\Config::disableProcessTimeout",
"@php ./vendor/bin/phpunit -d max_execution_time=0"
],
"cs": [
"Composer\\Config::disableProcessTimeout",
"@php ./vendor/bin/phpcs"
],
"qa": [
"@cs",
"@static-analysis",
"@tests"
],
"static-analysis": [
"Composer\\Config::disableProcessTimeout",
"@php ./vendor/bin/phpstan analyse --memory-limit=1G"
],
"tests": [
"Composer\\Config::disableProcessTimeout",
"@php ./vendor/bin/phpunit --no-coverage"
]
}
}