-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
80 lines (80 loc) · 2.4 KB
/
Copy pathcomposer.json
File metadata and controls
80 lines (80 loc) · 2.4 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
{
"name": "timdev/typed-config",
"description": "Strongly-typed configuration for PHP applications",
"license": "MIT",
"type": "library",
"keywords": [
"config",
"configuration",
"array",
"dot",
"dot-access",
"strong typed"
],
"authors": [
{
"name": "Tim Lieberman",
"email": "dev@timdev.com",
"homepage": "https://www.timdev.com/"
},
{
"name": "Justin Emmanuel Mercado",
"email": "ej@ejmercado.com"
}
],
"require": {
"php": "~8.3.0 || ~8.4.0"
},
"require-dev": {
"timdev/devtools": "dev-main"
},
"minimum-stability": "dev",
"prefer-stable": true,
"autoload": {
"psr-4": {
"TimDev\\TypedConfig\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"TimDev\\Test\\TypedConfig\\": "tests/"
}
},
"config": {
"allow-plugins": {
"ergebnis/composer-normalize": true
},
"sort-packages": true
},
"scripts": {
"dev": "@dev:qa",
"dev:analyze": [
"@dev:analyze:psalm",
"@dev:analyze:phpstan"
],
"dev:analyze:phpstan": "phpstan",
"dev:analyze:psalm": "psalm",
"dev:coverage": "XDEBUG_MODE=coverage phpunit --coverage-text --colors=always",
"dev:coverage:html": "XDEBUG_MODE=coverage phpunit --coverage-html build/coverage && echo '\\nCoverage Report: build/coverage/index.html'",
"dev:cs": "phpcs",
"dev:cs:fix": "phpcbf",
"dev:qa": [
"@dev:analyze",
"@dev:test",
"@dev:cs"
],
"dev:test": "phpunit --testdox --color=always"
},
"scripts-descriptions": {
"dev": "Shortcut for dev:qa.",
"dev:analyze": "Run static analysis with both psalm + phpstan.",
"dev:analyze:phpstan": "Run static analysis with phpstan.",
"dev:analyze:psalm": "Run static analysis with psalm.",
"dev:coverage": "Report unit test coverage with output in the terminal.",
"dev:coverage:html": "Generate unit test coverage report.",
"dev:cs": "Run code style checks.",
"dev:cs:fix": "Fix code style violations.",
"dev:qa": "Run all quality checks (tests, static analysis, and coding standard).",
"dev:test": "Run unit tests."
}
}