-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcomposer.json
More file actions
57 lines (57 loc) · 1.5 KB
/
Copy pathcomposer.json
File metadata and controls
57 lines (57 loc) · 1.5 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
{
"name": "smnandre/twigmetrics",
"description": "Twig template analyzer for PHP: structure, style, complexity, and maintainability metrics at a glance",
"license": "MIT",
"type": "project",
"keywords": [
"twig",
"template",
"metrics",
"loc",
"code-quality",
"static-analysis",
"lines-of-code",
"cli",
"console-application",
"complexity",
"code-style"
],
"authors": [
{
"name": "Simon André",
"email": "smn.andre@gmail.com",
"homepage": "https://github.com/smnandre"
}
],
"require": {
"php": ">=8.3",
"symfony/console": "^7.3 || ^8.0",
"symfony/finder": "^7.3 || ^8.0",
"twig/twig": "^3.21"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.85",
"phpstan/phpstan": "^2.1.22",
"phpunit/phpunit": "^12.3"
},
"autoload": {
"psr-4": {
"TwigMetrics\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"TwigMetrics\\Tests\\": "tests/"
}
},
"bin": [
"bin/twigmetrics"
],
"scripts": {
"analyze": "vendor/bin/phpstan analyze",
"cs-check": "vendor/bin/php-cs-fixer fix --dry-run --diff",
"cs-fix": "vendor/bin/php-cs-fixer fix --allow-risky=yes--diff",
"test": "vendor/bin/phpunit",
"test-coverage": "vendor/bin/phpunit --coverage-text --coverage-xml=./coverage.xml"
}
}