mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-02-16 22:49:36 +00:00
Ran rector and made tests final
This commit is contained in:
parent
43d72faf48
commit
b21d294cf8
162 changed files with 407 additions and 393 deletions
|
|
@ -44,7 +44,7 @@ namespace App\Tests\Services\LogSystem;
|
|||
use App\Services\LogSystem\EventCommentHelper;
|
||||
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
|
||||
|
||||
class EventCommentHelperTest extends WebTestCase
|
||||
final class EventCommentHelperTest extends WebTestCase
|
||||
{
|
||||
/**
|
||||
* @var EventCommentHelper
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ use App\Settings\SystemSettings\HistorySettings;
|
|||
use App\Tests\SettingsTestHelper;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
class EventCommentNeededHelperTest extends TestCase
|
||||
final class EventCommentNeededHelperTest extends TestCase
|
||||
{
|
||||
public function testIsCommentNeeded(): void
|
||||
{
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@ use App\Entity\LogSystem\UserLogoutLogEntry;
|
|||
use App\Services\LogSystem\EventLogger;
|
||||
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
|
||||
|
||||
class EventLoggerTest extends WebTestCase
|
||||
final class EventLoggerTest extends WebTestCase
|
||||
{
|
||||
/**
|
||||
* @var EventLogger
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ use Doctrine\ORM\EntityManagerInterface;
|
|||
use PHPUnit\Framework\TestCase;
|
||||
use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;
|
||||
|
||||
class TimeTravelTest extends KernelTestCase
|
||||
final class TimeTravelTest extends KernelTestCase
|
||||
{
|
||||
|
||||
private TimeTravel $service;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue