Skip to content

Commit

Permalink
Add classes final or abstract
Browse files Browse the repository at this point in the history
  • Loading branch information
eclipxe13 committed Feb 23, 2022
1 parent 7ed9e8d commit a836ddd
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion tests/FakeConsumerClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
use PhpCfdi\SatEstadoCfdi\Contracts\ConsumerClientResponseInterface;
use PhpCfdi\SatEstadoCfdi\Utils\ConsumerClientResponse;

class FakeConsumerClient implements ConsumerClientInterface
final class FakeConsumerClient implements ConsumerClientInterface
{
/**
* consume method will return this variable when invoked
Expand Down
2 changes: 1 addition & 1 deletion tests/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace PhpCfdi\SatEstadoCfdi\Tests;

class TestCase extends \PHPUnit\Framework\TestCase
abstract class TestCase extends \PHPUnit\Framework\TestCase
{
public static function filePath(string $append = ''): string
{
Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/CfdiStatusTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
use PhpCfdi\SatEstadoCfdi\Status\QueryStatus;
use PhpCfdi\SatEstadoCfdi\Tests\TestCase;

class CfdiStatusTest extends TestCase
final class CfdiStatusTest extends TestCase
{
public function testObjectReturnCorrectProperties(): void
{
Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/ConsumerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
use PhpCfdi\SatEstadoCfdi\Tests\FakeConsumerClient;
use PhpCfdi\SatEstadoCfdi\Tests\TestCase;

class ConsumerTest extends TestCase
final class ConsumerTest extends TestCase
{
public function testHasSameFactoryAndUriAsConstructed(): void
{
Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/Utils/CfdiStatusBuilderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
use PhpCfdi\SatEstadoCfdi\Tests\TestCase;
use PhpCfdi\SatEstadoCfdi\Utils\CfdiStatusBuilder;

class CfdiStatusBuilderTest extends TestCase
final class CfdiStatusBuilderTest extends TestCase
{
public function testCreateUsingEmptyResponse(): void
{
Expand Down

0 comments on commit a836ddd

Please sign in to comment.