|
1 | 1 | {
|
2 | 2 | "name": "cakephp/localized",
|
3 | 3 | "description": "CakePHP Localized Plugin",
|
4 |
| - "type": "cakephp-plugin", |
5 |
| - "keywords": ["cakephp", "localized", "i18n", "l10n"], |
6 |
| - "homepage": "https://github.com/cakephp/localized", |
7 | 4 | "license": "MIT",
|
| 5 | + "type": "cakephp-plugin", |
| 6 | + "keywords": [ |
| 7 | + "cakephp", |
| 8 | + "localized", |
| 9 | + "i18n", |
| 10 | + "l10n" |
| 11 | + ], |
8 | 12 | "authors": [
|
9 | 13 | {
|
10 | 14 | "name": "CakePHP Community",
|
11 | 15 | "homepage": "https://github.com/cakephp/localized/graphs/contributors"
|
12 | 16 | }
|
13 | 17 | ],
|
| 18 | + "homepage": "https://github.com/cakephp/localized", |
14 | 19 | "support": {
|
15 | 20 | "issues": "https://github.com/cakephp/localized/issues",
|
16 | 21 | "forum": "https://stackoverflow.com/tags/cakephp",
|
|
31 | 36 | },
|
32 | 37 | "autoload-dev": {
|
33 | 38 | "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 |
36 | 46 | }
|
37 | 47 | },
|
38 | 48 | "scripts": {
|
| 49 | + "analyse": [ |
| 50 | + "@stan", |
| 51 | + "@psalm" |
| 52 | + ], |
39 | 53 | "check": [
|
40 | 54 | "@cs-check",
|
41 | 55 | "@test",
|
42 | 56 | "@analyse"
|
43 | 57 | ],
|
44 |
| - "analyse": [ |
45 |
| - "@stan", |
46 |
| - "@psalm" |
47 |
| - ], |
| 58 | + "coverage-test": "phpunit --stderr --coverage-clover=clover.xml", |
48 | 59 | "cs-check": "phpcs --colors --parallel=16 -p src/ tests/",
|
49 | 60 | "cs-fix": "phpcbf --colors --parallel=16 -p src/ tests/",
|
50 |
| - "test": "phpunit --stderr", |
51 |
| - "stan": "phpstan analyse src/", |
52 | 61 | "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", |
55 | 62 | "psalm-rebuild-baseline": "php vendor/psalm/phar/psalm.phar --show-info=false --set-baseline=psalm-baseline.xml src/",
|
56 | 63 | "rector": "rector process src/",
|
57 | 64 | "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" |
64 | 69 | }
|
65 | 70 | }
|
0 commit comments