minor fixes for search

This commit is contained in:
David Bomba 2023-09-22 13:52:29 +10:00
parent dbfacaa2f0
commit 2fdd1f9a02
2 changed files with 167 additions and 138 deletions

View File

@ -19,15 +19,24 @@ use App\Models\User;
class SearchController extends Controller class SearchController extends Controller
{ {
private array $clients = [];
private array $client_contacts = [];
private array $invoices = [];
public function __invoke(GenericSearchRequest $request) public function __invoke(GenericSearchRequest $request)
{ {
/** @var \App\Models\User $user */ /** @var \App\Models\User $user */
$user = auth()->user(); $user = auth()->user();
$this->clientMap($user);
$this->invoiceMap($user);
return response()->json([ return response()->json([
'clients' => $this->clientMap($user), 'clients' => $this->clients,
'client_contacts' => $this->clientContactMap($user), 'client_contacts' => $this->client_contacts,
'invoices' => $this->invoiceMap($user), 'invoices' => $this->invoices,
'settings' => $this->settingsMap(), 'settings' => $this->settingsMap(),
], 200); ], 200);
@ -36,21 +45,37 @@ class SearchController extends Controller
private function clientMap(User $user) private function clientMap(User $user)
{ {
return Client::query() $clients = Client::query()
->company() ->company()
->where('is_deleted', 0) ->where('is_deleted', 0)
->when($user->cannot('view_all') || $user->cannot('view_client'), function ($query) use ($user) { ->when(!$user->hasPermission('view_all') || !$user->hasPermission('view_client'), function ($query) use ($user) {
$query->where('user_id', $user->id); $query->where('user_id', $user->id);
}) })
->cursor() ->orderBy('id', 'desc')
->map(function ($client) { ->take(1000)
return [ ->get();
'name' => $client->present()->name(),
'type' => '/client', foreach($clients as $client) {
'id' => $client->hashed_id, $this->clients[] = [
'path' => "/clients/{$client->hashed_id}/edit" 'name' => $client->present()->name(),
]; 'type' => '/client',
}); 'id' => $client->hashed_id,
'path' => "/clients/{$client->hashed_id}/edit"
];
$client->contacts->each(function ($contact) {
$this->client_contacts[] = [
'name' => $contact->present()->search_display(),
'type' => '/client_contact',
'id' => $contact->hashed_id,
'path' => "/clients/{$contact->hashed_id}"
];
});
}
} }
private function clientContactMap(User $user) private function clientContactMap(User $user)
@ -62,9 +87,10 @@ class SearchController extends Controller
->whereHas('client', function ($q) { ->whereHas('client', function ($q) {
$q->where('is_deleted', 0); $q->where('is_deleted', 0);
}) })
->when($user->cannot('view_all') || $user->cannot('view_client'), function ($query) use ($user) { ->when(!$user->hasPermission('view_all') || !$user->hasPermission('view_client'), function ($query) use ($user) {
$query->where('user_id', $user->id); $query->where('user_id', $user->id);
}) })
->orderBy('id', 'desc')
->cursor() ->cursor()
->map(function ($contact) { ->map(function ($contact) {
return [ return [
@ -79,25 +105,29 @@ class SearchController extends Controller
private function invoiceMap(User $user) private function invoiceMap(User $user)
{ {
return Invoice::query() $invoices = Invoice::query()
->company() ->company()
->with('client') ->with('client')
->where('is_deleted', 0) ->where('is_deleted', 0)
->whereHas('client', function ($q) { ->whereHas('client', function ($q) {
$q->where('is_deleted', 0); $q->where('is_deleted', 0);
}) })
->when($user->cannot('view_all') || $user->cannot('view_invoice'), function ($query) use ($user) { ->when(!$user->hasPermission('view_all') || !$user->hasPermission('view_invoice'), function ($query) use ($user) {
$query->where('user_id', $user->id); $query->where('user_id', $user->id);
}) })
->cursor() ->orderBy('id', 'desc')
->map(function ($invoice) { ->take(1000)
return [ ->get();
'name' => $invoice->client->present()->name() . ' - ' . $invoice->number,
'type' => '/invoice', foreach($invoices as $invoice) {
'id' => $invoice->hashed_id, $this->invoices[] = [
'path' => "/clients/{$invoice->hashed_id}/edit" 'name' => $invoice->client->present()->name() . ' - ' . $invoice->number,
]; 'type' => '/invoice',
}); 'id' => $invoice->hashed_id,
'path' => "/clients/{$invoice->hashed_id}/edit"
];
}
} }
private function settingsMap() private function settingsMap()

223
composer.lock generated
View File

@ -525,16 +525,16 @@
}, },
{ {
"name": "aws/aws-sdk-php", "name": "aws/aws-sdk-php",
"version": "3.281.8", "version": "3.281.11",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/aws/aws-sdk-php.git", "url": "https://github.com/aws/aws-sdk-php.git",
"reference": "eb349b9f31502a05c70362f57913b9fed6b65b1f" "reference": "9d466efae67d5016ed132fd4ffa1566a7d4cab98"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/eb349b9f31502a05c70362f57913b9fed6b65b1f", "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/9d466efae67d5016ed132fd4ffa1566a7d4cab98",
"reference": "eb349b9f31502a05c70362f57913b9fed6b65b1f", "reference": "9d466efae67d5016ed132fd4ffa1566a7d4cab98",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -614,9 +614,9 @@
"support": { "support": {
"forum": "https://forums.aws.amazon.com/forum.jspa?forumID=80", "forum": "https://forums.aws.amazon.com/forum.jspa?forumID=80",
"issues": "https://github.com/aws/aws-sdk-php/issues", "issues": "https://github.com/aws/aws-sdk-php/issues",
"source": "https://github.com/aws/aws-sdk-php/tree/3.281.8" "source": "https://github.com/aws/aws-sdk-php/tree/3.281.11"
}, },
"time": "2023-09-15T18:34:59+00:00" "time": "2023-09-20T19:16:24+00:00"
}, },
{ {
"name": "bacon/bacon-qr-code", "name": "bacon/bacon-qr-code",
@ -830,16 +830,16 @@
}, },
{ {
"name": "checkout/checkout-sdk-php", "name": "checkout/checkout-sdk-php",
"version": "3.0.14", "version": "3.0.15",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/checkout/checkout-sdk-php.git", "url": "https://github.com/checkout/checkout-sdk-php.git",
"reference": "e8a34d34abac3fb6e7b2227731eb2e75f6ff036f" "reference": "18a2278eb28cb1141b1cb189d4a2ee86b1837350"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/checkout/checkout-sdk-php/zipball/e8a34d34abac3fb6e7b2227731eb2e75f6ff036f", "url": "https://api.github.com/repos/checkout/checkout-sdk-php/zipball/18a2278eb28cb1141b1cb189d4a2ee86b1837350",
"reference": "e8a34d34abac3fb6e7b2227731eb2e75f6ff036f", "reference": "18a2278eb28cb1141b1cb189d4a2ee86b1837350",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -892,9 +892,9 @@
], ],
"support": { "support": {
"issues": "https://github.com/checkout/checkout-sdk-php/issues", "issues": "https://github.com/checkout/checkout-sdk-php/issues",
"source": "https://github.com/checkout/checkout-sdk-php/tree/3.0.14" "source": "https://github.com/checkout/checkout-sdk-php/tree/3.0.15"
}, },
"time": "2023-09-07T11:00:14+00:00" "time": "2023-09-19T14:42:51+00:00"
}, },
{ {
"name": "cleverit/ubl_invoice", "name": "cleverit/ubl_invoice",
@ -2586,16 +2586,16 @@
}, },
{ {
"name": "google/apiclient-services", "name": "google/apiclient-services",
"version": "v0.315.0", "version": "v0.316.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/googleapis/google-api-php-client-services.git", "url": "https://github.com/googleapis/google-api-php-client-services.git",
"reference": "9fe675be642888cded64be861891901f092ab72d" "reference": "08e3579d94363716cef2bc79643f3d30fdd914b5"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/googleapis/google-api-php-client-services/zipball/9fe675be642888cded64be861891901f092ab72d", "url": "https://api.github.com/repos/googleapis/google-api-php-client-services/zipball/08e3579d94363716cef2bc79643f3d30fdd914b5",
"reference": "9fe675be642888cded64be861891901f092ab72d", "reference": "08e3579d94363716cef2bc79643f3d30fdd914b5",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -2624,9 +2624,9 @@
], ],
"support": { "support": {
"issues": "https://github.com/googleapis/google-api-php-client-services/issues", "issues": "https://github.com/googleapis/google-api-php-client-services/issues",
"source": "https://github.com/googleapis/google-api-php-client-services/tree/v0.315.0" "source": "https://github.com/googleapis/google-api-php-client-services/tree/v0.316.0"
}, },
"time": "2023-09-10T01:10:37+00:00" "time": "2023-09-17T01:06:13+00:00"
}, },
{ {
"name": "google/auth", "name": "google/auth",
@ -3676,23 +3676,23 @@
}, },
{ {
"name": "imdhemy/laravel-purchases", "name": "imdhemy/laravel-purchases",
"version": "1.8.2", "version": "1.9.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/imdhemy/laravel-in-app-purchases.git", "url": "https://github.com/imdhemy/laravel-in-app-purchases.git",
"reference": "22c6c85f94b34fefe6a92e5d1df2e1d61bd62d38" "reference": "4471f5dc211931b847ac0bf88f78bd4fa9e3760d"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/imdhemy/laravel-in-app-purchases/zipball/22c6c85f94b34fefe6a92e5d1df2e1d61bd62d38", "url": "https://api.github.com/repos/imdhemy/laravel-in-app-purchases/zipball/4471f5dc211931b847ac0bf88f78bd4fa9e3760d",
"reference": "22c6c85f94b34fefe6a92e5d1df2e1d61bd62d38", "reference": "4471f5dc211931b847ac0bf88f78bd4fa9e3760d",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"ext-json": "*", "ext-json": "*",
"ext-openssl": "*", "ext-openssl": "*",
"imdhemy/appstore-iap": "^1.6", "imdhemy/appstore-iap": "^1.6",
"imdhemy/google-play-billing": "^1.4", "imdhemy/google-play-billing": "^1.5",
"laravel/framework": ">=8.0", "laravel/framework": ">=8.0",
"php": ">=8.0" "php": ">=8.0"
}, },
@ -3741,7 +3741,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/imdhemy/laravel-in-app-purchases/issues", "issues": "https://github.com/imdhemy/laravel-in-app-purchases/issues",
"source": "https://github.com/imdhemy/laravel-in-app-purchases/tree/1.8.2" "source": "https://github.com/imdhemy/laravel-in-app-purchases/tree/1.9.0"
}, },
"funding": [ "funding": [
{ {
@ -3749,7 +3749,7 @@
"type": "github" "type": "github"
} }
], ],
"time": "2023-07-04T16:11:06+00:00" "time": "2023-09-19T06:01:35+00:00"
}, },
{ {
"name": "intervention/image", "name": "intervention/image",
@ -4331,16 +4331,16 @@
}, },
{ {
"name": "laravel/framework", "name": "laravel/framework",
"version": "v10.23.1", "version": "v10.24.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/laravel/framework.git", "url": "https://github.com/laravel/framework.git",
"reference": "dbfd495557678759153e8d71cc2f6027686ca51e" "reference": "bcebd0a4c015d5c38aeec299d355a42451dd3726"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/laravel/framework/zipball/dbfd495557678759153e8d71cc2f6027686ca51e", "url": "https://api.github.com/repos/laravel/framework/zipball/bcebd0a4c015d5c38aeec299d355a42451dd3726",
"reference": "dbfd495557678759153e8d71cc2f6027686ca51e", "reference": "bcebd0a4c015d5c38aeec299d355a42451dd3726",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -4527,20 +4527,20 @@
"issues": "https://github.com/laravel/framework/issues", "issues": "https://github.com/laravel/framework/issues",
"source": "https://github.com/laravel/framework" "source": "https://github.com/laravel/framework"
}, },
"time": "2023-09-13T14:51:46+00:00" "time": "2023-09-19T15:25:04+00:00"
}, },
{ {
"name": "laravel/prompts", "name": "laravel/prompts",
"version": "v0.1.7", "version": "v0.1.8",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/laravel/prompts.git", "url": "https://github.com/laravel/prompts.git",
"reference": "554e7d855a22e87942753d68e23b327ad79b2070" "reference": "68dcc65babf92e1fb43cba0b3f78fc3d8002709c"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/laravel/prompts/zipball/554e7d855a22e87942753d68e23b327ad79b2070", "url": "https://api.github.com/repos/laravel/prompts/zipball/68dcc65babf92e1fb43cba0b3f78fc3d8002709c",
"reference": "554e7d855a22e87942753d68e23b327ad79b2070", "reference": "68dcc65babf92e1fb43cba0b3f78fc3d8002709c",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -4573,9 +4573,9 @@
], ],
"support": { "support": {
"issues": "https://github.com/laravel/prompts/issues", "issues": "https://github.com/laravel/prompts/issues",
"source": "https://github.com/laravel/prompts/tree/v0.1.7" "source": "https://github.com/laravel/prompts/tree/v0.1.8"
}, },
"time": "2023-09-12T11:09:22+00:00" "time": "2023-09-19T15:33:56+00:00"
}, },
{ {
"name": "laravel/serializable-closure", "name": "laravel/serializable-closure",
@ -6573,16 +6573,16 @@
}, },
{ {
"name": "nette/utils", "name": "nette/utils",
"version": "v4.0.1", "version": "v4.0.2",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/nette/utils.git", "url": "https://github.com/nette/utils.git",
"reference": "9124157137da01b1f5a5a22d6486cb975f26db7e" "reference": "cead6637226456b35e1175cc53797dd585d85545"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/nette/utils/zipball/9124157137da01b1f5a5a22d6486cb975f26db7e", "url": "https://api.github.com/repos/nette/utils/zipball/cead6637226456b35e1175cc53797dd585d85545",
"reference": "9124157137da01b1f5a5a22d6486cb975f26db7e", "reference": "cead6637226456b35e1175cc53797dd585d85545",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -6604,8 +6604,7 @@
"ext-intl": "to use Strings::webalize(), toAscii(), normalize() and compare()", "ext-intl": "to use Strings::webalize(), toAscii(), normalize() and compare()",
"ext-json": "to use Nette\\Utils\\Json", "ext-json": "to use Nette\\Utils\\Json",
"ext-mbstring": "to use Strings::lower() etc...", "ext-mbstring": "to use Strings::lower() etc...",
"ext-tokenizer": "to use Nette\\Utils\\Reflection::getUseStatements()", "ext-tokenizer": "to use Nette\\Utils\\Reflection::getUseStatements()"
"ext-xml": "to use Strings::length() etc. when mbstring is not available"
}, },
"type": "library", "type": "library",
"extra": { "extra": {
@ -6654,9 +6653,9 @@
], ],
"support": { "support": {
"issues": "https://github.com/nette/utils/issues", "issues": "https://github.com/nette/utils/issues",
"source": "https://github.com/nette/utils/tree/v4.0.1" "source": "https://github.com/nette/utils/tree/v4.0.2"
}, },
"time": "2023-07-30T15:42:21+00:00" "time": "2023-09-19T11:58:07+00:00"
}, },
{ {
"name": "nikic/php-parser", "name": "nikic/php-parser",
@ -8062,16 +8061,16 @@
}, },
{ {
"name": "phpseclib/phpseclib", "name": "phpseclib/phpseclib",
"version": "3.0.22", "version": "3.0.23",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/phpseclib/phpseclib.git", "url": "https://github.com/phpseclib/phpseclib.git",
"reference": "b6bd1c5f79b2c39e144770eb6d9180fbdb00d09b" "reference": "866cc78fbd82462ffd880e3f65692afe928bed50"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/phpseclib/phpseclib/zipball/b6bd1c5f79b2c39e144770eb6d9180fbdb00d09b", "url": "https://api.github.com/repos/phpseclib/phpseclib/zipball/866cc78fbd82462ffd880e3f65692afe928bed50",
"reference": "b6bd1c5f79b2c39e144770eb6d9180fbdb00d09b", "reference": "866cc78fbd82462ffd880e3f65692afe928bed50",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -8152,7 +8151,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/phpseclib/phpseclib/issues", "issues": "https://github.com/phpseclib/phpseclib/issues",
"source": "https://github.com/phpseclib/phpseclib/tree/3.0.22" "source": "https://github.com/phpseclib/phpseclib/tree/3.0.23"
}, },
"funding": [ "funding": [
{ {
@ -8168,20 +8167,20 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2023-09-16T11:49:37+00:00" "time": "2023-09-18T17:22:01+00:00"
}, },
{ {
"name": "phpstan/phpdoc-parser", "name": "phpstan/phpdoc-parser",
"version": "1.24.0", "version": "1.24.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/phpstan/phpdoc-parser.git", "url": "https://github.com/phpstan/phpdoc-parser.git",
"reference": "3510b0a6274cc42f7219367cb3abfc123ffa09d6" "reference": "9f854d275c2dbf84915a5c0ec9a2d17d2cd86b01"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/3510b0a6274cc42f7219367cb3abfc123ffa09d6", "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/9f854d275c2dbf84915a5c0ec9a2d17d2cd86b01",
"reference": "3510b0a6274cc42f7219367cb3abfc123ffa09d6", "reference": "9f854d275c2dbf84915a5c0ec9a2d17d2cd86b01",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -8213,9 +8212,9 @@
"description": "PHPDoc parser with support for nullable, intersection and generic types", "description": "PHPDoc parser with support for nullable, intersection and generic types",
"support": { "support": {
"issues": "https://github.com/phpstan/phpdoc-parser/issues", "issues": "https://github.com/phpstan/phpdoc-parser/issues",
"source": "https://github.com/phpstan/phpdoc-parser/tree/1.24.0" "source": "https://github.com/phpstan/phpdoc-parser/tree/1.24.1"
}, },
"time": "2023-09-07T20:46:32+00:00" "time": "2023-09-18T12:18:02+00:00"
}, },
{ {
"name": "pragmarx/google2fa", "name": "pragmarx/google2fa",
@ -15288,16 +15287,16 @@
}, },
{ {
"name": "maximebf/debugbar", "name": "maximebf/debugbar",
"version": "v1.18.2", "version": "v1.19.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/maximebf/php-debugbar.git", "url": "https://github.com/maximebf/php-debugbar.git",
"reference": "17dcf3f6ed112bb85a37cf13538fd8de49f5c274" "reference": "30f65f18f7ac086255a77a079f8e0dcdd35e828e"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/maximebf/php-debugbar/zipball/17dcf3f6ed112bb85a37cf13538fd8de49f5c274", "url": "https://api.github.com/repos/maximebf/php-debugbar/zipball/30f65f18f7ac086255a77a079f8e0dcdd35e828e",
"reference": "17dcf3f6ed112bb85a37cf13538fd8de49f5c274", "reference": "30f65f18f7ac086255a77a079f8e0dcdd35e828e",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -15348,9 +15347,9 @@
], ],
"support": { "support": {
"issues": "https://github.com/maximebf/php-debugbar/issues", "issues": "https://github.com/maximebf/php-debugbar/issues",
"source": "https://github.com/maximebf/php-debugbar/tree/v1.18.2" "source": "https://github.com/maximebf/php-debugbar/tree/v1.19.0"
}, },
"time": "2023-02-04T15:27:00+00:00" "time": "2023-09-19T19:53:10+00:00"
}, },
{ {
"name": "mockery/mockery", "name": "mockery/mockery",
@ -15498,37 +15497,37 @@
}, },
{ {
"name": "nunomaduro/collision", "name": "nunomaduro/collision",
"version": "v7.8.1", "version": "v7.9.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/nunomaduro/collision.git", "url": "https://github.com/nunomaduro/collision.git",
"reference": "61553ad3260845d7e3e49121b7074619233d361b" "reference": "296d0cf9fe462837ac0da8a568b56fc026b132da"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/nunomaduro/collision/zipball/61553ad3260845d7e3e49121b7074619233d361b", "url": "https://api.github.com/repos/nunomaduro/collision/zipball/296d0cf9fe462837ac0da8a568b56fc026b132da",
"reference": "61553ad3260845d7e3e49121b7074619233d361b", "reference": "296d0cf9fe462837ac0da8a568b56fc026b132da",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"filp/whoops": "^2.15.3", "filp/whoops": "^2.15.3",
"nunomaduro/termwind": "^1.15.1", "nunomaduro/termwind": "^1.15.1",
"php": "^8.1.0", "php": "^8.1.0",
"symfony/console": "^6.3.2" "symfony/console": "^6.3.4"
}, },
"require-dev": { "require-dev": {
"brianium/paratest": "^7.2.4", "brianium/paratest": "^7.2.7",
"laravel/framework": "^10.17.1", "laravel/framework": "^10.23.1",
"laravel/pint": "^1.10.5", "laravel/pint": "^1.13.1",
"laravel/sail": "^1.23.1", "laravel/sail": "^1.25.0",
"laravel/sanctum": "^3.2.5", "laravel/sanctum": "^3.3.1",
"laravel/tinker": "^2.8.1", "laravel/tinker": "^2.8.2",
"nunomaduro/larastan": "^2.6.4", "nunomaduro/larastan": "^2.6.4",
"orchestra/testbench-core": "^8.5.9", "orchestra/testbench-core": "^8.11.0",
"pestphp/pest": "^2.12.1", "pestphp/pest": "^2.19.1",
"phpunit/phpunit": "^10.3.1", "phpunit/phpunit": "^10.3.5",
"sebastian/environment": "^6.0.1", "sebastian/environment": "^6.0.1",
"spatie/laravel-ignition": "^2.2.0" "spatie/laravel-ignition": "^2.3.0"
}, },
"type": "library", "type": "library",
"extra": { "extra": {
@ -15587,7 +15586,7 @@
"type": "patreon" "type": "patreon"
} }
], ],
"time": "2023-08-07T08:03:21+00:00" "time": "2023-09-19T10:45:09+00:00"
}, },
{ {
"name": "nunomaduro/larastan", "name": "nunomaduro/larastan",
@ -15798,16 +15797,16 @@
}, },
{ {
"name": "phpmyadmin/sql-parser", "name": "phpmyadmin/sql-parser",
"version": "5.8.1", "version": "5.8.2",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/phpmyadmin/sql-parser.git", "url": "https://github.com/phpmyadmin/sql-parser.git",
"reference": "b877ee6262a00f0f498da5e01335e8a5dc01d203" "reference": "f1720ae19abe6294cb5599594a8a57bc3c8cc287"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/phpmyadmin/sql-parser/zipball/b877ee6262a00f0f498da5e01335e8a5dc01d203", "url": "https://api.github.com/repos/phpmyadmin/sql-parser/zipball/f1720ae19abe6294cb5599594a8a57bc3c8cc287",
"reference": "b877ee6262a00f0f498da5e01335e8a5dc01d203", "reference": "f1720ae19abe6294cb5599594a8a57bc3c8cc287",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -15881,20 +15880,20 @@
"type": "other" "type": "other"
} }
], ],
"time": "2023-09-15T18:21:22+00:00" "time": "2023-09-19T12:34:29+00:00"
}, },
{ {
"name": "phpstan/phpstan", "name": "phpstan/phpstan",
"version": "1.10.34", "version": "1.10.35",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/phpstan/phpstan.git", "url": "https://github.com/phpstan/phpstan.git",
"reference": "7f806b6f1403e6914c778140e2ba07c293cb4901" "reference": "e730e5facb75ffe09dfb229795e8c01a459f26c3"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/phpstan/phpstan/zipball/7f806b6f1403e6914c778140e2ba07c293cb4901", "url": "https://api.github.com/repos/phpstan/phpstan/zipball/e730e5facb75ffe09dfb229795e8c01a459f26c3",
"reference": "7f806b6f1403e6914c778140e2ba07c293cb4901", "reference": "e730e5facb75ffe09dfb229795e8c01a459f26c3",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -15943,20 +15942,20 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2023-09-13T09:49:47+00:00" "time": "2023-09-19T15:27:56+00:00"
}, },
{ {
"name": "phpunit/php-code-coverage", "name": "phpunit/php-code-coverage",
"version": "10.1.5", "version": "10.1.6",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/sebastianbergmann/php-code-coverage.git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git",
"reference": "1df504e42a88044c27a90136910f0b3fe9e91939" "reference": "56f33548fe522c8d82da7ff3824b42829d324364"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/1df504e42a88044c27a90136910f0b3fe9e91939", "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/56f33548fe522c8d82da7ff3824b42829d324364",
"reference": "1df504e42a88044c27a90136910f0b3fe9e91939", "reference": "56f33548fe522c8d82da7ff3824b42829d324364",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -16013,7 +16012,7 @@
"support": { "support": {
"issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues",
"security": "https://github.com/sebastianbergmann/php-code-coverage/security/policy", "security": "https://github.com/sebastianbergmann/php-code-coverage/security/policy",
"source": "https://github.com/sebastianbergmann/php-code-coverage/tree/10.1.5" "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/10.1.6"
}, },
"funding": [ "funding": [
{ {
@ -16021,7 +16020,7 @@
"type": "github" "type": "github"
} }
], ],
"time": "2023-09-12T14:37:22+00:00" "time": "2023-09-19T04:59:03+00:00"
}, },
{ {
"name": "phpunit/php-file-iterator", "name": "phpunit/php-file-iterator",
@ -16268,16 +16267,16 @@
}, },
{ {
"name": "phpunit/phpunit", "name": "phpunit/phpunit",
"version": "10.3.4", "version": "10.3.5",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/sebastianbergmann/phpunit.git", "url": "https://github.com/sebastianbergmann/phpunit.git",
"reference": "b8d59476f19115c9774b3b447f78131781c6c32b" "reference": "747c3b2038f1139e3dcd9886a3f5a948648b7503"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/b8d59476f19115c9774b3b447f78131781c6c32b", "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/747c3b2038f1139e3dcd9886a3f5a948648b7503",
"reference": "b8d59476f19115c9774b3b447f78131781c6c32b", "reference": "747c3b2038f1139e3dcd9886a3f5a948648b7503",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -16301,7 +16300,7 @@
"sebastian/comparator": "^5.0", "sebastian/comparator": "^5.0",
"sebastian/diff": "^5.0", "sebastian/diff": "^5.0",
"sebastian/environment": "^6.0", "sebastian/environment": "^6.0",
"sebastian/exporter": "^5.0", "sebastian/exporter": "^5.1",
"sebastian/global-state": "^6.0.1", "sebastian/global-state": "^6.0.1",
"sebastian/object-enumerator": "^5.0", "sebastian/object-enumerator": "^5.0",
"sebastian/recursion-context": "^5.0", "sebastian/recursion-context": "^5.0",
@ -16349,7 +16348,7 @@
"support": { "support": {
"issues": "https://github.com/sebastianbergmann/phpunit/issues", "issues": "https://github.com/sebastianbergmann/phpunit/issues",
"security": "https://github.com/sebastianbergmann/phpunit/security/policy", "security": "https://github.com/sebastianbergmann/phpunit/security/policy",
"source": "https://github.com/sebastianbergmann/phpunit/tree/10.3.4" "source": "https://github.com/sebastianbergmann/phpunit/tree/10.3.5"
}, },
"funding": [ "funding": [
{ {
@ -16365,7 +16364,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2023-09-12T14:42:28+00:00" "time": "2023-09-19T05:42:37+00:00"
}, },
{ {
"name": "sebastian/cli-parser", "name": "sebastian/cli-parser",
@ -16802,16 +16801,16 @@
}, },
{ {
"name": "sebastian/exporter", "name": "sebastian/exporter",
"version": "5.0.1", "version": "5.1.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/sebastianbergmann/exporter.git", "url": "https://github.com/sebastianbergmann/exporter.git",
"reference": "32ff03d078fed1279c4ec9a407d08c5e9febb480" "reference": "c3fa8483f9539b190f7cd4bfc4a07631dd1df344"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/32ff03d078fed1279c4ec9a407d08c5e9febb480", "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/c3fa8483f9539b190f7cd4bfc4a07631dd1df344",
"reference": "32ff03d078fed1279c4ec9a407d08c5e9febb480", "reference": "c3fa8483f9539b190f7cd4bfc4a07631dd1df344",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -16868,7 +16867,7 @@
"support": { "support": {
"issues": "https://github.com/sebastianbergmann/exporter/issues", "issues": "https://github.com/sebastianbergmann/exporter/issues",
"security": "https://github.com/sebastianbergmann/exporter/security/policy", "security": "https://github.com/sebastianbergmann/exporter/security/policy",
"source": "https://github.com/sebastianbergmann/exporter/tree/5.0.1" "source": "https://github.com/sebastianbergmann/exporter/tree/5.1.0"
}, },
"funding": [ "funding": [
{ {
@ -16876,7 +16875,7 @@
"type": "github" "type": "github"
} }
], ],
"time": "2023-09-08T04:46:58+00:00" "time": "2023-09-18T07:15:37+00:00"
}, },
{ {
"name": "sebastian/global-state", "name": "sebastian/global-state",
@ -17416,16 +17415,16 @@
}, },
{ {
"name": "spatie/ignition", "name": "spatie/ignition",
"version": "1.10.1", "version": "1.11.2",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/spatie/ignition.git", "url": "https://github.com/spatie/ignition.git",
"reference": "d92b9a081e99261179b63a858c7a4b01541e7dd1" "reference": "48b23411ca4bfbc75c75dfc638b6b36159c375aa"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/spatie/ignition/zipball/d92b9a081e99261179b63a858c7a4b01541e7dd1", "url": "https://api.github.com/repos/spatie/ignition/zipball/48b23411ca4bfbc75c75dfc638b6b36159c375aa",
"reference": "d92b9a081e99261179b63a858c7a4b01541e7dd1", "reference": "48b23411ca4bfbc75c75dfc638b6b36159c375aa",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -17495,7 +17494,7 @@
"type": "github" "type": "github"
} }
], ],
"time": "2023-08-21T15:06:37+00:00" "time": "2023-09-19T15:29:52+00:00"
}, },
{ {
"name": "spatie/laravel-ignition", "name": "spatie/laravel-ignition",