* 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\FixReport; use PhpCsFixer\Console\Application; use PhpCsFixer\Console\Report\FixReport\GitlabReporter; use PhpCsFixer\Console\Report\FixReport\ReporterInterface; use PhpCsFixer\Tests\Test\Assert\AssertJsonSchemaTrait; /** * @author Hans-Christian Otto * * @internal * * @covers \PhpCsFixer\Console\Report\FixReport\GitlabReporter */ final class GitlabReporterTest extends AbstractReporterTestCase { use AssertJsonSchemaTrait; protected function createReporter(): ReporterInterface { return new GitlabReporter(); } protected function getFormat(): string { return 'gitlab'; } protected static function createNoErrorReport(): string { return '[]'; } protected static function createSimpleReport(): string { $about = Application::getAbout(); return <<