forked from move-elevator/composer-translation-validator
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
92 lines (92 loc) 路 2.54 KB
/
Copy pathcomposer.json
File metadata and controls
92 lines (92 loc) 路 2.54 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
{
"name": "move-elevator/composer-translation-validator",
"description": "A Composer plugin that validates translations files in your project regarding mismatches between language source and target files.",
"license": "GPL-3.0-or-later",
"type": "composer-plugin",
"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-libxml": "*",
"ext-mbstring": "*",
"ext-simplexml": "*",
"composer-plugin-api": "^1.0 || ^2.0",
"justinrainbow/json-schema": "^5.3 || ^6.4",
"psr/log": "^1.0 || ^2.0 || ^3.0",
"symfony/config": "^5.0 || ^6.0 || ^7.0 || ^8.0",
"symfony/console": "^5.0 || ^6.0 || ^7.0 || ^8.0",
"symfony/filesystem": "^5.0 || ^6.0 || ^7.0 || ^8.0",
"symfony/translation": "^5.0 || ^6.0 || ^7.0 || ^8.0",
"symfony/yaml": "^5.0 || ^6.0 || ^7.0 || ^8.0"
},
"require-dev": {
"armin/editorconfig-cli": "^1.0 || ^2.0",
"composer/composer": "^2.0",
"ergebnis/composer-normalize": "^2.44",
"konradmichalik/php-cs-fixer-preset": "^0.1.0",
"konradmichalik/php-doc-block-header-fixer": "^0.3.0",
"phpstan/phpstan": "^2.0",
"phpstan/phpstan-phpunit": "^2.0",
"phpstan/phpstan-symfony": "^2.0",
"phpunit/phpunit": "^10.2 || ^11.0 || ^12.0",
"rector/rector": "^2.2"
},
"suggest": {
"ext-intl": "Required for validating translations regarding unicode normalization issues."
},
"autoload": {
"psr-4": {
"MoveElevator\\ComposerTranslationValidator\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"MoveElevator\\ComposerTranslationValidator\\Tests\\": "tests/src/"
}
},
"config": {
"allow-plugins": {
"ergebnis/composer-normalize": true
},
"sort-packages": true
},
"extra": {
"class": "MoveElevator\\ComposerTranslationValidator\\Plugin",
"konradmichalik/php-cs-fixer-preset": {
"copyright": 2025
}
},
"scripts": {
"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"
}
}