* Dariusz Rumiński * * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ namespace PhpCsFixer\Tests\Console\Report\ListSetsReport; use PhpCsFixer\Console\Report\ListSetsReport\ReporterInterface; use PhpCsFixer\Console\Report\ListSetsReport\TextReporter; /** * @author Dariusz Rumiński * * @internal * * @covers \PhpCsFixer\Console\Report\ListSetsReport\TextReporter */ final class TextReporterTest extends AbstractReporterTestCase { protected function createReporter(): ReporterInterface { return new TextReporter(); } protected function getFormat(): string { return 'txt'; } protected function assertFormat(string $expected, string $input): void { self::assertSame($expected, $input); } protected static function createSimpleReport(): string { return str_replace("\n", PHP_EOL, ' 1) @PhpCsFixer Rule set as used by the PHP-CS-Fixer development team, highly opinionated. 2) @Symfony:risky Rules that follow the official `Symfony Coding Standards `_. Set contains risky rules. '); } }