diff --git a/examples/guzzleHttp.php b/examples/guzzleHttp.php index 5a857ce..1ca9607 100644 --- a/examples/guzzleHttp.php +++ b/examples/guzzleHttp.php @@ -1,6 +1,6 @@ request('GET', 'https://httpbin.org/anything?key=value'); diff --git a/examples/memLeak.php b/examples/memLeak.php index 06f1550..eb0fad2 100644 --- a/examples/memLeak.php +++ b/examples/memLeak.php @@ -2,14 +2,14 @@ use JsonMachine\Items; -require_once __DIR__ . '/../../vendor/autoload.php'; +require_once __DIR__.'/../../vendor/autoload.php'; ini_set('memory_limit', 128 * 1024 * 1024); function dummy() { $i = 0; - $string = file_get_contents(__DIR__ . '/../../test/performance/twitter_example_0.json'); + $string = file_get_contents(__DIR__.'/../../test/performance/twitter_example_0.json'); $item = '['.str_repeat($string.',', 400).$string.']'; var_dump(strlen($item)); diff --git a/examples/symfonyHttpClient.php b/examples/symfonyHttpClient.php index 3b21296..3d0e2c1 100644 --- a/examples/symfonyHttpClient.php +++ b/examples/symfonyHttpClient.php @@ -4,7 +4,7 @@ use JsonMachine\Items; use Symfony\Component\HttpClient\HttpClient; use Symfony\Contracts\HttpClient\ResponseStreamInterface; -require_once __DIR__ . '/../../vendor/autoload.php'; +require_once __DIR__.'/../../vendor/autoload.php'; function httpClientChunks(ResponseStreamInterface $responseStream) {