Skip to content

Commit

Permalink
Migrated to serverless.
Browse files Browse the repository at this point in the history
  • Loading branch information
ABartelt committed Apr 30, 2024
1 parent 1179b6c commit 01164d8
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/Auth0Migrator.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public function __construct(protected ManagementInterface $management)
{
}

public function jsonFromChunk(Collection | LazyCollection $usersChunk): string
public function jsonFromChunk(Collection|LazyCollection $usersChunk): string
{
$jsonContent = Auth0UserSchema::makeJson($usersChunk);

Expand Down
2 changes: 1 addition & 1 deletion src/Auth0UserSchema.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class Auth0UserSchema
*
* @throws ValidationException
*/
public static function makeJson(Collection | LazyCollection $usersChunk): string
public static function makeJson(Collection|LazyCollection $usersChunk): string
{
// Mapping database users into auth0 schema with dependency injection of mapping.
$usersChunk = $usersChunk->map(
Expand Down
2 changes: 1 addition & 1 deletion src/Commands/MigrationCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public function handle(Auth0Migrator $migrator): int
['status' => $response->getStatusCode(), 'id' => $response->getBody(), 'count' => $count]
)
);
} catch (NetworkException | ArgumentException $e) {
} catch (NetworkException|ArgumentException $e) {
$this->error($e->getMessage());
$this->output->progressFinish();
} finally {
Expand Down
1 change: 0 additions & 1 deletion tests/TestCaseWithEnv.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ class TestCaseWithEnv extends TestCase
* Get package providers.
*
* @param Application $app
*
* @return array<int, class-string>
*/
protected function getPackageProviders($app): array
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

return new class() extends Migration {
return new class() extends Migration
{
/**
* Run the migrations.
*
Expand Down

0 comments on commit 01164d8

Please sign in to comment.