-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcomposer.json
96 lines (96 loc) · 3.09 KB
/
composer.json
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
{
"name": "armin/editorconfig-cli",
"description": "EditorConfigCLI is a free CLI tool (written in PHP) to validate and auto-fix text files based on given .editorconfig declarations.",
"type": "library",
"version": "2.0.1",
"license": "MIT",
"authors": [
{
"name": "Armin Vieweg",
"email": "[email protected]",
"homepage": "https://v.ieweg.de"
}
],
"homepage": "https://github.com/a-r-m-i-n/editorconfig-cli",
"support": {
"issues": "https://github.com/a-r-m-i-n/editorconfig-cli/issues",
"source": "https://github.com/a-r-m-i-n/editorconfig-cli"
},
"require": {
"php": "^8.2",
"ext-json": "*",
"ext-iconv": "*",
"symfony/console": "^5 || ^6 || ^7",
"symfony/finder": "^5 || ^6 || ^7",
"symfony/mime": "^5 || ^6 || ^7",
"idiosyncratic/editorconfig": "^0.1.1"
},
"require-dev": {
"seld/phar-utils": "^1.2",
"phpstan/phpstan": "^1.11",
"jangregor/phpstan-prophecy": "^1.0",
"friendsofphp/php-cs-fixer": "^3.59",
"phpunit/phpunit": "^10.5"
},
"bin": [
"bin/ec"
],
"autoload": {
"psr-4": {
"Armin\\EditorconfigCli\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"Armin\\EditorconfigCli\\Tests\\": "tests"
}
},
"scripts": {
"ec": "@editor-config",
"ec-fix": "@editor-config-fix",
"editor-config": "@php bin/ec -n -g",
"editor-config-fix": "@php bin/ec -n -g --fix",
"all": [
"@fix",
"@check",
"@test",
"@compile"
],
"check": [
"@composer dump -o",
"@ec",
"@php-cs",
"@php-stan",
"@composer validate --no-check-version"
],
"fix": [
"@composer dump -o",
"@ec-fix",
"@php-fix"
],
"test": [
"@composer dump -o",
"@test-php-unit",
"@test-php-functional"
],
"test-with-coverage": [
"@composer dump -o",
"@test-php-unit-coverage",
"@test-php-functional-coverage"
],
"php-stan": "phpstan analyse -c .build/phpstan.neon",
"php-cs": [
"@putenv PHP_CS_FIXER_IGNORE_ENV=1",
"php-cs-fixer fix --config .build/php-cs-rules.php --ansi --verbose --diff --dry-run"
],
"php-fix": "php-cs-fixer fix --config .build/php-cs-rules.php --ansi",
"test-php-unit": "phpunit -c .build/phpunit-unit.xml --no-coverage",
"test-php-functional": "phpunit -c .build/phpunit-functional.xml --no-coverage",
"test-php-unit-coverage": "export XDEBUG_MODE=coverage && phpunit -c .build/phpunit-unit.xml --coverage-text",
"test-php-functional-coverage": "export XDEBUG_MODE=coverage && phpunit -c .build/phpunit-functional.xml --coverage-text",
"compile": [
"@composer dump -o --no-dev",
"Armin\\EditorconfigCli\\Compiler::compile"
]
}
}