generated from ghostwriter/wip
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
122 lines (122 loc) · 4.02 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
{
"name": "ghostwriter/syntax",
"description": "Lexical Analysis library for PHP",
"license": "BSD-3-Clause",
"type": "library",
"keywords": [
"generator",
"ghostwriter",
"lexer",
"parser",
"syntax",
"tokenizer"
],
"authors": [
{
"name": "Nathanael Esayeas",
"email": "nathanael.esayeas@protonmail.com",
"homepage": "https://github.com/ghostwriter",
"role": "Developer"
}
],
"homepage": "https://github.com/ghostwriter/syntax",
"support": {
"issues": "https://github.com/ghostwriter/syntax/issues",
"forum": "https://github.com/ghostwriter/syntax/discussions",
"source": "https://github.com/ghostwriter/syntax",
"docs": "https://github.com/ghostwriter/syntax",
"rss": "https://github.com/ghostwriter/syntax/releases.atom",
"security": "https://github.com/ghostwriter/syntax/security/advisories/new"
},
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/ghostwriter"
}
],
"_comment": "#BlackLivesMatter",
"require": {
"php": ">=8.3",
"ghostwriter/case-converter": "^1.0.0",
"ghostwriter/collection": "^2.0.0",
"ghostwriter/container": "^4.0.2",
"ghostwriter/event-dispatcher": "^5.0.2",
"ghostwriter/json": "^3.0.0",
"ghostwriter/option": "^1.5.1",
"ghostwriter/result": "^1.3.0"
},
"require-dev": {
"ghostwriter/coding-standard": "dev-main"
},
"minimum-stability": "stable",
"prefer-stable": true,
"autoload": {
"psr-4": {
"Ghostwriter\\Syntax\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests"
}
},
"bin": [
"bin/syntax"
],
"config": {
"allow-plugins": {
"ghostwriter/coding-standard": true
},
"classmap-authoritative": false,
"discard-changes": true,
"optimize-autoloader": true,
"platform": {
"php": "8.3.999"
},
"preferred-install": "dist",
"prepend-autoloader": true,
"process-timeout": 5000,
"sort-packages": true,
"use-parent-dir": false
},
"scripts": {
"bin_ecs": "ecs check --clear-cache --no-interaction",
"bin_infection": "infection --ansi --show-mutations --threads=max --min-msi=0 --min-covered-msi=0",
"bin_phive": "phive",
"bin_phpunit": "phpunit --do-not-cache-result --colors=always",
"bin_psalm": "psalm --no-cache",
"bin_rector": "rector process --no-ansi --clear-cache",
"cache:clear": "rm -rf ./.cache/*",
"check": [
"@composer validate",
"@ecs",
"@test"
],
"dev": [
"@cache:clear",
"@check",
"@psalm:update",
"@psalm:security",
"@psalm:dry-run"
],
"ecs": "@bin_ecs --fix",
"git:submodule:update": "git submodule update --depth=1 --init --recursive --recommend-shallow --remote",
"infection": "@bin_infection",
"phpunit": "@bin_phpunit",
"phpunit:migrate": "@bin_phpunit --migrate-configuration",
"psalm": "@bin_psalm --show-info=true",
"psalm:alter": "@bin_psalm --alter --allow-backwards-incompatible-changes=false --safe-types",
"psalm:baseline": "@psalm --no-diff --set-baseline=psalm-baseline.xml",
"psalm:dry-run": "@psalm:alter --issues=all --dry-run",
"psalm:fix": "@psalm:alter --issues=UnnecessaryVarAnnotation,MissingPureAnnotation,MissingImmutableAnnotation",
"psalm:security": "@psalm --no-diff --taint-analysis",
"psalm:shepherd": "@psalm --no-diff --shepherd --stats",
"psalm:update": "@psalm --no-diff --update-baseline=psalm-baseline.xml",
"rector": "@bin_rector",
"test": [
"@phpunit",
"@psalm:shepherd",
"@infection"
]
}
}