Ran rector and made tests final

This commit is contained in:
Jan Böhmer 2026-02-14 23:32:43 +01:00
parent 43d72faf48
commit b21d294cf8
162 changed files with 407 additions and 393 deletions

View file

@ -28,7 +28,7 @@ use App\Entity\UserSystem\User;
use Doctrine\ORM\EntityManagerInterface;
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
class APIDocsAvailabilityTest extends WebTestCase
final class APIDocsAvailabilityTest extends WebTestCase
{
#[DataProvider('urlProvider')]
public function testDocAvailabilityForLoggedInUser(string $url): void

View file

@ -27,7 +27,7 @@ use ApiPlatform\Symfony\Bundle\Test\ApiTestCase;
use App\DataFixtures\APITokenFixtures;
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
use ApiPlatform\Symfony\Bundle\Test\Client;
class APITokenAuthenticationTest extends ApiTestCase
final class APITokenAuthenticationTest extends ApiTestCase
{
public function testUnauthenticated(): void
{

View file

@ -25,7 +25,7 @@ namespace App\Tests\API\Endpoints;
use App\Tests\API\AuthenticatedApiTestCase;
class ApiTokenEnpointTest extends AuthenticatedApiTestCase
final class ApiTokenEnpointTest extends AuthenticatedApiTestCase
{
public function testGetCurrentToken(): void
{

View file

@ -25,7 +25,7 @@ namespace App\Tests\API\Endpoints;
use App\Tests\API\Endpoints\CrudEndpointTestCase;
class AttachmentTypeEndpointTest extends CrudEndpointTestCase
final class AttachmentTypeEndpointTest extends CrudEndpointTestCase
{
protected function getBasePath(): string

View file

@ -25,7 +25,7 @@ namespace App\Tests\API\Endpoints;
use App\Tests\API\AuthenticatedApiTestCase;
class AttachmentsEndpointTest extends AuthenticatedApiTestCase
final class AttachmentsEndpointTest extends AuthenticatedApiTestCase
{
public function testGetCollection(): void
{

View file

@ -25,7 +25,7 @@ namespace App\Tests\API\Endpoints;
use App\Tests\API\Endpoints\CrudEndpointTestCase;
class CategoryEndpointTest extends CrudEndpointTestCase
final class CategoryEndpointTest extends CrudEndpointTestCase
{
protected function getBasePath(): string

View file

@ -24,7 +24,7 @@ declare(strict_types=1);
namespace App\Tests\API\Endpoints;
class CurrencyEndpointTest extends CrudEndpointTestCase
final class CurrencyEndpointTest extends CrudEndpointTestCase
{
protected function getBasePath(): string

View file

@ -25,7 +25,7 @@ namespace App\Tests\API\Endpoints;
use App\Tests\API\Endpoints\CrudEndpointTestCase;
class FootprintsEndpointTest extends CrudEndpointTestCase
final class FootprintsEndpointTest extends CrudEndpointTestCase
{
protected function getBasePath(): string

View file

@ -25,7 +25,7 @@ namespace API\Endpoints;
use App\Tests\API\AuthenticatedApiTestCase;
class InfoEndpointTest extends AuthenticatedApiTestCase
final class InfoEndpointTest extends AuthenticatedApiTestCase
{
public function testGetInfo(): void
{

View file

@ -25,7 +25,7 @@ namespace App\Tests\API\Endpoints;
use App\Tests\API\Endpoints\CrudEndpointTestCase;
class ManufacturersEndpointTest extends CrudEndpointTestCase
final class ManufacturersEndpointTest extends CrudEndpointTestCase
{
protected function getBasePath(): string

View file

@ -23,7 +23,7 @@ declare(strict_types=1);
namespace App\Tests\API\Endpoints;
class MeasurementUnitsEndpointTest extends CrudEndpointTestCase
final class MeasurementUnitsEndpointTest extends CrudEndpointTestCase
{
protected function getBasePath(): string

View file

@ -25,7 +25,7 @@ namespace App\Tests\API\Endpoints;
use App\Tests\API\Endpoints\CrudEndpointTestCase;
class OrderdetailsEndpointTest extends CrudEndpointTestCase
final class OrderdetailsEndpointTest extends CrudEndpointTestCase
{
protected function getBasePath(): string

View file

@ -23,7 +23,7 @@ declare(strict_types=1);
namespace App\Tests\API\Endpoints;
class ParametersEndpointTest extends CrudEndpointTestCase
final class ParametersEndpointTest extends CrudEndpointTestCase
{
protected function getBasePath(): string

View file

@ -25,7 +25,7 @@ namespace App\Tests\API\Endpoints;
use App\Tests\API\Endpoints\CrudEndpointTestCase;
class PartAssociationsEndpointTest extends CrudEndpointTestCase
final class PartAssociationsEndpointTest extends CrudEndpointTestCase
{
protected function getBasePath(): string

View file

@ -23,7 +23,7 @@ declare(strict_types=1);
namespace App\Tests\API\Endpoints;
class PartCustomStateEndpointTest extends CrudEndpointTestCase
final class PartCustomStateEndpointTest extends CrudEndpointTestCase
{
protected function getBasePath(): string

View file

@ -23,7 +23,7 @@ declare(strict_types=1);
namespace App\Tests\API\Endpoints;
class PartEndpointTest extends CrudEndpointTestCase
final class PartEndpointTest extends CrudEndpointTestCase
{
protected function getBasePath(): string

View file

@ -25,7 +25,7 @@ namespace App\Tests\API\Endpoints;
use App\Tests\API\Endpoints\CrudEndpointTestCase;
class PartLotsEndpointTest extends CrudEndpointTestCase
final class PartLotsEndpointTest extends CrudEndpointTestCase
{
protected function getBasePath(): string

View file

@ -25,7 +25,7 @@ namespace App\Tests\API\Endpoints;
use App\Tests\API\Endpoints\CrudEndpointTestCase;
class PricedetailsEndpointTest extends CrudEndpointTestCase
final class PricedetailsEndpointTest extends CrudEndpointTestCase
{
protected function getBasePath(): string

View file

@ -23,7 +23,7 @@ declare(strict_types=1);
namespace App\Tests\API\Endpoints;
class ProjectBOMEntriesEndpointTest extends CrudEndpointTestCase
final class ProjectBOMEntriesEndpointTest extends CrudEndpointTestCase
{
protected function getBasePath(): string

View file

@ -25,7 +25,7 @@ namespace App\Tests\API\Endpoints;
use App\Tests\API\Endpoints\CrudEndpointTestCase;
class ProjectsEndpointTest extends CrudEndpointTestCase
final class ProjectsEndpointTest extends CrudEndpointTestCase
{
protected function getBasePath(): string

View file

@ -25,7 +25,7 @@ namespace API\Endpoints;
use App\Tests\API\Endpoints\CrudEndpointTestCase;
class StorageLocationsEndpointTest extends CrudEndpointTestCase
final class StorageLocationsEndpointTest extends CrudEndpointTestCase
{
protected function getBasePath(): string

View file

@ -25,7 +25,7 @@ namespace App\Tests\API\Endpoints;
use App\Tests\API\Endpoints\CrudEndpointTestCase;
class SuppliersEndpointTest extends CrudEndpointTestCase
final class SuppliersEndpointTest extends CrudEndpointTestCase
{
protected function getBasePath(): string

View file

@ -23,7 +23,7 @@ declare(strict_types=1);
namespace App\Tests\API\Endpoints;
class UsersEndpointTest extends CrudEndpointTestCase
final class UsersEndpointTest extends CrudEndpointTestCase
{
protected function getBasePath(): string