Setup pint & run code style fix

This commit is contained in:
gdarko
2024-01-29 04:46:01 -06:00
parent 8de34efd8c
commit 4ab92473e9
406 changed files with 1616 additions and 2026 deletions

View File

@@ -3,8 +3,8 @@
namespace InvoiceShelf\Console\Commands;
use Carbon\Carbon;
use InvoiceShelf\Models\Estimate;
use Illuminate\Console\Command;
use InvoiceShelf\Models\Estimate;
class CheckEstimateStatus extends Command
{

View File

@@ -3,8 +3,8 @@
namespace InvoiceShelf\Console\Commands;
use Carbon\Carbon;
use InvoiceShelf\Models\Invoice;
use Illuminate\Console\Command;
use InvoiceShelf\Models\Invoice;
class CheckInvoiceStatus extends Command
{

View File

@@ -46,7 +46,7 @@ class CreateTemplateCommand extends Command
}
if (Storage::disk('views')->exists("/app/pdf/{$type}/{$templateName}.blade.php")) {
$this->info("Template with given name already exists.");
$this->info('Template with given name already exists.');
return 0;
}

View File

@@ -2,8 +2,8 @@
namespace InvoiceShelf\Console\Commands;
use InvoiceShelf\Space\ModuleInstaller;
use Illuminate\Console\Command;
use InvoiceShelf\Space\ModuleInstaller;
class InstallModuleCommand extends Command
{

View File

@@ -2,9 +2,9 @@
namespace InvoiceShelf\Console\Commands;
use Illuminate\Console\Command;
use InvoiceShelf\Models\Setting;
use InvoiceShelf\Space\Updater;
use Illuminate\Console\Command;
// Implementation taken from Akaunting - https://github.com/akaunting/akaunting
class UpdateCommand extends Command