-
Notifications
You must be signed in to change notification settings - Fork 10
/
composer.json
86 lines (86 loc) · 2.52 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
{
"name": "shipmonk/composer-dependency-analyser",
"description": "Fast detection of composer dependency issues (dead dependencies, shadow dependencies, misplaced dependencies)",
"license": [
"MIT"
],
"keywords": [
"dev",
"static analysis",
"composer",
"detector",
"analyser",
"composer dependency",
"unused dependency",
"dead dependency",
"shadow dependency",
"misplaced dependency",
"dead code",
"unused code"
],
"require": {
"php": "^7.2 || ^8.0",
"ext-json": "*",
"ext-tokenizer": "*"
},
"require-dev": {
"ext-dom": "*",
"ext-libxml": "*",
"editorconfig-checker/editorconfig-checker": "^10.6.0",
"ergebnis/composer-normalize": "^2.19.0",
"phpcompatibility/php-compatibility": "^9.3.5",
"phpstan/phpstan": "^1.12.3",
"phpstan/phpstan-phpunit": "^1.4.0",
"phpstan/phpstan-strict-rules": "^1.6.0",
"phpunit/phpunit": "^8.5.39 || ^9.6.20",
"shipmonk/name-collision-detector": "^2.1.1",
"slevomat/coding-standard": "^8.15.0"
},
"autoload": {
"psr-4": {
"ShipMonk\\ComposerDependencyAnalyser\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"ShipMonk\\ComposerDependencyAnalyser\\": "tests/"
},
"classmap": [
"tests/data/autoloaded/"
]
},
"bin": [
"bin/composer-dependency-analyser"
],
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": false,
"ergebnis/composer-normalize": true
},
"sort-packages": true
},
"scripts": {
"check": [
"@check:composer",
"@check:ec",
"@check:cs",
"@check:types",
"@check:tests",
"@check:self",
"@check:collisions",
"@check:scripts"
],
"check:collisions": "detect-collisions src tests",
"check:composer": [
"composer normalize --dry-run --no-check-lock --no-update-lock",
"composer validate --strict"
],
"check:cs": "phpcs",
"check:ec": "ec src tests",
"check:scripts": "phpstan analyse -vv --ansi --level=6 scripts/*.php",
"check:self": "bin/composer-dependency-analyser",
"check:tests": "phpunit -vvv tests",
"check:types": "phpstan analyse -vv --ansi",
"fix:cs": "phpcbf"
}
}