Skip to content

Commit e72b7be

Browse files
committed
refactor(monorepo-builder): update release workers
- Remove unused workers - Update workers - Add new workers
1 parent 2afc651 commit e72b7be

File tree

2 files changed

+9
-11
lines changed

2 files changed

+9
-11
lines changed

monorepo-builder.php

+6-8
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,9 @@
1010
* This source file is subject to the MIT license that is bundled.
1111
*/
1212

13-
use Guanguans\MonorepoBuilderWorker\CreateGithubReleaseWorker;
14-
use Guanguans\MonorepoBuilderWorker\GoUpdateChangelogReleaseWorker;
15-
use Guanguans\MonorepoBuilderWorker\NodeUpdateChangelogReleaseWorker;
16-
use Guanguans\MonorepoBuilderWorker\PhpUpdateChangelogReleaseWorker;
13+
use Guanguans\MonorepoBuilderWorker\CreateGithubReleaseReleaseWorker;
1714
use Guanguans\MonorepoBuilderWorker\Support\EnvironmentChecker;
15+
use Guanguans\MonorepoBuilderWorker\UpdateChangelogViaGoReleaseWorker;
1816
use Symplify\MonorepoBuilder\Config\MBConfig;
1917
use Symplify\MonorepoBuilder\Release\ReleaseWorker\AddTagToChangelogReleaseWorker;
2018
use Symplify\MonorepoBuilder\Release\ReleaseWorker\PushNextDevReleaseWorker;
@@ -38,12 +36,12 @@
3836
// UpdateReplaceReleaseWorker::class,
3937
// SetCurrentMutualDependenciesReleaseWorker::class,
4038
// AddTagToChangelogReleaseWorker::class,
41-
// NodeUpdateChangelogReleaseWorker::class,
4239
TagVersionReleaseWorker::class,
4340
PushTagReleaseWorker::class,
44-
GoUpdateChangelogReleaseWorker::class,
45-
// PhpUpdateChangelogReleaseWorker::class,
46-
CreateGithubReleaseWorker::class,
41+
UpdateChangelogViaGoReleaseWorker::class,
42+
// UpdateChangelogViaNodeReleaseWorker::class,
43+
// UpdateChangelogViaPhpReleaseWorker::class,
44+
CreateGithubReleaseReleaseWorker::class,
4745
// SetNextMutualDependenciesReleaseWorker::class,
4846
// UpdateBranchAliasReleaseWorker::class,
4947
// PushNextDevReleaseWorker::class,

src/Facades/ExceptionNotify.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,18 @@
2020
* @method static void report(\Throwable $throwable, array|string $channels = null)
2121
* @method static string getDefaultDriver()
2222
* @method static bool shouldReport(\Throwable $throwable)
23-
* @method static mixed driver(null|string $driver = null)
23+
* @method static mixed driver(string|null $driver = null)
2424
* @method static \Guanguans\LaravelExceptionNotify\ExceptionNotifyManager extend(string $driver, \Closure $callback)
2525
* @method static array getDrivers()
2626
* @method static \Illuminate\Contracts\Container\Container getContainer()
2727
* @method static \Guanguans\LaravelExceptionNotify\ExceptionNotifyManager setContainer(\Illuminate\Contracts\Container\Container $container)
2828
* @method static \Guanguans\LaravelExceptionNotify\ExceptionNotifyManager forgetDrivers()
29-
* @method static void macro(string $name, callable|object $macro)
29+
* @method static void macro(string $name, object|callable $macro)
3030
* @method static void mixin(object $mixin, bool $replace = true)
3131
* @method static bool hasMacro(string $name)
3232
* @method static void flushMacros()
3333
* @method static mixed macroCall(string $method, array $parameters)
34-
* @method static \Guanguans\LaravelExceptionNotify\ExceptionNotifyManager|\Illuminate\Support\HigherOrderTapProxy tap(null|callable $callback = null)
34+
* @method static \Guanguans\LaravelExceptionNotify\ExceptionNotifyManager|\Illuminate\Support\HigherOrderTapProxy tap(callable|null $callback = null)
3535
*
3636
* @see \Guanguans\LaravelExceptionNotify\ExceptionNotifyManager
3737
*/

0 commit comments

Comments
 (0)