<commit_before><?php declare(strict_types=1);

namespace GraphQL\Tests\Server;

use PHPUnit\Framework\TestCase;
use GraphQL\Server\Helper;
use GraphQL\Executor\ExecutionResult;

final class HelperTest extends TestCase {

    /**
     * @runInSeparateProcess
     */
    public function testSendResponseWithUtf8Support(): void
    {
        $helper = new Helper();
        $result = new ExecutionResult([
            'name' => 'Петя',
        ]);

        $this->expectOutputString('{"data":{"name":"Петя"}}');
        $helper->sendResponse($result);
    }
}<commit_msg>Apply php-cs-fixer changes<commit_after><?php declare(strict_types=1);

namespace GraphQL\Tests\Server;

use GraphQL\Executor\ExecutionResult;
use GraphQL\Server\Helper;
use PHPUnit\Framework\TestCase;

final class HelperTest extends TestCase
{
    /**
     * @runInSeparateProcess
     */
    public function testSendResponseWithUtf8Support(): void
    {
        $helper = new Helper();
        $result = new ExecutionResult([
            'name' => 'Петя',
        ]);

        $this->expectOutputString('{"data":{"name":"Петя"}}');
        $helper->sendResponse($result);
    }
}
{'fraction_non_alphanumeric': 0.1426086956521739, 'fraction_numerical': 0.0034782608695652175, 'mean_word_length': 3.2007299270072993, 'pattern_counts': {'":': 4, '<': 5, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7362752', 'n_tokens_mistral': 351, 'n_tokens_neox': 343, 'n_words': 62}