generated from ghostwriter/wip
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
138 lines (138 loc) · 4.51 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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
{
"name": "ghostwriter/compliance",
"description": "Compliance Automation for PHP - Automatically configure and execute multiple CI/CD & QA Tests via GitHub Actions.",
"license": "BSD-3-Clause",
"type": "project",
"keywords": [
"ghostwriter",
"compliance",
"compliance-automation",
"continuous-integration",
"github-actions"
],
"authors": [
{
"name": "Nathanael Esayeas",
"email": "nathanael.esayeas@protonmail.com",
"homepage": "https://github.com/ghostwriter",
"role": "Developer"
}
],
"homepage": "https://github.com/ghostwriter/compliance",
"support": {
"issues": "https://github.com/ghostwriter/compliance/issues",
"forum": "https://github.com/ghostwriter/compliance/discussions",
"source": "https://github.com/ghostwriter/compliance",
"docs": "https://github.com/ghostwriter/compliance",
"rss": "https://github.com/ghostwriter/compliance/releases.atom"
},
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/ghostwriter"
}
],
"require": {
"php": ">=8.1 <8.3",
"composer-plugin-api": "^2.2.2",
"composer-runtime-api": "^2.2.2",
"composer/semver": "^3.3.2",
"ghostwriter/collection": "^1.3.2",
"ghostwriter/config": "^0.3",
"ghostwriter/container": "^1.6",
"ghostwriter/environment": "^1.1",
"ghostwriter/event-dispatcher": "^1.4.2",
"ghostwriter/json": "^1.1",
"ghostwriter/option": "^1.5.1",
"symfony/console": "^6.3.2",
"symfony/finder": "^6.3.3",
"symfony/process": "^6.3.2"
},
"require-dev": {
"composer/composer": ">=2.5.8",
"ghostwriter/coding-standard": "dev-main"
},
"minimum-stability": "stable",
"prefer-stable": true,
"autoload": {
"psr-4": {
"Ghostwriter\\Compliance\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Ghostwriter\\Compliance\\Tests\\": "tests/"
}
},
"bin": [
"bin/compliance"
],
"config": {
"allow-plugins": {
"infection/extension-installer": true,
"dealerdirect/phpcodesniffer-composer-installer": true
},
"classmap-authoritative": true,
"discard-changes": true,
"optimize-autoloader": true,
"preferred-install": "dist",
"prepend-autoloader": true,
"process-timeout": 5000,
"sort-packages": true
},
"scripts": {
"cache:clear": [
"rm -fr ./.cache"
],
"check": [
"@composer validate",
"@normalizer",
"@cs-check",
"@cs-fix",
"@test",
"@psalm",
"@rector:dry-run",
"@psalm:security"
],
"cs-check": "vendor/bin/ecs check --clear-cache || true",
"cs-fix": "vendor/bin/ecs check --fix --clear-cache",
"dev": [
"@check",
"@infection"
],
"docker": [
"@docker:build",
"@docker:run"
],
"docker:build": "docker buildx build --pull --tag compliance .",
"docker:run": "docker run -v $(PWD):/github/workspace -w=/github/workspace -e GITHUB_TOKEN=github-token -e SIGNING_SECRET_KEY=secret-key compliance",
"infection": [
"@putenv XDEBUG_MODE=coverage",
"vendor/bin/infection --verbose"
],
"missing-returntypes": "psalm --alter --issues=MissingReturnType",
"normalizer": "composer normalize --no-check-lock",
"phpbench": "phpbench run",
"phpunit": "phpunit --colors=always --testdox --stop-on-failure",
"psalm": "@psalm:shepherd",
"psalm:baseline": "psalm --no-diff --no-cache --set-baseline=psalm-baseline.xml",
"psalm:dry-run": "psalm --alter --issues=all --dry-run",
"psalm:missing": "psalm --alter --issues=MissingReturnType",
"psalm:security": "psalm --taint-analysis",
"psalm:shepherd": "psalm --shepherd --stats --no-diff --no-cache",
"rector": "vendor/bin/rector process",
"rector:dry-run": "vendor/bin/rector process --dry-run || true",
"test": [
"@xdebug",
"@phpunit"
],
"test:coverage": [
"@cache:clear",
"@xdebug",
"@phpunit"
],
"xdebug": [
"@putenv XDEBUG_MODE=coverage"
]
}
}