forked from cakephp/localized
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
70 lines (70 loc) · 2.34 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
{
"name": "cakephp/localized",
"description": "CakePHP Localized Plugin",
"license": "MIT",
"type": "cakephp-plugin",
"keywords": [
"cakephp",
"localized",
"i18n",
"l10n"
],
"authors": [
{
"name": "CakePHP Community",
"homepage": "https://github.com/cakephp/localized/graphs/contributors"
}
],
"homepage": "https://github.com/cakephp/localized",
"support": {
"issues": "https://github.com/cakephp/localized/issues",
"forum": "https://stackoverflow.com/tags/cakephp",
"source": "https://github.com/cakephp/localized"
},
"require": {
"php": ">=8.1",
"cakephp/cakephp": "^5.0.1"
},
"require-dev": {
"cakephp/cakephp-codesniffer": "^5.0",
"phpunit/phpunit": "^10.2"
},
"autoload": {
"psr-4": {
"Cake\\Localized\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Cake\\Localized\\Test\\": "tests/",
"Cake\\Test\\": "vendor/cakephp/cakephp/tests/"
}
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"scripts": {
"analyse": [
"@stan",
"@psalm"
],
"check": [
"@cs-check",
"@test",
"@analyse"
],
"coverage-test": "phpunit --stderr --coverage-clover=clover.xml",
"cs-check": "phpcs --colors --parallel=16 -p src/ tests/",
"cs-fix": "phpcbf --colors --parallel=16 -p src/ tests/",
"psalm": "php vendor/psalm/phar/psalm.phar --show-info=false src/",
"psalm-rebuild-baseline": "php vendor/psalm/phar/psalm.phar --show-info=false --set-baseline=psalm-baseline.xml src/",
"rector": "rector process src/",
"rector-setup": "cp composer.json composer.backup && composer require --dev rector/rector:^0.7 && mv composer.backup composer.json",
"stan": "phpstan analyse",
"stan-rebuild-baseline": "phpstan analyse --configuration phpstan.neon --error-format baselineNeon src/ > phpstan-baseline.neon",
"stan-setup": "cp composer.json composer.backup && composer require --dev phpstan/phpstan:^1.0.0 psalm/phar:^5.0 && mv composer.backup composer.json",
"test": "phpunit --stderr"
}
}