Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump symfony/process from 6.3.2 to 6.4.14 #38

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions config/asseco-containers.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
/**
* UUIDs as primary keys.
*/
'uuid' => false,
'uuid' => false,

/**
* Timestamp types.
Expand All @@ -30,11 +30,11 @@
* Should the package run the migrations. Set to false if you're publishing
* and changing default migrations.
*/
'run' => true,
'run' => true,
],

'routes' => [
'prefix' => 'api',
'prefix' => 'api',
'middleware' => ['api'],
],
];
2 changes: 1 addition & 1 deletion migrations/2019_06_25_135753_create_containers_table.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public function down()
protected function seedData(): void
{
$data = [
'name' => 'Default',
'name' => 'Default',
'created_at' => now(),
'updated_at' => now(),
];
Expand Down
2 changes: 1 addition & 1 deletion src/App/Http/Requests/ContainerRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public function authorize()
public function rules()
{
return [
'name' => 'required|string|unique:containers,name' . ($this->route('container') ? ',' . $this->route('container')->id : null),
'name' => 'required|string|unique:containers,name' . ($this->route('container') ? ',' . $this->route('container')->id : null),
'owner_id' => 'nullable',
];
}
Expand Down
6 changes: 3 additions & 3 deletions src/Database/Factories/ContainerFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ public function modelName()
public function definition()
{
$data = [
'name' => $this->faker->unique()->word,
'owner_id' => $this->faker->randomNumber(),
'name' => $this->faker->unique()->word,
'owner_id' => $this->faker->randomNumber(),
'created_at' => now(),
'updated_at' => now(),
];

if (config('asseco-containers.migrations.uuid')) {
$data = array_merge($data, [
'owner_id' => Str::uuid(),
'owner_id' => Str::uuid(),
]);
}

Expand Down
Loading