deps(deps): update axllent/mailpit docker tag to v1.21 #105
Annotations
10 warnings
🧪 Run mutation testing using Xdebug and infection/infection:
app/src/Bridge/Spiral/Bootloaders/AppBootloader.php#L21
Escaped Mutant for Mutator "ArrayItemRemoval":
--- Original
+++ New
@@ @@
protected static function defineInterceptors() : array
{
return [
- CycleInterceptor::class,
GridInterceptor::class,
GuardInterceptor::class,
// Allows to convert uuid string to UuidInterface instance
|
🧪 Run mutation testing using Xdebug and infection/infection:
app/src/Bridge/Spiral/Bootloaders/AppBootloader.php#L33
Escaped Mutant for Mutator "ArrayItemRemoval":
--- Original
+++ New
@@ @@
}
public function defineSingletons() : array
{
- return [CoreInterface::class => [self::class, 'domainCore']];
+ return [];
}
}
|
🧪 Run mutation testing using Xdebug and infection/infection:
app/src/Bridge/Spiral/Bootloaders/ExceptionHandlerBootloader.php#L34
Escaped Mutant for Mutator "ArrayItemRemoval":
--- Original
+++ New
@@ @@
}
public function defineBindings() : array
{
- return [SuppressErrorsInterface::class => EnvSuppressErrors::class, RendererInterface::class => PlainRenderer::class];
+ return [RendererInterface::class => PlainRenderer::class];
}
public function init(AbstractKernel $kernel) : void
{
|
🧪 Run mutation testing using Xdebug and infection/infection:
app/src/Bridge/Spiral/Bootloaders/ExceptionHandlerBootloader.php#L40
Escaped Mutant for Mutator "PublicVisibility":
--- Original
+++ New
@@ @@
{
return [SuppressErrorsInterface::class => EnvSuppressErrors::class, RendererInterface::class => PlainRenderer::class];
}
- public function init(AbstractKernel $kernel) : void
+ protected function init(AbstractKernel $kernel) : void
{
// Register the console renderer, that will be used when the application
// is running in the console.
|
🧪 Run mutation testing using Xdebug and infection/infection:
app/src/Bridge/Spiral/Bootloaders/ExceptionHandlerBootloader.php#L44
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
}
public function init(AbstractKernel $kernel) : void
{
- // Register the console renderer, that will be used when the application
- // is running in the console.
- $this->handler->addRenderer(new ConsoleRenderer());
+
$kernel->running(function () : void {
// Register the JSON renderer, that will be used when the application is
// running in the HTTP context and a JSON response is expected.
|
🧪 Run mutation testing using Xdebug and infection/infection:
app/src/Bridge/Spiral/Bootloaders/ExceptionHandlerBootloader.php#L46
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
// Register the console renderer, that will be used when the application
// is running in the console.
$this->handler->addRenderer(new ConsoleRenderer());
- $kernel->running(function () : void {
- // Register the JSON renderer, that will be used when the application is
- // running in the HTTP context and a JSON response is expected.
- $this->handler->addRenderer(new JsonRenderer());
- });
+
}
public function boot(LoggerReporter $logger, FileReporter $files, AppEnvironment $appEnv) : void
{
|
🧪 Run mutation testing using Xdebug and infection/infection:
app/src/Bridge/Spiral/Bootloaders/ExceptionHandlerBootloader.php#L53
Escaped Mutant for Mutator "PublicVisibility":
--- Original
+++ New
@@ @@
$this->handler->addRenderer(new JsonRenderer());
});
}
- public function boot(LoggerReporter $logger, FileReporter $files, AppEnvironment $appEnv) : void
+ protected function boot(LoggerReporter $logger, FileReporter $files, AppEnvironment $appEnv) : void
{
// Register the logger reporter, that will be used to log the exceptions using
// the logger component.
|
🧪 Run mutation testing using Xdebug and infection/infection:
app/src/Bridge/Spiral/Bootloaders/ExceptionHandlerBootloader.php#L57
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
}
public function boot(LoggerReporter $logger, FileReporter $files, AppEnvironment $appEnv) : void
{
- // Register the logger reporter, that will be used to log the exceptions using
- // the logger component.
- $this->handler->addReporter($logger);
+
// Register the file reporter. It allows you to save detailed information about an exception to a file
// known as snapshot.
if ($appEnv->isLocal()) {
|
🧪 Run mutation testing using Xdebug and infection/infection:
app/src/Bridge/Spiral/Bootloaders/ExceptionHandlerBootloader.php#L61
Escaped Mutant for Mutator "IfNegation":
--- Original
+++ New
@@ @@
$this->handler->addReporter($logger);
// Register the file reporter. It allows you to save detailed information about an exception to a file
// known as snapshot.
- if ($appEnv->isLocal()) {
+ if (!$appEnv->isLocal()) {
$this->handler->addReporter($files);
}
}
}
|
🧪 Run mutation testing using Xdebug and infection/infection:
app/src/Bridge/Spiral/Bootloaders/LoggingBootloader.php#L26
Escaped Mutant for Mutator "PublicVisibility":
--- Original
+++ New
@@ @@
public function __construct(private readonly ConfiguratorInterface $config)
{
}
- public function init(MonologBootloader $monolog) : void
+ protected function init(MonologBootloader $monolog) : void
{
// HTTP level errors
$monolog->addHandler(channel: ErrorHandlerMiddleware::class, handler: $monolog->logRotate(directory('runtime') . 'logs/http.log'));
|
Loading