Skip to content

Commit 5597e17

Browse files
committed
Increase test coverage to 96%
1 parent e4fb16e commit 5597e17

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+348
-56
lines changed

tests/unit/PseudoTypes/ArrayShapeItemTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
use PHPUnit\Framework\TestCase;
1717

18-
class ArrayShapeItemTest extends TestCase
18+
final class ArrayShapeItemTest extends TestCase
1919
{
2020
public function testCreate(): void
2121
{

tests/unit/PseudoTypes/ArrayShapeTest.php

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

11-
class ArrayShapeTest extends TestCase
11+
final class ArrayShapeTest extends TestCase
1212
{
1313
public function testCreate(): void
1414
{

tests/unit/PseudoTypes/CallableStringTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
use phpDocumentor\Reflection\Types\String_;
1717
use PHPUnit\Framework\TestCase;
1818

19-
class CallableStringTest extends TestCase
19+
final class CallableStringTest extends TestCase
2020
{
2121
public function testCreate(): void
2222
{

tests/unit/PseudoTypes/ClassStringTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
use phpDocumentor\Reflection\Types\String_;
2020
use PHPUnit\Framework\TestCase;
2121

22-
class ClassStringTest extends TestCase
22+
final class ClassStringTest extends TestCase
2323
{
2424
public function testCreate(): void
2525
{

tests/unit/PseudoTypes/ConditionalForParameterTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
use phpDocumentor\Reflection\Types\Static_;
1111
use PHPUnit\Framework\TestCase;
1212

13-
class ConditionalForParameterTest extends TestCase
13+
final class ConditionalForParameterTest extends TestCase
1414
{
1515
public function testCreate(): void
1616
{

tests/unit/PseudoTypes/ConditionalTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
use phpDocumentor\Reflection\Types\Static_;
1313
use PHPUnit\Framework\TestCase;
1414

15-
class ConditionalTest extends TestCase
15+
final class ConditionalTest extends TestCase
1616
{
1717
public function testCreate(): void
1818
{

tests/unit/PseudoTypes/ConstExpressionTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
use phpDocumentor\Reflection\Types\Object_;
1919
use PHPUnit\Framework\TestCase;
2020

21-
class ConstExpressionTest extends TestCase
21+
final class ConstExpressionTest extends TestCase
2222
{
2323
public function testCreate(): void
2424
{

tests/unit/PseudoTypes/EnumStringTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
use phpDocumentor\Reflection\Types\String_;
2020
use PHPUnit\Framework\TestCase;
2121

22-
class EnumStringTest extends TestCase
22+
final class EnumStringTest extends TestCase
2323
{
2424
public function testCreate(): void
2525
{

tests/unit/PseudoTypes/FloatValueTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
use phpDocumentor\Reflection\Types\Float_;
1717
use PHPUnit\Framework\TestCase;
1818

19-
class FloatValueTest extends TestCase
19+
final class FloatValueTest extends TestCase
2020
{
2121
public function testCreate(): void
2222
{

tests/unit/PseudoTypes/GenericTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
use phpDocumentor\Reflection\Types\String_;
1212
use PHPUnit\Framework\TestCase;
1313

14-
class GenericTest extends TestCase
14+
final class GenericTest extends TestCase
1515
{
1616
public function testCreate(): void
1717
{

0 commit comments

Comments
 (0)