Skip to content

deps(deps): update phpstan packages #114

deps(deps): update phpstan packages

deps(deps): update phpstan packages #114

Triggered via pull request September 4, 2024 21:37
Status Failure
Total duration 2m 21s
Artifacts

testing.yml

on: pull_request
Matrix: code-coverage
Matrix: mutation-testing
Matrix: test-sqlite
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 6 warnings
test-sqlite (ubuntu-latest, 8.2, highest): src/Testing/Concerns/InteractsWithDatabase.php#L40
Declaration of WayOfDev\Cycle\Testing\Concerns\InteractsWithDatabase::assertDatabaseHas($table, array $data, $connection = null): static must be compatible with Orchestra\Testbench\TestCase::assertDatabaseHas($table, array $data = [], $connection = null)
test-sqlite (ubuntu-latest, 8.2, highest)
Process completed with exit code 255.
test-sqlite (ubuntu-latest, 8.3, highest): src/Testing/Concerns/InteractsWithDatabase.php#L40
Declaration of WayOfDev\Cycle\Testing\Concerns\InteractsWithDatabase::assertDatabaseHas($table, array $data, $connection = null): static must be compatible with Orchestra\Testbench\TestCase::assertDatabaseHas($table, array $data = [], $connection = null)
test-sqlite (ubuntu-latest, 8.3, highest)
Process completed with exit code 255.
test-sqlite (ubuntu-latest, 8.2, lowest)
The job was canceled because "ubuntu-latest_8_2_highest" failed.
test-sqlite (ubuntu-latest, 8.2, lowest)
The operation was canceled.
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#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(); }); } }
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/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) {