Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add gitlab reporter #243

Merged
merged 12 commits into from
May 13, 2022
Prev Previous commit
Next Next commit
Code style fix
frankdekker committed May 13, 2022
commit df60655ce0d4c312356d730847210b12bedb3515
4 changes: 2 additions & 2 deletions tests/Reporter/GitLabReporterTest.php
Original file line number Diff line number Diff line change
@@ -53,7 +53,7 @@ final class GitLabReporterTest extends TestCase
public function testReport(): void
{
$reporter = new GitLabReporter();
$output = $this->createMock(ConsoleOutput::class);
$output = $this->createMock(ConsoleOutput::class);

$output
->expects($this->once())
@@ -70,7 +70,7 @@ public function testReport(): void
public function testReportWithJsonException(): void
{
$reporter = new GitLabReporter();
$output = $this->createMock(ConsoleOutput::class);
$output = $this->createMock(ConsoleOutput::class);

$this->expectException(JsonException::class);
$reporter->report($output, [new Violation('template.twig', 10, 20, "Error message with latin1 character \xE7")]);
frankdekker marked this conversation as resolved.
Show resolved Hide resolved