Fixed PHPstan detection.

This commit is contained in:
flash 2025-03-14 23:27:15 +00:00
parent 63170fe412
commit 3bb955d61e
Signed by: flash
GPG key ID: 2C9C2C574D47FE3E
2 changed files with 3 additions and 2 deletions

View file

@ -1 +1 @@
0.2503.122121
0.2503.142326

View file

@ -1,7 +1,7 @@
<?php
// HttpFormContentTest.php
// Created: 2025-03-12
// Updated: 2025-03-12
// Updated: 2025-03-14
declare(strict_types=1);
@ -133,6 +133,7 @@ final class HttpFormContentTest extends TestCase {
$this->assertEquals('image/png', $the2->getHeaderLine('Content-Type'));
$this->assertEquals('image/png', $the2->getClientMediaType());
$the2Path = tempnam(sys_get_temp_dir(), 'ndx-test-');
$this->assertIsString($the2Path);
$the2->moveTo($the2Path);
$this->assertEquals($the2Hash, hash_file('sha256', $the2Path));
}