Skip to content

Commit 5f8a085

Browse files
committed
Fix the casing in the used PHPUnit namespaces
This fixes some PHPStan warnings.
1 parent 892fb9c commit 5f8a085

File tree

3 files changed

+2
-12
lines changed

3 files changed

+2
-12
lines changed

phpstan-baseline.neon

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,3 @@ parameters:
1515
count: 5
1616
path: lib/Sabberworm/CSS/Property/Charset.php
1717

18-
-
19-
message: "#^Class PHPUnit\\\\Framework\\\\TestCase referenced with incorrect case\\: PHPunit\\\\Framework\\\\TestCase\\.$#"
20-
count: 1
21-
path: tests/Sabberworm/CSS/OutputFormatTest.php
22-
23-
-
24-
message: "#^Class PHPUnit\\\\Framework\\\\TestCase referenced with incorrect case\\: PHPunit\\\\Framework\\\\TestCase\\.$#"
25-
count: 1
26-
path: tests/Sabberworm/CSS/ParserTest.php
27-

tests/Sabberworm/CSS/OutputFormatTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
2222
EOT;
2323

24-
class OutputFormatTest extends \PHPunit\Framework\TestCase
24+
class OutputFormatTest extends \PHPUnit\Framework\TestCase
2525
{
2626
private $oParser;
2727
private $oDocument;

tests/Sabberworm/CSS/ParserTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
use Sabberworm\CSS\Value\Size;
1515
use Sabberworm\CSS\Value\URL;
1616

17-
class ParserTest extends \PHPunit\Framework\TestCase
17+
class ParserTest extends \PHPUnit\Framework\TestCase
1818
{
1919

2020
public function testFiles()

0 commit comments

Comments
 (0)