-
Notifications
You must be signed in to change notification settings - Fork 8
/
composer.json
69 lines (69 loc) · 1.89 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
{
"name": "bmitch/codor",
"description": "Custom PHPCS sniffs to find Code Smells.",
"license": "MIT",
"authors": [
{
"name": "Bill Mitchell",
"email": "[email protected]"
}
],
"require": {
"php": ">=7.1.3",
"squizlabs/php_codesniffer": "^3.2.3"
},
"require-dev": {
"bamarni/composer-bin-plugin": "^1.4",
"slevomat/coding-standard": "^6.4",
"symfony/phpunit-bridge": "^5.1"
},
"autoload": {
"psr-4": {
"Codor\\": "src/Codor/"
}
},
"autoload-dev": {
"psr-4": {
"Codor\\Tests\\": "tests"
},
"classmap": [
"vendor/squizlabs/php_codesniffer"
]
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"bamarni/composer-bin-plugin": true
},
"sort-packages": true
},
"scripts": {
"post-install-cmd": [
"@composer bin all install --ansi"
],
"post-update-cmd": [
"@composer bin all update --ansi"
],
"bin": "echo 'bin not installed'",
"fix": [
"phpcbf -n --standard=phpcs.xml src/",
"phpcbf --standard=codor.xml src -spn",
"phpcbf --standard=psr2 src -sp"
],
"test": [
"@composer validate --strict",
"parallel-lint src tests",
"phpcs --standard=psr2 src -spn",
"phpcs --standard=codor.xml src -spn",
"simple-phpunit --debug --coverage-clover=coverage.xml",
"phpmd src text codesize,unusedcode,naming",
"phploc src",
"phpcpd src",
"churn run -p -vvv"
]
},
"scripts-descriptions": {
"fix": "Corrects some code violations.",
"test": "Runs the whole test suite."
}
}