From df2debd4b41e0736ba2ce9677c18efff46d56aed Mon Sep 17 00:00:00 2001 From: Mark Date: Mon, 27 Nov 2023 17:37:11 +0000 Subject: [PATCH] Run composer normalize over composer.json --- composer.json | 43 ++++++++++++++++++++++++------------------- 1 file changed, 24 insertions(+), 19 deletions(-) diff --git a/composer.json b/composer.json index 21c4268..a3c1c65 100644 --- a/composer.json +++ b/composer.json @@ -1,16 +1,21 @@ { "name": "cakephp/localized", "description": "CakePHP Localized Plugin", - "type": "cakephp-plugin", - "keywords": ["cakephp", "localized", "i18n", "l10n"], - "homepage": "https://github.com/cakephp/localized", "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", @@ -31,35 +36,35 @@ }, "autoload-dev": { "psr-4": { - "Cake\\Test\\": "vendor/cakephp/cakephp/tests/", - "Cake\\Localized\\Test\\": "tests/" + "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" ], - "analyse": [ - "@stan", - "@psalm" - ], + "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/", - "test": "phpunit --stderr", - "stan": "phpstan analyse src/", "psalm": "php vendor/psalm/phar/psalm.phar --show-info=false src/", - "stan-setup": "cp composer.json composer.backup && composer require --dev phpstan/phpstan:^1.0.0 psalm/phar:^5.0 && mv composer.backup composer.json", - "stan-rebuild-baseline": "phpstan analyse --configuration phpstan.neon --error-format baselineNeon src/ > phpstan-baseline.neon", "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", - "coverage-test": "phpunit --stderr --coverage-clover=clover.xml" - }, - "config": { - "allow-plugins": { - "dealerdirect/phpcodesniffer-composer-installer": true - } + "stan": "phpstan analyse src/", + "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" } }