Release 2.12 (#4609)

This commit is contained in:
Kevin Papst
2024-02-07 23:47:25 +01:00
committed by GitHub
parent 7abe787778
commit 85a16a9363
394 changed files with 1189 additions and 6735 deletions

View File

@@ -32,7 +32,7 @@ class ReloadCommandTest extends KernelTestCase
));
}
public function testCommandName()
public function testCommandName(): void
{
$command = $this->application->find('kimai:reload');
self::assertInstanceOf(ReloadCommand::class, $command);

View File

@@ -19,7 +19,7 @@ use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;
*/
class ResetDevelopmentCommandTest extends KernelTestCase
{
public function testCommandName()
public function testCommandName(): void
{
$kernel = self::bootKernel();
$application = new Application($kernel);
@@ -30,7 +30,7 @@ class ResetDevelopmentCommandTest extends KernelTestCase
self::assertInstanceOf(ResetDevelopmentCommand::class, $command);
}
public function testCommandNameIsNotEnabledInProd()
public function testCommandNameIsNotEnabledInProd(): void
{
$sut = new ResetDevelopmentCommand('prod');
self::assertFalse($sut->isEnabled());

View File

@@ -20,7 +20,7 @@ use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;
*/
class ResetTestCommandTest extends KernelTestCase
{
public function testCommandName()
public function testCommandName(): void
{
$kernel = self::bootKernel();
$application = new Application($kernel);
@@ -31,7 +31,7 @@ class ResetTestCommandTest extends KernelTestCase
self::assertInstanceOf(ResetTestCommand::class, $command);
}
public function testCommandNameIsNotEnabledInProd()
public function testCommandNameIsNotEnabledInProd(): void
{
$sut = new ResetTestCommand($this->createMock(EntityManagerInterface::class), 'prod');
self::assertFalse($sut->isEnabled());

View File

@@ -34,13 +34,13 @@ class TimesheetStopAllCommandTest extends KernelTestCase
$this->application->add(new TimesheetStopAllCommand($service));
}
public function testCommandName()
public function testCommandName(): void
{
$command = $this->application->find('kimai:timesheet:stop-all');
self::assertInstanceOf(TimesheetStopAllCommand::class, $command);
}
public function testRun()
public function testRun(): void
{
$command = $this->application->find('kimai:timesheet:stop-all');
$commandTester = new CommandTester($command);