From d529b076b276a5dc4baf6792cad3f6c6e7f8f8c2 Mon Sep 17 00:00:00 2001 From: Shift Date: Thu, 8 Aug 2024 18:08:01 +0000 Subject: [PATCH 01/16] Apply code style --- tests/Feature/AdminPanelViewTest.php | 2 +- tests/Feature/InternalApi/InternalApiReviewsTest.php | 2 +- tests/Unit/Http/Resources/PackageDetailResourceTest.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/Feature/AdminPanelViewTest.php b/tests/Feature/AdminPanelViewTest.php index 90c94c49..c79346a8 100644 --- a/tests/Feature/AdminPanelViewTest.php +++ b/tests/Feature/AdminPanelViewTest.php @@ -69,7 +69,7 @@ public function admin_panel_does_not_show_enabled_package_list_if_there_are_none public function admin_user_can_view_individual_page_for_disabled_package() { Http::fake([ - "https://packagist.org/packages/*.json" => Http::response(), + 'https://packagist.org/packages/*.json' => Http::response(), ]); $disabledPackage = Package::factory()->disabled()->create(); diff --git a/tests/Feature/InternalApi/InternalApiReviewsTest.php b/tests/Feature/InternalApi/InternalApiReviewsTest.php index 450611f8..0dbf2472 100644 --- a/tests/Feature/InternalApi/InternalApiReviewsTest.php +++ b/tests/Feature/InternalApi/InternalApiReviewsTest.php @@ -31,7 +31,7 @@ public function unauthenticated_users_cant_post_review() public function authenticated_user_cannot_see_link_to_post_review_before_reviewing_package() { Http::fake([ - "https://packagist.org/packages/*.json" => Http::response(), + 'https://packagist.org/packages/*.json' => Http::response(), ]); $package = Package::factory()->create(); diff --git a/tests/Unit/Http/Resources/PackageDetailResourceTest.php b/tests/Unit/Http/Resources/PackageDetailResourceTest.php index 99a2d953..add5b680 100644 --- a/tests/Unit/Http/Resources/PackageDetailResourceTest.php +++ b/tests/Unit/Http/Resources/PackageDetailResourceTest.php @@ -83,7 +83,7 @@ public function includes_whether_package_has_been_marked_as_unavailable() private function fakePackagistRequest(): void { Http::fake([ - "https://packagist.org/packages/*.json" => Http::response(), + 'https://packagist.org/packages/*.json' => Http::response(), ]); } } From 4bff26b8903623f24c323ec6859aa9bbdef53db9 Mon Sep 17 00:00:00 2001 From: Shift Date: Thu, 8 Aug 2024 18:08:10 +0000 Subject: [PATCH 02/16] Slim `lang` files --- lang/en/auth.php | 20 ----- lang/en/pagination.php | 19 ----- lang/en/passwords.php | 5 -- lang/en/validation.php | 174 ----------------------------------------- 4 files changed, 218 deletions(-) delete mode 100644 lang/en/auth.php delete mode 100644 lang/en/pagination.php delete mode 100644 lang/en/validation.php diff --git a/lang/en/auth.php b/lang/en/auth.php deleted file mode 100644 index 6598e2c0..00000000 --- a/lang/en/auth.php +++ /dev/null @@ -1,20 +0,0 @@ - 'These credentials do not match our records.', - 'password' => 'The provided password is incorrect.', - 'throttle' => 'Too many login attempts. Please try again in :seconds seconds.', - -]; diff --git a/lang/en/pagination.php b/lang/en/pagination.php deleted file mode 100644 index d4814118..00000000 --- a/lang/en/pagination.php +++ /dev/null @@ -1,19 +0,0 @@ - '« Previous', - 'next' => 'Next »', - -]; diff --git a/lang/en/passwords.php b/lang/en/passwords.php index 960e77cb..16a2d046 100644 --- a/lang/en/passwords.php +++ b/lang/en/passwords.php @@ -13,9 +13,4 @@ | */ - 'reset' => 'Your password has been reset!', - 'sent' => 'We have emailed your password reset link!', - 'token' => 'This password reset token is invalid.', - 'user' => "We can't find a user with that email address.", - ]; diff --git a/lang/en/validation.php b/lang/en/validation.php deleted file mode 100644 index 5ea01fa7..00000000 --- a/lang/en/validation.php +++ /dev/null @@ -1,174 +0,0 @@ - 'The :attribute must be accepted.', - 'accepted_if' => 'The :attribute must be accepted when :other is :value.', - 'active_url' => 'The :attribute is not a valid URL.', - 'after' => 'The :attribute must be a date after :date.', - 'after_or_equal' => 'The :attribute must be a date after or equal to :date.', - 'alpha' => 'The :attribute must only contain letters.', - 'alpha_dash' => 'The :attribute must only contain letters, numbers, dashes and underscores.', - 'alpha_num' => 'The :attribute must only contain letters and numbers.', - 'array' => 'The :attribute must be an array.', - 'before' => 'The :attribute must be a date before :date.', - 'before_or_equal' => 'The :attribute must be a date before or equal to :date.', - 'between' => [ - 'array' => 'The :attribute must have between :min and :max items.', - 'file' => 'The :attribute must be between :min and :max kilobytes.', - 'numeric' => 'The :attribute must be between :min and :max.', - 'string' => 'The :attribute must be between :min and :max characters.', - ], - 'boolean' => 'The :attribute field must be true or false.', - 'confirmed' => 'The :attribute confirmation does not match.', - 'current_password' => 'The password is incorrect.', - 'date' => 'The :attribute is not a valid date.', - 'date_equals' => 'The :attribute must be a date equal to :date.', - 'date_format' => 'The :attribute does not match the format :format.', - 'declined' => 'The :attribute must be declined.', - 'declined_if' => 'The :attribute must be declined when :other is :value.', - 'different' => 'The :attribute and :other must be different.', - 'digits' => 'The :attribute must be :digits digits.', - 'digits_between' => 'The :attribute must be between :min and :max digits.', - 'dimensions' => 'The :attribute has invalid image dimensions.', - 'distinct' => 'The :attribute field has a duplicate value.', - 'doesnt_end_with' => 'The :attribute may not end with one of the following: :values.', - 'doesnt_start_with' => 'The :attribute may not start with one of the following: :values.', - 'email' => 'The :attribute must be a valid email address.', - 'ends_with' => 'The :attribute must end with one of the following: :values.', - 'enum' => 'The selected :attribute is invalid.', - 'exists' => 'The selected :attribute is invalid.', - 'file' => 'The :attribute must be a file.', - 'filled' => 'The :attribute field must have a value.', - 'gt' => [ - 'array' => 'The :attribute must have more than :value items.', - 'file' => 'The :attribute must be greater than :value kilobytes.', - 'numeric' => 'The :attribute must be greater than :value.', - 'string' => 'The :attribute must be greater than :value characters.', - ], - 'gte' => [ - 'array' => 'The :attribute must have :value items or more.', - 'file' => 'The :attribute must be greater than or equal to :value kilobytes.', - 'numeric' => 'The :attribute must be greater than or equal to :value.', - 'string' => 'The :attribute must be greater than or equal to :value characters.', - ], - 'image' => 'The :attribute must be an image.', - 'in' => 'The selected :attribute is invalid.', - 'in_array' => 'The :attribute field does not exist in :other.', - 'integer' => 'The :attribute must be an integer.', - 'ip' => 'The :attribute must be a valid IP address.', - 'ipv4' => 'The :attribute must be a valid IPv4 address.', - 'ipv6' => 'The :attribute must be a valid IPv6 address.', - 'json' => 'The :attribute must be a valid JSON string.', - 'lt' => [ - 'array' => 'The :attribute must have less than :value items.', - 'file' => 'The :attribute must be less than :value kilobytes.', - 'numeric' => 'The :attribute must be less than :value.', - 'string' => 'The :attribute must be less than :value characters.', - ], - 'lte' => [ - 'array' => 'The :attribute must not have more than :value items.', - 'file' => 'The :attribute must be less than or equal to :value kilobytes.', - 'numeric' => 'The :attribute must be less than or equal to :value.', - 'string' => 'The :attribute must be less than or equal to :value characters.', - ], - 'mac_address' => 'The :attribute must be a valid MAC address.', - 'max' => [ - 'array' => 'The :attribute must not have more than :max items.', - 'file' => 'The :attribute must not be greater than :max kilobytes.', - 'numeric' => 'The :attribute must not be greater than :max.', - 'string' => 'The :attribute must not be greater than :max characters.', - ], - 'max_digits' => 'The :attribute must not have more than :max digits.', - 'mimes' => 'The :attribute must be a file of type: :values.', - 'mimetypes' => 'The :attribute must be a file of type: :values.', - 'min' => [ - 'array' => 'The :attribute must have at least :min items.', - 'file' => 'The :attribute must be at least :min kilobytes.', - 'numeric' => 'The :attribute must be at least :min.', - 'string' => 'The :attribute must be at least :min characters.', - ], - 'min_digits' => 'The :attribute must have at least :min digits.', - 'multiple_of' => 'The :attribute must be a multiple of :value.', - 'not_in' => 'The selected :attribute is invalid.', - 'not_regex' => 'The :attribute format is invalid.', - 'numeric' => 'The :attribute must be a number.', - 'password' => [ - 'letters' => 'The :attribute must contain at least one letter.', - 'mixed' => 'The :attribute must contain at least one uppercase and one lowercase letter.', - 'numbers' => 'The :attribute must contain at least one number.', - 'symbols' => 'The :attribute must contain at least one symbol.', - 'uncompromised' => 'The given :attribute has appeared in a data leak. Please choose a different :attribute.', - ], - 'present' => 'The :attribute field must be present.', - 'prohibited' => 'The :attribute field is prohibited.', - 'prohibited_if' => 'The :attribute field is prohibited when :other is :value.', - 'prohibited_unless' => 'The :attribute field is prohibited unless :other is in :values.', - 'prohibits' => 'The :attribute field prohibits :other from being present.', - 'regex' => 'The :attribute format is invalid.', - 'required' => 'The :attribute field is required.', - 'required_array_keys' => 'The :attribute field must contain entries for: :values.', - 'required_if' => 'The :attribute field is required when :other is :value.', - 'required_if_accepted' => 'The :attribute field is required when :other is accepted.', - 'required_unless' => 'The :attribute field is required unless :other is in :values.', - 'required_with' => 'The :attribute field is required when :values is present.', - 'required_with_all' => 'The :attribute field is required when :values are present.', - 'required_without' => 'The :attribute field is required when :values is not present.', - 'required_without_all' => 'The :attribute field is required when none of :values are present.', - 'same' => 'The :attribute and :other must match.', - 'size' => [ - 'array' => 'The :attribute must contain :size items.', - 'file' => 'The :attribute must be :size kilobytes.', - 'numeric' => 'The :attribute must be :size.', - 'string' => 'The :attribute must be :size characters.', - ], - 'starts_with' => 'The :attribute must start with one of the following: :values.', - 'string' => 'The :attribute must be a string.', - 'timezone' => 'The :attribute must be a valid timezone.', - 'unique' => 'The :attribute has already been taken.', - 'uploaded' => 'The :attribute failed to upload.', - 'url' => 'The :attribute must be a valid URL.', - 'uuid' => 'The :attribute must be a valid UUID.', - - /* - |-------------------------------------------------------------------------- - | Custom Validation Language Lines - |-------------------------------------------------------------------------- - | - | Here you may specify custom validation messages for attributes using the - | convention "attribute.rule" to name the lines. This makes it quick to - | specify a specific custom language line for a given attribute rule. - | - */ - - 'custom' => [ - 'attribute-name' => [ - 'rule-name' => 'custom-message', - ], - ], - - /* - |-------------------------------------------------------------------------- - | Custom Validation Attributes - |-------------------------------------------------------------------------- - | - | The following language lines are used to swap our attribute placeholder - | with something more reader friendly such as "E-Mail Address" instead - | of "email". This simply helps us make our message more expressive. - | - */ - - 'attributes' => [], - -]; From 1a687cbfdf55e1a4456607559c2f49c6f15e4c77 Mon Sep 17 00:00:00 2001 From: Shift Date: Thu, 8 Aug 2024 18:08:10 +0000 Subject: [PATCH 03/16] Remove explicit call to register policies --- app/Providers/AuthServiceProvider.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/Providers/AuthServiceProvider.php b/app/Providers/AuthServiceProvider.php index 1ec7e1ad..bf47ba86 100644 --- a/app/Providers/AuthServiceProvider.php +++ b/app/Providers/AuthServiceProvider.php @@ -15,8 +15,6 @@ class AuthServiceProvider extends ServiceProvider public function boot() { - $this->registerPolicies(); - Passport::routes(); } } From d4e1cc2a2d6b0d85d87fcba3eafa2f721e53b1bd Mon Sep 17 00:00:00 2001 From: Shift Date: Thu, 8 Aug 2024 18:08:18 +0000 Subject: [PATCH 04/16] Shift core files --- app/Exceptions/Handler.php | 18 ------------------ app/Http/Controllers/Controller.php | 3 +-- app/Http/Kernel.php | 9 +++++---- app/Http/Middleware/Authenticate.php | 10 +++------- app/Http/Middleware/TrustHosts.php | 4 ++-- app/Providers/BroadcastServiceProvider.php | 4 +--- app/Providers/RouteServiceProvider.php | 16 +++------------- phpunit.xml | 1 + tests/CreatesApplication.php | 5 ++--- 9 files changed, 18 insertions(+), 52 deletions(-) diff --git a/app/Exceptions/Handler.php b/app/Exceptions/Handler.php index 59e353a0..4ab51454 100644 --- a/app/Exceptions/Handler.php +++ b/app/Exceptions/Handler.php @@ -8,24 +8,6 @@ class Handler extends ExceptionHandler { - /** - * A list of exception types with their corresponding custom log levels. - * - * @var array, \Psr\Log\LogLevel::*> - */ - protected $levels = [ - // - ]; - - /** - * A list of the exception types that are not reported. - * - * @var array - */ - protected $dontReport = [ - // - ]; - /** * A list of the inputs that are never flashed for validation exceptions. * diff --git a/app/Http/Controllers/Controller.php b/app/Http/Controllers/Controller.php index a0a2a8a3..77ec359a 100644 --- a/app/Http/Controllers/Controller.php +++ b/app/Http/Controllers/Controller.php @@ -3,11 +3,10 @@ namespace App\Http\Controllers; use Illuminate\Foundation\Auth\Access\AuthorizesRequests; -use Illuminate\Foundation\Bus\DispatchesJobs; use Illuminate\Foundation\Validation\ValidatesRequests; use Illuminate\Routing\Controller as BaseController; class Controller extends BaseController { - use AuthorizesRequests, DispatchesJobs, ValidatesRequests; + use AuthorizesRequests, ValidatesRequests; } diff --git a/app/Http/Kernel.php b/app/Http/Kernel.php index bf15e847..5856b542 100644 --- a/app/Http/Kernel.php +++ b/app/Http/Kernel.php @@ -39,19 +39,19 @@ class Kernel extends HttpKernel ], 'api' => [ - 'throttle:api', + \Illuminate\Routing\Middleware\ThrottleRequests::class.':api', \Illuminate\Routing\Middleware\SubstituteBindings::class, ], ]; /** - * The application's route middleware. + * The application's middleware aliases. * - * These middleware may be assigned to groups or used individually. + * Aliases may be used to conveniently assign middleware to routes and groups. * * @var array */ - protected $routeMiddleware = [ + protected $middlewareAliases = [ 'auth' => \App\Http\Middleware\Authenticate::class, 'auth.basic' => \Illuminate\Auth\Middleware\AuthenticateWithBasicAuth::class, 'auth.session' => \Illuminate\Session\Middleware\AuthenticateSession::class, @@ -59,6 +59,7 @@ class Kernel extends HttpKernel 'can' => \Illuminate\Auth\Middleware\Authorize::class, 'guest' => \App\Http\Middleware\RedirectIfAuthenticated::class, 'password.confirm' => \Illuminate\Auth\Middleware\RequirePassword::class, + 'precognitive' => \Illuminate\Foundation\Http\Middleware\HandlePrecognitiveRequests::class, 'signed' => \App\Http\Middleware\ValidateSignature::class, 'throttle' => \Illuminate\Routing\Middleware\ThrottleRequests::class, 'verified' => \Illuminate\Auth\Middleware\EnsureEmailIsVerified::class, diff --git a/app/Http/Middleware/Authenticate.php b/app/Http/Middleware/Authenticate.php index 704089a7..d4ef6447 100644 --- a/app/Http/Middleware/Authenticate.php +++ b/app/Http/Middleware/Authenticate.php @@ -3,19 +3,15 @@ namespace App\Http\Middleware; use Illuminate\Auth\Middleware\Authenticate as Middleware; +use Illuminate\Http\Request; class Authenticate extends Middleware { /** * Get the path the user should be redirected to when they are not authenticated. - * - * @param \Illuminate\Http\Request $request - * @return string|null */ - protected function redirectTo($request) + protected function redirectTo(Request $request): ?string { - if (! $request->expectsJson()) { - return route('login'); - } + return $request->expectsJson() ? null : route('login'); } } diff --git a/app/Http/Middleware/TrustHosts.php b/app/Http/Middleware/TrustHosts.php index b0550cfc..c9c58bdd 100644 --- a/app/Http/Middleware/TrustHosts.php +++ b/app/Http/Middleware/TrustHosts.php @@ -9,9 +9,9 @@ class TrustHosts extends Middleware /** * Get the host patterns that should be trusted. * - * @return array + * @return array */ - public function hosts() + public function hosts(): array { return [ $this->allSubdomainsOfApplicationUrl(), diff --git a/app/Providers/BroadcastServiceProvider.php b/app/Providers/BroadcastServiceProvider.php index 395c518b..2be04f5d 100644 --- a/app/Providers/BroadcastServiceProvider.php +++ b/app/Providers/BroadcastServiceProvider.php @@ -9,10 +9,8 @@ class BroadcastServiceProvider extends ServiceProvider { /** * Bootstrap any application services. - * - * @return void */ - public function boot() + public function boot(): void { Broadcast::routes(); diff --git a/app/Providers/RouteServiceProvider.php b/app/Providers/RouteServiceProvider.php index 0d62860f..eb79c1cf 100644 --- a/app/Providers/RouteServiceProvider.php +++ b/app/Providers/RouteServiceProvider.php @@ -27,7 +27,9 @@ class RouteServiceProvider extends ServiceProvider */ public function boot() { - $this->configureRateLimiting(); + RateLimiter::for('api', function (Request $request) { + return Limit::perMinute(60); + }); Route::bind('any_package', function ($id) { @@ -51,16 +53,4 @@ public function boot() ->group(base_path('routes/web.php')); }); } - - /** - * Configure the rate limiters for the application. - * - * @return void - */ - protected function configureRateLimiting() - { - RateLimiter::for('api', function (Request $request) { - return Limit::perMinute(60); - }); - } } diff --git a/phpunit.xml b/phpunit.xml index d20f4f60..b4b625b9 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -30,6 +30,7 @@ + diff --git a/tests/CreatesApplication.php b/tests/CreatesApplication.php index 547152f6..cc683011 100644 --- a/tests/CreatesApplication.php +++ b/tests/CreatesApplication.php @@ -3,15 +3,14 @@ namespace Tests; use Illuminate\Contracts\Console\Kernel; +use Illuminate\Foundation\Application; trait CreatesApplication { /** * Creates the application. - * - * @return \Illuminate\Foundation\Application */ - public function createApplication() + public function createApplication(): Application { $app = require __DIR__.'/../bootstrap/app.php'; From 465a81c3c8eb0100195afa05bb68b946880a25c4 Mon Sep 17 00:00:00 2001 From: Shift Date: Thu, 8 Aug 2024 18:08:26 +0000 Subject: [PATCH 05/16] Shift config files --- config/broadcasting.php | 3 ++- config/cache.php | 1 + config/hashing.php | 4 +++- config/mail.php | 28 ++++++++++++++++++++++------ config/session.php | 13 +++++++++++++ 5 files changed, 41 insertions(+), 8 deletions(-) diff --git a/config/broadcasting.php b/config/broadcasting.php index 16882424..24104853 100644 --- a/config/broadcasting.php +++ b/config/broadcasting.php @@ -36,7 +36,8 @@ 'secret' => env('PUSHER_APP_SECRET'), 'app_id' => env('PUSHER_APP_ID'), 'options' => [ - 'host' => env('PUSHER_HOST', 'api-'.env('PUSHER_APP_CLUSTER', 'mt1').'.pusher.com') ?: 'api-'.env('PUSHER_APP_CLUSTER', 'mt1').'.pusher.com', + 'cluster' => env('PUSHER_APP_CLUSTER'), + 'host' => env('PUSHER_HOST') ?: 'api-'.env('PUSHER_APP_CLUSTER', 'mt1').'.pusher.com', 'port' => env('PUSHER_PORT', 443), 'scheme' => env('PUSHER_SCHEME', 'https'), 'encrypted' => true, diff --git a/config/cache.php b/config/cache.php index 33bb2954..d4171e22 100644 --- a/config/cache.php +++ b/config/cache.php @@ -52,6 +52,7 @@ 'file' => [ 'driver' => 'file', 'path' => storage_path('framework/cache/data'), + 'lock_path' => storage_path('framework/cache/data'), ], 'memcached' => [ diff --git a/config/hashing.php b/config/hashing.php index bcd3be4c..0e8a0bb3 100644 --- a/config/hashing.php +++ b/config/hashing.php @@ -29,7 +29,8 @@ */ 'bcrypt' => [ - 'rounds' => env('BCRYPT_ROUNDS', 10), + 'rounds' => env('BCRYPT_ROUNDS', 12), + 'verify' => true, ], /* @@ -47,6 +48,7 @@ 'memory' => 65536, 'threads' => 1, 'time' => 4, + 'verify' => true, ], ]; diff --git a/config/mail.php b/config/mail.php index 534395a3..e894b2e5 100644 --- a/config/mail.php +++ b/config/mail.php @@ -28,14 +28,15 @@ | sending an e-mail. You will specify which one you are using for your | mailers below. You are free to add additional mailers as required. | - | Supported: "smtp", "sendmail", "mailgun", "ses", - | "postmark", "log", "array", "failover" + | Supported: "smtp", "sendmail", "mailgun", "ses", "ses-v2", + | "postmark", "log", "array", "failover", "roundrobin" | */ 'mailers' => [ 'smtp' => [ 'transport' => 'smtp', + 'url' => env('MAIL_URL'), 'host' => env('MAIL_HOST', 'smtp.mailgun.org'), 'port' => env('MAIL_PORT', 587), 'encryption' => env('MAIL_ENCRYPTION', 'tls'), @@ -49,12 +50,19 @@ 'transport' => 'ses', ], - 'mailgun' => [ - 'transport' => 'mailgun', - ], - 'postmark' => [ 'transport' => 'postmark', + // 'message_stream_id' => null, + // 'client' => [ + // 'timeout' => 5, + // ], + ], + + 'mailgun' => [ + 'transport' => 'mailgun', + // 'client' => [ + // 'timeout' => 5, + // ], ], 'sendmail' => [ @@ -78,6 +86,14 @@ 'log', ], ], + + 'roundrobin' => [ + 'transport' => 'roundrobin', + 'mailers' => [ + 'ses', + 'postmark', + ], + ], ], /* diff --git a/config/session.php b/config/session.php index 8fed97c0..e738cb3e 100644 --- a/config/session.php +++ b/config/session.php @@ -198,4 +198,17 @@ 'same_site' => 'lax', + /* + |-------------------------------------------------------------------------- + | Partitioned Cookies + |-------------------------------------------------------------------------- + | + | Setting this value to true will tie the cookie to the top-level site for + | a cross-site context. Partitioned cookies are accepted by the browser + | when flagged "secure" and the Same-Site attribute is set to "none". + | + */ + + 'partitioned' => false, + ]; From 3cb1a17ef72d062fb33c43b15af448e1534fecff Mon Sep 17 00:00:00 2001 From: Shift Date: Thu, 8 Aug 2024 18:08:26 +0000 Subject: [PATCH 06/16] Default config files In an effort to make upgrading the constantly changing config files easier, Shift defaulted them and merged your true customizations - where ENV variables may not be used. --- config/app.php | 33 +++------------------------------ config/auth.php | 6 +++++- config/logging.php | 9 +++++++++ 3 files changed, 17 insertions(+), 31 deletions(-) diff --git a/config/app.php b/config/app.php index 0bb30e50..0e4f221c 100644 --- a/config/app.php +++ b/config/app.php @@ -1,5 +1,6 @@ [ - - /* - * Laravel Framework Service Providers... - */ - Illuminate\Auth\AuthServiceProvider::class, - Illuminate\Broadcasting\BroadcastServiceProvider::class, - Illuminate\Bus\BusServiceProvider::class, - Illuminate\Cache\CacheServiceProvider::class, - Illuminate\Foundation\Providers\ConsoleSupportServiceProvider::class, - Illuminate\Cookie\CookieServiceProvider::class, - Illuminate\Database\DatabaseServiceProvider::class, - Illuminate\Encryption\EncryptionServiceProvider::class, - Illuminate\Filesystem\FilesystemServiceProvider::class, - Illuminate\Foundation\Providers\FoundationServiceProvider::class, - Illuminate\Hashing\HashServiceProvider::class, - Illuminate\Mail\MailServiceProvider::class, - Illuminate\Notifications\NotificationServiceProvider::class, - Illuminate\Pagination\PaginationServiceProvider::class, - Illuminate\Pipeline\PipelineServiceProvider::class, - Illuminate\Queue\QueueServiceProvider::class, - Illuminate\Redis\RedisServiceProvider::class, - Illuminate\Auth\Passwords\PasswordResetServiceProvider::class, - Illuminate\Session\SessionServiceProvider::class, - Illuminate\Translation\TranslationServiceProvider::class, - Illuminate\Validation\ValidationServiceProvider::class, - Illuminate\View\ViewServiceProvider::class, - + 'providers' => ServiceProvider::defaultProviders()->merge([ /* * Package Service Providers... */ @@ -183,8 +157,7 @@ App\Providers\HorizonServiceProvider::class, App\Providers\RouteServiceProvider::class, App\Providers\HttpClientServiceProvider::class, - - ], + ])->toArray(), /* |-------------------------------------------------------------------------- diff --git a/config/auth.php b/config/auth.php index ff2bc04b..b4246819 100644 --- a/config/auth.php +++ b/config/auth.php @@ -85,10 +85,14 @@ | than one user table or model in the application and you want to have | separate password reset settings based on the specific user types. | - | The expire time is the number of minutes that each reset token will be + | The expiry time is the number of minutes that each reset token will be | considered valid. This security feature keeps tokens short-lived so | they have less time to be guessed. You may change this as needed. | + | The throttle setting is the number of seconds a user must wait before + | generating more password reset tokens. This prevents the user from + | quickly generating a very large amount of password reset tokens. + | */ 'passwords' => [ diff --git a/config/logging.php b/config/logging.php index d3fd10d2..5c85d3b9 100644 --- a/config/logging.php +++ b/config/logging.php @@ -1,5 +1,6 @@ 'single', 'path' => storage_path('logs/laravel.log'), 'level' => env('LOG_LEVEL', 'debug'), + 'replace_placeholders' => true, ], 'daily' => [ @@ -68,6 +70,7 @@ 'path' => storage_path('logs/laravel.log'), 'level' => env('LOG_LEVEL', 'debug'), 'days' => 14, + 'replace_placeholders' => true, ], 'slack' => [ @@ -76,6 +79,7 @@ 'username' => 'Laravel Log', 'emoji' => ':boom:', 'level' => env('LOG_LEVEL', 'critical'), + 'replace_placeholders' => true, ], 'papertrail' => [ @@ -87,6 +91,7 @@ 'port' => env('PAPERTRAIL_PORT'), 'connectionString' => 'tls://'.env('PAPERTRAIL_URL').':'.env('PAPERTRAIL_PORT'), ], + 'processors' => [PsrLogMessageProcessor::class], ], 'stderr' => [ @@ -97,16 +102,20 @@ 'with' => [ 'stream' => 'php://stderr', ], + 'processors' => [PsrLogMessageProcessor::class], ], 'syslog' => [ 'driver' => 'syslog', 'level' => env('LOG_LEVEL', 'debug'), + 'facility' => LOG_USER, + 'replace_placeholders' => true, ], 'errorlog' => [ 'driver' => 'errorlog', 'level' => env('LOG_LEVEL', 'debug'), + 'replace_placeholders' => true, ], 'null' => [ From ca8a375351d1f62f77bb238beaad39659e109f24 Mon Sep 17 00:00:00 2001 From: Shift Date: Thu, 8 Aug 2024 18:08:27 +0000 Subject: [PATCH 07/16] Bump Composer dependencies --- composer.json | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/composer.json b/composer.json index e8307c7d..c8dfa151 100644 --- a/composer.json +++ b/composer.json @@ -10,41 +10,41 @@ "license": "MIT", "type": "project", "require": { - "php": "^8.0", + "php": "^8.1", "algolia/algoliasearch-client-php": "^3.3", - "bugsnag/bugsnag-laravel": "^2.24", - "doctrine/dbal": "^3.4", + "bugsnag/bugsnag-laravel": "^2.26", + "doctrine/dbal": "^3.5", "erusev/parsedown": "^1.7", "guzzlehttp/guzzle": "^7.2", - "laravel/framework": "^9.46", - "laravel/helpers": "^1.5", - "laravel/horizon": "^5.10", - "laravel/passport": "^10.4", - "laravel/scout": "^9.4", - "laravel/slack-notification-channel": "^2.4", - "laravel/socialite": "^5.5", - "laravel/telescope": "4.8.1", - "laravel/tinker": "^2.7", - "laravel/ui": "^3.4", - "livewire/livewire": "^2.10", + "laravel/framework": "^10.48", + "laravel/helpers": "^1.6", + "laravel/horizon": "^5.12", + "laravel/passport": "^11.5", + "laravel/scout": "^9.8", + "laravel/slack-notification-channel": "^2.5", + "laravel/socialite": "^5.6", + "laravel/telescope": "^4.12", + "laravel/tinker": "^2.8", + "laravel/ui": "^4.2", + "livewire/livewire": "^2.11", "php-http/guzzle7-adapter": "^1.0", "predis/predis": "^1.1", - "spatie/laravel-feed": "^4.1", + "spatie/laravel-feed": "^4.2", "spatie/laravel-sitemap": "^6.2", "stil/gd-text": "^1.1", - "tightenco/ziggy": "^1.5", - "willvincent/laravel-rateable": "^3.0", + "tightenco/ziggy": "^2.0", + "willvincent/laravel-rateable": "^3.1", "league/flysystem-aws-s3-v3": "^3.8" }, "require-dev": { - "barryvdh/laravel-debugbar": "^3.7", + "barryvdh/laravel-debugbar": "^3.8", "codedungeon/phpunit-result-printer": "^0.32", - "dms/phpunit-arraysubset-asserts": "^0.2.0", + "dms/phpunit-arraysubset-asserts": "^0.5", "fakerphp/faker": "^1.9.1", "mockery/mockery": "^1.4.4", "nunomaduro/collision": "^6.3", "phpunit/phpunit": "^9.5.10", - "spatie/laravel-ignition": "^1.5" + "spatie/laravel-ignition": "^2.0" }, "autoload": { "psr-4": { @@ -87,6 +87,6 @@ "sort-packages": true, "optimize-autoloader": true }, - "minimum-stability": "dev", + "minimum-stability": "stable", "prefer-stable": true } From a6dac067af721641f91dfba9d1abc72d3708b8a2 Mon Sep 17 00:00:00 2001 From: Shift Date: Thu, 8 Aug 2024 18:08:27 +0000 Subject: [PATCH 08/16] Bump NPM dependencies --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 66214d23..c1f1a80a 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "production": "mix --production" }, "devDependencies": { - "axios": "^0.27", + "axios": "^1.6.4", "bootstrap": "^4.0.0", "cross-env": "^5.1", "dropzone": "^5.5.1", From f7e6b84f9b42b00b82f63f5d72e2b4e9394d28b7 Mon Sep 17 00:00:00 2001 From: Shift Date: Thu, 8 Aug 2024 18:08:29 +0000 Subject: [PATCH 09/16] Adopt anonymous migrations --- database/migrations/2014_10_12_000000_create_users_table.php | 4 ++-- .../2014_10_12_100000_create_password_resets_table.php | 4 ++-- database/migrations/2018_07_27_161503_create_tools_table.php | 4 ++-- .../migrations/2018_07_27_161749_create_authors_table.php | 4 ++-- .../migrations/2018_07_31_190434_create_categories_table.php | 4 ++-- .../2018_07_31_191049_create_category_tool_table.php | 4 ++-- .../migrations/2018_07_31_192313_drop_tool_type_column.php | 4 ++-- .../migrations/2018_08_01_020304_add_role_to_users_table.php | 4 ++-- .../2018_08_02_015813_add_user_id_to_authors_table.php | 4 ++-- .../2018_08_02_025633_add_composer_string_to_tools_table.php | 4 ++-- ...2018_08_02_030043_add_github_username_to_authors_table.php | 4 ++-- .../2018_08_02_030255_make_some_author_fields_nullable.php | 4 ++-- .../migrations/2018_08_02_153606_rename_tools_to_packages.php | 4 ++-- ...8_08_02_154928_add_is_disabled_field_to_packages_table.php | 4 ++-- .../2018_08_02_210409_simplify_urls_for_packages.php | 4 ++-- database/migrations/2018_08_04_034109_drop_docs_url.php | 4 ++-- database/migrations/2018_08_06_201244_add_avatar_to_user.php | 4 ++-- .../2018_08_06_202700_remove_password_from_users_table.php | 4 ++-- .../2018_08_07_170409_add_github_username_to_users_table.php | 4 ++-- .../2018_08_14_155021_allow_null_package_instructions.php | 4 ++-- .../2018_08_16_024901_add_abstract_to_packages_table.php | 4 ++-- .../2018_08_17_174435_add_avatar_to_authors_table.php | 4 ++-- ...2018_08_17_191859_add_collaborator_package_pivot_table.php | 4 ++-- ..._08_17_204415_add_published_at_field_to_packages_table.php | 4 ++-- ...018_08_18_162209_rename_authors_table_to_collaborators.php | 4 ++-- .../migrations/2018_08_20_163738_create_ratings_table.php | 4 ++-- .../2018_08_22_013153_rename_categories_tables_to_tags.php | 4 ++-- ...8_23_175027_add_packagist_cache_data_to_packages_table.php | 4 ++-- database/migrations/2018_08_24_012940_make_email_nullable.php | 4 ++-- .../migrations/2018_08_30_123018_create_failed_jobs_table.php | 4 ++-- ...2018_08_31_192230_add_repo_url_field_to_packages_table.php | 4 ++-- .../migrations/2018_09_17_150145_create_screenshots_table.php | 4 ++-- ...8_09_17_182418_remove_published_at_from_packages_table.php | 4 ++-- .../migrations/2018_10_12_133808_create_favorites_table.php | 4 ++-- ..._16_182154_add_latest_version_column_to_packages_table.php | 4 ++-- .../2019_02_08_213121_add_submitter_id_to_packages_table.php | 4 ++-- .../2019_03_06_031725_add_readme_format_to_packages_table.php | 4 ++-- .../migrations/2019_06_14_214402_create_reviews_table.php | 4 ++-- .../migrations/2020_02_01_134920_add_package_tag_indexes.php | 4 ++-- .../2020_02_03_202003_add_foreign_key_to_packages_table.php | 4 ++-- ..._02_04_173845_add_github_user_id_column_to_users_table.php | 4 ++-- ...80322_add_github_user_id_column_to_collaborators_table.php | 4 ++-- ...d_marked_as_unavailable_at_timestamp_to_packages_table.php | 4 ++-- .../2021_09_22_221231_add_foreign_keys_to_reviews_table.php | 4 ++-- ..._221244_add_foreign_keys_to_collaborator_package_table.php | 4 ++-- ..._04_220040_add_providers_column_to_oauth_clients_table.php | 4 ++-- ...04_22_161239_add_nova_version_column_to_packages_table.php | 4 ++-- 47 files changed, 94 insertions(+), 94 deletions(-) diff --git a/database/migrations/2014_10_12_000000_create_users_table.php b/database/migrations/2014_10_12_000000_create_users_table.php index 167aa7d2..160de1fa 100644 --- a/database/migrations/2014_10_12_000000_create_users_table.php +++ b/database/migrations/2014_10_12_000000_create_users_table.php @@ -4,7 +4,7 @@ use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; -class CreateUsersTable extends Migration +return new class extends Migration { public function up() { @@ -22,4 +22,4 @@ public function down() { Schema::dropIfExists('users'); } -} +}; diff --git a/database/migrations/2014_10_12_100000_create_password_resets_table.php b/database/migrations/2014_10_12_100000_create_password_resets_table.php index 1ee80896..cb07396d 100644 --- a/database/migrations/2014_10_12_100000_create_password_resets_table.php +++ b/database/migrations/2014_10_12_100000_create_password_resets_table.php @@ -4,7 +4,7 @@ use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; -class CreatePasswordResetsTable extends Migration +return new class extends Migration { public function up() { @@ -19,4 +19,4 @@ public function down() { Schema::dropIfExists('password_resets'); } -} +}; diff --git a/database/migrations/2018_07_27_161503_create_tools_table.php b/database/migrations/2018_07_27_161503_create_tools_table.php index 2841ed2d..ff6efc47 100644 --- a/database/migrations/2018_07_27_161503_create_tools_table.php +++ b/database/migrations/2018_07_27_161503_create_tools_table.php @@ -4,7 +4,7 @@ use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; -class CreateToolsTable extends Migration +return new class extends Migration { public function up() { @@ -27,4 +27,4 @@ public function down() { Schema::dropIfExists('tools'); } -} +}; diff --git a/database/migrations/2018_07_27_161749_create_authors_table.php b/database/migrations/2018_07_27_161749_create_authors_table.php index 0a2f837e..763fb1c0 100644 --- a/database/migrations/2018_07_27_161749_create_authors_table.php +++ b/database/migrations/2018_07_27_161749_create_authors_table.php @@ -4,7 +4,7 @@ use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; -class CreateAuthorsTable extends Migration +return new class extends Migration { public function up() { @@ -21,4 +21,4 @@ public function down() { Schema::dropIfExists('authors'); } -} +}; diff --git a/database/migrations/2018_07_31_190434_create_categories_table.php b/database/migrations/2018_07_31_190434_create_categories_table.php index a4abcdd5..8d70ad91 100644 --- a/database/migrations/2018_07_31_190434_create_categories_table.php +++ b/database/migrations/2018_07_31_190434_create_categories_table.php @@ -4,7 +4,7 @@ use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; -class CreateCategoriesTable extends Migration +return new class extends Migration { public function up() { @@ -20,4 +20,4 @@ public function down() { Schema::dropIfExists('categories'); } -} +}; diff --git a/database/migrations/2018_07_31_191049_create_category_tool_table.php b/database/migrations/2018_07_31_191049_create_category_tool_table.php index 8415c192..36d786ff 100644 --- a/database/migrations/2018_07_31_191049_create_category_tool_table.php +++ b/database/migrations/2018_07_31_191049_create_category_tool_table.php @@ -4,7 +4,7 @@ use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; -class CreateCategoryToolTable extends Migration +return new class extends Migration { public function up() { @@ -19,4 +19,4 @@ public function down() { Schema::drop('category_tool'); } -} +}; diff --git a/database/migrations/2018_07_31_192313_drop_tool_type_column.php b/database/migrations/2018_07_31_192313_drop_tool_type_column.php index 5339d626..5b518f2c 100644 --- a/database/migrations/2018_07_31_192313_drop_tool_type_column.php +++ b/database/migrations/2018_07_31_192313_drop_tool_type_column.php @@ -4,7 +4,7 @@ use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; -class DropToolTypeColumn extends Migration +return new class extends Migration { public function up() { @@ -19,4 +19,4 @@ public function down() $table->string('type'); }); } -} +}; diff --git a/database/migrations/2018_08_01_020304_add_role_to_users_table.php b/database/migrations/2018_08_01_020304_add_role_to_users_table.php index 6ca589d5..5d094d14 100644 --- a/database/migrations/2018_08_01_020304_add_role_to_users_table.php +++ b/database/migrations/2018_08_01_020304_add_role_to_users_table.php @@ -4,7 +4,7 @@ use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; -class AddRoleToUsersTable extends Migration +return new class extends Migration { public function up() { @@ -19,4 +19,4 @@ public function down() $table->dropColumn('role'); }); } -} +}; diff --git a/database/migrations/2018_08_02_015813_add_user_id_to_authors_table.php b/database/migrations/2018_08_02_015813_add_user_id_to_authors_table.php index b1ca776e..e3160f15 100644 --- a/database/migrations/2018_08_02_015813_add_user_id_to_authors_table.php +++ b/database/migrations/2018_08_02_015813_add_user_id_to_authors_table.php @@ -4,7 +4,7 @@ use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; -class AddUserIdToAuthorsTable extends Migration +return new class extends Migration { public function up() { @@ -20,4 +20,4 @@ public function down() $table->dropColumn('user_id'); }); } -} +}; diff --git a/database/migrations/2018_08_02_025633_add_composer_string_to_tools_table.php b/database/migrations/2018_08_02_025633_add_composer_string_to_tools_table.php index 6405308a..10db9e56 100644 --- a/database/migrations/2018_08_02_025633_add_composer_string_to_tools_table.php +++ b/database/migrations/2018_08_02_025633_add_composer_string_to_tools_table.php @@ -4,7 +4,7 @@ use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; -class AddComposerStringToToolsTable extends Migration +return new class extends Migration { public function up() { @@ -19,4 +19,4 @@ public function down() $table->dropColumn('composer_name'); }); } -} +}; diff --git a/database/migrations/2018_08_02_030043_add_github_username_to_authors_table.php b/database/migrations/2018_08_02_030043_add_github_username_to_authors_table.php index 1255cef6..9068ab6e 100644 --- a/database/migrations/2018_08_02_030043_add_github_username_to_authors_table.php +++ b/database/migrations/2018_08_02_030043_add_github_username_to_authors_table.php @@ -4,7 +4,7 @@ use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; -class AddGithubUsernameToAuthorsTable extends Migration +return new class extends Migration { public function up() { @@ -19,4 +19,4 @@ public function down() $table->dropColumn('github_username'); }); } -} +}; diff --git a/database/migrations/2018_08_02_030255_make_some_author_fields_nullable.php b/database/migrations/2018_08_02_030255_make_some_author_fields_nullable.php index d4b1f76d..a3df2892 100644 --- a/database/migrations/2018_08_02_030255_make_some_author_fields_nullable.php +++ b/database/migrations/2018_08_02_030255_make_some_author_fields_nullable.php @@ -4,7 +4,7 @@ use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; -class MakeSomeAuthorFieldsNullable extends Migration +return new class extends Migration { public function up() { @@ -21,4 +21,4 @@ public function down() $table->text('description')->change(); }); } -} +}; diff --git a/database/migrations/2018_08_02_153606_rename_tools_to_packages.php b/database/migrations/2018_08_02_153606_rename_tools_to_packages.php index e57acd2f..1f28b62f 100644 --- a/database/migrations/2018_08_02_153606_rename_tools_to_packages.php +++ b/database/migrations/2018_08_02_153606_rename_tools_to_packages.php @@ -4,7 +4,7 @@ use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; -class RenameToolsToPackages extends Migration +return new class extends Migration { public function up() { @@ -25,4 +25,4 @@ public function down() $table->renameColumn('package_id', 'tool_id'); }); } -} +}; diff --git a/database/migrations/2018_08_02_154928_add_is_disabled_field_to_packages_table.php b/database/migrations/2018_08_02_154928_add_is_disabled_field_to_packages_table.php index 07a4c03b..d3ee701c 100644 --- a/database/migrations/2018_08_02_154928_add_is_disabled_field_to_packages_table.php +++ b/database/migrations/2018_08_02_154928_add_is_disabled_field_to_packages_table.php @@ -4,7 +4,7 @@ use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; -class AddIsDisabledFieldToPackagesTable extends Migration +return new class extends Migration { public function up() { @@ -19,4 +19,4 @@ public function down() $table->dropColumn('is_disabled'); }); } -} +}; diff --git a/database/migrations/2018_08_02_210409_simplify_urls_for_packages.php b/database/migrations/2018_08_02_210409_simplify_urls_for_packages.php index 75d2b445..3f585d58 100644 --- a/database/migrations/2018_08_02_210409_simplify_urls_for_packages.php +++ b/database/migrations/2018_08_02_210409_simplify_urls_for_packages.php @@ -4,7 +4,7 @@ use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; -class SimplifyUrlsForPackages extends Migration +return new class extends Migration { public function up() { @@ -35,4 +35,4 @@ public function down() $table->string('picture_url')->change(); }); } -} +}; diff --git a/database/migrations/2018_08_04_034109_drop_docs_url.php b/database/migrations/2018_08_04_034109_drop_docs_url.php index 60742a12..3cc89aae 100644 --- a/database/migrations/2018_08_04_034109_drop_docs_url.php +++ b/database/migrations/2018_08_04_034109_drop_docs_url.php @@ -4,7 +4,7 @@ use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; -class DropDocsUrl extends Migration +return new class extends Migration { public function up() { @@ -19,4 +19,4 @@ public function down() $table->string('docs_url')->nullable(); }); } -} +}; diff --git a/database/migrations/2018_08_06_201244_add_avatar_to_user.php b/database/migrations/2018_08_06_201244_add_avatar_to_user.php index 49e97248..ff9c6eb4 100644 --- a/database/migrations/2018_08_06_201244_add_avatar_to_user.php +++ b/database/migrations/2018_08_06_201244_add_avatar_to_user.php @@ -3,7 +3,7 @@ use Illuminate\Database\Migrations\Migration; use Illuminate\Support\Facades\Schema; -class AddAvatarToUser extends Migration +return new class extends Migration { public function up() { @@ -18,4 +18,4 @@ public function down() $table->dropColumn('avatar'); }); } -} +}; diff --git a/database/migrations/2018_08_06_202700_remove_password_from_users_table.php b/database/migrations/2018_08_06_202700_remove_password_from_users_table.php index 3ba05bf3..3f4f2039 100644 --- a/database/migrations/2018_08_06_202700_remove_password_from_users_table.php +++ b/database/migrations/2018_08_06_202700_remove_password_from_users_table.php @@ -4,7 +4,7 @@ use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; -class RemovePasswordFromUsersTable extends Migration +return new class extends Migration { public function up() { @@ -19,4 +19,4 @@ public function down() $table->string('password'); }); } -} +}; diff --git a/database/migrations/2018_08_07_170409_add_github_username_to_users_table.php b/database/migrations/2018_08_07_170409_add_github_username_to_users_table.php index a3c71a26..2e97923a 100644 --- a/database/migrations/2018_08_07_170409_add_github_username_to_users_table.php +++ b/database/migrations/2018_08_07_170409_add_github_username_to_users_table.php @@ -4,7 +4,7 @@ use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; -class AddGithubUsernameToUsersTable extends Migration +return new class extends Migration { public function up() { @@ -19,4 +19,4 @@ public function down() $table->dropColumn('github_username'); }); } -} +}; diff --git a/database/migrations/2018_08_14_155021_allow_null_package_instructions.php b/database/migrations/2018_08_14_155021_allow_null_package_instructions.php index 92fa850e..74f5c254 100644 --- a/database/migrations/2018_08_14_155021_allow_null_package_instructions.php +++ b/database/migrations/2018_08_14_155021_allow_null_package_instructions.php @@ -4,7 +4,7 @@ use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; -class AllowNullPackageInstructions extends Migration +return new class extends Migration { public function up() { @@ -19,4 +19,4 @@ public function down() $table->text('instructions')->change(); }); } -} +}; diff --git a/database/migrations/2018_08_16_024901_add_abstract_to_packages_table.php b/database/migrations/2018_08_16_024901_add_abstract_to_packages_table.php index 94361292..ee9391d7 100644 --- a/database/migrations/2018_08_16_024901_add_abstract_to_packages_table.php +++ b/database/migrations/2018_08_16_024901_add_abstract_to_packages_table.php @@ -4,7 +4,7 @@ use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; -class AddAbstractToPackagesTable extends Migration +return new class extends Migration { public function up() { @@ -19,4 +19,4 @@ public function down() $table->dropColumn('abstract'); }); } -} +}; diff --git a/database/migrations/2018_08_17_174435_add_avatar_to_authors_table.php b/database/migrations/2018_08_17_174435_add_avatar_to_authors_table.php index fcbdfbf0..cf89573a 100644 --- a/database/migrations/2018_08_17_174435_add_avatar_to_authors_table.php +++ b/database/migrations/2018_08_17_174435_add_avatar_to_authors_table.php @@ -3,7 +3,7 @@ use Illuminate\Database\Migrations\Migration; use Illuminate\Support\Facades\Schema; -class AddAvatarToAuthorsTable extends Migration +return new class extends Migration { public function up() { @@ -18,4 +18,4 @@ public function down() $table->dropColumn('avatar'); }); } -} +}; diff --git a/database/migrations/2018_08_17_191859_add_collaborator_package_pivot_table.php b/database/migrations/2018_08_17_191859_add_collaborator_package_pivot_table.php index 911804db..2f400509 100644 --- a/database/migrations/2018_08_17_191859_add_collaborator_package_pivot_table.php +++ b/database/migrations/2018_08_17_191859_add_collaborator_package_pivot_table.php @@ -3,7 +3,7 @@ use Illuminate\Database\Migrations\Migration; use Illuminate\Support\Facades\Schema; -class AddCollaboratorPackagePivotTable extends Migration +return new class extends Migration { public function up() { @@ -19,4 +19,4 @@ public function down() { Schema::dropIfExists('collaborator_package'); } -} +}; diff --git a/database/migrations/2018_08_17_204415_add_published_at_field_to_packages_table.php b/database/migrations/2018_08_17_204415_add_published_at_field_to_packages_table.php index aac7c09e..159f061a 100644 --- a/database/migrations/2018_08_17_204415_add_published_at_field_to_packages_table.php +++ b/database/migrations/2018_08_17_204415_add_published_at_field_to_packages_table.php @@ -4,7 +4,7 @@ use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; -class AddPublishedAtFieldToPackagesTable extends Migration +return new class extends Migration { public function up() { @@ -19,4 +19,4 @@ public function down() $table->dropColumn('published_at'); }); } -} +}; diff --git a/database/migrations/2018_08_18_162209_rename_authors_table_to_collaborators.php b/database/migrations/2018_08_18_162209_rename_authors_table_to_collaborators.php index c5e2e584..605874d4 100644 --- a/database/migrations/2018_08_18_162209_rename_authors_table_to_collaborators.php +++ b/database/migrations/2018_08_18_162209_rename_authors_table_to_collaborators.php @@ -3,7 +3,7 @@ use Illuminate\Database\Migrations\Migration; use Illuminate\Support\Facades\Schema; -class RenameAuthorsTableToCollaborators extends Migration +return new class extends Migration { public function up() { @@ -14,4 +14,4 @@ public function down() { Schema::rename('collaborators', 'authors'); } -} +}; diff --git a/database/migrations/2018_08_20_163738_create_ratings_table.php b/database/migrations/2018_08_20_163738_create_ratings_table.php index 75a83b21..4480583d 100644 --- a/database/migrations/2018_08_20_163738_create_ratings_table.php +++ b/database/migrations/2018_08_20_163738_create_ratings_table.php @@ -3,7 +3,7 @@ use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; -class CreateRatingsTable extends Migration +return new class extends Migration { public function up() { @@ -23,4 +23,4 @@ public function down() { Schema::drop('ratings'); } -} +}; diff --git a/database/migrations/2018_08_22_013153_rename_categories_tables_to_tags.php b/database/migrations/2018_08_22_013153_rename_categories_tables_to_tags.php index fffc88c5..12822f3b 100644 --- a/database/migrations/2018_08_22_013153_rename_categories_tables_to_tags.php +++ b/database/migrations/2018_08_22_013153_rename_categories_tables_to_tags.php @@ -4,7 +4,7 @@ use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; -class RenameCategoriesTablesToTags extends Migration +return new class extends Migration { public function up() { @@ -25,4 +25,4 @@ public function down() $table->renameColumn('tag_id', 'category_id'); }); } -} +}; diff --git a/database/migrations/2018_08_23_175027_add_packagist_cache_data_to_packages_table.php b/database/migrations/2018_08_23_175027_add_packagist_cache_data_to_packages_table.php index 7834a98d..fcd95f76 100644 --- a/database/migrations/2018_08_23_175027_add_packagist_cache_data_to_packages_table.php +++ b/database/migrations/2018_08_23_175027_add_packagist_cache_data_to_packages_table.php @@ -4,7 +4,7 @@ use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; -class AddPackagistCacheDataToPackagesTable extends Migration +return new class extends Migration { public function up() { @@ -21,4 +21,4 @@ public function down() $table->dropColumn('github_stars'); }); } -} +}; diff --git a/database/migrations/2018_08_24_012940_make_email_nullable.php b/database/migrations/2018_08_24_012940_make_email_nullable.php index f8899292..099049da 100644 --- a/database/migrations/2018_08_24_012940_make_email_nullable.php +++ b/database/migrations/2018_08_24_012940_make_email_nullable.php @@ -4,7 +4,7 @@ use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; -class MakeEmailNullable extends Migration +return new class extends Migration { public function up() { @@ -19,4 +19,4 @@ public function down() $table->string('email')->change(); }); } -} +}; diff --git a/database/migrations/2018_08_30_123018_create_failed_jobs_table.php b/database/migrations/2018_08_30_123018_create_failed_jobs_table.php index b3d6ea4a..9db6875b 100644 --- a/database/migrations/2018_08_30_123018_create_failed_jobs_table.php +++ b/database/migrations/2018_08_30_123018_create_failed_jobs_table.php @@ -4,7 +4,7 @@ use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; -class CreateFailedJobsTable extends Migration +return new class extends Migration { public function up() { @@ -22,4 +22,4 @@ public function down() { Schema::dropIfExists('failed_jobs'); } -} +}; diff --git a/database/migrations/2018_08_31_192230_add_repo_url_field_to_packages_table.php b/database/migrations/2018_08_31_192230_add_repo_url_field_to_packages_table.php index fade91ef..bc1776ae 100644 --- a/database/migrations/2018_08_31_192230_add_repo_url_field_to_packages_table.php +++ b/database/migrations/2018_08_31_192230_add_repo_url_field_to_packages_table.php @@ -4,7 +4,7 @@ use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; -class AddRepoUrlFieldToPackagesTable extends Migration +return new class extends Migration { public function up() { @@ -36,4 +36,4 @@ public function down() $table->dropColumn('readme'); }); } -} +}; diff --git a/database/migrations/2018_09_17_150145_create_screenshots_table.php b/database/migrations/2018_09_17_150145_create_screenshots_table.php index ce9396fa..97dedcb1 100644 --- a/database/migrations/2018_09_17_150145_create_screenshots_table.php +++ b/database/migrations/2018_09_17_150145_create_screenshots_table.php @@ -4,7 +4,7 @@ use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; -class CreateScreenshotsTable extends Migration +return new class extends Migration { public function up() { @@ -24,4 +24,4 @@ public function down() { Schema::dropIfExists('screenshots'); } -} +}; diff --git a/database/migrations/2018_09_17_182418_remove_published_at_from_packages_table.php b/database/migrations/2018_09_17_182418_remove_published_at_from_packages_table.php index d06f02fb..c7fc0c9e 100644 --- a/database/migrations/2018_09_17_182418_remove_published_at_from_packages_table.php +++ b/database/migrations/2018_09_17_182418_remove_published_at_from_packages_table.php @@ -4,7 +4,7 @@ use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; -class RemovePublishedAtFromPackagesTable extends Migration +return new class extends Migration { public function up() { @@ -19,4 +19,4 @@ public function down() $table->timestamp('published_at')->nullable()->after('updated_at'); }); } -} +}; diff --git a/database/migrations/2018_10_12_133808_create_favorites_table.php b/database/migrations/2018_10_12_133808_create_favorites_table.php index 3e2a37c3..8d35a3bb 100644 --- a/database/migrations/2018_10_12_133808_create_favorites_table.php +++ b/database/migrations/2018_10_12_133808_create_favorites_table.php @@ -4,7 +4,7 @@ use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; -class CreateFavoritesTable extends Migration +return new class extends Migration { public function up() { @@ -23,4 +23,4 @@ public function down() { Schema::dropIfExists('favorites'); } -} +}; diff --git a/database/migrations/2018_11_16_182154_add_latest_version_column_to_packages_table.php b/database/migrations/2018_11_16_182154_add_latest_version_column_to_packages_table.php index 364059bf..779ae798 100644 --- a/database/migrations/2018_11_16_182154_add_latest_version_column_to_packages_table.php +++ b/database/migrations/2018_11_16_182154_add_latest_version_column_to_packages_table.php @@ -4,7 +4,7 @@ use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; -class AddLatestVersionColumnToPackagesTable extends Migration +return new class extends Migration { public function up() { @@ -19,4 +19,4 @@ public function down() $table->dropColumn('latest_version'); }); } -} +}; diff --git a/database/migrations/2019_02_08_213121_add_submitter_id_to_packages_table.php b/database/migrations/2019_02_08_213121_add_submitter_id_to_packages_table.php index b481c719..527865da 100644 --- a/database/migrations/2019_02_08_213121_add_submitter_id_to_packages_table.php +++ b/database/migrations/2019_02_08_213121_add_submitter_id_to_packages_table.php @@ -4,7 +4,7 @@ use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; -class AddSubmitterIdToPackagesTable extends Migration +return new class extends Migration { public function up() { @@ -22,4 +22,4 @@ public function down() $table->dropColumn('submitter_id'); }); } -} +}; diff --git a/database/migrations/2019_03_06_031725_add_readme_format_to_packages_table.php b/database/migrations/2019_03_06_031725_add_readme_format_to_packages_table.php index ce3246c0..e104f5a8 100644 --- a/database/migrations/2019_03_06_031725_add_readme_format_to_packages_table.php +++ b/database/migrations/2019_03_06_031725_add_readme_format_to_packages_table.php @@ -4,7 +4,7 @@ use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; -class AddReadmeFormatToPackagesTable extends Migration +return new class extends Migration { public function up() { @@ -22,4 +22,4 @@ public function down() $table->dropColumn('readme_format'); }); } -} +}; diff --git a/database/migrations/2019_06_14_214402_create_reviews_table.php b/database/migrations/2019_06_14_214402_create_reviews_table.php index 741eed18..c9ddfaac 100644 --- a/database/migrations/2019_06_14_214402_create_reviews_table.php +++ b/database/migrations/2019_06_14_214402_create_reviews_table.php @@ -4,7 +4,7 @@ use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; -class CreateReviewsTable extends Migration +return new class extends Migration { /** * Run the migrations. @@ -32,4 +32,4 @@ public function down() { Schema::dropIfExists('reviews'); } -} +}; diff --git a/database/migrations/2020_02_01_134920_add_package_tag_indexes.php b/database/migrations/2020_02_01_134920_add_package_tag_indexes.php index c330ab06..cdcec168 100644 --- a/database/migrations/2020_02_01_134920_add_package_tag_indexes.php +++ b/database/migrations/2020_02_01_134920_add_package_tag_indexes.php @@ -4,7 +4,7 @@ use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; -class AddPackageTagIndexes extends Migration +return new class extends Migration { /** * Run the migrations. @@ -31,4 +31,4 @@ public function down() $table->dropForeign('package_tag_tag_id_foreign'); }); } -} +}; diff --git a/database/migrations/2020_02_03_202003_add_foreign_key_to_packages_table.php b/database/migrations/2020_02_03_202003_add_foreign_key_to_packages_table.php index 19f347ba..e379d435 100644 --- a/database/migrations/2020_02_03_202003_add_foreign_key_to_packages_table.php +++ b/database/migrations/2020_02_03_202003_add_foreign_key_to_packages_table.php @@ -4,7 +4,7 @@ use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; -class AddForeignKeyToPackagesTable extends Migration +return new class extends Migration { /** * Run the migrations. @@ -29,4 +29,4 @@ public function down() $table->dropForeign('packages_author_id_foreign'); }); } -} +}; diff --git a/database/migrations/2020_02_04_173845_add_github_user_id_column_to_users_table.php b/database/migrations/2020_02_04_173845_add_github_user_id_column_to_users_table.php index c838f861..ee459cf5 100644 --- a/database/migrations/2020_02_04_173845_add_github_user_id_column_to_users_table.php +++ b/database/migrations/2020_02_04_173845_add_github_user_id_column_to_users_table.php @@ -4,7 +4,7 @@ use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; -class AddGithubUserIdColumnToUsersTable extends Migration +return new class extends Migration { public function up() { @@ -19,4 +19,4 @@ public function down() $table->dropColumn('github_user_id'); }); } -} +}; diff --git a/database/migrations/2020_02_04_180322_add_github_user_id_column_to_collaborators_table.php b/database/migrations/2020_02_04_180322_add_github_user_id_column_to_collaborators_table.php index d8a50755..190380ba 100644 --- a/database/migrations/2020_02_04_180322_add_github_user_id_column_to_collaborators_table.php +++ b/database/migrations/2020_02_04_180322_add_github_user_id_column_to_collaborators_table.php @@ -4,7 +4,7 @@ use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; -class AddGithubUserIdColumnToCollaboratorsTable extends Migration +return new class extends Migration { public function up() { @@ -19,4 +19,4 @@ public function down() $table->dropColumn('github_user_id'); }); } -} +}; diff --git a/database/migrations/2020_10_29_222620_add_marked_as_unavailable_at_timestamp_to_packages_table.php b/database/migrations/2020_10_29_222620_add_marked_as_unavailable_at_timestamp_to_packages_table.php index 1b526e81..33636ba3 100644 --- a/database/migrations/2020_10_29_222620_add_marked_as_unavailable_at_timestamp_to_packages_table.php +++ b/database/migrations/2020_10_29_222620_add_marked_as_unavailable_at_timestamp_to_packages_table.php @@ -4,7 +4,7 @@ use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; -class AddMarkedAsUnavailableAtTimestampToPackagesTable extends Migration +return new class extends Migration { public function up() @@ -20,4 +20,4 @@ public function down() $table->dropColumn('marked_as_unavailable_at'); }); } -} +}; diff --git a/database/migrations/2021_09_22_221231_add_foreign_keys_to_reviews_table.php b/database/migrations/2021_09_22_221231_add_foreign_keys_to_reviews_table.php index 19f0ca95..224b60bb 100644 --- a/database/migrations/2021_09_22_221231_add_foreign_keys_to_reviews_table.php +++ b/database/migrations/2021_09_22_221231_add_foreign_keys_to_reviews_table.php @@ -4,7 +4,7 @@ use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; -class AddForeignKeysToReviewsTable extends Migration +return new class extends Migration { public function up() { @@ -25,4 +25,4 @@ public function down() ]); }); } -} +}; diff --git a/database/migrations/2021_09_22_221244_add_foreign_keys_to_collaborator_package_table.php b/database/migrations/2021_09_22_221244_add_foreign_keys_to_collaborator_package_table.php index 8e4b4b40..080bef34 100644 --- a/database/migrations/2021_09_22_221244_add_foreign_keys_to_collaborator_package_table.php +++ b/database/migrations/2021_09_22_221244_add_foreign_keys_to_collaborator_package_table.php @@ -4,7 +4,7 @@ use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; -class AddForeignKeysToCollaboratorPackageTable extends Migration +return new class extends Migration { public function up() { @@ -23,4 +23,4 @@ public function down() ]); }); } -} +}; diff --git a/database/migrations/2022_02_04_220040_add_providers_column_to_oauth_clients_table.php b/database/migrations/2022_02_04_220040_add_providers_column_to_oauth_clients_table.php index fb2097da..09b09ae4 100644 --- a/database/migrations/2022_02_04_220040_add_providers_column_to_oauth_clients_table.php +++ b/database/migrations/2022_02_04_220040_add_providers_column_to_oauth_clients_table.php @@ -4,7 +4,7 @@ use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; -class AddProvidersColumnToOauthClientsTable extends Migration +return new class extends Migration { public function up() { @@ -22,4 +22,4 @@ public function down() // }); } -} +}; diff --git a/database/migrations/2022_04_22_161239_add_nova_version_column_to_packages_table.php b/database/migrations/2022_04_22_161239_add_nova_version_column_to_packages_table.php index b415bd7e..6ddd3178 100644 --- a/database/migrations/2022_04_22_161239_add_nova_version_column_to_packages_table.php +++ b/database/migrations/2022_04_22_161239_add_nova_version_column_to_packages_table.php @@ -4,7 +4,7 @@ use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; -class AddNovaVersionColumnToPackagesTable extends Migration +return new class extends Migration { /** * Run the migrations. @@ -29,4 +29,4 @@ public function down() $table->dropColumn('nova_version'); }); } -} +}; From c64240bdf873635b428fca920695c14ffa65296c Mon Sep 17 00:00:00 2001 From: Shift Date: Thu, 8 Aug 2024 18:08:29 +0000 Subject: [PATCH 10/16] Rename `password_resets` table --- config/auth.php | 2 +- ...08_000000_rename_password_resets_table.php | 28 +++++++++++++++++++ 2 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 database/migrations/2024_08_08_000000_rename_password_resets_table.php diff --git a/config/auth.php b/config/auth.php index b4246819..0aa6bf10 100644 --- a/config/auth.php +++ b/config/auth.php @@ -98,7 +98,7 @@ 'passwords' => [ 'users' => [ 'provider' => 'users', - 'table' => 'password_resets', + 'table' => 'password_reset_tokens', 'expire' => 60, 'throttle' => 60, ], diff --git a/database/migrations/2024_08_08_000000_rename_password_resets_table.php b/database/migrations/2024_08_08_000000_rename_password_resets_table.php new file mode 100644 index 00000000..7ea51cef --- /dev/null +++ b/database/migrations/2024_08_08_000000_rename_password_resets_table.php @@ -0,0 +1,28 @@ + Date: Thu, 8 Aug 2024 18:08:37 +0000 Subject: [PATCH 11/16] Add type hints for Laravel 10 --- app/Collaborator.php | 13 ++++-- app/Console/Commands/CheckPackageUrls.php | 2 +- .../Commands/DeleteAbandonedScreenshots.php | 2 +- .../Commands/DeleteOpenGraphImages.php | 2 +- .../DeleteSelfAuthoredPackageRatings.php | 2 +- .../Commands/DisableUnavailablePackages.php | 2 +- .../Commands/GenerateOpenGraphImages.php | 2 +- .../GenerateUuidsForExistingFailedJobs.php | 2 +- app/Console/Commands/GithubAuthNotify.php | 2 +- .../SendUnavailablePackageFollowUp.php | 2 +- app/Console/Commands/SyncPackagistData.php | 2 +- app/Console/Commands/SyncRepositoryData.php | 2 +- app/Console/Kernel.php | 4 +- app/Exceptions/Handler.php | 2 +- app/Favorite.php | 3 +- app/Http/Middleware/CheckForEmailAddress.php | 4 +- app/Http/Middleware/CheckRole.php | 4 +- .../CheckUserClaimedCollaborator.php | 4 +- .../Middleware/RedirectIfAuthenticated.php | 4 +- app/Http/Requests/PackageFormRequest.php | 4 +- app/Http/Resources/Collaborator.php | 2 +- app/Http/Resources/ModelResource.php | 2 +- app/Http/Resources/Package.php | 2 +- app/Http/Resources/PackageDetailResource.php | 2 +- app/Http/Resources/PackageResource.php | 2 +- app/Http/Resources/Tag.php | 2 +- app/Http/Resources/TagResource.php | 2 +- app/Jobs/CheckPackageUrlsForAvailability.php | 2 +- app/Jobs/DeleteAbandonedScreenshots.php | 2 +- app/Jobs/GeneratePackageOpenGraphImage.php | 2 +- app/Jobs/SyncPackagePackagistData.php | 2 +- app/Jobs/SyncPackageRepositoryData.php | 2 +- app/Jobs/UserRatePackage.php | 2 +- .../ClaimOrCreateCollaboratorForNewUser.php | 2 +- app/Listeners/ClearPackageRatingCache.php | 2 +- app/Listeners/PackageEventSubscriber.php | 2 +- app/Listeners/SendNewPackageNotification.php | 2 +- .../SendPackageDeletedNotification.php | 2 +- .../ApologizeForIncorrectGitHubDisconnect.php | 4 +- app/Notifications/CollaboratorClaimed.php | 2 +- app/Notifications/GithubAuthNotification.php | 6 +-- app/Notifications/NewPackage.php | 2 +- .../NotifyAuthorOfDisabledPackage.php | 4 +- .../NotifyAuthorOfUnavailablePackageUrl.php | 4 +- app/Notifications/PackageDeleted.php | 2 +- .../RemindAuthorOfUnavailablePackage.php | 4 +- app/Package.php | 18 +++++--- app/Policies/PackagePolicy.php | 4 +- app/Policies/ReviewPolicy.php | 2 +- app/Policies/ScreenshotPolicy.php | 2 +- app/Providers/AppServiceProvider.php | 4 +- app/Providers/AuthServiceProvider.php | 2 +- app/Providers/EventServiceProvider.php | 4 +- app/Providers/HorizonServiceProvider.php | 4 +- app/Providers/HttpClientServiceProvider.php | 2 +- app/Providers/RouteServiceProvider.php | 2 +- app/Providers/TelescopeServiceProvider.php | 2 +- app/Review.php | 7 +-- app/Screenshot.php | 5 +- app/Tag.php | 3 +- app/User.php | 5 +- database/factories/CollaboratorFactory.php | 2 +- database/factories/FavoriteFactory.php | 2 +- database/factories/PackageFactory.php | 2 +- database/factories/ReviewFactory.php | 2 +- database/factories/ScreenshotFactory.php | 2 +- database/factories/TagFactory.php | 2 +- database/factories/UserFactory.php | 2 +- .../2014_10_12_000000_create_users_table.php | 4 +- ...12_100000_create_password_resets_table.php | 4 +- .../2018_07_27_161503_create_tools_table.php | 4 +- ...2018_07_27_161749_create_authors_table.php | 4 +- ...8_07_31_190434_create_categories_table.php | 4 +- ...7_31_191049_create_category_tool_table.php | 4 +- ...018_07_31_192313_drop_tool_type_column.php | 4 +- ...8_08_01_020304_add_role_to_users_table.php | 4 +- ...02_015813_add_user_id_to_authors_table.php | 4 +- ...633_add_composer_string_to_tools_table.php | 4 +- ...3_add_github_username_to_authors_table.php | 4 +- ...30255_make_some_author_fields_nullable.php | 4 +- ..._08_02_153606_rename_tools_to_packages.php | 4 +- ...dd_is_disabled_field_to_packages_table.php | 4 +- ...8_02_210409_simplify_urls_for_packages.php | 4 +- .../2018_08_04_034109_drop_docs_url.php | 4 +- .../2018_08_06_201244_add_avatar_to_user.php | 4 +- ...02700_remove_password_from_users_table.php | 4 +- ...409_add_github_username_to_users_table.php | 4 +- ...155021_allow_null_package_instructions.php | 4 +- ..._024901_add_abstract_to_packages_table.php | 4 +- ..._17_174435_add_avatar_to_authors_table.php | 4 +- ...9_add_collaborator_package_pivot_table.php | 4 +- ...d_published_at_field_to_packages_table.php | 4 +- ..._rename_authors_table_to_collaborators.php | 4 +- ...2018_08_20_163738_create_ratings_table.php | 4 +- ...13153_rename_categories_tables_to_tags.php | 4 +- ...packagist_cache_data_to_packages_table.php | 4 +- .../2018_08_24_012940_make_email_nullable.php | 4 +- ..._08_30_123018_create_failed_jobs_table.php | 4 +- ...0_add_repo_url_field_to_packages_table.php | 4 +- ..._09_17_150145_create_screenshots_table.php | 4 +- ...emove_published_at_from_packages_table.php | 4 +- ...18_10_12_133808_create_favorites_table.php | 4 +- ...atest_version_column_to_packages_table.php | 4 +- ...121_add_submitter_id_to_packages_table.php | 4 +- ...25_add_readme_format_to_packages_table.php | 4 +- ...2019_06_14_214402_create_reviews_table.php | 4 +- ...0_02_01_134920_add_package_tag_indexes.php | 4 +- ...2003_add_foreign_key_to_packages_table.php | 4 +- ...d_github_user_id_column_to_users_table.php | 4 +- ..._user_id_column_to_collaborators_table.php | 4 +- ...ailable_at_timestamp_to_packages_table.php | 4 +- ...1231_add_foreign_keys_to_reviews_table.php | 4 +- ...ign_keys_to_collaborator_package_table.php | 4 +- ...roviders_column_to_oauth_clients_table.php | 4 +- ..._nova_version_column_to_packages_table.php | 4 +- ...5_234642_add_uuid_to_failed_jobs_table.php | 4 +- ...08_000000_rename_password_resets_table.php | 4 +- database/seeders/DatabaseSeeder.php | 2 +- tests/Feature/AdminPanelViewTest.php | 12 ++--- tests/Feature/Api/FeedApiTest.php | 2 +- tests/Feature/Api/PopularPackageApiTest.php | 2 +- tests/Feature/Api/StatsApiTest.php | 12 ++--- tests/Feature/Api/TagsOnApiTest.php | 2 +- ...CheckPackageUrlAvailabilityCommandTest.php | 6 +-- tests/Feature/CheckRoleMiddlewareTest.php | 4 +- tests/Feature/CollaboratorClaimTest.php | 4 +- tests/Feature/CollaboratorCreateTest.php | 2 +- tests/Feature/CollaboratorCrudTest.php | 6 +-- tests/Feature/CollaboratorEditTest.php | 18 ++++---- tests/Feature/ContributorCrudTest.php | 2 +- .../DeleteAbandonedScreenshotsCommandTest.php | 2 +- .../DeleteSelfAuthoredPackageRatingsTest.php | 4 +- .../Feature/DisableAndEnablePackagesTest.php | 4 +- .../DisableUnavailablePackageCommandTest.php | 2 +- tests/Feature/DisabledPackageTest.php | 6 +-- tests/Feature/EmailTest.php | 10 ++-- tests/Feature/FeedTest.php | 2 +- .../GeneratePackageOpenGraphImageJobTest.php | 8 ++-- tests/Feature/GithubAuthNotificationTest.php | 2 +- tests/Feature/InternalApi/FavoritesTest.php | 8 ++-- .../InternalApi/InternalApiRatingsTest.php | 12 ++--- .../InternalApi/InternalApiReviewsTest.php | 14 +++--- tests/Feature/LoginTest.php | 10 ++-- .../NewUserCollaborateCreateAndOwnTest.php | 4 +- tests/Feature/PackageAbstractTest.php | 6 +-- tests/Feature/PackageCreateTest.php | 22 ++++----- tests/Feature/PackageCrudTest.php | 46 +++++++++---------- tests/Feature/PackageEditTest.php | 36 +++++++-------- tests/Feature/PackageViewTest.php | 4 +- tests/Feature/PopularityTest.php | 4 +- tests/Feature/RatingCountableTest.php | 8 ++-- ...eAuthorOfUnavailablePackageCommandTest.php | 2 +- tests/Feature/RepoTest.php | 42 ++++++++--------- tests/Feature/ScreenshotDeleteTest.php | 8 ++-- tests/Feature/ScreenshotUploadTest.php | 8 ++-- .../ScreenshotsArePassedToPackageTest.php | 2 +- tests/Feature/SearchTest.php | 6 +-- tests/Feature/SiteMapTest.php | 2 +- .../Feature/SyncRepositoryDataCommandTest.php | 6 +-- tests/Feature/UpdatePackageRepositoryTest.php | 4 +- tests/Feature/UserRoleTest.php | 4 +- tests/Feature/UserTest.php | 16 +++---- tests/Integration/GitHubApiTest.php | 8 ++-- tests/Unit/BitBucketRepoTest.php | 6 +-- tests/Unit/CollaboratorTest.php | 2 +- tests/Unit/GitHubRepoTest.php | 8 ++-- tests/Unit/GitLabRepoTest.php | 8 ++-- .../Resources/PackageDetailResourceTest.php | 8 ++-- .../Http/Resources/PackageResourceTest.php | 4 +- tests/Unit/Http/Resources/PackageTest.php | 4 +- tests/Unit/NpmRepoTest.php | 6 +-- tests/Unit/PackageTest.php | 10 ++-- tests/Unit/ReadmeFormatterTest.php | 20 ++++---- tests/Unit/Remotes/GitHubTest.php | 24 +++++----- tests/Unit/TagTest.php | 10 ++-- 175 files changed, 465 insertions(+), 445 deletions(-) diff --git a/app/Collaborator.php b/app/Collaborator.php index 35d5e69c..684000c2 100644 --- a/app/Collaborator.php +++ b/app/Collaborator.php @@ -2,6 +2,9 @@ namespace App; +use Illuminate\Database\Eloquent\Relations\BelongsToMany; +use Illuminate\Database\Eloquent\Relations\HasMany; +use Illuminate\Database\Eloquent\Relations\BelongsTo; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; @@ -15,27 +18,27 @@ class Collaborator extends Model protected $appends = ['name_with_username']; - public function allAuthoredPackages() + public function allAuthoredPackages(): HasMany { return $this->hasMany(Package::class, 'author_id')->withoutGlobalScope('notDisabled'); } - public function authoredPackages() + public function authoredPackages(): HasMany { return $this->hasMany(Package::class, 'author_id'); } - public function contributedPackages() + public function contributedPackages(): BelongsToMany { return $this->belongsToMany(Package::class); } - public function submittedPackages() + public function submittedPackages(): HasMany { return $this->hasMany(Package::class, 'submitter_id', 'user_id'); } - public function user() + public function user(): BelongsTo { return $this->belongsTo(User::class); } diff --git a/app/Console/Commands/CheckPackageUrls.php b/app/Console/Commands/CheckPackageUrls.php index 95da5611..3cc150fc 100644 --- a/app/Console/Commands/CheckPackageUrls.php +++ b/app/Console/Commands/CheckPackageUrls.php @@ -13,7 +13,7 @@ class CheckPackageUrls extends Command protected $description = 'Check all package URLs for 4XX errors'; - public function handle() + public function handle(): void { $validPackages = Package::whereNull('marked_as_unavailable_at') ->with('author') diff --git a/app/Console/Commands/DeleteAbandonedScreenshots.php b/app/Console/Commands/DeleteAbandonedScreenshots.php index 855c0a61..27706425 100644 --- a/app/Console/Commands/DeleteAbandonedScreenshots.php +++ b/app/Console/Commands/DeleteAbandonedScreenshots.php @@ -11,7 +11,7 @@ class DeleteAbandonedScreenshots extends Command protected $description = 'Delete all screenshots that are older than 24 hours and not associated with a package'; - public function handle() + public function handle(): void { dispatch(new DeleteAbandonedScreenshotsJob); } diff --git a/app/Console/Commands/DeleteOpenGraphImages.php b/app/Console/Commands/DeleteOpenGraphImages.php index c3d6443c..bb61fe61 100644 --- a/app/Console/Commands/DeleteOpenGraphImages.php +++ b/app/Console/Commands/DeleteOpenGraphImages.php @@ -12,7 +12,7 @@ class DeleteOpenGraphImages extends Command protected $description = 'Deletes all existing Open Graph images from storage.'; - public function handle() + public function handle(): void { if (! $this->argument('package')) { $files = Storage::allFiles(config('opengraph.image_directory_name') . '/'); diff --git a/app/Console/Commands/DeleteSelfAuthoredPackageRatings.php b/app/Console/Commands/DeleteSelfAuthoredPackageRatings.php index 55357567..2b62d900 100644 --- a/app/Console/Commands/DeleteSelfAuthoredPackageRatings.php +++ b/app/Console/Commands/DeleteSelfAuthoredPackageRatings.php @@ -11,7 +11,7 @@ class DeleteSelfAuthoredPackageRatings extends Command protected $description = 'Delete all package ratings where the rating was by the author or a contributor of the package'; - public function handle() + public function handle(): void { $this->deleteSelfAuthoredPackageRatings(); $this->deleteSelfContributedPackageRatings(); diff --git a/app/Console/Commands/DisableUnavailablePackages.php b/app/Console/Commands/DisableUnavailablePackages.php index 5847996b..9b68ac9a 100644 --- a/app/Console/Commands/DisableUnavailablePackages.php +++ b/app/Console/Commands/DisableUnavailablePackages.php @@ -13,7 +13,7 @@ class DisableUnavailablePackages extends Command protected $description = 'Disable unavailable packages after one month.'; - public function handle() + public function handle(): void { $unavailablePackages = Package::whereNotNull('marked_as_unavailable_at') ->where('is_disabled', 0) diff --git a/app/Console/Commands/GenerateOpenGraphImages.php b/app/Console/Commands/GenerateOpenGraphImages.php index 50de848f..890ec540 100644 --- a/app/Console/Commands/GenerateOpenGraphImages.php +++ b/app/Console/Commands/GenerateOpenGraphImages.php @@ -12,7 +12,7 @@ class GenerateOpenGraphImages extends Command protected $description = 'Generates new Open Graph images for every package.'; - public function handle() + public function handle(): void { $this->callSilent('purge:ogimage', ['package' => $this->argument('package')]); diff --git a/app/Console/Commands/GenerateUuidsForExistingFailedJobs.php b/app/Console/Commands/GenerateUuidsForExistingFailedJobs.php index e16b9e61..2e73f7d7 100644 --- a/app/Console/Commands/GenerateUuidsForExistingFailedJobs.php +++ b/app/Console/Commands/GenerateUuidsForExistingFailedJobs.php @@ -12,7 +12,7 @@ class GenerateUuidsForExistingFailedJobs extends Command protected $description = 'Generates UUIDs for existing failed jobs that do not have a UUID set.'; - public function handle() + public function handle(): int { DB::table('failed_jobs')->whereNull('uuid')->cursor()->each(function ($job) { DB::table('failed_jobs') diff --git a/app/Console/Commands/GithubAuthNotify.php b/app/Console/Commands/GithubAuthNotify.php index 8a55ccce..819f3b0e 100644 --- a/app/Console/Commands/GithubAuthNotify.php +++ b/app/Console/Commands/GithubAuthNotify.php @@ -13,7 +13,7 @@ class GithubAuthNotify extends Command protected $description = 'Notifies all users that they need to log in with Github.'; - public function handle() + public function handle(): void { Notification::send( User::whereNull('github_username')->get(), diff --git a/app/Console/Commands/SendUnavailablePackageFollowUp.php b/app/Console/Commands/SendUnavailablePackageFollowUp.php index 476e16ed..cd45d5f3 100644 --- a/app/Console/Commands/SendUnavailablePackageFollowUp.php +++ b/app/Console/Commands/SendUnavailablePackageFollowUp.php @@ -13,7 +13,7 @@ class SendUnavailablePackageFollowUp extends Command protected $description = 'If package has been unavailable for two weeks, send follow-up to package author.'; - public function handle() + public function handle(): void { $unavailablePackages = Package::whereNotNull('marked_as_unavailable_at') ->where('is_disabled', 0) diff --git a/app/Console/Commands/SyncPackagistData.php b/app/Console/Commands/SyncPackagistData.php index 03374ee5..0ada283b 100644 --- a/app/Console/Commands/SyncPackagistData.php +++ b/app/Console/Commands/SyncPackagistData.php @@ -12,7 +12,7 @@ class SyncPackagistData extends Command protected $description = 'Cache Packagist download counts and GitHub stars for every package.'; - public function handle() + public function handle(): void { foreach (Package::all() as $package) { dispatch(new SyncPackagePackagistData($package)); diff --git a/app/Console/Commands/SyncRepositoryData.php b/app/Console/Commands/SyncRepositoryData.php index 3f07e692..d2d32921 100644 --- a/app/Console/Commands/SyncRepositoryData.php +++ b/app/Console/Commands/SyncRepositoryData.php @@ -12,7 +12,7 @@ class SyncRepositoryData extends Command protected $description = 'Sync VCS repository readme, url and source for every package.'; - public function handle() + public function handle(): void { $packages = $this->argument('package') ? Package::where('id', $this->argument('package'))->get() diff --git a/app/Console/Kernel.php b/app/Console/Kernel.php index e39995cb..fb18e90b 100644 --- a/app/Console/Kernel.php +++ b/app/Console/Kernel.php @@ -19,7 +19,7 @@ class Kernel extends ConsoleKernel CheckPackageUrls::class ]; - protected function schedule(Schedule $schedule) + protected function schedule(Schedule $schedule): void { $schedule->command('sync:packagist')->everyTwoHours(); // Every two hours at minute 30. @@ -32,7 +32,7 @@ protected function schedule(Schedule $schedule) // $schedule->command('novapackages:disable-unavailable-packages')->dailyAt('21:30'); } - protected function commands() + protected function commands(): void { $this->load(__DIR__.'/Commands'); diff --git a/app/Exceptions/Handler.php b/app/Exceptions/Handler.php index 4ab51454..e3babb4e 100644 --- a/app/Exceptions/Handler.php +++ b/app/Exceptions/Handler.php @@ -24,7 +24,7 @@ class Handler extends ExceptionHandler * * @return void */ - public function register() + public function register(): void { // } diff --git a/app/Favorite.php b/app/Favorite.php index 1d2e9b86..78c6ce2d 100644 --- a/app/Favorite.php +++ b/app/Favorite.php @@ -2,6 +2,7 @@ namespace App; +use Illuminate\Database\Eloquent\Relations\BelongsTo; use App\Package; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; @@ -20,7 +21,7 @@ class Favorite extends Model 'user_id', ]; - public function package() + public function package(): BelongsTo { return $this->belongsTo(Package::class); } diff --git a/app/Http/Middleware/CheckForEmailAddress.php b/app/Http/Middleware/CheckForEmailAddress.php index 1cb5b786..95b7fb52 100644 --- a/app/Http/Middleware/CheckForEmailAddress.php +++ b/app/Http/Middleware/CheckForEmailAddress.php @@ -2,6 +2,8 @@ namespace App\Http\Middleware; +use Symfony\Component\HttpFoundation\Response; +use Illuminate\Http\Request; use Closure; class CheckForEmailAddress @@ -14,7 +16,7 @@ class CheckForEmailAddress * @param string|null $guard * @return mixed */ - public function handle($request, Closure $next, $guard = null) + public function handle(Request $request, Closure $next, $guard = null): Response { if (auth()->check() && ! auth()->user()->email) { return redirect()->route('app.email.create'); diff --git a/app/Http/Middleware/CheckRole.php b/app/Http/Middleware/CheckRole.php index d202aac5..ed6eb494 100644 --- a/app/Http/Middleware/CheckRole.php +++ b/app/Http/Middleware/CheckRole.php @@ -2,6 +2,8 @@ namespace App\Http\Middleware; +use Symfony\Component\HttpFoundation\Response; +use Illuminate\Http\Request; use Closure; class CheckRole @@ -14,7 +16,7 @@ class CheckRole * @param string $role * @return mixed */ - public function handle($request, Closure $next, $role) + public function handle(Request $request, Closure $next, $role): Response { if (! $request->user() || ! $request->user()->role == $role) { return redirect('/'); diff --git a/app/Http/Middleware/CheckUserClaimedCollaborator.php b/app/Http/Middleware/CheckUserClaimedCollaborator.php index 1ee78141..038ee164 100644 --- a/app/Http/Middleware/CheckUserClaimedCollaborator.php +++ b/app/Http/Middleware/CheckUserClaimedCollaborator.php @@ -2,6 +2,8 @@ namespace App\Http\Middleware; +use Symfony\Component\HttpFoundation\Response; +use Illuminate\Http\Request; use Closure; class CheckUserClaimedCollaborator @@ -13,7 +15,7 @@ class CheckUserClaimedCollaborator * @param \Closure $next * @return mixed */ - public function handle($request, Closure $next) + public function handle(Request $request, Closure $next): Response { abort_unless($request->route('collaborator')->user->id == auth()->id(), 403); diff --git a/app/Http/Middleware/RedirectIfAuthenticated.php b/app/Http/Middleware/RedirectIfAuthenticated.php index 852406da..f229a7f0 100644 --- a/app/Http/Middleware/RedirectIfAuthenticated.php +++ b/app/Http/Middleware/RedirectIfAuthenticated.php @@ -2,6 +2,8 @@ namespace App\Http\Middleware; +use Symfony\Component\HttpFoundation\Response; +use Illuminate\Http\Request; use App\Providers\RouteServiceProvider; use Closure; use Illuminate\Support\Facades\Auth; @@ -16,7 +18,7 @@ class RedirectIfAuthenticated * @param string|null ...$guards * @return mixed */ - public function handle($request, Closure $next, ...$guards) + public function handle(Request $request, Closure $next, string ...$guards): Response { $guards = empty($guards) ? [null] : $guards; diff --git a/app/Http/Requests/PackageFormRequest.php b/app/Http/Requests/PackageFormRequest.php index dd31bbf9..15d2fa26 100644 --- a/app/Http/Requests/PackageFormRequest.php +++ b/app/Http/Requests/PackageFormRequest.php @@ -14,12 +14,12 @@ class PackageFormRequest extends FormRequest { - public function authorize() + public function authorize(): bool { return true; } - public function rules() + public function rules(): array { return [ 'author_id' => 'required|exists:collaborators,id', diff --git a/app/Http/Resources/Collaborator.php b/app/Http/Resources/Collaborator.php index 1670d398..81251800 100644 --- a/app/Http/Resources/Collaborator.php +++ b/app/Http/Resources/Collaborator.php @@ -6,7 +6,7 @@ class Collaborator extends JsonResource { - public function toArray($request) + public function toArray($request): array { return [ 'name' => $this->name, diff --git a/app/Http/Resources/ModelResource.php b/app/Http/Resources/ModelResource.php index 8003de56..10603d27 100644 --- a/app/Http/Resources/ModelResource.php +++ b/app/Http/Resources/ModelResource.php @@ -21,7 +21,7 @@ public static function from($payload) return (new static($payload))->response(); } - public function toArray($payload) + public function toArray($payload): array { return $payload->toArray(); } diff --git a/app/Http/Resources/Package.php b/app/Http/Resources/Package.php index 80d26d97..f1f2f016 100644 --- a/app/Http/Resources/Package.php +++ b/app/Http/Resources/Package.php @@ -12,7 +12,7 @@ class Package extends JsonResource * @param \Illuminate\Http\Request $request * @return array */ - public function toArray($request) + public function toArray($request): array { return [ 'name' => $this->display_name, diff --git a/app/Http/Resources/PackageDetailResource.php b/app/Http/Resources/PackageDetailResource.php index dc5cefb9..93040c2f 100644 --- a/app/Http/Resources/PackageDetailResource.php +++ b/app/Http/Resources/PackageDetailResource.php @@ -15,7 +15,7 @@ class PackageDetailResource extends PackageResource { - public function toArray($package) + public function toArray($package): array { try { $packagistData = Packagist::make($package->composer_name)->data(); diff --git a/app/Http/Resources/PackageResource.php b/app/Http/Resources/PackageResource.php index 691c71cc..b5eb7bfd 100644 --- a/app/Http/Resources/PackageResource.php +++ b/app/Http/Resources/PackageResource.php @@ -11,7 +11,7 @@ class PackageResource extends ModelResource const CACHE_RATINGS_LENGTH = 5; - public function toArray($package) + public function toArray($package): array { return [ 'id' => $package->id, diff --git a/app/Http/Resources/Tag.php b/app/Http/Resources/Tag.php index f40c3ff3..47213185 100644 --- a/app/Http/Resources/Tag.php +++ b/app/Http/Resources/Tag.php @@ -6,7 +6,7 @@ class Tag extends JsonResource { - public function toArray($request) + public function toArray($request): array { return [ 'name' => $this->name, diff --git a/app/Http/Resources/TagResource.php b/app/Http/Resources/TagResource.php index 47bf209a..928741b8 100644 --- a/app/Http/Resources/TagResource.php +++ b/app/Http/Resources/TagResource.php @@ -9,7 +9,7 @@ class TagResource extends ModelResource { public $model = Tag::class; - public function toArray($tag) + public function toArray($tag): array { return [ 'id' => $tag->id, diff --git a/app/Jobs/CheckPackageUrlsForAvailability.php b/app/Jobs/CheckPackageUrlsForAvailability.php index 3825aa2d..0965cf49 100644 --- a/app/Jobs/CheckPackageUrlsForAvailability.php +++ b/app/Jobs/CheckPackageUrlsForAvailability.php @@ -23,7 +23,7 @@ public function __construct($package) $this->package = $package; } - public function handle() + public function handle(): void { $urlIsValid = true; try { diff --git a/app/Jobs/DeleteAbandonedScreenshots.php b/app/Jobs/DeleteAbandonedScreenshots.php index 583feabb..f29143d7 100644 --- a/app/Jobs/DeleteAbandonedScreenshots.php +++ b/app/Jobs/DeleteAbandonedScreenshots.php @@ -14,7 +14,7 @@ class DeleteAbandonedScreenshots implements ShouldQueue { use Dispatchable, InteractsWithQueue, Queueable, SerializesModels; - public function handle() + public function handle(): void { Screenshot::abandoned()->get()->each(function ($screenshot) { $screenshot->delete(); diff --git a/app/Jobs/GeneratePackageOpenGraphImage.php b/app/Jobs/GeneratePackageOpenGraphImage.php index c0444c61..5c49404c 100644 --- a/app/Jobs/GeneratePackageOpenGraphImage.php +++ b/app/Jobs/GeneratePackageOpenGraphImage.php @@ -34,7 +34,7 @@ public function __construct(string $packageName, string $packageAuthor, string $ * * @return void */ - public function handle() + public function handle(): void { (new OpenGraphImage($this->packageName, $this->packageAuthor, $this->packageOgImageName))->generate(); } diff --git a/app/Jobs/SyncPackagePackagistData.php b/app/Jobs/SyncPackagePackagistData.php index f7e7298f..447d2cf4 100644 --- a/app/Jobs/SyncPackagePackagistData.php +++ b/app/Jobs/SyncPackagePackagistData.php @@ -34,7 +34,7 @@ public function __construct($package) * * @return void */ - public function handle() + public function handle(): void { try { $packagistData = Packagist::make($this->package->composer_name)->data(); diff --git a/app/Jobs/SyncPackageRepositoryData.php b/app/Jobs/SyncPackageRepositoryData.php index f983a1bf..d65501bb 100644 --- a/app/Jobs/SyncPackageRepositoryData.php +++ b/app/Jobs/SyncPackageRepositoryData.php @@ -25,7 +25,7 @@ public function __construct($package) $this->package = $package; } - public function handle() + public function handle(): void { try { $repo = Repo::fromPackageModel($this->package); diff --git a/app/Jobs/UserRatePackage.php b/app/Jobs/UserRatePackage.php index f1c4db09..bb07013e 100644 --- a/app/Jobs/UserRatePackage.php +++ b/app/Jobs/UserRatePackage.php @@ -25,7 +25,7 @@ public function __construct($userId, $packageId, $stars) $this->stars = $stars; } - public function handle() + public function handle(): void { if (Rating::where([ 'user_id' => $this->userId, diff --git a/app/Listeners/ClaimOrCreateCollaboratorForNewUser.php b/app/Listeners/ClaimOrCreateCollaboratorForNewUser.php index 15816f69..f5eb8b4f 100644 --- a/app/Listeners/ClaimOrCreateCollaboratorForNewUser.php +++ b/app/Listeners/ClaimOrCreateCollaboratorForNewUser.php @@ -10,7 +10,7 @@ class ClaimOrCreateCollaboratorForNewUser { - public function handle(NewUserSignedUp $event) + public function handle(NewUserSignedUp $event): void { if (Collaborator::where('github_username', $event->user->github_username)->count() > 0) { return $this->claimCollaborator($event); diff --git a/app/Listeners/ClearPackageRatingCache.php b/app/Listeners/ClearPackageRatingCache.php index 5b61d622..20d3d911 100644 --- a/app/Listeners/ClearPackageRatingCache.php +++ b/app/Listeners/ClearPackageRatingCache.php @@ -9,7 +9,7 @@ class ClearPackageRatingCache { - public function handle(PackageRated $event) + public function handle(PackageRated $event): void { Cache::forget(CacheKeys::averageRating(Package::class, $event->packageId)); diff --git a/app/Listeners/PackageEventSubscriber.php b/app/Listeners/PackageEventSubscriber.php index b9251f62..547e2377 100644 --- a/app/Listeners/PackageEventSubscriber.php +++ b/app/Listeners/PackageEventSubscriber.php @@ -6,7 +6,7 @@ class PackageEventSubscriber { - public function handle($e) + public function handle($e): void { GeneratePackageOpenGraphImage::dispatch( $e->package->name, diff --git a/app/Listeners/SendNewPackageNotification.php b/app/Listeners/SendNewPackageNotification.php index 69b3175b..93927340 100644 --- a/app/Listeners/SendNewPackageNotification.php +++ b/app/Listeners/SendNewPackageNotification.php @@ -8,7 +8,7 @@ class SendNewPackageNotification { - public function handle(PackageCreated $event) + public function handle(PackageCreated $event): void { (new Tighten)->notify(new NewPackage($event->package)); } diff --git a/app/Listeners/SendPackageDeletedNotification.php b/app/Listeners/SendPackageDeletedNotification.php index f8abf4c6..b08d9b8e 100644 --- a/app/Listeners/SendPackageDeletedNotification.php +++ b/app/Listeners/SendPackageDeletedNotification.php @@ -7,7 +7,7 @@ class SendPackageDeletedNotification { - public function handle($event) + public function handle($event): void { (new Tighten)->notify(new PackageDeleted($event->packageName, $event->user)); } diff --git a/app/Notifications/ApologizeForIncorrectGitHubDisconnect.php b/app/Notifications/ApologizeForIncorrectGitHubDisconnect.php index f03fbca7..6bdd18f5 100644 --- a/app/Notifications/ApologizeForIncorrectGitHubDisconnect.php +++ b/app/Notifications/ApologizeForIncorrectGitHubDisconnect.php @@ -11,12 +11,12 @@ class ApologizeForIncorrectGitHubDisconnect extends Notification implements Shou { use Queueable; - public function via($notifiable) + public function via($notifiable): array { return ['mail']; } - public function toMail($notifiable) + public function toMail($notifiable): MailMessage { return (new MailMessage) ->subject('Our apologies for the incorrect error email!') diff --git a/app/Notifications/CollaboratorClaimed.php b/app/Notifications/CollaboratorClaimed.php index 4a7b33e4..23e53c38 100644 --- a/app/Notifications/CollaboratorClaimed.php +++ b/app/Notifications/CollaboratorClaimed.php @@ -35,7 +35,7 @@ public function handle(CollaboratorClaimedEvent $event) (new Tighten)->notify($this); } - public function via($notifiable) + public function via($notifiable): array { return ['slack']; } diff --git a/app/Notifications/GithubAuthNotification.php b/app/Notifications/GithubAuthNotification.php index 4849446e..b97a026e 100644 --- a/app/Notifications/GithubAuthNotification.php +++ b/app/Notifications/GithubAuthNotification.php @@ -16,12 +16,12 @@ public function __construct() // } - public function via($notifiable) + public function via($notifiable): array { return ['mail']; } - public function toMail($notifiable) + public function toMail($notifiable): MailMessage { return (new MailMessage) ->subject('Please authenticate your NovaPackages account with GitHub.') @@ -32,7 +32,7 @@ public function toMail($notifiable) ->line('Thank you for being so excited to try NovaPackages!'); } - public function toArray($notifiable) + public function toArray($notifiable): array { return [ // diff --git a/app/Notifications/NewPackage.php b/app/Notifications/NewPackage.php index c272750b..b305e9ad 100644 --- a/app/Notifications/NewPackage.php +++ b/app/Notifications/NewPackage.php @@ -28,7 +28,7 @@ public function __construct($package) } } - public function via($notifiable) + public function via($notifiable): array { return ['slack']; } diff --git a/app/Notifications/NotifyAuthorOfDisabledPackage.php b/app/Notifications/NotifyAuthorOfDisabledPackage.php index e41d6c65..01a9ad2a 100644 --- a/app/Notifications/NotifyAuthorOfDisabledPackage.php +++ b/app/Notifications/NotifyAuthorOfDisabledPackage.php @@ -19,12 +19,12 @@ public function __construct(Package $package) $this->package = $package; } - public function via($notifiable) + public function via($notifiable): array { return ['mail']; } - public function toMail($notifiable) + public function toMail($notifiable): MailMessage { $packageRoute = route('packages.show', [$this->package->composer_vendor, $this->package->composer_package]); $packageLink = "{$this->package->name}"; diff --git a/app/Notifications/NotifyAuthorOfUnavailablePackageUrl.php b/app/Notifications/NotifyAuthorOfUnavailablePackageUrl.php index f257442f..892a7cb4 100644 --- a/app/Notifications/NotifyAuthorOfUnavailablePackageUrl.php +++ b/app/Notifications/NotifyAuthorOfUnavailablePackageUrl.php @@ -21,12 +21,12 @@ public function __construct(Package $package) $this->package = $package; } - public function via($notifiable) + public function via($notifiable): array { return ['mail']; } - public function toMail($notifiable) + public function toMail($notifiable): MailMessage { $packageRoute = route('packages.show', [$this->package->composer_vendor, $this->package->composer_package]); $packageLink = "{$this->package->name}"; diff --git a/app/Notifications/PackageDeleted.php b/app/Notifications/PackageDeleted.php index 7f64d2a5..a1f00271 100644 --- a/app/Notifications/PackageDeleted.php +++ b/app/Notifications/PackageDeleted.php @@ -17,7 +17,7 @@ public function __construct(public string $packageName, public User $actor) // } - public function via($notifiable) + public function via($notifiable): array { return ['slack']; } diff --git a/app/Notifications/RemindAuthorOfUnavailablePackage.php b/app/Notifications/RemindAuthorOfUnavailablePackage.php index c5dc6160..0304ac61 100644 --- a/app/Notifications/RemindAuthorOfUnavailablePackage.php +++ b/app/Notifications/RemindAuthorOfUnavailablePackage.php @@ -19,12 +19,12 @@ public function __construct(Package $package) $this->package = $package; } - public function via($notifiable) + public function via($notifiable): array { return ['mail']; } - public function toMail($notifiable) + public function toMail($notifiable): MailMessage { $packageRoute = route('packages.show', [$this->package->composer_vendor, $this->package->composer_package]); $packageLink = "{$this->package->name}"; diff --git a/app/Package.php b/app/Package.php index 7b630412..fd4bb7f6 100644 --- a/app/Package.php +++ b/app/Package.php @@ -2,6 +2,10 @@ namespace App; +use Illuminate\Database\Eloquent\Relations\BelongsTo; +use Illuminate\Database\Eloquent\Relations\BelongsToMany; +use Illuminate\Database\Eloquent\Relations\MorphMany; +use Illuminate\Database\Eloquent\Relations\HasMany; use App\OpenGraphImage; use App\Screenshot; use Illuminate\Database\Eloquent\Builder; @@ -42,37 +46,37 @@ class Package extends Model implements Feedable protected $githubStarVsPackagistDownloadsMultiplier = 100; - public function author() + public function author(): BelongsTo { return $this->belongsTo(Collaborator::class, 'author_id'); } - public function contributors() + public function contributors(): BelongsToMany { return $this->belongsToMany(Collaborator::class); } - public function tags() + public function tags(): BelongsToMany { return $this->belongsToMany(Tag::class)->withTimestamps(); } - public function screenshots() + public function screenshots(): HasMany { return $this->hasMany(Screenshot::class); } - public function reviews() + public function reviews(): HasMany { return $this->hasMany(Review::class); } - public function ratings() + public function ratings(): MorphMany { return $this->morphMany(Rating::class, 'rateable'); } - public function favorites() + public function favorites(): HasMany { return $this->hasMany(Favorite::class); } diff --git a/app/Policies/PackagePolicy.php b/app/Policies/PackagePolicy.php index 9df5b6a0..f0e7b8fd 100644 --- a/app/Policies/PackagePolicy.php +++ b/app/Policies/PackagePolicy.php @@ -20,12 +20,12 @@ public function show(User $user, Package $package) return $this->userIsAdminOrAuthorOrCollaboratorOrUnclaimedSubmitter($user, $package); } - public function update(User $user, Package $package) + public function update(User $user, Package $package): bool { return $this->userIsAdminOrAuthorOrCollaboratorOrUnclaimedSubmitter($user, $package); } - public function delete(User $user, Package $package) + public function delete(User $user, Package $package): bool { return $this->userIsAdminOrAuthorOrCollaboratorOrUnclaimedSubmitter($user, $package); } diff --git a/app/Policies/ReviewPolicy.php b/app/Policies/ReviewPolicy.php index be7aaef5..aa7f8024 100644 --- a/app/Policies/ReviewPolicy.php +++ b/app/Policies/ReviewPolicy.php @@ -10,7 +10,7 @@ class ReviewPolicy { use HandlesAuthorization; - public function delete(User $user, Review $review) + public function delete(User $user, Review $review): bool { return $this->userIsAdminOrReviewAuthor($user, $review); } diff --git a/app/Policies/ScreenshotPolicy.php b/app/Policies/ScreenshotPolicy.php index c3d1a026..38039e09 100644 --- a/app/Policies/ScreenshotPolicy.php +++ b/app/Policies/ScreenshotPolicy.php @@ -11,7 +11,7 @@ class ScreenshotPolicy { use HandlesAuthorization, HandlesPackageAuthorizationTrait; - public function delete(User $user, Screenshot $screenshot) + public function delete(User $user, Screenshot $screenshot): bool { if ($screenshot->uploader->is($user) || ($screenshot->hasPackage() && $this->userIsAdminOrAuthorOrCollaboratorOrUnclaimedSubmitter($user, $screenshot->package)) diff --git a/app/Providers/AppServiceProvider.php b/app/Providers/AppServiceProvider.php index b7e58d37..c0c2f78f 100644 --- a/app/Providers/AppServiceProvider.php +++ b/app/Providers/AppServiceProvider.php @@ -8,7 +8,7 @@ class AppServiceProvider extends ServiceProvider { - public function boot() + public function boot(): void { Blade::directive('og', function ($expression) { list($property, $content) = explode(',', $expression, 2); @@ -17,7 +17,7 @@ public function boot() }); } - public function register() + public function register(): void { $this->app->singleton(Tighten::class, function () { return new Tighten; diff --git a/app/Providers/AuthServiceProvider.php b/app/Providers/AuthServiceProvider.php index bf47ba86..4164f2db 100644 --- a/app/Providers/AuthServiceProvider.php +++ b/app/Providers/AuthServiceProvider.php @@ -13,7 +13,7 @@ class AuthServiceProvider extends ServiceProvider \App\Review::class => \App\Policies\ReviewPolicy::class, ]; - public function boot() + public function boot(): void { Passport::routes(); } diff --git a/app/Providers/EventServiceProvider.php b/app/Providers/EventServiceProvider.php index c9d05856..9ff3cee8 100644 --- a/app/Providers/EventServiceProvider.php +++ b/app/Providers/EventServiceProvider.php @@ -43,7 +43,7 @@ class EventServiceProvider extends ServiceProvider * * @return void */ - public function boot() + public function boot(): void { // } @@ -53,7 +53,7 @@ public function boot() * * @return bool */ - public function shouldDiscoverEvents() + public function shouldDiscoverEvents(): bool { return false; } diff --git a/app/Providers/HorizonServiceProvider.php b/app/Providers/HorizonServiceProvider.php index a1d80615..3140c11d 100644 --- a/app/Providers/HorizonServiceProvider.php +++ b/app/Providers/HorizonServiceProvider.php @@ -13,7 +13,7 @@ class HorizonServiceProvider extends HorizonApplicationServiceProvider * * @return void */ - public function boot() + public function boot(): void { parent::boot(); @@ -39,7 +39,7 @@ protected function gate() * * @return void */ - public function register() + public function register(): void { // } diff --git a/app/Providers/HttpClientServiceProvider.php b/app/Providers/HttpClientServiceProvider.php index 7c89d87f..ad5154cb 100644 --- a/app/Providers/HttpClientServiceProvider.php +++ b/app/Providers/HttpClientServiceProvider.php @@ -7,7 +7,7 @@ class HttpClientServiceProvider extends ServiceProvider { - public function boot() + public function boot(): void { Http::macro('github', function () { return Http::withToken(config('services.github.token')) diff --git a/app/Providers/RouteServiceProvider.php b/app/Providers/RouteServiceProvider.php index eb79c1cf..41245fd9 100644 --- a/app/Providers/RouteServiceProvider.php +++ b/app/Providers/RouteServiceProvider.php @@ -25,7 +25,7 @@ class RouteServiceProvider extends ServiceProvider * * @return void */ - public function boot() + public function boot(): void { RateLimiter::for('api', function (Request $request) { return Limit::perMinute(60); diff --git a/app/Providers/TelescopeServiceProvider.php b/app/Providers/TelescopeServiceProvider.php index 2d799496..a6640d30 100644 --- a/app/Providers/TelescopeServiceProvider.php +++ b/app/Providers/TelescopeServiceProvider.php @@ -14,7 +14,7 @@ class TelescopeServiceProvider extends TelescopeApplicationServiceProvider * * @return void */ - public function register() + public function register(): void { // Telescope::night(); diff --git a/app/Review.php b/app/Review.php index 49e6f8b4..557cf356 100644 --- a/app/Review.php +++ b/app/Review.php @@ -2,6 +2,7 @@ namespace App; +use Illuminate\Database\Eloquent\Relations\BelongsTo; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use willvincent\Rateable\Rating; @@ -13,17 +14,17 @@ class Review extends Model protected $guarded = ['id']; protected $with = ['rating:id,rating']; - public function package() + public function package(): BelongsTo { return $this->belongsTo(Package::class); } - public function user() + public function user(): BelongsTo { return $this->belongsTo(User::class); } - public function rating() + public function rating(): BelongsTo { return $this->belongsTo(Rating::class); } diff --git a/app/Screenshot.php b/app/Screenshot.php index d1810b94..aef94485 100644 --- a/app/Screenshot.php +++ b/app/Screenshot.php @@ -2,6 +2,7 @@ namespace App; +use Illuminate\Database\Eloquent\Relations\BelongsTo; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Support\Carbon; @@ -18,12 +19,12 @@ class Screenshot extends Model protected $appends = ['public_url']; - public function uploader() + public function uploader(): BelongsTo { return $this->belongsTo(User::class); } - public function package() + public function package(): BelongsTo { return $this->belongsTo(Package::class); } diff --git a/app/Tag.php b/app/Tag.php index 63425177..0e25f174 100644 --- a/app/Tag.php +++ b/app/Tag.php @@ -2,6 +2,7 @@ namespace App; +use Illuminate\Database\Eloquent\Relations\BelongsToMany; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Support\Str; @@ -28,7 +29,7 @@ class Tag extends Model protected $guarded = ['id']; - public function packages() + public function packages(): BelongsToMany { return $this->belongsToMany(Package::class)->withTimestamps(); } diff --git a/app/User.php b/app/User.php index dda56d34..bea42910 100644 --- a/app/User.php +++ b/app/User.php @@ -2,6 +2,7 @@ namespace App; +use Illuminate\Database\Eloquent\Relations\HasMany; use App\Favorite; use App\Jobs\UserRatePackage; use App\Package; @@ -61,12 +62,12 @@ public static function booted() }); } - public function collaborators() + public function collaborators(): HasMany { return $this->hasMany(Collaborator::class); } - public function favorites() + public function favorites(): HasMany { return $this->hasMany(Favorite::class); } diff --git a/database/factories/CollaboratorFactory.php b/database/factories/CollaboratorFactory.php index e034e458..f3c7bed0 100644 --- a/database/factories/CollaboratorFactory.php +++ b/database/factories/CollaboratorFactory.php @@ -12,7 +12,7 @@ class CollaboratorFactory extends Factory * * @return array */ - public function definition() + public function definition(): array { return [ 'name' => $this->faker->firstName().' '.$this->faker->lastName(), diff --git a/database/factories/FavoriteFactory.php b/database/factories/FavoriteFactory.php index 3e43d43e..e0f0578d 100644 --- a/database/factories/FavoriteFactory.php +++ b/database/factories/FavoriteFactory.php @@ -14,7 +14,7 @@ class FavoriteFactory extends Factory * * @return array */ - public function definition() + public function definition(): array { return [ 'user_id' => User::factory(), diff --git a/database/factories/PackageFactory.php b/database/factories/PackageFactory.php index 847d6a57..bf462e2f 100644 --- a/database/factories/PackageFactory.php +++ b/database/factories/PackageFactory.php @@ -13,7 +13,7 @@ class PackageFactory extends Factory * * @return array */ - public function definition() + public function definition(): array { return [ 'name' => $this->faker->sentence(), diff --git a/database/factories/ReviewFactory.php b/database/factories/ReviewFactory.php index cacafdfd..5db40cf5 100644 --- a/database/factories/ReviewFactory.php +++ b/database/factories/ReviewFactory.php @@ -14,7 +14,7 @@ class ReviewFactory extends Factory * * @return array */ - public function definition() + public function definition(): array { return [ 'user_id' => User::factory(), diff --git a/database/factories/ScreenshotFactory.php b/database/factories/ScreenshotFactory.php index e8e672a8..621a8bff 100644 --- a/database/factories/ScreenshotFactory.php +++ b/database/factories/ScreenshotFactory.php @@ -13,7 +13,7 @@ class ScreenshotFactory extends Factory * * @return array */ - public function definition() + public function definition(): array { return [ 'uploader_id' => User::factory(), diff --git a/database/factories/TagFactory.php b/database/factories/TagFactory.php index ce16a96c..ddf1ffc9 100644 --- a/database/factories/TagFactory.php +++ b/database/factories/TagFactory.php @@ -13,7 +13,7 @@ class TagFactory extends Factory * * @return array */ - public function definition() + public function definition(): array { $name = $this->faker->sentence(); diff --git a/database/factories/UserFactory.php b/database/factories/UserFactory.php index 8ff28ddb..aace86c0 100644 --- a/database/factories/UserFactory.php +++ b/database/factories/UserFactory.php @@ -13,7 +13,7 @@ class UserFactory extends Factory * * @return array */ - public function definition() + public function definition(): array { return [ 'name' => $this->faker->name(), diff --git a/database/migrations/2014_10_12_000000_create_users_table.php b/database/migrations/2014_10_12_000000_create_users_table.php index 160de1fa..57d0d51e 100644 --- a/database/migrations/2014_10_12_000000_create_users_table.php +++ b/database/migrations/2014_10_12_000000_create_users_table.php @@ -6,7 +6,7 @@ return new class extends Migration { - public function up() + public function up(): void { Schema::create('users', function (Blueprint $table) { $table->increments('id'); @@ -18,7 +18,7 @@ public function up() }); } - public function down() + public function down(): void { Schema::dropIfExists('users'); } diff --git a/database/migrations/2014_10_12_100000_create_password_resets_table.php b/database/migrations/2014_10_12_100000_create_password_resets_table.php index cb07396d..4e0a52f0 100644 --- a/database/migrations/2014_10_12_100000_create_password_resets_table.php +++ b/database/migrations/2014_10_12_100000_create_password_resets_table.php @@ -6,7 +6,7 @@ return new class extends Migration { - public function up() + public function up(): void { Schema::create('password_resets', function (Blueprint $table) { $table->string('email')->index(); @@ -15,7 +15,7 @@ public function up() }); } - public function down() + public function down(): void { Schema::dropIfExists('password_resets'); } diff --git a/database/migrations/2018_07_27_161503_create_tools_table.php b/database/migrations/2018_07_27_161503_create_tools_table.php index ff6efc47..02e561cb 100644 --- a/database/migrations/2018_07_27_161503_create_tools_table.php +++ b/database/migrations/2018_07_27_161503_create_tools_table.php @@ -6,7 +6,7 @@ return new class extends Migration { - public function up() + public function up(): void { Schema::create('tools', function (Blueprint $table) { $table->increments('id'); @@ -23,7 +23,7 @@ public function up() }); } - public function down() + public function down(): void { Schema::dropIfExists('tools'); } diff --git a/database/migrations/2018_07_27_161749_create_authors_table.php b/database/migrations/2018_07_27_161749_create_authors_table.php index 763fb1c0..faa1253b 100644 --- a/database/migrations/2018_07_27_161749_create_authors_table.php +++ b/database/migrations/2018_07_27_161749_create_authors_table.php @@ -6,7 +6,7 @@ return new class extends Migration { - public function up() + public function up(): void { Schema::create('authors', function (Blueprint $table) { $table->increments('id'); @@ -17,7 +17,7 @@ public function up() }); } - public function down() + public function down(): void { Schema::dropIfExists('authors'); } diff --git a/database/migrations/2018_07_31_190434_create_categories_table.php b/database/migrations/2018_07_31_190434_create_categories_table.php index 8d70ad91..9e049c38 100644 --- a/database/migrations/2018_07_31_190434_create_categories_table.php +++ b/database/migrations/2018_07_31_190434_create_categories_table.php @@ -6,7 +6,7 @@ return new class extends Migration { - public function up() + public function up(): void { Schema::create('categories', function (Blueprint $table) { $table->increments('id'); @@ -16,7 +16,7 @@ public function up() }); } - public function down() + public function down(): void { Schema::dropIfExists('categories'); } diff --git a/database/migrations/2018_07_31_191049_create_category_tool_table.php b/database/migrations/2018_07_31_191049_create_category_tool_table.php index 36d786ff..e6125f5e 100644 --- a/database/migrations/2018_07_31_191049_create_category_tool_table.php +++ b/database/migrations/2018_07_31_191049_create_category_tool_table.php @@ -6,7 +6,7 @@ return new class extends Migration { - public function up() + public function up(): void { Schema::create('category_tool', function (Blueprint $table) { $table->unsignedInteger('category_id'); @@ -15,7 +15,7 @@ public function up() }); } - public function down() + public function down(): void { Schema::drop('category_tool'); } diff --git a/database/migrations/2018_07_31_192313_drop_tool_type_column.php b/database/migrations/2018_07_31_192313_drop_tool_type_column.php index 5b518f2c..73c73799 100644 --- a/database/migrations/2018_07_31_192313_drop_tool_type_column.php +++ b/database/migrations/2018_07_31_192313_drop_tool_type_column.php @@ -6,14 +6,14 @@ return new class extends Migration { - public function up() + public function up(): void { Schema::table('tools', function (Blueprint $table) { $table->dropColumn('type'); }); } - public function down() + public function down(): void { Schema::table('tools', function (Blueprint $table) { $table->string('type'); diff --git a/database/migrations/2018_08_01_020304_add_role_to_users_table.php b/database/migrations/2018_08_01_020304_add_role_to_users_table.php index 5d094d14..1ecb0f02 100644 --- a/database/migrations/2018_08_01_020304_add_role_to_users_table.php +++ b/database/migrations/2018_08_01_020304_add_role_to_users_table.php @@ -6,14 +6,14 @@ return new class extends Migration { - public function up() + public function up(): void { Schema::table('users', function (Blueprint $table) { $table->unsignedInteger('role')->default(0); }); } - public function down() + public function down(): void { Schema::table('users', function (Blueprint $table) { $table->dropColumn('role'); diff --git a/database/migrations/2018_08_02_015813_add_user_id_to_authors_table.php b/database/migrations/2018_08_02_015813_add_user_id_to_authors_table.php index e3160f15..176e2538 100644 --- a/database/migrations/2018_08_02_015813_add_user_id_to_authors_table.php +++ b/database/migrations/2018_08_02_015813_add_user_id_to_authors_table.php @@ -6,7 +6,7 @@ return new class extends Migration { - public function up() + public function up(): void { Schema::table('authors', function (Blueprint $table) { $table->unsignedInteger('user_id')->nullable(); @@ -14,7 +14,7 @@ public function up() }); } - public function down() + public function down(): void { Schema::table('authors', function (Blueprint $table) { $table->dropColumn('user_id'); diff --git a/database/migrations/2018_08_02_025633_add_composer_string_to_tools_table.php b/database/migrations/2018_08_02_025633_add_composer_string_to_tools_table.php index 10db9e56..d5641088 100644 --- a/database/migrations/2018_08_02_025633_add_composer_string_to_tools_table.php +++ b/database/migrations/2018_08_02_025633_add_composer_string_to_tools_table.php @@ -6,14 +6,14 @@ return new class extends Migration { - public function up() + public function up(): void { Schema::table('tools', function (Blueprint $table) { $table->string('composer_name')->nullable(); }); } - public function down() + public function down(): void { Schema::table('tools', function (Blueprint $table) { $table->dropColumn('composer_name'); diff --git a/database/migrations/2018_08_02_030043_add_github_username_to_authors_table.php b/database/migrations/2018_08_02_030043_add_github_username_to_authors_table.php index 9068ab6e..a9fbdbb1 100644 --- a/database/migrations/2018_08_02_030043_add_github_username_to_authors_table.php +++ b/database/migrations/2018_08_02_030043_add_github_username_to_authors_table.php @@ -6,14 +6,14 @@ return new class extends Migration { - public function up() + public function up(): void { Schema::table('authors', function (Blueprint $table) { $table->string('github_username')->nullable(); }); } - public function down() + public function down(): void { Schema::table('authors', function (Blueprint $table) { $table->dropColumn('github_username'); diff --git a/database/migrations/2018_08_02_030255_make_some_author_fields_nullable.php b/database/migrations/2018_08_02_030255_make_some_author_fields_nullable.php index a3df2892..0b8ddc50 100644 --- a/database/migrations/2018_08_02_030255_make_some_author_fields_nullable.php +++ b/database/migrations/2018_08_02_030255_make_some_author_fields_nullable.php @@ -6,7 +6,7 @@ return new class extends Migration { - public function up() + public function up(): void { Schema::table('authors', function (Blueprint $table) { $table->string('url')->nullable()->change(); @@ -14,7 +14,7 @@ public function up() }); } - public function down() + public function down(): void { Schema::table('authors', function (Blueprint $table) { $table->string('url')->change(); diff --git a/database/migrations/2018_08_02_153606_rename_tools_to_packages.php b/database/migrations/2018_08_02_153606_rename_tools_to_packages.php index 1f28b62f..1662fb4a 100644 --- a/database/migrations/2018_08_02_153606_rename_tools_to_packages.php +++ b/database/migrations/2018_08_02_153606_rename_tools_to_packages.php @@ -6,7 +6,7 @@ return new class extends Migration { - public function up() + public function up(): void { Schema::rename('tools', 'packages'); Schema::rename('category_tool', 'category_package'); @@ -16,7 +16,7 @@ public function up() }); } - public function down() + public function down(): void { Schema::rename('packages', 'tools'); Schema::rename('category_package', 'category_tool'); diff --git a/database/migrations/2018_08_02_154928_add_is_disabled_field_to_packages_table.php b/database/migrations/2018_08_02_154928_add_is_disabled_field_to_packages_table.php index d3ee701c..2021b473 100644 --- a/database/migrations/2018_08_02_154928_add_is_disabled_field_to_packages_table.php +++ b/database/migrations/2018_08_02_154928_add_is_disabled_field_to_packages_table.php @@ -6,14 +6,14 @@ return new class extends Migration { - public function up() + public function up(): void { Schema::table('packages', function (Blueprint $table) { $table->boolean('is_disabled')->after('instructions')->default(false); }); } - public function down() + public function down(): void { Schema::table('packages', function (Blueprint $table) { $table->dropColumn('is_disabled'); diff --git a/database/migrations/2018_08_02_210409_simplify_urls_for_packages.php b/database/migrations/2018_08_02_210409_simplify_urls_for_packages.php index 3f585d58..01018393 100644 --- a/database/migrations/2018_08_02_210409_simplify_urls_for_packages.php +++ b/database/migrations/2018_08_02_210409_simplify_urls_for_packages.php @@ -6,7 +6,7 @@ return new class extends Migration { - public function up() + public function up(): void { // Friggin' SQLite. Schema::table('packages', function (Blueprint $table) { @@ -26,7 +26,7 @@ public function up() }); } - public function down() + public function down(): void { Schema::table('packages', function (Blueprint $table) { $table->string('git_url'); diff --git a/database/migrations/2018_08_04_034109_drop_docs_url.php b/database/migrations/2018_08_04_034109_drop_docs_url.php index 3cc89aae..ede3fd3a 100644 --- a/database/migrations/2018_08_04_034109_drop_docs_url.php +++ b/database/migrations/2018_08_04_034109_drop_docs_url.php @@ -6,14 +6,14 @@ return new class extends Migration { - public function up() + public function up(): void { Schema::table('packages', function (Blueprint $table) { $table->dropColumn('docs_url'); }); } - public function down() + public function down(): void { Schema::table('packages', function (Blueprint $table) { $table->string('docs_url')->nullable(); diff --git a/database/migrations/2018_08_06_201244_add_avatar_to_user.php b/database/migrations/2018_08_06_201244_add_avatar_to_user.php index ff9c6eb4..07585d90 100644 --- a/database/migrations/2018_08_06_201244_add_avatar_to_user.php +++ b/database/migrations/2018_08_06_201244_add_avatar_to_user.php @@ -5,14 +5,14 @@ return new class extends Migration { - public function up() + public function up(): void { Schema::table('users', function ($table) { $table->string('avatar')->nullable(); }); } - public function down() + public function down(): void { Schema::table('users', function ($table) { $table->dropColumn('avatar'); diff --git a/database/migrations/2018_08_06_202700_remove_password_from_users_table.php b/database/migrations/2018_08_06_202700_remove_password_from_users_table.php index 3f4f2039..9c9432c8 100644 --- a/database/migrations/2018_08_06_202700_remove_password_from_users_table.php +++ b/database/migrations/2018_08_06_202700_remove_password_from_users_table.php @@ -6,14 +6,14 @@ return new class extends Migration { - public function up() + public function up(): void { Schema::table('users', function (Blueprint $table) { $table->dropColumn('password'); }); } - public function down() + public function down(): void { Schema::table('users', function (Blueprint $table) { $table->string('password'); diff --git a/database/migrations/2018_08_07_170409_add_github_username_to_users_table.php b/database/migrations/2018_08_07_170409_add_github_username_to_users_table.php index 2e97923a..e14a26c9 100644 --- a/database/migrations/2018_08_07_170409_add_github_username_to_users_table.php +++ b/database/migrations/2018_08_07_170409_add_github_username_to_users_table.php @@ -6,14 +6,14 @@ return new class extends Migration { - public function up() + public function up(): void { Schema::table('users', function (Blueprint $table) { $table->string('github_username')->nullable(); }); } - public function down() + public function down(): void { Schema::table('users', function (Blueprint $table) { $table->dropColumn('github_username'); diff --git a/database/migrations/2018_08_14_155021_allow_null_package_instructions.php b/database/migrations/2018_08_14_155021_allow_null_package_instructions.php index 74f5c254..1ae99ea5 100644 --- a/database/migrations/2018_08_14_155021_allow_null_package_instructions.php +++ b/database/migrations/2018_08_14_155021_allow_null_package_instructions.php @@ -6,14 +6,14 @@ return new class extends Migration { - public function up() + public function up(): void { Schema::table('packages', function (Blueprint $table) { $table->text('instructions')->nullable()->change(); }); } - public function down() + public function down(): void { Schema::table('packages', function (Blueprint $table) { $table->text('instructions')->change(); diff --git a/database/migrations/2018_08_16_024901_add_abstract_to_packages_table.php b/database/migrations/2018_08_16_024901_add_abstract_to_packages_table.php index ee9391d7..8f207fbb 100644 --- a/database/migrations/2018_08_16_024901_add_abstract_to_packages_table.php +++ b/database/migrations/2018_08_16_024901_add_abstract_to_packages_table.php @@ -6,14 +6,14 @@ return new class extends Migration { - public function up() + public function up(): void { Schema::table('packages', function (Blueprint $table) { $table->string('abstract')->nullable(); }); } - public function down() + public function down(): void { Schema::table('packages', function (Blueprint $table) { $table->dropColumn('abstract'); diff --git a/database/migrations/2018_08_17_174435_add_avatar_to_authors_table.php b/database/migrations/2018_08_17_174435_add_avatar_to_authors_table.php index cf89573a..e2ff2281 100644 --- a/database/migrations/2018_08_17_174435_add_avatar_to_authors_table.php +++ b/database/migrations/2018_08_17_174435_add_avatar_to_authors_table.php @@ -5,14 +5,14 @@ return new class extends Migration { - public function up() + public function up(): void { Schema::table('authors', function ($table) { $table->string('avatar')->nullable(); }); } - public function down() + public function down(): void { Schema::table('authors', function ($table) { $table->dropColumn('avatar'); diff --git a/database/migrations/2018_08_17_191859_add_collaborator_package_pivot_table.php b/database/migrations/2018_08_17_191859_add_collaborator_package_pivot_table.php index 2f400509..3fa2e2bd 100644 --- a/database/migrations/2018_08_17_191859_add_collaborator_package_pivot_table.php +++ b/database/migrations/2018_08_17_191859_add_collaborator_package_pivot_table.php @@ -5,7 +5,7 @@ return new class extends Migration { - public function up() + public function up(): void { Schema::create('collaborator_package', function ($table) { $table->increments('id'); @@ -15,7 +15,7 @@ public function up() }); } - public function down() + public function down(): void { Schema::dropIfExists('collaborator_package'); } diff --git a/database/migrations/2018_08_17_204415_add_published_at_field_to_packages_table.php b/database/migrations/2018_08_17_204415_add_published_at_field_to_packages_table.php index 159f061a..163b996f 100644 --- a/database/migrations/2018_08_17_204415_add_published_at_field_to_packages_table.php +++ b/database/migrations/2018_08_17_204415_add_published_at_field_to_packages_table.php @@ -6,14 +6,14 @@ return new class extends Migration { - public function up() + public function up(): void { Schema::table('packages', function (Blueprint $table) { $table->timestamp('published_at')->nullable()->after('updated_at'); }); } - public function down() + public function down(): void { Schema::table('packages', function (Blueprint $table) { $table->dropColumn('published_at'); diff --git a/database/migrations/2018_08_18_162209_rename_authors_table_to_collaborators.php b/database/migrations/2018_08_18_162209_rename_authors_table_to_collaborators.php index 605874d4..5e8707fe 100644 --- a/database/migrations/2018_08_18_162209_rename_authors_table_to_collaborators.php +++ b/database/migrations/2018_08_18_162209_rename_authors_table_to_collaborators.php @@ -5,12 +5,12 @@ return new class extends Migration { - public function up() + public function up(): void { Schema::rename('authors', 'collaborators'); } - public function down() + public function down(): void { Schema::rename('collaborators', 'authors'); } diff --git a/database/migrations/2018_08_20_163738_create_ratings_table.php b/database/migrations/2018_08_20_163738_create_ratings_table.php index 4480583d..e62cd83a 100644 --- a/database/migrations/2018_08_20_163738_create_ratings_table.php +++ b/database/migrations/2018_08_20_163738_create_ratings_table.php @@ -5,7 +5,7 @@ return new class extends Migration { - public function up() + public function up(): void { Schema::create('ratings', function (Blueprint $table) { $table->increments('id'); @@ -19,7 +19,7 @@ public function up() }); } - public function down() + public function down(): void { Schema::drop('ratings'); } diff --git a/database/migrations/2018_08_22_013153_rename_categories_tables_to_tags.php b/database/migrations/2018_08_22_013153_rename_categories_tables_to_tags.php index 12822f3b..0f46abdd 100644 --- a/database/migrations/2018_08_22_013153_rename_categories_tables_to_tags.php +++ b/database/migrations/2018_08_22_013153_rename_categories_tables_to_tags.php @@ -6,7 +6,7 @@ return new class extends Migration { - public function up() + public function up(): void { Schema::rename('categories', 'tags'); Schema::rename('category_package', 'package_tag'); @@ -16,7 +16,7 @@ public function up() }); } - public function down() + public function down(): void { Schema::rename('tags', 'categories'); Schema::rename('package_tag', 'category_package'); diff --git a/database/migrations/2018_08_23_175027_add_packagist_cache_data_to_packages_table.php b/database/migrations/2018_08_23_175027_add_packagist_cache_data_to_packages_table.php index fcd95f76..beba4b73 100644 --- a/database/migrations/2018_08_23_175027_add_packagist_cache_data_to_packages_table.php +++ b/database/migrations/2018_08_23_175027_add_packagist_cache_data_to_packages_table.php @@ -6,7 +6,7 @@ return new class extends Migration { - public function up() + public function up(): void { Schema::table('packages', function (Blueprint $table) { $table->integer('packagist_downloads')->default(0); @@ -14,7 +14,7 @@ public function up() }); } - public function down() + public function down(): void { Schema::table('packages', function (Blueprint $table) { $table->dropColumn('packagist_downloads'); diff --git a/database/migrations/2018_08_24_012940_make_email_nullable.php b/database/migrations/2018_08_24_012940_make_email_nullable.php index 099049da..80e0788e 100644 --- a/database/migrations/2018_08_24_012940_make_email_nullable.php +++ b/database/migrations/2018_08_24_012940_make_email_nullable.php @@ -6,14 +6,14 @@ return new class extends Migration { - public function up() + public function up(): void { Schema::table('users', function (Blueprint $table) { $table->string('email')->nullable()->default('null')->change(); }); } - public function down() + public function down(): void { Schema::table('users', function (Blueprint $table) { $table->string('email')->change(); diff --git a/database/migrations/2018_08_30_123018_create_failed_jobs_table.php b/database/migrations/2018_08_30_123018_create_failed_jobs_table.php index 9db6875b..ba5aa08a 100644 --- a/database/migrations/2018_08_30_123018_create_failed_jobs_table.php +++ b/database/migrations/2018_08_30_123018_create_failed_jobs_table.php @@ -6,7 +6,7 @@ return new class extends Migration { - public function up() + public function up(): void { Schema::create('failed_jobs', function (Blueprint $table) { $table->bigIncrements('id'); @@ -18,7 +18,7 @@ public function up() }); } - public function down() + public function down(): void { Schema::dropIfExists('failed_jobs'); } diff --git a/database/migrations/2018_08_31_192230_add_repo_url_field_to_packages_table.php b/database/migrations/2018_08_31_192230_add_repo_url_field_to_packages_table.php index bc1776ae..85a090cb 100644 --- a/database/migrations/2018_08_31_192230_add_repo_url_field_to_packages_table.php +++ b/database/migrations/2018_08_31_192230_add_repo_url_field_to_packages_table.php @@ -6,7 +6,7 @@ return new class extends Migration { - public function up() + public function up(): void { Schema::table('packages', function (Blueprint $table) { $table->string('repo_url') @@ -28,7 +28,7 @@ public function up() }); } - public function down() + public function down(): void { Schema::table('packages', function (Blueprint $table) { $table->dropColumn('repo_url'); diff --git a/database/migrations/2018_09_17_150145_create_screenshots_table.php b/database/migrations/2018_09_17_150145_create_screenshots_table.php index 97dedcb1..951a30a8 100644 --- a/database/migrations/2018_09_17_150145_create_screenshots_table.php +++ b/database/migrations/2018_09_17_150145_create_screenshots_table.php @@ -6,7 +6,7 @@ return new class extends Migration { - public function up() + public function up(): void { Schema::create('screenshots', function (Blueprint $table) { $table->increments('id'); @@ -20,7 +20,7 @@ public function up() }); } - public function down() + public function down(): void { Schema::dropIfExists('screenshots'); } diff --git a/database/migrations/2018_09_17_182418_remove_published_at_from_packages_table.php b/database/migrations/2018_09_17_182418_remove_published_at_from_packages_table.php index c7fc0c9e..eca74a7c 100644 --- a/database/migrations/2018_09_17_182418_remove_published_at_from_packages_table.php +++ b/database/migrations/2018_09_17_182418_remove_published_at_from_packages_table.php @@ -6,14 +6,14 @@ return new class extends Migration { - public function up() + public function up(): void { Schema::table('packages', function (Blueprint $table) { $table->dropColumn('published_at'); }); } - public function down() + public function down(): void { Schema::table('packages', function (Blueprint $table) { $table->timestamp('published_at')->nullable()->after('updated_at'); diff --git a/database/migrations/2018_10_12_133808_create_favorites_table.php b/database/migrations/2018_10_12_133808_create_favorites_table.php index 8d35a3bb..c09181ad 100644 --- a/database/migrations/2018_10_12_133808_create_favorites_table.php +++ b/database/migrations/2018_10_12_133808_create_favorites_table.php @@ -6,7 +6,7 @@ return new class extends Migration { - public function up() + public function up(): void { Schema::create('favorites', function (Blueprint $table) { $table->increments('id'); @@ -19,7 +19,7 @@ public function up() }); } - public function down() + public function down(): void { Schema::dropIfExists('favorites'); } diff --git a/database/migrations/2018_11_16_182154_add_latest_version_column_to_packages_table.php b/database/migrations/2018_11_16_182154_add_latest_version_column_to_packages_table.php index 779ae798..e7c184b0 100644 --- a/database/migrations/2018_11_16_182154_add_latest_version_column_to_packages_table.php +++ b/database/migrations/2018_11_16_182154_add_latest_version_column_to_packages_table.php @@ -6,14 +6,14 @@ return new class extends Migration { - public function up() + public function up(): void { Schema::table('packages', function (Blueprint $table) { $table->string('latest_version')->nullable(); }); } - public function down() + public function down(): void { Schema::table('packages', function (Blueprint $table) { $table->dropColumn('latest_version'); diff --git a/database/migrations/2019_02_08_213121_add_submitter_id_to_packages_table.php b/database/migrations/2019_02_08_213121_add_submitter_id_to_packages_table.php index 527865da..67890245 100644 --- a/database/migrations/2019_02_08_213121_add_submitter_id_to_packages_table.php +++ b/database/migrations/2019_02_08_213121_add_submitter_id_to_packages_table.php @@ -6,7 +6,7 @@ return new class extends Migration { - public function up() + public function up(): void { Schema::table('packages', function (Blueprint $table) { $table->unsignedInteger('submitter_id')->default(null)->nullable(); @@ -14,7 +14,7 @@ public function up() }); } - public function down() + public function down(): void { Schema::table('packages', function (Blueprint $table) { $table->dropForeign('packages_submitter_id_foreign'); diff --git a/database/migrations/2019_03_06_031725_add_readme_format_to_packages_table.php b/database/migrations/2019_03_06_031725_add_readme_format_to_packages_table.php index e104f5a8..e15e722b 100644 --- a/database/migrations/2019_03_06_031725_add_readme_format_to_packages_table.php +++ b/database/migrations/2019_03_06_031725_add_readme_format_to_packages_table.php @@ -6,7 +6,7 @@ return new class extends Migration { - public function up() + public function up(): void { Schema::table('packages', function (Blueprint $table) { $table->string('readme_format') @@ -16,7 +16,7 @@ public function up() }); } - public function down() + public function down(): void { Schema::table('packages', function (Blueprint $table) { $table->dropColumn('readme_format'); diff --git a/database/migrations/2019_06_14_214402_create_reviews_table.php b/database/migrations/2019_06_14_214402_create_reviews_table.php index c9ddfaac..0cb69d80 100644 --- a/database/migrations/2019_06_14_214402_create_reviews_table.php +++ b/database/migrations/2019_06_14_214402_create_reviews_table.php @@ -11,7 +11,7 @@ * * @return void */ - public function up() + public function up(): void { Schema::create('reviews', function (Blueprint $table) { $table->increments('id'); @@ -28,7 +28,7 @@ public function up() * * @return void */ - public function down() + public function down(): void { Schema::dropIfExists('reviews'); } diff --git a/database/migrations/2020_02_01_134920_add_package_tag_indexes.php b/database/migrations/2020_02_01_134920_add_package_tag_indexes.php index cdcec168..ed6df301 100644 --- a/database/migrations/2020_02_01_134920_add_package_tag_indexes.php +++ b/database/migrations/2020_02_01_134920_add_package_tag_indexes.php @@ -11,7 +11,7 @@ * * @return void */ - public function up() + public function up(): void { Schema::table('package_tag', function (Blueprint $table) { $table->foreign('package_id')->references('id')->on('packages')->onDelete('cascade'); @@ -24,7 +24,7 @@ public function up() * * @return void */ - public function down() + public function down(): void { Schema::table('package_tag', function (Blueprint $table) { $table->dropForeign('package_tag_package_id_foreign'); diff --git a/database/migrations/2020_02_03_202003_add_foreign_key_to_packages_table.php b/database/migrations/2020_02_03_202003_add_foreign_key_to_packages_table.php index e379d435..d75b0a1e 100644 --- a/database/migrations/2020_02_03_202003_add_foreign_key_to_packages_table.php +++ b/database/migrations/2020_02_03_202003_add_foreign_key_to_packages_table.php @@ -11,7 +11,7 @@ * * @return void */ - public function up() + public function up(): void { Schema::table('packages', function (Blueprint $table) { $table->foreign('author_id')->references('id')->on('collaborators'); @@ -23,7 +23,7 @@ public function up() * * @return void */ - public function down() + public function down(): void { Schema::table('packages', function (Blueprint $table) { $table->dropForeign('packages_author_id_foreign'); diff --git a/database/migrations/2020_02_04_173845_add_github_user_id_column_to_users_table.php b/database/migrations/2020_02_04_173845_add_github_user_id_column_to_users_table.php index ee459cf5..77220df9 100644 --- a/database/migrations/2020_02_04_173845_add_github_user_id_column_to_users_table.php +++ b/database/migrations/2020_02_04_173845_add_github_user_id_column_to_users_table.php @@ -6,14 +6,14 @@ return new class extends Migration { - public function up() + public function up(): void { Schema::table('users', function (Blueprint $table) { $table->integer('github_user_id')->after('github_username')->nullable(); }); } - public function down() + public function down(): void { Schema::table('users', function (Blueprint $table) { $table->dropColumn('github_user_id'); diff --git a/database/migrations/2020_02_04_180322_add_github_user_id_column_to_collaborators_table.php b/database/migrations/2020_02_04_180322_add_github_user_id_column_to_collaborators_table.php index 190380ba..1aa56f8b 100644 --- a/database/migrations/2020_02_04_180322_add_github_user_id_column_to_collaborators_table.php +++ b/database/migrations/2020_02_04_180322_add_github_user_id_column_to_collaborators_table.php @@ -6,14 +6,14 @@ return new class extends Migration { - public function up() + public function up(): void { Schema::table('collaborators', function (Blueprint $table) { $table->integer('github_user_id')->after('github_username')->nullable(); }); } - public function down() + public function down(): void { Schema::table('collaborators', function (Blueprint $table) { $table->dropColumn('github_user_id'); diff --git a/database/migrations/2020_10_29_222620_add_marked_as_unavailable_at_timestamp_to_packages_table.php b/database/migrations/2020_10_29_222620_add_marked_as_unavailable_at_timestamp_to_packages_table.php index 33636ba3..6991a48c 100644 --- a/database/migrations/2020_10_29_222620_add_marked_as_unavailable_at_timestamp_to_packages_table.php +++ b/database/migrations/2020_10_29_222620_add_marked_as_unavailable_at_timestamp_to_packages_table.php @@ -7,14 +7,14 @@ return new class extends Migration { - public function up() + public function up(): void { Schema::table('packages', function (Blueprint $table) { $table->datetime('marked_as_unavailable_at')->after('instructions')->nullable(); }); } - public function down() + public function down(): void { Schema::table('packages', function (Blueprint $table) { $table->dropColumn('marked_as_unavailable_at'); diff --git a/database/migrations/2021_09_22_221231_add_foreign_keys_to_reviews_table.php b/database/migrations/2021_09_22_221231_add_foreign_keys_to_reviews_table.php index 224b60bb..9dd8c92c 100644 --- a/database/migrations/2021_09_22_221231_add_foreign_keys_to_reviews_table.php +++ b/database/migrations/2021_09_22_221231_add_foreign_keys_to_reviews_table.php @@ -6,7 +6,7 @@ return new class extends Migration { - public function up() + public function up(): void { Schema::table('reviews', function (Blueprint $table) { $table->foreign('user_id')->references('id')->on('users'); @@ -15,7 +15,7 @@ public function up() }); } - public function down() + public function down(): void { Schema::table('reviews', function (Blueprint $table) { $table->dropForeign([ diff --git a/database/migrations/2021_09_22_221244_add_foreign_keys_to_collaborator_package_table.php b/database/migrations/2021_09_22_221244_add_foreign_keys_to_collaborator_package_table.php index 080bef34..625a977b 100644 --- a/database/migrations/2021_09_22_221244_add_foreign_keys_to_collaborator_package_table.php +++ b/database/migrations/2021_09_22_221244_add_foreign_keys_to_collaborator_package_table.php @@ -6,7 +6,7 @@ return new class extends Migration { - public function up() + public function up(): void { Schema::table('collaborator_package', function (Blueprint $table) { $table->foreign('package_id')->references('id')->on('packages'); @@ -14,7 +14,7 @@ public function up() }); } - public function down() + public function down(): void { Schema::table('collaborator_package', function (Blueprint $table) { $table->dropForeign([ diff --git a/database/migrations/2022_02_04_220040_add_providers_column_to_oauth_clients_table.php b/database/migrations/2022_02_04_220040_add_providers_column_to_oauth_clients_table.php index 09b09ae4..6c074548 100644 --- a/database/migrations/2022_02_04_220040_add_providers_column_to_oauth_clients_table.php +++ b/database/migrations/2022_02_04_220040_add_providers_column_to_oauth_clients_table.php @@ -6,7 +6,7 @@ return new class extends Migration { - public function up() + public function up(): void { if (! Schema::hasColumn('oauth_clients', 'provider')) { Schema::table('oauth_clients', function (Blueprint $table) { @@ -16,7 +16,7 @@ public function up() } } - public function down() + public function down(): void { Schema::table('oauth_clients', function (Blueprint $table) { // diff --git a/database/migrations/2022_04_22_161239_add_nova_version_column_to_packages_table.php b/database/migrations/2022_04_22_161239_add_nova_version_column_to_packages_table.php index 6ddd3178..eeb3a523 100644 --- a/database/migrations/2022_04_22_161239_add_nova_version_column_to_packages_table.php +++ b/database/migrations/2022_04_22_161239_add_nova_version_column_to_packages_table.php @@ -11,7 +11,7 @@ * * @return void */ - public function up() + public function up(): void { Schema::table('packages', function (Blueprint $table) { $table->integer('nova_version')->unsigned()->nullable()->after('latest_version'); @@ -23,7 +23,7 @@ public function up() * * @return void */ - public function down() + public function down(): void { Schema::table('packages', function (Blueprint $table) { $table->dropColumn('nova_version'); diff --git a/database/migrations/2022_07_25_234642_add_uuid_to_failed_jobs_table.php b/database/migrations/2022_07_25_234642_add_uuid_to_failed_jobs_table.php index 02dbab0a..af19b354 100644 --- a/database/migrations/2022_07_25_234642_add_uuid_to_failed_jobs_table.php +++ b/database/migrations/2022_07_25_234642_add_uuid_to_failed_jobs_table.php @@ -5,14 +5,14 @@ use Illuminate\Support\Facades\Schema; return new class extends Migration { - public function up() + public function up(): void { Schema::table('failed_jobs', function (Blueprint $table) { $table->string('uuid')->after('id')->nullable()->unique(); }); } - public function down() + public function down(): void { Schema::table('failed_jobs', function (Blueprint $table) { $table->dropColumn('uuid'); diff --git a/database/migrations/2024_08_08_000000_rename_password_resets_table.php b/database/migrations/2024_08_08_000000_rename_password_resets_table.php index 7ea51cef..ab300e6e 100644 --- a/database/migrations/2024_08_08_000000_rename_password_resets_table.php +++ b/database/migrations/2024_08_08_000000_rename_password_resets_table.php @@ -11,7 +11,7 @@ * * @return void */ - public function up() + public function up(): void { Schema::rename('password_resets', 'password_reset_tokens'); } @@ -21,7 +21,7 @@ public function up() * * @return void */ - public function down() + public function down(): void { Schema::rename('password_reset_tokens', 'password_resets'); } diff --git a/database/seeders/DatabaseSeeder.php b/database/seeders/DatabaseSeeder.php index 0f0c8210..caeae9b1 100644 --- a/database/seeders/DatabaseSeeder.php +++ b/database/seeders/DatabaseSeeder.php @@ -11,7 +11,7 @@ class DatabaseSeeder extends Seeder { - public function run() + public function run(): void { User::factory()->times(500)->create(); diff --git a/tests/Feature/AdminPanelViewTest.php b/tests/Feature/AdminPanelViewTest.php index c79346a8..40d2c6e2 100644 --- a/tests/Feature/AdminPanelViewTest.php +++ b/tests/Feature/AdminPanelViewTest.php @@ -22,7 +22,7 @@ protected function setUp(): void } /** @test */ - public function admin_panel_shows_enabled_packages_if_there_are_any() + public function admin_panel_shows_enabled_packages_if_there_are_any(): void { $enabledPackage = Package::factory()->create(); @@ -34,7 +34,7 @@ public function admin_panel_shows_enabled_packages_if_there_are_any() } /** @test */ - public function admin_panel_shows_disabled_packages_if_there_are_any() + public function admin_panel_shows_disabled_packages_if_there_are_any(): void { $disabledPackage = Package::factory()->disabled()->create(); @@ -46,7 +46,7 @@ public function admin_panel_shows_disabled_packages_if_there_are_any() } /** @test */ - public function admin_panel_does_not_show_disabled_package_list_if_there_are_none() + public function admin_panel_does_not_show_disabled_package_list_if_there_are_none(): void { $enabledPackage = Package::factory()->create(); @@ -56,7 +56,7 @@ public function admin_panel_does_not_show_disabled_package_list_if_there_are_non } /** @test */ - public function admin_panel_does_not_show_enabled_package_list_if_there_are_none() + public function admin_panel_does_not_show_enabled_package_list_if_there_are_none(): void { $disabledPackage = Package::factory()->disabled()->create(); @@ -66,7 +66,7 @@ public function admin_panel_does_not_show_enabled_package_list_if_there_are_none } /** @test */ - public function admin_user_can_view_individual_page_for_disabled_package() + public function admin_user_can_view_individual_page_for_disabled_package(): void { Http::fake([ 'https://packagist.org/packages/*.json' => Http::response(), @@ -83,7 +83,7 @@ public function admin_user_can_view_individual_page_for_disabled_package() } /** @test */ - public function admin_user_can_view_edit_page_for_disabled_package() + public function admin_user_can_view_edit_page_for_disabled_package(): void { $disabledPackage = Package::factory()->disabled()->create(); diff --git a/tests/Feature/Api/FeedApiTest.php b/tests/Feature/Api/FeedApiTest.php index eb3ecca0..8c67fa8c 100644 --- a/tests/Feature/Api/FeedApiTest.php +++ b/tests/Feature/Api/FeedApiTest.php @@ -12,7 +12,7 @@ class FeedApiTest extends TestCase use RefreshDatabase; /** @test */ - public function ensures_packages_feed_response_code_and_structure() + public function ensures_packages_feed_response_code_and_structure(): void { Package::factory(5)->create(); diff --git a/tests/Feature/Api/PopularPackageApiTest.php b/tests/Feature/Api/PopularPackageApiTest.php index 7139ab2b..f0b9e85b 100644 --- a/tests/Feature/Api/PopularPackageApiTest.php +++ b/tests/Feature/Api/PopularPackageApiTest.php @@ -12,7 +12,7 @@ class PopularPackageApiTest extends TestCase use RefreshDatabase; /** @test */ - function returns_popular_packages_in_order() + function returns_popular_packages_in_order(): void { $lessPopularPackage = Package::factory()->create([ 'github_stars' => 10, diff --git a/tests/Feature/Api/StatsApiTest.php b/tests/Feature/Api/StatsApiTest.php index 96d700c2..4dbf6201 100644 --- a/tests/Feature/Api/StatsApiTest.php +++ b/tests/Feature/Api/StatsApiTest.php @@ -14,7 +14,7 @@ class StatsApiTest extends TestCase use RefreshDatabase; /** @test */ - public function it_counts_live_packages() + public function it_counts_live_packages(): void { $this->fakeNovaReleasesRequest(); @@ -27,7 +27,7 @@ public function it_counts_live_packages() } /** @test */ - public function it_sums_live_package_download_counts() + public function it_sums_live_package_download_counts(): void { $this->fakeNovaReleasesRequest(); @@ -41,7 +41,7 @@ public function it_sums_live_package_download_counts() } /** @test */ - public function it_sums_live_package_star_counts() + public function it_sums_live_package_star_counts(): void { $this->fakeNovaReleasesRequest(); @@ -55,7 +55,7 @@ public function it_sums_live_package_star_counts() } /** @test */ - public function it_counts_collaborators() + public function it_counts_collaborators(): void { $this->fakeNovaReleasesRequest(); @@ -67,7 +67,7 @@ public function it_counts_collaborators() } /** @test */ - public function it_counts_ratings() + public function it_counts_ratings(): void { $this->fakeNovaReleasesRequest(); @@ -91,7 +91,7 @@ public function it_counts_ratings() } /** @test */ - public function it_averages_global_rating() + public function it_averages_global_rating(): void { $this->fakeNovaReleasesRequest(); diff --git a/tests/Feature/Api/TagsOnApiTest.php b/tests/Feature/Api/TagsOnApiTest.php index 81f8068a..0392268e 100644 --- a/tests/Feature/Api/TagsOnApiTest.php +++ b/tests/Feature/Api/TagsOnApiTest.php @@ -12,7 +12,7 @@ class TagsOnApiTest extends TestCase use RefreshDatabase; /** @test */ - public function it_attaches_tags_to_api_responses() + public function it_attaches_tags_to_api_responses(): void { $package = Package::factory()->create(); $tag = Tag::factory()->create(); diff --git a/tests/Feature/CheckPackageUrlAvailabilityCommandTest.php b/tests/Feature/CheckPackageUrlAvailabilityCommandTest.php index 74b8e3a8..50744f53 100644 --- a/tests/Feature/CheckPackageUrlAvailabilityCommandTest.php +++ b/tests/Feature/CheckPackageUrlAvailabilityCommandTest.php @@ -52,7 +52,7 @@ protected function setUp(): void /** * @test */ - public function calling_command_marks_unavailable_packages_as_unavailable() + public function calling_command_marks_unavailable_packages_as_unavailable(): void { Notification::fake(); $now = now(); @@ -73,7 +73,7 @@ public function calling_command_marks_unavailable_packages_as_unavailable() /** * @test */ - public function calling_command_sends_notification_to_author_of_unavailable_packages() + public function calling_command_sends_notification_to_author_of_unavailable_packages(): void { Notification::fake(); @@ -98,7 +98,7 @@ public function calling_command_sends_notification_to_author_of_unavailable_pack /** * @test */ - public function command_ignores_packages_that_are_already_unavailable() + public function command_ignores_packages_that_are_already_unavailable(): void { Notification::fake(); diff --git a/tests/Feature/CheckRoleMiddlewareTest.php b/tests/Feature/CheckRoleMiddlewareTest.php index ecf96341..f5080f03 100644 --- a/tests/Feature/CheckRoleMiddlewareTest.php +++ b/tests/Feature/CheckRoleMiddlewareTest.php @@ -11,7 +11,7 @@ class CheckRoleMiddlewareTest extends TestCase use RefreshDatabase; /** @test */ - public function users_cannot_visit_admin_protected_routes() + public function users_cannot_visit_admin_protected_routes(): void { $user = User::factory()->create(); @@ -21,7 +21,7 @@ public function users_cannot_visit_admin_protected_routes() } /** @test */ - public function admins_can_visit_admin_protected_routes() + public function admins_can_visit_admin_protected_routes(): void { $user = User::factory()->admin()->create(); diff --git a/tests/Feature/CollaboratorClaimTest.php b/tests/Feature/CollaboratorClaimTest.php index 08bab4f4..b6e0eb0c 100644 --- a/tests/Feature/CollaboratorClaimTest.php +++ b/tests/Feature/CollaboratorClaimTest.php @@ -12,7 +12,7 @@ class CollaboratorClaimTest extends TestCase use RefreshDatabase; /** @test */ - public function user_can_claim_a_collaborator() + public function user_can_claim_a_collaborator(): void { $this->withoutEvents(); @@ -27,7 +27,7 @@ public function user_can_claim_a_collaborator() } /** @test */ - public function users_can_claim_a_second_collaborator() + public function users_can_claim_a_second_collaborator(): void { $this->withoutEvents(); diff --git a/tests/Feature/CollaboratorCreateTest.php b/tests/Feature/CollaboratorCreateTest.php index f99c4192..57973230 100644 --- a/tests/Feature/CollaboratorCreateTest.php +++ b/tests/Feature/CollaboratorCreateTest.php @@ -14,7 +14,7 @@ class CollaboratorCreateTest extends TestCase use RefreshDatabase; /** @test */ - public function the_url_field_is_optional() + public function the_url_field_is_optional(): void { $this->withoutEvents(); diff --git a/tests/Feature/CollaboratorCrudTest.php b/tests/Feature/CollaboratorCrudTest.php index 77b6f0b2..ebd8a3a0 100644 --- a/tests/Feature/CollaboratorCrudTest.php +++ b/tests/Feature/CollaboratorCrudTest.php @@ -24,7 +24,7 @@ protected function setUp(): void } /** @test */ - public function users_can_create_collaborators() + public function users_can_create_collaborators(): void { Event::fake(); @@ -44,7 +44,7 @@ public function users_can_create_collaborators() } /** @test */ - public function only_one_collaborator_is_allowed_per_github_username() + public function only_one_collaborator_is_allowed_per_github_username(): void { $github = m::mock(GitHub::class)->shouldIgnoreMissing(); $this->app->instance(GitHub::class, $github); @@ -67,7 +67,7 @@ public function only_one_collaborator_is_allowed_per_github_username() } /** @test */ - public function collaborators_receive_avatar_url_from_github_upon_creation() + public function collaborators_receive_avatar_url_from_github_upon_creation(): void { $github = m::mock(GitHub::class); $github->shouldReceive('user') diff --git a/tests/Feature/CollaboratorEditTest.php b/tests/Feature/CollaboratorEditTest.php index bc0c47c3..bebc8c2a 100644 --- a/tests/Feature/CollaboratorEditTest.php +++ b/tests/Feature/CollaboratorEditTest.php @@ -14,7 +14,7 @@ class CollaboratorEditTest extends TestCase use RefreshDatabase; /** @test */ - public function a_user_can_not_view_the_edit_collaborator_form_for_a_collaborator_that_is_not_assigned_to_them() + public function a_user_can_not_view_the_edit_collaborator_form_for_a_collaborator_that_is_not_assigned_to_them(): void { $userA = User::factory()->create(); $userB = User::factory()->create(); @@ -27,7 +27,7 @@ public function a_user_can_not_view_the_edit_collaborator_form_for_a_collaborato } /** @test */ - public function a_user_can_view_the_edit_collaborator_form() + public function a_user_can_view_the_edit_collaborator_form(): void { $user = User::factory()->create(); $collaborator = Collaborator::factory()->make(); @@ -42,7 +42,7 @@ public function a_user_can_view_the_edit_collaborator_form() } /** @test */ - public function a_user_can_not_update_a_collaborator_that_is_not_assigned_to_them() + public function a_user_can_not_update_a_collaborator_that_is_not_assigned_to_them(): void { $github = m::mock(GitHub::class)->shouldIgnoreMissing(); $this->app->instance(GitHub::class, $github); @@ -76,7 +76,7 @@ public function a_user_can_not_update_a_collaborator_that_is_not_assigned_to_the } /** @test */ - public function a_user_can_update_a_collaborator_assigned_to_them() + public function a_user_can_update_a_collaborator_assigned_to_them(): void { $github = m::mock(GitHub::class)->shouldIgnoreMissing(); $this->app->instance(GitHub::class, $github); @@ -108,7 +108,7 @@ public function a_user_can_update_a_collaborator_assigned_to_them() } /** @test */ - public function the_name_field_is_required() + public function the_name_field_is_required(): void { $user = User::factory()->create(); $collaboratorAttributes = [ @@ -130,7 +130,7 @@ public function the_name_field_is_required() } /** @test */ - public function the_url_field_is_optional() + public function the_url_field_is_optional(): void { $user = User::factory()->create(); $collaboratorAttributes = [ @@ -154,7 +154,7 @@ public function the_url_field_is_optional() } /** @test */ - public function the_url_field_must_be_valid() + public function the_url_field_must_be_valid(): void { $user = User::factory()->create(); $collaboratorAttributes = [ @@ -176,7 +176,7 @@ public function the_url_field_must_be_valid() } /** @test */ - public function the_github_username_field_is_required() + public function the_github_username_field_is_required(): void { $user = User::factory()->create(); $collaboratorAttributes = [ @@ -198,7 +198,7 @@ public function the_github_username_field_is_required() } /** @test */ - public function the_github_username_can_be_unchanged() + public function the_github_username_can_be_unchanged(): void { $user = User::factory()->create(); $collaboratorAttributes = [ diff --git a/tests/Feature/ContributorCrudTest.php b/tests/Feature/ContributorCrudTest.php index 25677713..8a2f1a00 100644 --- a/tests/Feature/ContributorCrudTest.php +++ b/tests/Feature/ContributorCrudTest.php @@ -13,7 +13,7 @@ class ContributorCrudTest extends TestCase use RefreshDatabase; /** @test */ - public function packages_can_have_contributors() + public function packages_can_have_contributors(): void { $user = User::factory()->create(); $contributor = Collaborator::factory()->create(); diff --git a/tests/Feature/DeleteAbandonedScreenshotsCommandTest.php b/tests/Feature/DeleteAbandonedScreenshotsCommandTest.php index 79d31318..483dd302 100644 --- a/tests/Feature/DeleteAbandonedScreenshotsCommandTest.php +++ b/tests/Feature/DeleteAbandonedScreenshotsCommandTest.php @@ -15,7 +15,7 @@ class DeleteAbandonedScreenshotsCommandTest extends TestCase use RefreshDatabase; /** @test */ - public function screnshots_not_attached_to_packages_that_are_older_than_one_day_are_deleted() + public function screnshots_not_attached_to_packages_that_are_older_than_one_day_are_deleted(): void { Storage::fake(); diff --git a/tests/Feature/DeleteSelfAuthoredPackageRatingsTest.php b/tests/Feature/DeleteSelfAuthoredPackageRatingsTest.php index 147afbe7..f0b9c71f 100644 --- a/tests/Feature/DeleteSelfAuthoredPackageRatingsTest.php +++ b/tests/Feature/DeleteSelfAuthoredPackageRatingsTest.php @@ -14,7 +14,7 @@ class DeleteSelfAuthoredPackageRatingsTest extends TestCase use RefreshDatabase; /** @test */ - public function deleting_self_authored_package_ratings() + public function deleting_self_authored_package_ratings(): void { $packageAuthor = User::factory()->create(); // We are creating two collaborators here and setting the @@ -46,7 +46,7 @@ public function deleting_self_authored_package_ratings() } /** @test */ - public function deleting_self_contributed_package_ratings() + public function deleting_self_contributed_package_ratings(): void { $packageAuthor = User::factory()->create(); $packageContributor = User::factory()->create(); diff --git a/tests/Feature/DisableAndEnablePackagesTest.php b/tests/Feature/DisableAndEnablePackagesTest.php index 7eeb604f..71bd8a4f 100644 --- a/tests/Feature/DisableAndEnablePackagesTest.php +++ b/tests/Feature/DisableAndEnablePackagesTest.php @@ -12,7 +12,7 @@ class DisableAndEnablePackagesTest extends TestCase use RefreshDatabase; /** @test */ - public function admin_user_can_disable_a_package() + public function admin_user_can_disable_a_package(): void { $user = User::factory()->admin()->create(); $package = Package::factory()->create(); @@ -25,7 +25,7 @@ public function admin_user_can_disable_a_package() } /** @test */ - public function admin_user_can_enable_a_package() + public function admin_user_can_enable_a_package(): void { $user = User::factory()->admin()->create(); $package = Package::factory()->disabled()->create(); diff --git a/tests/Feature/DisableUnavailablePackageCommandTest.php b/tests/Feature/DisableUnavailablePackageCommandTest.php index bd1fb4f4..fea5eb46 100644 --- a/tests/Feature/DisableUnavailablePackageCommandTest.php +++ b/tests/Feature/DisableUnavailablePackageCommandTest.php @@ -18,7 +18,7 @@ class DisableUnavailablePackageCommandTest extends TestCase /** * @test */ - public function command_disables_unavailable_packages_after_30_days() + public function command_disables_unavailable_packages_after_30_days(): void { Notification::fake(); diff --git a/tests/Feature/DisabledPackageTest.php b/tests/Feature/DisabledPackageTest.php index 7e908a29..bb22f93e 100644 --- a/tests/Feature/DisabledPackageTest.php +++ b/tests/Feature/DisabledPackageTest.php @@ -12,7 +12,7 @@ class DisabledPackageTest extends TestCase use RefreshDatabase; /** @test */ - public function packages_show_on_main_page() + public function packages_show_on_main_page(): void { $user = User::factory()->admin()->create(); $package = Package::factory()->create(); @@ -22,7 +22,7 @@ public function packages_show_on_main_page() } /** @test */ - public function disabled_packages_dont_show_on_main_page() + public function disabled_packages_dont_show_on_main_page(): void { $user = User::factory()->admin()->create(); $package = Package::factory()->disabled()->create(); @@ -32,7 +32,7 @@ public function disabled_packages_dont_show_on_main_page() } /** @test */ - public function disabled_packages_dont_return_from_api() + public function disabled_packages_dont_return_from_api(): void { $this->markTestIncomplete(); } diff --git a/tests/Feature/EmailTest.php b/tests/Feature/EmailTest.php index 64996596..0d46a2b8 100644 --- a/tests/Feature/EmailTest.php +++ b/tests/Feature/EmailTest.php @@ -11,7 +11,7 @@ class EmailTest extends TestCase use RefreshDatabase; /** @test */ - public function users_with_no_email_must_submit_an_email() + public function users_with_no_email_must_submit_an_email(): void { $user = User::factory()->create([ 'email' => null, @@ -23,7 +23,7 @@ public function users_with_no_email_must_submit_an_email() } /** @test */ - public function user_can_submit_a_email_address_if_the_github_oauth_handshake_doesnt_return_one() + public function user_can_submit_a_email_address_if_the_github_oauth_handshake_doesnt_return_one(): void { $updatedEmail = 'john@example.com'; $user = User::factory()->create([ @@ -39,7 +39,7 @@ public function user_can_submit_a_email_address_if_the_github_oauth_handshake_do } /** @test */ - public function the_email_address_is_required() + public function the_email_address_is_required(): void { $user = User::factory()->create([ 'email' => null, @@ -54,7 +54,7 @@ public function the_email_address_is_required() } /** @test */ - public function the_email_address_must_be_valid() + public function the_email_address_must_be_valid(): void { $user = User::factory()->create([ 'email' => null, @@ -69,7 +69,7 @@ public function the_email_address_must_be_valid() } /** @test */ - public function the_email_address_must_be_unique() + public function the_email_address_must_be_unique(): void { $existingEmail = 'john@example.com'; User::factory()->create(['email' => $existingEmail]); diff --git a/tests/Feature/FeedTest.php b/tests/Feature/FeedTest.php index 4d24acb4..f076002b 100644 --- a/tests/Feature/FeedTest.php +++ b/tests/Feature/FeedTest.php @@ -11,7 +11,7 @@ class FeedTest extends TestCase use RefreshDatabase; /** @test */ - public function the_recent_feed_loads() + public function the_recent_feed_loads(): void { Package::factory()->create(); diff --git a/tests/Feature/GeneratePackageOpenGraphImageJobTest.php b/tests/Feature/GeneratePackageOpenGraphImageJobTest.php index 3b1d77c4..77ebf023 100644 --- a/tests/Feature/GeneratePackageOpenGraphImageJobTest.php +++ b/tests/Feature/GeneratePackageOpenGraphImageJobTest.php @@ -22,7 +22,7 @@ class GeneratePackageOpenGraphImageJobTest extends TestCase use RefreshDatabase; /** @test */ - public function it_is_dispatched_when_a_package_is_created() + public function it_is_dispatched_when_a_package_is_created(): void { Bus::fake(); @@ -61,7 +61,7 @@ public function it_is_dispatched_when_a_package_is_created() } /** @test */ - public function it_is_dispatched_when_a_package_is_updated() + public function it_is_dispatched_when_a_package_is_updated(): void { Bus::fake(); @@ -95,7 +95,7 @@ public function it_is_dispatched_when_a_package_is_updated() } /** @test */ - public function it_creates_a_new_image_and_saves_to_storage() + public function it_creates_a_new_image_and_saves_to_storage(): void { $packageName = 'Alphabets'; @@ -109,7 +109,7 @@ public function it_creates_a_new_image_and_saves_to_storage() } /** @test */ - public function it_removes_the_old_image_from_storage_when_a_package_name_is_updated() + public function it_removes_the_old_image_from_storage_when_a_package_name_is_updated(): void { $originalPackageName = 'Alphabets'; $updatedPackageName = 'Alphabets And Numbers'; diff --git a/tests/Feature/GithubAuthNotificationTest.php b/tests/Feature/GithubAuthNotificationTest.php index a50d8aa3..55759986 100644 --- a/tests/Feature/GithubAuthNotificationTest.php +++ b/tests/Feature/GithubAuthNotificationTest.php @@ -14,7 +14,7 @@ class GithubAuthNotificationTest extends TestCase use RefreshDatabase; /** @test */ - public function users_not_authenticated_with_github_are_notified() + public function users_not_authenticated_with_github_are_notified(): void { $oldUser = User::factory()->create([ 'github_username' => null, diff --git a/tests/Feature/InternalApi/FavoritesTest.php b/tests/Feature/InternalApi/FavoritesTest.php index 4c2e668e..8b3e5a32 100644 --- a/tests/Feature/InternalApi/FavoritesTest.php +++ b/tests/Feature/InternalApi/FavoritesTest.php @@ -13,7 +13,7 @@ class FavoritesTest extends TestCase use RefreshDatabase; /** @test */ - public function a_guest_user_can_not_favorite_a_package() + public function a_guest_user_can_not_favorite_a_package(): void { $package = Package::factory()->create(); @@ -24,7 +24,7 @@ public function a_guest_user_can_not_favorite_a_package() } /** @test */ - public function an_authenticated_user_can_add_a_package_to_their_favorites() + public function an_authenticated_user_can_add_a_package_to_their_favorites(): void { $user = User::factory()->create(); $package = Package::factory()->create(); @@ -36,7 +36,7 @@ public function an_authenticated_user_can_add_a_package_to_their_favorites() } /** @test */ - public function a_user_can_not_favorite_the_same_package_twice() + public function a_user_can_not_favorite_the_same_package_twice(): void { $user = User::factory()->create(); $package = Package::factory()->create(); @@ -49,7 +49,7 @@ public function a_user_can_not_favorite_the_same_package_twice() } /** @test */ - public function a_user_can_remove_a_favorite() + public function a_user_can_remove_a_favorite(): void { $user = User::factory()->create(); $packageA = Package::factory()->create(); diff --git a/tests/Feature/InternalApi/InternalApiRatingsTest.php b/tests/Feature/InternalApi/InternalApiRatingsTest.php index aee29726..068a20d7 100644 --- a/tests/Feature/InternalApi/InternalApiRatingsTest.php +++ b/tests/Feature/InternalApi/InternalApiRatingsTest.php @@ -13,7 +13,7 @@ class InternalApiRatingsTest extends TestCase use RefreshDatabase; /** @test */ - public function unauthenticated_users_cant_post_ratings() + public function unauthenticated_users_cant_post_ratings(): void { $package = Package::factory()->create(); $response = $this->post(route('internalapi.ratings.store'), [ @@ -25,7 +25,7 @@ public function unauthenticated_users_cant_post_ratings() } /** @test */ - public function posting_a_rating_increases_the_packages_overall_rating() + public function posting_a_rating_increases_the_packages_overall_rating(): void { $package = Package::factory()->create(); $user = User::factory()->create(); @@ -39,7 +39,7 @@ public function posting_a_rating_increases_the_packages_overall_rating() } /** @test */ - public function the_same_user_cant_add_two_ratings_to_a_package() + public function the_same_user_cant_add_two_ratings_to_a_package(): void { $package = Package::factory()->create(); $user = User::factory()->create(); @@ -58,7 +58,7 @@ public function the_same_user_cant_add_two_ratings_to_a_package() } /** @test */ - public function users_can_modify_their_ratings() + public function users_can_modify_their_ratings(): void { $package = Package::factory()->create(); $user = User::factory()->create(); @@ -77,7 +77,7 @@ public function users_can_modify_their_ratings() } /** @test */ - public function a_user_cannot_rate_a_package_they_authored() + public function a_user_cannot_rate_a_package_they_authored(): void { $user = User::factory()->create(); $package = Package::factory()->create([ @@ -100,7 +100,7 @@ public function a_user_cannot_rate_a_package_they_authored() } /** @test */ - public function a_user_cannot_rate_a_package_they_collaborated_on() + public function a_user_cannot_rate_a_package_they_collaborated_on(): void { $user = User::factory()->create(); $collaborator = Collaborator::factory()->make(); diff --git a/tests/Feature/InternalApi/InternalApiReviewsTest.php b/tests/Feature/InternalApi/InternalApiReviewsTest.php index 0dbf2472..36f0493d 100644 --- a/tests/Feature/InternalApi/InternalApiReviewsTest.php +++ b/tests/Feature/InternalApi/InternalApiReviewsTest.php @@ -14,7 +14,7 @@ class InternalApiReviewsTest extends TestCase use RefreshDatabase; /** @test */ - public function unauthenticated_users_cant_post_review() + public function unauthenticated_users_cant_post_review(): void { $package = Package::factory()->create(); $review = Review::factory()->make(); @@ -28,7 +28,7 @@ public function unauthenticated_users_cant_post_review() } /** @test */ - public function authenticated_user_cannot_see_link_to_post_review_before_reviewing_package() + public function authenticated_user_cannot_see_link_to_post_review_before_reviewing_package(): void { Http::fake([ 'https://packagist.org/packages/*.json' => Http::response(), @@ -43,7 +43,7 @@ public function authenticated_user_cannot_see_link_to_post_review_before_reviewi } /** @test */ - public function the_same_user_cant_add_two_reviews_to_a_package() + public function the_same_user_cant_add_two_reviews_to_a_package(): void { $package = Package::factory()->create(); $user = User::factory()->create(); @@ -65,7 +65,7 @@ public function the_same_user_cant_add_two_reviews_to_a_package() } /** @test */ - public function users_can_modify_their_reviews() + public function users_can_modify_their_reviews(): void { $package = Package::factory()->create(); $user = User::factory()->create(); @@ -86,7 +86,7 @@ public function users_can_modify_their_reviews() } /** @test */ - public function a_user_can_delete_their_review() + public function a_user_can_delete_their_review(): void { $review = Review::factory()->create(); @@ -100,7 +100,7 @@ public function a_user_can_delete_their_review() } /** @test */ - public function a_user_cannot_delete_a_review_belonging_to_another_user() + public function a_user_cannot_delete_a_review_belonging_to_another_user(): void { $review = Review::factory()->create(); $otherUser = User::factory()->create(); @@ -115,7 +115,7 @@ public function a_user_cannot_delete_a_review_belonging_to_another_user() } /** @test */ - public function an_admin_can_delete_another_users_review() + public function an_admin_can_delete_another_users_review(): void { $review = Review::factory()->create(); $adminUser = User::factory()->admin()->create(); diff --git a/tests/Feature/LoginTest.php b/tests/Feature/LoginTest.php index 0614f6bc..c18fd514 100644 --- a/tests/Feature/LoginTest.php +++ b/tests/Feature/LoginTest.php @@ -13,7 +13,7 @@ class LoginTest extends TestCase use RefreshDatabase; /** @test */ - public function a_user_can_login_after_socialite_authentication() + public function a_user_can_login_after_socialite_authentication(): void { Event::fake(); @@ -38,7 +38,7 @@ public function a_user_can_login_after_socialite_authentication() } /** @test */ - public function a_user_can_login_after_socialite_authentication_when_the_socialite_response_is_missing_an_email() + public function a_user_can_login_after_socialite_authentication_when_the_socialite_response_is_missing_an_email(): void { Event::fake(); @@ -63,7 +63,7 @@ public function a_user_can_login_after_socialite_authentication_when_the_sociali } /** @test */ - public function a_user_is_updated_if_the_email_matches_the_socialite_response() + public function a_user_is_updated_if_the_email_matches_the_socialite_response(): void { Event::fake(); @@ -95,7 +95,7 @@ public function a_user_is_updated_if_the_email_matches_the_socialite_response() } /** @test */ - public function a_user_is_updated_if_the_github_username_matches_the_socialite_response() + public function a_user_is_updated_if_the_github_username_matches_the_socialite_response(): void { Event::fake(); @@ -127,7 +127,7 @@ public function a_user_is_updated_if_the_github_username_matches_the_socialite_r } /** @test */ - public function the_github_user_id_is_updated_if_it_is_null() + public function the_github_user_id_is_updated_if_it_is_null(): void { Event::fake(); diff --git a/tests/Feature/NewUserCollaborateCreateAndOwnTest.php b/tests/Feature/NewUserCollaborateCreateAndOwnTest.php index 63920c9c..e73e32d4 100644 --- a/tests/Feature/NewUserCollaborateCreateAndOwnTest.php +++ b/tests/Feature/NewUserCollaborateCreateAndOwnTest.php @@ -16,7 +16,7 @@ class NewUserCollaborateCreateAndOwnTest extends TestCase use RefreshDatabase; /** @test */ - public function it_creates_a_collaborator_for_new_users() + public function it_creates_a_collaborator_for_new_users(): void { Notification::fake(); @@ -31,7 +31,7 @@ public function it_creates_a_collaborator_for_new_users() } /** @test */ - public function it_claims_collaborator_for_new_users_if_matching_by_github_username() + public function it_claims_collaborator_for_new_users_if_matching_by_github_username(): void { Notification::fake(); diff --git a/tests/Feature/PackageAbstractTest.php b/tests/Feature/PackageAbstractTest.php index 547fd4cf..f7146506 100644 --- a/tests/Feature/PackageAbstractTest.php +++ b/tests/Feature/PackageAbstractTest.php @@ -14,7 +14,7 @@ class PackageAbstractTest extends TestCase use RefreshDatabase; /** @test */ - public function package_abstracts_default_to_truncated_readme_if_no_abstract() + public function package_abstracts_default_to_truncated_readme_if_no_abstract(): void { $user = User::factory()->create(); $collaborator = Collaborator::factory()->create(); @@ -36,7 +36,7 @@ public function package_abstracts_default_to_truncated_readme_if_no_abstract() } /** @test */ - public function long_package_readmes_are_truncated_to_190_characters_for_abstract() + public function long_package_readmes_are_truncated_to_190_characters_for_abstract(): void { $user = User::factory()->create(); $collaborator = Collaborator::factory()->create(); @@ -54,7 +54,7 @@ public function long_package_readmes_are_truncated_to_190_characters_for_abstrac } /** @test */ - public function api_abstract_never_null() + public function api_abstract_never_null(): void { $user = User::factory()->create(); $collaborator = Collaborator::factory()->create(); diff --git a/tests/Feature/PackageCreateTest.php b/tests/Feature/PackageCreateTest.php index bbc7bfd7..f6881cc5 100644 --- a/tests/Feature/PackageCreateTest.php +++ b/tests/Feature/PackageCreateTest.php @@ -17,7 +17,7 @@ class PackageCreateTest extends TestCase use RefreshDatabase; /** @test */ - public function can_attach_screenshots_to_the_package() + public function can_attach_screenshots_to_the_package(): void { $this->withoutEvents(); $this->fakesRepoFromRequest(); @@ -44,7 +44,7 @@ public function can_attach_screenshots_to_the_package() } /** @test */ - public function screenshots_are_optional() + public function screenshots_are_optional(): void { $this->withoutEvents(); $this->fakesRepoFromRequest(); @@ -63,7 +63,7 @@ public function screenshots_are_optional() } /** @test */ - public function screenshots_must_be_an_array() + public function screenshots_must_be_an_array(): void { $user = User::factory()->create(); @@ -76,7 +76,7 @@ public function screenshots_must_be_an_array() } /** @test */ - public function can_not_attach_more_than_20_screenshots() + public function can_not_attach_more_than_20_screenshots(): void { $user = User::factory()->create(); $screenshots = Screenshot::factory(21)->create(['uploader_id' => $user->id]); @@ -90,7 +90,7 @@ public function can_not_attach_more_than_20_screenshots() } /** @test */ - public function all_uploaded_screenshots_are_returned_when_validation_fails() + public function all_uploaded_screenshots_are_returned_when_validation_fails(): void { $user = User::factory()->create(); list($screenshotA, $screenshotB) = Screenshot::factory(2)->create(['uploader_id' => $user->id]); @@ -112,7 +112,7 @@ public function all_uploaded_screenshots_are_returned_when_validation_fails() } /** @test */ - public function the_selected_author_is_returned_to_the_view_when_validation_fails() + public function the_selected_author_is_returned_to_the_view_when_validation_fails(): void { $this->withoutEvents(); @@ -131,7 +131,7 @@ public function the_selected_author_is_returned_to_the_view_when_validation_fail } /** @test */ - public function the_selected_collaborators_are_returned_to_the_view_when_validation_fails() + public function the_selected_collaborators_are_returned_to_the_view_when_validation_fails(): void { $this->withoutEvents(); @@ -162,7 +162,7 @@ public function the_selected_collaborators_are_returned_to_the_view_when_validat } /** @test */ - public function the_selected_existing_tags_and_new_tags_are_returned_to_the_view_when_validation_fails() + public function the_selected_existing_tags_and_new_tags_are_returned_to_the_view_when_validation_fails(): void { $this->withoutEvents(); @@ -193,7 +193,7 @@ public function the_selected_existing_tags_and_new_tags_are_returned_to_the_view } /** @test */ - public function relative_urls_are_formatted_to_the_latest_release() + public function relative_urls_are_formatted_to_the_latest_release(): void { $this->withoutEvents(); @@ -250,7 +250,7 @@ public function relative_urls_are_formatted_to_the_latest_release() } /** @test */ - public function an_existing_tag_is_used_if_the_tag_submitted_differs_only_in_case() + public function an_existing_tag_is_used_if_the_tag_submitted_differs_only_in_case(): void { $this->withoutExceptionHandling(); $this->withoutEvents(); @@ -278,7 +278,7 @@ public function an_existing_tag_is_used_if_the_tag_submitted_differs_only_in_cas } /** @test */ - public function an_existing_tag_is_used_if_the_tag_submitted_differs_only_in_case_and_a_new_tag_is_added() + public function an_existing_tag_is_used_if_the_tag_submitted_differs_only_in_case_and_a_new_tag_is_added(): void { $this->withoutExceptionHandling(); $this->withoutEvents(); diff --git a/tests/Feature/PackageCrudTest.php b/tests/Feature/PackageCrudTest.php index cf51703a..144f0053 100644 --- a/tests/Feature/PackageCrudTest.php +++ b/tests/Feature/PackageCrudTest.php @@ -28,7 +28,7 @@ class PackageCrudTest extends TestCase use RefreshDatabase; /** @test */ - public function app_package_index_shows_my_packages() + public function app_package_index_shows_my_packages(): void { $user = User::factory()->create(); $collaborator = Collaborator::factory()->create(); @@ -47,7 +47,7 @@ public function app_package_index_shows_my_packages() } /** @test */ - public function app_package_index_doesnt_show_others_packages() + public function app_package_index_doesnt_show_others_packages(): void { $this->markTestIncomplete('Needs to scope just to the "My Packages" section'); @@ -65,7 +65,7 @@ public function app_package_index_doesnt_show_others_packages() } /** @test */ - public function app_package_index_shows_my_favorited_packages() + public function app_package_index_shows_my_favorited_packages(): void { $userA = User::factory()->create(); $userAFavorites = Favorite::factory(2)->create([ @@ -86,7 +86,7 @@ public function app_package_index_shows_my_favorited_packages() } /** @test */ - public function authenticated_user_can_see_create_package_page() + public function authenticated_user_can_see_create_package_page(): void { $user = User::factory()->create(); @@ -97,14 +97,14 @@ public function authenticated_user_can_see_create_package_page() } /** @test */ - public function non_authenticated_user_cannot_see_create_package_page() + public function non_authenticated_user_cannot_see_create_package_page(): void { $this->get(route('app.packages.create')) ->assertRedirect('/login/github'); } /** @test */ - public function user_can_submit_a_package() + public function user_can_submit_a_package(): void { Event::fake(); @@ -153,7 +153,7 @@ public function user_can_submit_a_package() } /** @test */ - public function non_user_cannot_submit_a_package() + public function non_user_cannot_submit_a_package(): void { $package = Package::factory()->make(); $this->followingRedirects() @@ -164,7 +164,7 @@ public function non_user_cannot_submit_a_package() } /** @test */ - public function user_cannot_submit_package_without_author() + public function user_cannot_submit_package_without_author(): void { $user = User::factory()->create(); $package = Package::factory()->make(['author_id' => null]); @@ -177,7 +177,7 @@ public function user_cannot_submit_package_without_author() } /** @test */ - public function user_cannot_submit_package_without_package_name() + public function user_cannot_submit_package_without_package_name(): void { $user = User::factory()->create(); $package = Package::factory()->make(['name' => null]); @@ -190,7 +190,7 @@ public function user_cannot_submit_package_without_package_name() } /** @test */ - public function user_cannot_submit_package_without_packagist_namespace() + public function user_cannot_submit_package_without_packagist_namespace(): void { $user = User::factory()->create(); $package = Package::factory()->make(['composer_name' => '/test-name']); @@ -203,7 +203,7 @@ public function user_cannot_submit_package_without_packagist_namespace() } /** @test */ - public function user_cannot_submit_package_without_packagist_name() + public function user_cannot_submit_package_without_packagist_name(): void { $user = User::factory()->create(); $package = Package::factory()->make(['composer_name' => 'testing/']); @@ -216,7 +216,7 @@ public function user_cannot_submit_package_without_packagist_name() } /** @test */ - public function user_cannot_submit_package_without_url() + public function user_cannot_submit_package_without_url(): void { $user = User::factory()->create(); $package = Package::factory()->make(['url' => null]); @@ -229,7 +229,7 @@ public function user_cannot_submit_package_without_url() } /** @test */ - public function user_cannot_submit_package_with_duplicate_packagist_name() + public function user_cannot_submit_package_with_duplicate_packagist_name(): void { $this->withoutEvents(); $this->fakesRepoFromRequest(); @@ -249,7 +249,7 @@ public function user_cannot_submit_package_with_duplicate_packagist_name() } /** @test */ - public function it_sends_a_slack_notification_when_a_new_package_is_created() + public function it_sends_a_slack_notification_when_a_new_package_is_created(): void { Event::fake(); $this->fakesRepoFromRequest(); @@ -270,7 +270,7 @@ public function it_sends_a_slack_notification_when_a_new_package_is_created() } /** @test */ - public function slack_notification_contains_submitted_users_name_if_submitted_user_is_not_author() + public function slack_notification_contains_submitted_users_name_if_submitted_user_is_not_author(): void { Notification::fake(); Event::fake(); @@ -293,7 +293,7 @@ function ($notification, $channels) use ($user) { } /** @test */ - public function slack_notification_does_not_contain_submitted_users_name_if_submitted_user_is_author() + public function slack_notification_does_not_contain_submitted_users_name_if_submitted_user_is_author(): void { Notification::fake(); Event::fake(); @@ -321,7 +321,7 @@ function ($notification, $channels) { } /** @test */ - public function author_can_delete_their_packages() + public function author_can_delete_their_packages(): void { $this->withoutEvents(); @@ -368,7 +368,7 @@ public function author_can_delete_their_packages() } /** @test */ - public function collaborators_can_delete_their_packages() + public function collaborators_can_delete_their_packages(): void { $this->withoutEvents(); @@ -388,7 +388,7 @@ public function collaborators_can_delete_their_packages() } /** @test */ - public function submitter_can_delete_package() + public function submitter_can_delete_package(): void { $this->withoutEvents(); @@ -404,7 +404,7 @@ public function submitter_can_delete_package() } /** @test */ - public function submitter_can_delete_package_if_package_author_is_not_a_user() + public function submitter_can_delete_package_if_package_author_is_not_a_user(): void { $this->withoutEvents(); @@ -425,7 +425,7 @@ public function submitter_can_delete_package_if_package_author_is_not_a_user() } /** @test */ - public function admin_can_delete_package() + public function admin_can_delete_package(): void { $this->withoutEvents(); @@ -442,7 +442,7 @@ public function admin_can_delete_package() } /** @test */ - public function users_that_are_not_a_packages_author_cannot_delete_it() + public function users_that_are_not_a_packages_author_cannot_delete_it(): void { $user = User::factory()->create(); $package = Package::factory()->create(); @@ -455,7 +455,7 @@ public function users_that_are_not_a_packages_author_cannot_delete_it() } /** @test */ - public function deleting_package_fires_slack_notification() + public function deleting_package_fires_slack_notification(): void { Notification::fake(); diff --git a/tests/Feature/PackageEditTest.php b/tests/Feature/PackageEditTest.php index bc2d324e..b208e4a1 100644 --- a/tests/Feature/PackageEditTest.php +++ b/tests/Feature/PackageEditTest.php @@ -19,7 +19,7 @@ class PackageEditTest extends TestCase use RefreshDatabase, WithFaker, WithoutEvents; /** @test */ - public function user_can_update_a_package() + public function user_can_update_a_package(): void { list($package, $user) = $this->createPackageWithUser(); $formData = [ @@ -67,7 +67,7 @@ public function user_can_update_a_package() } /** @test */ - public function an_authenticated_user_can_view_the_edit_package_page() + public function an_authenticated_user_can_view_the_edit_package_page(): void { list($packageA, $user) = $this->createPackageWithUser(); $screenshot = Screenshot::factory()->create(['uploader_id' => $user->id]); @@ -87,7 +87,7 @@ public function an_authenticated_user_can_view_the_edit_package_page() } /** @test */ - public function package_author_can_view_disabled_package_form() + public function package_author_can_view_disabled_package_form(): void { list($package, $author) = $this->createPackageWithUser(); @@ -103,7 +103,7 @@ public function package_author_can_view_disabled_package_form() } /** @test */ - public function if_package_is_unavailable_user_sees_notice_on_form() + public function if_package_is_unavailable_user_sees_notice_on_form(): void { list($package, $user) = $this->createPackageWithUser(); $package->update([ @@ -115,7 +115,7 @@ public function if_package_is_unavailable_user_sees_notice_on_form() } /** @test */ - public function the_composer_name_must_be_unique() + public function the_composer_name_must_be_unique(): void { $this->fakesRepoFromRequest(); @@ -132,7 +132,7 @@ public function the_composer_name_must_be_unique() } /** @test */ - public function the_composer_can_remain_the_same() + public function the_composer_can_remain_the_same(): void { $this->fakesRepoFromRequest(); @@ -151,7 +151,7 @@ public function the_composer_can_remain_the_same() } /** @test */ - public function can_update_multiple_screenshots() + public function can_update_multiple_screenshots(): void { $this->fakesRepoFromRequest(); @@ -177,7 +177,7 @@ public function can_update_multiple_screenshots() } /** @test */ - public function screenshots_are_optional() + public function screenshots_are_optional(): void { $this->fakesRepoFromRequest(); @@ -190,7 +190,7 @@ public function screenshots_are_optional() } /** @test */ - public function can_not_upload_more_than_20_screenshots() + public function can_not_upload_more_than_20_screenshots(): void { list($package, $user) = $this->createPackageWithUser(); $screenshots = Screenshot::factory(21)->create(['uploader_id' => $user->id]); @@ -204,7 +204,7 @@ public function can_not_upload_more_than_20_screenshots() } /** @test */ - public function screenshots_must_be_an_array() + public function screenshots_must_be_an_array(): void { list($package, $user) = $this->createPackageWithUser(); @@ -217,7 +217,7 @@ public function screenshots_must_be_an_array() } /** @test */ - public function all_uploaded_screenshots_are_returned_when_validation_fails() + public function all_uploaded_screenshots_are_returned_when_validation_fails(): void { list($package, $user) = $this->createPackageWithUser(); list($oldScreenshot, $screenshotA, $screenshotB) = Screenshot::factory(3)->create(['uploader_id' => $user->id]); @@ -236,7 +236,7 @@ public function all_uploaded_screenshots_are_returned_when_validation_fails() } /** @test */ - public function the_selected_author_is_returned_to_the_view_when_validation_fails() + public function the_selected_author_is_returned_to_the_view_when_validation_fails(): void { list($package, $user) = $this->createPackageWithUser(); $author = Collaborator::factory()->create(); @@ -253,7 +253,7 @@ public function the_selected_author_is_returned_to_the_view_when_validation_fail } /** @test */ - public function the_selected_collaborators_are_returned_to_the_view_when_validation_fails() + public function the_selected_collaborators_are_returned_to_the_view_when_validation_fails(): void { list($package, $user) = $this->createPackageWithUser(); list($selectedCollaboratorA, $author, $selectedCollaboratorB) = Collaborator::factory(3)->create(); @@ -282,7 +282,7 @@ public function the_selected_collaborators_are_returned_to_the_view_when_validat } /** @test */ - public function the_selected_existing_tags_and_new_tags_are_returned_to_the_view_when_validation_fails() + public function the_selected_existing_tags_and_new_tags_are_returned_to_the_view_when_validation_fails(): void { list($package, $user) = $this->createPackageWithUser(); $newTagName = 'New Tag'; @@ -311,7 +311,7 @@ public function the_selected_existing_tags_and_new_tags_are_returned_to_the_view } /** @test */ - public function an_existing_tag_is_used_if_the_tag_submitted_differs_only_in_case() + public function an_existing_tag_is_used_if_the_tag_submitted_differs_only_in_case(): void { $this->withoutExceptionHandling(); $this->fakesRepoFromRequest(); @@ -341,7 +341,7 @@ public function an_existing_tag_is_used_if_the_tag_submitted_differs_only_in_cas } /** @test */ - public function an_existing_tag_is_used_if_the_tag_submitted_differs_only_in_case_and_a_new_tag_is_added() + public function an_existing_tag_is_used_if_the_tag_submitted_differs_only_in_case_and_a_new_tag_is_added(): void { $this->withoutExceptionHandling(); $this->fakesRepoFromRequest(); @@ -372,7 +372,7 @@ public function an_existing_tag_is_used_if_the_tag_submitted_differs_only_in_cas } /** @test */ - public function not_updating_url_does_not_change_package_availability() + public function not_updating_url_does_not_change_package_availability(): void { $this->withoutExceptionHandling(); $this->fakesRepoFromRequest(); @@ -398,7 +398,7 @@ public function not_updating_url_does_not_change_package_availability() } /** @test */ - public function updating_url_attribute_removes_unavailable_timestamp() + public function updating_url_attribute_removes_unavailable_timestamp(): void { list($package, $user) = $this->createPackageWithUser(); diff --git a/tests/Feature/PackageViewTest.php b/tests/Feature/PackageViewTest.php index 66bcac15..7fa3ae4a 100644 --- a/tests/Feature/PackageViewTest.php +++ b/tests/Feature/PackageViewTest.php @@ -15,7 +15,7 @@ class PackageViewTest extends TestCase use RefreshDatabase; /** @test */ - public function a_user_can_view_the_show_package_page() + public function a_user_can_view_the_show_package_page(): void { $packageNamespace = 'tightenco'; $packageName = 'bae'; @@ -43,7 +43,7 @@ public function a_user_can_view_the_show_package_page() } /** @test */ - public function legacy_package_id_lookup_redirects_to_namespace_search() + public function legacy_package_id_lookup_redirects_to_namespace_search(): void { $packageNamespace = 'tightenco'; $packageName = 'bae'; diff --git a/tests/Feature/PopularityTest.php b/tests/Feature/PopularityTest.php index 96551d85..d90b5a7c 100644 --- a/tests/Feature/PopularityTest.php +++ b/tests/Feature/PopularityTest.php @@ -13,7 +13,7 @@ class PopularityTest extends TestCase use RefreshDatabase; /** @test */ - public function github_stars_influence_popularity() + public function github_stars_influence_popularity(): void { $user = User::factory()->create(); $collaborator = Collaborator::factory()->create(); @@ -32,7 +32,7 @@ public function github_stars_influence_popularity() } /** @test */ - public function packagist_downloads_influence_popularity() + public function packagist_downloads_influence_popularity(): void { $user = User::factory()->create(); $collaborator = Collaborator::factory()->create(); diff --git a/tests/Feature/RatingCountableTest.php b/tests/Feature/RatingCountableTest.php index 4b9e3d22..fb003ec5 100644 --- a/tests/Feature/RatingCountableTest.php +++ b/tests/Feature/RatingCountableTest.php @@ -12,7 +12,7 @@ class RatingCountableTest extends TestCase use RefreshDatabase; /** @test */ - public function it_counts_average_rating() + public function it_counts_average_rating(): void { $package = Package::factory()->create(); $users = User::factory(4)->create(); @@ -26,7 +26,7 @@ public function it_counts_average_rating() } /** @test */ - public function it_counts_each_rating_correctly() + public function it_counts_each_rating_correctly(): void { $package = Package::factory()->create(); $users = User::factory(15)->create(); @@ -58,7 +58,7 @@ public function it_counts_each_rating_correctly() } /** @test */ - public function it_counts_each_rating_correctly_when_eager_loaded() + public function it_counts_each_rating_correctly_when_eager_loaded(): void { $package = Package::factory()->create(); $users = User::factory(15)->create(); @@ -92,7 +92,7 @@ public function it_counts_each_rating_correctly_when_eager_loaded() } /** @test */ - public function average_rating_rounded_to_1_decimal() + public function average_rating_rounded_to_1_decimal(): void { $package = Package::factory()->create(); $users = User::factory(3)->create(); diff --git a/tests/Feature/RemindPackageAuthorOfUnavailablePackageCommandTest.php b/tests/Feature/RemindPackageAuthorOfUnavailablePackageCommandTest.php index 738bc502..04329155 100644 --- a/tests/Feature/RemindPackageAuthorOfUnavailablePackageCommandTest.php +++ b/tests/Feature/RemindPackageAuthorOfUnavailablePackageCommandTest.php @@ -18,7 +18,7 @@ class RemindPackageAuthorOfUnavailablePackageCommandTest extends TestCase /** * @test */ - public function command_sends_reminder_to_package_author_after_14_days() + public function command_sends_reminder_to_package_author_after_14_days(): void { Notification::fake(); diff --git a/tests/Feature/RepoTest.php b/tests/Feature/RepoTest.php index 8761e20a..3fc7854d 100644 --- a/tests/Feature/RepoTest.php +++ b/tests/Feature/RepoTest.php @@ -38,7 +38,7 @@ protected function setUp(): void } /** @test */ - public function can_get_a_repo_from_a_package_composer_name() + public function can_get_a_repo_from_a_package_composer_name(): void { $composerName = 'tightenco/nova-stripe'; $package = Package::factory()->make([ @@ -57,7 +57,7 @@ public function can_get_a_repo_from_a_package_composer_name() } /** @test */ - public function can_get_a_repo_from_a_the_package_url_if_the_composer_name_is_not_valid() + public function can_get_a_repo_from_a_the_package_url_if_the_composer_name_is_not_valid(): void { $packageUrl = 'https://github.com/tighten/nova-stripe'; @@ -84,7 +84,7 @@ public function can_get_a_repo_from_a_the_package_url_if_the_composer_name_is_no } /** @test */ - public function can_get_a_repo_from_a_packagist_composer_name() + public function can_get_a_repo_from_a_packagist_composer_name(): void { $url = 'https://packagist.org/packages/tightenco/nova-stripe'; $mock = Mockery::mock(PackageFormRequest::class); @@ -103,7 +103,7 @@ public function can_get_a_repo_from_a_packagist_composer_name() } /** @test */ - public function can_get_a_repo_from_a_the_request_url_if_the_composer_name_is_not_valid() + public function can_get_a_repo_from_a_the_request_url_if_the_composer_name_is_not_valid(): void { Http::fake([ 'https://packagist.org/packages/invalid-namespace/invalid-name.json' => Http::response([ @@ -128,7 +128,7 @@ public function can_get_a_repo_from_a_the_request_url_if_the_composer_name_is_no } /** @test */ - public function can_fetch_data_from_a_github_repo() + public function can_fetch_data_from_a_github_repo(): void { $githubUrl = 'https://github.com/tighten/nova-stripe'; @@ -143,7 +143,7 @@ public function can_fetch_data_from_a_github_repo() } /** @test */ - public function github_readme_is_returned_as_null_if_one_is_not_present() + public function github_readme_is_returned_as_null_if_one_is_not_present(): void { $repositoryPath = 'ctroms/no-readme-test'; @@ -160,7 +160,7 @@ public function github_readme_is_returned_as_null_if_one_is_not_present() } /** @test */ - public function can_fetch_data_from_a_bitbucket_repo() + public function can_fetch_data_from_a_bitbucket_repo(): void { Http::fake([ 'https://api.bitbucket.org/2.0/repositories/tightenco/novapackages-test/refs' => Http::response(), @@ -181,7 +181,7 @@ public function can_fetch_data_from_a_bitbucket_repo() } /** @test */ - public function an_exception_is_thrown_if_bitbucket_response_has_errors_that_are_not_file_not_found_errors() + public function an_exception_is_thrown_if_bitbucket_response_has_errors_that_are_not_file_not_found_errors(): void { Http::fake([ 'https://api.bitbucket.org/2.0/repositories/invalid-user/invalid-repo/refs' => Http::response([ @@ -197,7 +197,7 @@ public function an_exception_is_thrown_if_bitbucket_response_has_errors_that_are } /** @test */ - public function can_fetch_data_from_a_gitlab_repo() + public function can_fetch_data_from_a_gitlab_repo(): void { $url = 'https://gitlab.com/alphayax/rancher-api'; @@ -219,7 +219,7 @@ public function can_fetch_data_from_a_gitlab_repo() } /** @test */ - public function an_exception_is_thrown_if_gitlab_response_has_errors_that_are_not_file_not_found_errors() + public function an_exception_is_thrown_if_gitlab_response_has_errors_that_are_not_file_not_found_errors(): void { $gitlabUrl = 'https://gitlab.com/invalid-user/invalid-repo'; @@ -236,7 +236,7 @@ public function an_exception_is_thrown_if_gitlab_response_has_errors_that_are_no } /** @test */ - public function gitlab_readme_is_returned_as_null_if_one_is_not_present() + public function gitlab_readme_is_returned_as_null_if_one_is_not_present(): void { $url = 'https://gitlab.com/jedi/how-to-join-the-sith'; @@ -256,7 +256,7 @@ public function gitlab_readme_is_returned_as_null_if_one_is_not_present() } /** @test */ - public function can_fetch_the_github_data_from_an_npm_package_with_a_github_vcs() + public function can_fetch_the_github_data_from_an_npm_package_with_a_github_vcs(): void { // lodash is an example of a package that has been // published to npm with a GitHub VCS. @@ -282,7 +282,7 @@ public function can_fetch_the_github_data_from_an_npm_package_with_a_github_vcs( } /** @test */ - public function can_fetch_the_npm_data_if_the_package_doesnt_have_a_vcs() + public function can_fetch_the_npm_data_if_the_package_doesnt_have_a_vcs(): void { // vue-form-state is an example of a package that has been // published to npm without a VCS. @@ -302,19 +302,19 @@ public function can_fetch_the_npm_data_if_the_package_doesnt_have_a_vcs() } /** @test */ - public function can_fetch_the_npm_data_if_the_package_has_a_vcs_we_do_not_integrate_with() + public function can_fetch_the_npm_data_if_the_package_has_a_vcs_we_do_not_integrate_with(): void { $this->markTestIncomplete('Need to find/create a package that matches this use case'); } /** @test */ - public function return_default_data_for_an_npm_package_without_a_vcs_or_a_readme() + public function return_default_data_for_an_npm_package_without_a_vcs_or_a_readme(): void { $this->markTestIncomplete('Need to find/create a package that matches this use case'); } /** @test */ - public function can_fetch_the_default_data_for_a_vcs_we_dont_integrate_with() + public function can_fetch_the_default_data_for_a_vcs_we_dont_integrate_with(): void { $npmUrl = 'https://www.example.com/package/a-new-package'; @@ -328,7 +328,7 @@ public function can_fetch_the_default_data_for_a_vcs_we_dont_integrate_with() } /** @test */ - public function can_fetch_the_default_data_for_a_url_without_the_trailing_slash() + public function can_fetch_the_default_data_for_a_url_without_the_trailing_slash(): void { $npmUrl = 'https://www.example.com'; @@ -342,7 +342,7 @@ public function can_fetch_the_default_data_for_a_url_without_the_trailing_slash( } /** @test */ - public function can_fetch_the_github_data_from_a_packagist_package_with_a_github_vcs() + public function can_fetch_the_github_data_from_a_packagist_package_with_a_github_vcs(): void { $url = 'https://packagist.org/packages/tightenco/nova-stripe'; @@ -363,7 +363,7 @@ public function can_fetch_the_github_data_from_a_packagist_package_with_a_github } /** @test */ - public function can_fetch_the_bitbucket_data_from_a_packagist_package_with_a_bitbucket_vcs() + public function can_fetch_the_bitbucket_data_from_a_packagist_package_with_a_bitbucket_vcs(): void { // This package is an example of a package that is // backed by a Bitbucket repository. @@ -394,7 +394,7 @@ public function can_fetch_the_bitbucket_data_from_a_packagist_package_with_a_bit } /** @test */ - public function can_fetch_the_gitlab_data_from_a_packagist_package_with_a_gitlab_vcs() + public function can_fetch_the_gitlab_data_from_a_packagist_package_with_a_gitlab_vcs(): void { $packagistUrl = 'https://packagist.org/packages/alphayax/rancher-api'; $repoUrl = 'https://gitlab.com/alphayax/rancher-api'; @@ -420,7 +420,7 @@ public function can_fetch_the_gitlab_data_from_a_packagist_package_with_a_gitlab } /** @test */ - public function can_fetch_the_default_data_from_a_packagist_package_with_a_vcs_we_do_not_integrate_with() + public function can_fetch_the_default_data_from_a_packagist_package_with_a_vcs_we_do_not_integrate_with(): void { $this->markTestIncomplete('Need to find/create a package that matches this use case'); } diff --git a/tests/Feature/ScreenshotDeleteTest.php b/tests/Feature/ScreenshotDeleteTest.php index f60d4717..ec54b054 100644 --- a/tests/Feature/ScreenshotDeleteTest.php +++ b/tests/Feature/ScreenshotDeleteTest.php @@ -16,7 +16,7 @@ class ScreenshotDeleteTest extends TestCase use RefreshDatabase; /** @test */ - public function a_screenshot_can_be_deleted_by_the_person_who_uploaded_it() + public function a_screenshot_can_be_deleted_by_the_person_who_uploaded_it(): void { Storage::fake(); @@ -43,7 +43,7 @@ public function a_screenshot_can_be_deleted_by_the_person_who_uploaded_it() } /** @test */ - public function a_package_collaborator_can_delete_an_attached_screenshot() + public function a_package_collaborator_can_delete_an_attached_screenshot(): void { Storage::fake(); @@ -65,7 +65,7 @@ public function a_package_collaborator_can_delete_an_attached_screenshot() } /** @test */ - public function an_unauthorized_user_can_not_delete_a_screenshot() + public function an_unauthorized_user_can_not_delete_a_screenshot(): void { Storage::fake(); @@ -86,7 +86,7 @@ public function an_unauthorized_user_can_not_delete_a_screenshot() } /** @test */ - public function a_guest_user_can_not_delete_a_screenshot() + public function a_guest_user_can_not_delete_a_screenshot(): void { Storage::fake(); diff --git a/tests/Feature/ScreenshotUploadTest.php b/tests/Feature/ScreenshotUploadTest.php index 8d1a1cf3..974e11bb 100644 --- a/tests/Feature/ScreenshotUploadTest.php +++ b/tests/Feature/ScreenshotUploadTest.php @@ -14,7 +14,7 @@ class ScreenshotUploadTest extends TestCase use RefreshDatabase; /** @test */ - public function authenticated_users_can_upload_a_screenshot() + public function authenticated_users_can_upload_a_screenshot(): void { Storage::fake(); @@ -38,7 +38,7 @@ public function authenticated_users_can_upload_a_screenshot() } /** @test */ - public function guest_users_can_not_upload_screenshot() + public function guest_users_can_not_upload_screenshot(): void { Storage::fake(); @@ -53,7 +53,7 @@ public function guest_users_can_not_upload_screenshot() } /** @test */ - public function the_uploaded_screenshot_must_be_smaller_than_2mb() + public function the_uploaded_screenshot_must_be_smaller_than_2mb(): void { $user = User::factory()->create(); @@ -69,7 +69,7 @@ public function the_uploaded_screenshot_must_be_smaller_than_2mb() } /** @test */ - public function the_upload_screenshot_must_be_an_image() + public function the_upload_screenshot_must_be_an_image(): void { $user = User::factory()->create(); diff --git a/tests/Feature/ScreenshotsArePassedToPackageTest.php b/tests/Feature/ScreenshotsArePassedToPackageTest.php index e8d0b3c1..31c3045e 100644 --- a/tests/Feature/ScreenshotsArePassedToPackageTest.php +++ b/tests/Feature/ScreenshotsArePassedToPackageTest.php @@ -15,7 +15,7 @@ class ScreenshotsArePassedToPackageTest extends TestCase use RefreshDatabase; /** @test */ - public function a_packages_screenshots_are_passed_to_the_view() + public function a_packages_screenshots_are_passed_to_the_view(): void { Http::fake(['https://packagist.org/packages/tightenco/bae.json' => Http::response()]); diff --git a/tests/Feature/SearchTest.php b/tests/Feature/SearchTest.php index a416c872..0681fb95 100644 --- a/tests/Feature/SearchTest.php +++ b/tests/Feature/SearchTest.php @@ -18,7 +18,7 @@ protected function setUp(): void } /** @test */ - public function it_returns_matching_results() + public function it_returns_matching_results(): void { $package = Package::factory()->create(['name' => 'Dancing hyenas']); @@ -28,7 +28,7 @@ public function it_returns_matching_results() } /** @test */ - public function it_doesnt_return_non_matching_results() + public function it_doesnt_return_non_matching_results(): void { $package = Package::factory()->create(['name' => 'Dancing hyenas']); @@ -38,7 +38,7 @@ public function it_doesnt_return_non_matching_results() } /** @test */ - public function it_ignores_disabled_packages() + public function it_ignores_disabled_packages(): void { $package2 = Package::factory()->disabled()->create(['name' => 'An alligator']); diff --git a/tests/Feature/SiteMapTest.php b/tests/Feature/SiteMapTest.php index b9bd1269..af99534c 100644 --- a/tests/Feature/SiteMapTest.php +++ b/tests/Feature/SiteMapTest.php @@ -11,7 +11,7 @@ class SiteMapTest extends TestCase use RefreshDatabase; /** @test */ - function displays_sitemap() + function displays_sitemap(): void { [$packageA, $packageB] = Package::factory()->count(2)->create(); diff --git a/tests/Feature/SyncRepositoryDataCommandTest.php b/tests/Feature/SyncRepositoryDataCommandTest.php index fd71e92a..d2a26519 100644 --- a/tests/Feature/SyncRepositoryDataCommandTest.php +++ b/tests/Feature/SyncRepositoryDataCommandTest.php @@ -12,7 +12,7 @@ class SyncRepositoryDataCommandTest extends TestCase use RefreshDatabase; /** @test */ - public function calling_the_command_without_an_argument_updates_all_packages_with_data_from_their_remote_repos() + public function calling_the_command_without_an_argument_updates_all_packages_with_data_from_their_remote_repos(): void { $packageA = Package::factory()->create([ 'readme' => 'old readme A', @@ -58,7 +58,7 @@ public function calling_the_command_without_an_argument_updates_all_packages_wit } /** @test */ - public function calling_the_command_with_a_package_id_only_updates_that_package_with_data_from_its_remote_repo() + public function calling_the_command_with_a_package_id_only_updates_that_package_with_data_from_its_remote_repo(): void { $packageA = Package::factory()->create([ 'readme' => 'old readme A', @@ -104,7 +104,7 @@ public function calling_the_command_with_a_package_id_only_updates_that_package_ } /** @test */ - public function local_data_is_not_updated_if_there_are_no_changes_in_the_remote_repo() + public function local_data_is_not_updated_if_there_are_no_changes_in_the_remote_repo(): void { $updatedAt = Carbon::now()->subHour(); $package = Package::factory()->create([ diff --git a/tests/Feature/UpdatePackageRepositoryTest.php b/tests/Feature/UpdatePackageRepositoryTest.php index c98bd3b9..498ab371 100644 --- a/tests/Feature/UpdatePackageRepositoryTest.php +++ b/tests/Feature/UpdatePackageRepositoryTest.php @@ -15,7 +15,7 @@ class UpdatePackageRepositoryTest extends TestCase use RefreshDatabase; /** @test */ - public function an_authenticated_user_can_request_a_refresh_of_a_packages_repository_data() + public function an_authenticated_user_can_request_a_refresh_of_a_packages_repository_data(): void { Bus::fake(); @@ -34,7 +34,7 @@ public function an_authenticated_user_can_request_a_refresh_of_a_packages_reposi } /** @test */ - public function a_guest_user_can_not_request_a_refresh_of_a_packages_repository_data() + public function a_guest_user_can_not_request_a_refresh_of_a_packages_repository_data(): void { Bus::fake(); diff --git a/tests/Feature/UserRoleTest.php b/tests/Feature/UserRoleTest.php index 19823fb0..beb1d731 100644 --- a/tests/Feature/UserRoleTest.php +++ b/tests/Feature/UserRoleTest.php @@ -11,7 +11,7 @@ class UserRoleTest extends TestCase use RefreshDatabase; /** @test */ - public function user_default_role_is_user() + public function user_default_role_is_user(): void { $user = User::factory()->create(); @@ -20,7 +20,7 @@ public function user_default_role_is_user() } /** @test */ - public function user_correctly_reports_if_admin() + public function user_correctly_reports_if_admin(): void { $user = User::factory()->create(); $admin = User::factory()->create(['role' => User::ADMIN_ROLE]); diff --git a/tests/Feature/UserTest.php b/tests/Feature/UserTest.php index 625cee69..37d3e0e2 100644 --- a/tests/Feature/UserTest.php +++ b/tests/Feature/UserTest.php @@ -12,7 +12,7 @@ class UserTest extends TestCase use RefreshDatabase; /** @test */ - public function updating_collaborator_names_when_the_user_name_changes() + public function updating_collaborator_names_when_the_user_name_changes(): void { $user = User::factory()->create([ 'name' => 'Caleb Dume', @@ -30,7 +30,7 @@ public function updating_collaborator_names_when_the_user_name_changes() } /** @test */ - public function updating_collaborator_names_only_updates_where_same_github_username() + public function updating_collaborator_names_only_updates_where_same_github_username(): void { $user = User::factory()->create([ 'name' => 'Caleb Dume', @@ -54,7 +54,7 @@ public function updating_collaborator_names_only_updates_where_same_github_usern } /** @test */ - public function updating_collaborator_github_usernames_when_the_user_github_username_changes() + public function updating_collaborator_github_usernames_when_the_user_github_username_changes(): void { $user = User::factory()->create([ 'github_user_id' => 123, @@ -72,7 +72,7 @@ public function updating_collaborator_github_usernames_when_the_user_github_user } /** @test */ - public function updating_collaborator_github_usernames_only_updates_where_same_github_user_id() + public function updating_collaborator_github_usernames_only_updates_where_same_github_user_id(): void { $user = User::factory()->create([ 'github_user_id' => 123, @@ -96,7 +96,7 @@ public function updating_collaborator_github_usernames_only_updates_where_same_g } /** @test */ - public function collaborator_github_usernames_are_only_updated_when_github_user_id_is_set() + public function collaborator_github_usernames_are_only_updated_when_github_user_id_is_set(): void { $user = User::factory()->create([ 'github_user_id' => null, @@ -114,7 +114,7 @@ public function collaborator_github_usernames_are_only_updated_when_github_user_ } /** @test */ - public function updating_collaborator_github_user_id_on_user_update() + public function updating_collaborator_github_user_id_on_user_update(): void { $user = User::factory()->create([ 'github_user_id' => null, @@ -132,7 +132,7 @@ public function updating_collaborator_github_user_id_on_user_update() } /** @test */ - public function collaborator_github_user_ids_are_only_updated_where_github_username_matches() + public function collaborator_github_user_ids_are_only_updated_where_github_username_matches(): void { $user = User::factory()->create([ 'github_user_id' => null, @@ -156,7 +156,7 @@ public function collaborator_github_user_ids_are_only_updated_where_github_usern } /** @test */ - public function collaborator_github_user_id_is_only_updated_when_it_is_null() + public function collaborator_github_user_id_is_only_updated_when_it_is_null(): void { $user = User::factory()->create([ 'github_user_id' => null, diff --git a/tests/Integration/GitHubApiTest.php b/tests/Integration/GitHubApiTest.php index a8ec45a3..ad9c4323 100644 --- a/tests/Integration/GitHubApiTest.php +++ b/tests/Integration/GitHubApiTest.php @@ -18,7 +18,7 @@ protected function setUp(): void } /** @test */ - function readme_response_in_expected_format() + function readme_response_in_expected_format(): void { $response = app(GitHub::class)->readme('tighten/nova-stripe'); @@ -26,7 +26,7 @@ function readme_response_in_expected_format() } /** @test */ - function releases_response_in_expected_format() + function releases_response_in_expected_format(): void { $response = app(GitHub::class)->releases('tighten/nova-stripe'); @@ -47,7 +47,7 @@ function releases_response_in_expected_format() } /** @test */ - function searching_issues_response_in_expected_format() + function searching_issues_response_in_expected_format(): void { $response = app(GitHub::class)->packageIdeaIssues(); @@ -69,7 +69,7 @@ function searching_issues_response_in_expected_format() } /** @test */ - function user_response_in_expected_format() + function user_response_in_expected_format(): void { $response = app(GitHub::class)->user('marcusmoore'); diff --git a/tests/Unit/BitBucketRepoTest.php b/tests/Unit/BitBucketRepoTest.php index 78ba5766..daa8e627 100644 --- a/tests/Unit/BitBucketRepoTest.php +++ b/tests/Unit/BitBucketRepoTest.php @@ -11,7 +11,7 @@ class BitBucketRepoTest extends TestCase { /** @test */ - public function it_gets_the_latest_release_version_for_tagged_releases() + public function it_gets_the_latest_release_version_for_tagged_releases(): void { $this->mockBitBucketWith([ 'fetchData' => [ @@ -29,7 +29,7 @@ public function it_gets_the_latest_release_version_for_tagged_releases() } /** @test */ - public function it_falls_back_to_master_when_there_are_no_releases() + public function it_falls_back_to_master_when_there_are_no_releases(): void { $this->mockBitBucketWith([ 'fetchData' => ['values' => []], @@ -41,7 +41,7 @@ public function it_falls_back_to_master_when_there_are_no_releases() } /** @test */ - function it_returns_proper_readme_format() + function it_returns_proper_readme_format(): void { $repo = BitBucketRepo::make('https://bitbucket.org/starwars/lightsabers'); diff --git a/tests/Unit/CollaboratorTest.php b/tests/Unit/CollaboratorTest.php index c50db808..bbf216a9 100644 --- a/tests/Unit/CollaboratorTest.php +++ b/tests/Unit/CollaboratorTest.php @@ -11,7 +11,7 @@ class CollaboratorTest extends TestCase use RefreshDatabase; /** @test */ - function name_with_username_attribute() + function name_with_username_attribute(): void { $this->assertEquals( 'Ted Lasso (tedlasso)', diff --git a/tests/Unit/GitHubRepoTest.php b/tests/Unit/GitHubRepoTest.php index ab69a2c8..3b777b76 100644 --- a/tests/Unit/GitHubRepoTest.php +++ b/tests/Unit/GitHubRepoTest.php @@ -10,7 +10,7 @@ class GitHubRepoTest extends TestCase { /** @test */ - function requires_valid_url() + function requires_valid_url(): void { $this->expectException(GitHubException::class); @@ -18,7 +18,7 @@ function requires_valid_url() } /** @test */ - public function it_gets_the_latest_release_version_for_tagged_releases() + public function it_gets_the_latest_release_version_for_tagged_releases(): void { Http::fake([ 'https://api.github.com/repos/starwars/lightsabers/releases' => Http::response(collect([ @@ -35,7 +35,7 @@ public function it_gets_the_latest_release_version_for_tagged_releases() } /** @test */ - public function it_falls_back_to_master_when_there_are_no_releases() + public function it_falls_back_to_master_when_there_are_no_releases(): void { Http::fake(['https://api.github.com/repos/starwars/lightsabers/releases' => Http::response([])]); @@ -45,7 +45,7 @@ public function it_falls_back_to_master_when_there_are_no_releases() } /** @test */ - function it_returns_proper_readme_format() + function it_returns_proper_readme_format(): void { $repo = GitHubRepo::make('https://github.com/starwars/lightsabers'); diff --git a/tests/Unit/GitLabRepoTest.php b/tests/Unit/GitLabRepoTest.php index c7fea23a..fd4a3bcb 100644 --- a/tests/Unit/GitLabRepoTest.php +++ b/tests/Unit/GitLabRepoTest.php @@ -12,7 +12,7 @@ class GitLabRepoTest extends TestCase { /** @test */ - function it_sets_the_url_for_a_changed_username_to_the_new_repository_location() + function it_sets_the_url_for_a_changed_username_to_the_new_repository_location(): void { Http::fake([ 'https://gitlab.com/senator-palpatine/masterplan' => Http::response(null, 301, [ @@ -26,7 +26,7 @@ function it_sets_the_url_for_a_changed_username_to_the_new_repository_location() } /** @test */ - public function it_gets_the_latest_release_version_for_tagged_releases() + public function it_gets_the_latest_release_version_for_tagged_releases(): void { Http::fake(['https://gitlab.com/starwars/lightsabers' => Http::response()]); @@ -44,7 +44,7 @@ public function it_gets_the_latest_release_version_for_tagged_releases() } /** @test */ - public function it_falls_back_to_master_when_there_are_no_releases() + public function it_falls_back_to_master_when_there_are_no_releases(): void { Http::fake(['https://gitlab.com/starwars/x-wings' => Http::response()]); @@ -58,7 +58,7 @@ public function it_falls_back_to_master_when_there_are_no_releases() } /** @test */ - function it_returns_proper_readme_format() + function it_returns_proper_readme_format(): void { Http::fake(['https://gitlab.com/starwars/lightsabers' => Http::response()]); diff --git a/tests/Unit/Http/Resources/PackageDetailResourceTest.php b/tests/Unit/Http/Resources/PackageDetailResourceTest.php index add5b680..4a1aacc1 100644 --- a/tests/Unit/Http/Resources/PackageDetailResourceTest.php +++ b/tests/Unit/Http/Resources/PackageDetailResourceTest.php @@ -15,7 +15,7 @@ class PackageDetailResourceTest extends TestCase use RefreshDatabase; /** @test */ - public function can_determine_if_the_package_is_favorited_by_the_authenticated_user() + public function can_determine_if_the_package_is_favorited_by_the_authenticated_user(): void { $this->fakePackagistRequest(); @@ -30,7 +30,7 @@ public function can_determine_if_the_package_is_favorited_by_the_authenticated_u } /** @test */ - public function can_determine_if_the_package_is_unfavorited_by_the_authenticated_user() + public function can_determine_if_the_package_is_unfavorited_by_the_authenticated_user(): void { $this->fakePackagistRequest(); @@ -44,7 +44,7 @@ public function can_determine_if_the_package_is_unfavorited_by_the_authenticated } /** @test */ - public function return_the_count_of_favorites_for_a_package() + public function return_the_count_of_favorites_for_a_package(): void { $this->fakePackagistRequest(); @@ -60,7 +60,7 @@ public function return_the_count_of_favorites_for_a_package() } /** @test */ - public function includes_whether_package_has_been_marked_as_unavailable() + public function includes_whether_package_has_been_marked_as_unavailable(): void { $this->fakePackagistRequest(); diff --git a/tests/Unit/Http/Resources/PackageResourceTest.php b/tests/Unit/Http/Resources/PackageResourceTest.php index 1da642a4..b1d94704 100644 --- a/tests/Unit/Http/Resources/PackageResourceTest.php +++ b/tests/Unit/Http/Resources/PackageResourceTest.php @@ -13,7 +13,7 @@ class PackageResourceTest extends TestCase use RefreshDatabase; /** @test */ - public function the_abstract_is_returned_if_the_resource_has_an_abstract() + public function the_abstract_is_returned_if_the_resource_has_an_abstract(): void { $abstract = 'This is the test abstract'; $package = Package::factory()->create([ @@ -27,7 +27,7 @@ public function the_abstract_is_returned_if_the_resource_has_an_abstract() } /** @test */ - public function an_abstractified_value_is_returned_when_the_abstract_is_null() + public function an_abstractified_value_is_returned_when_the_abstract_is_null(): void { $package = Package::factory()->create([ 'abstract' => null, diff --git a/tests/Unit/Http/Resources/PackageTest.php b/tests/Unit/Http/Resources/PackageTest.php index 892c0cf0..9f4349b1 100644 --- a/tests/Unit/Http/Resources/PackageTest.php +++ b/tests/Unit/Http/Resources/PackageTest.php @@ -12,7 +12,7 @@ class PackageTest extends TestCase use RefreshDatabase; /** @test */ - public function the_abstract_is_returned_if_the_resource_has_an_abstract() + public function the_abstract_is_returned_if_the_resource_has_an_abstract(): void { $abstract = 'This is the test abstract'; $package = Package::factory()->create([ @@ -26,7 +26,7 @@ public function the_abstract_is_returned_if_the_resource_has_an_abstract() } /** @test */ - public function an_abstractified_value_is_returned_when_the_abstract_is_null() + public function an_abstractified_value_is_returned_when_the_abstract_is_null(): void { $package = Package::factory()->create([ 'abstract' => null, diff --git a/tests/Unit/NpmRepoTest.php b/tests/Unit/NpmRepoTest.php index 77408e94..d8d6d495 100644 --- a/tests/Unit/NpmRepoTest.php +++ b/tests/Unit/NpmRepoTest.php @@ -11,7 +11,7 @@ class NpmRepoTest extends TestCase { /** @test */ - function it_returns_proper_readme_format() + function it_returns_proper_readme_format(): void { Http::fake(['https://registry.npmjs.org/lodash/' => Http::response()]); @@ -21,7 +21,7 @@ function it_returns_proper_readme_format() } /** @test */ - function it_returns_latest_release_if_set() + function it_returns_latest_release_if_set(): void { Http::fake([ 'https://registry.npmjs.org/lodash/' => Http::response( @@ -37,7 +37,7 @@ function it_returns_latest_release_if_set() } /** @test */ - function it_returns_master_if_latest_release_is_not_set() + function it_returns_master_if_latest_release_is_not_set(): void { Http::fake([ 'https://registry.npmjs.org/lodash/' => Http::response(), diff --git a/tests/Unit/PackageTest.php b/tests/Unit/PackageTest.php index c33446d5..df099cdf 100644 --- a/tests/Unit/PackageTest.php +++ b/tests/Unit/PackageTest.php @@ -13,7 +13,7 @@ class PackageTest extends TestCase use RefreshDatabase; /** @test */ - public function it_returns_the_abstact_when_the_abstract_is_set() + public function it_returns_the_abstact_when_the_abstract_is_set(): void { $abstract = 'This is the test abstract'; $package = Package::factory()->create([ @@ -24,7 +24,7 @@ public function it_returns_the_abstact_when_the_abstract_is_set() } /** @test */ - public function it_returns_an_abstractified_readme_when_the_abstract_is_not_set() + public function it_returns_an_abstractified_readme_when_the_abstract_is_not_set(): void { $readme = 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.'; $truncatedReadme = 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris'; @@ -39,7 +39,7 @@ public function it_returns_an_abstractified_readme_when_the_abstract_is_not_set( } /** @test */ - public function it_excludes_attributes_from_being_synchronized_to_the_scout_search_index() + public function it_excludes_attributes_from_being_synchronized_to_the_scout_search_index(): void { $notSearchableAttributes = [ 'description', @@ -64,7 +64,7 @@ public function it_excludes_attributes_from_being_synchronized_to_the_scout_sear } /** @test */ - public function the_readme_is_truncated_to_500_characters_when_being_synchronized_with_the_scout_index() + public function the_readme_is_truncated_to_500_characters_when_being_synchronized_with_the_scout_index(): void { $package = Package::factory()->create([ 'readme' => Str::random(1400), @@ -79,7 +79,7 @@ public function the_readme_is_truncated_to_500_characters_when_being_synchronize * @test * @dataProvider packageNameProvider */ - public function it_returns_the_display_name_of_the_package($input, $expected) + public function it_returns_the_display_name_of_the_package($input, $expected): void { $package = Package::make([ 'name' => $input, diff --git a/tests/Unit/ReadmeFormatterTest.php b/tests/Unit/ReadmeFormatterTest.php index a58b4a30..c7546e89 100644 --- a/tests/Unit/ReadmeFormatterTest.php +++ b/tests/Unit/ReadmeFormatterTest.php @@ -13,7 +13,7 @@ class ReadmeFormatterTest extends TestCase use RefreshDatabase; /** @test */ - public function it_formats_github_sources() + public function it_formats_github_sources(): void { $package = Package::factory()->create([ 'readme_source' => 'github', @@ -32,7 +32,7 @@ public function it_formats_github_sources() } /** @test */ - public function it_formats_gitlab_sources() + public function it_formats_gitlab_sources(): void { $package = Package::factory()->create([ 'readme_source' => 'gitlab', @@ -51,7 +51,7 @@ public function it_formats_gitlab_sources() } /** @test */ - public function it_formats_bitbucket_sources() + public function it_formats_bitbucket_sources(): void { $package = Package::factory()->create([ 'readme_source' => 'bitbucket', @@ -69,7 +69,7 @@ public function it_formats_bitbucket_sources() } /** @test */ - public function it_wraps_html_readme_with_markdown_div() + public function it_wraps_html_readme_with_markdown_div(): void { $package = Package::factory()->create([ 'readme_source' => 'github', @@ -87,7 +87,7 @@ public function it_wraps_html_readme_with_markdown_div() } /** @test */ - public function it_formats_html_image_relative_urls_to_full_qualified_raw_urls() + public function it_formats_html_image_relative_urls_to_full_qualified_raw_urls(): void { $repoUrl = 'https://github.com/tightenco/nova-stripe'; $latestVersion = 'v1.0.0'; @@ -124,7 +124,7 @@ public function it_formats_html_image_relative_urls_to_full_qualified_raw_urls() } /** @test */ - public function it_formats_html_non_image_relative_urls_to_fully_qualified_blob_urls() + public function it_formats_html_non_image_relative_urls_to_fully_qualified_blob_urls(): void { $relativeUrl = 'contribution guidelines'; $repoUrl = 'https://github.com/tightenco/nova-stripe'; @@ -145,7 +145,7 @@ public function it_formats_html_non_image_relative_urls_to_fully_qualified_blob_ } /** @test */ - public function it_formats_markdown_image_relative_urls_to_full_qualified_raw_urls() + public function it_formats_markdown_image_relative_urls_to_full_qualified_raw_urls(): void { $repoUrl = 'https://github.com/tightenco/nova-stripe'; $latestVersion = 'v1.0.0'; @@ -181,7 +181,7 @@ public function it_formats_markdown_image_relative_urls_to_full_qualified_raw_ur } /** @test */ - public function it_formats_markdown_non_image_relative_urls_to_fully_qualified_blob_urls() + public function it_formats_markdown_non_image_relative_urls_to_fully_qualified_blob_urls(): void { $relativeUrl = '[contribution guidelines](CONTRIBUTING.md)'; $repoUrl = 'https://github.com/tightenco/nova-stripe'; @@ -201,7 +201,7 @@ public function it_formats_markdown_non_image_relative_urls_to_fully_qualified_b } /** @test */ - public function it_does_not_format_fully_qualified_urls() + public function it_does_not_format_fully_qualified_urls(): void { $fullyQualifiedUrl = '[Dashboard index page](http://example.com)'; $repoUrl = 'https://github.com/tightenco/nova-stripe'; @@ -221,7 +221,7 @@ public function it_does_not_format_fully_qualified_urls() } /** @test */ - public function it_does_not_format_mailto_urls() + public function it_does_not_format_mailto_urls(): void { $mailtoUrl = '[email](mailto:me@example.com)'; diff --git a/tests/Unit/Remotes/GitHubTest.php b/tests/Unit/Remotes/GitHubTest.php index 62346331..fe602ded 100644 --- a/tests/Unit/Remotes/GitHubTest.php +++ b/tests/Unit/Remotes/GitHubTest.php @@ -11,7 +11,7 @@ class GitHubTest extends TestCase { /** @test */ - function validates_github_urls() + function validates_github_urls(): void { $this->assertTrue(GitHub::validateUrl('http://github.com/starwars/lightsabers')); $this->assertTrue(GitHub::validateUrl('https://github.com/starwars/lightsabers')); @@ -21,7 +21,7 @@ function validates_github_urls() } /** @test */ - function requesting_package_idea_issues_sends_request_to_correct_url() + function requesting_package_idea_issues_sends_request_to_correct_url(): void { Http::fake([ 'https://api.github.com/search/issues*' => @@ -38,7 +38,7 @@ function requesting_package_idea_issues_sends_request_to_correct_url() } /** @test */ - function requesting_package_idea_issues_throws_exception_when_request_has_error() + function requesting_package_idea_issues_throws_exception_when_request_has_error(): void { Http::fake(['https://api.github.com/search/issues*' => Http::response(null, 500)]); @@ -48,7 +48,7 @@ function requesting_package_idea_issues_throws_exception_when_request_has_error( } /** @test */ - function requesting_readme_requires_owner_and_repository() + function requesting_readme_requires_owner_and_repository(): void { $this->expectException(GitHubException::class); @@ -56,7 +56,7 @@ function requesting_readme_requires_owner_and_repository() } /** @test */ - function requesting_readme_sends_request_to_correct_url() + function requesting_readme_sends_request_to_correct_url(): void { Http::fake(['https://api.github.com/repos/starwars/lightsabers/readme' => Http::response()]); @@ -68,7 +68,7 @@ function requesting_readme_sends_request_to_correct_url() } /** @test */ - function requesting_readme_returns_null_when_readme_does_not_exist() + function requesting_readme_returns_null_when_readme_does_not_exist(): void { Http::fake(['https://api.github.com/repos/starwars/lightsabers/readme' => Http::response(null, 404)]); @@ -78,7 +78,7 @@ function requesting_readme_returns_null_when_readme_does_not_exist() } /** @test */ - function requesting_readme_throws_exception_when_request_has_error() + function requesting_readme_throws_exception_when_request_has_error(): void { Http::fake(['https://api.github.com/repos/starwars/lightsabers/readme' => Http::response(null, 500)]); @@ -88,7 +88,7 @@ function requesting_readme_throws_exception_when_request_has_error() } /** @test */ - function requesting_releases_requires_owner_and_repository() + function requesting_releases_requires_owner_and_repository(): void { $this->expectException(GitHubException::class); @@ -96,7 +96,7 @@ function requesting_releases_requires_owner_and_repository() } /** @test */ - function requesting_releases_sends_request_to_correct_url() + function requesting_releases_sends_request_to_correct_url(): void { Http::fake(['https://api.github.com/repos/starwars/lightsabers/releases' => Http::response([])]); @@ -108,7 +108,7 @@ function requesting_releases_sends_request_to_correct_url() } /** @test */ - function requesting_releases_throws_exception_when_request_has_error() + function requesting_releases_throws_exception_when_request_has_error(): void { Http::fake(['https://api.github.com/repos/starwars/lightsabers/releases' => Http::response(null, 500)]); @@ -118,7 +118,7 @@ function requesting_releases_throws_exception_when_request_has_error() } /** @test */ - function requesting_user_sends_request_to_correct_url() + function requesting_user_sends_request_to_correct_url(): void { Http::fake(['https://api.github.com/users/lukeskywalker' => Http::response([])]); @@ -128,7 +128,7 @@ function requesting_user_sends_request_to_correct_url() } /** @test */ - function requesting_user_throws_exception_when_request_has_error() + function requesting_user_throws_exception_when_request_has_error(): void { Http::fake(['https://api.github.com/users/lukeskywalker' => Http::response(null, 500)]); diff --git a/tests/Unit/TagTest.php b/tests/Unit/TagTest.php index 70c0f19a..fcab3a1f 100644 --- a/tests/Unit/TagTest.php +++ b/tests/Unit/TagTest.php @@ -31,7 +31,7 @@ protected function setUp(): void } /** @test */ - public function it_can_be_scoped_by_number_of_associated_packages() + public function it_can_be_scoped_by_number_of_associated_packages(): void { $tagWithMostPackages = Tag::nonTypes() ->whereHas('packages') @@ -46,7 +46,7 @@ public function it_can_be_scoped_by_number_of_associated_packages() } /** @test */ - public function it_can_be_scoped_by_only_project_types() + public function it_can_be_scoped_by_only_project_types(): void { $tags = Tag::types()->get(); @@ -56,13 +56,13 @@ public function it_can_be_scoped_by_only_project_types() } /** @test */ - public function it_can_be_scoped_to_exclude_project_types() + public function it_can_be_scoped_to_exclude_project_types(): void { $this->assertEmpty(Tag::nonTypes()->pluck('slug')->intersect(Tag::PROJECT_TYPES)); } /** @test */ - public function the_name_attribute_is_stored_as_lowercase() + public function the_name_attribute_is_stored_as_lowercase(): void { $name = 'Test name'; $tag = Tag::factory()->make([ @@ -79,7 +79,7 @@ public function the_name_attribute_is_stored_as_lowercase() } /** @test */ - public function it_can_generate_its_own_url() + public function it_can_generate_its_own_url(): void { $tag = Tag::factory()->create(['slug' => 'abc']); From 4911f6b506c2e433babcdc50dc653733b877e5f1 Mon Sep 17 00:00:00 2001 From: Shift Date: Thu, 8 Aug 2024 18:08:40 +0000 Subject: [PATCH 12/16] Add type hints from DocBlocks --- app/Http/Controllers/AdminController.php | 3 ++- app/Http/Controllers/Api/StatsController.php | 3 ++- app/Http/Controllers/App/ApiDetailsController.php | 3 ++- .../Controllers/App/CollaboratorClaimController.php | 6 ++++-- app/Http/Controllers/App/CollaboratorController.php | 12 +++++++----- app/Http/Controllers/App/EmailController.php | 6 ++++-- app/Http/Controllers/App/PackageController.php | 10 ++++++---- .../Controllers/App/ScreenshotUploadController.php | 5 +++-- app/Http/Controllers/Auth/LoginController.php | 3 ++- app/Http/Controllers/CollaboratorController.php | 5 +++-- .../InternalApi/PackageFavoritesController.php | 5 +++-- .../Controllers/InternalApi/ReviewsController.php | 3 ++- app/Http/Controllers/PackageController.php | 8 +++++--- app/Http/Controllers/PackageIdeaController.php | 3 ++- app/Http/Controllers/PackageReviewController.php | 3 ++- app/Http/Controllers/StatsController.php | 3 ++- app/Http/Middleware/CheckForEmailAddress.php | 2 +- app/Http/Middleware/CheckRole.php | 2 +- app/Http/Resources/Package.php | 3 ++- app/OpenGraphImage.php | 4 ++-- app/Providers/HorizonServiceProvider.php | 2 +- app/Providers/TelescopeServiceProvider.php | 4 ++-- tests/Unit/PackageTest.php | 2 +- 23 files changed, 61 insertions(+), 39 deletions(-) diff --git a/app/Http/Controllers/AdminController.php b/app/Http/Controllers/AdminController.php index 451269d0..a5a935b5 100644 --- a/app/Http/Controllers/AdminController.php +++ b/app/Http/Controllers/AdminController.php @@ -2,12 +2,13 @@ namespace App\Http\Controllers; +use Illuminate\View\View; use App\Package; use Illuminate\Http\Request; class AdminController extends Controller { - public function index() + public function index(): View { return view('admin', [ 'enabled_packages' => Package::all(), diff --git a/app/Http/Controllers/Api/StatsController.php b/app/Http/Controllers/Api/StatsController.php index c8b6c694..f6e5e4a8 100644 --- a/app/Http/Controllers/Api/StatsController.php +++ b/app/Http/Controllers/Api/StatsController.php @@ -2,6 +2,7 @@ namespace App\Http\Controllers\Api; +use Illuminate\Http\JsonResponse; use App\Http\Controllers\Controller; use App\Stats; use Illuminate\Http\Request; @@ -9,7 +10,7 @@ class StatsController extends Controller { - public function __invoke(Request $request, Stats $stats) + public function __invoke(Request $request, Stats $stats): JsonResponse { Log::info('API: /status'); diff --git a/app/Http/Controllers/App/ApiDetailsController.php b/app/Http/Controllers/App/ApiDetailsController.php index c8f54249..368a2776 100644 --- a/app/Http/Controllers/App/ApiDetailsController.php +++ b/app/Http/Controllers/App/ApiDetailsController.php @@ -2,12 +2,13 @@ namespace App\Http\Controllers\App; +use Illuminate\View\View; use App\Http\Controllers\Controller; use Illuminate\Http\Request; class ApiDetailsController extends Controller { - public function __invoke() + public function __invoke(): View { return view('app.api_details'); } diff --git a/app/Http/Controllers/App/CollaboratorClaimController.php b/app/Http/Controllers/App/CollaboratorClaimController.php index 7f03ea0d..df19d9bd 100644 --- a/app/Http/Controllers/App/CollaboratorClaimController.php +++ b/app/Http/Controllers/App/CollaboratorClaimController.php @@ -2,20 +2,22 @@ namespace App\Http\Controllers\App; +use Illuminate\View\View; +use Illuminate\Http\RedirectResponse; use App\Collaborator; use App\Events\CollaboratorClaimed; use App\Http\Controllers\Controller; class CollaboratorClaimController extends Controller { - public function create(Collaborator $collaborator) + public function create(Collaborator $collaborator): View { return view('app.collaborators.claim', [ 'collaborator' => $collaborator, ]); } - public function store(Collaborator $collaborator) + public function store(Collaborator $collaborator): RedirectResponse { $collaborator->user()->associate(auth()->user())->save(); diff --git a/app/Http/Controllers/App/CollaboratorController.php b/app/Http/Controllers/App/CollaboratorController.php index f5fee486..39ee2f4f 100644 --- a/app/Http/Controllers/App/CollaboratorController.php +++ b/app/Http/Controllers/App/CollaboratorController.php @@ -2,6 +2,8 @@ namespace App\Http\Controllers\App; +use Illuminate\View\View; +use Illuminate\Http\RedirectResponse; use App\Collaborator; use App\Events\CollaboratorCreated; use App\Http\Controllers\Controller; @@ -11,19 +13,19 @@ class CollaboratorController extends Controller { - public function index() + public function index(): View { return view('app.collaborators.index', [ 'unclaimed_collaborators' => Collaborator::doesntHave('user')->get(), ]); } - public function create() + public function create(): View { return view('app.collaborators.create'); } - public function store() + public function store(): RedirectResponse { $input = request()->validate([ 'name' => 'required', @@ -47,12 +49,12 @@ public function store() return redirect()->route('app.collaborators.index'); } - public function edit(Collaborator $collaborator) + public function edit(Collaborator $collaborator): View { return view('app.collaborators.edit', compact('collaborator')); } - public function update(Collaborator $collaborator) + public function update(Collaborator $collaborator): RedirectResponse { $input = request()->validate([ 'name' => 'required', diff --git a/app/Http/Controllers/App/EmailController.php b/app/Http/Controllers/App/EmailController.php index 7adb3c90..707c2a6c 100644 --- a/app/Http/Controllers/App/EmailController.php +++ b/app/Http/Controllers/App/EmailController.php @@ -2,17 +2,19 @@ namespace App\Http\Controllers\App; +use Illuminate\View\View; +use Illuminate\Http\RedirectResponse; use App\Http\Controllers\Controller; use Illuminate\Http\Request; class EmailController extends Controller { - public function create() + public function create(): View { return view('app.email.create'); } - public function store() + public function store(): RedirectResponse { $this->validate(request(), [ 'email' => 'required|email|unique:users,email', diff --git a/app/Http/Controllers/App/PackageController.php b/app/Http/Controllers/App/PackageController.php index fefca1a5..950eb348 100644 --- a/app/Http/Controllers/App/PackageController.php +++ b/app/Http/Controllers/App/PackageController.php @@ -2,6 +2,8 @@ namespace App\Http\Controllers\App; +use Illuminate\View\View; +use Illuminate\Http\RedirectResponse; use App\Collaborator; use App\Events\PackageCreated; use App\Events\PackageDeleted; @@ -18,7 +20,7 @@ class PackageController extends Controller { - public function index() + public function index(): View { return view('app.packages.index', [ 'packages' => Package::get(), @@ -26,7 +28,7 @@ public function index() ]); } - public function create() + public function create(): View { return view('app.packages.create', [ 'collaborators' => Collaborator::orderBy('name')->get(), @@ -73,7 +75,7 @@ public function store(PackageFormRequest $request) return redirect()->route('app.packages.index'); } - public function edit(Package $package) + public function edit(Package $package): View { // @todo refactor like store above return view('app.packages.edit', [ @@ -119,7 +121,7 @@ public function update(PackageFormRequest $request, Package $package) return redirect()->route('app.packages.index'); } - public function destroy(Package $package) + public function destroy(Package $package): RedirectResponse { $name = $package->name; diff --git a/app/Http/Controllers/App/ScreenshotUploadController.php b/app/Http/Controllers/App/ScreenshotUploadController.php index 793e4bf1..7ec0a800 100644 --- a/app/Http/Controllers/App/ScreenshotUploadController.php +++ b/app/Http/Controllers/App/ScreenshotUploadController.php @@ -2,6 +2,7 @@ namespace App\Http\Controllers\App; +use Illuminate\Http\JsonResponse; use App\Http\Controllers\Controller; use App\Screenshot; use Illuminate\Http\Request; @@ -9,7 +10,7 @@ class ScreenshotUploadController extends Controller { - public function store() + public function store(): JsonResponse { request()->validate([ 'screenshot' => ['image', 'max:2048'], @@ -23,7 +24,7 @@ public function store() return response()->json($screenshot, 201); } - public function destroy(Screenshot $screenshot) + public function destroy(Screenshot $screenshot): JsonResponse { $screenshot->delete(); diff --git a/app/Http/Controllers/Auth/LoginController.php b/app/Http/Controllers/Auth/LoginController.php index 2b5a1f2b..e224c678 100644 --- a/app/Http/Controllers/Auth/LoginController.php +++ b/app/Http/Controllers/Auth/LoginController.php @@ -2,6 +2,7 @@ namespace App\Http\Controllers\Auth; +use Illuminate\Http\RedirectResponse; use App\Events\NewUserSignedUp; use App\Http\Controllers\Controller; use App\User; @@ -48,7 +49,7 @@ public function redirectToProvider() return Socialite::driver('github')->redirect(); } - public function handleProviderCallback() + public function handleProviderCallback(): RedirectResponse { $user = $this->createOrUpdateUser(Socialite::driver('github')->user()); diff --git a/app/Http/Controllers/CollaboratorController.php b/app/Http/Controllers/CollaboratorController.php index 89c1ae8f..3948c9ab 100644 --- a/app/Http/Controllers/CollaboratorController.php +++ b/app/Http/Controllers/CollaboratorController.php @@ -2,11 +2,12 @@ namespace App\Http\Controllers; +use Illuminate\View\View; use App\Collaborator; class CollaboratorController extends Controller { - public function index() + public function index(): View { abort(404); @@ -18,7 +19,7 @@ public function index() // ->with('packages', PackageResource::from(Package::orderBy('created_at', 'desc')->with(['tags', 'author', 'ratings'])->get())); } - public function show(Collaborator $collaborator) + public function show(Collaborator $collaborator): View { return view('collaborators.show') ->with('collaborator', $collaborator); diff --git a/app/Http/Controllers/InternalApi/PackageFavoritesController.php b/app/Http/Controllers/InternalApi/PackageFavoritesController.php index afe9afb3..9c07b83e 100644 --- a/app/Http/Controllers/InternalApi/PackageFavoritesController.php +++ b/app/Http/Controllers/InternalApi/PackageFavoritesController.php @@ -2,19 +2,20 @@ namespace App\Http\Controllers\InternalApi; +use Illuminate\Http\Response; use App\Http\Controllers\Controller; use App\Package; class PackageFavoritesController extends Controller { - public function store(Package $package) + public function store(Package $package): Response { auth()->user()->favoritePackage($package->id); return response(['status' => 'success', 'message' => 'Favorite created successfully'], 201); } - public function destroy(Package $package) + public function destroy(Package $package): Response { auth()->user()->unfavoritePackage($package->id); diff --git a/app/Http/Controllers/InternalApi/ReviewsController.php b/app/Http/Controllers/InternalApi/ReviewsController.php index 20cea025..d9772073 100644 --- a/app/Http/Controllers/InternalApi/ReviewsController.php +++ b/app/Http/Controllers/InternalApi/ReviewsController.php @@ -2,6 +2,7 @@ namespace App\Http\Controllers\InternalApi; +use Illuminate\Http\Response; use App\Http\Controllers\Controller; use App\Package; use App\Review; @@ -45,7 +46,7 @@ public function update() return ['status' => 'success', 'message' => 'Review edited successfully']; } - public function destroy(Review $review) + public function destroy(Review $review): Response { $review->delete(); diff --git a/app/Http/Controllers/PackageController.php b/app/Http/Controllers/PackageController.php index 94224b40..482a3a9a 100644 --- a/app/Http/Controllers/PackageController.php +++ b/app/Http/Controllers/PackageController.php @@ -2,17 +2,19 @@ namespace App\Http\Controllers; +use Illuminate\View\View; +use Illuminate\Http\RedirectResponse; use App\Http\Resources\PackageDetailResource; use App\Package; class PackageController extends Controller { - public function index() + public function index(): View { return view('packages.index'); } - public function show($namespace, $name) + public function show($namespace, $name): View { $query = Package::where('composer_name', $namespace . '/' . $name); @@ -29,7 +31,7 @@ public function show($namespace, $name) ]); } - public function showId(Package $package) + public function showId(Package $package): RedirectResponse { return redirect()->route('packages.show', [ 'namespace' => $package->composer_vendor, diff --git a/app/Http/Controllers/PackageIdeaController.php b/app/Http/Controllers/PackageIdeaController.php index 5a20e5e1..2324c5b8 100644 --- a/app/Http/Controllers/PackageIdeaController.php +++ b/app/Http/Controllers/PackageIdeaController.php @@ -2,12 +2,13 @@ namespace App\Http\Controllers; +use Illuminate\View\View; use App\Http\Remotes\GitHub; use Illuminate\Http\Request; class PackageIdeaController extends Controller { - public function __invoke(GitHub $github) + public function __invoke(GitHub $github): View { $ideas = collect($github->packageIdeaIssues()); diff --git a/app/Http/Controllers/PackageReviewController.php b/app/Http/Controllers/PackageReviewController.php index bc154a69..f4323774 100644 --- a/app/Http/Controllers/PackageReviewController.php +++ b/app/Http/Controllers/PackageReviewController.php @@ -2,12 +2,13 @@ namespace App\Http\Controllers; +use Illuminate\View\View; use App\Http\Resources\PackageDetailResource; use App\Package; class PackageReviewController extends Controller { - public function create($namespace, $name) + public function create($namespace, $name): View { $package = Package::where('composer_name', $namespace . '/' . $name)->firstOrFail(); $userStarRating = $package->ratings->where('user_id', auth()->id())->first(); diff --git a/app/Http/Controllers/StatsController.php b/app/Http/Controllers/StatsController.php index 234f5694..040ec6b3 100644 --- a/app/Http/Controllers/StatsController.php +++ b/app/Http/Controllers/StatsController.php @@ -2,12 +2,13 @@ namespace App\Http\Controllers; +use Illuminate\View\View; use App\Stats; use Illuminate\Http\Request; class StatsController extends Controller { - public function __invoke(Stats $stats) + public function __invoke(Stats $stats): View { return view('stats', ['stats' => $stats]); } diff --git a/app/Http/Middleware/CheckForEmailAddress.php b/app/Http/Middleware/CheckForEmailAddress.php index 95b7fb52..1f9f311a 100644 --- a/app/Http/Middleware/CheckForEmailAddress.php +++ b/app/Http/Middleware/CheckForEmailAddress.php @@ -16,7 +16,7 @@ class CheckForEmailAddress * @param string|null $guard * @return mixed */ - public function handle(Request $request, Closure $next, $guard = null): Response + public function handle(Request $request, Closure $next, ?string $guard = null): Response { if (auth()->check() && ! auth()->user()->email) { return redirect()->route('app.email.create'); diff --git a/app/Http/Middleware/CheckRole.php b/app/Http/Middleware/CheckRole.php index ed6eb494..509650bd 100644 --- a/app/Http/Middleware/CheckRole.php +++ b/app/Http/Middleware/CheckRole.php @@ -16,7 +16,7 @@ class CheckRole * @param string $role * @return mixed */ - public function handle(Request $request, Closure $next, $role): Response + public function handle(Request $request, Closure $next, string $role): Response { if (! $request->user() || ! $request->user()->role == $role) { return redirect('/'); diff --git a/app/Http/Resources/Package.php b/app/Http/Resources/Package.php index f1f2f016..479b0e39 100644 --- a/app/Http/Resources/Package.php +++ b/app/Http/Resources/Package.php @@ -2,6 +2,7 @@ namespace App\Http\Resources; +use Illuminate\Http\Request; use Illuminate\Http\Resources\Json\JsonResource; class Package extends JsonResource @@ -12,7 +13,7 @@ class Package extends JsonResource * @param \Illuminate\Http\Request $request * @return array */ - public function toArray($request): array + public function toArray(Request $request): array { return [ 'name' => $this->display_name, diff --git a/app/OpenGraphImage.php b/app/OpenGraphImage.php index 2867ae3a..10e91b81 100644 --- a/app/OpenGraphImage.php +++ b/app/OpenGraphImage.php @@ -27,7 +27,7 @@ class OpenGraphImage * @param string $fileName Image filename (e.g. my-image.png) * @return void */ - public function __construct($title, $subtitle, $fileName) + public function __construct(string $title, string $subtitle, string $fileName) { $this->title = $title; $this->subtitle = $subtitle; @@ -40,7 +40,7 @@ public function __construct($title, $subtitle, $fileName) * @param string $uniqueId A unique key to identify the image by. * @param string $name Name of the file. */ - public static function makeFileName($uniqueId, $name): string + public static function makeFileName(string $uniqueId, string $name): string { return "{$uniqueId}_" . Str::slug($name, '-') . '.png'; } diff --git a/app/Providers/HorizonServiceProvider.php b/app/Providers/HorizonServiceProvider.php index 3140c11d..84fef40b 100644 --- a/app/Providers/HorizonServiceProvider.php +++ b/app/Providers/HorizonServiceProvider.php @@ -27,7 +27,7 @@ public function boot(): void * * @return void */ - protected function gate() + protected function gate(): void { Gate::define('viewHorizon', function ($user) { return in_array($user->email, explode(',', config('horizon.users'))); diff --git a/app/Providers/TelescopeServiceProvider.php b/app/Providers/TelescopeServiceProvider.php index a6640d30..5552c17a 100644 --- a/app/Providers/TelescopeServiceProvider.php +++ b/app/Providers/TelescopeServiceProvider.php @@ -38,7 +38,7 @@ public function register(): void * * @return void */ - protected function hideSensitiveRequestDetails() + protected function hideSensitiveRequestDetails(): void { if ($this->app->isLocal()) { return; @@ -60,7 +60,7 @@ protected function hideSensitiveRequestDetails() * * @return void */ - protected function gate() + protected function gate(): void { Gate::define('viewTelescope', function ($user) { return $user->isAdmin(); diff --git a/tests/Unit/PackageTest.php b/tests/Unit/PackageTest.php index df099cdf..35549291 100644 --- a/tests/Unit/PackageTest.php +++ b/tests/Unit/PackageTest.php @@ -89,7 +89,7 @@ public function it_returns_the_display_name_of_the_package($input, $expected): v } /** Data Provider for the package name test. */ - public function packageNameProvider() + public function packageNameProvider(): array { return [ [ From fac41c9288a721a74e07972f00ca52daa5d60475 Mon Sep 17 00:00:00 2001 From: Shift Date: Thu, 8 Aug 2024 18:08:41 +0000 Subject: [PATCH 13/16] Remove redundant typing from DocBlocks --- app/Exceptions/Handler.php | 4 ---- app/Http/Middleware/CheckForEmailAddress.php | 5 ----- app/Http/Middleware/CheckRole.php | 5 ----- app/Http/Middleware/CheckUserClaimedCollaborator.php | 4 ---- app/Http/Middleware/RedirectIfAuthenticated.php | 5 ----- app/Http/Resources/Package.php | 3 --- app/Jobs/GeneratePackageOpenGraphImage.php | 2 -- app/Jobs/SyncPackagePackagistData.php | 2 -- app/Providers/EventServiceProvider.php | 4 ---- app/Providers/HorizonServiceProvider.php | 6 ------ app/Providers/RouteServiceProvider.php | 2 -- app/Providers/TelescopeServiceProvider.php | 6 ------ database/factories/CollaboratorFactory.php | 2 -- database/factories/FavoriteFactory.php | 2 -- database/factories/PackageFactory.php | 2 -- database/factories/ReviewFactory.php | 2 -- database/factories/ScreenshotFactory.php | 2 -- database/factories/TagFactory.php | 2 -- database/factories/UserFactory.php | 2 -- .../migrations/2019_06_14_214402_create_reviews_table.php | 4 ---- .../2020_02_01_134920_add_package_tag_indexes.php | 4 ---- .../2020_02_03_202003_add_foreign_key_to_packages_table.php | 4 ---- ..._22_161239_add_nova_version_column_to_packages_table.php | 4 ---- .../2024_08_08_000000_rename_password_resets_table.php | 4 ---- 24 files changed, 82 deletions(-) diff --git a/app/Exceptions/Handler.php b/app/Exceptions/Handler.php index e3babb4e..a317d00a 100644 --- a/app/Exceptions/Handler.php +++ b/app/Exceptions/Handler.php @@ -21,8 +21,6 @@ class Handler extends ExceptionHandler /** * Register the exception handling callbacks for the application. - * - * @return void */ public function register(): void { @@ -32,7 +30,6 @@ public function register(): void /** * Report or log an exception. * - * @param \Throwable $exception * @return void * * @throws \Throwable @@ -50,7 +47,6 @@ public function report(Throwable $exception) * Render an exception into an HTTP response. * * @param \Illuminate\Http\Request $request - * @param \Throwable $exception * @return \Symfony\Component\HttpFoundation\Response * * @throws \Throwable diff --git a/app/Http/Middleware/CheckForEmailAddress.php b/app/Http/Middleware/CheckForEmailAddress.php index 1f9f311a..24e93d5f 100644 --- a/app/Http/Middleware/CheckForEmailAddress.php +++ b/app/Http/Middleware/CheckForEmailAddress.php @@ -10,11 +10,6 @@ class CheckForEmailAddress { /** * Handle an incoming request. - * - * @param \Illuminate\Http\Request $request - * @param \Closure $next - * @param string|null $guard - * @return mixed */ public function handle(Request $request, Closure $next, ?string $guard = null): Response { diff --git a/app/Http/Middleware/CheckRole.php b/app/Http/Middleware/CheckRole.php index 509650bd..be08e650 100644 --- a/app/Http/Middleware/CheckRole.php +++ b/app/Http/Middleware/CheckRole.php @@ -10,11 +10,6 @@ class CheckRole { /** * Handle the incoming request. - * - * @param \Illuminate\Http\Request $request - * @param \Closure $next - * @param string $role - * @return mixed */ public function handle(Request $request, Closure $next, string $role): Response { diff --git a/app/Http/Middleware/CheckUserClaimedCollaborator.php b/app/Http/Middleware/CheckUserClaimedCollaborator.php index 038ee164..7deebe03 100644 --- a/app/Http/Middleware/CheckUserClaimedCollaborator.php +++ b/app/Http/Middleware/CheckUserClaimedCollaborator.php @@ -10,10 +10,6 @@ class CheckUserClaimedCollaborator { /** * Handle an incoming request. - * - * @param \Illuminate\Http\Request $request - * @param \Closure $next - * @return mixed */ public function handle(Request $request, Closure $next): Response { diff --git a/app/Http/Middleware/RedirectIfAuthenticated.php b/app/Http/Middleware/RedirectIfAuthenticated.php index f229a7f0..318632eb 100644 --- a/app/Http/Middleware/RedirectIfAuthenticated.php +++ b/app/Http/Middleware/RedirectIfAuthenticated.php @@ -12,11 +12,6 @@ class RedirectIfAuthenticated { /** * Handle an incoming request. - * - * @param \Illuminate\Http\Request $request - * @param \Closure $next - * @param string|null ...$guards - * @return mixed */ public function handle(Request $request, Closure $next, string ...$guards): Response { diff --git a/app/Http/Resources/Package.php b/app/Http/Resources/Package.php index 479b0e39..8ca32e21 100644 --- a/app/Http/Resources/Package.php +++ b/app/Http/Resources/Package.php @@ -9,9 +9,6 @@ class Package extends JsonResource { /** * Transform the resource into an array. - * - * @param \Illuminate\Http\Request $request - * @return array */ public function toArray(Request $request): array { diff --git a/app/Jobs/GeneratePackageOpenGraphImage.php b/app/Jobs/GeneratePackageOpenGraphImage.php index 5c49404c..a01283d2 100644 --- a/app/Jobs/GeneratePackageOpenGraphImage.php +++ b/app/Jobs/GeneratePackageOpenGraphImage.php @@ -31,8 +31,6 @@ public function __construct(string $packageName, string $packageAuthor, string $ /** * Execute the job. - * - * @return void */ public function handle(): void { diff --git a/app/Jobs/SyncPackagePackagistData.php b/app/Jobs/SyncPackagePackagistData.php index 447d2cf4..3b857518 100644 --- a/app/Jobs/SyncPackagePackagistData.php +++ b/app/Jobs/SyncPackagePackagistData.php @@ -31,8 +31,6 @@ public function __construct($package) /** * Execute the job. - * - * @return void */ public function handle(): void { diff --git a/app/Providers/EventServiceProvider.php b/app/Providers/EventServiceProvider.php index 9ff3cee8..413fb15c 100644 --- a/app/Providers/EventServiceProvider.php +++ b/app/Providers/EventServiceProvider.php @@ -40,8 +40,6 @@ class EventServiceProvider extends ServiceProvider /** * Register any events for your application. - * - * @return void */ public function boot(): void { @@ -50,8 +48,6 @@ public function boot(): void /** * Determine if events and listeners should be automatically discovered. - * - * @return bool */ public function shouldDiscoverEvents(): bool { diff --git a/app/Providers/HorizonServiceProvider.php b/app/Providers/HorizonServiceProvider.php index 84fef40b..9cd27813 100644 --- a/app/Providers/HorizonServiceProvider.php +++ b/app/Providers/HorizonServiceProvider.php @@ -10,8 +10,6 @@ class HorizonServiceProvider extends HorizonApplicationServiceProvider { /** * Bootstrap any application services. - * - * @return void */ public function boot(): void { @@ -24,8 +22,6 @@ public function boot(): void * Register the Horizon gate. * * This gate determines who can access Horizon in non-local environments. - * - * @return void */ protected function gate(): void { @@ -36,8 +32,6 @@ protected function gate(): void /** * Register any application services. - * - * @return void */ public function register(): void { diff --git a/app/Providers/RouteServiceProvider.php b/app/Providers/RouteServiceProvider.php index 41245fd9..d1bc1008 100644 --- a/app/Providers/RouteServiceProvider.php +++ b/app/Providers/RouteServiceProvider.php @@ -22,8 +22,6 @@ class RouteServiceProvider extends ServiceProvider /** * Define your route model bindings, pattern filters, etc. - * - * @return void */ public function boot(): void { diff --git a/app/Providers/TelescopeServiceProvider.php b/app/Providers/TelescopeServiceProvider.php index 5552c17a..2465e71a 100644 --- a/app/Providers/TelescopeServiceProvider.php +++ b/app/Providers/TelescopeServiceProvider.php @@ -11,8 +11,6 @@ class TelescopeServiceProvider extends TelescopeApplicationServiceProvider { /** * Register any application services. - * - * @return void */ public function register(): void { @@ -35,8 +33,6 @@ public function register(): void /** * Prevent sensitive request details from being logged by Telescope. - * - * @return void */ protected function hideSensitiveRequestDetails(): void { @@ -57,8 +53,6 @@ protected function hideSensitiveRequestDetails(): void * Register the Telescope gate. * * This gate determines who can access Telescope in non-local environments. - * - * @return void */ protected function gate(): void { diff --git a/database/factories/CollaboratorFactory.php b/database/factories/CollaboratorFactory.php index f3c7bed0..58ad4dc6 100644 --- a/database/factories/CollaboratorFactory.php +++ b/database/factories/CollaboratorFactory.php @@ -9,8 +9,6 @@ class CollaboratorFactory extends Factory { /** * Define the model's default state. - * - * @return array */ public function definition(): array { diff --git a/database/factories/FavoriteFactory.php b/database/factories/FavoriteFactory.php index e0f0578d..ed32b881 100644 --- a/database/factories/FavoriteFactory.php +++ b/database/factories/FavoriteFactory.php @@ -11,8 +11,6 @@ class FavoriteFactory extends Factory { /** * Define the model's default state. - * - * @return array */ public function definition(): array { diff --git a/database/factories/PackageFactory.php b/database/factories/PackageFactory.php index bf462e2f..de4e7597 100644 --- a/database/factories/PackageFactory.php +++ b/database/factories/PackageFactory.php @@ -10,8 +10,6 @@ class PackageFactory extends Factory { /** * Define the model's default state. - * - * @return array */ public function definition(): array { diff --git a/database/factories/ReviewFactory.php b/database/factories/ReviewFactory.php index 5db40cf5..6d8b1423 100644 --- a/database/factories/ReviewFactory.php +++ b/database/factories/ReviewFactory.php @@ -11,8 +11,6 @@ class ReviewFactory extends Factory { /** * Define the model's default state. - * - * @return array */ public function definition(): array { diff --git a/database/factories/ScreenshotFactory.php b/database/factories/ScreenshotFactory.php index 621a8bff..2c55f049 100644 --- a/database/factories/ScreenshotFactory.php +++ b/database/factories/ScreenshotFactory.php @@ -10,8 +10,6 @@ class ScreenshotFactory extends Factory { /** * Define the model's default state. - * - * @return array */ public function definition(): array { diff --git a/database/factories/TagFactory.php b/database/factories/TagFactory.php index ddf1ffc9..7cecc558 100644 --- a/database/factories/TagFactory.php +++ b/database/factories/TagFactory.php @@ -10,8 +10,6 @@ class TagFactory extends Factory { /** * Define the model's default state. - * - * @return array */ public function definition(): array { diff --git a/database/factories/UserFactory.php b/database/factories/UserFactory.php index aace86c0..9f46bf01 100644 --- a/database/factories/UserFactory.php +++ b/database/factories/UserFactory.php @@ -10,8 +10,6 @@ class UserFactory extends Factory { /** * Define the model's default state. - * - * @return array */ public function definition(): array { diff --git a/database/migrations/2019_06_14_214402_create_reviews_table.php b/database/migrations/2019_06_14_214402_create_reviews_table.php index 0cb69d80..c2b0822d 100644 --- a/database/migrations/2019_06_14_214402_create_reviews_table.php +++ b/database/migrations/2019_06_14_214402_create_reviews_table.php @@ -8,8 +8,6 @@ { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -25,8 +23,6 @@ public function up(): void /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2020_02_01_134920_add_package_tag_indexes.php b/database/migrations/2020_02_01_134920_add_package_tag_indexes.php index ed6df301..d5143a02 100644 --- a/database/migrations/2020_02_01_134920_add_package_tag_indexes.php +++ b/database/migrations/2020_02_01_134920_add_package_tag_indexes.php @@ -8,8 +8,6 @@ { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -21,8 +19,6 @@ public function up(): void /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2020_02_03_202003_add_foreign_key_to_packages_table.php b/database/migrations/2020_02_03_202003_add_foreign_key_to_packages_table.php index d75b0a1e..79705430 100644 --- a/database/migrations/2020_02_03_202003_add_foreign_key_to_packages_table.php +++ b/database/migrations/2020_02_03_202003_add_foreign_key_to_packages_table.php @@ -8,8 +8,6 @@ { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -20,8 +18,6 @@ public function up(): void /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2022_04_22_161239_add_nova_version_column_to_packages_table.php b/database/migrations/2022_04_22_161239_add_nova_version_column_to_packages_table.php index eeb3a523..8091ac57 100644 --- a/database/migrations/2022_04_22_161239_add_nova_version_column_to_packages_table.php +++ b/database/migrations/2022_04_22_161239_add_nova_version_column_to_packages_table.php @@ -8,8 +8,6 @@ { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -20,8 +18,6 @@ public function up(): void /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2024_08_08_000000_rename_password_resets_table.php b/database/migrations/2024_08_08_000000_rename_password_resets_table.php index ab300e6e..f0ad3757 100644 --- a/database/migrations/2024_08_08_000000_rename_password_resets_table.php +++ b/database/migrations/2024_08_08_000000_rename_password_resets_table.php @@ -8,8 +8,6 @@ { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -18,8 +16,6 @@ public function up(): void /** * Reverse the migrations. - * - * @return void */ public function down(): void { From 7c19c55502cafa1dcc23db26913956c631884f69 Mon Sep 17 00:00:00 2001 From: Omar Rida Date: Thu, 8 Aug 2024 22:32:12 +0300 Subject: [PATCH 14/16] pass test suite --- app/Http/Remotes/GitHub.php | 2 +- app/Jobs/SyncPackageRepositoryData.php | 3 +- .../ClaimOrCreateCollaboratorForNewUser.php | 5 +- app/Package.php | 2 +- app/Providers/AuthServiceProvider.php | 2 +- app/RatingCountable.php | 2 +- composer.lock | 3626 +++++++++-------- tests/Feature/CollaboratorClaimTest.php | 5 +- tests/Feature/CollaboratorCreateTest.php | 3 +- .../GeneratePackageOpenGraphImageJobTest.php | 6 +- tests/Feature/PackageCreateTest.php | 19 +- tests/Feature/PackageCrudTest.php | 12 +- tests/Feature/PackageEditTest.php | 2 +- tests/Integration/GitHubApiTest.php | 8 +- 14 files changed, 2026 insertions(+), 1671 deletions(-) diff --git a/app/Http/Remotes/GitHub.php b/app/Http/Remotes/GitHub.php index b25b9020..53f29b6a 100644 --- a/app/Http/Remotes/GitHub.php +++ b/app/Http/Remotes/GitHub.php @@ -22,7 +22,7 @@ public function packageIdeaIssues(): Collection $issues = Http::github() ->accept('application/vnd.github+json') ->get('search/issues', [ - 'q' => 'state:open label:package-idea repo:tighten/nova-package-development', + 'q' => 'is:issue state:open label:package-idea repo:tighten/nova-package-development', 'sort' => 'updated', 'order' => 'desc', ]) diff --git a/app/Jobs/SyncPackageRepositoryData.php b/app/Jobs/SyncPackageRepositoryData.php index d65501bb..4ebe9582 100644 --- a/app/Jobs/SyncPackageRepositoryData.php +++ b/app/Jobs/SyncPackageRepositoryData.php @@ -35,7 +35,8 @@ public function handle(): void try { if (! $this->remoteHasChanges($repo)) { - return Log::info('Repository data is unchanged for package #' . $this->package->id . ' (' . $this->package->name . ')'); + Log::info('Repository data is unchanged for package #' . $this->package->id . ' (' . $this->package->name . ')'); + return; } } catch (RequestException $exception) { // The request(s) to the repository's provider failed, possibly due to a server error or rate-limiting. diff --git a/app/Listeners/ClaimOrCreateCollaboratorForNewUser.php b/app/Listeners/ClaimOrCreateCollaboratorForNewUser.php index f5eb8b4f..5921a8b7 100644 --- a/app/Listeners/ClaimOrCreateCollaboratorForNewUser.php +++ b/app/Listeners/ClaimOrCreateCollaboratorForNewUser.php @@ -13,10 +13,11 @@ class ClaimOrCreateCollaboratorForNewUser public function handle(NewUserSignedUp $event): void { if (Collaborator::where('github_username', $event->user->github_username)->count() > 0) { - return $this->claimCollaborator($event); + $this->claimCollaborator($event); + return; } - return $this->createCollaborator($event); + $this->createCollaborator($event); } private function claimCollaborator($event) diff --git a/app/Package.php b/app/Package.php index fd4bb7f6..af84dafa 100644 --- a/app/Package.php +++ b/app/Package.php @@ -103,7 +103,7 @@ public function scopeTagged($query, $tagSlug) public function scopePopular($query) { return $query->select( - DB::Raw('packages.*, ((`github_stars` * '.$this->githubStarVsPackagistDownloadsMultiplier.') + `packagist_downloads`) as `popularity`') + DB::raw('packages.*, ((`github_stars` * '.$this->githubStarVsPackagistDownloadsMultiplier.') + `packagist_downloads`) as `popularity`') ) ->orderBy('popularity', 'desc'); } diff --git a/app/Providers/AuthServiceProvider.php b/app/Providers/AuthServiceProvider.php index 4164f2db..3b7225f9 100644 --- a/app/Providers/AuthServiceProvider.php +++ b/app/Providers/AuthServiceProvider.php @@ -15,6 +15,6 @@ class AuthServiceProvider extends ServiceProvider public function boot(): void { - Passport::routes(); + // } } diff --git a/app/RatingCountable.php b/app/RatingCountable.php index 2465c66a..539caf34 100644 --- a/app/RatingCountable.php +++ b/app/RatingCountable.php @@ -76,7 +76,7 @@ protected function ratingsCountsFromEagerLoad() protected function ratingsCountsFromRawDb() { - return $this->ratings()->groupBy('rating')->select(DB::Raw('count(id) as count, rating')) + return $this->ratings()->groupBy('rating')->select(DB::raw('count(id) as count, rating')) ->get() ->mapWithKeys(function ($ratingCount) { return [$ratingCount->rating => $ratingCount->count]; diff --git a/composer.lock b/composer.lock index 749b61ce..f2cd8afe 100644 --- a/composer.lock +++ b/composer.lock @@ -4,28 +4,28 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "1e5211221e4f15ce793fc59faccac1c0", + "content-hash": "e087449a1565183e6e42ad929cb4c625", "packages": [ { "name": "algolia/algoliasearch-client-php", - "version": "3.3.2", + "version": "3.4.1", "source": { "type": "git", "url": "https://github.com/algolia/algoliasearch-client-php.git", - "reference": "cbd07bc0bb7303ff71e238d2d6284ef8469e1d5a" + "reference": "cf87b649f745479c0800299481d91dc303e23cea" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/algolia/algoliasearch-client-php/zipball/cbd07bc0bb7303ff71e238d2d6284ef8469e1d5a", - "reference": "cbd07bc0bb7303ff71e238d2d6284ef8469e1d5a", + "url": "https://api.github.com/repos/algolia/algoliasearch-client-php/zipball/cf87b649f745479c0800299481d91dc303e23cea", + "reference": "cf87b649f745479c0800299481d91dc303e23cea", "shasum": "" }, "require": { "ext-curl": "*", "ext-json": "*", "ext-mbstring": "*", - "php": "^7.2 || ^8.0", - "psr/http-message": "^1.0", + "php": "^7.3 || ^8.0", + "psr/http-message": "^1.1 || ^2.0", "psr/log": "^1.0 || ^2.0 || ^3.0", "psr/simple-cache": "^1.0 || ^2.0 || ^3.0" }, @@ -76,29 +76,33 @@ ], "support": { "issues": "https://github.com/algolia/algoliasearch-client-php/issues", - "source": "https://github.com/algolia/algoliasearch-client-php/tree/3.3.2" + "source": "https://github.com/algolia/algoliasearch-client-php/tree/3.4.1" }, - "time": "2022-09-22T08:21:13+00:00" + "time": "2023-08-28T14:34:04+00:00" }, { "name": "aws/aws-crt-php", - "version": "v1.0.2", + "version": "v1.2.6", "source": { "type": "git", "url": "https://github.com/awslabs/aws-crt-php.git", - "reference": "3942776a8c99209908ee0b287746263725685732" + "reference": "a63485b65b6b3367039306496d49737cf1995408" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/awslabs/aws-crt-php/zipball/3942776a8c99209908ee0b287746263725685732", - "reference": "3942776a8c99209908ee0b287746263725685732", + "url": "https://api.github.com/repos/awslabs/aws-crt-php/zipball/a63485b65b6b3367039306496d49737cf1995408", + "reference": "a63485b65b6b3367039306496d49737cf1995408", "shasum": "" }, "require": { "php": ">=5.5" }, "require-dev": { - "phpunit/phpunit": "^4.8.35|^5.4.3" + "phpunit/phpunit": "^4.8.35||^5.6.3||^9.5", + "yoast/phpunit-polyfills": "^1.0" + }, + "suggest": { + "ext-awscrt": "Make sure you install awscrt native extension to use any of the functionality." }, "type": "library", "autoload": { @@ -117,7 +121,7 @@ } ], "description": "AWS Common Runtime for PHP", - "homepage": "http://aws.amazon.com/sdkforphp", + "homepage": "https://github.com/awslabs/aws-crt-php", "keywords": [ "amazon", "aws", @@ -126,34 +130,35 @@ ], "support": { "issues": "https://github.com/awslabs/aws-crt-php/issues", - "source": "https://github.com/awslabs/aws-crt-php/tree/v1.0.2" + "source": "https://github.com/awslabs/aws-crt-php/tree/v1.2.6" }, - "time": "2021-09-03T22:57:30+00:00" + "time": "2024-06-13T17:21:28+00:00" }, { "name": "aws/aws-sdk-php", - "version": "3.255.8", + "version": "3.319.1", "source": { "type": "git", "url": "https://github.com/aws/aws-sdk-php.git", - "reference": "6cfc9c8b63105bafb537964dd94d1f4070be172c" + "reference": "78d9f8823a5796e9188a4ddcd9ef2374e47d8b7f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/6cfc9c8b63105bafb537964dd94d1f4070be172c", - "reference": "6cfc9c8b63105bafb537964dd94d1f4070be172c", + "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/78d9f8823a5796e9188a4ddcd9ef2374e47d8b7f", + "reference": "78d9f8823a5796e9188a4ddcd9ef2374e47d8b7f", "shasum": "" }, "require": { - "aws/aws-crt-php": "^1.0.2", + "aws/aws-crt-php": "^1.2.3", "ext-json": "*", "ext-pcre": "*", "ext-simplexml": "*", "guzzlehttp/guzzle": "^6.5.8 || ^7.4.5", - "guzzlehttp/promises": "^1.4.0", - "guzzlehttp/psr7": "^1.8.5 || ^2.3", + "guzzlehttp/promises": "^1.4.0 || ^2.0", + "guzzlehttp/psr7": "^1.9.1 || ^2.4.5", "mtdowling/jmespath.php": "^2.6", - "php": ">=5.5" + "php": ">=7.2.5", + "psr/http-message": "^1.0 || ^2.0" }, "require-dev": { "andrewsville/php-token-reflection": "^1.4", @@ -168,7 +173,7 @@ "ext-sockets": "*", "nette/neon": "^2.3", "paragonie/random_compat": ">= 2", - "phpunit/phpunit": "^4.8.35 || ^5.6.3 || ^9.5", + "phpunit/phpunit": "^5.6.3 || ^8.5 || ^9.5", "psr/cache": "^1.0", "psr/simple-cache": "^1.0", "sebastian/comparator": "^1.2.3 || ^4.0", @@ -193,7 +198,10 @@ ], "psr-4": { "Aws\\": "src/" - } + }, + "exclude-from-classmap": [ + "src/data/" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -220,32 +228,31 @@ "support": { "forum": "https://forums.aws.amazon.com/forum.jspa?forumID=80", "issues": "https://github.com/aws/aws-sdk-php/issues", - "source": "https://github.com/aws/aws-sdk-php/tree/3.255.8" + "source": "https://github.com/aws/aws-sdk-php/tree/3.319.1" }, - "time": "2023-01-03T19:21:55+00:00" + "time": "2024-08-08T18:05:03+00:00" }, { "name": "brick/math", - "version": "0.10.2", + "version": "0.12.1", "source": { "type": "git", "url": "https://github.com/brick/math.git", - "reference": "459f2781e1a08d52ee56b0b1444086e038561e3f" + "reference": "f510c0a40911935b77b86859eb5223d58d660df1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/459f2781e1a08d52ee56b0b1444086e038561e3f", - "reference": "459f2781e1a08d52ee56b0b1444086e038561e3f", + "url": "https://api.github.com/repos/brick/math/zipball/f510c0a40911935b77b86859eb5223d58d660df1", + "reference": "f510c0a40911935b77b86859eb5223d58d660df1", "shasum": "" }, "require": { - "ext-json": "*", - "php": "^7.4 || ^8.0" + "php": "^8.1" }, "require-dev": { "php-coveralls/php-coveralls": "^2.2", - "phpunit/phpunit": "^9.0", - "vimeo/psalm": "4.25.0" + "phpunit/phpunit": "^10.1", + "vimeo/psalm": "5.16.0" }, "type": "library", "autoload": { @@ -265,12 +272,17 @@ "arithmetic", "bigdecimal", "bignum", + "bignumber", "brick", - "math" + "decimal", + "integer", + "math", + "mathematics", + "rational" ], "support": { "issues": "https://github.com/brick/math/issues", - "source": "https://github.com/brick/math/tree/0.10.2" + "source": "https://github.com/brick/math/tree/0.12.1" }, "funding": [ { @@ -278,20 +290,20 @@ "type": "github" } ], - "time": "2022-08-10T22:54:19+00:00" + "time": "2023-11-29T23:19:16+00:00" }, { "name": "bugsnag/bugsnag", - "version": "v3.29.0", + "version": "v3.29.1", "source": { "type": "git", "url": "https://github.com/bugsnag/bugsnag-php.git", - "reference": "362b93bb4b1318bb4bfe3a9e553413e6c2c1f382" + "reference": "7fff8512b237a57323f600975ada6376e2b912c1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/bugsnag/bugsnag-php/zipball/362b93bb4b1318bb4bfe3a9e553413e6c2c1f382", - "reference": "362b93bb4b1318bb4bfe3a9e553413e6c2c1f382", + "url": "https://api.github.com/repos/bugsnag/bugsnag-php/zipball/7fff8512b237a57323f600975ada6376e2b912c1", + "reference": "7fff8512b237a57323f600975ada6376e2b912c1", "shasum": "" }, "require": { @@ -339,35 +351,35 @@ ], "support": { "issues": "https://github.com/bugsnag/bugsnag-php/issues", - "source": "https://github.com/bugsnag/bugsnag-php/tree/v3.29.0" + "source": "https://github.com/bugsnag/bugsnag-php/tree/v3.29.1" }, - "time": "2022-10-19T09:54:15+00:00" + "time": "2023-05-10T11:07:22+00:00" }, { "name": "bugsnag/bugsnag-laravel", - "version": "v2.25.0", + "version": "v2.28.0", "source": { "type": "git", "url": "https://github.com/bugsnag/bugsnag-laravel.git", - "reference": "64546d9171b6645b5e5c4c12195193cf8ec61aad" + "reference": "71bd75b022b32e45bf26712fb643e4f50182ff5a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/bugsnag/bugsnag-laravel/zipball/64546d9171b6645b5e5c4c12195193cf8ec61aad", - "reference": "64546d9171b6645b5e5c4c12195193cf8ec61aad", + "url": "https://api.github.com/repos/bugsnag/bugsnag-laravel/zipball/71bd75b022b32e45bf26712fb643e4f50182ff5a", + "reference": "71bd75b022b32e45bf26712fb643e4f50182ff5a", "shasum": "" }, "require": { "bugsnag/bugsnag": "^3.29.0", "bugsnag/bugsnag-psr-logger": "^1.4|^2.0", - "illuminate/contracts": "^5.0|^6.0|^7.0|^8.0|^9.0", - "illuminate/support": "^5.0|^6.0|^7.0|^8.0|^9.0", + "illuminate/contracts": "^5.0|^6.0|^7.0|^8.0|^9.0|^10.0|^11.0", + "illuminate/support": "^5.0|^6.0|^7.0|^8.0|^9.0|^10.0|^11.0", "monolog/monolog": "^1.12|^2.0|^3.0", "php": ">=5.5" }, "require-dev": { - "orchestra/testbench": "^3.1|^4.0|^5.0|^6.0|^7.0", - "phpunit/phpunit": "^4.8.36|^6.3.1|^7.5.15|^8.3.5|^9.3.10" + "orchestra/testbench": "^3.1|^4.0|^5.0|^6.0|^7.0|^8.0|^9.0", + "phpunit/phpunit": "^4.8.36|^6.3.1|^7.5.15|^8.3.5|^9.3.10|^10.0" }, "type": "library", "extra": { @@ -402,9 +414,9 @@ ], "support": { "issues": "https://github.com/bugsnag/bugsnag-laravel/issues", - "source": "https://github.com/bugsnag/bugsnag-laravel/tree/v2.25.0" + "source": "https://github.com/bugsnag/bugsnag-laravel/tree/v2.28.0" }, - "time": "2022-10-25T10:33:03+00:00" + "time": "2024-06-03T09:01:13+00:00" }, { "name": "bugsnag/bugsnag-psr-logger", @@ -463,30 +475,99 @@ }, "time": "2022-01-12T11:07:19+00:00" }, + { + "name": "carbonphp/carbon-doctrine-types", + "version": "2.1.0", + "source": { + "type": "git", + "url": "https://github.com/CarbonPHP/carbon-doctrine-types.git", + "reference": "99f76ffa36cce3b70a4a6abce41dba15ca2e84cb" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/CarbonPHP/carbon-doctrine-types/zipball/99f76ffa36cce3b70a4a6abce41dba15ca2e84cb", + "reference": "99f76ffa36cce3b70a4a6abce41dba15ca2e84cb", + "shasum": "" + }, + "require": { + "php": "^7.4 || ^8.0" + }, + "conflict": { + "doctrine/dbal": "<3.7.0 || >=4.0.0" + }, + "require-dev": { + "doctrine/dbal": "^3.7.0", + "nesbot/carbon": "^2.71.0 || ^3.0.0", + "phpunit/phpunit": "^10.3" + }, + "type": "library", + "autoload": { + "psr-4": { + "Carbon\\Doctrine\\": "src/Carbon/Doctrine/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "KyleKatarn", + "email": "kylekatarnls@gmail.com" + } + ], + "description": "Types to use Carbon in Doctrine", + "keywords": [ + "carbon", + "date", + "datetime", + "doctrine", + "time" + ], + "support": { + "issues": "https://github.com/CarbonPHP/carbon-doctrine-types/issues", + "source": "https://github.com/CarbonPHP/carbon-doctrine-types/tree/2.1.0" + }, + "funding": [ + { + "url": "https://github.com/kylekatarnls", + "type": "github" + }, + { + "url": "https://opencollective.com/Carbon", + "type": "open_collective" + }, + { + "url": "https://tidelift.com/funding/github/packagist/nesbot/carbon", + "type": "tidelift" + } + ], + "time": "2023-12-11T17:09:12+00:00" + }, { "name": "composer/ca-bundle", - "version": "1.3.4", + "version": "1.5.1", "source": { "type": "git", "url": "https://github.com/composer/ca-bundle.git", - "reference": "69098eca243998b53eed7a48d82dedd28b447cd5" + "reference": "063d9aa8696582f5a41dffbbaf3c81024f0a604a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/ca-bundle/zipball/69098eca243998b53eed7a48d82dedd28b447cd5", - "reference": "69098eca243998b53eed7a48d82dedd28b447cd5", + "url": "https://api.github.com/repos/composer/ca-bundle/zipball/063d9aa8696582f5a41dffbbaf3c81024f0a604a", + "reference": "063d9aa8696582f5a41dffbbaf3c81024f0a604a", "shasum": "" }, "require": { "ext-openssl": "*", "ext-pcre": "*", - "php": "^5.3.2 || ^7.0 || ^8.0" + "php": "^7.2 || ^8.0" }, "require-dev": { - "phpstan/phpstan": "^0.12.55", - "psr/log": "^1.0", + "phpstan/phpstan": "^1.10", + "psr/log": "^1.0 || ^2.0 || ^3.0", "symfony/phpunit-bridge": "^4.2 || ^5", - "symfony/process": "^2.5 || ^3.0 || ^4.0 || ^5.0 || ^6.0" + "symfony/process": "^4.0 || ^5.0 || ^6.0 || ^7.0" }, "type": "library", "extra": { @@ -521,7 +602,7 @@ "support": { "irc": "irc://irc.freenode.org/composer", "issues": "https://github.com/composer/ca-bundle/issues", - "source": "https://github.com/composer/ca-bundle/tree/1.3.4" + "source": "https://github.com/composer/ca-bundle/tree/1.5.1" }, "funding": [ { @@ -537,20 +618,20 @@ "type": "tidelift" } ], - "time": "2022-10-12T12:08:29+00:00" + "time": "2024-07-08T15:28:20+00:00" }, { "name": "defuse/php-encryption", - "version": "v2.3.1", + "version": "v2.4.0", "source": { "type": "git", "url": "https://github.com/defuse/php-encryption.git", - "reference": "77880488b9954b7884c25555c2a0ea9e7053f9d2" + "reference": "f53396c2d34225064647a05ca76c1da9d99e5828" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/defuse/php-encryption/zipball/77880488b9954b7884c25555c2a0ea9e7053f9d2", - "reference": "77880488b9954b7884c25555c2a0ea9e7053f9d2", + "url": "https://api.github.com/repos/defuse/php-encryption/zipball/f53396c2d34225064647a05ca76c1da9d99e5828", + "reference": "f53396c2d34225064647a05ca76c1da9d99e5828", "shasum": "" }, "require": { @@ -559,7 +640,8 @@ "php": ">=5.6.0" }, "require-dev": { - "phpunit/phpunit": "^4|^5|^6|^7|^8|^9" + "phpunit/phpunit": "^5|^6|^7|^8|^9|^10", + "yoast/phpunit-polyfills": "^2.0.0" }, "bin": [ "bin/generate-defuse-key" @@ -601,22 +683,22 @@ ], "support": { "issues": "https://github.com/defuse/php-encryption/issues", - "source": "https://github.com/defuse/php-encryption/tree/v2.3.1" + "source": "https://github.com/defuse/php-encryption/tree/v2.4.0" }, - "time": "2021-04-09T23:57:26+00:00" + "time": "2023-06-19T06:10:36+00:00" }, { "name": "dflydev/dot-access-data", - "version": "v3.0.2", + "version": "v3.0.3", "source": { "type": "git", "url": "https://github.com/dflydev/dflydev-dot-access-data.git", - "reference": "f41715465d65213d644d3141a6a93081be5d3549" + "reference": "a23a2bf4f31d3518f3ecb38660c95715dfead60f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/dflydev/dflydev-dot-access-data/zipball/f41715465d65213d644d3141a6a93081be5d3549", - "reference": "f41715465d65213d644d3141a6a93081be5d3549", + "url": "https://api.github.com/repos/dflydev/dflydev-dot-access-data/zipball/a23a2bf4f31d3518f3ecb38660c95715dfead60f", + "reference": "a23a2bf4f31d3518f3ecb38660c95715dfead60f", "shasum": "" }, "require": { @@ -676,9 +758,9 @@ ], "support": { "issues": "https://github.com/dflydev/dflydev-dot-access-data/issues", - "source": "https://github.com/dflydev/dflydev-dot-access-data/tree/v3.0.2" + "source": "https://github.com/dflydev/dflydev-dot-access-data/tree/v3.0.3" }, - "time": "2022-10-27T11:44:00+00:00" + "time": "2024-07-08T12:26:09+00:00" }, { "name": "doctrine/cache", @@ -775,16 +857,16 @@ }, { "name": "doctrine/dbal", - "version": "3.5.2", + "version": "3.8.7", "source": { "type": "git", "url": "https://github.com/doctrine/dbal.git", - "reference": "63e513cebbbaf96a6795e5c5ee34d205831bfc85" + "reference": "2093d670ca17f634f3c095ec10a20687eccebd99" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/dbal/zipball/63e513cebbbaf96a6795e5c5ee34d205831bfc85", - "reference": "63e513cebbbaf96a6795e5c5ee34d205831bfc85", + "url": "https://api.github.com/repos/doctrine/dbal/zipball/2093d670ca17f634f3c095ec10a20687eccebd99", + "reference": "2093d670ca17f634f3c095ec10a20687eccebd99", "shasum": "" }, "require": { @@ -797,15 +879,17 @@ "psr/log": "^1|^2|^3" }, "require-dev": { - "doctrine/coding-standard": "11.0.0", - "jetbrains/phpstorm-stubs": "2022.3", - "phpstan/phpstan": "1.9.2", - "phpstan/phpstan-strict-rules": "^1.4", - "phpunit/phpunit": "9.5.27", + "doctrine/coding-standard": "12.0.0", + "fig/log-test": "^1", + "jetbrains/phpstorm-stubs": "2023.1", + "phpstan/phpstan": "1.11.7", + "phpstan/phpstan-strict-rules": "^1.6", + "phpunit/phpunit": "9.6.20", "psalm/plugin-phpunit": "0.18.4", - "squizlabs/php_codesniffer": "3.7.1", - "symfony/cache": "^5.4|^6.0", - "symfony/console": "^4.4|^5.4|^6.0", + "slevomat/coding-standard": "8.13.1", + "squizlabs/php_codesniffer": "3.10.2", + "symfony/cache": "^5.4|^6.0|^7.0", + "symfony/console": "^4.4|^5.4|^6.0|^7.0", "vimeo/psalm": "4.30.0" }, "suggest": { @@ -866,7 +950,7 @@ ], "support": { "issues": "https://github.com/doctrine/dbal/issues", - "source": "https://github.com/doctrine/dbal/tree/3.5.2" + "source": "https://github.com/doctrine/dbal/tree/3.8.7" }, "funding": [ { @@ -882,29 +966,33 @@ "type": "tidelift" } ], - "time": "2022-12-19T08:17:34+00:00" + "time": "2024-08-07T11:57:25+00:00" }, { "name": "doctrine/deprecations", - "version": "v1.0.0", + "version": "1.1.3", "source": { "type": "git", "url": "https://github.com/doctrine/deprecations.git", - "reference": "0e2a4f1f8cdfc7a92ec3b01c9334898c806b30de" + "reference": "dfbaa3c2d2e9a9df1118213f3b8b0c597bb99fab" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/deprecations/zipball/0e2a4f1f8cdfc7a92ec3b01c9334898c806b30de", - "reference": "0e2a4f1f8cdfc7a92ec3b01c9334898c806b30de", + "url": "https://api.github.com/repos/doctrine/deprecations/zipball/dfbaa3c2d2e9a9df1118213f3b8b0c597bb99fab", + "reference": "dfbaa3c2d2e9a9df1118213f3b8b0c597bb99fab", "shasum": "" }, "require": { - "php": "^7.1|^8.0" + "php": "^7.1 || ^8.0" }, "require-dev": { "doctrine/coding-standard": "^9", - "phpunit/phpunit": "^7.5|^8.5|^9.5", - "psr/log": "^1|^2|^3" + "phpstan/phpstan": "1.4.10 || 1.10.15", + "phpstan/phpstan-phpunit": "^1.0", + "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5", + "psalm/plugin-phpunit": "0.18.4", + "psr/log": "^1 || ^2 || ^3", + "vimeo/psalm": "4.30.0 || 5.12.0" }, "suggest": { "psr/log": "Allows logging deprecations via PSR-3 logger implementation" @@ -923,36 +1011,35 @@ "homepage": "https://www.doctrine-project.org/", "support": { "issues": "https://github.com/doctrine/deprecations/issues", - "source": "https://github.com/doctrine/deprecations/tree/v1.0.0" + "source": "https://github.com/doctrine/deprecations/tree/1.1.3" }, - "time": "2022-05-02T15:47:09+00:00" + "time": "2024-01-30T19:34:25+00:00" }, { "name": "doctrine/event-manager", - "version": "1.2.0", + "version": "2.0.1", "source": { "type": "git", "url": "https://github.com/doctrine/event-manager.git", - "reference": "95aa4cb529f1e96576f3fda9f5705ada4056a520" + "reference": "b680156fa328f1dfd874fd48c7026c41570b9c6e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/event-manager/zipball/95aa4cb529f1e96576f3fda9f5705ada4056a520", - "reference": "95aa4cb529f1e96576f3fda9f5705ada4056a520", + "url": "https://api.github.com/repos/doctrine/event-manager/zipball/b680156fa328f1dfd874fd48c7026c41570b9c6e", + "reference": "b680156fa328f1dfd874fd48c7026c41570b9c6e", "shasum": "" }, "require": { - "doctrine/deprecations": "^0.5.3 || ^1", - "php": "^7.1 || ^8.0" + "php": "^8.1" }, "conflict": { "doctrine/common": "<2.9" }, "require-dev": { - "doctrine/coding-standard": "^9 || ^10", - "phpstan/phpstan": "~1.4.10 || ^1.8.8", - "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5", - "vimeo/psalm": "^4.24" + "doctrine/coding-standard": "^12", + "phpstan/phpstan": "^1.8.8", + "phpunit/phpunit": "^10.5", + "vimeo/psalm": "^5.24" }, "type": "library", "autoload": { @@ -1001,7 +1088,7 @@ ], "support": { "issues": "https://github.com/doctrine/event-manager/issues", - "source": "https://github.com/doctrine/event-manager/tree/1.2.0" + "source": "https://github.com/doctrine/event-manager/tree/2.0.1" }, "funding": [ { @@ -1017,32 +1104,32 @@ "type": "tidelift" } ], - "time": "2022-10-12T20:51:15+00:00" + "time": "2024-05-22T20:47:39+00:00" }, { "name": "doctrine/inflector", - "version": "2.0.6", + "version": "2.0.10", "source": { "type": "git", "url": "https://github.com/doctrine/inflector.git", - "reference": "d9d313a36c872fd6ee06d9a6cbcf713eaa40f024" + "reference": "5817d0659c5b50c9b950feb9af7b9668e2c436bc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/inflector/zipball/d9d313a36c872fd6ee06d9a6cbcf713eaa40f024", - "reference": "d9d313a36c872fd6ee06d9a6cbcf713eaa40f024", + "url": "https://api.github.com/repos/doctrine/inflector/zipball/5817d0659c5b50c9b950feb9af7b9668e2c436bc", + "reference": "5817d0659c5b50c9b950feb9af7b9668e2c436bc", "shasum": "" }, "require": { "php": "^7.2 || ^8.0" }, "require-dev": { - "doctrine/coding-standard": "^10", + "doctrine/coding-standard": "^11.0", "phpstan/phpstan": "^1.8", "phpstan/phpstan-phpunit": "^1.1", "phpstan/phpstan-strict-rules": "^1.3", "phpunit/phpunit": "^8.5 || ^9.5", - "vimeo/psalm": "^4.25" + "vimeo/psalm": "^4.25 || ^5.4" }, "type": "library", "autoload": { @@ -1092,7 +1179,7 @@ ], "support": { "issues": "https://github.com/doctrine/inflector/issues", - "source": "https://github.com/doctrine/inflector/tree/2.0.6" + "source": "https://github.com/doctrine/inflector/tree/2.0.10" }, "funding": [ { @@ -1108,32 +1195,31 @@ "type": "tidelift" } ], - "time": "2022-10-20T09:10:12+00:00" + "time": "2024-02-18T20:23:39+00:00" }, { "name": "doctrine/lexer", - "version": "2.1.0", + "version": "3.0.1", "source": { "type": "git", "url": "https://github.com/doctrine/lexer.git", - "reference": "39ab8fcf5a51ce4b85ca97c7a7d033eb12831124" + "reference": "31ad66abc0fc9e1a1f2d9bc6a42668d2fbbcd6dd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/lexer/zipball/39ab8fcf5a51ce4b85ca97c7a7d033eb12831124", - "reference": "39ab8fcf5a51ce4b85ca97c7a7d033eb12831124", + "url": "https://api.github.com/repos/doctrine/lexer/zipball/31ad66abc0fc9e1a1f2d9bc6a42668d2fbbcd6dd", + "reference": "31ad66abc0fc9e1a1f2d9bc6a42668d2fbbcd6dd", "shasum": "" }, "require": { - "doctrine/deprecations": "^1.0", - "php": "^7.1 || ^8.0" + "php": "^8.1" }, "require-dev": { - "doctrine/coding-standard": "^9 || ^10", - "phpstan/phpstan": "^1.3", - "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5", + "doctrine/coding-standard": "^12", + "phpstan/phpstan": "^1.10", + "phpunit/phpunit": "^10.5", "psalm/plugin-phpunit": "^0.18.3", - "vimeo/psalm": "^4.11 || ^5.0" + "vimeo/psalm": "^5.21" }, "type": "library", "autoload": { @@ -1170,7 +1256,7 @@ ], "support": { "issues": "https://github.com/doctrine/lexer/issues", - "source": "https://github.com/doctrine/lexer/tree/2.1.0" + "source": "https://github.com/doctrine/lexer/tree/3.0.1" }, "funding": [ { @@ -1186,20 +1272,20 @@ "type": "tidelift" } ], - "time": "2022-12-14T08:49:07+00:00" + "time": "2024-02-05T11:56:58+00:00" }, { "name": "dragonmantank/cron-expression", - "version": "v3.3.2", + "version": "v3.3.3", "source": { "type": "git", "url": "https://github.com/dragonmantank/cron-expression.git", - "reference": "782ca5968ab8b954773518e9e49a6f892a34b2a8" + "reference": "adfb1f505deb6384dc8b39804c5065dd3c8c8c0a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/dragonmantank/cron-expression/zipball/782ca5968ab8b954773518e9e49a6f892a34b2a8", - "reference": "782ca5968ab8b954773518e9e49a6f892a34b2a8", + "url": "https://api.github.com/repos/dragonmantank/cron-expression/zipball/adfb1f505deb6384dc8b39804c5065dd3c8c8c0a", + "reference": "adfb1f505deb6384dc8b39804c5065dd3c8c8c0a", "shasum": "" }, "require": { @@ -1239,7 +1325,7 @@ ], "support": { "issues": "https://github.com/dragonmantank/cron-expression/issues", - "source": "https://github.com/dragonmantank/cron-expression/tree/v3.3.2" + "source": "https://github.com/dragonmantank/cron-expression/tree/v3.3.3" }, "funding": [ { @@ -1247,30 +1333,30 @@ "type": "github" } ], - "time": "2022-09-10T18:51:20+00:00" + "time": "2023-08-10T19:36:49+00:00" }, { "name": "egulias/email-validator", - "version": "3.2.5", + "version": "4.0.2", "source": { "type": "git", "url": "https://github.com/egulias/EmailValidator.git", - "reference": "b531a2311709443320c786feb4519cfaf94af796" + "reference": "ebaaf5be6c0286928352e054f2d5125608e5405e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/egulias/EmailValidator/zipball/b531a2311709443320c786feb4519cfaf94af796", - "reference": "b531a2311709443320c786feb4519cfaf94af796", + "url": "https://api.github.com/repos/egulias/EmailValidator/zipball/ebaaf5be6c0286928352e054f2d5125608e5405e", + "reference": "ebaaf5be6c0286928352e054f2d5125608e5405e", "shasum": "" }, "require": { - "doctrine/lexer": "^1.2|^2", - "php": ">=7.2", - "symfony/polyfill-intl-idn": "^1.15" + "doctrine/lexer": "^2.0 || ^3.0", + "php": ">=8.1", + "symfony/polyfill-intl-idn": "^1.26" }, "require-dev": { - "phpunit/phpunit": "^8.5.8|^9.3.3", - "vimeo/psalm": "^4" + "phpunit/phpunit": "^10.2", + "vimeo/psalm": "^5.12" }, "suggest": { "ext-intl": "PHP Internationalization Libraries are required to use the SpoofChecking validation" @@ -1278,7 +1364,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "3.0.x-dev" + "dev-master": "4.0.x-dev" } }, "autoload": { @@ -1306,7 +1392,7 @@ ], "support": { "issues": "https://github.com/egulias/EmailValidator/issues", - "source": "https://github.com/egulias/EmailValidator/tree/3.2.5" + "source": "https://github.com/egulias/EmailValidator/tree/4.0.2" }, "funding": [ { @@ -1314,7 +1400,7 @@ "type": "github" } ], - "time": "2023-01-02T17:26:14+00:00" + "time": "2023-10-06T06:47:41+00:00" }, { "name": "erusev/parsedown", @@ -1368,30 +1454,31 @@ }, { "name": "firebase/php-jwt", - "version": "v6.3.2", + "version": "v6.10.1", "source": { "type": "git", "url": "https://github.com/firebase/php-jwt.git", - "reference": "ea7dda77098b96e666c5ef382452f94841e439cd" + "reference": "500501c2ce893c824c801da135d02661199f60c5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/firebase/php-jwt/zipball/ea7dda77098b96e666c5ef382452f94841e439cd", - "reference": "ea7dda77098b96e666c5ef382452f94841e439cd", + "url": "https://api.github.com/repos/firebase/php-jwt/zipball/500501c2ce893c824c801da135d02661199f60c5", + "reference": "500501c2ce893c824c801da135d02661199f60c5", "shasum": "" }, "require": { - "php": "^7.1||^8.0" + "php": "^8.0" }, "require-dev": { - "guzzlehttp/guzzle": "^6.5||^7.4", - "phpspec/prophecy-phpunit": "^1.1", - "phpunit/phpunit": "^7.5||^9.5", - "psr/cache": "^1.0||^2.0", + "guzzlehttp/guzzle": "^7.4", + "phpspec/prophecy-phpunit": "^2.0", + "phpunit/phpunit": "^9.5", + "psr/cache": "^2.0||^3.0", "psr/http-client": "^1.0", "psr/http-factory": "^1.0" }, "suggest": { + "ext-sodium": "Support EdDSA (Ed25519) signatures", "paragonie/sodium_compat": "Support EdDSA (Ed25519) signatures when libsodium is not present" }, "type": "library", @@ -1424,27 +1511,27 @@ ], "support": { "issues": "https://github.com/firebase/php-jwt/issues", - "source": "https://github.com/firebase/php-jwt/tree/v6.3.2" + "source": "https://github.com/firebase/php-jwt/tree/v6.10.1" }, - "time": "2022-12-19T17:10:46+00:00" + "time": "2024-05-18T18:05:11+00:00" }, { "name": "fruitcake/php-cors", - "version": "v1.2.0", + "version": "v1.3.0", "source": { "type": "git", "url": "https://github.com/fruitcake/php-cors.git", - "reference": "58571acbaa5f9f462c9c77e911700ac66f446d4e" + "reference": "3d158f36e7875e2f040f37bc0573956240a5a38b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/fruitcake/php-cors/zipball/58571acbaa5f9f462c9c77e911700ac66f446d4e", - "reference": "58571acbaa5f9f462c9c77e911700ac66f446d4e", + "url": "https://api.github.com/repos/fruitcake/php-cors/zipball/3d158f36e7875e2f040f37bc0573956240a5a38b", + "reference": "3d158f36e7875e2f040f37bc0573956240a5a38b", "shasum": "" }, "require": { "php": "^7.4|^8.0", - "symfony/http-foundation": "^4.4|^5.4|^6" + "symfony/http-foundation": "^4.4|^5.4|^6|^7" }, "require-dev": { "phpstan/phpstan": "^1.4", @@ -1454,7 +1541,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.1-dev" + "dev-master": "1.2-dev" } }, "autoload": { @@ -1485,7 +1572,7 @@ ], "support": { "issues": "https://github.com/fruitcake/php-cors/issues", - "source": "https://github.com/fruitcake/php-cors/tree/v1.2.0" + "source": "https://github.com/fruitcake/php-cors/tree/v1.3.0" }, "funding": [ { @@ -1497,28 +1584,28 @@ "type": "github" } ], - "time": "2022-02-20T15:07:15+00:00" + "time": "2023-10-12T05:21:21+00:00" }, { "name": "graham-campbell/result-type", - "version": "v1.1.0", + "version": "v1.1.3", "source": { "type": "git", "url": "https://github.com/GrahamCampbell/Result-Type.git", - "reference": "a878d45c1914464426dc94da61c9e1d36ae262a8" + "reference": "3ba905c11371512af9d9bdd27d99b782216b6945" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/GrahamCampbell/Result-Type/zipball/a878d45c1914464426dc94da61c9e1d36ae262a8", - "reference": "a878d45c1914464426dc94da61c9e1d36ae262a8", + "url": "https://api.github.com/repos/GrahamCampbell/Result-Type/zipball/3ba905c11371512af9d9bdd27d99b782216b6945", + "reference": "3ba905c11371512af9d9bdd27d99b782216b6945", "shasum": "" }, "require": { "php": "^7.2.5 || ^8.0", - "phpoption/phpoption": "^1.9" + "phpoption/phpoption": "^1.9.3" }, "require-dev": { - "phpunit/phpunit": "^8.5.28 || ^9.5.21" + "phpunit/phpunit": "^8.5.39 || ^9.6.20 || ^10.5.28" }, "type": "library", "autoload": { @@ -1547,7 +1634,7 @@ ], "support": { "issues": "https://github.com/GrahamCampbell/Result-Type/issues", - "source": "https://github.com/GrahamCampbell/Result-Type/tree/v1.1.0" + "source": "https://github.com/GrahamCampbell/Result-Type/tree/v1.1.3" }, "funding": [ { @@ -1559,26 +1646,26 @@ "type": "tidelift" } ], - "time": "2022-07-30T15:56:11+00:00" + "time": "2024-07-20T21:45:45+00:00" }, { "name": "guzzlehttp/guzzle", - "version": "7.5.0", + "version": "7.9.2", "source": { "type": "git", "url": "https://github.com/guzzle/guzzle.git", - "reference": "b50a2a1251152e43f6a37f0fa053e730a67d25ba" + "reference": "d281ed313b989f213357e3be1a179f02196ac99b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/guzzle/zipball/b50a2a1251152e43f6a37f0fa053e730a67d25ba", - "reference": "b50a2a1251152e43f6a37f0fa053e730a67d25ba", + "url": "https://api.github.com/repos/guzzle/guzzle/zipball/d281ed313b989f213357e3be1a179f02196ac99b", + "reference": "d281ed313b989f213357e3be1a179f02196ac99b", "shasum": "" }, "require": { "ext-json": "*", - "guzzlehttp/promises": "^1.5", - "guzzlehttp/psr7": "^1.9 || ^2.4", + "guzzlehttp/promises": "^1.5.3 || ^2.0.3", + "guzzlehttp/psr7": "^2.7.0", "php": "^7.2.5 || ^8.0", "psr/http-client": "^1.0", "symfony/deprecation-contracts": "^2.2 || ^3.0" @@ -1587,10 +1674,11 @@ "psr/http-client-implementation": "1.0" }, "require-dev": { - "bamarni/composer-bin-plugin": "^1.8.1", + "bamarni/composer-bin-plugin": "^1.8.2", "ext-curl": "*", - "php-http/client-integration-tests": "^3.0", - "phpunit/phpunit": "^8.5.29 || ^9.5.23", + "guzzle/client-integration-tests": "3.0.2", + "php-http/message-factory": "^1.1", + "phpunit/phpunit": "^8.5.39 || ^9.6.20", "psr/log": "^1.1 || ^2.0 || ^3.0" }, "suggest": { @@ -1603,9 +1691,6 @@ "bamarni-bin": { "bin-links": true, "forward-command": false - }, - "branch-alias": { - "dev-master": "7.5-dev" } }, "autoload": { @@ -1671,7 +1756,7 @@ ], "support": { "issues": "https://github.com/guzzle/guzzle/issues", - "source": "https://github.com/guzzle/guzzle/tree/7.5.0" + "source": "https://github.com/guzzle/guzzle/tree/7.9.2" }, "funding": [ { @@ -1687,38 +1772,37 @@ "type": "tidelift" } ], - "time": "2022-08-28T15:39:27+00:00" + "time": "2024-07-24T11:22:20+00:00" }, { "name": "guzzlehttp/promises", - "version": "1.5.2", + "version": "2.0.3", "source": { "type": "git", "url": "https://github.com/guzzle/promises.git", - "reference": "b94b2807d85443f9719887892882d0329d1e2598" + "reference": "6ea8dd08867a2a42619d65c3deb2c0fcbf81c8f8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/promises/zipball/b94b2807d85443f9719887892882d0329d1e2598", - "reference": "b94b2807d85443f9719887892882d0329d1e2598", + "url": "https://api.github.com/repos/guzzle/promises/zipball/6ea8dd08867a2a42619d65c3deb2c0fcbf81c8f8", + "reference": "6ea8dd08867a2a42619d65c3deb2c0fcbf81c8f8", "shasum": "" }, "require": { - "php": ">=5.5" + "php": "^7.2.5 || ^8.0" }, "require-dev": { - "symfony/phpunit-bridge": "^4.4 || ^5.1" + "bamarni/composer-bin-plugin": "^1.8.2", + "phpunit/phpunit": "^8.5.39 || ^9.6.20" }, "type": "library", "extra": { - "branch-alias": { - "dev-master": "1.5-dev" + "bamarni-bin": { + "bin-links": true, + "forward-command": false } }, "autoload": { - "files": [ - "src/functions_include.php" - ], "psr-4": { "GuzzleHttp\\Promise\\": "src/" } @@ -1755,7 +1839,7 @@ ], "support": { "issues": "https://github.com/guzzle/promises/issues", - "source": "https://github.com/guzzle/promises/tree/1.5.2" + "source": "https://github.com/guzzle/promises/tree/2.0.3" }, "funding": [ { @@ -1771,26 +1855,26 @@ "type": "tidelift" } ], - "time": "2022-08-28T14:55:35+00:00" + "time": "2024-07-18T10:29:17+00:00" }, { "name": "guzzlehttp/psr7", - "version": "2.4.3", + "version": "2.7.0", "source": { "type": "git", "url": "https://github.com/guzzle/psr7.git", - "reference": "67c26b443f348a51926030c83481b85718457d3d" + "reference": "a70f5c95fb43bc83f07c9c948baa0dc1829bf201" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/psr7/zipball/67c26b443f348a51926030c83481b85718457d3d", - "reference": "67c26b443f348a51926030c83481b85718457d3d", + "url": "https://api.github.com/repos/guzzle/psr7/zipball/a70f5c95fb43bc83f07c9c948baa0dc1829bf201", + "reference": "a70f5c95fb43bc83f07c9c948baa0dc1829bf201", "shasum": "" }, "require": { "php": "^7.2.5 || ^8.0", "psr/http-factory": "^1.0", - "psr/http-message": "^1.0", + "psr/http-message": "^1.1 || ^2.0", "ralouphie/getallheaders": "^3.0" }, "provide": { @@ -1798,9 +1882,9 @@ "psr/http-message-implementation": "1.0" }, "require-dev": { - "bamarni/composer-bin-plugin": "^1.8.1", - "http-interop/http-factory-tests": "^0.9", - "phpunit/phpunit": "^8.5.29 || ^9.5.23" + "bamarni/composer-bin-plugin": "^1.8.2", + "http-interop/http-factory-tests": "0.9.0", + "phpunit/phpunit": "^8.5.39 || ^9.6.20" }, "suggest": { "laminas/laminas-httphandlerrunner": "Emit PSR-7 responses" @@ -1810,9 +1894,6 @@ "bamarni-bin": { "bin-links": true, "forward-command": false - }, - "branch-alias": { - "dev-master": "2.4-dev" } }, "autoload": { @@ -1874,7 +1955,7 @@ ], "support": { "issues": "https://github.com/guzzle/psr7/issues", - "source": "https://github.com/guzzle/psr7/tree/2.4.3" + "source": "https://github.com/guzzle/psr7/tree/2.7.0" }, "funding": [ { @@ -1890,7 +1971,93 @@ "type": "tidelift" } ], - "time": "2022-10-26T14:07:24+00:00" + "time": "2024-07-18T11:15:46+00:00" + }, + { + "name": "guzzlehttp/uri-template", + "version": "v1.0.3", + "source": { + "type": "git", + "url": "https://github.com/guzzle/uri-template.git", + "reference": "ecea8feef63bd4fef1f037ecb288386999ecc11c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/guzzle/uri-template/zipball/ecea8feef63bd4fef1f037ecb288386999ecc11c", + "reference": "ecea8feef63bd4fef1f037ecb288386999ecc11c", + "shasum": "" + }, + "require": { + "php": "^7.2.5 || ^8.0", + "symfony/polyfill-php80": "^1.24" + }, + "require-dev": { + "bamarni/composer-bin-plugin": "^1.8.2", + "phpunit/phpunit": "^8.5.36 || ^9.6.15", + "uri-template/tests": "1.0.0" + }, + "type": "library", + "extra": { + "bamarni-bin": { + "bin-links": true, + "forward-command": false + } + }, + "autoload": { + "psr-4": { + "GuzzleHttp\\UriTemplate\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Graham Campbell", + "email": "hello@gjcampbell.co.uk", + "homepage": "https://github.com/GrahamCampbell" + }, + { + "name": "Michael Dowling", + "email": "mtdowling@gmail.com", + "homepage": "https://github.com/mtdowling" + }, + { + "name": "George Mponos", + "email": "gmponos@gmail.com", + "homepage": "https://github.com/gmponos" + }, + { + "name": "Tobias Nyholm", + "email": "tobias.nyholm@gmail.com", + "homepage": "https://github.com/Nyholm" + } + ], + "description": "A polyfill class for uri_template of PHP", + "keywords": [ + "guzzlehttp", + "uri-template" + ], + "support": { + "issues": "https://github.com/guzzle/uri-template/issues", + "source": "https://github.com/guzzle/uri-template/tree/v1.0.3" + }, + "funding": [ + { + "url": "https://github.com/GrahamCampbell", + "type": "github" + }, + { + "url": "https://github.com/Nyholm", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/guzzlehttp/uri-template", + "type": "tidelift" + } + ], + "time": "2023-12-03T19:50:20+00:00" }, { "name": "intervention/image", @@ -1978,52 +2145,65 @@ }, { "name": "laravel/framework", - "version": "v9.46.0", + "version": "v10.48.19", "source": { "type": "git", "url": "https://github.com/laravel/framework.git", - "reference": "62b05b6de5733d89378a279e40230a71e5ab5d92" + "reference": "d816681a99a8fe2ea42fdf793b401dd3b34775a7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/framework/zipball/62b05b6de5733d89378a279e40230a71e5ab5d92", - "reference": "62b05b6de5733d89378a279e40230a71e5ab5d92", + "url": "https://api.github.com/repos/laravel/framework/zipball/d816681a99a8fe2ea42fdf793b401dd3b34775a7", + "reference": "d816681a99a8fe2ea42fdf793b401dd3b34775a7", "shasum": "" }, "require": { - "doctrine/inflector": "^2.0", + "brick/math": "^0.9.3|^0.10.2|^0.11|^0.12", + "composer-runtime-api": "^2.2", + "doctrine/inflector": "^2.0.5", "dragonmantank/cron-expression": "^3.3.2", - "egulias/email-validator": "^3.2.1", + "egulias/email-validator": "^3.2.1|^4.0", + "ext-ctype": "*", + "ext-filter": "*", + "ext-hash": "*", "ext-mbstring": "*", "ext-openssl": "*", + "ext-session": "*", + "ext-tokenizer": "*", "fruitcake/php-cors": "^1.2", - "laravel/serializable-closure": "^1.2.2", + "guzzlehttp/uri-template": "^1.0", + "laravel/prompts": "^0.1.9", + "laravel/serializable-closure": "^1.3", "league/commonmark": "^2.2.1", "league/flysystem": "^3.8.0", - "monolog/monolog": "^2.0", - "nesbot/carbon": "^2.62.1", + "monolog/monolog": "^3.0", + "nesbot/carbon": "^2.67", "nunomaduro/termwind": "^1.13", - "php": "^8.0.2", + "php": "^8.1", "psr/container": "^1.1.1|^2.0.1", "psr/log": "^1.0|^2.0|^3.0", "psr/simple-cache": "^1.0|^2.0|^3.0", "ramsey/uuid": "^4.7", - "symfony/console": "^6.0.9", - "symfony/error-handler": "^6.0", - "symfony/finder": "^6.0", - "symfony/http-foundation": "^6.0", - "symfony/http-kernel": "^6.0", - "symfony/mailer": "^6.0", - "symfony/mime": "^6.0", - "symfony/process": "^6.0", - "symfony/routing": "^6.0", - "symfony/uid": "^6.0", - "symfony/var-dumper": "^6.0", + "symfony/console": "^6.2", + "symfony/error-handler": "^6.2", + "symfony/finder": "^6.2", + "symfony/http-foundation": "^6.4", + "symfony/http-kernel": "^6.2", + "symfony/mailer": "^6.2", + "symfony/mime": "^6.2", + "symfony/process": "^6.2", + "symfony/routing": "^6.2", + "symfony/uid": "^6.2", + "symfony/var-dumper": "^6.2", "tijsverkoyen/css-to-inline-styles": "^2.2.5", "vlucas/phpdotenv": "^5.4.1", "voku/portable-ascii": "^2.0" }, "conflict": { + "carbonphp/carbon-doctrine-types": ">=3.0", + "doctrine/dbal": ">=4.0", + "mockery/mockery": "1.6.8", + "phpunit/phpunit": ">=11.0.0", "tightenco/collect": "<5.5.33" }, "provide": { @@ -2054,6 +2234,7 @@ "illuminate/notifications": "self.version", "illuminate/pagination": "self.version", "illuminate/pipeline": "self.version", + "illuminate/process": "self.version", "illuminate/queue": "self.version", "illuminate/redis": "self.version", "illuminate/routing": "self.version", @@ -2067,7 +2248,8 @@ "require-dev": { "ably/ably-php": "^1.0", "aws/aws-sdk-php": "^3.235.5", - "doctrine/dbal": "^2.13.3|^3.1.4", + "doctrine/dbal": "^3.5.1", + "ext-gmp": "*", "fakerphp/faker": "^1.21", "guzzlehttp/guzzle": "^7.5", "league/flysystem-aws-s3-v3": "^3.0", @@ -2076,23 +2258,28 @@ "league/flysystem-read-only": "^3.3", "league/flysystem-sftp-v3": "^3.0", "mockery/mockery": "^1.5.1", - "orchestra/testbench-core": "^7.16", + "nyholm/psr7": "^1.2", + "orchestra/testbench-core": "^8.23.4", "pda/pheanstalk": "^4.0", "phpstan/phpstan": "^1.4.7", - "phpunit/phpunit": "^9.5.8", - "predis/predis": "^1.1.9|^2.0.2", - "symfony/cache": "^6.0" + "phpunit/phpunit": "^10.0.7", + "predis/predis": "^2.0.2", + "symfony/cache": "^6.2", + "symfony/http-client": "^6.2.4", + "symfony/psr-http-message-bridge": "^2.0" }, "suggest": { "ably/ably-php": "Required to use the Ably broadcast driver (^1.0).", "aws/aws-sdk-php": "Required to use the SQS queue driver, DynamoDb failed job storage, and SES mail driver (^3.235.5).", "brianium/paratest": "Required to run tests in parallel (^6.0).", - "doctrine/dbal": "Required to rename columns and drop SQLite columns (^2.13.3|^3.1.4).", - "ext-bcmath": "Required to use the multiple_of validation rule.", + "doctrine/dbal": "Required to rename columns and drop SQLite columns (^3.5.1).", + "ext-apcu": "Required to use the APC cache driver.", + "ext-fileinfo": "Required to use the Filesystem class.", "ext-ftp": "Required to use the Flysystem FTP driver.", "ext-gd": "Required to use Illuminate\\Http\\Testing\\FileFactory::image().", "ext-memcached": "Required to use the memcache cache driver.", - "ext-pcntl": "Required to use all features of the queue worker.", + "ext-pcntl": "Required to use all features of the queue worker and console signal trapping.", + "ext-pdo": "Required to use all database features.", "ext-posix": "Required to use all features of the queue worker.", "ext-redis": "Required to use the Redis cache and queue drivers (^4.0|^5.0).", "fakerphp/faker": "Required to use the eloquent factory builder (^1.9.1).", @@ -2107,27 +2294,28 @@ "mockery/mockery": "Required to use mocking (^1.5.1).", "nyholm/psr7": "Required to use PSR-7 bridging features (^1.2).", "pda/pheanstalk": "Required to use the beanstalk queue driver (^4.0).", - "phpunit/phpunit": "Required to use assertions and run tests (^9.5.8).", - "predis/predis": "Required to use the predis connector (^1.1.9|^2.0.2).", + "phpunit/phpunit": "Required to use assertions and run tests (^9.5.8|^10.0.7).", + "predis/predis": "Required to use the predis connector (^2.0.2).", "psr/http-message": "Required to allow Storage::put to accept a StreamInterface (^1.0).", "pusher/pusher-php-server": "Required to use the Pusher broadcast driver (^6.0|^7.0).", - "symfony/cache": "Required to PSR-6 cache bridge (^6.0).", - "symfony/filesystem": "Required to enable support for relative symbolic links (^6.0).", - "symfony/http-client": "Required to enable support for the Symfony API mail transports (^6.0).", - "symfony/mailgun-mailer": "Required to enable support for the Mailgun mail transport (^6.0).", - "symfony/postmark-mailer": "Required to enable support for the Postmark mail transport (^6.0).", + "symfony/cache": "Required to PSR-6 cache bridge (^6.2).", + "symfony/filesystem": "Required to enable support for relative symbolic links (^6.2).", + "symfony/http-client": "Required to enable support for the Symfony API mail transports (^6.2).", + "symfony/mailgun-mailer": "Required to enable support for the Mailgun mail transport (^6.2).", + "symfony/postmark-mailer": "Required to enable support for the Postmark mail transport (^6.2).", "symfony/psr-http-message-bridge": "Required to use PSR-7 bridging features (^2.0)." }, "type": "library", "extra": { "branch-alias": { - "dev-master": "9.x-dev" + "dev-master": "10.x-dev" } }, "autoload": { "files": [ "src/Illuminate/Collections/helpers.php", "src/Illuminate/Events/functions.php", + "src/Illuminate/Filesystem/functions.php", "src/Illuminate/Foundation/helpers.php", "src/Illuminate/Support/helpers.php" ], @@ -2160,28 +2348,29 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2023-01-03T15:12:31+00:00" + "time": "2024-08-06T14:06:43+00:00" }, { "name": "laravel/helpers", - "version": "v1.5.0", + "version": "v1.7.0", "source": { "type": "git", "url": "https://github.com/laravel/helpers.git", - "reference": "c28b0ccd799d58564c41a62395ac9511a1e72931" + "reference": "6caaa242a23bc39b4e3cf57304b5409260a7a346" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/helpers/zipball/c28b0ccd799d58564c41a62395ac9511a1e72931", - "reference": "c28b0ccd799d58564c41a62395ac9511a1e72931", + "url": "https://api.github.com/repos/laravel/helpers/zipball/6caaa242a23bc39b4e3cf57304b5409260a7a346", + "reference": "6caaa242a23bc39b4e3cf57304b5409260a7a346", "shasum": "" }, "require": { - "illuminate/support": "~5.8.0|^6.0|^7.0|^8.0|^9.0", - "php": "^7.1.3|^8.0" + "illuminate/support": "~5.8.0|^6.0|^7.0|^8.0|^9.0|^10.0|^11.0", + "php": "^7.2.0|^8.0" }, "require-dev": { - "phpunit/phpunit": "^7.0|^8.0|^9.0" + "phpstan/phpstan": "^1.10", + "phpunit/phpunit": "^7.0|^8.0|^9.0|^10.0" }, "type": "library", "extra": { @@ -2214,41 +2403,43 @@ "laravel" ], "support": { - "source": "https://github.com/laravel/helpers/tree/v1.5.0" + "source": "https://github.com/laravel/helpers/tree/v1.7.0" }, - "time": "2022-01-12T15:58:51+00:00" + "time": "2023-11-30T14:09:05+00:00" }, { "name": "laravel/horizon", - "version": "v5.11.0", + "version": "v5.27.1", "source": { "type": "git", "url": "https://github.com/laravel/horizon.git", - "reference": "30c3690ea95ade4d90539d42e2c4ac333ed0c7f4" + "reference": "184449be3eb296ab16c13a69ce22049f32d0fc2c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/horizon/zipball/30c3690ea95ade4d90539d42e2c4ac333ed0c7f4", - "reference": "30c3690ea95ade4d90539d42e2c4ac333ed0c7f4", + "url": "https://api.github.com/repos/laravel/horizon/zipball/184449be3eb296ab16c13a69ce22049f32d0fc2c", + "reference": "184449be3eb296ab16c13a69ce22049f32d0fc2c", "shasum": "" }, "require": { "ext-json": "*", "ext-pcntl": "*", "ext-posix": "*", - "illuminate/contracts": "^8.17|^9.0", - "illuminate/queue": "^8.17|^9.0", - "illuminate/support": "^8.17|^9.0", - "nesbot/carbon": "^2.17", - "php": "^7.3|^8.0", + "illuminate/contracts": "^9.21|^10.0|^11.0", + "illuminate/queue": "^9.21|^10.0|^11.0", + "illuminate/support": "^9.21|^10.0|^11.0", + "nesbot/carbon": "^2.17|^3.0", + "php": "^8.0", "ramsey/uuid": "^4.0", - "symfony/error-handler": "^5.0|^6.0", - "symfony/process": "^5.0|^6.0" + "symfony/console": "^6.0|^7.0", + "symfony/error-handler": "^6.0|^7.0", + "symfony/process": "^6.0|^7.0" }, "require-dev": { "mockery/mockery": "^1.0", - "orchestra/testbench": "^6.0|^7.0", - "phpunit/phpunit": "^9.0", + "orchestra/testbench": "^7.0|^8.0|^9.0", + "phpstan/phpstan": "^1.10", + "phpunit/phpunit": "^9.0|^10.4", "predis/predis": "^1.1|^2.0" }, "suggest": { @@ -2291,52 +2482,53 @@ ], "support": { "issues": "https://github.com/laravel/horizon/issues", - "source": "https://github.com/laravel/horizon/tree/v5.11.0" + "source": "https://github.com/laravel/horizon/tree/v5.27.1" }, - "time": "2023-01-03T09:40:06+00:00" + "time": "2024-08-05T14:23:30+00:00" }, { "name": "laravel/passport", - "version": "v10.4.1", + "version": "v11.10.6", "source": { "type": "git", "url": "https://github.com/laravel/passport.git", - "reference": "b62b418a6d9e9aca231a587be0fc14dc55cd8d77" + "reference": "2642f360c51dfde3a6ea60f86ae5d9a8c0caf3cf" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/passport/zipball/b62b418a6d9e9aca231a587be0fc14dc55cd8d77", - "reference": "b62b418a6d9e9aca231a587be0fc14dc55cd8d77", + "url": "https://api.github.com/repos/laravel/passport/zipball/2642f360c51dfde3a6ea60f86ae5d9a8c0caf3cf", + "reference": "2642f360c51dfde3a6ea60f86ae5d9a8c0caf3cf", "shasum": "" }, "require": { "ext-json": "*", - "firebase/php-jwt": "^6.0", - "illuminate/auth": "^8.37|^9.0", - "illuminate/console": "^8.37|^9.0", - "illuminate/container": "^8.37|^9.0", - "illuminate/contracts": "^8.37|^9.0", - "illuminate/cookie": "^8.37|^9.0", - "illuminate/database": "^8.37|^9.0", - "illuminate/encryption": "^8.37|^9.0", - "illuminate/http": "^8.37|^9.0", - "illuminate/support": "^8.37|^9.0", - "lcobucci/jwt": "^3.4|^4.0", - "league/oauth2-server": "^8.2", - "nyholm/psr7": "^1.3", - "php": "^7.3|^8.0", + "firebase/php-jwt": "^6.4", + "illuminate/auth": "^9.0|^10.0", + "illuminate/console": "^9.0|^10.0", + "illuminate/container": "^9.0|^10.0", + "illuminate/contracts": "^9.0|^10.0", + "illuminate/cookie": "^9.0|^10.0", + "illuminate/database": "^9.0|^10.0", + "illuminate/encryption": "^9.0|^10.0", + "illuminate/http": "^9.0|^10.0", + "illuminate/support": "^9.0|^10.0", + "lcobucci/jwt": "^4.3|^5.0", + "league/oauth2-server": "^8.5.3", + "nyholm/psr7": "^1.5", + "php": "^8.0", "phpseclib/phpseclib": "^2.0|^3.0", - "symfony/psr-http-message-bridge": "^2.0" + "symfony/psr-http-message-bridge": "^2.1" }, "require-dev": { "mockery/mockery": "^1.0", - "orchestra/testbench": "^6.0|^7.0", + "orchestra/testbench": "^7.31|^8.11", + "phpstan/phpstan": "^1.10", "phpunit/phpunit": "^9.3" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "10.x-dev" + "dev-master": "11.x-dev" }, "laravel": { "providers": [ @@ -2370,36 +2562,95 @@ "issues": "https://github.com/laravel/passport/issues", "source": "https://github.com/laravel/passport" }, - "time": "2022-04-16T13:38:08+00:00" + "time": "2024-03-01T11:11:18+00:00" + }, + { + "name": "laravel/prompts", + "version": "v0.1.24", + "source": { + "type": "git", + "url": "https://github.com/laravel/prompts.git", + "reference": "409b0b4305273472f3754826e68f4edbd0150149" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/laravel/prompts/zipball/409b0b4305273472f3754826e68f4edbd0150149", + "reference": "409b0b4305273472f3754826e68f4edbd0150149", + "shasum": "" + }, + "require": { + "ext-mbstring": "*", + "illuminate/collections": "^10.0|^11.0", + "php": "^8.1", + "symfony/console": "^6.2|^7.0" + }, + "conflict": { + "illuminate/console": ">=10.17.0 <10.25.0", + "laravel/framework": ">=10.17.0 <10.25.0" + }, + "require-dev": { + "mockery/mockery": "^1.5", + "pestphp/pest": "^2.3", + "phpstan/phpstan": "^1.11", + "phpstan/phpstan-mockery": "^1.1" + }, + "suggest": { + "ext-pcntl": "Required for the spinner to be animated." + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "0.1.x-dev" + } + }, + "autoload": { + "files": [ + "src/helpers.php" + ], + "psr-4": { + "Laravel\\Prompts\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "Add beautiful and user-friendly forms to your command-line applications.", + "support": { + "issues": "https://github.com/laravel/prompts/issues", + "source": "https://github.com/laravel/prompts/tree/v0.1.24" + }, + "time": "2024-06-17T13:58:22+00:00" }, { "name": "laravel/scout", - "version": "v9.7.0", + "version": "v9.8.1", "source": { "type": "git", "url": "https://github.com/laravel/scout.git", - "reference": "c3bdedbcf99ea44779140c07d6f49616843fe42f" + "reference": "38595717b396ce733d432b82e3225fa4e0d6c8ef" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/scout/zipball/c3bdedbcf99ea44779140c07d6f49616843fe42f", - "reference": "c3bdedbcf99ea44779140c07d6f49616843fe42f", + "url": "https://api.github.com/repos/laravel/scout/zipball/38595717b396ce733d432b82e3225fa4e0d6c8ef", + "reference": "38595717b396ce733d432b82e3225fa4e0d6c8ef", "shasum": "" }, "require": { - "illuminate/bus": "^8.0|^9.0", - "illuminate/contracts": "^8.0|^9.0", - "illuminate/database": "^8.0|^9.0", - "illuminate/http": "^8.0|^9.0", - "illuminate/pagination": "^8.0|^9.0", - "illuminate/queue": "^8.0|^9.0", - "illuminate/support": "^8.0|^9.0", + "illuminate/bus": "^8.0|^9.0|^10.0", + "illuminate/contracts": "^8.0|^9.0|^10.0", + "illuminate/database": "^8.0|^9.0|^10.0", + "illuminate/http": "^8.0|^9.0|^10.0", + "illuminate/pagination": "^8.0|^9.0|^10.0", + "illuminate/queue": "^8.0|^9.0|^10.0", + "illuminate/support": "^8.0|^9.0|^10.0", "php": "^7.3|^8.0" }, "require-dev": { "meilisearch/meilisearch-php": "^0.19", "mockery/mockery": "^1.0", - "orchestra/testbench": "^6.17|^7.0", + "orchestra/testbench": "^6.17|^7.0|^8.0", + "php-http/guzzle7-adapter": "^1.0", "phpunit/phpunit": "^9.3" }, "suggest": { @@ -2442,30 +2693,31 @@ "issues": "https://github.com/laravel/scout/issues", "source": "https://github.com/laravel/scout" }, - "time": "2023-01-03T17:31:01+00:00" + "time": "2023-02-14T16:53:14+00:00" }, { "name": "laravel/serializable-closure", - "version": "v1.2.2", + "version": "v1.3.4", "source": { "type": "git", "url": "https://github.com/laravel/serializable-closure.git", - "reference": "47afb7fae28ed29057fdca37e16a84f90cc62fae" + "reference": "61b87392d986dc49ad5ef64e75b1ff5fee24ef81" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/serializable-closure/zipball/47afb7fae28ed29057fdca37e16a84f90cc62fae", - "reference": "47afb7fae28ed29057fdca37e16a84f90cc62fae", + "url": "https://api.github.com/repos/laravel/serializable-closure/zipball/61b87392d986dc49ad5ef64e75b1ff5fee24ef81", + "reference": "61b87392d986dc49ad5ef64e75b1ff5fee24ef81", "shasum": "" }, "require": { "php": "^7.3|^8.0" }, "require-dev": { - "nesbot/carbon": "^2.61", + "illuminate/support": "^8.0|^9.0|^10.0|^11.0", + "nesbot/carbon": "^2.61|^3.0", "pestphp/pest": "^1.21.3", "phpstan/phpstan": "^1.8.2", - "symfony/var-dumper": "^5.4.11" + "symfony/var-dumper": "^5.4.11|^6.2.0|^7.0.0" }, "type": "library", "extra": { @@ -2502,25 +2754,25 @@ "issues": "https://github.com/laravel/serializable-closure/issues", "source": "https://github.com/laravel/serializable-closure" }, - "time": "2022-09-08T13:45:54+00:00" + "time": "2024-08-02T07:48:17+00:00" }, { "name": "laravel/slack-notification-channel", - "version": "v2.4.0", + "version": "v2.5.0", "source": { "type": "git", "url": "https://github.com/laravel/slack-notification-channel.git", - "reference": "060617a31562c88656c95c5971a36989122d4b53" + "reference": "e0d4be5e01d443a69fa89f0a4cac6bd2eda2be8f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/slack-notification-channel/zipball/060617a31562c88656c95c5971a36989122d4b53", - "reference": "060617a31562c88656c95c5971a36989122d4b53", + "url": "https://api.github.com/repos/laravel/slack-notification-channel/zipball/e0d4be5e01d443a69fa89f0a4cac6bd2eda2be8f", + "reference": "e0d4be5e01d443a69fa89f0a4cac6bd2eda2be8f", "shasum": "" }, "require": { "guzzlehttp/guzzle": "^6.0|^7.0", - "illuminate/notifications": "~5.8.0|^6.0|^7.0|^8.0|^9.0", + "illuminate/notifications": "~5.8.0|^6.0|^7.0|^8.0|^9.0|^10.0", "php": "^7.1.3|^8.0" }, "require-dev": { @@ -2561,37 +2813,40 @@ ], "support": { "issues": "https://github.com/laravel/slack-notification-channel/issues", - "source": "https://github.com/laravel/slack-notification-channel/tree/v2.4.0" + "source": "https://github.com/laravel/slack-notification-channel/tree/v2.5.0" }, - "time": "2022-01-12T18:07:54+00:00" + "time": "2023-01-12T16:21:26+00:00" }, { "name": "laravel/socialite", - "version": "v5.5.7", + "version": "v5.15.1", "source": { "type": "git", "url": "https://github.com/laravel/socialite.git", - "reference": "ee6201f539ac47c3a55132449f9d20ee928f0ee2" + "reference": "cc02625f0bd1f95dc3688eb041cce0f1e709d029" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/socialite/zipball/ee6201f539ac47c3a55132449f9d20ee928f0ee2", - "reference": "ee6201f539ac47c3a55132449f9d20ee928f0ee2", + "url": "https://api.github.com/repos/laravel/socialite/zipball/cc02625f0bd1f95dc3688eb041cce0f1e709d029", + "reference": "cc02625f0bd1f95dc3688eb041cce0f1e709d029", "shasum": "" }, "require": { "ext-json": "*", + "firebase/php-jwt": "^6.4", "guzzlehttp/guzzle": "^6.0|^7.0", - "illuminate/contracts": "^6.0|^7.0|^8.0|^9.0", - "illuminate/http": "^6.0|^7.0|^8.0|^9.0", - "illuminate/support": "^6.0|^7.0|^8.0|^9.0", + "illuminate/contracts": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0", + "illuminate/http": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0", + "illuminate/support": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0", "league/oauth1-client": "^1.10.1", - "php": "^7.2|^8.0" + "php": "^7.2|^8.0", + "phpseclib/phpseclib": "^3.0" }, "require-dev": { "mockery/mockery": "^1.0", - "orchestra/testbench": "^4.0|^5.0|^6.0|^7.0", - "phpunit/phpunit": "^8.0|^9.3" + "orchestra/testbench": "^4.0|^5.0|^6.0|^7.0|^8.0|^9.0", + "phpstan/phpstan": "^1.10", + "phpunit/phpunit": "^8.0|^9.3|^10.4" }, "type": "library", "extra": { @@ -2632,32 +2887,35 @@ "issues": "https://github.com/laravel/socialite/issues", "source": "https://github.com/laravel/socialite" }, - "time": "2022-12-28T12:35:23+00:00" + "time": "2024-06-28T20:09:34+00:00" }, { "name": "laravel/telescope", - "version": "v4.8.1", + "version": "v4.17.6", "source": { "type": "git", "url": "https://github.com/laravel/telescope.git", - "reference": "2c61ad4a1d1366f2829cbe3d50d004cef7dfc691" + "reference": "2d453dc629b27e8cf39fb1217aba062f8c54e690" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/telescope/zipball/2c61ad4a1d1366f2829cbe3d50d004cef7dfc691", - "reference": "2c61ad4a1d1366f2829cbe3d50d004cef7dfc691", + "url": "https://api.github.com/repos/laravel/telescope/zipball/2d453dc629b27e8cf39fb1217aba062f8c54e690", + "reference": "2d453dc629b27e8cf39fb1217aba062f8c54e690", "shasum": "" }, "require": { "ext-json": "*", - "laravel/framework": "^8.37|^9.0", - "php": "^7.3|^8.0", + "laravel/framework": "^8.37|^9.0|^10.0", + "php": "^8.0", "symfony/var-dumper": "^5.0|^6.0" }, "require-dev": { "ext-gd": "*", "guzzlehttp/guzzle": "^6.0|^7.0", - "orchestra/testbench": "^6.0|^7.0" + "laravel/octane": "^1.4", + "orchestra/testbench": "^6.0|^7.0|^8.0", + "phpstan/phpstan": "^1.10", + "phpunit/phpunit": "^9.0" }, "type": "library", "extra": { @@ -2698,44 +2956,42 @@ ], "support": { "issues": "https://github.com/laravel/telescope/issues", - "source": "https://github.com/laravel/telescope/tree/v4.8.1" + "source": "https://github.com/laravel/telescope/tree/v4.17.6" }, - "time": "2022-03-26T16:04:21+00:00" + "time": "2024-02-08T15:04:38+00:00" }, { "name": "laravel/tinker", - "version": "v2.7.3", + "version": "v2.9.0", "source": { "type": "git", "url": "https://github.com/laravel/tinker.git", - "reference": "5062061b4924af3392225dd482ca7b4d85d8b8ef" + "reference": "502e0fe3f0415d06d5db1f83a472f0f3b754bafe" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/tinker/zipball/5062061b4924af3392225dd482ca7b4d85d8b8ef", - "reference": "5062061b4924af3392225dd482ca7b4d85d8b8ef", + "url": "https://api.github.com/repos/laravel/tinker/zipball/502e0fe3f0415d06d5db1f83a472f0f3b754bafe", + "reference": "502e0fe3f0415d06d5db1f83a472f0f3b754bafe", "shasum": "" }, "require": { - "illuminate/console": "^6.0|^7.0|^8.0|^9.0", - "illuminate/contracts": "^6.0|^7.0|^8.0|^9.0", - "illuminate/support": "^6.0|^7.0|^8.0|^9.0", + "illuminate/console": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0", + "illuminate/contracts": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0", + "illuminate/support": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0", "php": "^7.2.5|^8.0", - "psy/psysh": "^0.10.4|^0.11.1", - "symfony/var-dumper": "^4.3.4|^5.0|^6.0" + "psy/psysh": "^0.11.1|^0.12.0", + "symfony/var-dumper": "^4.3.4|^5.0|^6.0|^7.0" }, "require-dev": { "mockery/mockery": "~1.3.3|^1.4.2", + "phpstan/phpstan": "^1.10", "phpunit/phpunit": "^8.5.8|^9.3.3" }, "suggest": { - "illuminate/database": "The Illuminate Database package (^6.0|^7.0|^8.0|^9.0)." + "illuminate/database": "The Illuminate Database package (^6.0|^7.0|^8.0|^9.0|^10.0|^11.0)." }, "type": "library", "extra": { - "branch-alias": { - "dev-master": "2.x-dev" - }, "laravel": { "providers": [ "Laravel\\Tinker\\TinkerServiceProvider" @@ -2766,38 +3022,40 @@ ], "support": { "issues": "https://github.com/laravel/tinker/issues", - "source": "https://github.com/laravel/tinker/tree/v2.7.3" + "source": "https://github.com/laravel/tinker/tree/v2.9.0" }, - "time": "2022-11-09T15:11:38+00:00" + "time": "2024-01-04T16:10:04+00:00" }, { "name": "laravel/ui", - "version": "v3.4.6", + "version": "v4.5.2", "source": { "type": "git", "url": "https://github.com/laravel/ui.git", - "reference": "65ec5c03f7fee2c8ecae785795b829a15be48c2c" + "reference": "c75396f63268c95b053c8e4814eb70e0875e9628" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/ui/zipball/65ec5c03f7fee2c8ecae785795b829a15be48c2c", - "reference": "65ec5c03f7fee2c8ecae785795b829a15be48c2c", + "url": "https://api.github.com/repos/laravel/ui/zipball/c75396f63268c95b053c8e4814eb70e0875e9628", + "reference": "c75396f63268c95b053c8e4814eb70e0875e9628", "shasum": "" }, "require": { - "illuminate/console": "^8.42|^9.0", - "illuminate/filesystem": "^8.42|^9.0", - "illuminate/support": "^8.82|^9.0", - "illuminate/validation": "^8.42|^9.0", - "php": "^7.3|^8.0" + "illuminate/console": "^9.21|^10.0|^11.0", + "illuminate/filesystem": "^9.21|^10.0|^11.0", + "illuminate/support": "^9.21|^10.0|^11.0", + "illuminate/validation": "^9.21|^10.0|^11.0", + "php": "^8.0", + "symfony/console": "^6.0|^7.0" }, "require-dev": { - "orchestra/testbench": "^6.23|^7.0" + "orchestra/testbench": "^7.35|^8.15|^9.0", + "phpunit/phpunit": "^9.3|^10.4|^11.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.x-dev" + "dev-master": "4.x-dev" }, "laravel": { "providers": [ @@ -2827,37 +3085,40 @@ "ui" ], "support": { - "source": "https://github.com/laravel/ui/tree/v3.4.6" + "source": "https://github.com/laravel/ui/tree/v4.5.2" }, - "time": "2022-05-20T13:38:08+00:00" + "time": "2024-05-08T18:07:10+00:00" }, { "name": "lcobucci/clock", - "version": "2.2.0", + "version": "3.0.0", "source": { "type": "git", "url": "https://github.com/lcobucci/clock.git", - "reference": "fb533e093fd61321bfcbac08b131ce805fe183d3" + "reference": "039ef98c6b57b101d10bd11d8fdfda12cbd996dc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/lcobucci/clock/zipball/fb533e093fd61321bfcbac08b131ce805fe183d3", - "reference": "fb533e093fd61321bfcbac08b131ce805fe183d3", + "url": "https://api.github.com/repos/lcobucci/clock/zipball/039ef98c6b57b101d10bd11d8fdfda12cbd996dc", + "reference": "039ef98c6b57b101d10bd11d8fdfda12cbd996dc", "shasum": "" }, "require": { - "php": "^8.0", - "stella-maris/clock": "^0.1.4" + "php": "~8.1.0 || ~8.2.0", + "psr/clock": "^1.0" + }, + "provide": { + "psr/clock-implementation": "1.0" }, "require-dev": { "infection/infection": "^0.26", - "lcobucci/coding-standard": "^8.0", - "phpstan/extension-installer": "^1.1", - "phpstan/phpstan": "^0.12", - "phpstan/phpstan-deprecation-rules": "^0.12", - "phpstan/phpstan-phpunit": "^0.12", - "phpstan/phpstan-strict-rules": "^0.12", - "phpunit/phpunit": "^9.5" + "lcobucci/coding-standard": "^9.0", + "phpstan/extension-installer": "^1.2", + "phpstan/phpstan": "^1.9.4", + "phpstan/phpstan-deprecation-rules": "^1.1.1", + "phpstan/phpstan-phpunit": "^1.3.2", + "phpstan/phpstan-strict-rules": "^1.4.4", + "phpunit/phpunit": "^9.5.27" }, "type": "library", "autoload": { @@ -2878,7 +3139,7 @@ "description": "Yet another clock abstraction", "support": { "issues": "https://github.com/lcobucci/clock/issues", - "source": "https://github.com/lcobucci/clock/tree/2.2.0" + "source": "https://github.com/lcobucci/clock/tree/3.0.0" }, "funding": [ { @@ -2890,43 +3151,42 @@ "type": "patreon" } ], - "time": "2022-04-19T19:34:17+00:00" + "time": "2022-12-19T15:00:24+00:00" }, { "name": "lcobucci/jwt", - "version": "4.3.0", + "version": "5.3.0", "source": { "type": "git", "url": "https://github.com/lcobucci/jwt.git", - "reference": "4d7de2fe0d51a96418c0d04004986e410e87f6b4" + "reference": "08071d8d2c7f4b00222cc4b1fb6aa46990a80f83" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/lcobucci/jwt/zipball/4d7de2fe0d51a96418c0d04004986e410e87f6b4", - "reference": "4d7de2fe0d51a96418c0d04004986e410e87f6b4", + "url": "https://api.github.com/repos/lcobucci/jwt/zipball/08071d8d2c7f4b00222cc4b1fb6aa46990a80f83", + "reference": "08071d8d2c7f4b00222cc4b1fb6aa46990a80f83", "shasum": "" }, "require": { - "ext-hash": "*", - "ext-json": "*", - "ext-mbstring": "*", "ext-openssl": "*", "ext-sodium": "*", - "lcobucci/clock": "^2.0 || ^3.0", - "php": "^7.4 || ^8.0" + "php": "~8.1.0 || ~8.2.0 || ~8.3.0", + "psr/clock": "^1.0" }, "require-dev": { - "infection/infection": "^0.21", - "lcobucci/coding-standard": "^6.0", - "mikey179/vfsstream": "^1.6.7", - "phpbench/phpbench": "^1.2", - "phpstan/extension-installer": "^1.0", - "phpstan/phpstan": "^1.4", - "phpstan/phpstan-deprecation-rules": "^1.0", - "phpstan/phpstan-phpunit": "^1.0", - "phpstan/phpstan-strict-rules": "^1.0", - "phpunit/php-invoker": "^3.1", - "phpunit/phpunit": "^9.5" + "infection/infection": "^0.27.0", + "lcobucci/clock": "^3.0", + "lcobucci/coding-standard": "^11.0", + "phpbench/phpbench": "^1.2.9", + "phpstan/extension-installer": "^1.2", + "phpstan/phpstan": "^1.10.7", + "phpstan/phpstan-deprecation-rules": "^1.1.3", + "phpstan/phpstan-phpunit": "^1.3.10", + "phpstan/phpstan-strict-rules": "^1.5.0", + "phpunit/phpunit": "^10.2.6" + }, + "suggest": { + "lcobucci/clock": ">= 3.0" }, "type": "library", "autoload": { @@ -2952,7 +3212,7 @@ ], "support": { "issues": "https://github.com/lcobucci/jwt/issues", - "source": "https://github.com/lcobucci/jwt/tree/4.3.0" + "source": "https://github.com/lcobucci/jwt/tree/5.3.0" }, "funding": [ { @@ -2964,20 +3224,20 @@ "type": "patreon" } ], - "time": "2023-01-02T13:28:00+00:00" + "time": "2024-04-11T23:07:54+00:00" }, { "name": "league/commonmark", - "version": "2.3.8", + "version": "2.5.1", "source": { "type": "git", "url": "https://github.com/thephpleague/commonmark.git", - "reference": "c493585c130544c4e91d2e0e131e6d35cb0cbc47" + "reference": "ac815920de0eff6de947eac0a6a94e5ed0fb147c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/commonmark/zipball/c493585c130544c4e91d2e0e131e6d35cb0cbc47", - "reference": "c493585c130544c4e91d2e0e131e6d35cb0cbc47", + "url": "https://api.github.com/repos/thephpleague/commonmark/zipball/ac815920de0eff6de947eac0a6a94e5ed0fb147c", + "reference": "ac815920de0eff6de947eac0a6a94e5ed0fb147c", "shasum": "" }, "require": { @@ -2990,8 +3250,8 @@ }, "require-dev": { "cebe/markdown": "^1.0", - "commonmark/cmark": "0.30.0", - "commonmark/commonmark.js": "0.30.0", + "commonmark/cmark": "0.31.0", + "commonmark/commonmark.js": "0.31.0", "composer/package-versions-deprecated": "^1.8", "embed/embed": "^4.4", "erusev/parsedown": "^1.0", @@ -3000,10 +3260,10 @@ "michelf/php-markdown": "^1.4 || ^2.0", "nyholm/psr7": "^1.5", "phpstan/phpstan": "^1.8.2", - "phpunit/phpunit": "^9.5.21", + "phpunit/phpunit": "^9.5.21 || ^10.5.9 || ^11.0.0", "scrutinizer/ocular": "^1.8.1", - "symfony/finder": "^5.3 | ^6.0", - "symfony/yaml": "^2.3 | ^3.0 | ^4.0 | ^5.0 | ^6.0", + "symfony/finder": "^5.3 | ^6.0 || ^7.0", + "symfony/yaml": "^2.3 | ^3.0 | ^4.0 | ^5.0 | ^6.0 || ^7.0", "unleashedtech/php-coding-standard": "^3.1.1", "vimeo/psalm": "^4.24.0 || ^5.0.0" }, @@ -3013,7 +3273,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "2.4-dev" + "dev-main": "2.6-dev" } }, "autoload": { @@ -3070,7 +3330,7 @@ "type": "tidelift" } ], - "time": "2022-12-10T16:02:17+00:00" + "time": "2024-07-24T12:52:09+00:00" }, { "name": "league/config", @@ -3210,23 +3470,26 @@ }, { "name": "league/flysystem", - "version": "3.12.0", + "version": "3.28.0", "source": { "type": "git", "url": "https://github.com/thephpleague/flysystem.git", - "reference": "2aef65a47e44f2d6f9938f720f6dd697e7ba7b76" + "reference": "e611adab2b1ae2e3072fa72d62c62f52c2bf1f0c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/2aef65a47e44f2d6f9938f720f6dd697e7ba7b76", - "reference": "2aef65a47e44f2d6f9938f720f6dd697e7ba7b76", + "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/e611adab2b1ae2e3072fa72d62c62f52c2bf1f0c", + "reference": "e611adab2b1ae2e3072fa72d62c62f52c2bf1f0c", "shasum": "" }, "require": { + "league/flysystem-local": "^3.0.0", "league/mime-type-detection": "^1.0.0", "php": "^8.0.2" }, "conflict": { + "async-aws/core": "<1.19.0", + "async-aws/s3": "<1.14.0", "aws/aws-sdk-php": "3.209.31 || 3.210.0", "guzzlehttp/guzzle": "<7.0", "guzzlehttp/ringphp": "<1.1.1", @@ -3234,20 +3497,23 @@ "symfony/http-client": "<5.2" }, "require-dev": { - "async-aws/s3": "^1.5", - "async-aws/simple-s3": "^1.1", - "aws/aws-sdk-php": "^3.198.1", + "async-aws/s3": "^1.5 || ^2.0", + "async-aws/simple-s3": "^1.1 || ^2.0", + "aws/aws-sdk-php": "^3.295.10", "composer/semver": "^3.0", "ext-fileinfo": "*", "ext-ftp": "*", + "ext-mongodb": "^1.3", "ext-zip": "*", "friendsofphp/php-cs-fixer": "^3.5", "google/cloud-storage": "^1.23", + "guzzlehttp/psr7": "^2.6", "microsoft/azure-storage-blob": "^1.1", - "phpseclib/phpseclib": "^3.0.14", - "phpstan/phpstan": "^0.12.26", - "phpunit/phpunit": "^9.5.11", - "sabre/dav": "^4.3.1" + "mongodb/mongodb": "^1.2", + "phpseclib/phpseclib": "^3.0.36", + "phpstan/phpstan": "^1.10", + "phpunit/phpunit": "^9.5.11|^10.0", + "sabre/dav": "^4.6.0" }, "type": "library", "autoload": { @@ -3281,40 +3547,26 @@ ], "support": { "issues": "https://github.com/thephpleague/flysystem/issues", - "source": "https://github.com/thephpleague/flysystem/tree/3.12.0" + "source": "https://github.com/thephpleague/flysystem/tree/3.28.0" }, - "funding": [ - { - "url": "https://ecologi.com/frankdejonge", - "type": "custom" - }, - { - "url": "https://github.com/frankdejonge", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/league/flysystem", - "type": "tidelift" - } - ], - "time": "2022-12-20T20:21:10+00:00" + "time": "2024-05-22T10:09:12+00:00" }, { "name": "league/flysystem-aws-s3-v3", - "version": "3.10.3", + "version": "3.28.0", "source": { "type": "git", "url": "https://github.com/thephpleague/flysystem-aws-s3-v3.git", - "reference": "f593bf91f94f2adf4f71513d29f1dfa693f2f640" + "reference": "22071ef1604bc776f5ff2468ac27a752514665c8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/flysystem-aws-s3-v3/zipball/f593bf91f94f2adf4f71513d29f1dfa693f2f640", - "reference": "f593bf91f94f2adf4f71513d29f1dfa693f2f640", + "url": "https://api.github.com/repos/thephpleague/flysystem-aws-s3-v3/zipball/22071ef1604bc776f5ff2468ac27a752514665c8", + "reference": "22071ef1604bc776f5ff2468ac27a752514665c8", "shasum": "" }, "require": { - "aws/aws-sdk-php": "^3.132.4", + "aws/aws-sdk-php": "^3.295.10", "league/flysystem": "^3.10.0", "league/mime-type-detection": "^1.0.0", "php": "^8.0.2" @@ -3350,44 +3602,78 @@ "storage" ], "support": { - "issues": "https://github.com/thephpleague/flysystem-aws-s3-v3/issues", - "source": "https://github.com/thephpleague/flysystem-aws-s3-v3/tree/3.10.3" + "source": "https://github.com/thephpleague/flysystem-aws-s3-v3/tree/3.28.0" }, - "funding": [ - { - "url": "https://ecologi.com/frankdejonge", - "type": "custom" - }, - { - "url": "https://github.com/frankdejonge", - "type": "github" - }, + "time": "2024-05-06T20:05:52+00:00" + }, + { + "name": "league/flysystem-local", + "version": "3.28.0", + "source": { + "type": "git", + "url": "https://github.com/thephpleague/flysystem-local.git", + "reference": "13f22ea8be526ea58c2ddff9e158ef7c296e4f40" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/thephpleague/flysystem-local/zipball/13f22ea8be526ea58c2ddff9e158ef7c296e4f40", + "reference": "13f22ea8be526ea58c2ddff9e158ef7c296e4f40", + "shasum": "" + }, + "require": { + "ext-fileinfo": "*", + "league/flysystem": "^3.0.0", + "league/mime-type-detection": "^1.0.0", + "php": "^8.0.2" + }, + "type": "library", + "autoload": { + "psr-4": { + "League\\Flysystem\\Local\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ { - "url": "https://tidelift.com/funding/github/packagist/league/flysystem", - "type": "tidelift" + "name": "Frank de Jonge", + "email": "info@frankdejonge.nl" } ], - "time": "2022-10-26T18:15:09+00:00" + "description": "Local filesystem adapter for Flysystem.", + "keywords": [ + "Flysystem", + "file", + "files", + "filesystem", + "local" + ], + "support": { + "source": "https://github.com/thephpleague/flysystem-local/tree/3.28.0" + }, + "time": "2024-05-06T20:05:52+00:00" }, { "name": "league/glide", - "version": "2.2.2", + "version": "2.3.0", "source": { "type": "git", "url": "https://github.com/thephpleague/glide.git", - "reference": "bff5b0fe2fd26b2fde2d6958715fde313887d79d" + "reference": "2ff92c8f1edc80b74e2d3c5efccfc7223f74d407" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/glide/zipball/bff5b0fe2fd26b2fde2d6958715fde313887d79d", - "reference": "bff5b0fe2fd26b2fde2d6958715fde313887d79d", + "url": "https://api.github.com/repos/thephpleague/glide/zipball/2ff92c8f1edc80b74e2d3c5efccfc7223f74d407", + "reference": "2ff92c8f1edc80b74e2d3c5efccfc7223f74d407", "shasum": "" }, "require": { "intervention/image": "^2.7", "league/flysystem": "^2.0|^3.0", "php": "^7.2|^8.0", - "psr/http-message": "^1.0" + "psr/http-message": "^1.0|^2.0" }, "require-dev": { "mockery/mockery": "^1.3.3", @@ -3430,32 +3716,32 @@ ], "support": { "issues": "https://github.com/thephpleague/glide/issues", - "source": "https://github.com/thephpleague/glide/tree/2.2.2" + "source": "https://github.com/thephpleague/glide/tree/2.3.0" }, - "time": "2022-02-21T07:40:55+00:00" + "time": "2023-07-08T06:26:07+00:00" }, { "name": "league/mime-type-detection", - "version": "1.11.0", + "version": "1.15.0", "source": { "type": "git", "url": "https://github.com/thephpleague/mime-type-detection.git", - "reference": "ff6248ea87a9f116e78edd6002e39e5128a0d4dd" + "reference": "ce0f4d1e8a6f4eb0ddff33f57c69c50fd09f4301" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/mime-type-detection/zipball/ff6248ea87a9f116e78edd6002e39e5128a0d4dd", - "reference": "ff6248ea87a9f116e78edd6002e39e5128a0d4dd", + "url": "https://api.github.com/repos/thephpleague/mime-type-detection/zipball/ce0f4d1e8a6f4eb0ddff33f57c69c50fd09f4301", + "reference": "ce0f4d1e8a6f4eb0ddff33f57c69c50fd09f4301", "shasum": "" }, "require": { "ext-fileinfo": "*", - "php": "^7.2 || ^8.0" + "php": "^7.4 || ^8.0" }, "require-dev": { "friendsofphp/php-cs-fixer": "^3.2", "phpstan/phpstan": "^0.12.68", - "phpunit/phpunit": "^8.5.8 || ^9.3" + "phpunit/phpunit": "^8.5.8 || ^9.3 || ^10.0" }, "type": "library", "autoload": { @@ -3476,7 +3762,7 @@ "description": "Mime-type detection for Flysystem", "support": { "issues": "https://github.com/thephpleague/mime-type-detection/issues", - "source": "https://github.com/thephpleague/mime-type-detection/tree/1.11.0" + "source": "https://github.com/thephpleague/mime-type-detection/tree/1.15.0" }, "funding": [ { @@ -3488,7 +3774,7 @@ "type": "tidelift" } ], - "time": "2022-04-17T13:12:02+00:00" + "time": "2024-01-28T23:22:08+00:00" }, { "name": "league/oauth1-client", @@ -3568,37 +3854,37 @@ }, { "name": "league/oauth2-server", - "version": "8.3.6", + "version": "8.5.4", "source": { "type": "git", "url": "https://github.com/thephpleague/oauth2-server.git", - "reference": "28c5441716c10d0c936bd731860dc385d0f6d1a8" + "reference": "ab7714d073844497fd222d5d0a217629089936bc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/oauth2-server/zipball/28c5441716c10d0c936bd731860dc385d0f6d1a8", - "reference": "28c5441716c10d0c936bd731860dc385d0f6d1a8", + "url": "https://api.github.com/repos/thephpleague/oauth2-server/zipball/ab7714d073844497fd222d5d0a217629089936bc", + "reference": "ab7714d073844497fd222d5d0a217629089936bc", "shasum": "" }, "require": { - "defuse/php-encryption": "^2.2.1", - "ext-json": "*", + "defuse/php-encryption": "^2.3", "ext-openssl": "*", - "lcobucci/jwt": "^3.4.6 || ^4.0.4", + "lcobucci/clock": "^2.2 || ^3.0", + "lcobucci/jwt": "^4.3 || ^5.0", "league/event": "^2.2", - "league/uri": "^6.4", - "php": "^7.2 || ^8.0", - "psr/http-message": "^1.0.1" + "league/uri": "^6.7 || ^7.0", + "php": "^8.0", + "psr/http-message": "^1.0.1 || ^2.0" }, "replace": { "league/oauth2server": "*", "lncd/oauth2": "*" }, "require-dev": { - "laminas/laminas-diactoros": "^2.4.1", + "laminas/laminas-diactoros": "^3.0.0", "phpstan/phpstan": "^0.12.57", "phpstan/phpstan-phpunit": "^0.12.16", - "phpunit/phpunit": "^8.5.13", + "phpunit/phpunit": "^9.6.6", "roave/security-advisories": "dev-master" }, "type": "library", @@ -3644,7 +3930,7 @@ ], "support": { "issues": "https://github.com/thephpleague/oauth2-server/issues", - "source": "https://github.com/thephpleague/oauth2-server/tree/8.3.6" + "source": "https://github.com/thephpleague/oauth2-server/tree/8.5.4" }, "funding": [ { @@ -3652,57 +3938,48 @@ "type": "github" } ], - "time": "2022-11-14T19:42:00+00:00" + "time": "2023-08-25T22:35:12+00:00" }, { "name": "league/uri", - "version": "6.7.2", + "version": "7.4.1", "source": { "type": "git", "url": "https://github.com/thephpleague/uri.git", - "reference": "d3b50812dd51f3fbf176344cc2981db03d10fe06" + "reference": "bedb6e55eff0c933668addaa7efa1e1f2c417cc4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/uri/zipball/d3b50812dd51f3fbf176344cc2981db03d10fe06", - "reference": "d3b50812dd51f3fbf176344cc2981db03d10fe06", + "url": "https://api.github.com/repos/thephpleague/uri/zipball/bedb6e55eff0c933668addaa7efa1e1f2c417cc4", + "reference": "bedb6e55eff0c933668addaa7efa1e1f2c417cc4", "shasum": "" }, "require": { - "ext-json": "*", - "league/uri-interfaces": "^2.3", - "php": "^7.4 || ^8.0", - "psr/http-message": "^1.0" + "league/uri-interfaces": "^7.3", + "php": "^8.1" }, "conflict": { "league/uri-schemes": "^1.0" }, - "require-dev": { - "friendsofphp/php-cs-fixer": "^v3.3.2", - "nyholm/psr7": "^1.5", - "php-http/psr7-integration-tests": "^1.1", - "phpstan/phpstan": "^1.2.0", - "phpstan/phpstan-deprecation-rules": "^1.0", - "phpstan/phpstan-phpunit": "^1.0.0", - "phpstan/phpstan-strict-rules": "^1.1.0", - "phpunit/phpunit": "^9.5.10", - "psr/http-factory": "^1.0" - }, "suggest": { - "ext-fileinfo": "Needed to create Data URI from a filepath", - "ext-intl": "Needed to improve host validation", - "league/uri-components": "Needed to easily manipulate URI objects", - "psr/http-factory": "Needed to use the URI factory" + "ext-bcmath": "to improve IPV4 host parsing", + "ext-fileinfo": "to create Data URI from file contennts", + "ext-gmp": "to improve IPV4 host parsing", + "ext-intl": "to handle IDN host with the best performance", + "jeremykendall/php-domain-parser": "to resolve Public Suffix and Top Level Domain", + "league/uri-components": "Needed to easily manipulate URI objects components", + "php-64bit": "to improve IPV4 host parsing", + "symfony/polyfill-intl-idn": "to handle IDN host via the Symfony polyfill if ext-intl is not present" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "6.x-dev" + "dev-master": "7.x-dev" } }, "autoload": { "psr-4": { - "League\\Uri\\": "src" + "League\\Uri\\": "" } }, "notification-url": "https://packagist.org/downloads/", @@ -3742,8 +4019,8 @@ "support": { "docs": "https://uri.thephpleague.com", "forum": "https://thephpleague.slack.com", - "issues": "https://github.com/thephpleague/uri/issues", - "source": "https://github.com/thephpleague/uri/tree/6.7.2" + "issues": "https://github.com/thephpleague/uri-src/issues", + "source": "https://github.com/thephpleague/uri/tree/7.4.1" }, "funding": [ { @@ -3751,46 +4028,44 @@ "type": "github" } ], - "time": "2022-09-13T19:50:42+00:00" + "time": "2024-03-23T07:42:40+00:00" }, { "name": "league/uri-interfaces", - "version": "2.3.0", + "version": "7.4.1", "source": { "type": "git", "url": "https://github.com/thephpleague/uri-interfaces.git", - "reference": "00e7e2943f76d8cb50c7dfdc2f6dee356e15e383" + "reference": "8d43ef5c841032c87e2de015972c06f3865ef718" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/uri-interfaces/zipball/00e7e2943f76d8cb50c7dfdc2f6dee356e15e383", - "reference": "00e7e2943f76d8cb50c7dfdc2f6dee356e15e383", + "url": "https://api.github.com/repos/thephpleague/uri-interfaces/zipball/8d43ef5c841032c87e2de015972c06f3865ef718", + "reference": "8d43ef5c841032c87e2de015972c06f3865ef718", "shasum": "" }, "require": { - "ext-json": "*", - "php": "^7.2 || ^8.0" - }, - "require-dev": { - "friendsofphp/php-cs-fixer": "^2.19", - "phpstan/phpstan": "^0.12.90", - "phpstan/phpstan-phpunit": "^0.12.19", - "phpstan/phpstan-strict-rules": "^0.12.9", - "phpunit/phpunit": "^8.5.15 || ^9.5" + "ext-filter": "*", + "php": "^8.1", + "psr/http-factory": "^1", + "psr/http-message": "^1.1 || ^2.0" }, "suggest": { - "ext-intl": "to use the IDNA feature", - "symfony/intl": "to use the IDNA feature via Symfony Polyfill" + "ext-bcmath": "to improve IPV4 host parsing", + "ext-gmp": "to improve IPV4 host parsing", + "ext-intl": "to handle IDN host with the best performance", + "php-64bit": "to improve IPV4 host parsing", + "symfony/polyfill-intl-idn": "to handle IDN host via the Symfony polyfill if ext-intl is not present" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.x-dev" + "dev-master": "7.x-dev" } }, "autoload": { "psr-4": { - "League\\Uri\\": "src/" + "League\\Uri\\": "" } }, "notification-url": "https://packagist.org/downloads/", @@ -3804,17 +4079,32 @@ "homepage": "https://nyamsprod.com" } ], - "description": "Common interface for URI representation", - "homepage": "http://github.com/thephpleague/uri-interfaces", + "description": "Common interfaces and classes for URI representation and interaction", + "homepage": "https://uri.thephpleague.com", "keywords": [ + "data-uri", + "file-uri", + "ftp", + "hostname", + "http", + "https", + "parse_str", + "parse_url", + "psr-7", + "query-string", + "querystring", "rfc3986", "rfc3987", + "rfc6570", "uri", - "url" + "url", + "ws" ], "support": { - "issues": "https://github.com/thephpleague/uri-interfaces/issues", - "source": "https://github.com/thephpleague/uri-interfaces/tree/2.3.0" + "docs": "https://uri.thephpleague.com", + "forum": "https://thephpleague.slack.com", + "issues": "https://github.com/thephpleague/uri-src/issues", + "source": "https://github.com/thephpleague/uri-interfaces/tree/7.4.1" }, "funding": [ { @@ -3822,36 +4112,36 @@ "type": "github" } ], - "time": "2021-06-28T04:27:21+00:00" + "time": "2024-03-23T07:42:40+00:00" }, { "name": "livewire/livewire", - "version": "v2.10.8", + "version": "v2.12.8", "source": { "type": "git", "url": "https://github.com/livewire/livewire.git", - "reference": "4cc5dedaab1e9512efb4d528fde67df98e9b465a" + "reference": "7d657d0dd8761a981f7ac3cd8d71c3b724f3e0b8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/livewire/livewire/zipball/4cc5dedaab1e9512efb4d528fde67df98e9b465a", - "reference": "4cc5dedaab1e9512efb4d528fde67df98e9b465a", + "url": "https://api.github.com/repos/livewire/livewire/zipball/7d657d0dd8761a981f7ac3cd8d71c3b724f3e0b8", + "reference": "7d657d0dd8761a981f7ac3cd8d71c3b724f3e0b8", "shasum": "" }, "require": { - "illuminate/database": "^7.0|^8.0|^9.0", - "illuminate/support": "^7.0|^8.0|^9.0", - "illuminate/validation": "^7.0|^8.0|^9.0", + "illuminate/database": "^7.0|^8.0|^9.0|^10.0", + "illuminate/support": "^7.0|^8.0|^9.0|^10.0", + "illuminate/validation": "^7.0|^8.0|^9.0|^10.0", "league/mime-type-detection": "^1.9", "php": "^7.2.5|^8.0", "symfony/http-kernel": "^5.0|^6.0" }, "require-dev": { "calebporzio/sushi": "^2.1", - "laravel/framework": "^7.0|^8.0|^9.0", + "laravel/framework": "^7.0|^8.0|^9.0|^10.0", "mockery/mockery": "^1.3.1", - "orchestra/testbench": "^5.0|^6.0|^7.0", - "orchestra/testbench-dusk": "^5.2|^6.0|^7.0", + "orchestra/testbench": "^5.0|^6.0|^7.0|^8.0", + "orchestra/testbench-dusk": "^5.2|^6.0|^7.0|^8.0", "phpunit/phpunit": "^8.4|^9.0", "psy/psysh": "@stable" }, @@ -3887,7 +4177,7 @@ "description": "A front-end framework for Laravel.", "support": { "issues": "https://github.com/livewire/livewire/issues", - "source": "https://github.com/livewire/livewire/tree/v2.10.8" + "source": "https://github.com/livewire/livewire/tree/v2.12.8" }, "funding": [ { @@ -3895,46 +4185,112 @@ "type": "github" } ], - "time": "2022-12-21T22:28:25+00:00" + "time": "2024-07-13T19:58:46+00:00" + }, + { + "name": "masterminds/html5", + "version": "2.9.0", + "source": { + "type": "git", + "url": "https://github.com/Masterminds/html5-php.git", + "reference": "f5ac2c0b0a2eefca70b2ce32a5809992227e75a6" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Masterminds/html5-php/zipball/f5ac2c0b0a2eefca70b2ce32a5809992227e75a6", + "reference": "f5ac2c0b0a2eefca70b2ce32a5809992227e75a6", + "shasum": "" + }, + "require": { + "ext-dom": "*", + "php": ">=5.3.0" + }, + "require-dev": { + "phpunit/phpunit": "^4.8.35 || ^5.7.21 || ^6 || ^7 || ^8 || ^9" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.7-dev" + } + }, + "autoload": { + "psr-4": { + "Masterminds\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Matt Butcher", + "email": "technosophos@gmail.com" + }, + { + "name": "Matt Farina", + "email": "matt@mattfarina.com" + }, + { + "name": "Asmir Mustafic", + "email": "goetas@gmail.com" + } + ], + "description": "An HTML5 parser and serializer.", + "homepage": "http://masterminds.github.io/html5-php", + "keywords": [ + "HTML5", + "dom", + "html", + "parser", + "querypath", + "serializer", + "xml" + ], + "support": { + "issues": "https://github.com/Masterminds/html5-php/issues", + "source": "https://github.com/Masterminds/html5-php/tree/2.9.0" + }, + "time": "2024-03-31T07:05:07+00:00" }, { "name": "monolog/monolog", - "version": "2.8.0", + "version": "3.7.0", "source": { "type": "git", "url": "https://github.com/Seldaek/monolog.git", - "reference": "720488632c590286b88b80e62aa3d3d551ad4a50" + "reference": "f4393b648b78a5408747de94fca38beb5f7e9ef8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Seldaek/monolog/zipball/720488632c590286b88b80e62aa3d3d551ad4a50", - "reference": "720488632c590286b88b80e62aa3d3d551ad4a50", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/f4393b648b78a5408747de94fca38beb5f7e9ef8", + "reference": "f4393b648b78a5408747de94fca38beb5f7e9ef8", "shasum": "" }, "require": { - "php": ">=7.2", - "psr/log": "^1.0.1 || ^2.0 || ^3.0" + "php": ">=8.1", + "psr/log": "^2.0 || ^3.0" }, "provide": { - "psr/log-implementation": "1.0.0 || 2.0.0 || 3.0.0" + "psr/log-implementation": "3.0.0" }, "require-dev": { - "aws/aws-sdk-php": "^2.4.9 || ^3.0", + "aws/aws-sdk-php": "^3.0", "doctrine/couchdb": "~1.0@dev", "elasticsearch/elasticsearch": "^7 || ^8", "ext-json": "*", - "graylog2/gelf-php": "^1.4.2", - "guzzlehttp/guzzle": "^7.4", + "graylog2/gelf-php": "^1.4.2 || ^2.0", + "guzzlehttp/guzzle": "^7.4.5", "guzzlehttp/psr7": "^2.2", "mongodb/mongodb": "^1.8", "php-amqplib/php-amqplib": "~2.4 || ^3", - "phpspec/prophecy": "^1.15", - "phpstan/phpstan": "^0.12.91", - "phpunit/phpunit": "^8.5.14", - "predis/predis": "^1.1 || ^2.0", - "rollbar/rollbar": "^1.3 || ^2 || ^3", + "phpstan/phpstan": "^1.9", + "phpstan/phpstan-deprecation-rules": "^1.0", + "phpstan/phpstan-strict-rules": "^1.4", + "phpunit/phpunit": "^10.5.17", + "predis/predis": "^1.1 || ^2", "ruflin/elastica": "^7", - "swiftmailer/swiftmailer": "^5.3|^6.0", "symfony/mailer": "^5.4 || ^6", "symfony/mime": "^5.4 || ^6" }, @@ -3957,7 +4313,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "2.x-dev" + "dev-main": "3.x-dev" } }, "autoload": { @@ -3985,7 +4341,7 @@ ], "support": { "issues": "https://github.com/Seldaek/monolog/issues", - "source": "https://github.com/Seldaek/monolog/tree/2.8.0" + "source": "https://github.com/Seldaek/monolog/tree/3.7.0" }, "funding": [ { @@ -3997,29 +4353,29 @@ "type": "tidelift" } ], - "time": "2022-07-24T11:55:47+00:00" + "time": "2024-06-28T09:40:51+00:00" }, { "name": "mtdowling/jmespath.php", - "version": "2.6.1", + "version": "2.7.0", "source": { "type": "git", "url": "https://github.com/jmespath/jmespath.php.git", - "reference": "9b87907a81b87bc76d19a7fb2d61e61486ee9edb" + "reference": "bbb69a935c2cbb0c03d7f481a238027430f6440b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/jmespath/jmespath.php/zipball/9b87907a81b87bc76d19a7fb2d61e61486ee9edb", - "reference": "9b87907a81b87bc76d19a7fb2d61e61486ee9edb", + "url": "https://api.github.com/repos/jmespath/jmespath.php/zipball/bbb69a935c2cbb0c03d7f481a238027430f6440b", + "reference": "bbb69a935c2cbb0c03d7f481a238027430f6440b", "shasum": "" }, "require": { - "php": "^5.4 || ^7.0 || ^8.0", + "php": "^7.2.5 || ^8.0", "symfony/polyfill-mbstring": "^1.17" }, "require-dev": { - "composer/xdebug-handler": "^1.4 || ^2.0", - "phpunit/phpunit": "^4.8.36 || ^7.5.15" + "composer/xdebug-handler": "^3.0.3", + "phpunit/phpunit": "^8.5.33" }, "bin": [ "bin/jp.php" @@ -4027,7 +4383,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "2.6-dev" + "dev-master": "2.7-dev" } }, "autoload": { @@ -4043,6 +4399,11 @@ "MIT" ], "authors": [ + { + "name": "Graham Campbell", + "email": "hello@gjcampbell.co.uk", + "homepage": "https://github.com/GrahamCampbell" + }, { "name": "Michael Dowling", "email": "mtdowling@gmail.com", @@ -4056,34 +4417,39 @@ ], "support": { "issues": "https://github.com/jmespath/jmespath.php/issues", - "source": "https://github.com/jmespath/jmespath.php/tree/2.6.1" + "source": "https://github.com/jmespath/jmespath.php/tree/2.7.0" }, - "time": "2021-06-14T00:11:39+00:00" + "time": "2023-08-25T10:54:48+00:00" }, { "name": "nesbot/carbon", - "version": "2.64.1", + "version": "2.72.5", "source": { "type": "git", "url": "https://github.com/briannesbitt/Carbon.git", - "reference": "f2e59963f4c4f4fdfb9fcfd752e8d2e2b79a4e2c" + "reference": "afd46589c216118ecd48ff2b95d77596af1e57ed" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/f2e59963f4c4f4fdfb9fcfd752e8d2e2b79a4e2c", - "reference": "f2e59963f4c4f4fdfb9fcfd752e8d2e2b79a4e2c", + "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/afd46589c216118ecd48ff2b95d77596af1e57ed", + "reference": "afd46589c216118ecd48ff2b95d77596af1e57ed", "shasum": "" }, "require": { + "carbonphp/carbon-doctrine-types": "*", "ext-json": "*", "php": "^7.1.8 || ^8.0", + "psr/clock": "^1.0", "symfony/polyfill-mbstring": "^1.0", "symfony/polyfill-php80": "^1.16", "symfony/translation": "^3.4 || ^4.0 || ^5.0 || ^6.0" }, + "provide": { + "psr/clock-implementation": "1.0" + }, "require-dev": { - "doctrine/dbal": "^2.0 || ^3.1.4", - "doctrine/orm": "^2.7", + "doctrine/dbal": "^2.0 || ^3.1.4 || ^4.0", + "doctrine/orm": "^2.7 || ^3.0", "friendsofphp/php-cs-fixer": "^3.0", "kylekatarnls/multi-tester": "^2.0", "ondrejmirtes/better-reflection": "*", @@ -4100,8 +4466,8 @@ "type": "library", "extra": { "branch-alias": { - "dev-3.x": "3.x-dev", - "dev-master": "2.x-dev" + "dev-master": "3.x-dev", + "dev-2.x": "2.x-dev" }, "laravel": { "providers": [ @@ -4160,35 +4526,35 @@ "type": "tidelift" } ], - "time": "2023-01-01T23:17:36+00:00" + "time": "2024-06-03T19:18:41+00:00" }, { "name": "nette/schema", - "version": "v1.2.3", + "version": "v1.3.0", "source": { "type": "git", "url": "https://github.com/nette/schema.git", - "reference": "abbdbb70e0245d5f3bf77874cea1dfb0c930d06f" + "reference": "a6d3a6d1f545f01ef38e60f375d1cf1f4de98188" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nette/schema/zipball/abbdbb70e0245d5f3bf77874cea1dfb0c930d06f", - "reference": "abbdbb70e0245d5f3bf77874cea1dfb0c930d06f", + "url": "https://api.github.com/repos/nette/schema/zipball/a6d3a6d1f545f01ef38e60f375d1cf1f4de98188", + "reference": "a6d3a6d1f545f01ef38e60f375d1cf1f4de98188", "shasum": "" }, "require": { - "nette/utils": "^2.5.7 || ^3.1.5 || ^4.0", - "php": ">=7.1 <8.3" + "nette/utils": "^4.0", + "php": "8.1 - 8.3" }, "require-dev": { - "nette/tester": "^2.3 || ^2.4", + "nette/tester": "^2.4", "phpstan/phpstan-nette": "^1.0", - "tracy/tracy": "^2.7" + "tracy/tracy": "^2.8" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.2-dev" + "dev-master": "1.3-dev" } }, "autoload": { @@ -4220,34 +4586,36 @@ ], "support": { "issues": "https://github.com/nette/schema/issues", - "source": "https://github.com/nette/schema/tree/v1.2.3" + "source": "https://github.com/nette/schema/tree/v1.3.0" }, - "time": "2022-10-13T01:24:26+00:00" + "time": "2023-12-11T11:54:22+00:00" }, { "name": "nette/utils", - "version": "v3.2.8", + "version": "v4.0.5", "source": { "type": "git", "url": "https://github.com/nette/utils.git", - "reference": "02a54c4c872b99e4ec05c4aec54b5a06eb0f6368" + "reference": "736c567e257dbe0fcf6ce81b4d6dbe05c6899f96" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nette/utils/zipball/02a54c4c872b99e4ec05c4aec54b5a06eb0f6368", - "reference": "02a54c4c872b99e4ec05c4aec54b5a06eb0f6368", + "url": "https://api.github.com/repos/nette/utils/zipball/736c567e257dbe0fcf6ce81b4d6dbe05c6899f96", + "reference": "736c567e257dbe0fcf6ce81b4d6dbe05c6899f96", "shasum": "" }, "require": { - "php": ">=7.2 <8.3" + "php": "8.0 - 8.4" }, "conflict": { - "nette/di": "<3.0.6" + "nette/finder": "<3", + "nette/schema": "<1.2.2" }, "require-dev": { - "nette/tester": "~2.0", + "jetbrains/phpstorm-attributes": "dev-master", + "nette/tester": "^2.5", "phpstan/phpstan": "^1.0", - "tracy/tracy": "^2.3" + "tracy/tracy": "^2.9" }, "suggest": { "ext-gd": "to use Image", @@ -4255,13 +4623,12 @@ "ext-intl": "to use Strings::webalize(), toAscii(), normalize() and compare()", "ext-json": "to use Nette\\Utils\\Json", "ext-mbstring": "to use Strings::lower() etc...", - "ext-tokenizer": "to use Nette\\Utils\\Reflection::getUseStatements()", - "ext-xml": "to use Strings::length() etc. when mbstring is not available" + "ext-tokenizer": "to use Nette\\Utils\\Reflection::getUseStatements()" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.2-dev" + "dev-master": "4.0-dev" } }, "autoload": { @@ -4305,9 +4672,9 @@ ], "support": { "issues": "https://github.com/nette/utils/issues", - "source": "https://github.com/nette/utils/tree/v3.2.8" + "source": "https://github.com/nette/utils/tree/v4.0.5" }, - "time": "2022-09-12T23:36:20+00:00" + "time": "2024-08-07T15:39:19+00:00" }, { "name": "nicmart/tree", @@ -4357,25 +4724,27 @@ }, { "name": "nikic/php-parser", - "version": "v4.15.2", + "version": "v5.1.0", "source": { "type": "git", "url": "https://github.com/nikic/PHP-Parser.git", - "reference": "f59bbe44bf7d96f24f3e2b4ddc21cd52c1d2adbc" + "reference": "683130c2ff8c2739f4822ff7ac5c873ec529abd1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/f59bbe44bf7d96f24f3e2b4ddc21cd52c1d2adbc", - "reference": "f59bbe44bf7d96f24f3e2b4ddc21cd52c1d2adbc", + "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/683130c2ff8c2739f4822ff7ac5c873ec529abd1", + "reference": "683130c2ff8c2739f4822ff7ac5c873ec529abd1", "shasum": "" }, "require": { + "ext-ctype": "*", + "ext-json": "*", "ext-tokenizer": "*", - "php": ">=7.0" + "php": ">=7.4" }, "require-dev": { "ircmaxell/php-yacc": "^0.0.7", - "phpunit/phpunit": "^6.5 || ^7.0 || ^8.0 || ^9.0" + "phpunit/phpunit": "^9.0" }, "bin": [ "bin/php-parse" @@ -4383,7 +4752,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "4.9-dev" + "dev-master": "5.0-dev" } }, "autoload": { @@ -4407,22 +4776,22 @@ ], "support": { "issues": "https://github.com/nikic/PHP-Parser/issues", - "source": "https://github.com/nikic/PHP-Parser/tree/v4.15.2" + "source": "https://github.com/nikic/PHP-Parser/tree/v5.1.0" }, - "time": "2022-11-12T15:38:23+00:00" + "time": "2024-07-01T20:03:41+00:00" }, { "name": "nunomaduro/termwind", - "version": "v1.15.0", + "version": "v1.15.1", "source": { "type": "git", "url": "https://github.com/nunomaduro/termwind.git", - "reference": "594ab862396c16ead000de0c3c38f4a5cbe1938d" + "reference": "8ab0b32c8caa4a2e09700ea32925441385e4a5dc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nunomaduro/termwind/zipball/594ab862396c16ead000de0c3c38f4a5cbe1938d", - "reference": "594ab862396c16ead000de0c3c38f4a5cbe1938d", + "url": "https://api.github.com/repos/nunomaduro/termwind/zipball/8ab0b32c8caa4a2e09700ea32925441385e4a5dc", + "reference": "8ab0b32c8caa4a2e09700ea32925441385e4a5dc", "shasum": "" }, "require": { @@ -4479,7 +4848,7 @@ ], "support": { "issues": "https://github.com/nunomaduro/termwind/issues", - "source": "https://github.com/nunomaduro/termwind/tree/v1.15.0" + "source": "https://github.com/nunomaduro/termwind/tree/v1.15.1" }, "funding": [ { @@ -4495,42 +4864,43 @@ "type": "github" } ], - "time": "2022-12-20T19:00:15+00:00" + "time": "2023-02-08T01:06:31+00:00" }, { "name": "nyholm/psr7", - "version": "1.5.1", + "version": "1.8.1", "source": { "type": "git", "url": "https://github.com/Nyholm/psr7.git", - "reference": "f734364e38a876a23be4d906a2a089e1315be18a" + "reference": "aa5fc277a4f5508013d571341ade0c3886d4d00e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Nyholm/psr7/zipball/f734364e38a876a23be4d906a2a089e1315be18a", - "reference": "f734364e38a876a23be4d906a2a089e1315be18a", + "url": "https://api.github.com/repos/Nyholm/psr7/zipball/aa5fc277a4f5508013d571341ade0c3886d4d00e", + "reference": "aa5fc277a4f5508013d571341ade0c3886d4d00e", "shasum": "" }, "require": { - "php": ">=7.1", - "php-http/message-factory": "^1.0", + "php": ">=7.2", "psr/http-factory": "^1.0", - "psr/http-message": "^1.0" + "psr/http-message": "^1.1 || ^2.0" }, "provide": { + "php-http/message-factory-implementation": "1.0", "psr/http-factory-implementation": "1.0", "psr/http-message-implementation": "1.0" }, "require-dev": { "http-interop/http-factory-tests": "^0.9", + "php-http/message-factory": "^1.0", "php-http/psr7-integration-tests": "^1.0", - "phpunit/phpunit": "^7.5 || 8.5 || 9.4", + "phpunit/phpunit": "^7.5 || ^8.5 || ^9.4", "symfony/error-handler": "^4.4" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.4-dev" + "dev-master": "1.8-dev" } }, "autoload": { @@ -4560,7 +4930,7 @@ ], "support": { "issues": "https://github.com/Nyholm/psr7/issues", - "source": "https://github.com/Nyholm/psr7/tree/1.5.1" + "source": "https://github.com/Nyholm/psr7/tree/1.8.1" }, "funding": [ { @@ -4572,28 +4942,28 @@ "type": "github" } ], - "time": "2022-06-22T07:13:36+00:00" + "time": "2023-11-13T09:31:12+00:00" }, { "name": "paragonie/constant_time_encoding", - "version": "v2.6.3", + "version": "v3.0.0", "source": { "type": "git", "url": "https://github.com/paragonie/constant_time_encoding.git", - "reference": "58c3f47f650c94ec05a151692652a868995d2938" + "reference": "df1e7fde177501eee2037dd159cf04f5f301a512" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/paragonie/constant_time_encoding/zipball/58c3f47f650c94ec05a151692652a868995d2938", - "reference": "58c3f47f650c94ec05a151692652a868995d2938", + "url": "https://api.github.com/repos/paragonie/constant_time_encoding/zipball/df1e7fde177501eee2037dd159cf04f5f301a512", + "reference": "df1e7fde177501eee2037dd159cf04f5f301a512", "shasum": "" }, "require": { - "php": "^7|^8" + "php": "^8" }, "require-dev": { - "phpunit/phpunit": "^6|^7|^8|^9", - "vimeo/psalm": "^1|^2|^3|^4" + "phpunit/phpunit": "^9", + "vimeo/psalm": "^4|^5" }, "type": "library", "autoload": { @@ -4639,7 +5009,7 @@ "issues": "https://github.com/paragonie/constant_time_encoding/issues", "source": "https://github.com/paragonie/constant_time_encoding" }, - "time": "2022-06-14T06:56:20+00:00" + "time": "2024-05-08T12:36:18+00:00" }, { "name": "paragonie/random_compat", @@ -4755,34 +5125,29 @@ }, { "name": "php-http/httplug", - "version": "2.3.0", + "version": "2.4.0", "source": { "type": "git", "url": "https://github.com/php-http/httplug.git", - "reference": "f640739f80dfa1152533976e3c112477f69274eb" + "reference": "625ad742c360c8ac580fcc647a1541d29e257f67" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-http/httplug/zipball/f640739f80dfa1152533976e3c112477f69274eb", - "reference": "f640739f80dfa1152533976e3c112477f69274eb", + "url": "https://api.github.com/repos/php-http/httplug/zipball/625ad742c360c8ac580fcc647a1541d29e257f67", + "reference": "625ad742c360c8ac580fcc647a1541d29e257f67", "shasum": "" }, "require": { "php": "^7.1 || ^8.0", "php-http/promise": "^1.1", "psr/http-client": "^1.0", - "psr/http-message": "^1.0" + "psr/http-message": "^1.0 || ^2.0" }, "require-dev": { - "friends-of-phpspec/phpspec-code-coverage": "^4.1", - "phpspec/phpspec": "^5.1 || ^6.0" + "friends-of-phpspec/phpspec-code-coverage": "^4.1 || ^5.0 || ^6.0", + "phpspec/phpspec": "^5.1 || ^6.0 || ^7.0" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.x-dev" - } - }, "autoload": { "psr-4": { "Http\\Client\\": "src/" @@ -4811,91 +5176,32 @@ ], "support": { "issues": "https://github.com/php-http/httplug/issues", - "source": "https://github.com/php-http/httplug/tree/2.3.0" - }, - "time": "2022-02-21T09:52:22+00:00" - }, - { - "name": "php-http/message-factory", - "version": "v1.0.2", - "source": { - "type": "git", - "url": "https://github.com/php-http/message-factory.git", - "reference": "a478cb11f66a6ac48d8954216cfed9aa06a501a1" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-http/message-factory/zipball/a478cb11f66a6ac48d8954216cfed9aa06a501a1", - "reference": "a478cb11f66a6ac48d8954216cfed9aa06a501a1", - "shasum": "" - }, - "require": { - "php": ">=5.4", - "psr/http-message": "^1.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0-dev" - } - }, - "autoload": { - "psr-4": { - "Http\\Message\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Márk Sági-Kazár", - "email": "mark.sagikazar@gmail.com" - } - ], - "description": "Factory interfaces for PSR-7 HTTP Message", - "homepage": "http://php-http.org", - "keywords": [ - "factory", - "http", - "message", - "stream", - "uri" - ], - "support": { - "issues": "https://github.com/php-http/message-factory/issues", - "source": "https://github.com/php-http/message-factory/tree/master" + "source": "https://github.com/php-http/httplug/tree/2.4.0" }, - "time": "2015-12-19T14:08:53+00:00" + "time": "2023-04-14T15:10:03+00:00" }, { "name": "php-http/promise", - "version": "1.1.0", + "version": "1.3.1", "source": { "type": "git", "url": "https://github.com/php-http/promise.git", - "reference": "4c4c1f9b7289a2ec57cde7f1e9762a5789506f88" + "reference": "fc85b1fba37c169a69a07ef0d5a8075770cc1f83" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-http/promise/zipball/4c4c1f9b7289a2ec57cde7f1e9762a5789506f88", - "reference": "4c4c1f9b7289a2ec57cde7f1e9762a5789506f88", + "url": "https://api.github.com/repos/php-http/promise/zipball/fc85b1fba37c169a69a07ef0d5a8075770cc1f83", + "reference": "fc85b1fba37c169a69a07ef0d5a8075770cc1f83", "shasum": "" }, "require": { "php": "^7.1 || ^8.0" }, "require-dev": { - "friends-of-phpspec/phpspec-code-coverage": "^4.3.2", - "phpspec/phpspec": "^5.1.2 || ^6.2" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.1-dev" - } + "friends-of-phpspec/phpspec-code-coverage": "^4.3.2 || ^6.3", + "phpspec/phpspec": "^5.1.2 || ^6.2 || ^7.4" }, + "type": "library", "autoload": { "psr-4": { "Http\\Promise\\": "src/" @@ -4922,36 +5228,36 @@ ], "support": { "issues": "https://github.com/php-http/promise/issues", - "source": "https://github.com/php-http/promise/tree/1.1.0" + "source": "https://github.com/php-http/promise/tree/1.3.1" }, - "time": "2020-07-07T09:29:14+00:00" + "time": "2024-03-15T13:55:21+00:00" }, { "name": "phpoption/phpoption", - "version": "1.9.0", + "version": "1.9.3", "source": { "type": "git", "url": "https://github.com/schmittjoh/php-option.git", - "reference": "dc5ff11e274a90cc1c743f66c9ad700ce50db9ab" + "reference": "e3fac8b24f56113f7cb96af14958c0dd16330f54" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/schmittjoh/php-option/zipball/dc5ff11e274a90cc1c743f66c9ad700ce50db9ab", - "reference": "dc5ff11e274a90cc1c743f66c9ad700ce50db9ab", + "url": "https://api.github.com/repos/schmittjoh/php-option/zipball/e3fac8b24f56113f7cb96af14958c0dd16330f54", + "reference": "e3fac8b24f56113f7cb96af14958c0dd16330f54", "shasum": "" }, "require": { "php": "^7.2.5 || ^8.0" }, "require-dev": { - "bamarni/composer-bin-plugin": "^1.8", - "phpunit/phpunit": "^8.5.28 || ^9.5.21" + "bamarni/composer-bin-plugin": "^1.8.2", + "phpunit/phpunit": "^8.5.39 || ^9.6.20 || ^10.5.28" }, "type": "library", "extra": { "bamarni-bin": { "bin-links": true, - "forward-command": true + "forward-command": false }, "branch-alias": { "dev-master": "1.9-dev" @@ -4987,7 +5293,7 @@ ], "support": { "issues": "https://github.com/schmittjoh/php-option/issues", - "source": "https://github.com/schmittjoh/php-option/tree/1.9.0" + "source": "https://github.com/schmittjoh/php-option/tree/1.9.3" }, "funding": [ { @@ -4999,24 +5305,24 @@ "type": "tidelift" } ], - "time": "2022-07-30T15:51:26+00:00" + "time": "2024-07-20T21:41:07+00:00" }, { "name": "phpseclib/phpseclib", - "version": "3.0.18", + "version": "3.0.39", "source": { "type": "git", "url": "https://github.com/phpseclib/phpseclib.git", - "reference": "f28693d38ba21bb0d9f0c411ee5dae2b178201da" + "reference": "211ebc399c6e73c225a018435fe5ae209d1d1485" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpseclib/phpseclib/zipball/f28693d38ba21bb0d9f0c411ee5dae2b178201da", - "reference": "f28693d38ba21bb0d9f0c411ee5dae2b178201da", + "url": "https://api.github.com/repos/phpseclib/phpseclib/zipball/211ebc399c6e73c225a018435fe5ae209d1d1485", + "reference": "211ebc399c6e73c225a018435fe5ae209d1d1485", "shasum": "" }, "require": { - "paragonie/constant_time_encoding": "^1|^2", + "paragonie/constant_time_encoding": "^1|^2|^3", "paragonie/random_compat": "^1.4|^2.0|^9.99.99", "php": ">=5.6.1" }, @@ -5093,7 +5399,7 @@ ], "support": { "issues": "https://github.com/phpseclib/phpseclib/issues", - "source": "https://github.com/phpseclib/phpseclib/tree/3.0.18" + "source": "https://github.com/phpseclib/phpseclib/tree/3.0.39" }, "funding": [ { @@ -5109,7 +5415,7 @@ "type": "tidelift" } ], - "time": "2022-12-17T18:26:50+00:00" + "time": "2024-06-24T06:27:33+00:00" }, { "name": "predis/predis", @@ -5379,21 +5685,21 @@ }, { "name": "psr/http-client", - "version": "1.0.1", + "version": "1.0.3", "source": { "type": "git", "url": "https://github.com/php-fig/http-client.git", - "reference": "2dfb5f6c5eff0e91e20e913f8c5452ed95b86621" + "reference": "bb5906edc1c324c9a05aa0873d40117941e5fa90" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/http-client/zipball/2dfb5f6c5eff0e91e20e913f8c5452ed95b86621", - "reference": "2dfb5f6c5eff0e91e20e913f8c5452ed95b86621", + "url": "https://api.github.com/repos/php-fig/http-client/zipball/bb5906edc1c324c9a05aa0873d40117941e5fa90", + "reference": "bb5906edc1c324c9a05aa0873d40117941e5fa90", "shasum": "" }, "require": { "php": "^7.0 || ^8.0", - "psr/http-message": "^1.0" + "psr/http-message": "^1.0 || ^2.0" }, "type": "library", "extra": { @@ -5413,7 +5719,7 @@ "authors": [ { "name": "PHP-FIG", - "homepage": "http://www.php-fig.org/" + "homepage": "https://www.php-fig.org/" } ], "description": "Common interface for HTTP clients", @@ -5425,27 +5731,27 @@ "psr-18" ], "support": { - "source": "https://github.com/php-fig/http-client/tree/master" + "source": "https://github.com/php-fig/http-client" }, - "time": "2020-06-29T06:28:15+00:00" + "time": "2023-09-23T14:17:50+00:00" }, { "name": "psr/http-factory", - "version": "1.0.1", + "version": "1.1.0", "source": { "type": "git", "url": "https://github.com/php-fig/http-factory.git", - "reference": "12ac7fcd07e5b077433f5f2bee95b3a771bf61be" + "reference": "2b4765fddfe3b508ac62f829e852b1501d3f6e8a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/http-factory/zipball/12ac7fcd07e5b077433f5f2bee95b3a771bf61be", - "reference": "12ac7fcd07e5b077433f5f2bee95b3a771bf61be", + "url": "https://api.github.com/repos/php-fig/http-factory/zipball/2b4765fddfe3b508ac62f829e852b1501d3f6e8a", + "reference": "2b4765fddfe3b508ac62f829e852b1501d3f6e8a", "shasum": "" }, "require": { - "php": ">=7.0.0", - "psr/http-message": "^1.0" + "php": ">=7.1", + "psr/http-message": "^1.0 || ^2.0" }, "type": "library", "extra": { @@ -5465,10 +5771,10 @@ "authors": [ { "name": "PHP-FIG", - "homepage": "http://www.php-fig.org/" + "homepage": "https://www.php-fig.org/" } ], - "description": "Common interfaces for PSR-7 HTTP message factories", + "description": "PSR-17: Common interfaces for PSR-7 HTTP message factories", "keywords": [ "factory", "http", @@ -5480,31 +5786,31 @@ "response" ], "support": { - "source": "https://github.com/php-fig/http-factory/tree/master" + "source": "https://github.com/php-fig/http-factory" }, - "time": "2019-04-30T12:38:16+00:00" + "time": "2024-04-15T12:06:14+00:00" }, { "name": "psr/http-message", - "version": "1.0.1", + "version": "2.0", "source": { "type": "git", "url": "https://github.com/php-fig/http-message.git", - "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363" + "reference": "402d35bcb92c70c026d1a6a9883f06b2ead23d71" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/http-message/zipball/f6561bf28d520154e4b0ec72be95418abe6d9363", - "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363", + "url": "https://api.github.com/repos/php-fig/http-message/zipball/402d35bcb92c70c026d1a6a9883f06b2ead23d71", + "reference": "402d35bcb92c70c026d1a6a9883f06b2ead23d71", "shasum": "" }, "require": { - "php": ">=5.3.0" + "php": "^7.2 || ^8.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.0.x-dev" + "dev-master": "2.0.x-dev" } }, "autoload": { @@ -5519,7 +5825,7 @@ "authors": [ { "name": "PHP-FIG", - "homepage": "http://www.php-fig.org/" + "homepage": "https://www.php-fig.org/" } ], "description": "Common interface for HTTP messages", @@ -5533,9 +5839,9 @@ "response" ], "support": { - "source": "https://github.com/php-fig/http-message/tree/master" + "source": "https://github.com/php-fig/http-message/tree/2.0" }, - "time": "2016-08-06T14:39:51+00:00" + "time": "2023-04-04T09:54:51+00:00" }, { "name": "psr/log", @@ -5640,25 +5946,25 @@ }, { "name": "psy/psysh", - "version": "v0.11.10", + "version": "v0.12.4", "source": { "type": "git", "url": "https://github.com/bobthecow/psysh.git", - "reference": "e9eadffbed9c9deb5426fd107faae0452bf20a36" + "reference": "2fd717afa05341b4f8152547f142cd2f130f6818" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/bobthecow/psysh/zipball/e9eadffbed9c9deb5426fd107faae0452bf20a36", - "reference": "e9eadffbed9c9deb5426fd107faae0452bf20a36", + "url": "https://api.github.com/repos/bobthecow/psysh/zipball/2fd717afa05341b4f8152547f142cd2f130f6818", + "reference": "2fd717afa05341b4f8152547f142cd2f130f6818", "shasum": "" }, "require": { "ext-json": "*", "ext-tokenizer": "*", - "nikic/php-parser": "^4.0 || ^3.1", - "php": "^8.0 || ^7.0.8", - "symfony/console": "^6.0 || ^5.0 || ^4.0 || ^3.4", - "symfony/var-dumper": "^6.0 || ^5.0 || ^4.0 || ^3.4" + "nikic/php-parser": "^5.0 || ^4.0", + "php": "^8.0 || ^7.4", + "symfony/console": "^7.0 || ^6.0 || ^5.0 || ^4.0 || ^3.4", + "symfony/var-dumper": "^7.0 || ^6.0 || ^5.0 || ^4.0 || ^3.4" }, "conflict": { "symfony/console": "4.4.37 || 5.3.14 || 5.3.15 || 5.4.3 || 5.4.4 || 6.0.3 || 6.0.4" @@ -5669,8 +5975,7 @@ "suggest": { "ext-pcntl": "Enabling the PCNTL extension makes PsySH a lot happier :)", "ext-pdo-sqlite": "The doc command requires SQLite to work.", - "ext-posix": "If you have PCNTL, you'll want the POSIX extension as well.", - "ext-readline": "Enables support for arrow-key history navigation, and showing and manipulating command history." + "ext-posix": "If you have PCNTL, you'll want the POSIX extension as well." }, "bin": [ "bin/psysh" @@ -5678,7 +5983,11 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "0.11.x-dev" + "dev-main": "0.12.x-dev" + }, + "bamarni-bin": { + "bin-links": false, + "forward-command": false } }, "autoload": { @@ -5710,9 +6019,9 @@ ], "support": { "issues": "https://github.com/bobthecow/psysh/issues", - "source": "https://github.com/bobthecow/psysh/tree/v0.11.10" + "source": "https://github.com/bobthecow/psysh/tree/v0.12.4" }, - "time": "2022-12-23T17:47:18+00:00" + "time": "2024-06-10T01:18:23+00:00" }, { "name": "ralouphie/getallheaders", @@ -5760,21 +6069,20 @@ }, { "name": "ramsey/collection", - "version": "1.3.0", + "version": "2.0.0", "source": { "type": "git", "url": "https://github.com/ramsey/collection.git", - "reference": "ad7475d1c9e70b190ecffc58f2d989416af339b4" + "reference": "a4b48764bfbb8f3a6a4d1aeb1a35bb5e9ecac4a5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ramsey/collection/zipball/ad7475d1c9e70b190ecffc58f2d989416af339b4", - "reference": "ad7475d1c9e70b190ecffc58f2d989416af339b4", + "url": "https://api.github.com/repos/ramsey/collection/zipball/a4b48764bfbb8f3a6a4d1aeb1a35bb5e9ecac4a5", + "reference": "a4b48764bfbb8f3a6a4d1aeb1a35bb5e9ecac4a5", "shasum": "" }, "require": { - "php": "^7.4 || ^8.0", - "symfony/polyfill-php81": "^1.23" + "php": "^8.1" }, "require-dev": { "captainhook/plugin-composer": "^5.3", @@ -5834,7 +6142,7 @@ ], "support": { "issues": "https://github.com/ramsey/collection/issues", - "source": "https://github.com/ramsey/collection/tree/1.3.0" + "source": "https://github.com/ramsey/collection/tree/2.0.0" }, "funding": [ { @@ -5846,24 +6154,24 @@ "type": "tidelift" } ], - "time": "2022-12-27T19:12:24+00:00" + "time": "2022-12-31T21:50:55+00:00" }, { "name": "ramsey/uuid", - "version": "4.7.1", + "version": "4.7.6", "source": { "type": "git", "url": "https://github.com/ramsey/uuid.git", - "reference": "a1acf96007170234a8399586a6e2ab8feba109d1" + "reference": "91039bc1faa45ba123c4328958e620d382ec7088" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ramsey/uuid/zipball/a1acf96007170234a8399586a6e2ab8feba109d1", - "reference": "a1acf96007170234a8399586a6e2ab8feba109d1", + "url": "https://api.github.com/repos/ramsey/uuid/zipball/91039bc1faa45ba123c4328958e620d382ec7088", + "reference": "91039bc1faa45ba123c4328958e620d382ec7088", "shasum": "" }, "require": { - "brick/math": "^0.8.8 || ^0.9 || ^0.10", + "brick/math": "^0.8.8 || ^0.9 || ^0.10 || ^0.11 || ^0.12", "ext-json": "*", "php": "^8.0", "ramsey/collection": "^1.2 || ^2.0" @@ -5926,7 +6234,7 @@ ], "support": { "issues": "https://github.com/ramsey/uuid/issues", - "source": "https://github.com/ramsey/uuid/tree/4.7.1" + "source": "https://github.com/ramsey/uuid/tree/4.7.6" }, "funding": [ { @@ -5938,28 +6246,28 @@ "type": "tidelift" } ], - "time": "2022-12-31T22:20:34+00:00" + "time": "2024-04-27T21:32:50+00:00" }, { "name": "spatie/browsershot", - "version": "3.57.6", + "version": "3.61.0", "source": { "type": "git", "url": "https://github.com/spatie/browsershot.git", - "reference": "41382e013a00a62a7b2f2945a615d73e59b3a907" + "reference": "14d75679390b8b84a71b3a17dc5905928deeb887" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/browsershot/zipball/41382e013a00a62a7b2f2945a615d73e59b3a907", - "reference": "41382e013a00a62a7b2f2945a615d73e59b3a907", + "url": "https://api.github.com/repos/spatie/browsershot/zipball/14d75679390b8b84a71b3a17dc5905928deeb887", + "reference": "14d75679390b8b84a71b3a17dc5905928deeb887", "shasum": "" }, "require": { "ext-json": "*", - "php": "^7.4|^8.0", + "php": "^8.0", "spatie/image": "^1.5.3|^2.0", "spatie/temporary-directory": "^1.1|^2.0", - "symfony/process": "^4.2|^5.0|^6.0" + "symfony/process": "^4.2|^5.0|^6.0|^7.0" }, "require-dev": { "pestphp/pest": "^1.20", @@ -5996,7 +6304,7 @@ "webpage" ], "support": { - "source": "https://github.com/spatie/browsershot/tree/3.57.6" + "source": "https://github.com/spatie/browsershot/tree/3.61.0" }, "funding": [ { @@ -6004,26 +6312,26 @@ "type": "github" } ], - "time": "2023-01-03T19:12:47+00:00" + "time": "2023-12-21T10:00:28+00:00" }, { "name": "spatie/crawler", - "version": "7.1.2", + "version": "7.1.3", "source": { "type": "git", "url": "https://github.com/spatie/crawler.git", - "reference": "aafde8073204e237958ae24cc81c67a7fd4d849b" + "reference": "f0f73947fdfaf68efdc68b73c4dbb28dfc785113" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/crawler/zipball/aafde8073204e237958ae24cc81c67a7fd4d849b", - "reference": "aafde8073204e237958ae24cc81c67a7fd4d849b", + "url": "https://api.github.com/repos/spatie/crawler/zipball/f0f73947fdfaf68efdc68b73c4dbb28dfc785113", + "reference": "f0f73947fdfaf68efdc68b73c4dbb28dfc785113", "shasum": "" }, "require": { "guzzlehttp/guzzle": "^7.3", "guzzlehttp/psr7": "^2.0", - "illuminate/collections": "^8.38|^9.0", + "illuminate/collections": "^8.38|^9.0|^10.0", "nicmart/tree": "^0.3.0", "php": "^8.0", "spatie/browsershot": "^3.45", @@ -6060,7 +6368,7 @@ ], "support": { "issues": "https://github.com/spatie/crawler/issues", - "source": "https://github.com/spatie/crawler/tree/7.1.2" + "source": "https://github.com/spatie/crawler/tree/7.1.3" }, "funding": [ { @@ -6072,20 +6380,20 @@ "type": "github" } ], - "time": "2022-05-30T08:30:32+00:00" + "time": "2023-01-24T07:47:06+00:00" }, { "name": "spatie/image", - "version": "2.2.4", + "version": "2.2.7", "source": { "type": "git", "url": "https://github.com/spatie/image.git", - "reference": "c2dc137c52d17bf12aff94ad051370c0f106b322" + "reference": "2f802853aab017aa615224daae1588054b5ab20e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/image/zipball/c2dc137c52d17bf12aff94ad051370c0f106b322", - "reference": "c2dc137c52d17bf12aff94ad051370c0f106b322", + "url": "https://api.github.com/repos/spatie/image/zipball/2f802853aab017aa615224daae1588054b5ab20e", + "reference": "2f802853aab017aa615224daae1588054b5ab20e", "shasum": "" }, "require": { @@ -6094,11 +6402,12 @@ "ext-mbstring": "*", "league/glide": "^2.2.2", "php": "^8.0", - "spatie/image-optimizer": "^1.1", + "spatie/image-optimizer": "^1.7", "spatie/temporary-directory": "^1.0|^2.0", "symfony/process": "^3.0|^4.0|^5.0|^6.0" }, "require-dev": { + "pestphp/pest": "^1.22", "phpunit/phpunit": "^9.5", "symfony/var-dumper": "^4.0|^5.0|^6.0", "vimeo/psalm": "^4.6" @@ -6128,7 +6437,7 @@ "spatie" ], "support": { - "source": "https://github.com/spatie/image/tree/2.2.4" + "source": "https://github.com/spatie/image/tree/2.2.7" }, "funding": [ { @@ -6140,31 +6449,32 @@ "type": "github" } ], - "time": "2022-08-09T10:18:57+00:00" + "time": "2023-07-24T13:54:13+00:00" }, { "name": "spatie/image-optimizer", - "version": "1.6.2", + "version": "1.7.5", "source": { "type": "git", "url": "https://github.com/spatie/image-optimizer.git", - "reference": "6db75529cbf8fa84117046a9d513f277aead90a0" + "reference": "43aff6725cd87bb78ccd8532633cfa8bdc962505" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/image-optimizer/zipball/6db75529cbf8fa84117046a9d513f277aead90a0", - "reference": "6db75529cbf8fa84117046a9d513f277aead90a0", + "url": "https://api.github.com/repos/spatie/image-optimizer/zipball/43aff6725cd87bb78ccd8532633cfa8bdc962505", + "reference": "43aff6725cd87bb78ccd8532633cfa8bdc962505", "shasum": "" }, "require": { "ext-fileinfo": "*", "php": "^7.3|^8.0", "psr/log": "^1.0 | ^2.0 | ^3.0", - "symfony/process": "^4.2|^5.0|^6.0" + "symfony/process": "^4.2|^5.0|^6.0|^7.0" }, "require-dev": { + "pestphp/pest": "^1.21", "phpunit/phpunit": "^8.5.21|^9.4.4", - "symfony/var-dumper": "^4.2|^5.0|^6.0" + "symfony/var-dumper": "^4.2|^5.0|^6.0|^7.0" }, "type": "library", "autoload": { @@ -6192,36 +6502,35 @@ ], "support": { "issues": "https://github.com/spatie/image-optimizer/issues", - "source": "https://github.com/spatie/image-optimizer/tree/1.6.2" + "source": "https://github.com/spatie/image-optimizer/tree/1.7.5" }, - "time": "2021-12-21T10:08:05+00:00" + "time": "2024-05-16T08:48:33+00:00" }, { "name": "spatie/laravel-feed", - "version": "4.2.0", + "version": "4.4.0", "source": { "type": "git", "url": "https://github.com/spatie/laravel-feed.git", - "reference": "09afe082ab06ef991dfe1af63c6a223001da3c4a" + "reference": "8cd283bbb998beb3ae220e71bae162e52dfbd1d9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/laravel-feed/zipball/09afe082ab06ef991dfe1af63c6a223001da3c4a", - "reference": "09afe082ab06ef991dfe1af63c6a223001da3c4a", + "url": "https://api.github.com/repos/spatie/laravel-feed/zipball/8cd283bbb998beb3ae220e71bae162e52dfbd1d9", + "reference": "8cd283bbb998beb3ae220e71bae162e52dfbd1d9", "shasum": "" }, "require": { - "illuminate/contracts": "^8.0|^9.0", - "illuminate/http": "^8.0|^9.0", - "illuminate/support": "^8.0|^9.0", + "illuminate/contracts": "^10.0|^11.0", + "illuminate/http": "^10.0|^11.0", + "illuminate/support": "^10.0|^11.0", "php": "^8.0", - "spatie/laravel-package-tools": "^1.9" + "spatie/laravel-package-tools": "^1.15" }, "require-dev": { - "orchestra/testbench": "^6.23|^7.0", - "pestphp/pest": "^1.22", - "phpunit/phpunit": "^9.5", - "spatie/pest-plugin-snapshots": "^1.1", + "orchestra/testbench": "^8.0|^9.0", + "pestphp/pest": "^2.0", + "spatie/pest-plugin-snapshots": "^2.0", "spatie/test-time": "^1.2" }, "type": "library", @@ -6275,7 +6584,7 @@ "spatie" ], "support": { - "source": "https://github.com/spatie/laravel-feed/tree/4.2.0" + "source": "https://github.com/spatie/laravel-feed/tree/4.4.0" }, "funding": [ { @@ -6287,29 +6596,29 @@ "type": "github" } ], - "time": "2022-11-04T23:20:21+00:00" + "time": "2024-03-01T10:20:32+00:00" }, { "name": "spatie/laravel-package-tools", - "version": "1.13.8", + "version": "1.16.4", "source": { "type": "git", "url": "https://github.com/spatie/laravel-package-tools.git", - "reference": "781a2f637237e69c277eb401063acf15e2b4156b" + "reference": "ddf678e78d7f8b17e5cdd99c0c3413a4a6592e53" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/laravel-package-tools/zipball/781a2f637237e69c277eb401063acf15e2b4156b", - "reference": "781a2f637237e69c277eb401063acf15e2b4156b", + "url": "https://api.github.com/repos/spatie/laravel-package-tools/zipball/ddf678e78d7f8b17e5cdd99c0c3413a4a6592e53", + "reference": "ddf678e78d7f8b17e5cdd99c0c3413a4a6592e53", "shasum": "" }, "require": { - "illuminate/contracts": "^9.28", + "illuminate/contracts": "^9.28|^10.0|^11.0", "php": "^8.0" }, "require-dev": { "mockery/mockery": "^1.5", - "orchestra/testbench": "^7.7", + "orchestra/testbench": "^7.7|^8.0", "pestphp/pest": "^1.22", "phpunit/phpunit": "^9.5.24", "spatie/pest-plugin-test-time": "^1.1" @@ -6339,7 +6648,7 @@ ], "support": { "issues": "https://github.com/spatie/laravel-package-tools/issues", - "source": "https://github.com/spatie/laravel-package-tools/tree/1.13.8" + "source": "https://github.com/spatie/laravel-package-tools/tree/1.16.4" }, "funding": [ { @@ -6347,26 +6656,26 @@ "type": "github" } ], - "time": "2022-12-20T14:09:05+00:00" + "time": "2024-03-20T07:29:11+00:00" }, { "name": "spatie/laravel-sitemap", - "version": "6.2.3", + "version": "6.4.0", "source": { "type": "git", "url": "https://github.com/spatie/laravel-sitemap.git", - "reference": "fcda88100cfcd14766a2b31d4710b9acf4f7e95e" + "reference": "d5115b430de517aaa29a6410f4cd6f1561766579" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/laravel-sitemap/zipball/fcda88100cfcd14766a2b31d4710b9acf4f7e95e", - "reference": "fcda88100cfcd14766a2b31d4710b9acf4f7e95e", + "url": "https://api.github.com/repos/spatie/laravel-sitemap/zipball/d5115b430de517aaa29a6410f4cd6f1561766579", + "reference": "d5115b430de517aaa29a6410f4cd6f1561766579", "shasum": "" }, "require": { "guzzlehttp/guzzle": "^7.2", - "illuminate/support": "^8.0|^9.0", - "nesbot/carbon": "^2.0", + "illuminate/support": "^8.0|^9.0|^10.0", + "nesbot/carbon": "^2.63", "php": "^8.0", "spatie/crawler": "^7.0", "spatie/laravel-package-tools": "^1.5", @@ -6374,8 +6683,10 @@ }, "require-dev": { "mockery/mockery": "^1.4", - "orchestra/testbench": "^6.23|^7.0", + "orchestra/testbench": "^6.23|^7.0|^8.0", + "pestphp/pest": "^1.22", "phpunit/phpunit": "^9.5", + "spatie/pest-plugin-snapshots": "^1.1", "spatie/phpunit-snapshot-assertions": "^4.0", "spatie/temporary-directory": "^2.0" }, @@ -6411,7 +6722,7 @@ "spatie" ], "support": { - "source": "https://github.com/spatie/laravel-sitemap/tree/6.2.3" + "source": "https://github.com/spatie/laravel-sitemap/tree/6.4.0" }, "funding": [ { @@ -6419,28 +6730,27 @@ "type": "custom" } ], - "time": "2022-10-24T15:41:02+00:00" + "time": "2023-10-18T14:38:11+00:00" }, { "name": "spatie/robots-txt", - "version": "2.0.2", + "version": "2.2.0", "source": { "type": "git", "url": "https://github.com/spatie/robots-txt.git", - "reference": "f40a12b89f98dd18f3665673d04757298f5fbbf9" + "reference": "02722a0256731e7996bb9d0e544238a408e78bf5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/robots-txt/zipball/f40a12b89f98dd18f3665673d04757298f5fbbf9", - "reference": "f40a12b89f98dd18f3665673d04757298f5fbbf9", + "url": "https://api.github.com/repos/spatie/robots-txt/zipball/02722a0256731e7996bb9d0e544238a408e78bf5", + "reference": "02722a0256731e7996bb9d0e544238a408e78bf5", "shasum": "" }, "require": { - "php": "^8.0" + "php": "^8.1" }, "require-dev": { - "larapack/dd": "^1.0", - "phpunit/phpunit": "^8.0 || ^9.0" + "phpunit/phpunit": "^9.0|^10.0" }, "type": "library", "autoload": { @@ -6468,7 +6778,7 @@ ], "support": { "issues": "https://github.com/spatie/robots-txt/issues", - "source": "https://github.com/spatie/robots-txt/tree/2.0.2" + "source": "https://github.com/spatie/robots-txt/tree/2.2.0" }, "funding": [ { @@ -6480,20 +6790,20 @@ "type": "github" } ], - "time": "2022-05-18T15:14:21+00:00" + "time": "2024-04-22T14:28:40+00:00" }, { "name": "spatie/temporary-directory", - "version": "2.1.1", + "version": "2.2.1", "source": { "type": "git", "url": "https://github.com/spatie/temporary-directory.git", - "reference": "e2818d871783d520b319c2d38dc37c10ecdcde20" + "reference": "76949fa18f8e1a7f663fd2eaa1d00e0bcea0752a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/temporary-directory/zipball/e2818d871783d520b319c2d38dc37c10ecdcde20", - "reference": "e2818d871783d520b319c2d38dc37c10ecdcde20", + "url": "https://api.github.com/repos/spatie/temporary-directory/zipball/76949fa18f8e1a7f663fd2eaa1d00e0bcea0752a", + "reference": "76949fa18f8e1a7f663fd2eaa1d00e0bcea0752a", "shasum": "" }, "require": { @@ -6529,7 +6839,7 @@ ], "support": { "issues": "https://github.com/spatie/temporary-directory/issues", - "source": "https://github.com/spatie/temporary-directory/tree/2.1.1" + "source": "https://github.com/spatie/temporary-directory/tree/2.2.1" }, "funding": [ { @@ -6541,54 +6851,7 @@ "type": "github" } ], - "time": "2022-08-23T07:15:15+00:00" - }, - { - "name": "stella-maris/clock", - "version": "0.1.7", - "source": { - "type": "git", - "url": "https://github.com/stella-maris-solutions/clock.git", - "reference": "fa23ce16019289a18bb3446fdecd45befcdd94f8" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/stella-maris-solutions/clock/zipball/fa23ce16019289a18bb3446fdecd45befcdd94f8", - "reference": "fa23ce16019289a18bb3446fdecd45befcdd94f8", - "shasum": "" - }, - "require": { - "php": "^7.0|^8.0", - "psr/clock": "^1.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "StellaMaris\\Clock\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Andreas Heigl", - "role": "Maintainer" - } - ], - "description": "A pre-release of the proposed PSR-20 Clock-Interface", - "homepage": "https://gitlab.com/stella-maris/clock", - "keywords": [ - "clock", - "datetime", - "point in time", - "psr20" - ], - "support": { - "source": "https://github.com/stella-maris-solutions/clock/tree/0.1.7" - }, - "time": "2022-11-25T16:15:06+00:00" + "time": "2023-12-25T11:46:58+00:00" }, { "name": "stil/gd-text", @@ -6631,23 +6894,24 @@ }, { "name": "symfony/console", - "version": "v6.0.17", + "version": "v6.4.10", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "2ab307342a7233b9a260edd5ef94087aaca57d18" + "reference": "504974cbe43d05f83b201d6498c206f16fc0cdbc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/2ab307342a7233b9a260edd5ef94087aaca57d18", - "reference": "2ab307342a7233b9a260edd5ef94087aaca57d18", + "url": "https://api.github.com/repos/symfony/console/zipball/504974cbe43d05f83b201d6498c206f16fc0cdbc", + "reference": "504974cbe43d05f83b201d6498c206f16fc0cdbc", "shasum": "" }, "require": { - "php": ">=8.0.2", + "php": ">=8.1", + "symfony/deprecation-contracts": "^2.5|^3", "symfony/polyfill-mbstring": "~1.0", - "symfony/service-contracts": "^1.1|^2|^3", - "symfony/string": "^5.4|^6.0" + "symfony/service-contracts": "^2.5|^3", + "symfony/string": "^5.4|^6.0|^7.0" }, "conflict": { "symfony/dependency-injection": "<5.4", @@ -6661,18 +6925,16 @@ }, "require-dev": { "psr/log": "^1|^2|^3", - "symfony/config": "^5.4|^6.0", - "symfony/dependency-injection": "^5.4|^6.0", - "symfony/event-dispatcher": "^5.4|^6.0", - "symfony/lock": "^5.4|^6.0", - "symfony/process": "^5.4|^6.0", - "symfony/var-dumper": "^5.4|^6.0" - }, - "suggest": { - "psr/log": "For using the console logger", - "symfony/event-dispatcher": "", - "symfony/lock": "", - "symfony/process": "" + "symfony/config": "^5.4|^6.0|^7.0", + "symfony/dependency-injection": "^5.4|^6.0|^7.0", + "symfony/event-dispatcher": "^5.4|^6.0|^7.0", + "symfony/http-foundation": "^6.4|^7.0", + "symfony/http-kernel": "^6.4|^7.0", + "symfony/lock": "^5.4|^6.0|^7.0", + "symfony/messenger": "^5.4|^6.0|^7.0", + "symfony/process": "^5.4|^6.0|^7.0", + "symfony/stopwatch": "^5.4|^6.0|^7.0", + "symfony/var-dumper": "^5.4|^6.0|^7.0" }, "type": "library", "autoload": { @@ -6701,12 +6963,12 @@ "homepage": "https://symfony.com", "keywords": [ "cli", - "command line", + "command-line", "console", "terminal" ], "support": { - "source": "https://github.com/symfony/console/tree/v6.0.17" + "source": "https://github.com/symfony/console/tree/v6.4.10" }, "funding": [ { @@ -6722,24 +6984,24 @@ "type": "tidelift" } ], - "time": "2022-12-28T14:21:34+00:00" + "time": "2024-07-26T12:30:32+00:00" }, { "name": "symfony/css-selector", - "version": "v6.0.17", + "version": "v6.4.8", "source": { "type": "git", "url": "https://github.com/symfony/css-selector.git", - "reference": "3e526b732295b5d4c16c38d557b74ba8498a92b4" + "reference": "4b61b02fe15db48e3687ce1c45ea385d1780fe08" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/css-selector/zipball/3e526b732295b5d4c16c38d557b74ba8498a92b4", - "reference": "3e526b732295b5d4c16c38d557b74ba8498a92b4", + "url": "https://api.github.com/repos/symfony/css-selector/zipball/4b61b02fe15db48e3687ce1c45ea385d1780fe08", + "reference": "4b61b02fe15db48e3687ce1c45ea385d1780fe08", "shasum": "" }, "require": { - "php": ">=8.0.2" + "php": ">=8.1" }, "type": "library", "autoload": { @@ -6771,7 +7033,7 @@ "description": "Converts CSS selectors to XPath expressions", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/css-selector/tree/v6.0.17" + "source": "https://github.com/symfony/css-selector/tree/v6.4.8" }, "funding": [ { @@ -6787,29 +7049,29 @@ "type": "tidelift" } ], - "time": "2022-12-28T14:21:34+00:00" + "time": "2024-05-31T14:49:08+00:00" }, { "name": "symfony/deprecation-contracts", - "version": "v3.0.2", + "version": "v3.5.0", "source": { "type": "git", "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "26954b3d62a6c5fd0ea8a2a00c0353a14978d05c" + "reference": "0e0d29ce1f20deffb4ab1b016a7257c4f1e789a1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/26954b3d62a6c5fd0ea8a2a00c0353a14978d05c", - "reference": "26954b3d62a6c5fd0ea8a2a00c0353a14978d05c", + "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/0e0d29ce1f20deffb4ab1b016a7257c4f1e789a1", + "reference": "0e0d29ce1f20deffb4ab1b016a7257c4f1e789a1", "shasum": "" }, "require": { - "php": ">=8.0.2" + "php": ">=8.1" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "3.0-dev" + "dev-main": "3.5-dev" }, "thanks": { "name": "symfony/contracts", @@ -6838,7 +7100,7 @@ "description": "A generic function and convention to trigger deprecation notices", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.0.2" + "source": "https://github.com/symfony/deprecation-contracts/tree/v3.5.0" }, "funding": [ { @@ -6854,36 +7116,30 @@ "type": "tidelift" } ], - "time": "2022-01-02T09:55:41+00:00" + "time": "2024-04-18T09:32:20+00:00" }, { "name": "symfony/dom-crawler", - "version": "v6.0.17", + "version": "v6.4.8", "source": { "type": "git", "url": "https://github.com/symfony/dom-crawler.git", - "reference": "281d13dfd1a2ac4ca8be8c60b0af208ffdac95fe" + "reference": "105b56a0305d219349edeb60a800082eca864e4b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/dom-crawler/zipball/281d13dfd1a2ac4ca8be8c60b0af208ffdac95fe", - "reference": "281d13dfd1a2ac4ca8be8c60b0af208ffdac95fe", + "url": "https://api.github.com/repos/symfony/dom-crawler/zipball/105b56a0305d219349edeb60a800082eca864e4b", + "reference": "105b56a0305d219349edeb60a800082eca864e4b", "shasum": "" }, "require": { - "php": ">=8.0.2", + "masterminds/html5": "^2.6", + "php": ">=8.1", "symfony/polyfill-ctype": "~1.8", "symfony/polyfill-mbstring": "~1.0" }, - "conflict": { - "masterminds/html5": "<2.6" - }, "require-dev": { - "masterminds/html5": "^2.6", - "symfony/css-selector": "^5.4|^6.0" - }, - "suggest": { - "symfony/css-selector": "" + "symfony/css-selector": "^5.4|^6.0|^7.0" }, "type": "library", "autoload": { @@ -6911,7 +7167,7 @@ "description": "Eases DOM navigation for HTML and XML documents", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/dom-crawler/tree/v6.0.17" + "source": "https://github.com/symfony/dom-crawler/tree/v6.4.8" }, "funding": [ { @@ -6927,31 +7183,35 @@ "type": "tidelift" } ], - "time": "2022-12-22T17:53:58+00:00" + "time": "2024-05-31T14:49:08+00:00" }, { "name": "symfony/error-handler", - "version": "v6.0.17", + "version": "v6.4.10", "source": { "type": "git", "url": "https://github.com/symfony/error-handler.git", - "reference": "1113c4bcf3bc77a9c79562543317479c90ba7b82" + "reference": "231f1b2ee80f72daa1972f7340297d67439224f0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/error-handler/zipball/1113c4bcf3bc77a9c79562543317479c90ba7b82", - "reference": "1113c4bcf3bc77a9c79562543317479c90ba7b82", + "url": "https://api.github.com/repos/symfony/error-handler/zipball/231f1b2ee80f72daa1972f7340297d67439224f0", + "reference": "231f1b2ee80f72daa1972f7340297d67439224f0", "shasum": "" }, "require": { - "php": ">=8.0.2", + "php": ">=8.1", "psr/log": "^1|^2|^3", - "symfony/var-dumper": "^5.4|^6.0" + "symfony/var-dumper": "^5.4|^6.0|^7.0" + }, + "conflict": { + "symfony/deprecation-contracts": "<2.5", + "symfony/http-kernel": "<6.4" }, "require-dev": { - "symfony/deprecation-contracts": "^2.1|^3", - "symfony/http-kernel": "^5.4|^6.0", - "symfony/serializer": "^5.4|^6.0" + "symfony/deprecation-contracts": "^2.5|^3", + "symfony/http-kernel": "^6.4|^7.0", + "symfony/serializer": "^5.4|^6.0|^7.0" }, "bin": [ "Resources/bin/patch-type-declarations" @@ -6982,7 +7242,7 @@ "description": "Provides tools to manage errors and ease debugging PHP code", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/error-handler/tree/v6.0.17" + "source": "https://github.com/symfony/error-handler/tree/v6.4.10" }, "funding": [ { @@ -6998,28 +7258,29 @@ "type": "tidelift" } ], - "time": "2022-12-14T15:52:41+00:00" + "time": "2024-07-26T12:30:32+00:00" }, { "name": "symfony/event-dispatcher", - "version": "v6.0.17", + "version": "v6.4.8", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher.git", - "reference": "42b3985aa07837c9df36013ec5b965e9f2d480bc" + "reference": "8d7507f02b06e06815e56bb39aa0128e3806208b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/42b3985aa07837c9df36013ec5b965e9f2d480bc", - "reference": "42b3985aa07837c9df36013ec5b965e9f2d480bc", + "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/8d7507f02b06e06815e56bb39aa0128e3806208b", + "reference": "8d7507f02b06e06815e56bb39aa0128e3806208b", "shasum": "" }, "require": { - "php": ">=8.0.2", - "symfony/event-dispatcher-contracts": "^2|^3" + "php": ">=8.1", + "symfony/event-dispatcher-contracts": "^2.5|^3" }, "conflict": { - "symfony/dependency-injection": "<5.4" + "symfony/dependency-injection": "<5.4", + "symfony/service-contracts": "<2.5" }, "provide": { "psr/event-dispatcher-implementation": "1.0", @@ -7027,17 +7288,13 @@ }, "require-dev": { "psr/log": "^1|^2|^3", - "symfony/config": "^5.4|^6.0", - "symfony/dependency-injection": "^5.4|^6.0", - "symfony/error-handler": "^5.4|^6.0", - "symfony/expression-language": "^5.4|^6.0", - "symfony/http-foundation": "^5.4|^6.0", - "symfony/service-contracts": "^1.1|^2|^3", - "symfony/stopwatch": "^5.4|^6.0" - }, - "suggest": { - "symfony/dependency-injection": "", - "symfony/http-kernel": "" + "symfony/config": "^5.4|^6.0|^7.0", + "symfony/dependency-injection": "^5.4|^6.0|^7.0", + "symfony/error-handler": "^5.4|^6.0|^7.0", + "symfony/expression-language": "^5.4|^6.0|^7.0", + "symfony/http-foundation": "^5.4|^6.0|^7.0", + "symfony/service-contracts": "^2.5|^3", + "symfony/stopwatch": "^5.4|^6.0|^7.0" }, "type": "library", "autoload": { @@ -7065,7 +7322,7 @@ "description": "Provides tools that allow your application components to communicate with each other by dispatching events and listening to them", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/event-dispatcher/tree/v6.0.17" + "source": "https://github.com/symfony/event-dispatcher/tree/v6.4.8" }, "funding": [ { @@ -7081,33 +7338,30 @@ "type": "tidelift" } ], - "time": "2022-12-14T15:52:41+00:00" + "time": "2024-05-31T14:49:08+00:00" }, { "name": "symfony/event-dispatcher-contracts", - "version": "v3.0.2", + "version": "v3.5.0", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher-contracts.git", - "reference": "7bc61cc2db649b4637d331240c5346dcc7708051" + "reference": "8f93aec25d41b72493c6ddff14e916177c9efc50" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/7bc61cc2db649b4637d331240c5346dcc7708051", - "reference": "7bc61cc2db649b4637d331240c5346dcc7708051", + "url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/8f93aec25d41b72493c6ddff14e916177c9efc50", + "reference": "8f93aec25d41b72493c6ddff14e916177c9efc50", "shasum": "" }, "require": { - "php": ">=8.0.2", + "php": ">=8.1", "psr/event-dispatcher": "^1" }, - "suggest": { - "symfony/event-dispatcher-implementation": "" - }, "type": "library", "extra": { "branch-alias": { - "dev-main": "3.0-dev" + "dev-main": "3.5-dev" }, "thanks": { "name": "symfony/contracts", @@ -7144,7 +7398,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v3.0.2" + "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v3.5.0" }, "funding": [ { @@ -7160,24 +7414,27 @@ "type": "tidelift" } ], - "time": "2022-01-02T09:55:41+00:00" + "time": "2024-04-18T09:32:20+00:00" }, { "name": "symfony/finder", - "version": "v6.0.17", + "version": "v6.4.10", "source": { "type": "git", "url": "https://github.com/symfony/finder.git", - "reference": "d467d625fc88f7cebf96f495e588a7196a669db1" + "reference": "af29198d87112bebdd397bd7735fbd115997824c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/d467d625fc88f7cebf96f495e588a7196a669db1", - "reference": "d467d625fc88f7cebf96f495e588a7196a669db1", + "url": "https://api.github.com/repos/symfony/finder/zipball/af29198d87112bebdd397bd7735fbd115997824c", + "reference": "af29198d87112bebdd397bd7735fbd115997824c", "shasum": "" }, "require": { - "php": ">=8.0.2" + "php": ">=8.1" + }, + "require-dev": { + "symfony/filesystem": "^6.0|^7.0" }, "type": "library", "autoload": { @@ -7205,7 +7462,7 @@ "description": "Finds files and directories via an intuitive fluent interface", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/finder/tree/v6.0.17" + "source": "https://github.com/symfony/finder/tree/v6.4.10" }, "funding": [ { @@ -7221,38 +7478,40 @@ "type": "tidelift" } ], - "time": "2022-12-22T17:53:58+00:00" + "time": "2024-07-24T07:06:38+00:00" }, { "name": "symfony/http-foundation", - "version": "v6.0.17", + "version": "v6.4.10", "source": { "type": "git", "url": "https://github.com/symfony/http-foundation.git", - "reference": "22fe17e40b0481d39212e7165e004eb26422085d" + "reference": "117f1f20a7ade7bcea28b861fb79160a21a1e37b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-foundation/zipball/22fe17e40b0481d39212e7165e004eb26422085d", - "reference": "22fe17e40b0481d39212e7165e004eb26422085d", + "url": "https://api.github.com/repos/symfony/http-foundation/zipball/117f1f20a7ade7bcea28b861fb79160a21a1e37b", + "reference": "117f1f20a7ade7bcea28b861fb79160a21a1e37b", "shasum": "" }, "require": { - "php": ">=8.0.2", - "symfony/deprecation-contracts": "^2.1|^3", - "symfony/polyfill-mbstring": "~1.1" + "php": ">=8.1", + "symfony/deprecation-contracts": "^2.5|^3", + "symfony/polyfill-mbstring": "~1.1", + "symfony/polyfill-php83": "^1.27" }, - "require-dev": { - "predis/predis": "~1.0", - "symfony/cache": "^5.4|^6.0", - "symfony/dependency-injection": "^5.4|^6.0", - "symfony/expression-language": "^5.4|^6.0", - "symfony/http-kernel": "^5.4.12|^6.0.12|^6.1.4", - "symfony/mime": "^5.4|^6.0", - "symfony/rate-limiter": "^5.2|^6.0" + "conflict": { + "symfony/cache": "<6.3" }, - "suggest": { - "symfony/mime": "To use the file extension guesser" + "require-dev": { + "doctrine/dbal": "^2.13.1|^3|^4", + "predis/predis": "^1.1|^2.0", + "symfony/cache": "^6.3|^7.0", + "symfony/dependency-injection": "^5.4|^6.0|^7.0", + "symfony/expression-language": "^5.4|^6.0|^7.0", + "symfony/http-kernel": "^5.4.12|^6.0.12|^6.1.4|^7.0", + "symfony/mime": "^5.4|^6.0|^7.0", + "symfony/rate-limiter": "^5.4|^6.0|^7.0" }, "type": "library", "autoload": { @@ -7280,7 +7539,7 @@ "description": "Defines an object-oriented layer for the HTTP specification", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/http-foundation/tree/v6.0.17" + "source": "https://github.com/symfony/http-foundation/tree/v6.4.10" }, "funding": [ { @@ -7296,44 +7555,48 @@ "type": "tidelift" } ], - "time": "2022-12-14T15:52:41+00:00" + "time": "2024-07-26T12:36:27+00:00" }, { "name": "symfony/http-kernel", - "version": "v6.0.18", + "version": "v6.4.10", "source": { "type": "git", "url": "https://github.com/symfony/http-kernel.git", - "reference": "71b52f9e5740b124894b454244fa0db48bb15814" + "reference": "147e0daf618d7575b5007055340d09aece5cf068" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-kernel/zipball/71b52f9e5740b124894b454244fa0db48bb15814", - "reference": "71b52f9e5740b124894b454244fa0db48bb15814", + "url": "https://api.github.com/repos/symfony/http-kernel/zipball/147e0daf618d7575b5007055340d09aece5cf068", + "reference": "147e0daf618d7575b5007055340d09aece5cf068", "shasum": "" }, "require": { - "php": ">=8.0.2", + "php": ">=8.1", "psr/log": "^1|^2|^3", - "symfony/error-handler": "^5.4|^6.0", - "symfony/event-dispatcher": "^5.4|^6.0", - "symfony/http-foundation": "^5.4|^6.0", + "symfony/deprecation-contracts": "^2.5|^3", + "symfony/error-handler": "^6.4|^7.0", + "symfony/event-dispatcher": "^5.4|^6.0|^7.0", + "symfony/http-foundation": "^6.4|^7.0", "symfony/polyfill-ctype": "^1.8" }, "conflict": { "symfony/browser-kit": "<5.4", "symfony/cache": "<5.4", - "symfony/config": "<5.4", + "symfony/config": "<6.1", "symfony/console": "<5.4", - "symfony/dependency-injection": "<5.4", + "symfony/dependency-injection": "<6.4", "symfony/doctrine-bridge": "<5.4", "symfony/form": "<5.4", "symfony/http-client": "<5.4", + "symfony/http-client-contracts": "<2.5", "symfony/mailer": "<5.4", "symfony/messenger": "<5.4", "symfony/translation": "<5.4", + "symfony/translation-contracts": "<2.5", "symfony/twig-bridge": "<5.4", - "symfony/validator": "<5.4", + "symfony/validator": "<6.4", + "symfony/var-dumper": "<6.3", "twig/twig": "<2.13" }, "provide": { @@ -7341,28 +7604,29 @@ }, "require-dev": { "psr/cache": "^1.0|^2.0|^3.0", - "symfony/browser-kit": "^5.4|^6.0", - "symfony/config": "^5.4|^6.0", - "symfony/console": "^5.4|^6.0", - "symfony/css-selector": "^5.4|^6.0", - "symfony/dependency-injection": "^5.4|^6.0", - "symfony/dom-crawler": "^5.4|^6.0", - "symfony/expression-language": "^5.4|^6.0", - "symfony/finder": "^5.4|^6.0", - "symfony/http-client-contracts": "^1.1|^2|^3", - "symfony/process": "^5.4|^6.0", - "symfony/routing": "^5.4|^6.0", - "symfony/stopwatch": "^5.4|^6.0", - "symfony/translation": "^5.4|^6.0", - "symfony/translation-contracts": "^1.1|^2|^3", + "symfony/browser-kit": "^5.4|^6.0|^7.0", + "symfony/clock": "^6.2|^7.0", + "symfony/config": "^6.1|^7.0", + "symfony/console": "^5.4|^6.0|^7.0", + "symfony/css-selector": "^5.4|^6.0|^7.0", + "symfony/dependency-injection": "^6.4|^7.0", + "symfony/dom-crawler": "^5.4|^6.0|^7.0", + "symfony/expression-language": "^5.4|^6.0|^7.0", + "symfony/finder": "^5.4|^6.0|^7.0", + "symfony/http-client-contracts": "^2.5|^3", + "symfony/process": "^5.4|^6.0|^7.0", + "symfony/property-access": "^5.4.5|^6.0.5|^7.0", + "symfony/routing": "^5.4|^6.0|^7.0", + "symfony/serializer": "^6.4.4|^7.0.4", + "symfony/stopwatch": "^5.4|^6.0|^7.0", + "symfony/translation": "^5.4|^6.0|^7.0", + "symfony/translation-contracts": "^2.5|^3", + "symfony/uid": "^5.4|^6.0|^7.0", + "symfony/validator": "^6.4|^7.0", + "symfony/var-dumper": "^5.4|^6.4|^7.0", + "symfony/var-exporter": "^6.2|^7.0", "twig/twig": "^2.13|^3.0.4" }, - "suggest": { - "symfony/browser-kit": "", - "symfony/config": "", - "symfony/console": "", - "symfony/dependency-injection": "" - }, "type": "library", "autoload": { "psr-4": { @@ -7389,7 +7653,7 @@ "description": "Provides a structured process for converting a Request into a Response", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/http-kernel/tree/v6.0.18" + "source": "https://github.com/symfony/http-kernel/tree/v6.4.10" }, "funding": [ { @@ -7405,37 +7669,43 @@ "type": "tidelift" } ], - "time": "2022-12-29T18:58:12+00:00" + "time": "2024-07-26T14:52:04+00:00" }, { "name": "symfony/mailer", - "version": "v6.0.17", + "version": "v6.4.9", "source": { "type": "git", "url": "https://github.com/symfony/mailer.git", - "reference": "0d4562cd13f1e5b78b578120ae5cbd5527ec1534" + "reference": "e2d56f180f5b8c5e7c0fbea872bb1f529b6d6d45" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/mailer/zipball/0d4562cd13f1e5b78b578120ae5cbd5527ec1534", - "reference": "0d4562cd13f1e5b78b578120ae5cbd5527ec1534", + "url": "https://api.github.com/repos/symfony/mailer/zipball/e2d56f180f5b8c5e7c0fbea872bb1f529b6d6d45", + "reference": "e2d56f180f5b8c5e7c0fbea872bb1f529b6d6d45", "shasum": "" }, "require": { - "egulias/email-validator": "^2.1.10|^3", - "php": ">=8.0.2", + "egulias/email-validator": "^2.1.10|^3|^4", + "php": ">=8.1", "psr/event-dispatcher": "^1", "psr/log": "^1|^2|^3", - "symfony/event-dispatcher": "^5.4|^6.0", - "symfony/mime": "^5.4|^6.0", - "symfony/service-contracts": "^1.1|^2|^3" + "symfony/event-dispatcher": "^5.4|^6.0|^7.0", + "symfony/mime": "^6.2|^7.0", + "symfony/service-contracts": "^2.5|^3" }, "conflict": { - "symfony/http-kernel": "<5.4" + "symfony/http-client-contracts": "<2.5", + "symfony/http-kernel": "<5.4", + "symfony/messenger": "<6.2", + "symfony/mime": "<6.2", + "symfony/twig-bridge": "<6.2.1" }, "require-dev": { - "symfony/http-client-contracts": "^1.1|^2|^3", - "symfony/messenger": "^5.4|^6.0" + "symfony/console": "^5.4|^6.0|^7.0", + "symfony/http-client": "^5.4|^6.0|^7.0", + "symfony/messenger": "^6.2|^7.0", + "symfony/twig-bridge": "^6.2|^7.0" }, "type": "library", "autoload": { @@ -7463,7 +7733,7 @@ "description": "Helps sending emails", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/mailer/tree/v6.0.17" + "source": "https://github.com/symfony/mailer/tree/v6.4.9" }, "funding": [ { @@ -7479,24 +7749,25 @@ "type": "tidelift" } ], - "time": "2022-12-14T15:52:41+00:00" + "time": "2024-06-28T07:59:05+00:00" }, { "name": "symfony/mime", - "version": "v6.0.17", + "version": "v6.4.9", "source": { "type": "git", "url": "https://github.com/symfony/mime.git", - "reference": "3e6a7ba15997020778312ed576ad01ab60dc2336" + "reference": "7d048964877324debdcb4e0549becfa064a20d43" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/mime/zipball/3e6a7ba15997020778312ed576ad01ab60dc2336", - "reference": "3e6a7ba15997020778312ed576ad01ab60dc2336", + "url": "https://api.github.com/repos/symfony/mime/zipball/7d048964877324debdcb4e0549becfa064a20d43", + "reference": "7d048964877324debdcb4e0549becfa064a20d43", "shasum": "" }, "require": { - "php": ">=8.0.2", + "php": ">=8.1", + "symfony/deprecation-contracts": "^2.5|^3", "symfony/polyfill-intl-idn": "^1.10", "symfony/polyfill-mbstring": "^1.0" }, @@ -7505,15 +7776,17 @@ "phpdocumentor/reflection-docblock": "<3.2.2", "phpdocumentor/type-resolver": "<1.4.0", "symfony/mailer": "<5.4", - "symfony/serializer": "<5.4.14|>=6.0,<6.0.14|>=6.1,<6.1.6" + "symfony/serializer": "<6.4.3|>7.0,<7.0.3" }, "require-dev": { - "egulias/email-validator": "^2.1.10|^3.1", + "egulias/email-validator": "^2.1.10|^3.1|^4", + "league/html-to-markdown": "^5.0", "phpdocumentor/reflection-docblock": "^3.0|^4.0|^5.0", - "symfony/dependency-injection": "^5.4|^6.0", - "symfony/property-access": "^5.4|^6.0", - "symfony/property-info": "^5.4|^6.0", - "symfony/serializer": "^5.4.14|~6.0.14|^6.1.6" + "symfony/dependency-injection": "^5.4|^6.0|^7.0", + "symfony/process": "^5.4|^6.4|^7.0", + "symfony/property-access": "^5.4|^6.0|^7.0", + "symfony/property-info": "^5.4|^6.0|^7.0", + "symfony/serializer": "^6.4.3|^7.0.3" }, "type": "library", "autoload": { @@ -7545,7 +7818,7 @@ "mime-type" ], "support": { - "source": "https://github.com/symfony/mime/tree/v6.0.17" + "source": "https://github.com/symfony/mime/tree/v6.4.9" }, "funding": [ { @@ -7561,20 +7834,20 @@ "type": "tidelift" } ], - "time": "2022-12-14T16:19:02+00:00" + "time": "2024-06-28T09:49:33+00:00" }, { "name": "symfony/polyfill-ctype", - "version": "v1.27.0", + "version": "v1.30.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "5bbc823adecdae860bb64756d639ecfec17b050a" + "reference": "0424dff1c58f028c451efff2045f5d92410bd540" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/5bbc823adecdae860bb64756d639ecfec17b050a", - "reference": "5bbc823adecdae860bb64756d639ecfec17b050a", + "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/0424dff1c58f028c451efff2045f5d92410bd540", + "reference": "0424dff1c58f028c451efff2045f5d92410bd540", "shasum": "" }, "require": { @@ -7588,9 +7861,6 @@ }, "type": "library", "extra": { - "branch-alias": { - "dev-main": "1.27-dev" - }, "thanks": { "name": "symfony/polyfill", "url": "https://github.com/symfony/polyfill" @@ -7627,7 +7897,7 @@ "portable" ], "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.27.0" + "source": "https://github.com/symfony/polyfill-ctype/tree/v1.30.0" }, "funding": [ { @@ -7643,20 +7913,20 @@ "type": "tidelift" } ], - "time": "2022-11-03T14:55:06+00:00" + "time": "2024-05-31T15:07:36+00:00" }, { "name": "symfony/polyfill-intl-grapheme", - "version": "v1.27.0", + "version": "v1.30.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "511a08c03c1960e08a883f4cffcacd219b758354" + "reference": "64647a7c30b2283f5d49b874d84a18fc22054b7a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/511a08c03c1960e08a883f4cffcacd219b758354", - "reference": "511a08c03c1960e08a883f4cffcacd219b758354", + "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/64647a7c30b2283f5d49b874d84a18fc22054b7a", + "reference": "64647a7c30b2283f5d49b874d84a18fc22054b7a", "shasum": "" }, "require": { @@ -7667,9 +7937,6 @@ }, "type": "library", "extra": { - "branch-alias": { - "dev-main": "1.27-dev" - }, "thanks": { "name": "symfony/polyfill", "url": "https://github.com/symfony/polyfill" @@ -7708,7 +7975,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.27.0" + "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.30.0" }, "funding": [ { @@ -7724,20 +7991,20 @@ "type": "tidelift" } ], - "time": "2022-11-03T14:55:06+00:00" + "time": "2024-05-31T15:07:36+00:00" }, { "name": "symfony/polyfill-intl-idn", - "version": "v1.27.0", + "version": "v1.30.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-idn.git", - "reference": "639084e360537a19f9ee352433b84ce831f3d2da" + "reference": "a6e83bdeb3c84391d1dfe16f42e40727ce524a5c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-idn/zipball/639084e360537a19f9ee352433b84ce831f3d2da", - "reference": "639084e360537a19f9ee352433b84ce831f3d2da", + "url": "https://api.github.com/repos/symfony/polyfill-intl-idn/zipball/a6e83bdeb3c84391d1dfe16f42e40727ce524a5c", + "reference": "a6e83bdeb3c84391d1dfe16f42e40727ce524a5c", "shasum": "" }, "require": { @@ -7750,9 +8017,6 @@ }, "type": "library", "extra": { - "branch-alias": { - "dev-main": "1.27-dev" - }, "thanks": { "name": "symfony/polyfill", "url": "https://github.com/symfony/polyfill" @@ -7795,7 +8059,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-idn/tree/v1.27.0" + "source": "https://github.com/symfony/polyfill-intl-idn/tree/v1.30.0" }, "funding": [ { @@ -7811,20 +8075,20 @@ "type": "tidelift" } ], - "time": "2022-11-03T14:55:06+00:00" + "time": "2024-05-31T15:07:36+00:00" }, { "name": "symfony/polyfill-intl-normalizer", - "version": "v1.27.0", + "version": "v1.30.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "19bd1e4fcd5b91116f14d8533c57831ed00571b6" + "reference": "a95281b0be0d9ab48050ebd988b967875cdb9fdb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/19bd1e4fcd5b91116f14d8533c57831ed00571b6", - "reference": "19bd1e4fcd5b91116f14d8533c57831ed00571b6", + "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/a95281b0be0d9ab48050ebd988b967875cdb9fdb", + "reference": "a95281b0be0d9ab48050ebd988b967875cdb9fdb", "shasum": "" }, "require": { @@ -7835,9 +8099,6 @@ }, "type": "library", "extra": { - "branch-alias": { - "dev-main": "1.27-dev" - }, "thanks": { "name": "symfony/polyfill", "url": "https://github.com/symfony/polyfill" @@ -7879,7 +8140,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.27.0" + "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.30.0" }, "funding": [ { @@ -7895,20 +8156,20 @@ "type": "tidelift" } ], - "time": "2022-11-03T14:55:06+00:00" + "time": "2024-05-31T15:07:36+00:00" }, { "name": "symfony/polyfill-mbstring", - "version": "v1.27.0", + "version": "v1.30.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "8ad114f6b39e2c98a8b0e3bd907732c207c2b534" + "reference": "fd22ab50000ef01661e2a31d850ebaa297f8e03c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/8ad114f6b39e2c98a8b0e3bd907732c207c2b534", - "reference": "8ad114f6b39e2c98a8b0e3bd907732c207c2b534", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/fd22ab50000ef01661e2a31d850ebaa297f8e03c", + "reference": "fd22ab50000ef01661e2a31d850ebaa297f8e03c", "shasum": "" }, "require": { @@ -7922,9 +8183,6 @@ }, "type": "library", "extra": { - "branch-alias": { - "dev-main": "1.27-dev" - }, "thanks": { "name": "symfony/polyfill", "url": "https://github.com/symfony/polyfill" @@ -7962,7 +8220,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.27.0" + "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.30.0" }, "funding": [ { @@ -7978,20 +8236,20 @@ "type": "tidelift" } ], - "time": "2022-11-03T14:55:06+00:00" + "time": "2024-06-19T12:30:46+00:00" }, { "name": "symfony/polyfill-php72", - "version": "v1.27.0", + "version": "v1.30.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php72.git", - "reference": "869329b1e9894268a8a61dabb69153029b7a8c97" + "reference": "10112722600777e02d2745716b70c5db4ca70442" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php72/zipball/869329b1e9894268a8a61dabb69153029b7a8c97", - "reference": "869329b1e9894268a8a61dabb69153029b7a8c97", + "url": "https://api.github.com/repos/symfony/polyfill-php72/zipball/10112722600777e02d2745716b70c5db4ca70442", + "reference": "10112722600777e02d2745716b70c5db4ca70442", "shasum": "" }, "require": { @@ -7999,9 +8257,6 @@ }, "type": "library", "extra": { - "branch-alias": { - "dev-main": "1.27-dev" - }, "thanks": { "name": "symfony/polyfill", "url": "https://github.com/symfony/polyfill" @@ -8038,7 +8293,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php72/tree/v1.27.0" + "source": "https://github.com/symfony/polyfill-php72/tree/v1.30.0" }, "funding": [ { @@ -8054,20 +8309,20 @@ "type": "tidelift" } ], - "time": "2022-11-03T14:55:06+00:00" + "time": "2024-06-19T12:30:46+00:00" }, { "name": "symfony/polyfill-php80", - "version": "v1.27.0", + "version": "v1.30.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php80.git", - "reference": "7a6ff3f1959bb01aefccb463a0f2cd3d3d2fd936" + "reference": "77fa7995ac1b21ab60769b7323d600a991a90433" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/7a6ff3f1959bb01aefccb463a0f2cd3d3d2fd936", - "reference": "7a6ff3f1959bb01aefccb463a0f2cd3d3d2fd936", + "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/77fa7995ac1b21ab60769b7323d600a991a90433", + "reference": "77fa7995ac1b21ab60769b7323d600a991a90433", "shasum": "" }, "require": { @@ -8075,9 +8330,6 @@ }, "type": "library", "extra": { - "branch-alias": { - "dev-main": "1.27-dev" - }, "thanks": { "name": "symfony/polyfill", "url": "https://github.com/symfony/polyfill" @@ -8121,7 +8373,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php80/tree/v1.27.0" + "source": "https://github.com/symfony/polyfill-php80/tree/v1.30.0" }, "funding": [ { @@ -8137,20 +8389,20 @@ "type": "tidelift" } ], - "time": "2022-11-03T14:55:06+00:00" + "time": "2024-05-31T15:07:36+00:00" }, { - "name": "symfony/polyfill-php81", - "version": "v1.27.0", + "name": "symfony/polyfill-php83", + "version": "v1.30.0", "source": { "type": "git", - "url": "https://github.com/symfony/polyfill-php81.git", - "reference": "707403074c8ea6e2edaf8794b0157a0bfa52157a" + "url": "https://github.com/symfony/polyfill-php83.git", + "reference": "dbdcdf1a4dcc2743591f1079d0c35ab1e2dcbbc9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php81/zipball/707403074c8ea6e2edaf8794b0157a0bfa52157a", - "reference": "707403074c8ea6e2edaf8794b0157a0bfa52157a", + "url": "https://api.github.com/repos/symfony/polyfill-php83/zipball/dbdcdf1a4dcc2743591f1079d0c35ab1e2dcbbc9", + "reference": "dbdcdf1a4dcc2743591f1079d0c35ab1e2dcbbc9", "shasum": "" }, "require": { @@ -8158,9 +8410,6 @@ }, "type": "library", "extra": { - "branch-alias": { - "dev-main": "1.27-dev" - }, "thanks": { "name": "symfony/polyfill", "url": "https://github.com/symfony/polyfill" @@ -8171,7 +8420,7 @@ "bootstrap.php" ], "psr-4": { - "Symfony\\Polyfill\\Php81\\": "" + "Symfony\\Polyfill\\Php83\\": "" }, "classmap": [ "Resources/stubs" @@ -8191,7 +8440,7 @@ "homepage": "https://symfony.com/contributors" } ], - "description": "Symfony polyfill backporting some PHP 8.1+ features to lower PHP versions", + "description": "Symfony polyfill backporting some PHP 8.3+ features to lower PHP versions", "homepage": "https://symfony.com", "keywords": [ "compatibility", @@ -8200,7 +8449,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php81/tree/v1.27.0" + "source": "https://github.com/symfony/polyfill-php83/tree/v1.30.0" }, "funding": [ { @@ -8216,20 +8465,20 @@ "type": "tidelift" } ], - "time": "2022-11-03T14:55:06+00:00" + "time": "2024-06-19T12:35:24+00:00" }, { "name": "symfony/polyfill-uuid", - "version": "v1.27.0", + "version": "v1.30.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-uuid.git", - "reference": "f3cf1a645c2734236ed1e2e671e273eeb3586166" + "reference": "2ba1f33797470debcda07fe9dce20a0003df18e9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-uuid/zipball/f3cf1a645c2734236ed1e2e671e273eeb3586166", - "reference": "f3cf1a645c2734236ed1e2e671e273eeb3586166", + "url": "https://api.github.com/repos/symfony/polyfill-uuid/zipball/2ba1f33797470debcda07fe9dce20a0003df18e9", + "reference": "2ba1f33797470debcda07fe9dce20a0003df18e9", "shasum": "" }, "require": { @@ -8243,9 +8492,6 @@ }, "type": "library", "extra": { - "branch-alias": { - "dev-main": "1.27-dev" - }, "thanks": { "name": "symfony/polyfill", "url": "https://github.com/symfony/polyfill" @@ -8282,7 +8528,7 @@ "uuid" ], "support": { - "source": "https://github.com/symfony/polyfill-uuid/tree/v1.27.0" + "source": "https://github.com/symfony/polyfill-uuid/tree/v1.30.0" }, "funding": [ { @@ -8298,24 +8544,24 @@ "type": "tidelift" } ], - "time": "2022-11-03T14:55:06+00:00" + "time": "2024-05-31T15:07:36+00:00" }, { "name": "symfony/process", - "version": "v6.0.11", + "version": "v6.4.8", "source": { "type": "git", "url": "https://github.com/symfony/process.git", - "reference": "44270a08ccb664143dede554ff1c00aaa2247a43" + "reference": "8d92dd79149f29e89ee0f480254db595f6a6a2c5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/process/zipball/44270a08ccb664143dede554ff1c00aaa2247a43", - "reference": "44270a08ccb664143dede554ff1c00aaa2247a43", + "url": "https://api.github.com/repos/symfony/process/zipball/8d92dd79149f29e89ee0f480254db595f6a6a2c5", + "reference": "8d92dd79149f29e89ee0f480254db595f6a6a2c5", "shasum": "" }, "require": { - "php": ">=8.0.2" + "php": ">=8.1" }, "type": "library", "autoload": { @@ -8343,7 +8589,7 @@ "description": "Executes commands in sub-processes", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/process/tree/v6.0.11" + "source": "https://github.com/symfony/process/tree/v6.4.8" }, "funding": [ { @@ -8359,36 +8605,37 @@ "type": "tidelift" } ], - "time": "2022-06-27T17:10:44+00:00" + "time": "2024-05-31T14:49:08+00:00" }, { "name": "symfony/psr-http-message-bridge", - "version": "v2.1.4", + "version": "v2.3.1", "source": { "type": "git", "url": "https://github.com/symfony/psr-http-message-bridge.git", - "reference": "a125b93ef378c492e274f217874906fb9babdebb" + "reference": "581ca6067eb62640de5ff08ee1ba6850a0ee472e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/psr-http-message-bridge/zipball/a125b93ef378c492e274f217874906fb9babdebb", - "reference": "a125b93ef378c492e274f217874906fb9babdebb", + "url": "https://api.github.com/repos/symfony/psr-http-message-bridge/zipball/581ca6067eb62640de5ff08ee1ba6850a0ee472e", + "reference": "581ca6067eb62640de5ff08ee1ba6850a0ee472e", "shasum": "" }, "require": { - "php": ">=7.1", - "psr/http-message": "^1.0", - "symfony/http-foundation": "^4.4 || ^5.0 || ^6.0" + "php": ">=7.2.5", + "psr/http-message": "^1.0 || ^2.0", + "symfony/deprecation-contracts": "^2.5 || ^3.0", + "symfony/http-foundation": "^5.4 || ^6.0" }, "require-dev": { "nyholm/psr7": "^1.1", "psr/log": "^1.1 || ^2 || ^3", - "symfony/browser-kit": "^4.4 || ^5.0 || ^6.0", - "symfony/config": "^4.4 || ^5.0 || ^6.0", - "symfony/event-dispatcher": "^4.4 || ^5.0 || ^6.0", - "symfony/framework-bundle": "^4.4 || ^5.0 || ^6.0", - "symfony/http-kernel": "^4.4 || ^5.0 || ^6.0", - "symfony/phpunit-bridge": "^5.4@dev || ^6.0" + "symfony/browser-kit": "^5.4 || ^6.0", + "symfony/config": "^5.4 || ^6.0", + "symfony/event-dispatcher": "^5.4 || ^6.0", + "symfony/framework-bundle": "^5.4 || ^6.0", + "symfony/http-kernel": "^5.4 || ^6.0", + "symfony/phpunit-bridge": "^6.2" }, "suggest": { "nyholm/psr7": "For a super lightweight PSR-7/17 implementation" @@ -8396,7 +8643,7 @@ "type": "symfony-bridge", "extra": { "branch-alias": { - "dev-main": "2.1-dev" + "dev-main": "2.3-dev" } }, "autoload": { @@ -8431,7 +8678,7 @@ ], "support": { "issues": "https://github.com/symfony/psr-http-message-bridge/issues", - "source": "https://github.com/symfony/psr-http-message-bridge/tree/v2.1.4" + "source": "https://github.com/symfony/psr-http-message-bridge/tree/v2.3.1" }, "funding": [ { @@ -8447,45 +8694,40 @@ "type": "tidelift" } ], - "time": "2022-11-28T22:46:34+00:00" + "time": "2023-07-26T11:53:26+00:00" }, { "name": "symfony/routing", - "version": "v6.0.17", + "version": "v6.4.10", "source": { "type": "git", "url": "https://github.com/symfony/routing.git", - "reference": "61687a0aa80f6807c52e116ee64072f6ec53780c" + "reference": "aad19fe10753ba842f0d653a8db819c4b3affa87" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/routing/zipball/61687a0aa80f6807c52e116ee64072f6ec53780c", - "reference": "61687a0aa80f6807c52e116ee64072f6ec53780c", + "url": "https://api.github.com/repos/symfony/routing/zipball/aad19fe10753ba842f0d653a8db819c4b3affa87", + "reference": "aad19fe10753ba842f0d653a8db819c4b3affa87", "shasum": "" }, "require": { - "php": ">=8.0.2" + "php": ">=8.1", + "symfony/deprecation-contracts": "^2.5|^3" }, "conflict": { "doctrine/annotations": "<1.12", - "symfony/config": "<5.4", + "symfony/config": "<6.2", "symfony/dependency-injection": "<5.4", "symfony/yaml": "<5.4" }, "require-dev": { "doctrine/annotations": "^1.12|^2", "psr/log": "^1|^2|^3", - "symfony/config": "^5.4|^6.0", - "symfony/dependency-injection": "^5.4|^6.0", - "symfony/expression-language": "^5.4|^6.0", - "symfony/http-foundation": "^5.4|^6.0", - "symfony/yaml": "^5.4|^6.0" - }, - "suggest": { - "symfony/config": "For using the all-in-one router or any loader", - "symfony/expression-language": "For using expression matching", - "symfony/http-foundation": "For using a Symfony Request object", - "symfony/yaml": "For using the YAML loader" + "symfony/config": "^6.2|^7.0", + "symfony/dependency-injection": "^5.4|^6.0|^7.0", + "symfony/expression-language": "^5.4|^6.0|^7.0", + "symfony/http-foundation": "^5.4|^6.0|^7.0", + "symfony/yaml": "^5.4|^6.0|^7.0" }, "type": "library", "autoload": { @@ -8519,7 +8761,7 @@ "url" ], "support": { - "source": "https://github.com/symfony/routing/tree/v6.0.17" + "source": "https://github.com/symfony/routing/tree/v6.4.10" }, "funding": [ { @@ -8535,36 +8777,34 @@ "type": "tidelift" } ], - "time": "2022-12-20T16:40:04+00:00" + "time": "2024-07-15T09:26:24+00:00" }, { "name": "symfony/service-contracts", - "version": "v3.0.2", + "version": "v3.5.0", "source": { "type": "git", "url": "https://github.com/symfony/service-contracts.git", - "reference": "d78d39c1599bd1188b8e26bb341da52c3c6d8a66" + "reference": "bd1d9e59a81d8fa4acdcea3f617c581f7475a80f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/service-contracts/zipball/d78d39c1599bd1188b8e26bb341da52c3c6d8a66", - "reference": "d78d39c1599bd1188b8e26bb341da52c3c6d8a66", + "url": "https://api.github.com/repos/symfony/service-contracts/zipball/bd1d9e59a81d8fa4acdcea3f617c581f7475a80f", + "reference": "bd1d9e59a81d8fa4acdcea3f617c581f7475a80f", "shasum": "" }, "require": { - "php": ">=8.0.2", - "psr/container": "^2.0" + "php": ">=8.1", + "psr/container": "^1.1|^2.0", + "symfony/deprecation-contracts": "^2.5|^3" }, "conflict": { "ext-psr": "<1.1|>=2" }, - "suggest": { - "symfony/service-implementation": "" - }, "type": "library", "extra": { "branch-alias": { - "dev-main": "3.0-dev" + "dev-main": "3.5-dev" }, "thanks": { "name": "symfony/contracts", @@ -8574,7 +8814,10 @@ "autoload": { "psr-4": { "Symfony\\Contracts\\Service\\": "" - } + }, + "exclude-from-classmap": [ + "/Test/" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -8601,7 +8844,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/service-contracts/tree/v3.0.2" + "source": "https://github.com/symfony/service-contracts/tree/v3.5.0" }, "funding": [ { @@ -8617,37 +8860,38 @@ "type": "tidelift" } ], - "time": "2022-05-30T19:17:58+00:00" + "time": "2024-04-18T09:32:20+00:00" }, { "name": "symfony/string", - "version": "v6.0.17", + "version": "v6.4.10", "source": { "type": "git", "url": "https://github.com/symfony/string.git", - "reference": "3f57003dd8a67ed76870cc03092f8501db7788d9" + "reference": "ccf9b30251719567bfd46494138327522b9a9446" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/3f57003dd8a67ed76870cc03092f8501db7788d9", - "reference": "3f57003dd8a67ed76870cc03092f8501db7788d9", + "url": "https://api.github.com/repos/symfony/string/zipball/ccf9b30251719567bfd46494138327522b9a9446", + "reference": "ccf9b30251719567bfd46494138327522b9a9446", "shasum": "" }, "require": { - "php": ">=8.0.2", + "php": ">=8.1", "symfony/polyfill-ctype": "~1.8", "symfony/polyfill-intl-grapheme": "~1.0", "symfony/polyfill-intl-normalizer": "~1.0", "symfony/polyfill-mbstring": "~1.0" }, "conflict": { - "symfony/translation-contracts": "<2.0" + "symfony/translation-contracts": "<2.5" }, "require-dev": { - "symfony/error-handler": "^5.4|^6.0", - "symfony/http-client": "^5.4|^6.0", - "symfony/translation-contracts": "^2.0|^3.0", - "symfony/var-exporter": "^5.4|^6.0" + "symfony/error-handler": "^5.4|^6.0|^7.0", + "symfony/http-client": "^5.4|^6.0|^7.0", + "symfony/intl": "^6.2|^7.0", + "symfony/translation-contracts": "^2.5|^3.0", + "symfony/var-exporter": "^5.4|^6.0|^7.0" }, "type": "library", "autoload": { @@ -8686,7 +8930,7 @@ "utf8" ], "support": { - "source": "https://github.com/symfony/string/tree/v6.0.17" + "source": "https://github.com/symfony/string/tree/v6.4.10" }, "funding": [ { @@ -8702,32 +8946,35 @@ "type": "tidelift" } ], - "time": "2022-12-14T15:52:41+00:00" + "time": "2024-07-22T10:21:14+00:00" }, { "name": "symfony/translation", - "version": "v6.0.14", + "version": "v6.4.10", "source": { "type": "git", "url": "https://github.com/symfony/translation.git", - "reference": "6f99eb179aee4652c0a7cd7c11f2a870d904330c" + "reference": "94041203f8ac200ae9e7c6a18fa6137814ccecc9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/translation/zipball/6f99eb179aee4652c0a7cd7c11f2a870d904330c", - "reference": "6f99eb179aee4652c0a7cd7c11f2a870d904330c", + "url": "https://api.github.com/repos/symfony/translation/zipball/94041203f8ac200ae9e7c6a18fa6137814ccecc9", + "reference": "94041203f8ac200ae9e7c6a18fa6137814ccecc9", "shasum": "" }, "require": { - "php": ">=8.0.2", + "php": ">=8.1", + "symfony/deprecation-contracts": "^2.5|^3", "symfony/polyfill-mbstring": "~1.0", - "symfony/translation-contracts": "^2.3|^3.0" + "symfony/translation-contracts": "^2.5|^3.0" }, "conflict": { "symfony/config": "<5.4", "symfony/console": "<5.4", "symfony/dependency-injection": "<5.4", + "symfony/http-client-contracts": "<2.5", "symfony/http-kernel": "<5.4", + "symfony/service-contracts": "<2.5", "symfony/twig-bundle": "<5.4", "symfony/yaml": "<5.4" }, @@ -8735,22 +8982,19 @@ "symfony/translation-implementation": "2.3|3.0" }, "require-dev": { + "nikic/php-parser": "^4.18|^5.0", "psr/log": "^1|^2|^3", - "symfony/config": "^5.4|^6.0", - "symfony/console": "^5.4|^6.0", - "symfony/dependency-injection": "^5.4|^6.0", - "symfony/finder": "^5.4|^6.0", - "symfony/http-client-contracts": "^1.1|^2.0|^3.0", - "symfony/http-kernel": "^5.4|^6.0", - "symfony/intl": "^5.4|^6.0", + "symfony/config": "^5.4|^6.0|^7.0", + "symfony/console": "^5.4|^6.0|^7.0", + "symfony/dependency-injection": "^5.4|^6.0|^7.0", + "symfony/finder": "^5.4|^6.0|^7.0", + "symfony/http-client-contracts": "^2.5|^3.0", + "symfony/http-kernel": "^5.4|^6.0|^7.0", + "symfony/intl": "^5.4|^6.0|^7.0", "symfony/polyfill-intl-icu": "^1.21", - "symfony/service-contracts": "^1.1.2|^2|^3", - "symfony/yaml": "^5.4|^6.0" - }, - "suggest": { - "psr/log-implementation": "To use logging capability in translator", - "symfony/config": "", - "symfony/yaml": "" + "symfony/routing": "^5.4|^6.0|^7.0", + "symfony/service-contracts": "^2.5|^3", + "symfony/yaml": "^5.4|^6.0|^7.0" }, "type": "library", "autoload": { @@ -8781,7 +9025,7 @@ "description": "Provides tools to internationalize your application", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/translation/tree/v6.0.14" + "source": "https://github.com/symfony/translation/tree/v6.4.10" }, "funding": [ { @@ -8797,32 +9041,29 @@ "type": "tidelift" } ], - "time": "2022-10-07T08:02:12+00:00" + "time": "2024-07-26T12:30:32+00:00" }, { "name": "symfony/translation-contracts", - "version": "v3.0.2", + "version": "v3.5.0", "source": { "type": "git", "url": "https://github.com/symfony/translation-contracts.git", - "reference": "acbfbb274e730e5a0236f619b6168d9dedb3e282" + "reference": "b9d2189887bb6b2e0367a9fc7136c5239ab9b05a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/translation-contracts/zipball/acbfbb274e730e5a0236f619b6168d9dedb3e282", - "reference": "acbfbb274e730e5a0236f619b6168d9dedb3e282", + "url": "https://api.github.com/repos/symfony/translation-contracts/zipball/b9d2189887bb6b2e0367a9fc7136c5239ab9b05a", + "reference": "b9d2189887bb6b2e0367a9fc7136c5239ab9b05a", "shasum": "" }, "require": { - "php": ">=8.0.2" - }, - "suggest": { - "symfony/translation-implementation": "" + "php": ">=8.1" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "3.0-dev" + "dev-main": "3.5-dev" }, "thanks": { "name": "symfony/contracts", @@ -8832,7 +9073,10 @@ "autoload": { "psr-4": { "Symfony\\Contracts\\Translation\\": "" - } + }, + "exclude-from-classmap": [ + "/Test/" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -8859,7 +9103,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/translation-contracts/tree/v3.0.2" + "source": "https://github.com/symfony/translation-contracts/tree/v3.5.0" }, "funding": [ { @@ -8875,28 +9119,28 @@ "type": "tidelift" } ], - "time": "2022-06-27T17:10:44+00:00" + "time": "2024-04-18T09:32:20+00:00" }, { "name": "symfony/uid", - "version": "v6.0.13", + "version": "v6.4.8", "source": { "type": "git", "url": "https://github.com/symfony/uid.git", - "reference": "db426b27173f5e2d8b960dd10fa8ce19ea9ca5f3" + "reference": "35904eca37a84bb764c560cbfcac9f0ac2bcdbdf" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/uid/zipball/db426b27173f5e2d8b960dd10fa8ce19ea9ca5f3", - "reference": "db426b27173f5e2d8b960dd10fa8ce19ea9ca5f3", + "url": "https://api.github.com/repos/symfony/uid/zipball/35904eca37a84bb764c560cbfcac9f0ac2bcdbdf", + "reference": "35904eca37a84bb764c560cbfcac9f0ac2bcdbdf", "shasum": "" }, "require": { - "php": ">=8.0.2", + "php": ">=8.1", "symfony/polyfill-uuid": "^1.15" }, "require-dev": { - "symfony/console": "^5.4|^6.0" + "symfony/console": "^5.4|^6.0|^7.0" }, "type": "library", "autoload": { @@ -8933,7 +9177,7 @@ "uuid" ], "support": { - "source": "https://github.com/symfony/uid/tree/v6.0.13" + "source": "https://github.com/symfony/uid/tree/v6.4.8" }, "funding": [ { @@ -8949,42 +9193,39 @@ "type": "tidelift" } ], - "time": "2022-09-09T09:33:56+00:00" + "time": "2024-05-31T14:49:08+00:00" }, { "name": "symfony/var-dumper", - "version": "v6.0.17", + "version": "v6.4.10", "source": { "type": "git", "url": "https://github.com/symfony/var-dumper.git", - "reference": "7d8e7c3c67c77790425ebe33691419dada154e65" + "reference": "a71cc3374f5fb9759da1961d28c452373b343dd4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/var-dumper/zipball/7d8e7c3c67c77790425ebe33691419dada154e65", - "reference": "7d8e7c3c67c77790425ebe33691419dada154e65", + "url": "https://api.github.com/repos/symfony/var-dumper/zipball/a71cc3374f5fb9759da1961d28c452373b343dd4", + "reference": "a71cc3374f5fb9759da1961d28c452373b343dd4", "shasum": "" }, "require": { - "php": ">=8.0.2", + "php": ">=8.1", + "symfony/deprecation-contracts": "^2.5|^3", "symfony/polyfill-mbstring": "~1.0" }, "conflict": { - "phpunit/phpunit": "<5.4.3", "symfony/console": "<5.4" }, "require-dev": { "ext-iconv": "*", - "symfony/console": "^5.4|^6.0", - "symfony/process": "^5.4|^6.0", - "symfony/uid": "^5.4|^6.0", + "symfony/console": "^5.4|^6.0|^7.0", + "symfony/error-handler": "^6.3|^7.0", + "symfony/http-kernel": "^5.4|^6.0|^7.0", + "symfony/process": "^5.4|^6.0|^7.0", + "symfony/uid": "^5.4|^6.0|^7.0", "twig/twig": "^2.13|^3.0.4" }, - "suggest": { - "ext-iconv": "To convert non-UTF-8 strings to UTF-8 (or symfony/polyfill-iconv in case ext-iconv cannot be used).", - "ext-intl": "To show region name in time zone dump", - "symfony/console": "To use the ServerDumpCommand and/or the bin/var-dump-server script" - }, "bin": [ "Resources/bin/var-dump-server" ], @@ -9021,7 +9262,7 @@ "dump" ], "support": { - "source": "https://github.com/symfony/var-dumper/tree/v6.0.17" + "source": "https://github.com/symfony/var-dumper/tree/v6.4.10" }, "funding": [ { @@ -9037,41 +9278,44 @@ "type": "tidelift" } ], - "time": "2022-12-22T17:53:58+00:00" + "time": "2024-07-26T12:30:32+00:00" }, { "name": "tightenco/ziggy", - "version": "v1.5.0", + "version": "v2.3.0", "source": { "type": "git", "url": "https://github.com/tighten/ziggy.git", - "reference": "419ac3f71b60795b392ec1ba6ee72e179977afc8" + "reference": "5395ba7c6d6ea1709acf5435694c4732c2912b5e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/tighten/ziggy/zipball/419ac3f71b60795b392ec1ba6ee72e179977afc8", - "reference": "419ac3f71b60795b392ec1ba6ee72e179977afc8", + "url": "https://api.github.com/repos/tighten/ziggy/zipball/5395ba7c6d6ea1709acf5435694c4732c2912b5e", + "reference": "5395ba7c6d6ea1709acf5435694c4732c2912b5e", "shasum": "" }, "require": { "ext-json": "*", - "laravel/framework": ">=5.4@dev" + "laravel/framework": ">=9.0", + "php": ">=8.1" }, "require-dev": { - "orchestra/testbench": "^3.0 || ^4.0 || ^5.0 || ^6.0 || ^7.0", - "phpunit/phpunit": "^6.0 || ^7.0 || ^8.0 || ^9.0" + "laravel/folio": "^1.1", + "orchestra/testbench": "^7.0 || ^8.0 || ^9.0", + "pestphp/pest": "^2.26", + "pestphp/pest-plugin-laravel": "^2.4" }, "type": "library", "extra": { "laravel": { "providers": [ - "Tightenco\\Ziggy\\ZiggyServiceProvider" + "Tighten\\Ziggy\\ZiggyServiceProvider" ] } }, "autoload": { "psr-4": { - "Tightenco\\Ziggy\\": "src/" + "Tighten\\Ziggy\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", @@ -9092,7 +9336,7 @@ "email": "jacob@tighten.co" } ], - "description": "Generates a Blade directive exporting all of your named Laravel routes. Also provides a nice route() helper function in JavaScript.", + "description": "Use your Laravel named routes in JavaScript.", "homepage": "https://github.com/tighten/ziggy", "keywords": [ "Ziggy", @@ -9102,29 +9346,29 @@ ], "support": { "issues": "https://github.com/tighten/ziggy/issues", - "source": "https://github.com/tighten/ziggy/tree/v1.5.0" + "source": "https://github.com/tighten/ziggy/tree/v2.3.0" }, - "time": "2022-09-23T22:15:05+00:00" + "time": "2024-07-21T16:18:39+00:00" }, { "name": "tijsverkoyen/css-to-inline-styles", - "version": "2.2.6", + "version": "v2.2.7", "source": { "type": "git", "url": "https://github.com/tijsverkoyen/CssToInlineStyles.git", - "reference": "c42125b83a4fa63b187fdf29f9c93cb7733da30c" + "reference": "83ee6f38df0a63106a9e4536e3060458b74ccedb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/tijsverkoyen/CssToInlineStyles/zipball/c42125b83a4fa63b187fdf29f9c93cb7733da30c", - "reference": "c42125b83a4fa63b187fdf29f9c93cb7733da30c", + "url": "https://api.github.com/repos/tijsverkoyen/CssToInlineStyles/zipball/83ee6f38df0a63106a9e4536e3060458b74ccedb", + "reference": "83ee6f38df0a63106a9e4536e3060458b74ccedb", "shasum": "" }, "require": { "ext-dom": "*", "ext-libxml": "*", "php": "^5.5 || ^7.0 || ^8.0", - "symfony/css-selector": "^2.7 || ^3.0 || ^4.0 || ^5.0 || ^6.0" + "symfony/css-selector": "^2.7 || ^3.0 || ^4.0 || ^5.0 || ^6.0 || ^7.0" }, "require-dev": { "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0 || ^7.5 || ^8.5.21 || ^9.5.10" @@ -9155,37 +9399,37 @@ "homepage": "https://github.com/tijsverkoyen/CssToInlineStyles", "support": { "issues": "https://github.com/tijsverkoyen/CssToInlineStyles/issues", - "source": "https://github.com/tijsverkoyen/CssToInlineStyles/tree/2.2.6" + "source": "https://github.com/tijsverkoyen/CssToInlineStyles/tree/v2.2.7" }, - "time": "2023-01-03T09:29:04+00:00" + "time": "2023-12-08T13:03:43+00:00" }, { "name": "vlucas/phpdotenv", - "version": "v5.5.0", + "version": "v5.6.1", "source": { "type": "git", "url": "https://github.com/vlucas/phpdotenv.git", - "reference": "1a7ea2afc49c3ee6d87061f5a233e3a035d0eae7" + "reference": "a59a13791077fe3d44f90e7133eb68e7d22eaff2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/vlucas/phpdotenv/zipball/1a7ea2afc49c3ee6d87061f5a233e3a035d0eae7", - "reference": "1a7ea2afc49c3ee6d87061f5a233e3a035d0eae7", + "url": "https://api.github.com/repos/vlucas/phpdotenv/zipball/a59a13791077fe3d44f90e7133eb68e7d22eaff2", + "reference": "a59a13791077fe3d44f90e7133eb68e7d22eaff2", "shasum": "" }, "require": { "ext-pcre": "*", - "graham-campbell/result-type": "^1.0.2", - "php": "^7.1.3 || ^8.0", - "phpoption/phpoption": "^1.8", - "symfony/polyfill-ctype": "^1.23", - "symfony/polyfill-mbstring": "^1.23.1", - "symfony/polyfill-php80": "^1.23.1" + "graham-campbell/result-type": "^1.1.3", + "php": "^7.2.5 || ^8.0", + "phpoption/phpoption": "^1.9.3", + "symfony/polyfill-ctype": "^1.24", + "symfony/polyfill-mbstring": "^1.24", + "symfony/polyfill-php80": "^1.24" }, "require-dev": { - "bamarni/composer-bin-plugin": "^1.4.1", + "bamarni/composer-bin-plugin": "^1.8.2", "ext-filter": "*", - "phpunit/phpunit": "^7.5.20 || ^8.5.30 || ^9.5.25" + "phpunit/phpunit": "^8.5.34 || ^9.6.13 || ^10.4.2" }, "suggest": { "ext-filter": "Required to use the boolean validator." @@ -9194,10 +9438,10 @@ "extra": { "bamarni-bin": { "bin-links": true, - "forward-command": true + "forward-command": false }, "branch-alias": { - "dev-master": "5.5-dev" + "dev-master": "5.6-dev" } }, "autoload": { @@ -9229,7 +9473,7 @@ ], "support": { "issues": "https://github.com/vlucas/phpdotenv/issues", - "source": "https://github.com/vlucas/phpdotenv/tree/v5.5.0" + "source": "https://github.com/vlucas/phpdotenv/tree/v5.6.1" }, "funding": [ { @@ -9241,7 +9485,7 @@ "type": "tidelift" } ], - "time": "2022-10-16T01:01:54+00:00" + "time": "2024-07-20T21:52:34+00:00" }, { "name": "voku/portable-ascii", @@ -9377,26 +9621,26 @@ }, { "name": "willvincent/laravel-rateable", - "version": "3.0.0", + "version": "3.3.0", "source": { "type": "git", "url": "https://github.com/willvincent/laravel-rateable.git", - "reference": "7aa0d8a7be7674b96109798ad27c566a45ec5688" + "reference": "b441472b232c5157dc02eae07f861e7a72aec8de" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/willvincent/laravel-rateable/zipball/7aa0d8a7be7674b96109798ad27c566a45ec5688", - "reference": "7aa0d8a7be7674b96109798ad27c566a45ec5688", + "url": "https://api.github.com/repos/willvincent/laravel-rateable/zipball/b441472b232c5157dc02eae07f861e7a72aec8de", + "reference": "b441472b232c5157dc02eae07f861e7a72aec8de", "shasum": "" }, "require": { - "illuminate/database": "^8.53 || ^9.0", - "illuminate/support": "^8.0 || ^9.0", + "illuminate/database": "^8.53 || ^9.0|^10.0 || ^11.0", + "illuminate/support": "^8.0 || ^9.0|^10.0 || ^11.0", "php": "^8.0" }, "require-dev": { - "orchestra/testbench": "^6.23 || ^7.0", - "phpunit/phpunit": "^9.5" + "orchestra/testbench": "^6.23 || ^7.0|^8.0 || ^9.0", + "phpunit/phpunit": "^9.5 || ^10.5" }, "type": "library", "extra": { @@ -9435,7 +9679,7 @@ ], "support": { "issues": "https://github.com/willvincent/laravel-rateable/issues", - "source": "https://github.com/willvincent/laravel-rateable/tree/3.0.0" + "source": "https://github.com/willvincent/laravel-rateable/tree/3.3.0" }, "funding": [ { @@ -9443,7 +9687,7 @@ "type": "github" } ], - "time": "2022-01-20T18:03:06+00:00" + "time": "2024-05-03T05:42:41+00:00" } ], "packages-dev": [ @@ -9498,36 +9742,36 @@ }, { "name": "barryvdh/laravel-debugbar", - "version": "v3.7.0", + "version": "v3.13.5", "source": { "type": "git", "url": "https://github.com/barryvdh/laravel-debugbar.git", - "reference": "3372ed65e6d2039d663ed19aa699956f9d346271" + "reference": "92d86be45ee54edff735e46856f64f14b6a8bb07" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/barryvdh/laravel-debugbar/zipball/3372ed65e6d2039d663ed19aa699956f9d346271", - "reference": "3372ed65e6d2039d663ed19aa699956f9d346271", + "url": "https://api.github.com/repos/barryvdh/laravel-debugbar/zipball/92d86be45ee54edff735e46856f64f14b6a8bb07", + "reference": "92d86be45ee54edff735e46856f64f14b6a8bb07", "shasum": "" }, "require": { - "illuminate/routing": "^7|^8|^9", - "illuminate/session": "^7|^8|^9", - "illuminate/support": "^7|^8|^9", - "maximebf/debugbar": "^1.17.2", - "php": ">=7.2.5", - "symfony/finder": "^5|^6" + "illuminate/routing": "^9|^10|^11", + "illuminate/session": "^9|^10|^11", + "illuminate/support": "^9|^10|^11", + "maximebf/debugbar": "~1.22.0", + "php": "^8.0", + "symfony/finder": "^6|^7" }, "require-dev": { "mockery/mockery": "^1.3.3", - "orchestra/testbench-dusk": "^5|^6|^7", - "phpunit/phpunit": "^8.5|^9.0", + "orchestra/testbench-dusk": "^5|^6|^7|^8|^9", + "phpunit/phpunit": "^9.6|^10.5", "squizlabs/php_codesniffer": "^3.5" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.6-dev" + "dev-master": "3.13-dev" }, "laravel": { "providers": [ @@ -9566,7 +9810,7 @@ ], "support": { "issues": "https://github.com/barryvdh/laravel-debugbar/issues", - "source": "https://github.com/barryvdh/laravel-debugbar/tree/v3.7.0" + "source": "https://github.com/barryvdh/laravel-debugbar/tree/v3.13.5" }, "funding": [ { @@ -9578,7 +9822,7 @@ "type": "github" } ], - "time": "2022-07-11T09:26:42+00:00" + "time": "2024-04-12T11:20:37+00:00" }, { "name": "codedungeon/php-cli-colors", @@ -9696,31 +9940,30 @@ }, { "name": "dms/phpunit-arraysubset-asserts", - "version": "v0.2.1", + "version": "v0.5.0", "source": { "type": "git", "url": "https://github.com/rdohms/phpunit-arraysubset-asserts.git", - "reference": "8e3673a70019a60df484e36fc3271d63cbdc40ea" + "reference": "aa6b9e858414e91cca361cac3b2035ee57d212e0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/rdohms/phpunit-arraysubset-asserts/zipball/8e3673a70019a60df484e36fc3271d63cbdc40ea", - "reference": "8e3673a70019a60df484e36fc3271d63cbdc40ea", + "url": "https://api.github.com/repos/rdohms/phpunit-arraysubset-asserts/zipball/aa6b9e858414e91cca361cac3b2035ee57d212e0", + "reference": "aa6b9e858414e91cca361cac3b2035ee57d212e0", "shasum": "" }, "require": { - "php": "^7.3|^8.0", - "phpunit/phpunit": "^9.0" + "php": "^5.4 || ^7.0 || ^8.0", + "phpunit/phpunit": "^4.8.36 || ^5.7.21 || ^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0" }, "require-dev": { - "dms/coding-standard": "^1.0", - "squizlabs/php_codesniffer": "^3.4" + "dms/coding-standard": "^9" }, "type": "library", "autoload": { - "psr-4": { - "DMS\\PHPUnitExtensions\\ArraySubset\\": "src" - } + "files": [ + "assertarraysubset-autoload.php" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -9735,36 +9978,36 @@ "description": "This package provides ArraySubset and related asserts once deprecated in PHPUnit 8", "support": { "issues": "https://github.com/rdohms/phpunit-arraysubset-asserts/issues", - "source": "https://github.com/rdohms/phpunit-arraysubset-asserts/tree/v0.2.1" + "source": "https://github.com/rdohms/phpunit-arraysubset-asserts/tree/v0.5.0" }, - "time": "2020-10-03T21:43:40+00:00" + "time": "2023-06-02T17:33:53+00:00" }, { "name": "doctrine/instantiator", - "version": "1.5.0", + "version": "2.0.0", "source": { "type": "git", "url": "https://github.com/doctrine/instantiator.git", - "reference": "0a0fa9780f5d4e507415a065172d26a98d02047b" + "reference": "c6222283fa3f4ac679f8b9ced9a4e23f163e80d0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/instantiator/zipball/0a0fa9780f5d4e507415a065172d26a98d02047b", - "reference": "0a0fa9780f5d4e507415a065172d26a98d02047b", + "url": "https://api.github.com/repos/doctrine/instantiator/zipball/c6222283fa3f4ac679f8b9ced9a4e23f163e80d0", + "reference": "c6222283fa3f4ac679f8b9ced9a4e23f163e80d0", "shasum": "" }, "require": { - "php": "^7.1 || ^8.0" + "php": "^8.1" }, "require-dev": { - "doctrine/coding-standard": "^9 || ^11", + "doctrine/coding-standard": "^11", "ext-pdo": "*", "ext-phar": "*", - "phpbench/phpbench": "^0.16 || ^1", - "phpstan/phpstan": "^1.4", - "phpstan/phpstan-phpunit": "^1", - "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5", - "vimeo/psalm": "^4.30 || ^5.4" + "phpbench/phpbench": "^1.2", + "phpstan/phpstan": "^1.9.4", + "phpstan/phpstan-phpunit": "^1.3", + "phpunit/phpunit": "^9.5.27", + "vimeo/psalm": "^5.4" }, "type": "library", "autoload": { @@ -9791,7 +10034,7 @@ ], "support": { "issues": "https://github.com/doctrine/instantiator/issues", - "source": "https://github.com/doctrine/instantiator/tree/1.5.0" + "source": "https://github.com/doctrine/instantiator/tree/2.0.0" }, "funding": [ { @@ -9807,20 +10050,20 @@ "type": "tidelift" } ], - "time": "2022-12-30T00:15:36+00:00" + "time": "2022-12-30T00:23:10+00:00" }, { "name": "fakerphp/faker", - "version": "v1.21.0", + "version": "v1.23.1", "source": { "type": "git", "url": "https://github.com/FakerPHP/Faker.git", - "reference": "92efad6a967f0b79c499705c69b662f738cc9e4d" + "reference": "bfb4fe148adbf78eff521199619b93a52ae3554b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/FakerPHP/Faker/zipball/92efad6a967f0b79c499705c69b662f738cc9e4d", - "reference": "92efad6a967f0b79c499705c69b662f738cc9e4d", + "url": "https://api.github.com/repos/FakerPHP/Faker/zipball/bfb4fe148adbf78eff521199619b93a52ae3554b", + "reference": "bfb4fe148adbf78eff521199619b93a52ae3554b", "shasum": "" }, "require": { @@ -9846,11 +10089,6 @@ "ext-mbstring": "Required for multibyte Unicode string functionality." }, "type": "library", - "extra": { - "branch-alias": { - "dev-main": "v1.21-dev" - } - }, "autoload": { "psr-4": { "Faker\\": "src/Faker/" @@ -9873,22 +10111,22 @@ ], "support": { "issues": "https://github.com/FakerPHP/Faker/issues", - "source": "https://github.com/FakerPHP/Faker/tree/v1.21.0" + "source": "https://github.com/FakerPHP/Faker/tree/v1.23.1" }, - "time": "2022-12-13T13:54:32+00:00" + "time": "2024-01-02T13:46:09+00:00" }, { "name": "filp/whoops", - "version": "2.14.6", + "version": "2.15.4", "source": { "type": "git", "url": "https://github.com/filp/whoops.git", - "reference": "f7948baaa0330277c729714910336383286305da" + "reference": "a139776fa3f5985a50b509f2a02ff0f709d2a546" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/filp/whoops/zipball/f7948baaa0330277c729714910336383286305da", - "reference": "f7948baaa0330277c729714910336383286305da", + "url": "https://api.github.com/repos/filp/whoops/zipball/a139776fa3f5985a50b509f2a02ff0f709d2a546", + "reference": "a139776fa3f5985a50b509f2a02ff0f709d2a546", "shasum": "" }, "require": { @@ -9938,7 +10176,7 @@ ], "support": { "issues": "https://github.com/filp/whoops/issues", - "source": "https://github.com/filp/whoops/tree/2.14.6" + "source": "https://github.com/filp/whoops/tree/2.15.4" }, "funding": [ { @@ -9946,7 +10184,7 @@ "type": "github" } ], - "time": "2022-11-02T16:23:29+00:00" + "time": "2023-11-03T12:00:00+00:00" }, { "name": "hamcrest/hamcrest-php", @@ -10063,25 +10301,27 @@ }, { "name": "maximebf/debugbar", - "version": "v1.18.1", + "version": "v1.22.3", "source": { "type": "git", "url": "https://github.com/maximebf/php-debugbar.git", - "reference": "ba0af68dd4316834701ecb30a00ce9604ced3ee9" + "reference": "7aa9a27a0b1158ed5ad4e7175e8d3aee9a818b96" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/maximebf/php-debugbar/zipball/ba0af68dd4316834701ecb30a00ce9604ced3ee9", - "reference": "ba0af68dd4316834701ecb30a00ce9604ced3ee9", + "url": "https://api.github.com/repos/maximebf/php-debugbar/zipball/7aa9a27a0b1158ed5ad4e7175e8d3aee9a818b96", + "reference": "7aa9a27a0b1158ed5ad4e7175e8d3aee9a818b96", "shasum": "" }, "require": { - "php": "^7.1|^8", + "php": "^7.2|^8", "psr/log": "^1|^2|^3", - "symfony/var-dumper": "^2.6|^3|^4|^5|^6" + "symfony/var-dumper": "^4|^5|^6|^7" }, "require-dev": { - "phpunit/phpunit": "^7.5.20 || ^9.4.2", + "dbrekelmans/bdi": "^1", + "phpunit/phpunit": "^8|^9", + "symfony/panther": "^1|^2.1", "twig/twig": "^1.38|^2.7|^3.0" }, "suggest": { @@ -10092,7 +10332,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.18-dev" + "dev-master": "1.22-dev" } }, "autoload": { @@ -10123,44 +10363,44 @@ ], "support": { "issues": "https://github.com/maximebf/php-debugbar/issues", - "source": "https://github.com/maximebf/php-debugbar/tree/v1.18.1" + "source": "https://github.com/maximebf/php-debugbar/tree/v1.22.3" }, - "time": "2022-03-31T14:55:54+00:00" + "time": "2024-04-03T19:39:26+00:00" }, { "name": "mockery/mockery", - "version": "1.5.1", + "version": "1.6.12", "source": { "type": "git", "url": "https://github.com/mockery/mockery.git", - "reference": "e92dcc83d5a51851baf5f5591d32cb2b16e3684e" + "reference": "1f4efdd7d3beafe9807b08156dfcb176d18f1699" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/mockery/mockery/zipball/e92dcc83d5a51851baf5f5591d32cb2b16e3684e", - "reference": "e92dcc83d5a51851baf5f5591d32cb2b16e3684e", + "url": "https://api.github.com/repos/mockery/mockery/zipball/1f4efdd7d3beafe9807b08156dfcb176d18f1699", + "reference": "1f4efdd7d3beafe9807b08156dfcb176d18f1699", "shasum": "" }, "require": { "hamcrest/hamcrest-php": "^2.0.1", "lib-pcre": ">=7.0", - "php": "^7.3 || ^8.0" + "php": ">=7.3" }, "conflict": { "phpunit/phpunit": "<8.0" }, "require-dev": { - "phpunit/phpunit": "^8.5 || ^9.3" + "phpunit/phpunit": "^8.5 || ^9.6.17", + "symplify/easy-coding-standard": "^12.1.14" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.4.x-dev" - } - }, "autoload": { - "psr-0": { - "Mockery": "library/" + "files": [ + "library/helpers.php", + "library/Mockery.php" + ], + "psr-4": { + "Mockery\\": "library/Mockery" } }, "notification-url": "https://packagist.org/downloads/", @@ -10171,12 +10411,20 @@ { "name": "Pádraic Brady", "email": "padraic.brady@gmail.com", - "homepage": "http://blog.astrumfutura.com" + "homepage": "https://github.com/padraic", + "role": "Author" }, { "name": "Dave Marshall", "email": "dave.marshall@atstsolutions.co.uk", - "homepage": "http://davedevelopment.co.uk" + "homepage": "https://davedevelopment.co.uk", + "role": "Developer" + }, + { + "name": "Nathanael Esayeas", + "email": "nathanael.esayeas@protonmail.com", + "homepage": "https://github.com/ghostwriter", + "role": "Lead Developer" } ], "description": "Mockery is a simple yet flexible PHP mock object framework", @@ -10194,23 +10442,26 @@ "testing" ], "support": { + "docs": "https://docs.mockery.io/", "issues": "https://github.com/mockery/mockery/issues", - "source": "https://github.com/mockery/mockery/tree/1.5.1" + "rss": "https://github.com/mockery/mockery/releases.atom", + "security": "https://github.com/mockery/mockery/security/advisories", + "source": "https://github.com/mockery/mockery" }, - "time": "2022-09-07T15:32:08+00:00" + "time": "2024-05-16T03:13:13+00:00" }, { "name": "myclabs/deep-copy", - "version": "1.11.0", + "version": "1.12.0", "source": { "type": "git", "url": "https://github.com/myclabs/DeepCopy.git", - "reference": "14daed4296fae74d9e3201d2c4925d1acb7aa614" + "reference": "3a6b9a42cd8f8771bd4295d13e1423fa7f3d942c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/14daed4296fae74d9e3201d2c4925d1acb7aa614", - "reference": "14daed4296fae74d9e3201d2c4925d1acb7aa614", + "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/3a6b9a42cd8f8771bd4295d13e1423fa7f3d942c", + "reference": "3a6b9a42cd8f8771bd4295d13e1423fa7f3d942c", "shasum": "" }, "require": { @@ -10218,11 +10469,12 @@ }, "conflict": { "doctrine/collections": "<1.6.8", - "doctrine/common": "<2.13.3 || >=3,<3.2.2" + "doctrine/common": "<2.13.3 || >=3 <3.2.2" }, "require-dev": { "doctrine/collections": "^1.6.8", "doctrine/common": "^2.13.3 || ^3.2.2", + "phpspec/prophecy": "^1.10", "phpunit/phpunit": "^7.5.20 || ^8.5.23 || ^9.5.13" }, "type": "library", @@ -10248,7 +10500,7 @@ ], "support": { "issues": "https://github.com/myclabs/DeepCopy/issues", - "source": "https://github.com/myclabs/DeepCopy/tree/1.11.0" + "source": "https://github.com/myclabs/DeepCopy/tree/1.12.0" }, "funding": [ { @@ -10256,7 +10508,7 @@ "type": "tidelift" } ], - "time": "2022-03-03T13:19:32+00:00" + "time": "2024-06-12T14:39:25+00:00" }, { "name": "nunomaduro/collision", @@ -10348,20 +10600,21 @@ }, { "name": "phar-io/manifest", - "version": "2.0.3", + "version": "2.0.4", "source": { "type": "git", "url": "https://github.com/phar-io/manifest.git", - "reference": "97803eca37d319dfa7826cc2437fc020857acb53" + "reference": "54750ef60c58e43759730615a392c31c80e23176" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phar-io/manifest/zipball/97803eca37d319dfa7826cc2437fc020857acb53", - "reference": "97803eca37d319dfa7826cc2437fc020857acb53", + "url": "https://api.github.com/repos/phar-io/manifest/zipball/54750ef60c58e43759730615a392c31c80e23176", + "reference": "54750ef60c58e43759730615a392c31c80e23176", "shasum": "" }, "require": { "ext-dom": "*", + "ext-libxml": "*", "ext-phar": "*", "ext-xmlwriter": "*", "phar-io/version": "^3.0.1", @@ -10402,9 +10655,15 @@ "description": "Component for reading phar.io manifest information from a PHP Archive (PHAR)", "support": { "issues": "https://github.com/phar-io/manifest/issues", - "source": "https://github.com/phar-io/manifest/tree/2.0.3" + "source": "https://github.com/phar-io/manifest/tree/2.0.4" }, - "time": "2021-07-20T11:28:43+00:00" + "funding": [ + { + "url": "https://github.com/theseer", + "type": "github" + } + ], + "time": "2024-03-03T12:33:53+00:00" }, { "name": "phar-io/version", @@ -10459,23 +10718,23 @@ }, { "name": "phpunit/php-code-coverage", - "version": "9.2.23", + "version": "9.2.31", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "9f1f0f9a2fbb680b26d1cf9b61b6eac43a6e4e9c" + "reference": "48c34b5d8d983006bd2adc2d0de92963b9155965" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/9f1f0f9a2fbb680b26d1cf9b61b6eac43a6e4e9c", - "reference": "9f1f0f9a2fbb680b26d1cf9b61b6eac43a6e4e9c", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/48c34b5d8d983006bd2adc2d0de92963b9155965", + "reference": "48c34b5d8d983006bd2adc2d0de92963b9155965", "shasum": "" }, "require": { "ext-dom": "*", "ext-libxml": "*", "ext-xmlwriter": "*", - "nikic/php-parser": "^4.14", + "nikic/php-parser": "^4.18 || ^5.0", "php": ">=7.3", "phpunit/php-file-iterator": "^3.0.3", "phpunit/php-text-template": "^2.0.2", @@ -10490,8 +10749,8 @@ "phpunit/phpunit": "^9.3" }, "suggest": { - "ext-pcov": "*", - "ext-xdebug": "*" + "ext-pcov": "PHP extension that provides line coverage", + "ext-xdebug": "PHP extension that provides line coverage as well as branch and path coverage" }, "type": "library", "extra": { @@ -10524,7 +10783,8 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", - "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.23" + "security": "https://github.com/sebastianbergmann/php-code-coverage/security/policy", + "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.31" }, "funding": [ { @@ -10532,7 +10792,7 @@ "type": "github" } ], - "time": "2022-12-28T12:41:10+00:00" + "time": "2024-03-02T06:37:42+00:00" }, { "name": "phpunit/php-file-iterator", @@ -10777,50 +11037,50 @@ }, { "name": "phpunit/phpunit", - "version": "9.5.27", + "version": "9.6.20", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "a2bc7ffdca99f92d959b3f2270529334030bba38" + "reference": "49d7820565836236411f5dc002d16dd689cde42f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/a2bc7ffdca99f92d959b3f2270529334030bba38", - "reference": "a2bc7ffdca99f92d959b3f2270529334030bba38", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/49d7820565836236411f5dc002d16dd689cde42f", + "reference": "49d7820565836236411f5dc002d16dd689cde42f", "shasum": "" }, "require": { - "doctrine/instantiator": "^1.3.1", + "doctrine/instantiator": "^1.5.0 || ^2", "ext-dom": "*", "ext-json": "*", "ext-libxml": "*", "ext-mbstring": "*", "ext-xml": "*", "ext-xmlwriter": "*", - "myclabs/deep-copy": "^1.10.1", - "phar-io/manifest": "^2.0.3", - "phar-io/version": "^3.0.2", + "myclabs/deep-copy": "^1.12.0", + "phar-io/manifest": "^2.0.4", + "phar-io/version": "^3.2.1", "php": ">=7.3", - "phpunit/php-code-coverage": "^9.2.13", - "phpunit/php-file-iterator": "^3.0.5", + "phpunit/php-code-coverage": "^9.2.31", + "phpunit/php-file-iterator": "^3.0.6", "phpunit/php-invoker": "^3.1.1", - "phpunit/php-text-template": "^2.0.3", - "phpunit/php-timer": "^5.0.2", - "sebastian/cli-parser": "^1.0.1", - "sebastian/code-unit": "^1.0.6", + "phpunit/php-text-template": "^2.0.4", + "phpunit/php-timer": "^5.0.3", + "sebastian/cli-parser": "^1.0.2", + "sebastian/code-unit": "^1.0.8", "sebastian/comparator": "^4.0.8", - "sebastian/diff": "^4.0.3", - "sebastian/environment": "^5.1.3", - "sebastian/exporter": "^4.0.5", - "sebastian/global-state": "^5.0.1", - "sebastian/object-enumerator": "^4.0.3", - "sebastian/resource-operations": "^3.0.3", - "sebastian/type": "^3.2", + "sebastian/diff": "^4.0.6", + "sebastian/environment": "^5.1.5", + "sebastian/exporter": "^4.0.6", + "sebastian/global-state": "^5.0.7", + "sebastian/object-enumerator": "^4.0.4", + "sebastian/resource-operations": "^3.0.4", + "sebastian/type": "^3.2.1", "sebastian/version": "^3.0.2" }, "suggest": { - "ext-soap": "*", - "ext-xdebug": "*" + "ext-soap": "To be able to generate mocks based on WSDL files", + "ext-xdebug": "PHP extension that provides line coverage as well as branch and path coverage" }, "bin": [ "phpunit" @@ -10828,7 +11088,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "9.5-dev" + "dev-master": "9.6-dev" } }, "autoload": { @@ -10859,7 +11119,8 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/phpunit/issues", - "source": "https://github.com/sebastianbergmann/phpunit/tree/9.5.27" + "security": "https://github.com/sebastianbergmann/phpunit/security/policy", + "source": "https://github.com/sebastianbergmann/phpunit/tree/9.6.20" }, "funding": [ { @@ -10875,20 +11136,20 @@ "type": "tidelift" } ], - "time": "2022-12-09T07:31:23+00:00" + "time": "2024-07-10T11:45:39+00:00" }, { "name": "sebastian/cli-parser", - "version": "1.0.1", + "version": "1.0.2", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/cli-parser.git", - "reference": "442e7c7e687e42adc03470c7b668bc4b2402c0b2" + "reference": "2b56bea83a09de3ac06bb18b92f068e60cc6f50b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/cli-parser/zipball/442e7c7e687e42adc03470c7b668bc4b2402c0b2", - "reference": "442e7c7e687e42adc03470c7b668bc4b2402c0b2", + "url": "https://api.github.com/repos/sebastianbergmann/cli-parser/zipball/2b56bea83a09de3ac06bb18b92f068e60cc6f50b", + "reference": "2b56bea83a09de3ac06bb18b92f068e60cc6f50b", "shasum": "" }, "require": { @@ -10923,7 +11184,7 @@ "homepage": "https://github.com/sebastianbergmann/cli-parser", "support": { "issues": "https://github.com/sebastianbergmann/cli-parser/issues", - "source": "https://github.com/sebastianbergmann/cli-parser/tree/1.0.1" + "source": "https://github.com/sebastianbergmann/cli-parser/tree/1.0.2" }, "funding": [ { @@ -10931,7 +11192,7 @@ "type": "github" } ], - "time": "2020-09-28T06:08:49+00:00" + "time": "2024-03-02T06:27:43+00:00" }, { "name": "sebastian/code-unit", @@ -11120,20 +11381,20 @@ }, { "name": "sebastian/complexity", - "version": "2.0.2", + "version": "2.0.3", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/complexity.git", - "reference": "739b35e53379900cc9ac327b2147867b8b6efd88" + "reference": "25f207c40d62b8b7aa32f5ab026c53561964053a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/complexity/zipball/739b35e53379900cc9ac327b2147867b8b6efd88", - "reference": "739b35e53379900cc9ac327b2147867b8b6efd88", + "url": "https://api.github.com/repos/sebastianbergmann/complexity/zipball/25f207c40d62b8b7aa32f5ab026c53561964053a", + "reference": "25f207c40d62b8b7aa32f5ab026c53561964053a", "shasum": "" }, "require": { - "nikic/php-parser": "^4.7", + "nikic/php-parser": "^4.18 || ^5.0", "php": ">=7.3" }, "require-dev": { @@ -11165,7 +11426,7 @@ "homepage": "https://github.com/sebastianbergmann/complexity", "support": { "issues": "https://github.com/sebastianbergmann/complexity/issues", - "source": "https://github.com/sebastianbergmann/complexity/tree/2.0.2" + "source": "https://github.com/sebastianbergmann/complexity/tree/2.0.3" }, "funding": [ { @@ -11173,20 +11434,20 @@ "type": "github" } ], - "time": "2020-10-26T15:52:27+00:00" + "time": "2023-12-22T06:19:30+00:00" }, { "name": "sebastian/diff", - "version": "4.0.4", + "version": "4.0.6", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/diff.git", - "reference": "3461e3fccc7cfdfc2720be910d3bd73c69be590d" + "reference": "ba01945089c3a293b01ba9badc29ad55b106b0bc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/3461e3fccc7cfdfc2720be910d3bd73c69be590d", - "reference": "3461e3fccc7cfdfc2720be910d3bd73c69be590d", + "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/ba01945089c3a293b01ba9badc29ad55b106b0bc", + "reference": "ba01945089c3a293b01ba9badc29ad55b106b0bc", "shasum": "" }, "require": { @@ -11231,7 +11492,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/diff/issues", - "source": "https://github.com/sebastianbergmann/diff/tree/4.0.4" + "source": "https://github.com/sebastianbergmann/diff/tree/4.0.6" }, "funding": [ { @@ -11239,20 +11500,20 @@ "type": "github" } ], - "time": "2020-10-26T13:10:38+00:00" + "time": "2024-03-02T06:30:58+00:00" }, { "name": "sebastian/environment", - "version": "5.1.4", + "version": "5.1.5", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/environment.git", - "reference": "1b5dff7bb151a4db11d49d90e5408e4e938270f7" + "reference": "830c43a844f1f8d5b7a1f6d6076b784454d8b7ed" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/1b5dff7bb151a4db11d49d90e5408e4e938270f7", - "reference": "1b5dff7bb151a4db11d49d90e5408e4e938270f7", + "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/830c43a844f1f8d5b7a1f6d6076b784454d8b7ed", + "reference": "830c43a844f1f8d5b7a1f6d6076b784454d8b7ed", "shasum": "" }, "require": { @@ -11294,7 +11555,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/environment/issues", - "source": "https://github.com/sebastianbergmann/environment/tree/5.1.4" + "source": "https://github.com/sebastianbergmann/environment/tree/5.1.5" }, "funding": [ { @@ -11302,20 +11563,20 @@ "type": "github" } ], - "time": "2022-04-03T09:37:03+00:00" + "time": "2023-02-03T06:03:51+00:00" }, { "name": "sebastian/exporter", - "version": "4.0.5", + "version": "4.0.6", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/exporter.git", - "reference": "ac230ed27f0f98f597c8a2b6eb7ac563af5e5b9d" + "reference": "78c00df8f170e02473b682df15bfcdacc3d32d72" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/ac230ed27f0f98f597c8a2b6eb7ac563af5e5b9d", - "reference": "ac230ed27f0f98f597c8a2b6eb7ac563af5e5b9d", + "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/78c00df8f170e02473b682df15bfcdacc3d32d72", + "reference": "78c00df8f170e02473b682df15bfcdacc3d32d72", "shasum": "" }, "require": { @@ -11371,7 +11632,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/exporter/issues", - "source": "https://github.com/sebastianbergmann/exporter/tree/4.0.5" + "source": "https://github.com/sebastianbergmann/exporter/tree/4.0.6" }, "funding": [ { @@ -11379,20 +11640,20 @@ "type": "github" } ], - "time": "2022-09-14T06:03:37+00:00" + "time": "2024-03-02T06:33:00+00:00" }, { "name": "sebastian/global-state", - "version": "5.0.5", + "version": "5.0.7", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/global-state.git", - "reference": "0ca8db5a5fc9c8646244e629625ac486fa286bf2" + "reference": "bca7df1f32ee6fe93b4d4a9abbf69e13a4ada2c9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/0ca8db5a5fc9c8646244e629625ac486fa286bf2", - "reference": "0ca8db5a5fc9c8646244e629625ac486fa286bf2", + "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/bca7df1f32ee6fe93b4d4a9abbf69e13a4ada2c9", + "reference": "bca7df1f32ee6fe93b4d4a9abbf69e13a4ada2c9", "shasum": "" }, "require": { @@ -11435,7 +11696,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/global-state/issues", - "source": "https://github.com/sebastianbergmann/global-state/tree/5.0.5" + "source": "https://github.com/sebastianbergmann/global-state/tree/5.0.7" }, "funding": [ { @@ -11443,24 +11704,24 @@ "type": "github" } ], - "time": "2022-02-14T08:28:10+00:00" + "time": "2024-03-02T06:35:11+00:00" }, { "name": "sebastian/lines-of-code", - "version": "1.0.3", + "version": "1.0.4", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/lines-of-code.git", - "reference": "c1c2e997aa3146983ed888ad08b15470a2e22ecc" + "reference": "e1e4a170560925c26d424b6a03aed157e7dcc5c5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/c1c2e997aa3146983ed888ad08b15470a2e22ecc", - "reference": "c1c2e997aa3146983ed888ad08b15470a2e22ecc", + "url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/e1e4a170560925c26d424b6a03aed157e7dcc5c5", + "reference": "e1e4a170560925c26d424b6a03aed157e7dcc5c5", "shasum": "" }, "require": { - "nikic/php-parser": "^4.6", + "nikic/php-parser": "^4.18 || ^5.0", "php": ">=7.3" }, "require-dev": { @@ -11492,7 +11753,7 @@ "homepage": "https://github.com/sebastianbergmann/lines-of-code", "support": { "issues": "https://github.com/sebastianbergmann/lines-of-code/issues", - "source": "https://github.com/sebastianbergmann/lines-of-code/tree/1.0.3" + "source": "https://github.com/sebastianbergmann/lines-of-code/tree/1.0.4" }, "funding": [ { @@ -11500,7 +11761,7 @@ "type": "github" } ], - "time": "2020-11-28T06:42:11+00:00" + "time": "2023-12-22T06:20:34+00:00" }, { "name": "sebastian/object-enumerator", @@ -11616,16 +11877,16 @@ }, { "name": "sebastian/recursion-context", - "version": "4.0.4", + "version": "4.0.5", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/recursion-context.git", - "reference": "cd9d8cf3c5804de4341c283ed787f099f5506172" + "reference": "e75bd0f07204fec2a0af9b0f3cfe97d05f92efc1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/cd9d8cf3c5804de4341c283ed787f099f5506172", - "reference": "cd9d8cf3c5804de4341c283ed787f099f5506172", + "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/e75bd0f07204fec2a0af9b0f3cfe97d05f92efc1", + "reference": "e75bd0f07204fec2a0af9b0f3cfe97d05f92efc1", "shasum": "" }, "require": { @@ -11664,10 +11925,10 @@ } ], "description": "Provides functionality to recursively process PHP variables", - "homepage": "http://www.github.com/sebastianbergmann/recursion-context", + "homepage": "https://github.com/sebastianbergmann/recursion-context", "support": { "issues": "https://github.com/sebastianbergmann/recursion-context/issues", - "source": "https://github.com/sebastianbergmann/recursion-context/tree/4.0.4" + "source": "https://github.com/sebastianbergmann/recursion-context/tree/4.0.5" }, "funding": [ { @@ -11675,20 +11936,20 @@ "type": "github" } ], - "time": "2020-10-26T13:17:30+00:00" + "time": "2023-02-03T06:07:39+00:00" }, { "name": "sebastian/resource-operations", - "version": "3.0.3", + "version": "3.0.4", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/resource-operations.git", - "reference": "0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8" + "reference": "05d5692a7993ecccd56a03e40cd7e5b09b1d404e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/resource-operations/zipball/0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8", - "reference": "0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8", + "url": "https://api.github.com/repos/sebastianbergmann/resource-operations/zipball/05d5692a7993ecccd56a03e40cd7e5b09b1d404e", + "reference": "05d5692a7993ecccd56a03e40cd7e5b09b1d404e", "shasum": "" }, "require": { @@ -11700,7 +11961,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "3.0-dev" + "dev-main": "3.0-dev" } }, "autoload": { @@ -11721,8 +11982,7 @@ "description": "Provides a list of PHP built-in functions that operate on resources", "homepage": "https://www.github.com/sebastianbergmann/resource-operations", "support": { - "issues": "https://github.com/sebastianbergmann/resource-operations/issues", - "source": "https://github.com/sebastianbergmann/resource-operations/tree/3.0.3" + "source": "https://github.com/sebastianbergmann/resource-operations/tree/3.0.4" }, "funding": [ { @@ -11730,20 +11990,20 @@ "type": "github" } ], - "time": "2020-09-28T06:45:17+00:00" + "time": "2024-03-14T16:00:52+00:00" }, { "name": "sebastian/type", - "version": "3.2.0", + "version": "3.2.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/type.git", - "reference": "fb3fe09c5f0bae6bc27ef3ce933a1e0ed9464b6e" + "reference": "75e2c2a32f5e0b3aef905b9ed0b179b953b3d7c7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/fb3fe09c5f0bae6bc27ef3ce933a1e0ed9464b6e", - "reference": "fb3fe09c5f0bae6bc27ef3ce933a1e0ed9464b6e", + "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/75e2c2a32f5e0b3aef905b9ed0b179b953b3d7c7", + "reference": "75e2c2a32f5e0b3aef905b9ed0b179b953b3d7c7", "shasum": "" }, "require": { @@ -11778,7 +12038,7 @@ "homepage": "https://github.com/sebastianbergmann/type", "support": { "issues": "https://github.com/sebastianbergmann/type/issues", - "source": "https://github.com/sebastianbergmann/type/tree/3.2.0" + "source": "https://github.com/sebastianbergmann/type/tree/3.2.1" }, "funding": [ { @@ -11786,7 +12046,7 @@ "type": "github" } ], - "time": "2022-09-12T14:47:03+00:00" + "time": "2023-02-03T06:13:03+00:00" }, { "name": "sebastian/version", @@ -11843,16 +12103,16 @@ }, { "name": "spatie/backtrace", - "version": "1.2.1", + "version": "1.6.2", "source": { "type": "git", "url": "https://github.com/spatie/backtrace.git", - "reference": "4ee7d41aa5268107906ea8a4d9ceccde136dbd5b" + "reference": "1a9a145b044677ae3424693f7b06479fc8c137a9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/backtrace/zipball/4ee7d41aa5268107906ea8a4d9ceccde136dbd5b", - "reference": "4ee7d41aa5268107906ea8a4d9ceccde136dbd5b", + "url": "https://api.github.com/repos/spatie/backtrace/zipball/1a9a145b044677ae3424693f7b06479fc8c137a9", + "reference": "1a9a145b044677ae3424693f7b06479fc8c137a9", "shasum": "" }, "require": { @@ -11860,7 +12120,9 @@ }, "require-dev": { "ext-json": "*", + "laravel/serializable-closure": "^1.3", "phpunit/phpunit": "^9.3", + "spatie/phpunit-snapshot-assertions": "^4.2", "symfony/var-dumper": "^5.1" }, "type": "library", @@ -11888,8 +12150,7 @@ "spatie" ], "support": { - "issues": "https://github.com/spatie/backtrace/issues", - "source": "https://github.com/spatie/backtrace/tree/1.2.1" + "source": "https://github.com/spatie/backtrace/tree/1.6.2" }, "funding": [ { @@ -11901,43 +12162,117 @@ "type": "other" } ], - "time": "2021-11-09T10:57:15+00:00" + "time": "2024-07-22T08:21:24+00:00" + }, + { + "name": "spatie/error-solutions", + "version": "1.1.1", + "source": { + "type": "git", + "url": "https://github.com/spatie/error-solutions.git", + "reference": "ae7393122eda72eed7cc4f176d1e96ea444f2d67" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/spatie/error-solutions/zipball/ae7393122eda72eed7cc4f176d1e96ea444f2d67", + "reference": "ae7393122eda72eed7cc4f176d1e96ea444f2d67", + "shasum": "" + }, + "require": { + "php": "^8.0" + }, + "require-dev": { + "illuminate/broadcasting": "^10.0|^11.0", + "illuminate/cache": "^10.0|^11.0", + "illuminate/support": "^10.0|^11.0", + "livewire/livewire": "^2.11|^3.3.5", + "openai-php/client": "^0.10.1", + "orchestra/testbench": "^7.0|8.22.3|^9.0", + "pestphp/pest": "^2.20", + "phpstan/phpstan": "^1.11", + "psr/simple-cache": "^3.0", + "psr/simple-cache-implementation": "^3.0", + "spatie/ray": "^1.28", + "symfony/cache": "^5.4|^6.0|^7.0", + "symfony/process": "^5.4|^6.0|^7.0", + "vlucas/phpdotenv": "^5.5" + }, + "suggest": { + "openai-php/client": "Require get solutions from OpenAI", + "simple-cache-implementation": "To cache solutions from OpenAI" + }, + "type": "library", + "autoload": { + "psr-4": { + "Spatie\\Ignition\\": "legacy/ignition", + "Spatie\\ErrorSolutions\\": "src", + "Spatie\\LaravelIgnition\\": "legacy/laravel-ignition" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Ruben Van Assche", + "email": "ruben@spatie.be", + "role": "Developer" + } + ], + "description": "This is my package error-solutions", + "homepage": "https://github.com/spatie/error-solutions", + "keywords": [ + "error-solutions", + "spatie" + ], + "support": { + "issues": "https://github.com/spatie/error-solutions/issues", + "source": "https://github.com/spatie/error-solutions/tree/1.1.1" + }, + "funding": [ + { + "url": "https://github.com/Spatie", + "type": "github" + } + ], + "time": "2024-07-25T11:06:04+00:00" }, { "name": "spatie/flare-client-php", - "version": "1.3.2", + "version": "1.8.0", "source": { "type": "git", "url": "https://github.com/spatie/flare-client-php.git", - "reference": "609903bd154ba3d71f5e23a91c3b431fa8f71868" + "reference": "180f8ca4c0d0d6fc51477bd8c53ce37ab5a96122" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/flare-client-php/zipball/609903bd154ba3d71f5e23a91c3b431fa8f71868", - "reference": "609903bd154ba3d71f5e23a91c3b431fa8f71868", + "url": "https://api.github.com/repos/spatie/flare-client-php/zipball/180f8ca4c0d0d6fc51477bd8c53ce37ab5a96122", + "reference": "180f8ca4c0d0d6fc51477bd8c53ce37ab5a96122", "shasum": "" }, "require": { - "illuminate/pipeline": "^8.0|^9.0", + "illuminate/pipeline": "^8.0|^9.0|^10.0|^11.0", "php": "^8.0", - "spatie/backtrace": "^1.2", - "symfony/http-foundation": "^5.0|^6.0", - "symfony/mime": "^5.2|^6.0", - "symfony/process": "^5.2|^6.0", - "symfony/var-dumper": "^5.2|^6.0" + "spatie/backtrace": "^1.6.1", + "symfony/http-foundation": "^5.2|^6.0|^7.0", + "symfony/mime": "^5.2|^6.0|^7.0", + "symfony/process": "^5.2|^6.0|^7.0", + "symfony/var-dumper": "^5.2|^6.0|^7.0" }, "require-dev": { - "dms/phpunit-arraysubset-asserts": "^0.3.0", - "pestphp/pest": "^1.20", + "dms/phpunit-arraysubset-asserts": "^0.5.0", + "pestphp/pest": "^1.20|^2.0", "phpstan/extension-installer": "^1.1", "phpstan/phpstan-deprecation-rules": "^1.0", "phpstan/phpstan-phpunit": "^1.0", - "spatie/phpunit-snapshot-assertions": "^4.0" + "spatie/pest-plugin-snapshots": "^1.0|^2.0" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "1.1.x-dev" + "dev-main": "1.3.x-dev" } }, "autoload": { @@ -11962,7 +12297,7 @@ ], "support": { "issues": "https://github.com/spatie/flare-client-php/issues", - "source": "https://github.com/spatie/flare-client-php/tree/1.3.2" + "source": "https://github.com/spatie/flare-client-php/tree/1.8.0" }, "funding": [ { @@ -11970,43 +12305,51 @@ "type": "github" } ], - "time": "2022-12-26T14:36:46+00:00" + "time": "2024-08-01T08:27:26+00:00" }, { "name": "spatie/ignition", - "version": "1.4.1", + "version": "1.15.0", "source": { "type": "git", "url": "https://github.com/spatie/ignition.git", - "reference": "dd3d456779108d7078baf4e43f8c2b937d9794a1" + "reference": "e3a68e137371e1eb9edc7f78ffa733f3b98991d2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/ignition/zipball/dd3d456779108d7078baf4e43f8c2b937d9794a1", - "reference": "dd3d456779108d7078baf4e43f8c2b937d9794a1", + "url": "https://api.github.com/repos/spatie/ignition/zipball/e3a68e137371e1eb9edc7f78ffa733f3b98991d2", + "reference": "e3a68e137371e1eb9edc7f78ffa733f3b98991d2", "shasum": "" }, "require": { "ext-json": "*", "ext-mbstring": "*", - "monolog/monolog": "^2.0", "php": "^8.0", - "spatie/flare-client-php": "^1.1", - "symfony/console": "^5.4|^6.0", - "symfony/var-dumper": "^5.4|^6.0" + "spatie/error-solutions": "^1.0", + "spatie/flare-client-php": "^1.7", + "symfony/console": "^5.4|^6.0|^7.0", + "symfony/var-dumper": "^5.4|^6.0|^7.0" }, "require-dev": { + "illuminate/cache": "^9.52|^10.0|^11.0", "mockery/mockery": "^1.4", - "pestphp/pest": "^1.20", + "pestphp/pest": "^1.20|^2.0", "phpstan/extension-installer": "^1.1", "phpstan/phpstan-deprecation-rules": "^1.0", "phpstan/phpstan-phpunit": "^1.0", - "symfony/process": "^5.4|^6.0" + "psr/simple-cache-implementation": "*", + "symfony/cache": "^5.4|^6.0|^7.0", + "symfony/process": "^5.4|^6.0|^7.0", + "vlucas/phpdotenv": "^5.5" + }, + "suggest": { + "openai-php/client": "Require get solutions from OpenAI", + "simple-cache-implementation": "To cache solutions from OpenAI" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "1.2.x-dev" + "dev-main": "1.5.x-dev" } }, "autoload": { @@ -12045,45 +12388,46 @@ "type": "github" } ], - "time": "2022-08-26T11:51:15+00:00" + "time": "2024-06-12T14:55:22+00:00" }, { "name": "spatie/laravel-ignition", - "version": "1.6.4", + "version": "2.8.0", "source": { "type": "git", "url": "https://github.com/spatie/laravel-ignition.git", - "reference": "1a2b4bd3d48c72526c0ba417687e5c56b5cf49bc" + "reference": "3c067b75bfb50574db8f7e2c3978c65eed71126c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/laravel-ignition/zipball/1a2b4bd3d48c72526c0ba417687e5c56b5cf49bc", - "reference": "1a2b4bd3d48c72526c0ba417687e5c56b5cf49bc", + "url": "https://api.github.com/repos/spatie/laravel-ignition/zipball/3c067b75bfb50574db8f7e2c3978c65eed71126c", + "reference": "3c067b75bfb50574db8f7e2c3978c65eed71126c", "shasum": "" }, "require": { "ext-curl": "*", "ext-json": "*", "ext-mbstring": "*", - "illuminate/support": "^8.77|^9.27", - "monolog/monolog": "^2.3", - "php": "^8.0", - "spatie/flare-client-php": "^1.0.1", - "spatie/ignition": "^1.4.1", - "symfony/console": "^5.0|^6.0", - "symfony/var-dumper": "^5.0|^6.0" + "illuminate/support": "^10.0|^11.0", + "php": "^8.1", + "spatie/ignition": "^1.15", + "symfony/console": "^6.2.3|^7.0", + "symfony/var-dumper": "^6.2.3|^7.0" }, "require-dev": { - "filp/whoops": "^2.14", - "livewire/livewire": "^2.8|dev-develop", - "mockery/mockery": "^1.4", - "nunomaduro/larastan": "^1.0", - "orchestra/testbench": "^6.23|^7.0", - "pestphp/pest": "^1.20", - "phpstan/extension-installer": "^1.1", - "phpstan/phpstan-deprecation-rules": "^1.0", - "phpstan/phpstan-phpunit": "^1.0", - "spatie/laravel-ray": "^1.27" + "livewire/livewire": "^2.11|^3.3.5", + "mockery/mockery": "^1.5.1", + "openai-php/client": "^0.8.1", + "orchestra/testbench": "8.22.3|^9.0", + "pestphp/pest": "^2.34", + "phpstan/extension-installer": "^1.3.1", + "phpstan/phpstan-deprecation-rules": "^1.1.1", + "phpstan/phpstan-phpunit": "^1.3.16", + "vlucas/phpdotenv": "^5.5" + }, + "suggest": { + "openai-php/client": "Require get solutions from OpenAI", + "psr/simple-cache-implementation": "Needed to cache solutions from OpenAI" }, "type": "library", "extra": { @@ -12135,20 +12479,20 @@ "type": "github" } ], - "time": "2023-01-03T19:28:04+00:00" + "time": "2024-06-12T15:01:18+00:00" }, { "name": "symfony/yaml", - "version": "v5.4.17", + "version": "v5.4.40", "source": { "type": "git", "url": "https://github.com/symfony/yaml.git", - "reference": "edcdc11498108f8967fe95118a7ec8624b94760e" + "reference": "81cad0ceab3d61fe14fe941ff18a230ac9c80f83" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/yaml/zipball/edcdc11498108f8967fe95118a7ec8624b94760e", - "reference": "edcdc11498108f8967fe95118a7ec8624b94760e", + "url": "https://api.github.com/repos/symfony/yaml/zipball/81cad0ceab3d61fe14fe941ff18a230ac9c80f83", + "reference": "81cad0ceab3d61fe14fe941ff18a230ac9c80f83", "shasum": "" }, "require": { @@ -12194,7 +12538,7 @@ "description": "Loads and dumps YAML files", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/yaml/tree/v5.4.17" + "source": "https://github.com/symfony/yaml/tree/v5.4.40" }, "funding": [ { @@ -12210,20 +12554,20 @@ "type": "tidelift" } ], - "time": "2022-12-13T09:57:04+00:00" + "time": "2024-05-31T14:33:22+00:00" }, { "name": "theseer/tokenizer", - "version": "1.2.1", + "version": "1.2.3", "source": { "type": "git", "url": "https://github.com/theseer/tokenizer.git", - "reference": "34a41e998c2183e22995f158c581e7b5e755ab9e" + "reference": "737eda637ed5e28c3413cb1ebe8bb52cbf1ca7a2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/theseer/tokenizer/zipball/34a41e998c2183e22995f158c581e7b5e755ab9e", - "reference": "34a41e998c2183e22995f158c581e7b5e755ab9e", + "url": "https://api.github.com/repos/theseer/tokenizer/zipball/737eda637ed5e28c3413cb1ebe8bb52cbf1ca7a2", + "reference": "737eda637ed5e28c3413cb1ebe8bb52cbf1ca7a2", "shasum": "" }, "require": { @@ -12252,7 +12596,7 @@ "description": "A small library for converting tokenized PHP source code into XML and potentially other formats", "support": { "issues": "https://github.com/theseer/tokenizer/issues", - "source": "https://github.com/theseer/tokenizer/tree/1.2.1" + "source": "https://github.com/theseer/tokenizer/tree/1.2.3" }, "funding": [ { @@ -12260,17 +12604,17 @@ "type": "github" } ], - "time": "2021-07-28T10:34:58+00:00" + "time": "2024-03-03T12:36:25+00:00" } ], "aliases": [], - "minimum-stability": "dev", + "minimum-stability": "stable", "stability-flags": [], "prefer-stable": true, "prefer-lowest": false, "platform": { - "php": "^8.0" + "php": "^8.1" }, "platform-dev": [], - "plugin-api-version": "2.3.0" + "plugin-api-version": "2.6.0" } diff --git a/tests/Feature/CollaboratorClaimTest.php b/tests/Feature/CollaboratorClaimTest.php index b6e0eb0c..3cb50bc4 100644 --- a/tests/Feature/CollaboratorClaimTest.php +++ b/tests/Feature/CollaboratorClaimTest.php @@ -5,6 +5,7 @@ use App\Collaborator; use App\User; use Illuminate\Foundation\Testing\RefreshDatabase; +use Illuminate\Support\Facades\Event; use Tests\TestCase; class CollaboratorClaimTest extends TestCase @@ -14,7 +15,7 @@ class CollaboratorClaimTest extends TestCase /** @test */ public function user_can_claim_a_collaborator(): void { - $this->withoutEvents(); + Event::fake(); $user = User::factory()->create(); $collaborator = Collaborator::factory()->create(); @@ -29,7 +30,7 @@ public function user_can_claim_a_collaborator(): void /** @test */ public function users_can_claim_a_second_collaborator(): void { - $this->withoutEvents(); + Event::fake(); $user = User::factory()->create(); $collaborator = Collaborator::factory()->create(); diff --git a/tests/Feature/CollaboratorCreateTest.php b/tests/Feature/CollaboratorCreateTest.php index 57973230..1bec3ea7 100644 --- a/tests/Feature/CollaboratorCreateTest.php +++ b/tests/Feature/CollaboratorCreateTest.php @@ -6,6 +6,7 @@ use App\Http\Remotes\GitHub; use App\User; use Illuminate\Foundation\Testing\RefreshDatabase; +use Illuminate\Support\Facades\Event; use Mockery as m; use Tests\TestCase; @@ -16,7 +17,7 @@ class CollaboratorCreateTest extends TestCase /** @test */ public function the_url_field_is_optional(): void { - $this->withoutEvents(); + Event::fake(); $github = m::mock(GitHub::class)->shouldIgnoreMissing(); $this->app->instance(GitHub::class, $github); diff --git a/tests/Feature/GeneratePackageOpenGraphImageJobTest.php b/tests/Feature/GeneratePackageOpenGraphImageJobTest.php index 77ebf023..ecd1f109 100644 --- a/tests/Feature/GeneratePackageOpenGraphImageJobTest.php +++ b/tests/Feature/GeneratePackageOpenGraphImageJobTest.php @@ -53,7 +53,11 @@ public function it_is_dispatched_when_a_package_is_created(): void ->post(route('app.packages.store', $formData)) ->assertSuccessful(); - Event::assertDispatched(PackageCreated::class); + $package = Package::whereUrl('https://www.example.com/abcs/lmnop')->first(); + + Event::assertDispatched(PackageCreated::class, function ($event) use ($package) { + return $event->package->id === $package->id; + }); (new PackageEventSubscriber)->handle(new PackageCreated($package)); diff --git a/tests/Feature/PackageCreateTest.php b/tests/Feature/PackageCreateTest.php index f6881cc5..7ff8567a 100644 --- a/tests/Feature/PackageCreateTest.php +++ b/tests/Feature/PackageCreateTest.php @@ -8,6 +8,7 @@ use App\Tag; use App\User; use Illuminate\Foundation\Testing\RefreshDatabase; +use Illuminate\Support\Facades\Event; use Illuminate\Support\Facades\Http; use Illuminate\Support\Facades\Storage; use Tests\TestCase; @@ -19,7 +20,8 @@ class PackageCreateTest extends TestCase /** @test */ public function can_attach_screenshots_to_the_package(): void { - $this->withoutEvents(); + Event::fake(); + $this->fakesRepoFromRequest(); $user = User::factory()->create(); @@ -46,7 +48,8 @@ public function can_attach_screenshots_to_the_package(): void /** @test */ public function screenshots_are_optional(): void { - $this->withoutEvents(); + Event::fake(); + $this->fakesRepoFromRequest(); $user = User::factory()->create(); @@ -114,7 +117,7 @@ public function all_uploaded_screenshots_are_returned_when_validation_fails(): v /** @test */ public function the_selected_author_is_returned_to_the_view_when_validation_fails(): void { - $this->withoutEvents(); + Event::fake(); $user = User::factory()->create(); $author = Collaborator::factory()->create(); @@ -133,7 +136,7 @@ public function the_selected_author_is_returned_to_the_view_when_validation_fail /** @test */ public function the_selected_collaborators_are_returned_to_the_view_when_validation_fails(): void { - $this->withoutEvents(); + Event::fake(); $user = User::factory()->create(); list($selectedCollaboratorA, $author, $selectedCollaboratorB) = Collaborator::factory(3)->create(); @@ -164,7 +167,7 @@ public function the_selected_collaborators_are_returned_to_the_view_when_validat /** @test */ public function the_selected_existing_tags_and_new_tags_are_returned_to_the_view_when_validation_fails(): void { - $this->withoutEvents(); + Event::fake(); $user = User::factory()->create(); $newTagName = 'New Tag'; @@ -195,7 +198,7 @@ public function the_selected_existing_tags_and_new_tags_are_returned_to_the_view /** @test */ public function relative_urls_are_formatted_to_the_latest_release(): void { - $this->withoutEvents(); + Event::fake(); Http::fake([ 'https://packagist.org/packages/starwars/lightsabers.json' => @@ -253,7 +256,7 @@ public function relative_urls_are_formatted_to_the_latest_release(): void public function an_existing_tag_is_used_if_the_tag_submitted_differs_only_in_case(): void { $this->withoutExceptionHandling(); - $this->withoutEvents(); + Event::fake(); $this->fakesRepoFromRequest(); $existingTagA = Tag::factory()->create(['name' => 'test tag a', 'slug' => 'test-tag-a']); @@ -281,7 +284,7 @@ public function an_existing_tag_is_used_if_the_tag_submitted_differs_only_in_cas public function an_existing_tag_is_used_if_the_tag_submitted_differs_only_in_case_and_a_new_tag_is_added(): void { $this->withoutExceptionHandling(); - $this->withoutEvents(); + Event::fake(); $this->fakesRepoFromRequest(); $existingTag = Tag::factory()->create(['name' => 'test tag', 'slug' => 'test-tag']); diff --git a/tests/Feature/PackageCrudTest.php b/tests/Feature/PackageCrudTest.php index 144f0053..a0f32de5 100644 --- a/tests/Feature/PackageCrudTest.php +++ b/tests/Feature/PackageCrudTest.php @@ -231,7 +231,7 @@ public function user_cannot_submit_package_without_url(): void /** @test */ public function user_cannot_submit_package_with_duplicate_packagist_name(): void { - $this->withoutEvents(); + Event::fake(); $this->fakesRepoFromRequest(); $user = User::factory()->create(); @@ -323,7 +323,7 @@ function ($notification, $channels) { /** @test */ public function author_can_delete_their_packages(): void { - $this->withoutEvents(); + Event::fake(); Storage::fake(); @@ -370,7 +370,7 @@ public function author_can_delete_their_packages(): void /** @test */ public function collaborators_can_delete_their_packages(): void { - $this->withoutEvents(); + Event::fake(); $user = User::factory()->create(); $collaborator = Collaborator::factory()->create(); @@ -390,7 +390,7 @@ public function collaborators_can_delete_their_packages(): void /** @test */ public function submitter_can_delete_package(): void { - $this->withoutEvents(); + Event::fake(); $submitter = User::factory()->create(); $package = Package::factory()->create(['submitter_id' => $submitter->id]); @@ -406,7 +406,7 @@ public function submitter_can_delete_package(): void /** @test */ public function submitter_can_delete_package_if_package_author_is_not_a_user(): void { - $this->withoutEvents(); + Event::fake(); $submitter = User::factory()->create(); $authorUser = User::factory()->create(); @@ -427,7 +427,7 @@ public function submitter_can_delete_package_if_package_author_is_not_a_user(): /** @test */ public function admin_can_delete_package(): void { - $this->withoutEvents(); + Event::fake(); $admin = User::factory()->admin()->create(); diff --git a/tests/Feature/PackageEditTest.php b/tests/Feature/PackageEditTest.php index b208e4a1..c1ad8332 100644 --- a/tests/Feature/PackageEditTest.php +++ b/tests/Feature/PackageEditTest.php @@ -16,7 +16,7 @@ class PackageEditTest extends TestCase { - use RefreshDatabase, WithFaker, WithoutEvents; + use RefreshDatabase, WithFaker; /** @test */ public function user_can_update_a_package(): void diff --git a/tests/Integration/GitHubApiTest.php b/tests/Integration/GitHubApiTest.php index ad9c4323..7b6d7d1d 100644 --- a/tests/Integration/GitHubApiTest.php +++ b/tests/Integration/GitHubApiTest.php @@ -18,7 +18,7 @@ protected function setUp(): void } /** @test */ - function readme_response_in_expected_format(): void + public function readme_response_in_expected_format(): void { $response = app(GitHub::class)->readme('tighten/nova-stripe'); @@ -26,7 +26,7 @@ function readme_response_in_expected_format(): void } /** @test */ - function releases_response_in_expected_format(): void + public function releases_response_in_expected_format(): void { $response = app(GitHub::class)->releases('tighten/nova-stripe'); @@ -47,7 +47,7 @@ function releases_response_in_expected_format(): void } /** @test */ - function searching_issues_response_in_expected_format(): void + public function searching_issues_response_in_expected_format(): void { $response = app(GitHub::class)->packageIdeaIssues(); @@ -69,7 +69,7 @@ function searching_issues_response_in_expected_format(): void } /** @test */ - function user_response_in_expected_format(): void + public function user_response_in_expected_format(): void { $response = app(GitHub::class)->user('marcusmoore'); From f251d20aec50ac20fc9e8db391d783c738b6b21a Mon Sep 17 00:00:00 2001 From: Omar Rida Date: Thu, 8 Aug 2024 22:36:49 +0300 Subject: [PATCH 15/16] update ci pipeline to use php 8.1 --- .github/workflows/lint.yml | 2 +- .github/workflows/test_build.yml | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index d4f6bf15..7905ad25 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -17,7 +17,7 @@ jobs: - name: Set up PHP uses: shivammathur/setup-php@v2 with: - php-version: 8.0 + php-version: 8.1 - name: Install dependencies run: composer install --no-interaction --ignore-platform-reqs diff --git a/.github/workflows/test_build.yml b/.github/workflows/test_build.yml index 49801789..71173535 100644 --- a/.github/workflows/test_build.yml +++ b/.github/workflows/test_build.yml @@ -7,7 +7,7 @@ on: - main jobs: test: - name: PHP 8.0, Laravel 9.* + name: PHP 8.1, Laravel 9.* runs-on: ubuntu-latest steps: @@ -17,14 +17,14 @@ jobs: - name: Set up PHP uses: shivammathur/setup-php@v2 with: - php-version: 8.0 + php-version: 8.1 - name: Cache Composer dependencies uses: actions/cache@v1 with: path: ~/.composer/cache/files - key: php-8.0-laravel-9.*-composer-${{ hashFiles('**/composer.lock') }} - restore-keys: php-8.0-laravel-9`.*-composer- + key: php-8.1-laravel-9.*-composer-${{ hashFiles('**/composer.lock') }} + restore-keys: php-8.1-laravel-9`.*-composer- - name: Cache npm dependencies uses: actions/cache@v1 From 9c60e5c9f2cad81911ae0bf16c053bf1d27e8089 Mon Sep 17 00:00:00 2001 From: Omar Rida Date: Fri, 16 Aug 2024 11:26:22 +0300 Subject: [PATCH 16/16] change home route to / --- app/Providers/RouteServiceProvider.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Providers/RouteServiceProvider.php b/app/Providers/RouteServiceProvider.php index 0d62860f..289dfd32 100644 --- a/app/Providers/RouteServiceProvider.php +++ b/app/Providers/RouteServiceProvider.php @@ -18,7 +18,7 @@ class RouteServiceProvider extends ServiceProvider * * @var string */ - public const HOME = '/home'; + public const HOME = '/'; /** * Define your route model bindings, pattern filters, etc.