-
Notifications
You must be signed in to change notification settings - Fork 158
Expand file tree
/
Copy pathcomposer.json
More file actions
155 lines (155 loc) · 6.39 KB
/
Copy pathcomposer.json
File metadata and controls
155 lines (155 loc) · 6.39 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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
{
"name": "pelago/emogrifier",
"description": "Converts CSS styles into inline style attributes in your HTML code",
"license": "MIT",
"keywords": [
"email",
"css",
"pre-processing"
],
"authors": [
{
"name": "Oliver Klee",
"email": "github@oliverklee.de"
},
{
"name": "Zoli Szabó",
"email": "zoli.szabo+github@gmail.com"
},
{
"name": "John Reeve",
"email": "jreeve@pelagodesign.com"
},
{
"name": "Jake Hotson",
"email": "jake.github@qzdesign.co.uk"
},
{
"name": "Cameron Brooks"
},
{
"name": "Jaime Prado"
}
],
"homepage": "https://www.myintervals.com/emogrifier.php",
"support": {
"issues": "https://github.com/MyIntervals/emogrifier/issues",
"source": "https://github.com/MyIntervals/emogrifier"
},
"require": {
"php": "~7.3.0 || ~7.4.0 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0",
"ext-dom": "*",
"ext-libxml": "*",
"sabberworm/php-css-parser": "dev-main",
"symfony/css-selector": "^5.4.35 || ~6.3.12 || ^6.4.3 || ^7.0.3 || ^8.0.0",
"thecodingmachine/safe": "^1.3 || ^2.5 || ^3.4"
},
"require-dev": {
"php-parallel-lint/php-parallel-lint": "1.4.0",
"phpmd/phpmd": "2.15.0",
"phpstan/extension-installer": "1.4.3",
"phpstan/phpstan": "1.12.33 || 2.2.7",
"phpstan/phpstan-deprecation-rules": "1.2.1 || 2.0.5",
"phpstan/phpstan-phpunit": "1.4.2 || 2.0.18",
"phpstan/phpstan-strict-rules": "1.6.2 || 2.0.12",
"phpunit/phpunit": "9.6.36",
"rawr/phpunit-data-provider": "3.3.1",
"rector/rector": "1.2.10 || 2.6.2",
"rector/type-perfect": "1.0.0 || 2.1.4",
"squizlabs/php_codesniffer": "4.0.4",
"thecodingmachine/phpstan-safe-rule": "1.2.0 || 1.4.7"
},
"prefer-stable": true,
"autoload": {
"psr-4": {
"Pelago\\Emogrifier\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Pelago\\Emogrifier\\Tests\\": "tests/"
}
},
"config": {
"allow-plugins": {
"phpstan/extension-installer": true
},
"preferred-install": {
"*": "dist"
},
"sort-packages": true
},
"extra": {
"branch-alias": {
"dev-main": "8.3.x-dev"
}
},
"scripts": {
"check": [
"@check:static",
"@check:dynamic"
],
"check:composer:normalize": "\"./.phive/composer-normalize\" --no-check-lock --dry-run",
"check:dynamic": [
"@check:tests"
],
"check:php:cs-fixer": "\"./.phive/php-cs-fixer\" fix --config=./Build/php-cs-fixer/config.php -v --dry-run -v --show-progress=dots Build src tests",
"check:php:lint": "parallel-lint Build src tests",
"check:php:md": "phpmd src text ./Build/phpmd/config.xml",
"check:php:rector": "rector process --no-progress-bar --dry-run --config=./Build/rector/config.php",
"check:php:sniff": "phpcs --standard=./Build/phpcs/config.xml Build src tests",
"check:php:stan": "phpstan --no-progress -v --configuration=./Build/phpstan/phpstan.neon",
"check:static": [
"@check:composer:normalize",
"@check:php:lint",
"@check:php:rector",
"@check:php:cs-fixer",
"@check:php:sniff",
"@check:php:stan",
"@check:php:md"
],
"check:tests": [
"@check:tests:unit"
],
"check:tests:coverage": "phpunit --config=./Build/phpunit/config.xml --do-not-cache-result --coverage-clover=coverage.xml",
"check:tests:sof": "phpunit --config=./Build/phpunit/config.xml --do-not-cache-result --stop-on-failure",
"check:tests:unit": "phpunit --config=./Build/phpunit/config.xml --do-not-cache-result",
"fix": [
"@fix:composer:normalize",
"@fix:php:rector",
"@fix:php:sniff",
"@fix:php:cs-fixer"
],
"fix:composer:normalize": "\"./.phive/composer-normalize\" --no-check-lock",
"fix:php:cs-fixer": "\"./.phive/php-cs-fixer\" fix --config=./Build/php-cs-fixer/config.php Build src tests",
"fix:php:rector": "rector process --config=./Build/rector/config.php",
"fix:php:sniff": "phpcbf --standard=./Build/phpcs/config.xml Build src tests",
"php:version": "@php -v | grep -Po 'PHP\\s++\\K(?:\\d++\\.)*+\\d++(?:-\\w++)?+'",
"phpstan:baseline": "phpstan --configuration=./Build/phpstan/phpstan.neon --allow-empty-baseline --generate-baseline=./Build/phpstan/phpstan-baseline.neon",
"phpstan:clearcache": "phpstan clear-result-cache"
},
"scripts-descriptions": {
"check": "Runs all dynamic and static code checks.",
"check:composer:normalize": "Checks the composer.json.",
"check:dynamic": "Runs all dynamic tests (i.e., currently, the unit tests).",
"check:php:cs-fixer": "Checks the code style with the PHP Coding Standards Fixer (PHP-CS-Fixer).",
"check:php:lint": "Lints the PHP files for syntax errors.",
"check:php:md": "Checks the code complexity with PHPMD.",
"check:php:rector": "Checks for code for changes by Rector.",
"check:php:sniff": "Checks the code style with PHP_CodeSniffer.",
"check:php:stan": "Checks the PHP types using PHPStan.",
"check:static": "Runs all static code checks (syntax, style, types).",
"check:tests": "Runs all dynamic tests (i.e., currently, the unit tests).",
"check:tests:coverage": "Runs the unit tests with code coverage.",
"check:tests:sof": "Runs the unit tests and stops at the first failure.",
"check:tests:unit": "Runs all unit tests.",
"fix": "Runs all automatic code style fixes.",
"fix:composer:normalize": "Normalizes composer.json file content.",
"fix:php:cs-fixer": "Fixes the code style with PHP-CS-Fixer.",
"fix:php:rector": "Updates the code with Rector.",
"fix:php:sniff": "Reformats the code with PHP_CodeSniffer.",
"php:version": "Outputs the installed PHP version.",
"phpstan:baseline": "Updates the PHPStan baseline file to match the code.",
"phpstan:clearcache": "Clears the PHPStan cache."
}
}