From f7d70bfed43778d6cf9b4d0cf8a465de365b69ea Mon Sep 17 00:00:00 2001 From: Saju Varghese Date: Sun, 8 Feb 2026 20:05:29 -0800 Subject: [PATCH 1/2] doc: change language type --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" From ae173bbedc6cd6e19a2b103f126de3c442d4d462 Mon Sep 17 00:00:00 2001 From: Saju Varghese Date: Sun, 8 Feb 2026 20:05:40 -0800 Subject: [PATCH 2/2] test: reduce timeout from 1.0 to 0.1 for tests --- tests/unit/Connection/TcpSocketTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'); } }