Skip to content

Commit 36e020c

Browse files
committed
Merge pull request #65 from php-http/cleanup
Cleanup before stable release
2 parents 6a2de00 + 7d2cb6f commit 36e020c

File tree

4 files changed

+21
-6
lines changed

4 files changed

+21
-6
lines changed

CHANGELOG.md

+15
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
# Change Log
22

3+
## 1.0.0 - 2016-03-03
4+
5+
### Added
6+
7+
- New configuration for authentication plugin. You may now specify the authentication credentials directly in the bundle's configuration. This will break previous authentication configuration.
8+
- Client factories for Curl, React and Socket.
9+
10+
### Fixed
11+
12+
- Bug with circular reference when a client was named 'default'
13+
14+
### Removed
15+
16+
- Dependency on `php-http/discovery`. You must now install `puli/symfony-bundle` to use auto discovery.
17+
318
## 0.2.0 - 2016-02-23
419

520
## 0.1.0 - 2016-01-11

ClientFactory/PluginClientFactory.php

+3-2
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,18 @@
22

33
namespace Http\HttplugBundle\ClientFactory;
44

5+
use Http\Client\Plugin\Plugin;
56
use Http\Client\Plugin\PluginClient;
67

78
/**
89
* This factory creates a PluginClient.
910
*
1011
* @author Tobias Nyholm <[email protected]>
1112
*/
12-
class PluginClientFactory
13+
final class PluginClientFactory
1314
{
1415
/**
15-
* @param array $plugins
16+
* @param Plugin[] $plugins
1617
* @param ClientFactory $factory
1718
* @param array $config
1819
*

HttplugFactory.php

+1-2
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ public function find($type)
3737
{
3838
$class = $this->findOneByType($type);
3939

40-
// TODO: use doctrine instantiator?
4140
return new $class();
4241
}
4342

@@ -74,7 +73,7 @@ private function findOneByType($type)
7473
}
7574

7675
/**
77-
* Evaulates conditions to boolean.
76+
* Evaluates conditions to boolean.
7877
*
7978
* @param mixed $condition
8079
*

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# HttplugBundle
1+
# HTTPlug Bundle
22

33
[![Latest Version](https://img.shields.io/github/release/php-http/HttplugBundle.svg?style=flat-square)](https://github.com/php-http/HttplugBundle/releases)
44
[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE)
@@ -7,7 +7,7 @@
77
[![Quality Score](https://img.shields.io/scrutinizer/g/php-http/httplug-bundle.svg?style=flat-square)](https://scrutinizer-ci.com/g/php-http/HttplugBundle)
88
[![Total Downloads](https://img.shields.io/packagist/dt/php-http/httplug-bundle.svg?style=flat-square)](https://packagist.org/packages/php-http/HttplugBundle)
99

10-
**Symfony integration for the [php-http Httplug](http://docs.httplug.io/) HTTP client**
10+
**Symfony integration for [HTTPlug](http://httplug.io/).**
1111

1212

1313
## Install

0 commit comments

Comments
 (0)