1
0
mirror of https://github.com/halaxa/json-machine.git synced 2025-01-17 21:18:23 +01:00

make cs-fix

This commit is contained in:
Filip Halaxa 2022-01-27 20:25:46 +01:00
parent 4d47309576
commit ffcd37d9f8
3 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
<?php
require_once __DIR__ . '/../../vendor/autoload.php';
require_once __DIR__.'/../../vendor/autoload.php';
$client = new \GuzzleHttp\Client();
$response = $client->request('GET', 'https://httpbin.org/anything?key=value');

View File

@ -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));

View File

@ -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)
{