Skip to content

Commit a5fb1ce

Browse files
authored
Merge pull request #61 from sunrise-php/release/v2.5.0
v2.5.0
2 parents 4a4ca41 + 1cfeb00 commit a5fb1ce

File tree

5 files changed

+20
-16
lines changed

5 files changed

+20
-16
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
.php_cs.cache
2+
.phpunit.result.cache
23
composer.lock
34
coverage.xml
45
phpbench.json

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ matrix:
55
- php: 7.1
66
- php: 7.2
77
- php: 7.3
8+
- php: 7.4
9+
- php: nightly
810
fast_finish: true
911

1012
before_install:

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# HTTP router for PHP 7.1+ based on PSR-7 and PSR-15 with support for annotations and OpenApi (Swagger)
1+
# HTTP router for PHP 7.1+ (incl. PHP 8) based on PSR-7 and PSR-15 with support for annotations and OpenApi (Swagger)
22

33
[![Build Status](https://scrutinizer-ci.com/g/sunrise-php/http-router/badges/build.png?b=master)](https://scrutinizer-ci.com/g/sunrise-php/http-router/build-status/master)
44
[![Code Coverage](https://scrutinizer-ci.com/g/sunrise-php/http-router/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/sunrise-php/http-router/?branch=master)
@@ -12,7 +12,7 @@
1212
## Installation
1313

1414
```bash
15-
composer require 'sunrise/http-router:^2.4'
15+
composer require 'sunrise/http-router:^2.5'
1616
```
1717

1818
## QuickStart

composer.json

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,20 @@
11
{
22
"name": "sunrise/http-router",
33
"homepage": "https://github.com/sunrise-php/http-router",
4-
"description": "Sunrise // HTTP router for PHP 7.1+ based on PSR-7 and PSR-15 with support for annotations and OpenApi Specification",
4+
"description": "Sunrise // HTTP router for PHP 7.1+ (incl. PHP 8) based on PSR-7 and PSR-15 with support for annotations and OpenApi Specification",
55
"license": "MIT",
66
"keywords": [
77
"fenric",
88
"sunrise",
99
"http",
1010
"router",
1111
"annotations",
12+
"middlewares",
1213
"openapi",
1314
"psr-7",
14-
"psr-15"
15+
"psr-15",
16+
"php7",
17+
"php8"
1518
],
1619
"authors": [
1720
{
@@ -21,21 +24,19 @@
2124
}
2225
],
2326
"require": {
24-
"php": "^7.1",
27+
"php": "^7.1|^8.0",
2528
"psr/container": "^1.0",
2629
"psr/http-message": "^1.0",
27-
"fig/http-message-util": "^1.1",
2830
"psr/http-server-handler": "^1.0",
2931
"psr/http-server-middleware": "^1.0",
3032
"psr/simple-cache": "^1.0",
33+
"fig/http-message-util": "^1.1",
3134
"doctrine/annotations": "^1.6"
3235
},
3336
"require-dev": {
34-
"phpbench/phpbench": "0.16.10",
35-
"phpunit/phpunit": "7.5.20",
37+
"phpunit/phpunit": "7.5.20|9.5.0",
3638
"sunrise/coding-standard": "1.0.0",
37-
"sunrise/http-message": "1.3.0",
38-
"sunrise/http-server-request": "1.0.12"
39+
"sunrise/http-factory": "1.1.0"
3940
},
4041
"autoload": {
4142
"files": [

phpunit.xml.dist

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<?xml version="1.0"?>
2-
<phpunit bootstrap="tests/bootstrap.php" colors="true">
2+
<phpunit bootstrap="tests/bootstrap.php" colors="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
3+
<coverage>
4+
<include>
5+
<directory>./src</directory>
6+
</include>
7+
</coverage>
38
<testsuites>
49
<testsuite name="Sunrise HTTP Router Test Suite">
510
<directory>./tests/</directory>
611
</testsuite>
712
</testsuites>
8-
<filter>
9-
<whitelist>
10-
<directory>./src</directory>
11-
</whitelist>
12-
</filter>
1313
</phpunit>

0 commit comments

Comments
 (0)