Redo ComplexAssert

Its use is already causes an issue with Phpstan. It uses interfaces marked as internal by Phpunit, and it will not work with Phpunit 12. It is more complicated than needed. This PR corrects all these problems. It also corrects a handful of other problems that will show up with Phpunit 12. Only tests are changed - no source code.
This commit is contained in:
oleibman
2025-08-03 08:25:05 -07:00
parent 8f7a401f74
commit 3dcdbcac3e
32 changed files with 287 additions and 825 deletions
@@ -32,8 +32,7 @@ class SampleCoverageTest extends TestCase
->getMock();
$helper->expects(self::once())
->method('isDirOrMkdir')
->with(self::isType('string'))
->willReturn(false);
self::assertSame('', $helper->getFilename('a.xlsx'));
$helper->getFilename('a.xlsx');
}
}