generated from ghostwriter/wip
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
114 lines (114 loc) · 3.98 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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
{
"name": "ghostwriter/psalm-plugin",
"description": "Provides a plugin for Psalm",
"license": "BSD-3-Clause",
"type": "psalm-plugin",
"keywords": [
"ghostwriter",
"psalm",
"psalm-plugin",
"static analysis",
"dev"
],
"authors": [
{
"name": "Nathanael Esayeas",
"email": "nathanael.esayeas@protonmail.com",
"homepage": "https://github.com/ghostwriter",
"role": "Developer"
}
],
"homepage": "https://github.com/ghostwriter/psalm-plugin",
"support": {
"issues": "https://github.com/ghostwriter/psalm-plugin/issues",
"forum": "https://github.com/ghostwriter/psalm-plugin/discussions",
"source": "https://github.com/ghostwriter/psalm-plugin",
"docs": "https://github.com/ghostwriter/psalm-plugin",
"rss": "https://github.com/ghostwriter/psalm-plugin/releases.atom"
},
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/ghostwriter"
}
],
"require": {
"php": ">=8.1"
},
"require-dev": {
"ghostwriter/coding-standard": "dev-main",
"ghostwriter/psalm-plugin-tester": "^0.2 || ^0.3 || ^1.0",
"psr/container": "^1.1 || ^2.0",
"vimeo/psalm": "^5.0 || ^6.0"
},
"replace": {
"ghostwriter/example-psalm-plugin": "*",
"ghostwriter/phpunit-psalm-plugin": "*"
},
"minimum-stability": "stable",
"prefer-stable": true,
"autoload": {
"psr-4": {
"Ghostwriter\\PsalmPlugin\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Ghostwriter\\PsalmPlugin\\Tests\\": "tests/"
}
},
"config": {
"classmap-authoritative": true,
"discard-changes": true,
"optimize-autoloader": true,
"platform": {
"php": "8.1.999"
},
"preferred-install": "dist",
"prepend-autoloader": true,
"process-timeout": 5000,
"sort-packages": true
},
"extra": {
"psalm": {
"pluginClass": "Ghostwriter\\PsalmPlugin\\Plugin"
}
},
"scripts": {
"cache:clear": [
"rm -fr .cache"
],
"check": [
"@cache:clear",
"@composer validate --strict",
"@composer-normalize",
"@test"
],
"composer-normalize": "vendor/ghostwriter/coding-standard/tools/composer-normalize --no-check-lock",
"infection": [
"@xdebug",
"vendor/ghostwriter/coding-standard/tools/infection --verbose"
],
"phpunit": "vendor/ghostwriter/coding-standard/tools/phpunit --colors=always --do-not-cache-result",
"psalm": [
"@psalm:shepherd",
"@psalm:security",
"@psalm:dry-run"
],
"psalm:baseline": "vendor/ghostwriter/coding-standard/tools/psalm --no-cache --no-diff --set-baseline=psalm-baseline.xml",
"psalm:dry-run": "vendor/ghostwriter/coding-standard/tools/psalm --no-cache --alter --issues=all --allow-backwards-incompatible-changes=false --dry-run",
"psalm:fix": "vendor/ghostwriter/coding-standard/tools/psalm --no-cache --alter --issues=MissingReturnType,InvalidReturnType,MismatchingDocblockParamType,LessSpecificReturnType,MissingClosureReturnType,UnnecessaryVarAnnotation,UnusedVariable,MissingParamType --allow-backwards-incompatible-changes=false",
"psalm:missing": "vendor/ghostwriter/coding-standard/tools/psalm --no-cache --alter --issues=MissingReturnType",
"psalm:security": "vendor/ghostwriter/coding-standard/tools/psalm --no-cache --no-diff --taint-analysis",
"psalm:shepherd": "vendor/ghostwriter/coding-standard/tools/psalm --no-cache --no-diff --shepherd --stats",
"test": [
"@xdebug",
"@phpunit",
"@psalm",
"@infection"
],
"xdebug": [
"@putenv XDEBUG_MODE=coverage"
]
}
}