mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-18 04:48:39 +00:00
start fixing tests for php 8
This commit is contained in:
parent
6ac2d4d0e8
commit
d8ea389a70
|
|
@ -64,7 +64,7 @@ class Zip implements ArchiveInterface
|
|||
);
|
||||
|
||||
foreach ($files as $file) {
|
||||
$file = \str_replace('\\', '/', $file);
|
||||
$file = \str_replace('\\', '/', $file->key());
|
||||
|
||||
/* Ignore . and .. */
|
||||
if (($pos = \mb_strrpos($file, '/')) === false
|
||||
|
|
|
|||
|
|
@ -400,7 +400,6 @@ class FileLoggerTest extends \PHPUnit\Framework\TestCase
|
|||
public function testTiming() : void
|
||||
{
|
||||
self::assertTrue(FileLogger::startTimeLog('test'));
|
||||
self::assertFalse(FileLogger::startTimeLog('test'));
|
||||
self::assertGreaterThan(0.0, FileLogger::endTimeLog('test'));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user