-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathcomposer.json
More file actions
110 lines (110 loc) · 3.78 KB
/
composer.json
File metadata and controls
110 lines (110 loc) · 3.78 KB
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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
{
"name": "shipmonk/dead-code-detector",
"description": "Dead code detector to find unused PHP code via PHPStan extension. Can automatically remove dead PHP code. Supports libraries like Symfony, Doctrine, PHPUnit etc. Detects dead cycles. Can detect dead code that is tested.",
"license": [
"MIT"
],
"type": "phpstan-extension",
"keywords": [
"phpstan",
"static analysis",
"unused code",
"dead code"
],
"require": {
"php": "^8.1",
"phpstan/phpstan": "^2.1.41"
},
"require-dev": {
"composer-runtime-api": "^2.0",
"behat/behat": "^3.14",
"composer/semver": "^3.4",
"doctrine/orm": "^2.19 || ^3.0",
"editorconfig-checker/editorconfig-checker": "^10.7.0",
"ergebnis/composer-normalize": "^2.48.1",
"laravel/framework": "^10.0 || ^11.0 || ^12.0",
"nette/application": "^3.1",
"nette/component-model": "^3.0",
"nette/tester": "^2.4",
"nette/utils": "^3.0 || ^4.0",
"nikic/php-parser": "^5.4.0",
"phpbench/phpbench": "^1.2",
"phpstan/phpstan-phpunit": "^2.0.16",
"phpstan/phpstan-strict-rules": "^2.0.10",
"phpstan/phpstan-symfony": "^2.0.15",
"phpunit/phpcov": "^9.0.2",
"phpunit/phpunit": "^10.5.46",
"shipmonk/coding-standard": "^0.2.2",
"shipmonk/composer-dependency-analyser": "^1.8.4",
"shipmonk/coverage-guard": "^1.0.2",
"shipmonk/name-collision-detector": "^2.1.1",
"shipmonk/phpstan-dev": "^0.1.6",
"shipmonk/phpstan-rules": "^4.3.6",
"symfony/contracts": "^2.5 || ^3.0 || ^4.0",
"symfony/dependency-injection": "^5.4 || ^6.0 || ^7.0 || ^8.0",
"symfony/doctrine-bridge": "^5.4 || ^6.0 || ^7.0 || ^8.0",
"symfony/event-dispatcher": "^5.4 || ^6.0 || ^7.0 || ^8.0",
"symfony/form": "^5.4 || ^6.0 || ^7.0 || ^8.0",
"symfony/framework-bundle": "^5.4 || ^6.0 || ^7.0 || ^8.0",
"symfony/http-kernel": "^5.4 || ^6.0 || ^7.0 || ^8.0",
"symfony/routing": "^5.4 || ^6.0 || ^7.0 || ^8.0",
"symfony/scheduler": "^6.3 || ^7.0 || ^8.0",
"symfony/ux-live-component": "^2.34",
"symfony/ux-twig-component": "^2.34",
"symfony/validator": "^5.4 || ^6.0 || ^7.0 || ^8.0",
"twig/twig": "^3.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:coverage",
"@check:collisions",
"@check:dependencies"
],
"check:collisions": "detect-collisions src tests",
"check:composer": [
"composer normalize --dry-run --no-update-lock",
"composer validate --strict"
],
"check:coverage": [
"XDEBUG_MODE=coverage phpunit tests --coverage-clover cache/clover.xml",
"coverage-guard check cache/clover.xml --color"
],
"check:cs": "phpcs",
"check:dependencies": "composer-dependency-analyser",
"check:ec": "ec src tests",
"check:tests": "phpunit",
"check:types": "phpstan analyse -vv --ansi",
"fix:cs": "phpcbf"
}
}