From 9c7b379a93de621f67cab57e1af6817e1d42a3d6 Mon Sep 17 00:00:00 2001 From: Gennadi McKelvey Date: Sun, 15 Dec 2024 21:56:42 +0100 Subject: [PATCH] normalize composer.json --- composer.json | 51 +++++++++++++++++++++++++++------------------------ composer.lock | 6 +++--- 2 files changed, 30 insertions(+), 27 deletions(-) diff --git a/composer.json b/composer.json index 33c51e69..0106ade0 100644 --- a/composer.json +++ b/composer.json @@ -2,7 +2,10 @@ "name": "qossmic/deptrac", "description": "Deptrac is a static code analysis tool that helps to enforce rules for dependencies between software layers.", "license": "MIT", - "keywords": ["dev", "static analysis"], + "keywords": [ + "dev", + "static analysis" + ], "authors": [ { "name": "Tim Glabisch" @@ -16,14 +19,10 @@ "email": "denis.brumann@qossmic.com" } ], - "bin": [ - "deptrac" - ], "require": { "php": "^8.1", "ext-json": "*", "composer/xdebug-handler": "^3.0", - "ergebnis/composer-normalize": "^2.45", "jetbrains/phpstorm-stubs": "2024.1", "nikic/php-parser": "^4.19", "phpdocumentor/graphviz": "^2.1", @@ -40,6 +39,19 @@ "symfony/finder": "^6.0", "symfony/yaml": "^6.0" }, + "require-dev": { + "ergebnis/composer-normalize": "^2.45", + "friendsofphp/php-cs-fixer": "^3.4", + "infection/infection": "^0.26.16", + "phpstan/phpstan": "^1.6.8", + "phpstan/phpstan-symfony": "^1.1", + "phpunit/phpunit": "^10.2", + "rector/rector": "^0.15.17", + "roave/infection-static-analysis-plugin": "^1.28", + "shipmonk/composer-dependency-analyser": "^1.5", + "symfony/stopwatch": "^6.4", + "vimeo/psalm": "^5.13" + }, "suggest": { "ext-dom": "For using the JUnit output formatter" }, @@ -50,30 +62,21 @@ }, "autoload-dev": { "psr-4": { - "Tests\\Qossmic\\Deptrac\\": "tests/", - "Internal\\Qossmic\\Deptrac\\": "internal/deptrac/" + "Internal\\Qossmic\\Deptrac\\": "internal/deptrac/", + "Tests\\Qossmic\\Deptrac\\": "tests/" } }, + "bin": [ + "deptrac" + ], "config": { - "platform": { - "php": "8.1" - }, - "sort-packages": true, "allow-plugins": { "ergebnis/composer-normalize": true, "infection/extension-installer": true - } - }, - "require-dev": { - "friendsofphp/php-cs-fixer": "^3.4", - "infection/infection": "^0.26.16", - "phpstan/phpstan": "^1.6.8", - "phpstan/phpstan-symfony": "^1.1", - "phpunit/phpunit": "^10.2", - "rector/rector": "^0.15.17", - "roave/infection-static-analysis-plugin": "^1.28", - "shipmonk/composer-dependency-analyser": "^1.5", - "symfony/stopwatch": "^6.4", - "vimeo/psalm": "^5.13" + }, + "platform": { + "php": "8.1" + }, + "sort-packages": true } } diff --git a/composer.lock b/composer.lock index e0057953..c814edb5 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "89423e8c8e074fc642ef9cfc128829ec", + "content-hash": "751d2cfb6971a8f6222b303a393b5ec8", "packages": [ { "name": "composer/pcre", @@ -690,12 +690,12 @@ "version": "v5.2.13", "source": { "type": "git", - "url": "https://github.com/justinrainbow/json-schema.git", + "url": "https://github.com/jsonrainbow/json-schema.git", "reference": "fbbe7e5d79f618997bc3332a6f49246036c45793" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/justinrainbow/json-schema/zipball/fbbe7e5d79f618997bc3332a6f49246036c45793", + "url": "https://api.github.com/repos/jsonrainbow/json-schema/zipball/fbbe7e5d79f618997bc3332a6f49246036c45793", "reference": "fbbe7e5d79f618997bc3332a6f49246036c45793", "shasum": "" },