Skip to content

Commit 53a0e23

Browse files
committed
Merge pull request #6 from php-http/namespace
Change namespace
2 parents 6c87bb3 + 7471a12 commit 53a0e23

File tree

3 files changed

+17
-17
lines changed

3 files changed

+17
-17
lines changed

README.md

+10-10
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,27 @@
1-
# Mock Adapter
1+
# Mock Client
22

3-
[![Latest Version](https://img.shields.io/github/release/php-http/mock-adapter.svg?style=flat-square)](https://github.com/php-http/mock-adapter/releases)
3+
[![Latest Version](https://img.shields.io/github/release/php-http/mock-client.svg?style=flat-square)](https://github.com/php-http/mock-client/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/mock-adapter.svg?style=flat-square)](https://travis-ci.org/php-http/mock-adapter)
6-
[![Code Coverage](https://img.shields.io/scrutinizer/coverage/g/php-http/mock-adapter.svg?style=flat-square)](https://scrutinizer-ci.com/g/php-http/mock-adapter)
7-
[![Quality Score](https://img.shields.io/scrutinizer/g/php-http/mock-adapter.svg?style=flat-square)](https://scrutinizer-ci.com/g/php-http/mock-adapter)
8-
[![Total Downloads](https://img.shields.io/packagist/dt/php-http/mock-adapter.svg?style=flat-square)](https://packagist.org/packages/php-http/mock-adapter)
5+
[![Build Status](https://img.shields.io/travis/php-http/mock-client.svg?style=flat-square)](https://travis-ci.org/php-http/mock-client)
6+
[![Code Coverage](https://img.shields.io/scrutinizer/coverage/g/php-http/mock-client.svg?style=flat-square)](https://scrutinizer-ci.com/g/php-http/mock-client)
7+
[![Quality Score](https://img.shields.io/scrutinizer/g/php-http/mock-client.svg?style=flat-square)](https://scrutinizer-ci.com/g/php-http/mock-client)
8+
[![Total Downloads](https://img.shields.io/packagist/dt/php-http/mock-client.svg?style=flat-square)](https://packagist.org/packages/php-http/mock-client)
99

10-
**Mock HTTP Adapter for testing.**
10+
**Mock HTTP client**
1111

1212

1313
## Install
1414

1515
Via Composer
1616

1717
``` bash
18-
$ composer require php-http/mock-adapter
18+
$ composer require php-http/mock-client
1919
```
2020

2121

2222
## Usage
2323

24-
Use this adapter in a testing framework.
24+
Use this client in a testing framework.
2525

2626

2727
## Testing
@@ -43,7 +43,7 @@ If you discover any security related issues, please contact us at [security@php-
4343

4444
## Credits
4545

46-
Thanks to [David de Boer](https://github.com/ddeboer) for implementing this adapter.
46+
Thanks to [David de Boer](https://github.com/ddeboer) for implementing this client.
4747

4848

4949
## License

composer.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"name": "php-http/mock-adapter",
3-
"description": "Mock HTTP Adapter for testing",
2+
"name": "php-http/mock-client",
3+
"description": "Mock HTTP client",
44
"license": "MIT",
5-
"keywords": ["boilerplate", "http", "adapter", "psr7", "mock"],
5+
"keywords": ["boilerplate", "http", "client", "psr7", "mock"],
66
"homepage": "http://php-http.org",
77
"authors": [
88
{
@@ -20,16 +20,16 @@
2020
"henrikbjorn/phpspec-code-coverage" : "^1.0"
2121
},
2222
"provide": {
23-
"php-http/adapter-implementation": "0.1"
23+
"php-http/client-implementation": "1.0"
2424
},
2525
"autoload": {
2626
"psr-4": {
27-
"Http\\Adapter\\Mock\\": "src/"
27+
"Http\\Mock\\": "src/"
2828
}
2929
},
3030
"autoload-dev": {
3131
"psr-4": {
32-
"Http\\Adapter\\Mock\\Tests\\": "tests/"
32+
"Http\\Mock\\Tests\\": "tests/"
3333
}
3434
},
3535
"extra": {

src/Client.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace Http\Adapter\Mock;
3+
namespace Http\Mock;
44

55
use Http\Client\Common\HttpAsyncClientEmulator;
66
use Http\Client\HttpAsyncClient;

0 commit comments

Comments
 (0)