Skip to content

Commit

Permalink
Tests compat with older Composer versions
Browse files Browse the repository at this point in the history
  • Loading branch information
gmazzap committed Feb 27, 2023
1 parent e3e74d6 commit d4996e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/src/TestIo.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ public function hasErrorThatMatches(string $regex): bool
* @param int $verbosity
* @return void
*/
public function write($messages, bool $newline = true, int $verbosity = self::NORMAL): void
public function write($messages, $newline = true, $verbosity = self::NORMAL): void
{
$this->executeTestWrite($messages, $newline, $verbosity, false);
}
Expand All @@ -107,7 +107,7 @@ public function write($messages, bool $newline = true, int $verbosity = self::NO
* @param int $verbosity
* @return void
*/
public function writeError($messages, bool $newline = true, int $verbosity = self::NORMAL): void
public function writeError($messages, $newline = true, $verbosity = self::NORMAL): void
{
$this->executeTestWrite($messages, $newline, $verbosity, true);
}
Expand Down

0 comments on commit d4996e8

Please sign in to comment.