-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
75 lines (75 loc) · 2.33 KB
/
Copy pathcomposer.json
File metadata and controls
75 lines (75 loc) · 2.33 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
{
"name": "timdev/stack-logger",
"description": "A PSR-3 Logger that can track context.",
"license": "MIT",
"type": "library",
"keywords": [
"psr3",
"logging",
"logger",
"context",
"monolog"
],
"authors": [
{
"name": "Tim Lieberman",
"email": "dev@timdev.com"
}
],
"require": {
"php": "^8.3",
"psr/log": "^3.0"
},
"require-dev": {
"ergebnis/composer-normalize": "^2.15",
"fig/log-test": "^1.1",
"monolog/monolog": "^3.0",
"phpstan/extension-installer": "^1.4",
"phpstan/phpstan": "^2.1",
"phpstan/phpstan-strict-rules": "^2.0",
"phpunit/phpunit": "^12.0",
"roave/security-advisories": "dev-latest",
"symfony/console": "^7",
"symplify/easy-coding-standard": "^12.5"
},
"minimum-stability": "dev",
"prefer-stable": true,
"autoload": {
"psr-4": {
"TimDev\\StackLogger\\": "src/",
"TimDev\\StackLogger\\Test\\": "tests/"
}
},
"config": {
"allow-plugins": {
"ergebnis/composer-normalize": true,
"phpstan/extension-installer": true
}
},
"scripts": {
"cs-check": "phpcs",
"cs-fix": "phpcbf",
"dev": "@dev:qa",
"dev:analyze": "phpstan analyze",
"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": "ecs check",
"dev:cs:fix": "ecs check --fix",
"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 phpstan.",
"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."
}
}