diff --git a/README.md b/README.md index 112cd4e..0d82d1d 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ Originally a fork of [domnikl/statsd-php](https://github.com/domnikl/statsd-php) The best way to install statsd-php is to use Composer and add the following to your project's `composer.json` file: -```javascript +```json { "require": { "slickdeals/statsd": "^3.2" diff --git a/tests/unit/Connection/TcpSocketTest.php b/tests/unit/Connection/TcpSocketTest.php index cfb307b..2d2865c 100644 --- a/tests/unit/Connection/TcpSocketTest.php +++ b/tests/unit/Connection/TcpSocketTest.php @@ -34,7 +34,7 @@ public function testThrowsExceptionWhenTryingToConnectToNotExistingServer() $this->expectException(\Domnikl\Statsd\Connection\TcpSocketException::class); $this->expectExceptionMessage('Couldn\'t connect to host "localhost:66000":'); - $connection = new TcpSocket('localhost', 66000, 1.0); + $connection = new TcpSocket('localhost', 66000, 0.1); $connection->send('foobar'); } }