-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy pathcomposer.json
More file actions
85 lines (85 loc) · 2.51 KB
/
composer.json
File metadata and controls
85 lines (85 loc) · 2.51 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
{
"name": "shipmonk/phpstan-rules",
"description": "Various extra strict PHPStan rules we found useful in ShipMonk.",
"license": [
"MIT"
],
"type": "phpstan-extension",
"keywords": [
"phpstan",
"static analysis"
],
"require": {
"php": "^7.4 || ^8.0",
"phpstan/phpstan": "^2.1.32"
},
"require-dev": {
"editorconfig-checker/editorconfig-checker": "^10.6.0",
"ergebnis/composer-normalize": "^2.45.0",
"phpstan/phpstan-deprecation-rules": "^2.0.1",
"phpstan/phpstan-phpunit": "^2.0.4",
"phpstan/phpstan-strict-rules": "^2.0.3",
"phpunit/phpunit": "^9.6.33",
"shipmonk/coding-standard": "^0.2.0",
"shipmonk/composer-dependency-analyser": "^1.8.1",
"shipmonk/coverage-guard": "^1.0.0",
"shipmonk/dead-code-detector": "^0.9.0",
"shipmonk/name-collision-detector": "^2.1.1",
"shipmonk/phpstan-dev": "^0.1.5"
},
"autoload": {
"psr-4": {
"ShipMonk\\PHPStan\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"ShipMonk\\PHPStan\\": "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:dependencies",
"@check:collisions",
"@check:ignores"
],
"check:collisions": "detect-collisions src tests",
"check:composer": [
"composer normalize --dry-run --no-check-lock --no-update-lock",
"composer validate --strict"
],
"check:coverage": [
"XDEBUG_MODE=coverage phpunit tests --coverage-clover cache/clover.xml",
"coverage-guard check cache/clover.xml"
],
"check:cs": "phpcs",
"check:dependencies": "composer-dependency-analyser",
"check:ec": "ec src tests",
"check:ignores": "php bin/verify-inline-ignore.php",
"check:tests": "phpunit tests",
"check:types": "phpstan analyse -vv --ansi",
"fix:cs": "phpcbf"
}
}