From 59e6733a6cf13af3c79bbd2e860b5a6c58161f9a Mon Sep 17 00:00:00 2001 From: kaioken Date: Tue, 25 Jun 2024 17:49:17 -0400 Subject: [PATCH 1/5] refact: fix relationship --- src/Domains/Connectors/Zoho/Actions/SyncZohoLeadAction.php | 2 +- src/Domains/Inventory/Variants/Models/Variants.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Domains/Connectors/Zoho/Actions/SyncZohoLeadAction.php b/src/Domains/Connectors/Zoho/Actions/SyncZohoLeadAction.php index 7d690a232..e30a1f15e 100644 --- a/src/Domains/Connectors/Zoho/Actions/SyncZohoLeadAction.php +++ b/src/Domains/Connectors/Zoho/Actions/SyncZohoLeadAction.php @@ -71,7 +71,7 @@ public function execute(): ?Lead default => LeadStatus::getByName('active'), }; - $user = UsersAssociatedApps::fromApp($this->app)->where('email', $zohoLead->Owner['email'])->first(); + $user = UsersAssociatedApps::fromApp($this->app)->where('email', $zohoLead->Owner['email'])->first()->user; if (! $localLead) { //create lead diff --git a/src/Domains/Inventory/Variants/Models/Variants.php b/src/Domains/Inventory/Variants/Models/Variants.php index f9781a01c..ceb044d5e 100644 --- a/src/Domains/Inventory/Variants/Models/Variants.php +++ b/src/Domains/Inventory/Variants/Models/Variants.php @@ -297,7 +297,7 @@ public function toSearchableArray(): array $attributes = $this->attributes()->get(); foreach ($attributes as $attribute) { //if its over 100 characters we dont want to index it - if (strlen($attribute->value) > 100) { + if (strlen((string) $attribute->value) > 100) { continue; } $variant['attributes'][$attribute->name] = $attribute->value; From e78496953846e76ba4118f0fd31472426a4c1b7b Mon Sep 17 00:00:00 2001 From: kaioken Date: Tue, 25 Jun 2024 18:00:45 -0400 Subject: [PATCH 2/5] fix: issue --- src/Domains/Connectors/Zoho/Actions/SyncZohoLeadAction.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Domains/Connectors/Zoho/Actions/SyncZohoLeadAction.php b/src/Domains/Connectors/Zoho/Actions/SyncZohoLeadAction.php index e30a1f15e..6486d1e2d 100644 --- a/src/Domains/Connectors/Zoho/Actions/SyncZohoLeadAction.php +++ b/src/Domains/Connectors/Zoho/Actions/SyncZohoLeadAction.php @@ -71,7 +71,7 @@ public function execute(): ?Lead default => LeadStatus::getByName('active'), }; - $user = UsersAssociatedApps::fromApp($this->app)->where('email', $zohoLead->Owner['email'])->first()->user; + $user = UsersAssociatedApps::fromApp($this->app)->where('email', $zohoLead->Owner['email'])->first()?->user; if (! $localLead) { //create lead From 6c03382f0c629d491061c9f6fda76b7652ce3cb6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 25 Jun 2024 22:07:22 +0000 Subject: [PATCH 3/5] build(deps): bump laravel/octane from 2.4.0 to 2.5.0 Bumps [laravel/octane](https://github.com/laravel/octane) from 2.4.0 to 2.5.0. - [Release notes](https://github.com/laravel/octane/releases) - [Changelog](https://github.com/laravel/octane/blob/2.x/CHANGELOG.md) - [Commits](https://github.com/laravel/octane/compare/v2.4.0...v2.5.0) --- updated-dependencies: - dependency-name: laravel/octane dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- composer.lock | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/composer.lock b/composer.lock index 3999b6a8e..400a8f324 100644 --- a/composer.lock +++ b/composer.lock @@ -3906,16 +3906,16 @@ }, { "name": "laravel/framework", - "version": "v11.11.1", + "version": "v11.12.0", "source": { "type": "git", "url": "https://github.com/laravel/framework.git", - "reference": "c9b52e84bd18f155e5ba59b948c7da3e7f37e87f" + "reference": "9a6d9cea83cfa6b9e8eda05c89741d0411d8ebe8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/framework/zipball/c9b52e84bd18f155e5ba59b948c7da3e7f37e87f", - "reference": "c9b52e84bd18f155e5ba59b948c7da3e7f37e87f", + "url": "https://api.github.com/repos/laravel/framework/zipball/9a6d9cea83cfa6b9e8eda05c89741d0411d8ebe8", + "reference": "9a6d9cea83cfa6b9e8eda05c89741d0411d8ebe8", "shasum": "" }, "require": { @@ -4107,25 +4107,26 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2024-06-20T10:54:53+00:00" + "time": "2024-06-25T19:33:56+00:00" }, { "name": "laravel/octane", - "version": "v2.4.0", + "version": "v2.5.0", "source": { "type": "git", "url": "https://github.com/laravel/octane.git", - "reference": "2c818d7d213de793b180fc2a079f71c951d494c7" + "reference": "2fd184106fb9296e5e531de54f29405c797f7ebf" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/octane/zipball/2c818d7d213de793b180fc2a079f71c951d494c7", - "reference": "2c818d7d213de793b180fc2a079f71c951d494c7", + "url": "https://api.github.com/repos/laravel/octane/zipball/2fd184106fb9296e5e531de54f29405c797f7ebf", + "reference": "2fd184106fb9296e5e531de54f29405c797f7ebf", "shasum": "" }, "require": { "laminas/laminas-diactoros": "^3.0", "laravel/framework": "^10.10.1|^11.0", + "laravel/prompts": "^0.1.24", "laravel/serializable-closure": "^1.3.0", "nesbot/carbon": "^2.66.0|^3.0", "php": "^8.1.0", @@ -4196,7 +4197,7 @@ "issues": "https://github.com/laravel/octane/issues", "source": "https://github.com/laravel/octane" }, - "time": "2024-05-31T19:17:54+00:00" + "time": "2024-06-24T08:06:44+00:00" }, { "name": "laravel/prompts", From 56b299073b3c28f90ec8ddfb3dc737b39a8fb222 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 25 Jun 2024 22:07:31 +0000 Subject: [PATCH 4/5] build(deps): bump spatie/laravel-data from 4.7.0 to 4.7.1 Bumps [spatie/laravel-data](https://github.com/spatie/laravel-data) from 4.7.0 to 4.7.1. - [Release notes](https://github.com/spatie/laravel-data/releases) - [Changelog](https://github.com/spatie/laravel-data/blob/main/CHANGELOG.md) - [Commits](https://github.com/spatie/laravel-data/compare/4.7.0...4.7.1) --- updated-dependencies: - dependency-name: spatie/laravel-data dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- composer.lock | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/composer.lock b/composer.lock index 3999b6a8e..04cc17b4d 100644 --- a/composer.lock +++ b/composer.lock @@ -3906,16 +3906,16 @@ }, { "name": "laravel/framework", - "version": "v11.11.1", + "version": "v11.12.0", "source": { "type": "git", "url": "https://github.com/laravel/framework.git", - "reference": "c9b52e84bd18f155e5ba59b948c7da3e7f37e87f" + "reference": "9a6d9cea83cfa6b9e8eda05c89741d0411d8ebe8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/framework/zipball/c9b52e84bd18f155e5ba59b948c7da3e7f37e87f", - "reference": "c9b52e84bd18f155e5ba59b948c7da3e7f37e87f", + "url": "https://api.github.com/repos/laravel/framework/zipball/9a6d9cea83cfa6b9e8eda05c89741d0411d8ebe8", + "reference": "9a6d9cea83cfa6b9e8eda05c89741d0411d8ebe8", "shasum": "" }, "require": { @@ -4107,7 +4107,7 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2024-06-20T10:54:53+00:00" + "time": "2024-06-25T19:33:56+00:00" }, { "name": "laravel/octane", @@ -8982,16 +8982,16 @@ }, { "name": "spatie/laravel-data", - "version": "4.7.0", + "version": "4.7.1", "source": { "type": "git", "url": "https://github.com/spatie/laravel-data.git", - "reference": "92af136b14f57c72b1b8e36cd5f7e274fb56385a" + "reference": "b7e10d345c059ff1de04168ec1d75b65157ac5a1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/laravel-data/zipball/92af136b14f57c72b1b8e36cd5f7e274fb56385a", - "reference": "92af136b14f57c72b1b8e36cd5f7e274fb56385a", + "url": "https://api.github.com/repos/spatie/laravel-data/zipball/b7e10d345c059ff1de04168ec1d75b65157ac5a1", + "reference": "b7e10d345c059ff1de04168ec1d75b65157ac5a1", "shasum": "" }, "require": { @@ -9054,7 +9054,7 @@ ], "support": { "issues": "https://github.com/spatie/laravel-data/issues", - "source": "https://github.com/spatie/laravel-data/tree/4.7.0" + "source": "https://github.com/spatie/laravel-data/tree/4.7.1" }, "funding": [ { @@ -9062,7 +9062,7 @@ "type": "github" } ], - "time": "2024-06-13T12:07:24+00:00" + "time": "2024-06-25T11:01:36+00:00" }, { "name": "spatie/laravel-google-cloud-storage", From 8e2f3375ff065dabd2d313eff192d837bf782139 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 25 Jun 2024 22:07:46 +0000 Subject: [PATCH 5/5] build(deps): bump laravel/framework from 11.11.1 to 11.12.0 Bumps [laravel/framework](https://github.com/laravel/framework) from 11.11.1 to 11.12.0. - [Release notes](https://github.com/laravel/framework/releases) - [Changelog](https://github.com/laravel/framework/blob/11.x/CHANGELOG.md) - [Commits](https://github.com/laravel/framework/compare/v11.11.1...v11.12.0) --- updated-dependencies: - dependency-name: laravel/framework dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- composer.lock | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/composer.lock b/composer.lock index 3999b6a8e..69d38b2b4 100644 --- a/composer.lock +++ b/composer.lock @@ -3906,16 +3906,16 @@ }, { "name": "laravel/framework", - "version": "v11.11.1", + "version": "v11.12.0", "source": { "type": "git", "url": "https://github.com/laravel/framework.git", - "reference": "c9b52e84bd18f155e5ba59b948c7da3e7f37e87f" + "reference": "9a6d9cea83cfa6b9e8eda05c89741d0411d8ebe8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/framework/zipball/c9b52e84bd18f155e5ba59b948c7da3e7f37e87f", - "reference": "c9b52e84bd18f155e5ba59b948c7da3e7f37e87f", + "url": "https://api.github.com/repos/laravel/framework/zipball/9a6d9cea83cfa6b9e8eda05c89741d0411d8ebe8", + "reference": "9a6d9cea83cfa6b9e8eda05c89741d0411d8ebe8", "shasum": "" }, "require": { @@ -4107,7 +4107,7 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2024-06-20T10:54:53+00:00" + "time": "2024-06-25T19:33:56+00:00" }, { "name": "laravel/octane",