Skip to content

Commit

Permalink
DX: fix PHPStan error
Browse files Browse the repository at this point in the history
  • Loading branch information
kubawerlos committed Dec 1, 2023
1 parent d680159 commit 4476963
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/Console/Output/ErrorOutputTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@
final class ErrorOutputTest extends TestCase
{
/**
* @param OutputInterface::VERBOSITY_* $verbosityLevel
*
* @dataProvider provideErrorOutputCases
*/
public function testErrorOutput(Error $error, int $verbosityLevel, int $lineNumber, int $exceptionLineNumber, string $process): void
Expand Down Expand Up @@ -138,6 +140,9 @@ public function testLintingExceptionOutputsAppliedFixersAndDiff(): void
self::assertStringNotContainsString($invalidDiff, $displayed);
}

/**
* @param OutputInterface::VERBOSITY_* $verbosityLevel
*/
private function createStreamOutput(int $verbosityLevel): StreamOutput
{
$output = new StreamOutput(fopen('php://memory', 'w', false));
Expand Down

0 comments on commit 4476963

Please sign in to comment.