Next major version 2 with PHP 8.1, Symfony 6, Tabler UI, 2FA ... (#2902)

This commit is contained in:
Kevin Papst
2022-12-31 21:19:55 +01:00
committed by GitHub
parent 95e06746bd
commit 90a0fd8a22
2164 changed files with 83700 additions and 86426 deletions

View File

@@ -21,7 +21,7 @@ use PHPUnit\Framework\TestCase;
*/
class QuickEntryModelTest extends TestCase
{
public function testEmptyModel()
public function testEmptyModel(): void
{
$sut = new QuickEntryModel();
self::assertFalse($sut->isPrototype());
@@ -37,7 +37,7 @@ class QuickEntryModelTest extends TestCase
self::assertFalse($sut->hasTimesheetWithDuration());
}
public function testFullModel()
public function testFullModel(): void
{
$user = new User();
$project = new Project();
@@ -101,7 +101,7 @@ class QuickEntryModelTest extends TestCase
self::assertCount(4, $sut->getTimesheets());
}
public function testHasExistingTimesheet()
public function testHasExistingTimesheet(): void
{
$sut = new QuickEntryModel();
@@ -113,7 +113,7 @@ class QuickEntryModelTest extends TestCase
self::assertFalse($sut->isPrototype());
}
public function testDefaultModel()
public function testDefaultModel(): void
{
$user = new User();
$project = new Project();
@@ -126,7 +126,7 @@ class QuickEntryModelTest extends TestCase
self::assertSame($user, $sut->getUser());
}
public function testPrototype()
public function testPrototype(): void
{
$sut = new QuickEntryModel();
$sut->markAsPrototype();