Repository navigation
Expand file tree
/
Copy pathcomposer.json
More file actions
90 lines (90 loc) · 2.31 KB
/
Copy pathcomposer.json
File metadata and controls
90 lines (90 loc) · 2.31 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
{
"name": "move-elevator/composer-translation-deepl",
"description": "Auto-fill missing translations using DeepL API",
"license": "GPL-3.0-or-later",
"type": "library",
"version": "0.1.0",
"authors": [
{
"name": "Konrad Michalik",
"email": "km@move-elevator.de",
"role": "Maintainer"
}
],
"require": {
"php": "~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0",
"ext-dom": "*",
"deeplcom/deepl-php": "^1.9",
"move-elevator/composer-translation-validator": "^1.3.1",
"symfony/console": "^5.0 || ^6.0 || ^7.0 || ^8.0",
"symfony/translation": "^5.0 || ^6.0 || ^7.0 || ^8.0"
},
"require-dev": {
"armin/editorconfig-cli": "^1.8 || ^2.0",
"eliashaeussler/rector-config": "^3.0",
"ergebnis/composer-normalize": "^2.44",
"konradmichalik/php-cs-fixer-preset": "^0.1",
"konradmichalik/php-doc-block-header-fixer": "^0.3",
"nyholm/psr7": "^1.8",
"phpstan/phpstan": "^1.12 || ^2.0",
"phpstan/phpstan-phpunit": "^1.4 || ^2.0",
"phpstan/phpstan-symfony": "^1.4 || ^2.0",
"phpunit/phpunit": "^10.0 || ^11.0",
"symfony/http-client": "^5.0 || ^6.0 || ^7.0 || ^8.0",
"symfony/var-dumper": "^6.0 || ^7.0 || ^8.0"
},
"autoload": {
"psr-4": {
"MoveElevator\\ComposerTranslationDeepl\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"MoveElevator\\ComposerTranslationDeepl\\Tests\\": "tests/"
}
},
"bin": [
"bin/autotranslate"
],
"config": {
"allow-plugins": {
"ergebnis/composer-normalize": true,
"move-elevator/composer-translation-validator": true,
"php-http/discovery": true
}
},
"extra": {
"konradmichalik/php-cs-fixer-preset": {
"copyright": 2025
}
},
"scripts": {
"autotranslate": "autotranslate",
"fix": [
"@fix:composer",
"@fix:editorconfig",
"@fix:php"
],
"fix:composer": "@composer normalize",
"fix:editorconfig": "@lint:editorconfig --fix",
"fix:php": "php-cs-fixer fix",
"lint": [
"@lint:composer",
"@lint:editorconfig",
"@lint:php"
],
"lint:composer": "@fix:composer --dry-run",
"lint:editorconfig": "ec",
"lint:php": "@fix:php --dry-run",
"migration": [
"@migration:rector"
],
"migration:rector": "rector process -c rector.php",
"sca": [
"@sca:php"
],
"sca:php": "phpstan analyse --memory-limit=2G",
"test": "@test:coverage --no-coverage",
"test:coverage": "XDEBUG_MODE=coverage phpunit -c phpunit.xml"
}
}