Code Coverage |
||||||||||||||||
Lines |
Branches |
Paths |
Functions and Methods |
Classes and Traits |
||||||||||||
| Total | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
CRAP | |
100.00% |
1 / 1 |
| RunOptions | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |
100.00% |
1 / 1 |
| __construct | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| 1 | <?php |
| 2 | |
| 3 | declare(strict_types=1); |
| 4 | |
| 5 | namespace Celemas\Quma\Migrations; |
| 6 | |
| 7 | use Closure; |
| 8 | |
| 9 | final readonly class RunOptions |
| 10 | { |
| 11 | /** @param Closure(): int $createMigrationsTable */ |
| 12 | public function __construct( |
| 13 | public bool $showStacktrace, |
| 14 | public bool $apply, |
| 15 | public bool $tableExists, |
| 16 | public Closure $createMigrationsTable, |
| 17 | ) {} |
| 18 | } |