Skip to content

Commit 10517f6

Browse files
committed
Apply fixes from StyleCI
1 parent d5bcbc6 commit 10517f6

File tree

7 files changed

+36
-3
lines changed

7 files changed

+36
-3
lines changed

framework/core/migrations/2025_10_11_000000_create_queue_jobs.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
<?php
22

3+
/*
4+
* This file is part of Flarum.
5+
*
6+
* For detailed copyright and license information, please view the
7+
* LICENSE file that was distributed with this source code.
8+
*/
9+
310
use Flarum\Database\Migration;
411
use Illuminate\Database\Schema\Blueprint;
512

framework/core/migrations/2025_10_11_000001_create_queue_failed_jobs.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
<?php
22

3+
/*
4+
* This file is part of Flarum.
5+
*
6+
* For detailed copyright and license information, please view the
7+
* LICENSE file that was distributed with this source code.
8+
*/
9+
310
use Flarum\Database\Migration;
411
use Illuminate\Database\Schema\Blueprint;
512

framework/core/src/Console/ConsoleServiceProvider.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@
1919
use Flarum\Foundation\Console\AssetsPublishCommand;
2020
use Flarum\Foundation\Console\CacheClearCommand;
2121
use Flarum\Foundation\Console\InfoCommand;
22-
use Flarum\Foundation\ContainerUtil;
23-
use Flarum\Queue\Console\DatabaseWorkerArgs;
2422
use Flarum\Settings\SettingsRepositoryInterface;
2523
use Illuminate\Console\Events\CommandFinished;
2624
use Illuminate\Console\Scheduling\CacheEventMutex;

framework/core/src/Queue/Console/DatabaseWorkerArgs.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
<?php
22

3+
/*
4+
* This file is part of Flarum.
5+
*
6+
* For detailed copyright and license information, please view the
7+
* LICENSE file that was distributed with this source code.
8+
*/
9+
310
namespace Flarum\Queue\Console;
411

512
use Flarum\Settings\SettingsRepositoryInterface;

framework/core/src/Queue/Console/WorkCommand.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
<?php
22

3+
/*
4+
* This file is part of Flarum.
5+
*
6+
* For detailed copyright and license information, please view the
7+
* LICENSE file that was distributed with this source code.
8+
*/
9+
310
namespace Flarum\Queue\Console;
411

512
use Carbon\Carbon;

framework/core/src/Queue/DatabaseUuidFailedJobProvider.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
<?php
22

3+
/*
4+
* This file is part of Flarum.
5+
*
6+
* For detailed copyright and license information, please view the
7+
* LICENSE file that was distributed with this source code.
8+
*/
9+
310
namespace Flarum\Queue;
411

512
use Illuminate\Database\ConnectionInterface;

framework/core/src/Queue/QueueServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ public function __call(string $name, ?array $arguments): mixed
141141
'callback' => ContainerUtil::wrapCallback(function ($event) {
142142
$event->everyMinute();
143143
}, $container),
144-
'args' => ($container->make(DatabaseWorkerArgs::class))->args(),
144+
'args' => $container->make(DatabaseWorkerArgs::class)->args(),
145145
];
146146
});
147147

0 commit comments

Comments
 (0)