Skip to content

Commit df2debd

Browse files
dereuromarkwww-data
authored andcommitted
Run composer normalize over composer.json
1 parent 9ebaac4 commit df2debd

File tree

1 file changed

+24
-19
lines changed

1 file changed

+24
-19
lines changed

composer.json

Lines changed: 24 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,21 @@
11
{
22
"name": "cakephp/localized",
33
"description": "CakePHP Localized Plugin",
4-
"type": "cakephp-plugin",
5-
"keywords": ["cakephp", "localized", "i18n", "l10n"],
6-
"homepage": "https://github.com/cakephp/localized",
74
"license": "MIT",
5+
"type": "cakephp-plugin",
6+
"keywords": [
7+
"cakephp",
8+
"localized",
9+
"i18n",
10+
"l10n"
11+
],
812
"authors": [
913
{
1014
"name": "CakePHP Community",
1115
"homepage": "https://github.com/cakephp/localized/graphs/contributors"
1216
}
1317
],
18+
"homepage": "https://github.com/cakephp/localized",
1419
"support": {
1520
"issues": "https://github.com/cakephp/localized/issues",
1621
"forum": "https://stackoverflow.com/tags/cakephp",
@@ -31,35 +36,35 @@
3136
},
3237
"autoload-dev": {
3338
"psr-4": {
34-
"Cake\\Test\\": "vendor/cakephp/cakephp/tests/",
35-
"Cake\\Localized\\Test\\": "tests/"
39+
"Cake\\Localized\\Test\\": "tests/",
40+
"Cake\\Test\\": "vendor/cakephp/cakephp/tests/"
41+
}
42+
},
43+
"config": {
44+
"allow-plugins": {
45+
"dealerdirect/phpcodesniffer-composer-installer": true
3646
}
3747
},
3848
"scripts": {
49+
"analyse": [
50+
"@stan",
51+
"@psalm"
52+
],
3953
"check": [
4054
"@cs-check",
4155
"@test",
4256
"@analyse"
4357
],
44-
"analyse": [
45-
"@stan",
46-
"@psalm"
47-
],
58+
"coverage-test": "phpunit --stderr --coverage-clover=clover.xml",
4859
"cs-check": "phpcs --colors --parallel=16 -p src/ tests/",
4960
"cs-fix": "phpcbf --colors --parallel=16 -p src/ tests/",
50-
"test": "phpunit --stderr",
51-
"stan": "phpstan analyse src/",
5261
"psalm": "php vendor/psalm/phar/psalm.phar --show-info=false src/",
53-
"stan-setup": "cp composer.json composer.backup && composer require --dev phpstan/phpstan:^1.0.0 psalm/phar:^5.0 && mv composer.backup composer.json",
54-
"stan-rebuild-baseline": "phpstan analyse --configuration phpstan.neon --error-format baselineNeon src/ > phpstan-baseline.neon",
5562
"psalm-rebuild-baseline": "php vendor/psalm/phar/psalm.phar --show-info=false --set-baseline=psalm-baseline.xml src/",
5663
"rector": "rector process src/",
5764
"rector-setup": "cp composer.json composer.backup && composer require --dev rector/rector:^0.7 && mv composer.backup composer.json",
58-
"coverage-test": "phpunit --stderr --coverage-clover=clover.xml"
59-
},
60-
"config": {
61-
"allow-plugins": {
62-
"dealerdirect/phpcodesniffer-composer-installer": true
63-
}
65+
"stan": "phpstan analyse src/",
66+
"stan-rebuild-baseline": "phpstan analyse --configuration phpstan.neon --error-format baselineNeon src/ > phpstan-baseline.neon",
67+
"stan-setup": "cp composer.json composer.backup && composer require --dev phpstan/phpstan:^1.0.0 psalm/phar:^5.0 && mv composer.backup composer.json",
68+
"test": "phpunit --stderr"
6469
}
6570
}

0 commit comments

Comments
 (0)