From f92469e8f4b7934296271628f6a8963f344e5958 Mon Sep 17 00:00:00 2001 From: Anatoly Nekhay Date: Tue, 26 Oct 2021 05:33:03 +0500 Subject: [PATCH 1/3] update README.md --- README.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0456325..7eb0219 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# HTTP factory for PHP 7.1+ (incl. PHP 8) based on PSR-17 +## HTTP factory for PHP 7.1+ based on PSR-17 [![Build Status](https://circleci.com/gh/sunrise-php/http-factory.svg?style=shield)](https://circleci.com/gh/sunrise-php/http-factory) [![Code Coverage](https://scrutinizer-ci.com/g/sunrise-php/http-factory/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/sunrise-php/http-factory/?branch=master) @@ -28,13 +28,19 @@ use Sunrise\Http\Factory\UriFactory; // just use PSR-17 methods... ``` -## Based on the following packages +#### HTTP headers as objects + +* https://github.com/sunrise-php/http-header-kit + +#### Based on the following packages * https://github.com/sunrise-php/http-message * https://github.com/sunrise-php/http-server-request * https://github.com/sunrise-php/stream * https://github.com/sunrise-php/uri +--- + ## Test run ```bash From d2b30a0c9bdf16e0ebe3dd1f3e7b533c83fa5d22 Mon Sep 17 00:00:00 2001 From: Anatoly Nekhay Date: Tue, 26 Oct 2021 05:33:13 +0500 Subject: [PATCH 2/3] update composer.json --- composer.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index 8a27b05..933390c 100644 --- a/composer.json +++ b/composer.json @@ -21,8 +21,8 @@ ], "require": { "php": "^7.1|^8.0", - "sunrise/http-message": "^1.4", - "sunrise/http-server-request": "^1.1", + "sunrise/http-message": "^2.0", + "sunrise/http-server-request": "^2.0", "sunrise/stream": "^1.2", "sunrise/uri": "^1.2" }, @@ -41,7 +41,7 @@ "scripts": { "test": [ "phpcs", - "XDEBUG_MODE=coverage phpunit --coverage-text" + "XDEBUG_MODE=coverage phpunit --coverage-text --colors=always" ], "build": [ "phpdoc -d src/ -t phpdoc/", From ba51fc5b00a2f637625f67efc41cf8ae4ea18937 Mon Sep 17 00:00:00 2001 From: Anatoly Nekhay Date: Tue, 26 Oct 2021 05:33:21 +0500 Subject: [PATCH 3/3] update phpunit.xml.dist --- phpunit.xml.dist | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/phpunit.xml.dist b/phpunit.xml.dist index f4e6672..d97e720 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,12 +1,12 @@ - + ./src - + ./tests/