chore update docs dependencies to v20.17.7 #140
Annotations
9 warnings
🧪 Run mutation testing using Xdebug and infection/infection:
src/Bridge/Cache/Providers/CacheServiceProvider.php#L25
Escaped Mutant for Mutator "UnwrapArrayMerge":
--- Original
+++ New
@@ @@
{
/** @var Repository $config */
$config = $this->app->get(Repository::class);
- $config->set('cycle.tokenizer.directories', array_merge($config->get('cycle.tokenizer.directories', []), [__DIR__ . '/../Entities']));
+ $config->set('cycle.tokenizer.directories', [__DIR__ . '/../Entities']);
}
}
|
🧪 Run mutation testing using Xdebug and infection/infection:
src/Bridge/Laravel/Providers/Registrators/RegisterSchema.php#L64
Escaped Mutant for Mutator "LogicalOrAllSubExprNegation":
--- Original
+++ New
@@ @@
/** @var CacheManagerContract $cache */
$cache = $app->get(CacheManagerContract::class);
$schemaCompiler = Compiler::fromMemory(cache: $cache);
- if ($schemaCompiler->isEmpty() || !$config->cacheSchema()) {
+ if (!$schemaCompiler->isEmpty() || $config->cacheSchema()) {
$schemaCompiler = Compiler::compile(registry: $app->get(Registry::class), queue: $app->get(GeneratorLoader::class));
$schemaCompiler->toMemory($cache);
}
|
🧪 Run mutation testing using Xdebug and infection/infection:
src/Bridge/Laravel/Providers/Registrators/RegisterSchema.php#L70
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
$schemaCompiler = Compiler::fromMemory(cache: $cache);
if ($schemaCompiler->isEmpty() || !$config->cacheSchema()) {
$schemaCompiler = Compiler::compile(registry: $app->get(Registry::class), queue: $app->get(GeneratorLoader::class));
- $schemaCompiler->toMemory($cache);
+
}
return $schemaCompiler->toSchema();
});
}
}
|
🧪 Run mutation testing using Xdebug and infection/infection:
src/Bridge/Queue/Providers/QueueServiceProvider.php#L25
Escaped Mutant for Mutator "UnwrapArrayMerge":
--- Original
+++ New
@@ @@
{
/** @var Repository $config */
$config = $this->app->get(Repository::class);
- $config->set('cycle.tokenizer.directories', array_merge($config->get('cycle.tokenizer.directories', []), [__DIR__ . '/../Entities']));
+ $config->set('cycle.tokenizer.directories', [__DIR__ . '/../Entities']);
}
}
|
🧪 Run mutation testing using Xdebug and infection/infection:
src/Bridge/Session/Providers/SessionServiceProvider.php#L25
Escaped Mutant for Mutator "UnwrapArrayMerge":
--- Original
+++ New
@@ @@
{
/** @var Repository $config */
$config = $this->app->get(Repository::class);
- $config->set('cycle.tokenizer.directories', array_merge($config->get('cycle.tokenizer.directories', []), [__DIR__ . '/../Entities']));
+ $config->set('cycle.tokenizer.directories', [__DIR__ . '/../Entities']);
}
}
|
🧪 Run mutation testing using Xdebug and infection/infection:
src/Bridge/Telescope/Providers/TelescopeServiceProvider.php#L25
Escaped Mutant for Mutator "UnwrapArrayMerge":
--- Original
+++ New
@@ @@
{
/** @var Repository $config */
$config = $this->app->get(Repository::class);
- $config->set('cycle.tokenizer.directories', array_merge($config->get('cycle.tokenizer.directories', []), [__DIR__ . '/../Entities']));
+ $config->set('cycle.tokenizer.directories', [__DIR__ . '/../Entities']);
}
}
|
🧪 Run mutation testing using Xdebug and infection/infection:
src/Schema/Generators/GeneratorQueue.php#L36
Escaped Mutant for Mutator "CloneRemoval":
--- Original
+++ New
@@ @@
}
public function add(string $group, GeneratorInterface|string $generator) : GeneratorLoader
{
- $queue = clone $this;
+ $queue = $this;
$queue->generators[$group][] = $generator;
return $queue;
}
|
🧪 Run mutation testing using Xdebug and infection/infection:
src/Testing/Concerns/InteractsWithDatabase.php#L109
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
}
protected function assertSoftDeleted($table, array $data = [], $connection = null, $deletedAtColumn = 'deleted_at') : self
{
- $this->assertThat($table, new SoftDeletedInDatabase(app(DatabaseProviderInterface::class), $data, $deletedAtColumn));
+
return $this;
}
protected function assertNotSoftDeleted($table, array $data = [], $connection = null, $deletedAtColumn = 'deleted_at') : self
|
🧪 Run mutation testing using Xdebug and infection/infection:
src/Testing/Concerns/InteractsWithDatabase.php#L123
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
}
protected function assertNotSoftDeleted($table, array $data = [], $connection = null, $deletedAtColumn = 'deleted_at') : self
{
- $this->assertThat($table, new NotSoftDeletedInDatabase(app(DatabaseProviderInterface::class), $data, $deletedAtColumn));
+
return $this;
}
}
|
Loading