From 91f7fb503d0063c341ce86c93412d0e5e309e75d Mon Sep 17 00:00:00 2001 From: JasperTey Date: Tue, 12 Nov 2024 05:27:38 +0000 Subject: [PATCH] Fix styling --- tests/Generator/ActionMakeTest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/Generator/ActionMakeTest.php b/tests/Generator/ActionMakeTest.php index f99c1f4..52148fb 100644 --- a/tests/Generator/ActionMakeTest.php +++ b/tests/Generator/ActionMakeTest.php @@ -31,7 +31,7 @@ expect(Artisan::output())->when( Feature::IncludeFilepathInGeneratorCommandOutput->exists(), - fn($output) => $output->toContainFilepath($relativePath), + fn ($output) => $output->toContainFilepath($relativePath), ); expect(file_exists($expectedPath))->toBeTrue(); @@ -81,7 +81,7 @@ expect(file_exists($expectedPath))->toBeTrue(); - expect(file_get_contents($expectedPath))->toContain("class {$name} extends {$baseAction}" . PHP_EOL . '{'); + expect(file_get_contents($expectedPath))->toContain("class {$name} extends {$baseAction}".PHP_EOL.'{'); })->with([ 'BaseAction' => 'BaseAction', 'Base\Action' => 'Base\Action', @@ -107,5 +107,5 @@ Artisan::call("ddd:action {$domain}:{$name}"); expect(file_exists($expectedPath))->toBeTrue(); - expect(file_get_contents($expectedPath))->toContain("class {$name}" . PHP_EOL . '{'); + expect(file_get_contents($expectedPath))->toContain("class {$name}".PHP_EOL.'{'); });