-
Notifications
You must be signed in to change notification settings - Fork 6
/
composer.json
90 lines (90 loc) · 2.85 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
{
"name": "spaceemotion/php-coding-standard",
"description": "Combines multiple code quality tools into one binary with unified output.",
"license": "ISC",
"type": "library",
"keywords": [
"phpcs",
"linting",
"phpstan",
"phpmd",
"analysis",
"code quality"
],
"authors": [
{
"name": "spaceemotion",
"email": "[email protected]"
}
],
"homepage": "https://github.com/spaceemotion/php-coding-standard",
"require": {
"php": ">=7.1",
"ext-SimpleXML": "*",
"ext-json": "*",
"composer/xdebug-handler": "^1.0 || ^2.0 || ^3.0",
"symfony/console": "^3 || ^4 || ^5.2 || ^6 || ^7",
"symfony/process": "^4.1 || ^5.2 || ^6 || ^7"
},
"require-dev": {
"brainmaestro/composer-git-hooks": "^2.8",
"ergebnis/composer-normalize": "^2.4",
"phan/phan": "^3.0 || ^4.0 || ^5.0",
"php-parallel-lint/php-parallel-lint": "^1.2",
"phpmd/phpmd": "^2.8",
"phpstan/phpstan": "^1",
"phpstan/phpstan-deprecation-rules": "^1.1",
"phpstan/phpstan-strict-rules": "^1.5",
"phpunit/phpunit": "^9.5 || ^10 || ^11",
"psalm/plugin-phpunit": "^0.15.0",
"qossmic/deptrac-shim": "^0.19.0 || ^1",
"rector/rector": "^0.12",
"squizlabs/php_codesniffer": "^3.5",
"symplify/easy-coding-standard": "^10",
"vimeo/psalm": "^4.3 || ^5"
},
"suggest": {
"ergebnis/composer-normalize": "Normalizes composer.json files",
"phan/phan": "Static analysis (needs php-ast extension)",
"php-parallel-lint/php-parallel-lint": "Quickly lints the whole codebase for PHP errors",
"phpmd/phpmd": "Code mess detection",
"phpstan/phpstan": "Static analysis",
"psalm/phar": "Static analysis (.phar)",
"squizlabs/php_codesniffer": "Code style linter + fixer",
"symplify/easy-coding-standard": "Code style linter + fixer",
"symplify/easy-coding-standard-prefixed": "Code style linter + fixer (.phar)",
"vimeo/psalm": "Static analysis"
},
"minimum-stability": "dev",
"prefer-stable": true,
"autoload": {
"psr-4": {
"Spaceemotion\\PhpCodingStandard\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests/"
}
},
"bin": [
"bin/phpcstd"
],
"config": {
"allow-plugins": {
"ergebnis/composer-normalize": true
},
"sort-packages": true
},
"extra": {
"hooks": {
"pre-commit": [
"bin/phpcstd --fix --hide-source --skip=phan --lint-staged --no-interaction"
]
}
},
"scripts": {
"post-install-cmd": "cghooks add --ignore-lock",
"post-update-cmd": "cghooks update"
}
}