From da7240ceb9860b6e9c0bc9190a608508ce86127a Mon Sep 17 00:00:00 2001 From: Benjamin Morel Date: Thu, 20 Feb 2025 15:37:44 +0100 Subject: [PATCH] fixup! Use flexible nowdocs --- tests/ExportClosureTest.php | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/tests/ExportClosureTest.php b/tests/ExportClosureTest.php index 44a5b0e..3cbe98b 100644 --- a/tests/ExportClosureTest.php +++ b/tests/ExportClosureTest.php @@ -264,16 +264,16 @@ public function testExportEnumMatchFunction(): void ]; $expected = <<<'PHP' -[ - (object) [ - 'callback' => function (\Brick\VarExporter\Tests\Classes\Enum $enum): string { - return match ($enum) { - \Brick\VarExporter\Tests\Classes\Enum::TEST => 'foo', - }; - } - ] -] -PHP; + [ + (object) [ + 'callback' => function (\Brick\VarExporter\Tests\Classes\Enum $enum): string { + return match ($enum) { + \Brick\VarExporter\Tests\Classes\Enum::TEST => 'foo', + }; + } + ] + ] + PHP; $this->assertExportEquals($expected, $var); }