mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-02-16 06:29: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
|
|
@ -26,7 +26,7 @@ use PHPUnit\Framework\Attributes\DataProvider;
|
|||
use App\Helpers\BBCodeToMarkdownConverter;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
class BBCodeToMarkdownConverterTest extends TestCase
|
||||
final class BBCodeToMarkdownConverterTest extends TestCase
|
||||
{
|
||||
protected BBCodeToMarkdownConverter $converter;
|
||||
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ use PHPUnit\Framework\Attributes\DataProvider;
|
|||
use App\Helpers\IPAnonymizer;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
class IPAnonymizerTest extends TestCase
|
||||
final class IPAnonymizerTest extends TestCase
|
||||
{
|
||||
|
||||
public static function anonymizeDataProvider(): \Generator
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ use App\Entity\ProjectSystem\ProjectBOMEntry;
|
|||
use App\Helpers\Projects\ProjectBuildRequest;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
class ProjectBuildRequestTest extends TestCase
|
||||
final class ProjectBuildRequestTest extends TestCase
|
||||
{
|
||||
|
||||
/** @var Project */
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ namespace App\Tests\Helpers;
|
|||
use App\Helpers\Trees\TreeViewNode;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
class TreeViewNodeTest extends TestCase
|
||||
final class TreeViewNodeTest extends TestCase
|
||||
{
|
||||
/**
|
||||
* @var TreeViewNode
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ namespace App\Tests\Helpers;
|
|||
use App\Helpers\TrinaryLogicHelper;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
class TrinaryLogicHelperTest extends TestCase
|
||||
final class TrinaryLogicHelperTest extends TestCase
|
||||
{
|
||||
|
||||
public function testNot()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue