Skip to content

Commit d2f1e87

Browse files
committed
chore pint apply
1 parent 15b5afa commit d2f1e87

File tree

323 files changed

+893
-866
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

323 files changed

+893
-866
lines changed

src/Dacapo/Application/UseCase/DacapoCommandUseCase.php

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
<?php declare(strict_types=1);
1+
<?php
2+
3+
declare(strict_types=1);
24

35
namespace UcanLab\LaravelDacapo\Dacapo\Application\UseCase;
46

@@ -13,13 +15,6 @@
1315

1416
final class DacapoCommandUseCase
1517
{
16-
/**
17-
* @param DatabaseSchemasStorage $databaseSchemasStorage
18-
* @param DatabaseMigrationsStorage $databaseMigrationsStorage
19-
* @param DatabaseDriver $databaseBuilder
20-
* @param MigrationCreateStub $migrationCreateStub
21-
* @param MigrationUpdateStub $migrationUpdateStub
22-
*/
2318
public function __construct(
2419
private DatabaseSchemasStorage $databaseSchemasStorage,
2520
private DatabaseMigrationsStorage $databaseMigrationsStorage,
@@ -29,9 +24,6 @@ public function __construct(
2924
) {
3025
}
3126

32-
/**
33-
* @return DacapoCommandUseCaseOutput
34-
*/
3527
public function handle(): DacapoCommandUseCaseOutput
3628
{
3729
$schemaList = $this->databaseSchemasStorage->getSchemaList();
@@ -46,7 +38,6 @@ public function handle(): DacapoCommandUseCaseOutput
4638
}
4739

4840
/**
49-
* @param SchemaList $schemaList
5041
* @return array<int, string>
5142
*/
5243
private function generateCreateTableMigrationFile(SchemaList $schemaList): array
@@ -64,7 +55,6 @@ private function generateCreateTableMigrationFile(SchemaList $schemaList): array
6455
}
6556

6657
/**
67-
* @param SchemaList $schemaList
6858
* @return array<int, string>
6959
*/
7060
private function generateCreateIndexMigrationFile(SchemaList $schemaList): array
@@ -84,7 +74,6 @@ private function generateCreateIndexMigrationFile(SchemaList $schemaList): array
8474
}
8575

8676
/**
87-
* @param SchemaList $schemaList
8877
* @return array<int, string>
8978
*/
9079
private function generateConstraintForeignKeyMigrationFile(SchemaList $schemaList): array

src/Dacapo/Application/UseCase/Input/DacapoCommandUseCaseInput.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
<?php declare(strict_types=1);
1+
<?php
2+
3+
declare(strict_types=1);
24

35
namespace UcanLab\LaravelDacapo\Dacapo\Application\UseCase\Input;
46

src/Dacapo/Application/UseCase/Output/DacapoCommandUseCaseOutput.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
<?php declare(strict_types=1);
1+
<?php
2+
3+
declare(strict_types=1);
24

35
namespace UcanLab\LaravelDacapo\Dacapo\Application\UseCase\Output;
46

src/Dacapo/Console/DacapoClearCommand.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
<?php declare(strict_types=1);
1+
<?php
2+
3+
declare(strict_types=1);
24

35
namespace UcanLab\LaravelDacapo\Dacapo\Console;
46

@@ -30,9 +32,6 @@ final class DacapoClearCommand extends Command
3032
*/
3133
protected $description = 'Clear migration directory.';
3234

33-
/**
34-
* @param Filesystem $filesystem
35-
*/
3635
public function handle(Filesystem $filesystem): void
3736
{
3837
$this->newLine();

src/Dacapo/Console/DacapoCommand.php

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
<?php declare(strict_types=1);
1+
<?php
2+
3+
declare(strict_types=1);
24

35
namespace UcanLab\LaravelDacapo\Dacapo\Console;
46

@@ -32,16 +34,13 @@ final class DacapoCommand extends Command
3234
*/
3335
protected $description = 'Generate migrations from schemas and migrate:fresh command.';
3436

35-
/**
36-
* @param DacapoCommandUseCase $useCase
37-
*/
3837
public function handle(
3938
DacapoCommandUseCase $useCase,
4039
): void {
4140
$this->call('dacapo:clear', ['--force' => true]);
4241

4342
$this->newLine();
44-
$this->components->info( 'Generating migration files.');
43+
$this->components->info('Generating migration files.');
4544

4645
$output = $useCase->handle();
4746

src/Dacapo/Console/DacapoConfigPublishCommand.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
<?php declare(strict_types=1);
1+
<?php
2+
3+
declare(strict_types=1);
24

35
namespace UcanLab\LaravelDacapo\Dacapo\Console;
46

src/Dacapo/Console/DacapoInitCommand.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
<?php declare(strict_types=1);
1+
<?php
2+
3+
declare(strict_types=1);
24

35
namespace UcanLab\LaravelDacapo\Dacapo\Console;
46

@@ -29,9 +31,6 @@ final class DacapoInitCommand extends Command
2931
*/
3032
protected $description = 'Init dacapo default schema.';
3133

32-
/**
33-
* @param Filesystem $filesystem
34-
*/
3534
public function handle(Filesystem $filesystem): void
3635
{
3736
if (! is_dir($schemasPath = $this->laravel->databasePath('schemas'))) {

src/Dacapo/Console/DacapoStubPublishCommand.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
<?php declare(strict_types=1);
1+
<?php
2+
3+
declare(strict_types=1);
24

35
namespace UcanLab\LaravelDacapo\Dacapo\Console;
46

@@ -27,9 +29,6 @@ final class DacapoStubPublishCommand extends Command
2729
*/
2830
protected $description = 'Publish dacapo stubs that are available for customization.';
2931

30-
/**
31-
* @param Filesystem $filesystem
32-
*/
3332
public function handle(Filesystem $filesystem): void
3433
{
3534
if (! is_dir($stubsPath = $this->laravel->basePath('stubs'))) {

src/Dacapo/Console/DacapoUninstallCommand.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
<?php declare(strict_types=1);
1+
<?php
2+
3+
declare(strict_types=1);
24

35
namespace UcanLab\LaravelDacapo\Dacapo\Console;
46

@@ -27,9 +29,6 @@ final class DacapoUninstallCommand extends Command
2729
*/
2830
protected $description = 'Uninstall dacapo.';
2931

30-
/**
31-
* @param Filesystem $filesystem
32-
*/
3332
public function handle(Filesystem $filesystem): void
3433
{
3534
$this->newLine();

src/Dacapo/Domain/MigrationFile/Driver/DatabaseDriver.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
<?php declare(strict_types=1);
1+
<?php
2+
3+
declare(strict_types=1);
24

35
namespace UcanLab\LaravelDacapo\Dacapo\Domain\MigrationFile\Driver;
46

0 commit comments

Comments
 (0)