From dd6ba9661fbab5064774b8a40a98f9a51f6751b1 Mon Sep 17 00:00:00 2001 From: terremoth Date: Fri, 22 Nov 2024 13:46:16 -0300 Subject: [PATCH] Make DSV class abstract --- src/DSV/DSV.php | 2 +- tests/DSV/DSVTest.php | 22 ---------------------- 2 files changed, 1 insertion(+), 23 deletions(-) delete mode 100644 tests/DSV/DSVTest.php diff --git a/src/DSV/DSV.php b/src/DSV/DSV.php index 80da17d..00211ab 100644 --- a/src/DSV/DSV.php +++ b/src/DSV/DSV.php @@ -2,7 +2,7 @@ namespace DSV; -class DSV +abstract class DSV { /** * @var non-empty-string diff --git a/tests/DSV/DSVTest.php b/tests/DSV/DSVTest.php deleted file mode 100644 index 0e3347e..0000000 --- a/tests/DSV/DSVTest.php +++ /dev/null @@ -1,22 +0,0 @@ -assertEquals("\x1F", $dsv->delimiter); - } - - public function testSeparator(): void - { - $dsv = new DSV(); - $this->assertEquals("\x1E", $dsv->recordSeparator); - } -}