laravel/framework

View on GitHub
src/Illuminate/Testing/Concerns/TestDatabases.php

Summary

Maintainability
A
1 hr
Test Coverage

Method bootTestDatabase has 39 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    protected function bootTestDatabase()
    {
        ParallelTesting::setUpProcess(function () {
            $this->whenNotUsingInMemoryDatabase(function ($database) {
                if (ParallelTesting::option('recreate_databases')) {
Severity: Minor
Found in src/Illuminate/Testing/Concerns/TestDatabases.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status