Skip to content

Commit

Permalink
Remove parameter from method call which doesn't exist in signature
Browse files Browse the repository at this point in the history
  • Loading branch information
edditor authored and sebastianbergmann committed Sep 7, 2019
1 parent c8c123a commit 9d37144
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions .psalm/baseline.xml
Original file line number Diff line number Diff line change
Expand Up @@ -287,9 +287,6 @@
<PossiblyUndefinedVariable occurrences="1">
<code>$color</code>
</PossiblyUndefinedVariable>
<TooManyArguments occurrences="1">
<code>Color::colorize($color, \str_pad($line, $padding), false)</code>
</TooManyArguments>
</file>
<file src="src/TextUI/TestRunner.php">
<LessSpecificReturnStatement occurrences="1"/>
Expand Down
2 changes: 1 addition & 1 deletion src/TextUI/ResultPrinter.php
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,7 @@ protected function colorizeTextBox(string $color, string $buffer): string
$styledLines = [];

foreach ($lines as $line) {
$styledLines[] = Color::colorize($color, \str_pad($line, $padding), false);
$styledLines[] = Color::colorize($color, \str_pad($line, $padding));
}

return \implode(\PHP_EOL, $styledLines);
Expand Down

0 comments on commit 9d37144

Please sign in to comment.