Skip to content

Commit e160bc9

Browse files
committed
Merge pull request #24 from php-http/internal_separation
Internal and client separation
2 parents 0433afd + c92df82 commit e160bc9

23 files changed

+163
-1669
lines changed

.gitattributes

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
1-
tests/ export-ignore
21
.editorconfig export-ignore
32
.gitattributes export-ignore
43
.gitignore export-ignore
5-
.scrutinizer.yml export-ignore
6-
.travis.yml export-ignore
74
CONTRIBUTING.md export-ignore
8-
phpunit.xml.dist export-ignore

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
build/
22
vendor/
33
composer.lock
4-
phpunit.xml

.scrutinizer.yml

Lines changed: 0 additions & 8 deletions
This file was deleted.

.travis.yml

Lines changed: 0 additions & 29 deletions
This file was deleted.

README.md

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22

33
[![Latest Version](https://img.shields.io/github/release/php-http/adapter.svg?style=flat-square)](https://github.com/php-http/adapter/releases)
44
[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE)
5-
[![Build Status](https://img.shields.io/travis/php-http/adapter.svg?style=flat-square)](https://travis-ci.org/php-http/adapter)
6-
[![Code Coverage](https://img.shields.io/scrutinizer/coverage/g/php-http/adapter.svg?style=flat-square)](https://scrutinizer-ci.com/g/php-http/adapter)
7-
[![Quality Score](https://img.shields.io/scrutinizer/g/php-http/adapter.svg?style=flat-square)](https://scrutinizer-ci.com/g/php-http/adapter)
8-
[![HHVM Status](https://img.shields.io/hhvm/php-http/adapter.svg?style=flat-square)](http://hhvm.h4cc.de/package/php-http/adapter)
95
[![Total Downloads](https://img.shields.io/packagist/dt/php-http/adapter.svg?style=flat-square)](https://packagist.org/packages/php-http/adapter)
106

117
**HTTP adapter contract.**
@@ -27,13 +23,6 @@ This is the contract package for HTTP Adapter. It should be used when implementi
2723
There is also a virtual package which is versioned together with this contract package: [php-http/adapter-implementation](https://packagist.org/providers/php-http/adapter-implementation).
2824

2925

30-
## Testing
31-
32-
``` bash
33-
$ phpunit
34-
```
35-
36-
3726
## Contributing
3827

3928
Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

composer.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,16 @@
88
{
99
"name": "Eric GELOEN",
1010
"email": "[email protected]"
11+
},
12+
{
13+
"name": "Márk Sági-Kazár",
14+
"email": "[email protected]"
1115
}
1216
],
1317
"require": {
1418
"php": ">=5.4",
1519
"psr/http-message": "~1.0"
1620
},
17-
"require-dev": {
18-
"phpunit/phpunit": "~4.4"
19-
},
2021
"autoload": {
2122
"psr-4": {
2223
"Http\\Adapter\\": "src/"

phpunit.xml.dist

Lines changed: 0 additions & 13 deletions
This file was deleted.

src/Configurable.php

Lines changed: 0 additions & 35 deletions
This file was deleted.

src/ConfigurableHttpAdapter.php

Lines changed: 0 additions & 163 deletions
This file was deleted.

src/Exception.php

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<?php
2+
3+
/*
4+
* This file is part of the Http Adapter package.
5+
*
6+
* (c) Eric GELOEN <[email protected]>
7+
*
8+
* For the full copyright and license information, please read the LICENSE
9+
* file that was distributed with this source code.
10+
*/
11+
12+
namespace Http\Adapter;
13+
14+
/**
15+
* @author Márk Sági-Kazár <[email protected]>
16+
*/
17+
interface Exception
18+
{
19+
20+
}

0 commit comments

Comments
 (0)