-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
composer.json
82 lines (82 loc) · 2.49 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
{
"name": "ramsey/coding-standard",
"description": "A common coding standard for Ramsey's PHP libraries.",
"license": "MIT",
"type": "phpcodesniffer-standard",
"keywords": [
"development",
"phpcs",
"standards",
"tools"
],
"authors": [
{
"name": "Ben Ramsey",
"email": "ben@benramsey.com",
"homepage": "https://benramsey.com"
}
],
"homepage": "https://github.com/ramsey/coding-standard",
"support": {
"issues": "https://github.com/ramsey/coding-standard/issues",
"security": "https://github.com/ramsey/coding-standard/security/policy"
},
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/ramsey"
}
],
"require": {
"php": "^8.1",
"dealerdirect/phpcodesniffer-composer-installer": "^1.0",
"phpcsstandards/phpcsextra": "^1.0",
"slevomat/coding-standard": "^8.8",
"squizlabs/php_codesniffer": "^3.7"
},
"require-dev": {
"ext-dom": "*",
"captainhook/plugin-composer": "^5.3",
"ergebnis/composer-normalize": "^2.30",
"phpunit/phpunit": "^10.0",
"ramsey/conventional-commits": "^1.3",
"sebastian/diff": "^5.0",
"spatie/phpunit-snapshot-assertions": "^5.0"
},
"autoload-dev": {
"psr-4": {
"Ramsey\\Test\\CodingStandard\\": "tests/"
}
},
"config": {
"allow-plugins": {
"captainhook/plugin-composer": true,
"ergebnis/composer-normalize": true,
"dealerdirect/phpcodesniffer-composer-installer": true
},
"sort-packages": true
},
"extra": {
"captainhook": {
"force-install": true
},
"ramsey/conventional-commits": {
"configFile": "conventional-commits.json"
}
},
"scripts": {
"lint": "@php resources/xmllint",
"lint:fix": "@php resources/xmllint-fix",
"test": [
"@lint",
"@test:standards"
],
"test:standards": "phpunit"
},
"scripts-descriptions": {
"lint": "Checks the XML rule set file for schema violations.",
"lint:fix": "Checks the XML rule set file for schema violations and fixes them, if possible.",
"test": "Shortcut to run the full test suite.",
"test:standards": "Functional tests to ensure the rule set doesn't deviate from the assumed standards."
}
}