deps(deps): update dependency wayofdev/cs-fixer-config to v1.5.0 #50
testing.yml
on: pull_request
Matrix: code-coverage
Matrix: mutation-testing
Matrix: test-sqlite
Annotations
8 warnings
mutation-testing (ubuntu-latest, 8.2, locked):
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']);
}
}
|
mutation-testing (ubuntu-latest, 8.2, locked):
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);
}
|
mutation-testing (ubuntu-latest, 8.2, locked):
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']);
}
}
|
mutation-testing (ubuntu-latest, 8.2, locked):
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']);
}
}
|
mutation-testing (ubuntu-latest, 8.2, locked):
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']);
}
}
|
mutation-testing (ubuntu-latest, 8.2, locked):
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;
}
|
mutation-testing (ubuntu-latest, 8.2, locked):
src/Testing/Concerns/InteractsWithDatabase.php#L99
Escaped Mutant for Mutator "ProtectedVisibility":
--- Original
+++ New
@@ @@
$this->assertThat($table, new CountInDatabase(app(DatabaseProviderInterface::class), 0));
return $this;
}
- protected function cleanupMigrations(string $pathGlob) : void
+ private function cleanupMigrations(string $pathGlob) : void
{
$files = File::glob($pathGlob);
foreach ($files as $file) {
|
mutation-testing (ubuntu-latest, 8.2, locked):
src/Testing/RefreshDatabase.php#L13
Escaped Mutant for Mutator "ProtectedVisibility":
--- Original
+++ New
@@ @@
use Cycle\Database\Table;
trait RefreshDatabase
{
- protected function refreshDatabase() : void
+ private function refreshDatabase() : void
{
$database = app(DatabaseProviderInterface::class)->database('default');
/** @var Table $table */
|