-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
50 lines (50 loc) · 1.56 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
{
"name": "cracksalad/i18n",
"version": "0.1.2",
"type": "library",
"description": "PHP library to properly handle internationalization, but in a stateless fashion - no gettext()!",
"keywords": [
"i18n",
"locale",
"translation",
"gettext",
"intl"
],
"license": "MIT",
"authors": [
{
"name": "Andreas Wahlen",
"role": "Maintainer"
}
],
"require": {
"php": ">=8.0",
"ext-intl": "*",
"gettext/gettext": "^5.7"
},
"autoload": {
"psr-4": {
"Cracksalad\\I18n\\": "src"
}
},
"scripts": {
"phpunit": "./tools/phpunit test",
"phpcpd": "./tools/phpcpd php_include",
"psalm": "./tools/psalm --no-diff --use-baseline=psalm.baseline.xml --php-version=8.0",
"psalm-stats": "./tools/psalm --no-diff --use-baseline=psalm.baseline.xml --php-version=8.0 --stats | grep -v '(0 mixed)'",
"update-psalm-baseline": "./tools/psalm --no-diff --set-baseline=psalm.baseline.xml",
"tests": [
"@phpunit",
"@phpcpd",
"@psalm"
]
},
"scripts-descriptions": {
"phpunit": "Runs unit/integration tests.",
"phpcpd": "Runs copied code finder.",
"psalm": "Runs static analysis.",
"psalm-stats": "Print files with unsafe types based on psalm.",
"update-psalm-baseline": "Updates baseline for psalm. CAUTION should not be run as a regular procedure!",
"tests": "Runs all available tests."
}
}