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:
parent
4d47309576
commit
ffcd37d9f8
@ -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');
|
||||
|
@ -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));
|
||||
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user