-
-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathcomposer.json
More file actions
122 lines (122 loc) · 4.3 KB
/
composer.json
File metadata and controls
122 lines (122 loc) · 4.3 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
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": "mathiasreker/php-svg-optimizer",
"description": "php-svg-optimizer is a PHP library designed to optimize SVG files by applying various transformations and cleanup operations.",
"license": "MIT",
"type": "library",
"keywords": [
"optimize",
"svg",
"minify",
"compress",
"clean",
"sanitize"
],
"authors": [
{
"name": "Mathias Reker",
"role": "Senior Developer"
}
],
"homepage": "https://github.com/mathiasreker/php-svg-optimizer",
"require": {
"php": "^8.3",
"ext-dom": "*",
"ext-libxml": "*",
"ext-mbstring": "*"
},
"require-dev": {
"brainbits/phpstan-rules": "^4.0",
"ergebnis/composer-normalize": "^2.51.0",
"ergebnis/phpstan-rules": "^2.13",
"friendsofphp/php-cs-fixer": "^3.95",
"hiperdk/phpstan-rules": "^1.0",
"kubawerlos/php-cs-fixer-custom-fixers": "^3.37",
"marc-mabe/php-enum-phpstan": "^3.0",
"odan/phpstan-rules": "^0.2",
"phpstan/extension-installer": "^1.4",
"phpstan/phpstan": "^2.1",
"phpstan/phpstan-deprecation-rules": "^2.0",
"phpstan/phpstan-mockery": "^2.0",
"phpstan/phpstan-phpunit": "^2.0",
"phpstan/phpstan-strict-rules": "^2.0",
"phpunit/php-code-coverage": "^12.5",
"phpunit/phpunit": "^12.5",
"povils/phpmnd": "^3.6",
"rector/rector": "^2.4",
"shipmonk/composer-dependency-analyser": "^1.8",
"shipmonk/phpstan-rules": "^4.3",
"spaze/phpstan-disallowed-calls": "^4.12",
"squizlabs/php_codesniffer": "^4.0",
"symfony/var-dumper": "^7.4",
"symplify/phpstan-rules": "14.9",
"tomasvotruba/cognitive-complexity": "^1.1",
"tomasvotruba/type-coverage": "^2.1",
"voku/phpstan-rules": "^3.7"
},
"autoload": {
"psr-4": {
"MathiasReker\\PhpSvgOptimizer\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"MathiasReker\\PhpSvgOptimizer\\Tests\\": "tests/"
}
},
"bin": [
"bin/svg-optimizer"
],
"config": {
"allow-plugins": {
"ergebnis/composer-normalize": true,
"infection/extension-installer": true,
"phpstan/extension-installer": true,
"phpunit/phpunit": true
},
"platform": {
"php": "8.3"
},
"preferred-install": "dist",
"sort-packages": true
},
"extra": {
"phpstan": {
"includes": [
"extension.neon"
]
}
},
"scripts": {
"analyze:all": [
"@analyze:normalize",
"@analyze:dependency",
"@analyze:validate",
"@analyze:check",
"@analyze:autoload",
"@analyze:type-coverage",
"@analyze:audit"
],
"analyze:audit": "@composer audit --format=table",
"analyze:autoload": "@composer dump-autoload -o",
"analyze:check": "@composer check",
"analyze:dependency": "@php vendor/bin/composer-dependency-analyser",
"analyze:normalize": "@composer normalize --dry-run --no-check-lock",
"analyze:php-cs-fixer": "@php vendor/bin/php-cs-fixer fix . --config=.php-cs-fixer.dist.php --dry-run --diff",
"analyze:phpstan": "@php vendor/bin/phpstan analyse -c phpstan.neon",
"analyze:rector": "@php vendor/bin/rector process --dry-run",
"analyze:type-coverage": "@php vendor/bin/phpstan analyse --level=max --error-format=table",
"analyze:validate": "@composer validate --strict",
"build:badges": "sh dev/scripts/badges.sh",
"build:baseline": "@php vendor/bin/phpstan --generate-baseline",
"lint:all": [
"@lint:normalize",
"@composer lint:phpcbf & @composer lint:rector && @composer lint:php-cs-fixer"
],
"lint:normalize": "@composer normalize",
"lint:php-cs-fixer": "@php vendor/bin/php-cs-fixer fix . --config=.php-cs-fixer.dist.php",
"lint:phpcbf": "@php -d memory_limit=512M vendor/bin/phpcbf",
"lint:rector": "@php vendor/bin/rector process",
"test": "@php vendor/bin/phpunit tests",
"test:coverage": "@php vendor/bin/phpunit tests --coverage-text"
}
}