From 03edadc90f3a860df85f3ef59ce95d0ced6b6c18 Mon Sep 17 00:00:00 2001 From: Anders Pedersen Date: Tue, 11 Jun 2024 09:17:59 +0200 Subject: [PATCH] Changes based on phpcs issues --- tests/ViewTest.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/ViewTest.php b/tests/ViewTest.php index 2b95342..8a8dfc0 100644 --- a/tests/ViewTest.php +++ b/tests/ViewTest.php @@ -66,6 +66,7 @@ public function testRender() { $view = $this->createView(); $this->assertEquals( + // phpcs:ignore Generic.Files.LineLength "\n\n \n \n text content\n
\n \n \n\n", $view->render() ); @@ -127,6 +128,7 @@ public function testRequireToVar() $view = $this->createView(); $data = $view->requireToVar(__DIR__ . '/testData/view.php'); $this->assertEquals( + // phpcs:ignore Generic.Files.LineLength "\n\n \n \n text content\n
\n \n \n\n", $data ); @@ -158,7 +160,8 @@ public function render() */ public function testRenderComponent() { - $component = new class () extends \Genius257\View\Component { + $component = new class () extends \Genius257\View\Component + { public function render() {