From 27d6278026e797aadc5ba97a07061c15bf4a9664 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Thu, 20 Jan 2022 11:13:46 +0000 Subject: [PATCH 1/2] deps(deps): update dependency thecodingmachine/safe to v2 --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index e31b7af..6abad79 100644 --- a/composer.json +++ b/composer.json @@ -21,7 +21,7 @@ "require": { "php": "^8.0", "psr/http-message": "^1.0", - "thecodingmachine/safe": "^1.3.3" + "thecodingmachine/safe": "^2.0.0" }, "provide": { "psr/http-message-implementation": "^1.0" From 22284fac4563a0c3ed442bf37f11dfe86e566ce3 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" Date: Thu, 20 Jan 2022 11:14:05 +0000 Subject: [PATCH 2/2] chore: normalize composer.json --- composer.json | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/composer.json b/composer.json index 6abad79..2742811 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,8 @@ { "name": "narrowspark/http-emitter", - "type": "library", "description": "Emitting psr-7 responses.", + "license": "MIT", + "type": "library", "keywords": [ "narrowspark", "http", @@ -9,7 +10,6 @@ "sapi", "psr-7" ], - "license": "MIT", "authors": [ { "name": "Daniel Bannert", @@ -18,14 +18,15 @@ "role": "Developer" } ], + "support": { + "issues": "https://github.com/narrowspark/http-emitter/issues", + "source": "https://github.com/narrowspark/http-emitter" + }, "require": { "php": "^8.0", "psr/http-message": "^1.0", "thecodingmachine/safe": "^2.0.0" }, - "provide": { - "psr/http-message-implementation": "^1.0" - }, "require-dev": { "ext-json": "*", "laminas/laminas-diactoros": "^2.5.0", @@ -35,16 +36,11 @@ "psalm/plugin-mockery": "^0.7.0", "thecodingmachine/phpstan-safe-rule": "^1.0.1" }, - "config": { - "optimize-autoloader": true, - "preferred-install": "dist", - "sort-packages": true - }, - "extra": { - "branch-alias": { - "dev-main": "2.0-dev" - } + "provide": { + "psr/http-message-implementation": "^1.0" }, + "minimum-stability": "dev", + "prefer-stable": true, "autoload": { "psr-4": { "Narrowspark\\HttpEmitter\\": "src/" @@ -61,8 +57,16 @@ "tests/OverwritePhpFunctions.php" ] }, - "minimum-stability": "dev", - "prefer-stable": true, + "config": { + "optimize-autoloader": true, + "preferred-install": "dist", + "sort-packages": true + }, + "extra": { + "branch-alias": { + "dev-main": "2.0-dev" + } + }, "scripts": { "cs": "php-cs-fixer fix --config=\"./.php_cs\" --ansi", "cs:check": "php-cs-fixer fix --config=\"./.php_cs\" --ansi --dry-run", @@ -77,9 +81,5 @@ "rector:fix": "rector process --ansi", "test": "phpunit", "test:coverage": "phpunit --coverage-html=./.build/phpunit/coverage" - }, - "support": { - "issues": "https://github.com/narrowspark/http-emitter/issues", - "source": "https://github.com/narrowspark/http-emitter" } }