From 0f7f0f87fa237627c29f4f91abaeb48a9493d6e2 Mon Sep 17 00:00:00 2001 From: jrfnl Date: Tue, 31 Oct 2023 01:40:40 +0100 Subject: [PATCH] Tests: add abstract `NonSniffTestCase` class ... for tests which are directly not related to sniffs, nor need a code sample, but which do need a PHPCS File object. Note: this test case will likely be moved to PHPCSUtils in the near future. --- Yoast/Tests/NonSniffTestCase.php | 44 ++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 Yoast/Tests/NonSniffTestCase.php diff --git a/Yoast/Tests/NonSniffTestCase.php b/Yoast/Tests/NonSniffTestCase.php new file mode 100644 index 00000000..c7d12d1f --- /dev/null +++ b/Yoast/Tests/NonSniffTestCase.php @@ -0,0 +1,44 @@ +config = $config; + + return $phpcsFile; + } +}