Skip to content

Commit

Permalink
Run npm run prettier-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zuka-e committed Dec 6, 2023
1 parent 50a08a6 commit 51e2ac2
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 14 deletions.
2 changes: 1 addition & 1 deletion backend/.vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"request": "launch",
"port": 9003,
"pathMappings": {
"/var/www/html/backend": "${workspaceFolder}",
"/var/www/html/backend": "${workspaceFolder}"
}
},
{
Expand Down
4 changes: 3 additions & 1 deletion backend/app/Providers/AppServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ public function register()
{
// cf. https://laravel.com/docs/10.x/telescope#local-only-installation
if ($this->app->environment('local')) {
$this->app->register(\Laravel\Horizon\HorizonServiceProvider::class);
$this->app->register(
\Laravel\Horizon\HorizonServiceProvider::class,
);
$this->app->register(HorizonServiceProvider::class);
}
}
Expand Down
10 changes: 5 additions & 5 deletions backend/artisan
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#!/usr/bin/env php
<?php

define('LARAVEL_START', microtime(true));

/*
Expand All @@ -15,9 +14,9 @@ define('LARAVEL_START', microtime(true));
|
*/

require __DIR__.'/vendor/autoload.php';
require __DIR__ . '/vendor/autoload.php';

$app = require_once __DIR__.'/bootstrap/app.php';
$app = require_once __DIR__ . '/bootstrap/app.php';

/*
|--------------------------------------------------------------------------
Expand All @@ -33,8 +32,8 @@ $app = require_once __DIR__.'/bootstrap/app.php';
$kernel = $app->make(Illuminate\Contracts\Console\Kernel::class);

$status = $kernel->handle(
$input = new Symfony\Component\Console\Input\ArgvInput,
new Symfony\Component\Console\Output\ConsoleOutput
$input = new Symfony\Component\Console\Input\ArgvInput(),
new Symfony\Component\Console\Output\ConsoleOutput(),
);

/*
Expand All @@ -51,3 +50,4 @@ $status = $kernel->handle(
$kernel->terminate($input, $status);

exit($status);

2 changes: 1 addition & 1 deletion backend/config/horizon.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@

'prefix' => env(
'HORIZON_PREFIX',
Str::slug(env('APP_NAME', 'laravel'), '_').'_horizon:'
Str::slug(env('APP_NAME', 'laravel'), '_') . '_horizon:',
),

/*
Expand Down
5 changes: 1 addition & 4 deletions backend/config/view.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,5 @@
|
*/

'compiled' => env(
'VIEW_COMPILED_PATH',
storage_path('framework/views'),
),
'compiled' => env('VIEW_COMPILED_PATH', storage_path('framework/views')),
];
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

return new class extends Migration
{
return new class extends Migration {
/**
* Run the migrations.
*/
Expand Down

0 comments on commit 51e2ac2

Please sign in to comment.