-
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathcomposer.json
More file actions
89 lines (89 loc) · 2.68 KB
/
composer.json
File metadata and controls
89 lines (89 loc) · 2.68 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
{
"name": "cambis/silverstan",
"description": "PHPStan extensions and rules for Silverstripe CMS.",
"license": "MIT",
"type": "phpstan-extension",
"keywords": [
"silverstripe",
"phpstan",
"static analysis"
],
"authors": [
{
"name": "Cameron Bryers"
}
],
"homepage": "https://github.com/Cambis/silverstan",
"require": {
"php": "^8.3",
"ext-tokenizer": "*",
"composer/class-map-generator": "^1.5",
"phpstan/phpstan": "^2.1.28",
"silverstripe/config": "^1.4 || ^2.0 || ^3.0"
},
"require-dev": {
"ergebnis/composer-normalize": "^2.41",
"php-parallel-lint/php-parallel-lint": "^1.3",
"phpstan/extension-installer": "^1.4",
"phpstan/phpstan-deprecation-rules": "^2.0",
"phpstan/phpstan-phpunit": "^2.0",
"phpstan/phpstan-strict-rules": "^2.0",
"phpunit/phpunit": "^9.6",
"rector/rector": "^2.3",
"shipmonk/composer-dependency-analyser": "^1.7",
"silverstripe/assets": "^2.3",
"silverstripe/cms": "^5.2",
"silverstripe/framework": "^5.2",
"slevomat/coding-standard": "^8.14",
"symplify/easy-coding-standard": "^13.0",
"symplify/phpstan-rules": "^14.0",
"tomasvotruba/unused-public": "^2.0"
},
"minimum-stability": "dev",
"prefer-stable": true,
"autoload": {
"psr-4": {
"Cambis\\Silverstan\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Cambis\\Silverstan\\Tests\\": "tests/"
}
},
"config": {
"allow-plugins": {
"composer/installers": true,
"dealerdirect/phpcodesniffer-composer-installer": true,
"ergebnis/composer-normalize": true,
"phpstan/extension-installer": true,
"silverstripe/vendor-plugin": true
},
"sort-packages": true
},
"extra": {
"phpstan": {
"includes": [
"extension.neon"
]
},
"phpstan/extension-installer": {
"ignore": [
"symplify/phpstan-rules"
]
}
},
"scripts": {
"docs": "vendor/bin/rule-doc-generator generate src/Rule --output-file docs/rules_overview.md --ansi",
"lint": [
"vendor/bin/parallel-lint src tests --colors --blame",
"vendor/bin/rector process --dry-run --ansi",
"vendor/bin/ecs check --ansi",
"vendor/bin/phpstan analyse --ansi --memory-limit=-1"
],
"lint:fix": [
"vendor/bin/rector process --ansi",
"vendor/bin/ecs check --fix"
]
}
}