Skip to content
This repository has been archived by the owner on Dec 31, 2022. It is now read-only.

Commit

Permalink
Merge pull request #14 from sunrise-php/release/v2.0.0
Browse files Browse the repository at this point in the history
v2.0.0
  • Loading branch information
fenric authored Oct 26, 2021
2 parents 8fb0296 + ba51fc5 commit a8d1b0e
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 7 deletions.
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -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)
Expand Down Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand All @@ -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/",
Expand Down
4 changes: 2 additions & 2 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<?xml version="1.0"?>
<phpunit colors="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
<coverage>
<include>
<directory>./src</directory>
</include>
</coverage>
<testsuites>
<testsuite name="sunrise.http.factory.testSuite">
<testsuite name="Sunrise.HttpFactory">
<directory>./tests/</directory>
</testsuite>
</testsuites>
Expand Down

0 comments on commit a8d1b0e

Please sign in to comment.