From 12c20aaee08d9a3bc6f7d848bdca0bc0d3611057 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ey=C3=BCp=20Erdo=C4=9Fan?= Date: Mon, 27 May 2024 17:09:24 +0300 Subject: [PATCH] Add php artisan pint:fix command --- app/Console/Commands/PintFixCommand.php | 36 +++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 app/Console/Commands/PintFixCommand.php diff --git a/app/Console/Commands/PintFixCommand.php b/app/Console/Commands/PintFixCommand.php new file mode 100644 index 0000000..9e6bddd --- /dev/null +++ b/app/Console/Commands/PintFixCommand.php @@ -0,0 +1,36 @@ +info('Running `./vendor/bin/pint`...'); + + $output = shell_exec(base_path('vendor/bin/pint')); + + return $this->info($output); + } + } +}