From 6417686dd5b5e18d42b69e1b05c6b4dbb402769f Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 16 Oct 2024 17:49:26 +0000 Subject: [PATCH 1/2] Update dependency laravel/framework to v11.28.1 --- composer.json | 2 +- composer.lock | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/composer.json b/composer.json index 941b158d9..4b3c3e60d 100644 --- a/composer.json +++ b/composer.json @@ -40,7 +40,7 @@ "htmlmin/htmlmin": "dev-master", "http-interop/http-factory-guzzle": "1.2.0", "kiritokatklian/nova-permission": "4.0.10", - "laravel/framework": "11.28.0", + "laravel/framework": "11.28.1", "laravel/horizon": "5.29.1", "laravel/nova": "4.35.3", "laravel/passport": "12.3.0", diff --git a/composer.lock b/composer.lock index d3e3c7e8a..63cfbee99 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "0ca40f3736be311efa11e5ae70dbe9a9", + "content-hash": "ec7d99b59968fc55e95cc6e944027a03", "packages": [ { "name": "ans-group/laravel-health-check", @@ -3031,16 +3031,16 @@ }, { "name": "laravel/framework", - "version": "v11.28.0", + "version": "v11.28.1", "source": { "type": "git", "url": "https://github.com/laravel/framework.git", - "reference": "80843d20cf9337b94fb71e7f25f33f4b1e6c7c5f" + "reference": "3ef5c8a85b4c598d5ffaf98afd72f6a5d6a0be2c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/framework/zipball/80843d20cf9337b94fb71e7f25f33f4b1e6c7c5f", - "reference": "80843d20cf9337b94fb71e7f25f33f4b1e6c7c5f", + "url": "https://api.github.com/repos/laravel/framework/zipball/3ef5c8a85b4c598d5ffaf98afd72f6a5d6a0be2c", + "reference": "3ef5c8a85b4c598d5ffaf98afd72f6a5d6a0be2c", "shasum": "" }, "require": { @@ -3236,7 +3236,7 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2024-10-15T14:14:58+00:00" + "time": "2024-10-16T16:32:21+00:00" }, { "name": "laravel/horizon", From b6229f1f6b13f5139008de9f566cab5298cabc7c Mon Sep 17 00:00:00 2001 From: Kristaps Berzinch Date: Wed, 16 Oct 2024 20:03:28 -0400 Subject: [PATCH 2/2] Update PHPStan ignores --- phpstan.neon | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/phpstan.neon b/phpstan.neon index e98a93104..8cfaa3fef 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -92,10 +92,8 @@ parameters: - '#Method App\\Models\\[a-zA-Z]+::removeFalsyAssocArrayValues\(\) has parameter \$arr with no value type specified in iterable type array\.#' - '#Method App\\Models\\[a-zA-Z]+::removeFalsyAssocArrayValues\(\) return type has no value type specified in iterable type array\.#' - '#Method App\\Models\\Airport::getRows\(\) should return array> but returns array, array>\.#' - - '#Method App\\Notifiables\\CoreNotifiable::routeNotificationForSlack\(\) should return string\|null but returns mixed\.#' - - '#Method App\\Notifiables\\CoreOfficersNotifiable::routeNotificationForSlack\(\) should return string\|null but returns mixed\.#' - - '#Method App\\Notifiables\\TreasurerNotifiable::routeNotificationForMail\(\) should return string\|null but returns mixed\.#' - - '#Method App\\Notifiables\\TreasurerNotifiable::routeNotificationForSlack\(\) should return string\|null but returns mixed\.#' + - '#Method App\\Models\\Payment::getSquareOrderState\(\) should return string\|null but returns mixed\.#' + - '#Method App\\Models\\Team::routeNotificationForSlack\(\) should return string\|null but returns mixed\.#' - '#Method App\\Nova\\[a-zA-Z0-9]+::__invoke\(\) return type has no value type specified in iterable type array\.#' - '#Method App\\Nova\\[a-zA-Z0-9]+::fields\(\) return type has no value type specified in iterable type array\.#' - '#Method App\\Nova\\Actions\\[a-zA-Z0-9]+::handle\(\) has no return type specified\.#' @@ -110,6 +108,7 @@ parameters: - '#Method class@anonymous\/database\/migrations\/[0-9-a-z_]+.php:[0-9]+::getConnection\(\) should return string but returns mixed\.#' - '#Method Database\\Factories\\[a-zA-Z]+::definition\(\) should return array but returns array\.#' - '#Offset ''[A-Za-z]+'' does not exist on array\|null\.#' + - '#Offset ''revenue'' does not exist on App\\Models\\Payment\|null\.#' - '#Only booleans are allowed in &&, Illuminate\\Support\\Carbon\|null given on the (right|left) side\.#' - '#Only booleans are allowed in a negated boolean, Illuminate\\Support\\Carbon\|null given\.#' - '#Only booleans are allowed in a negated boolean, mixed given\.#' @@ -151,7 +150,6 @@ parameters: - '#Parameter \#1 \$locationId of class Square\\Models\\Order constructor expects string, mixed given\.#' - '#Parameter \#1 \$message of function Sentry\\captureMessage expects string, string\|false given\.#' - '#Parameter \#1 \$missing of method Illuminate\\Routing\\Route::missing\(\) expects Closure, array{''App\\\\Http\\\\Controllers\\\\MerchandiseController'', ''handleMissingModel''} given\.#' - - '#Parameter \#1 \$models \(Illuminate\\Support\\Collection>\) of method App\\Models\\ActionEvent::prune\(\) should be contravariant with parameter \$models \(Illuminate\\Support\\Collection\) of method Laravel\\Nova\\Actions\\ActionEvent::prune\(\)#' - '#Parameter \#1 \$object_or_class of function property_exists expects object\|string, mixed given\.#' - '#Parameter \#1 \$options of method Laravel\\Nova\\Fields\\BooleanGroup::options\(\) expects array\|\(Closure\(\): \(array\|Illuminate\\Support\\Collection\)\)\|Illuminate\\Support\\Collection, mixed given\.#' - '#Parameter \#1 \$orderId of method Square\\Apis\\OrdersApi::retrieveOrder\(\) expects string, string\|null given\.#' @@ -177,7 +175,6 @@ parameters: - '#Parameter \#1 \$time of class Carbon\\Carbon constructor expects Carbon\\Month\|Carbon\\WeekDay\|DateTimeInterface\|float\|int\|string\|null, mixed given\.#' - '#Parameter \#1 \$time of class Illuminate\\Support\\Carbon constructor expects Carbon\\Month\|Carbon\\WeekDay\|DateTimeInterface\|float\|int\|string\|null, mixed given\.#' - '#Parameter \#1 \$timestamp of static method Carbon\\Carbon::createFromTimestamp\(\) expects float\|int\|string, int\|false given\.#' - - '#Parameter \#1 \$timeZone of method Carbon\\Carbon::setTimezone\(\) expects DateTimeZone\|int\|string, mixed given\.#' - '#Parameter \#1 \$title of static method Illuminate\\Support\\Str::slug\(\) expects string, mixed given\.#' - '#Parameter \#1 \$to of function redirect expects string\|null, array\|string\|null given\.#' - '#Parameter \#1 \$transaction of class App\\Notifications\\Dues\\PaymentReminder constructor expects App\\Models\\DuesTransaction, mixed given\.#' @@ -206,7 +203,6 @@ parameters: - '#Parameter \#1 \.\.\.\$permissions of method Spatie\\Permission\\Models\\Role::givePermissionTo\(\) expects array\|BackedEnum\|Illuminate\\Support\\Collection\|int\|Spatie\\Permission\\Contracts\\Permission\|string, mixed given\.#' - '#Parameter \#2 \$array of function array_key_exists expects array, array\|null given\.#' - '#Parameter \#2 \$array of function array_key_exists expects array, mixed given\.#' - - '#Parameter \#2 \$contents of method Illuminate\\Filesystem\\FilesystemAdapter::put\(\) expects Illuminate\\Http\\File\|Illuminate\\Http\\UploadedFile\|Psr\\Http\\Message\\StreamInterface\|resource\|string, string\|false given\.#' - '#Parameter \#2 \$e of method Laravel\\Nova\\Actions\\Action::markAsFailed\(\) expects string\|Throwable\|null, string\|false given\.#' - '#Parameter \#2 \$haystack of function in_array expects array, mixed given\.#' - '#Parameter \#2 \$model_class of job class App\\Jobs\\PushToJedi constructor expects string in App\\Jobs\\PushToJedi::dispatch\(\), class-string\|null given\.#' @@ -237,6 +233,7 @@ parameters: - '#Parameter \$to of class Illuminate\\Mail\\Mailables\\Envelope constructor expects array, array given\.#' - '#PHPDoc type array of property App\\Models\\[a-zA-Z]+::\$appends is not covariant with PHPDoc type array of overridden property Illuminate\\Database\\Eloquent\\Model::\$appends\.#' - '#PHPDoc type array of property App\\Models\\[a-zA-Z]+::\$fillable is not covariant with PHPDoc type array of overridden property Illuminate\\Database\\Eloquent\\Model::\$fillable\.#' + - '#PHPDoc type array of property App\\Models\\User::\$hidden is not covariant with PHPDoc type array of overridden property Illuminate\\Database\\Eloquent\\Model::\$hidden\.#' - '#Property App\\Models\\[a-zA-Z]+::\$[a-z_]+ \(string\) does not accept \(float\|int\)\.#' - '#Property App\\Models\\[a-zA-Z]+::\$[a-z_]+ \(string\|null\) does not accept \(float\|int\)\.#' - '#Property App\\Models\\[a-zA-Z]+::\$[a-zA-Z_]+ \(Illuminate\\Support\\Carbon(?:\|null)?\) does not accept Carbon\\Carbon(?:\|false)?\.#'