-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
79 lines (79 loc) · 2.68 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
{
"type": "library",
"name": "aeliot-tm/translation-maintain",
"description": "The package that helps you keep your translations consistent",
"license": "MIT",
"autoload": {
"psr-4": {
"Aeliot\\Bundle\\TransMaintain\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Aeliot\\Bundle\\TransMaintain\\Test\\": "tests/"
}
},
"require": {
"php": "^7.4|^8.0",
"ext-json": "*",
"google/cloud-translate": "^1.10",
"symfony/config": "^3.4|^4.0|^5.0|^6.0|^7.0",
"symfony/console": "^3.4|^4.0|^5.0|^6.0|^7.0",
"symfony/dependency-injection": "^3.4|^4.0|^5.0|^6.0|^7.0",
"symfony/filesystem": "^3.4|^4.0|^5.0|^6.0|^7.0",
"symfony/finder": "^3.4|^4.0|^5.0|^6.0|^7.0",
"symfony/http-kernel": "^3.4|^4.0|^5.0|^6.0|^7.0",
"symfony/translation-contracts": "^1.1|^2.0|^3.0",
"symfony/yaml": "^3.4|^4.0|^5.0|^6.0|^7.0"
},
"config": {
"sort-packages": true,
"allow-plugins": {
"phpstan/extension-installer": true
}
},
"minimum-stability": "dev",
"prefer-stable": true,
"require-dev": {
"aeliot-tm/phpunit-codecoverage-baseline": "^2.0",
"dg/bypass-finals": "^1.1",
"friendsofphp/php-cs-fixer": "^2.19.3|^3.8",
"phpstan/extension-installer": "^1.1",
"phpstan/phpstan": "^1.8",
"phpstan/phpstan-phpunit": "^1.3",
"phpstan/phpstan-symfony": "^1.2",
"phpunit/phpunit": "^7.5|^9.5",
"symfony/dotenv": "^3.4|^4.0|^5.0|^6.0|^7.0",
"symfony/framework-bundle": "^3.4|^4.0|^5.0|^6.0|^7.0",
"symfony/translation": "^3.4|^4.0|^5.0|^6.0|^7.0"
},
"scripts": {
"app-cache-refresh": "rm -rf var/cache && XDEBUG_MODE=off tests/console cache:clear --env=test",
"check-all": [
"@app-cache-refresh",
"@cs-fixer-check",
"@phpstan",
"@phpunit",
"@coverage"
],
"coverage": "vendor/bin/pccb_clover_compare -c report/coverage/clover.xml -vv",
"cs-check": "@cs-fixer-check",
"cs-fix": "@cs-fixer-fix",
"cs-fixer-check": "@cs-fixer-fix --dry-run",
"cs-fixer-fix": "vendor/bin/php-cs-fixer fix --config=scripts/php-cs-fixer/config.php -vv",
"phpstan": [
"@phpstan-clear",
"@phpstan-analyse"
],
"phpstan-analyse": "vendor/bin/phpstan analyse -c scripts/phpstan/config.neon",
"phpstan-baseline": [
"@phpstan-clear",
"@phpstan-analyse --generate-baseline scripts/phpstan/baseline.neon --allow-empty-baseline"
],
"phpstan-clear": "vendor/bin/phpstan clear-result-cache -c scripts/phpstan/config.neon",
"phpunit": "vendor/bin/phpunit -c scripts/phpunit/config.xml"
},
"suggest": {
"symfony/translation": "Can wrap provided of Translator and log missed translations. Tested with versions: 3.4, 4.4 and 5.3."
}
}