We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6aee07e commit 3a05d20Copy full SHA for 3a05d20
tests/Knp/Snappy/PdfTest.php
@@ -3,7 +3,6 @@
3
namespace Tests\Knp\Snappy;
4
5
use Knp\Snappy\Pdf;
6
-use PHPUnit\Framework\Error\Error;
7
use PHPUnit\Framework\TestCase;
8
use RecursiveDirectoryIterator;
9
use FilesystemIterator;
@@ -82,7 +81,7 @@ public function testRemovesLocalFilesOnError(): void
82
81
$this->assertEquals(1, \count($pdf->temporaryFiles));
83
$this->expectException(RuntimeException::class);
84
85
- throw new RuntimeException('test error');
+ throw new RuntimeException('test error.');
86
// @phpstan-ignore-next-line See https://github.com/phpstan/phpstan/issues/7799
87
$this->assertFileNotExists(\reset($pdf->temporaryFiles));
88
}
0 commit comments