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

namespace Rector\YamlParser;

use PHPUnit\Framework\TestCase;

final class YamlParserTest extends TestCase
{
    /**
     * @var YamlParser
     */
    private $yamlParser;

    protected function setUp()
    {
        $this->yamlParser = new YamlParser();
    }

    public function test(): void
    {
        $result = $this->yamlParser->parseFile(__DIR__ . '/YamlParserSource/some_services.yml');

        dump($result);
        $result = implode(' ', $result);

        $this->assertStringEqualsFile(
            __DIR__ . '/YamlParserSource/expected.some_services.yml',
            $result
        );
    }
}<commit_msg>cs void<commit_after><?php declare(strict_types=1);

namespace Rector\YamlParser;

use PHPUnit\Framework\TestCase;

final class YamlParserTest extends TestCase
{
    /**
     * @var YamlParser
     */
    private $yamlParser;

    protected function setUp(): void
    {
        $this->yamlParser = new YamlParser();
    }

    public function test(): void
    {
        $result = $this->yamlParser->parseFile(__DIR__ . '/YamlParserSource/some_services.yml');

        dump($result);
        $result = implode(' ', $result);

        $this->assertStringEqualsFile(
            __DIR__ . '/YamlParserSource/expected.some_services.yml',
            $result
        );
    }
}
{'fraction_non_alphanumeric': 0.12723214285714285, 'fraction_numerical': 0.001488095238095238, 'mean_word_length': 2.5117493472584855, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 11, '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': '815015', 'n_tokens_mistral': 407, 'n_tokens_neox': 395, 'n_words': 74}