From 93f260da7c9046ec07eb7514f6b01ac23f482e4a Mon Sep 17 00:00:00 2001 From: jrfnl Date: Sun, 25 Oct 2026 18:11:46 +0100 Subject: [PATCH] Composer: normalize the file Well, mostly (scripts are not alphabetized, but still grouped by task). Note: this is done as a one-time only action. The normalize script will **_not_** be run in CI to enforce normalization. Style has been standardized to `--indent-style=space --indent-size=4`. Ref: https://github.com/ergebnis/composer-normalize --- composer.json | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/composer.json b/composer.json index 8469e10..8c23bb1 100644 --- a/composer.json +++ b/composer.json @@ -8,35 +8,39 @@ "email": "jakub.onderka@gmail.com" }, { - "name" : "Contributors", - "homepage" : "https://github.com/php-parallel-lint/PHP-Console-Color/graphs/contributors" + "name": "Contributors", + "homepage": "https://github.com/php-parallel-lint/PHP-Console-Color/graphs/contributors" } ], - "autoload": { - "psr-4": {"PHP_Parallel_Lint\\PhpConsoleColor\\": "src/"} - }, - "autoload-dev": { - "psr-4": {"PHP_Parallel_Lint\\PhpConsoleColor\\Test\\": "tests/"} - }, "require": { "php": ">=5.3.2" }, "require-dev": { - "phpunit/phpunit": "^4.8.36 || ^5.7.21 || ^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.1", + "php-parallel-lint/php-code-style": "^2.0", "php-parallel-lint/php-parallel-lint": "^1.0", "php-parallel-lint/php-var-dump-check": "0.*", - "php-parallel-lint/php-code-style": "^2.0" + "phpunit/phpunit": "^4.8.36 || ^5.7.21 || ^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.1" }, "replace": { "jakub-onderka/php-console-color": "*" }, + "autoload": { + "psr-4": { + "PHP_Parallel_Lint\\PhpConsoleColor\\": "src/" + } + }, + "autoload-dev": { + "psr-4": { + "PHP_Parallel_Lint\\PhpConsoleColor\\Test\\": "tests/" + } + }, "config": { "allow-plugins": { "dealerdirect/phpcodesniffer-composer-installer": true }, "lock": false }, - "scripts" : { + "scripts": { "phplint": [ "@php ./vendor/php-parallel-lint/php-parallel-lint/parallel-lint . -e php --exclude vendor --exclude .git" ],