Skip to content

Commit d982c85

Browse files
laravel-shiftMarvin Durot
authored andcommitted
Define test classes as final
1 parent 4689f70 commit d982c85

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/ApiTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
use PHPUnit\Framework\TestCase;
99
use TypeError;
1010

11-
class ApiTest extends TestCase
11+
final class ApiTest extends TestCase
1212
{
1313
protected const ENDPOINTS = ['client', 'catalogue', 'materiel', 'fabricant', 'type', 'tarif', 'caracteristique'];
1414
protected $token;

tests/TransportCurlTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
use PHPUnit\Framework\TestCase;
1010
use Cristal\ApiWrapper\Transports\Bearer;
1111

12-
class TransportCurlTest extends TestCase
12+
final class TransportCurlTest extends TestCase
1313
{
1414
/**
1515
* @var string

0 commit comments

Comments
 (0)