mirror of
https://github.com/PHPOffice/PhpSpreadsheet.git
synced 2026-10-01 09:27:49 +00:00
Phpstan Bleeding Edge Part 2 of Many
This will be the biggest of these changes. It takes care of all of the remaining problems in tests. I will handle the problems in src more slowly.
This commit is contained in:
@@ -10,6 +10,8 @@ use PHPUnit\Framework\TestCase;
|
||||
|
||||
class HtmlLoadStringTest extends TestCase
|
||||
{
|
||||
private static bool $alwaysTrue = true;
|
||||
|
||||
public function testCanLoadFromString(): void
|
||||
{
|
||||
$html = '<table>
|
||||
@@ -48,7 +50,7 @@ class HtmlLoadStringTest extends TestCase
|
||||
(new Html())->loadFromString($html);
|
||||
} else {
|
||||
// The meat of this test runs in HtmlPhpunit10Test
|
||||
self::assertTrue(true);
|
||||
self::assertTrue(self::$alwaysTrue);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user