-
Notifications
You must be signed in to change notification settings - Fork 6
/
composer.json
85 lines (85 loc) · 2.54 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
{
"name": "shipmonk/dead-code-detector",
"description": "Dead code detector to find unused PHP code via PHPStan extension.",
"license": [
"MIT"
],
"type": "phpstan-extension",
"keywords": [
"phpstan",
"static analysis",
"unused code",
"dead code"
],
"require": {
"php": "^7.4 || ^8.0",
"phpstan/phpstan": "^2.0"
},
"require-dev": {
"doctrine/orm": "^2.19 || ^3.0",
"editorconfig-checker/editorconfig-checker": "^10.3.0",
"ergebnis/composer-normalize": "^2.28",
"nette/application": "^3.1",
"nette/component-model": "^3.0",
"nette/utils": "^3.0 || ^4.0",
"nikic/php-parser": "^5.3.1",
"phpstan/phpstan-phpunit": "^2.0.0",
"phpstan/phpstan-strict-rules": "^2.0.0",
"phpstan/phpstan-symfony": "^2.0.0",
"phpunit/phpunit": "^9.6.21",
"shipmonk/composer-dependency-analyser": "^1.6",
"shipmonk/name-collision-detector": "^2.0.0",
"shipmonk/phpstan-rules": "^4.0.0",
"slevomat/coding-standard": "^8.15.0",
"symfony/contracts": "^2.5 || ^3.0",
"symfony/event-dispatcher": "^5.4 || ^6.0 || ^7.0",
"symfony/http-kernel": "^5.4 || ^6.0 || ^7.0",
"symfony/routing": "^5.4 || ^6.0 || ^7.0"
},
"autoload": {
"psr-4": {
"ShipMonk\\PHPStan\\DeadCode\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"ShipMonk\\PHPStan\\DeadCode\\": "tests/"
},
"classmap": [
"tests/Rule/data"
]
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": false,
"ergebnis/composer-normalize": true
},
"sort-packages": true
},
"extra": {
"phpstan": {
"includes": [
"rules.neon"
]
}
},
"scripts": {
"check": [
"@check:composer",
"@check:ec",
"@check:cs",
"@check:types",
"@check:tests",
"@check:collisions",
"@check:dependencies"
],
"check:collisions": "detect-collisions src tests",
"check:composer": "composer normalize --dry-run --no-check-lock --no-update-lock",
"check:cs": "phpcs",
"check:dependencies": "composer-dependency-analyser",
"check:ec": "ec src tests",
"check:tests": "phpunit tests",
"check:types": "phpstan analyse -vv --ansi",
"fix:cs": "phpcbf"
}
}