Skip to content

Commit

Permalink
Codestyle fix, split a long line in 2 lines.
Browse files Browse the repository at this point in the history
  • Loading branch information
tvbeek committed May 27, 2023
1 parent dd24706 commit b820ae4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/test/php/PHPMD/Renderer/SARIFRendererTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ public function testRendererCreatesExpectedNumberOfJsonElements()

$rule = new RuleStub('AnotherRuleStub');
$rule->addExample(' class Example'. PHP_EOL . '{'.PHP_EOL . '}'. PHP_EOL . ' ');
$rule->addExample(PHP_EOL . 'class AnotherExample'. PHP_EOL . '{'.PHP_EOL .' public $var;'. PHP_EOL . '}'. PHP_EOL . ' ');
$rule->addExample(PHP_EOL . 'class AnotherExample'. PHP_EOL .
'{' . PHP_EOL . ' public $var;' . PHP_EOL . '}' . PHP_EOL . ' ');
$rule->setSince(null);

$complexRuleViolationMock = $this->getRuleViolationMock(getcwd() . '/src/foobar.php', 23, 42, $rule);
Expand Down

0 comments on commit b820ae4

Please sign in to comment.