Skip to content

Commit 685e1bf

Browse files
committed
[TASK] Make the testcases final
This helps communicate that the testcases are not intended to be subclasses. Fixes #431
1 parent 9d6c1d8 commit 685e1bf

File tree

9 files changed

+9
-9
lines changed

9 files changed

+9
-9
lines changed

tests/CSSList/AtRuleBlockListTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
/**
1212
* @covers \Sabberworm\CSS\CSSList\AtRuleBlockList
1313
*/
14-
class AtRuleBlockListTest extends TestCase
14+
final class AtRuleBlockListTest extends TestCase
1515
{
1616
/**
1717
* @test

tests/CSSList/DocumentTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
/**
1212
* @covers \Sabberworm\CSS\CSSList\Document
1313
*/
14-
class DocumentTest extends TestCase
14+
final class DocumentTest extends TestCase
1515
{
1616
/**
1717
* @var Document

tests/CSSList/KeyFrameTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
/**
1212
* @covers \Sabberworm\CSS\CSSList\KeyFrame
1313
*/
14-
class KeyFrameTest extends TestCase
14+
final class KeyFrameTest extends TestCase
1515
{
1616
/**
1717
* @var KeyFrame

tests/Comment/CommentTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* @covers \Sabberworm\CSS\OutputFormat
1515
* @covers \Sabberworm\CSS\OutputFormatter
1616
*/
17-
class CommentTest extends TestCase
17+
final class CommentTest extends TestCase
1818
{
1919
/**
2020
* @test

tests/OutputFormatTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
/**
1212
* @covers \Sabberworm\CSS\OutputFormat
1313
*/
14-
class OutputFormatTest extends TestCase
14+
final class OutputFormatTest extends TestCase
1515
{
1616
/**
1717
* @var string

tests/ParserTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
* @covers \Sabberworm\CSS\Value\Size::parse
3636
* @covers \Sabberworm\CSS\Value\URL::parse
3737
*/
38-
class ParserTest extends TestCase
38+
final class ParserTest extends TestCase
3939
{
4040
/**
4141
* @test

tests/RuleSet/DeclarationBlockTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
/**
1111
* @covers \Sabberworm\CSS\RuleSet\DeclarationBlock
1212
*/
13-
class DeclarationBlockTest extends TestCase
13+
final class DeclarationBlockTest extends TestCase
1414
{
1515
/**
1616
* @param string $sCss

tests/RuleSet/LenientParsingTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
* @covers \Sabberworm\CSS\Value\Size::parse
2020
* @covers \Sabberworm\CSS\Value\URL::parse
2121
*/
22-
class LenientParsingTest extends TestCase
22+
final class LenientParsingTest extends TestCase
2323
{
2424
/**
2525
* @test

tests/Value/CalcRuleValueListTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
/**
1010
* @covers \Sabberworm\CSS\Value\CalcRuleValueList
1111
*/
12-
class CalcRuleValueListTest extends TestCase
12+
final class CalcRuleValueListTest extends TestCase
1313
{
1414
/**
1515
* @test

0 commit comments

Comments
 (0)