From ba2c585558a4b07329182ba011435ffee91a5b2b Mon Sep 17 00:00:00 2001 From: Alex Justesen Date: Fri, 16 Dec 2022 08:11:20 -0500 Subject: [PATCH 1/6] updated composer dependencies --- _ide_helper.php | 292 ++++++++++++++++++++++++++++++++++-------------- composer.lock | 277 ++++++++++++++++++++++----------------------- 2 files changed, 346 insertions(+), 223 deletions(-) diff --git a/_ide_helper.php b/_ide_helper.php index 32d502443..52bc1af7f 100644 --- a/_ide_helper.php +++ b/_ide_helper.php @@ -4,7 +4,7 @@ /** * A helper file for Laravel, to provide autocomplete information to your IDE - * Generated for Laravel 9.42.2. + * Generated for Laravel 9.44.0. * * This file should not be included in your code, only analyzed by your IDE! * @@ -16,7 +16,7 @@ /** * * - * @see \Illuminate\Contracts\Foundation\Application + * @see \Illuminate\Foundation\Application */ class App { /** @@ -1547,7 +1547,7 @@ public static function flushMacros() /** * * - * @see \Illuminate\Contracts\Console\Kernel + * @see \Illuminate\Foundation\Console\Kernel */ class Artisan { /** @@ -1715,9 +1715,7 @@ public static function setArtisan($artisan) * * * @see \Illuminate\Auth\AuthManager - * @see \Illuminate\Contracts\Auth\Factory - * @see \Illuminate\Contracts\Auth\Guard - * @see \Illuminate\Contracts\Auth\StatefulGuard + * @see \Illuminate\Auth\SessionGuard */ class Auth { /** @@ -2319,6 +2317,17 @@ public static function guest() { /** @var \Illuminate\Auth\SessionGuard $instance */ return $instance->guest(); + } + /** + * Forget the current user. + * + * @return \Illuminate\Auth\SessionGuard + * @static + */ + public static function forgetUser() + { + /** @var \Illuminate\Auth\SessionGuard $instance */ + return $instance->forgetUser(); } /** * Get the user provider used by the guard. @@ -2860,10 +2869,14 @@ public static function applyEchoHandler($value) /** * * - * @method static \Illuminate\Broadcasting\Broadcasters\Broadcaster channel(string $channel, callable|string $callback, array $options = []) * @method static mixed auth(\Illuminate\Http\Request $request) + * @method static mixed validAuthenticationResponse(\Illuminate\Http\Request $request, mixed $result) + * @method static void broadcast(array $channels, string $event, array $payload = []) + * @method static array|null resolveAuthenticatedUser(\Illuminate\Http\Request $request) * @method static void resolveAuthenticatedUserUsing(\Closure $callback) - * @see \Illuminate\Contracts\Broadcasting\Factory + * @method static \Illuminate\Broadcasting\Broadcasters\Broadcaster channel(\Illuminate\Contracts\Broadcasting\HasBroadcastChannel|string $channel, callable|string $callback, array $options = []) + * @see \Illuminate\Broadcasting\BroadcastManager + * @see \Illuminate\Broadcasting\Broadcasters\Broadcaster */ class Broadcast { /** @@ -3075,7 +3088,8 @@ public static function forgetDrivers() /** * * - * @see \Illuminate\Contracts\Bus\Dispatcher + * @see \Illuminate\Bus\Dispatcher + * @see \Illuminate\Support\Testing\Fakes\BusFake */ class Bus { /** @@ -3545,7 +3559,6 @@ public static function recordPendingBatch($pendingBatch) * * * @see \Illuminate\Cache\CacheManager - * @see \Illuminate\Cache\Repository */ class Cache { /** @@ -4715,75 +4728,76 @@ public static function getKey() * @see https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Factory.php * @method static \Illuminate\Support\Carbon create($year = 0, $month = 1, $day = 1, $hour = 0, $minute = 0, $second = 0, $tz = null) * @method static \Illuminate\Support\Carbon createFromDate($year = null, $month = null, $day = null, $tz = null) + * @method static \Illuminate\Support\Carbon|false createFromFormat($format, $time, $tz = null) * @method static \Illuminate\Support\Carbon createFromTime($hour = 0, $minute = 0, $second = 0, $tz = null) * @method static \Illuminate\Support\Carbon createFromTimeString($time, $tz = null) * @method static \Illuminate\Support\Carbon createFromTimestamp($timestamp, $tz = null) * @method static \Illuminate\Support\Carbon createFromTimestampMs($timestamp, $tz = null) * @method static \Illuminate\Support\Carbon createFromTimestampUTC($timestamp) * @method static \Illuminate\Support\Carbon createMidnightDate($year = null, $month = null, $day = null, $tz = null) - * @method static void disableHumanDiffOption($humanDiffOption) - * @method static void enableHumanDiffOption($humanDiffOption) - * @method static \Illuminate\Support\Carbon fromSerialized($value) - * @method static array getLastErrors() - * @method static \Illuminate\Support\Carbon|null getTestNow() - * @method static \Illuminate\Support\Carbon instance($date) - * @method static bool isMutable() - * @method static \Illuminate\Support\Carbon maxValue() - * @method static \Illuminate\Support\Carbon minValue() - * @method static \Illuminate\Support\Carbon now($tz = null) - * @method static \Illuminate\Support\Carbon parse($time = null, $tz = null) - * @method static void setHumanDiffOptions($humanDiffOptions) - * @method static void setTestNow($testNow = null) - * @method static void setUtf8($utf8) - * @method static \Illuminate\Support\Carbon today($tz = null) - * @method static \Illuminate\Support\Carbon tomorrow($tz = null) - * @method static void useStrictMode($strictModeEnabled = true) - * @method static \Illuminate\Support\Carbon yesterday($tz = null) - * @method static \Illuminate\Support\Carbon|false createFromFormat($format, $time, $tz = null) * @method static \Illuminate\Support\Carbon|false createSafe($year = null, $month = null, $day = null, $hour = null, $minute = null, $second = null, $tz = null) - * @method static \Illuminate\Support\Carbon|null make($var) - * @method static \Symfony\Component\Translation\TranslatorInterface getTranslator() + * @method static \Illuminate\Support\Carbon disableHumanDiffOption($humanDiffOption) + * @method static \Illuminate\Support\Carbon enableHumanDiffOption($humanDiffOption) + * @method static mixed executeWithLocale($locale, $func) + * @method static \Illuminate\Support\Carbon fromSerialized($value) * @method static array getAvailableLocales() * @method static array getDays() + * @method static int getHumanDiffOptions() * @method static array getIsoUnits() + * @method static \Illuminate\Support\Carbon getLastErrors() + * @method static string getLocale() + * @method static int getMidDayAt() + * @method static \Illuminate\Support\Carbon getTestNow() + * @method static \Symfony\Component\Translation\TranslatorInterface getTranslator() + * @method static int getWeekEndsAt() + * @method static int getWeekStartsAt() * @method static array getWeekendDays() * @method static bool hasFormat($date, $format) * @method static bool hasMacro($name) * @method static bool hasRelativeKeywords($time) * @method static bool hasTestNow() + * @method static \Illuminate\Support\Carbon instance($date) * @method static bool isImmutable() * @method static bool isModifiableUnit($unit) + * @method static \Illuminate\Support\Carbon isMutable() * @method static bool isStrictModeEnabled() * @method static bool localeHasDiffOneDayWords($locale) * @method static bool localeHasDiffSyntax($locale) * @method static bool localeHasDiffTwoDayWords($locale) * @method static bool localeHasPeriodSyntax($locale) * @method static bool localeHasShortUnits($locale) - * @method static bool setLocale($locale) - * @method static bool shouldOverflowMonths() - * @method static bool shouldOverflowYears() - * @method static int getHumanDiffOptions() - * @method static int getMidDayAt() - * @method static int getWeekEndsAt() - * @method static int getWeekStartsAt() - * @method static mixed executeWithLocale($locale, $func) - * @method static string getLocale() - * @method static string pluralUnit(string $unit) - * @method static string singularUnit(string $unit) * @method static void macro($name, $macro) + * @method static \Illuminate\Support\Carbon|null make($var) + * @method static \Illuminate\Support\Carbon maxValue() + * @method static \Illuminate\Support\Carbon minValue() * @method static void mixin($mixin) + * @method static \Illuminate\Support\Carbon now($tz = null) + * @method static \Illuminate\Support\Carbon parse($time = null, $tz = null) + * @method static string pluralUnit(string $unit) * @method static void resetMonthsOverflow() * @method static void resetToStringFormat() * @method static void resetYearsOverflow() * @method static void serializeUsing($callback) + * @method static \Illuminate\Support\Carbon setHumanDiffOptions($humanDiffOptions) + * @method static bool setLocale($locale) * @method static void setMidDayAt($hour) + * @method static void setTestNow($testNow = null) * @method static void setToStringFormat($format) * @method static void setTranslator(\Symfony\Component\Translation\TranslatorInterface $translator) + * @method static \Illuminate\Support\Carbon setUtf8($utf8) * @method static void setWeekEndsAt($day) * @method static void setWeekStartsAt($day) * @method static void setWeekendDays($days) + * @method static bool shouldOverflowMonths() + * @method static bool shouldOverflowYears() + * @method static string singularUnit(string $unit) + * @method static \Illuminate\Support\Carbon today($tz = null) + * @method static \Illuminate\Support\Carbon tomorrow($tz = null) * @method static void useMonthsOverflow($monthsOverflow = true) + * @method static \Illuminate\Support\Carbon useStrictMode($strictModeEnabled = true) * @method static void useYearsOverflow($yearsOverflow = true) + * @method static \Illuminate\Support\Carbon yesterday($tz = null) + * @see \Illuminate\Support\DateFactory */ class Date { /** @@ -4846,8 +4860,8 @@ public static function useFactory($factory) /** * * + * @method static array getConnections() * @see \Illuminate\Database\DatabaseManager - * @see \Illuminate\Database\Connection */ class DB { /** @@ -5521,6 +5535,17 @@ public static function isDoctrineAvailable() { //Method inherited from \Illuminate\Database\Connection /** @var \Illuminate\Database\SQLiteConnection $instance */ return $instance->isDoctrineAvailable(); + } + /** + * Indicates whether native alter operations will be used when dropping or renaming columns, even if Doctrine DBAL is installed. + * + * @return bool + * @static + */ + public static function usingNativeSchemaOperations() + { //Method inherited from \Illuminate\Database\Connection + /** @var \Illuminate\Database\SQLiteConnection $instance */ + return $instance->usingNativeSchemaOperations(); } /** * Get a Doctrine Schema Column instance. @@ -6036,6 +6061,7 @@ public static function afterCommit($callback) * * * @see \Illuminate\Events\Dispatcher + * @see \Illuminate\Support\Testing\Fakes\EventFake */ class Event { /** @@ -7039,7 +7065,7 @@ public static function flushMacros() /** * * - * @see \Illuminate\Contracts\Auth\Access\Gate + * @see \Illuminate\Auth\Access\Gate */ class Gate { /** @@ -7371,6 +7397,7 @@ public static function denyAsNotFound($message = null, $code = null) * * * @see \Illuminate\Hashing\HashManager + * @see \Illuminate\Hashing\AbstractHasher */ class Hash { /** @@ -7545,47 +7572,62 @@ public static function forgetDrivers() /** * * - * @method static \Illuminate\Http\Client\PendingRequest accept(string $contentType) - * @method static \Illuminate\Http\Client\PendingRequest acceptJson() - * @method static \Illuminate\Http\Client\PendingRequest asForm() + * @method static \Illuminate\Http\Client\PendingRequest baseUrl(string $url) + * @method static \Illuminate\Http\Client\PendingRequest withBody(string $content, string $contentType) * @method static \Illuminate\Http\Client\PendingRequest asJson() - * @method static \Illuminate\Http\Client\PendingRequest asMultipart() - * @method static \Illuminate\Http\Client\PendingRequest async() + * @method static \Illuminate\Http\Client\PendingRequest asForm() * @method static \Illuminate\Http\Client\PendingRequest attach(string|array $name, string|resource $contents = '', string|null $filename = null, array $headers = []) - * @method static \Illuminate\Http\Client\PendingRequest baseUrl(string $url) - * @method static \Illuminate\Http\Client\PendingRequest beforeSending(callable $callback) + * @method static \Illuminate\Http\Client\PendingRequest asMultipart() * @method static \Illuminate\Http\Client\PendingRequest bodyFormat(string $format) - * @method static \Illuminate\Http\Client\PendingRequest connectTimeout(int $seconds) * @method static \Illuminate\Http\Client\PendingRequest contentType(string $contentType) - * @method static \Illuminate\Http\Client\PendingRequest dd() - * @method static \Illuminate\Http\Client\PendingRequest dump() - * @method static \Illuminate\Http\Client\PendingRequest maxRedirects(int $max) - * @method static \Illuminate\Http\Client\PendingRequest retry(int $times, int $sleepMilliseconds = 0, ?callable $when = null, bool $throw = true) - * @method static \Illuminate\Http\Client\PendingRequest sink(string|resource $to) - * @method static \Illuminate\Http\Client\PendingRequest stub(callable $callback) - * @method static \Illuminate\Http\Client\PendingRequest timeout(int $seconds) + * @method static \Illuminate\Http\Client\PendingRequest acceptJson() + * @method static \Illuminate\Http\Client\PendingRequest accept(string $contentType) + * @method static \Illuminate\Http\Client\PendingRequest withHeaders(array $headers) * @method static \Illuminate\Http\Client\PendingRequest withBasicAuth(string $username, string $password) - * @method static \Illuminate\Http\Client\PendingRequest withBody(resource|string $content, string $contentType) - * @method static \Illuminate\Http\Client\PendingRequest withCookies(array $cookies, string $domain) * @method static \Illuminate\Http\Client\PendingRequest withDigestAuth(string $username, string $password) - * @method static \Illuminate\Http\Client\PendingRequest withHeaders(array $headers) - * @method static \Illuminate\Http\Client\PendingRequest withMiddleware(callable $middleware) - * @method static \Illuminate\Http\Client\PendingRequest withOptions(array $options) * @method static \Illuminate\Http\Client\PendingRequest withToken(string $token, string $type = 'Bearer') * @method static \Illuminate\Http\Client\PendingRequest withUserAgent(string $userAgent) + * @method static \Illuminate\Http\Client\PendingRequest withCookies(array $cookies, string $domain) + * @method static \Illuminate\Http\Client\PendingRequest maxRedirects(int $max) * @method static \Illuminate\Http\Client\PendingRequest withoutRedirecting() * @method static \Illuminate\Http\Client\PendingRequest withoutVerifying() - * @method static \Illuminate\Http\Client\PendingRequest throw(callable $callback = null) - * @method static \Illuminate\Http\Client\PendingRequest throwIf($condition) - * @method \Illuminate\Http\Client\PendingRequest throwUnless($condition) + * @method static \Illuminate\Http\Client\PendingRequest sink(string|resource $to) + * @method static \Illuminate\Http\Client\PendingRequest timeout(int $seconds) + * @method static \Illuminate\Http\Client\PendingRequest connectTimeout(int $seconds) + * @method static \Illuminate\Http\Client\PendingRequest retry(int $times, int $sleepMilliseconds = 0, callable|null $when = null, bool $throw = true) + * @method static \Illuminate\Http\Client\PendingRequest withOptions(array $options) + * @method static \Illuminate\Http\Client\PendingRequest withMiddleware(callable $middleware) + * @method static \Illuminate\Http\Client\PendingRequest beforeSending(callable $callback) + * @method static \Illuminate\Http\Client\PendingRequest throw(callable|null $callback = null) + * @method static \Illuminate\Http\Client\PendingRequest throwIf(callable|bool $condition) + * @method static \Illuminate\Http\Client\PendingRequest throwUnless(bool $condition) + * @method static \Illuminate\Http\Client\PendingRequest dump() + * @method static \Illuminate\Http\Client\PendingRequest dd() + * @method static \Illuminate\Http\Client\Response|\GuzzleHttp\Promise\PromiseInterface get(string $url, array|string|null $query = null) + * @method static \Illuminate\Http\Client\Response|\GuzzleHttp\Promise\PromiseInterface head(string $url, array|string|null $query = null) + * @method static \Illuminate\Http\Client\Response|\GuzzleHttp\Promise\PromiseInterface post(string $url, array $data = []) + * @method static \Illuminate\Http\Client\Response|\GuzzleHttp\Promise\PromiseInterface patch(string $url, array $data = []) + * @method static \Illuminate\Http\Client\Response|\GuzzleHttp\Promise\PromiseInterface put(string $url, array $data = []) + * @method static \Illuminate\Http\Client\Response|\GuzzleHttp\Promise\PromiseInterface delete(string $url, array $data = []) * @method static array pool(callable $callback) - * @method static \Illuminate\Http\Client\Response delete(string $url, array $data = []) - * @method static \Illuminate\Http\Client\Response get(string $url, array|string|null $query = null) - * @method static \Illuminate\Http\Client\Response head(string $url, array|string|null $query = null) - * @method static \Illuminate\Http\Client\Response patch(string $url, array $data = []) - * @method static \Illuminate\Http\Client\Response post(string $url, array $data = []) - * @method static \Illuminate\Http\Client\Response put(string $url, array $data = []) - * @method static \Illuminate\Http\Client\Response send(string $method, string $url, array $options = []) + * @method static \Illuminate\Http\Client\Response|\GuzzleHttp\Promise\PromiseInterface send(string $method, string $url, array $options = []) + * @method static \GuzzleHttp\Client buildClient() + * @method static \GuzzleHttp\Client createClient(\GuzzleHttp\HandlerStack $handlerStack) + * @method static \GuzzleHttp\HandlerStack buildHandlerStack() + * @method static \GuzzleHttp\HandlerStack pushHandlers(\GuzzleHttp\HandlerStack $handlerStack) + * @method static \Closure buildBeforeSendingHandler() + * @method static \Closure buildRecorderHandler() + * @method static \Closure buildStubHandler() + * @method static \GuzzleHttp\Psr7\RequestInterface runBeforeSendingCallbacks(\GuzzleHttp\Psr7\RequestInterface $request, array $options) + * @method static array mergeOptions(array ...$options) + * @method static \Illuminate\Http\Client\PendingRequest stub(callable $callback) + * @method static \Illuminate\Http\Client\PendingRequest async(bool $async = true) + * @method static \GuzzleHttp\Promise\PromiseInterface|null getPromise() + * @method static \Illuminate\Http\Client\PendingRequest setClient(\GuzzleHttp\Client $client) + * @method static \Illuminate\Http\Client\PendingRequest setHandler(callable $handler) + * @method static array getOptions() + * @method static \Illuminate\Http\Client\PendingRequest|mixed when((\Closure(\Illuminate\Http\Client\PendingRequest): mixed)|mixed $value = null, (callable(\Illuminate\Http\Client\PendingRequest, mixed): mixed)|null $callback = null, (callable(\Illuminate\Http\Client\PendingRequest, mixed): mixed)|null $default = null) + * @method static \Illuminate\Http\Client\PendingRequest|mixed unless((\Closure(\Illuminate\Http\Client\PendingRequest): mixed)|mixed $value = null, (callable(\Illuminate\Http\Client\PendingRequest, mixed): mixed)|null $callback = null, (callable(\Illuminate\Http\Client\PendingRequest, mixed): mixed)|null $default = null) * @see \Illuminate\Http\Client\Factory */ class Http { @@ -8161,11 +8203,14 @@ public static function flushMacros() /** * * + * @method static void write(string $level, \Illuminate\Contracts\Support\Arrayable|\Illuminate\Contracts\Support\Jsonable|\Illuminate\Support\Stringable|array|string $message, array $context = []) * @method static \Illuminate\Log\Logger withContext(array $context = []) * @method static \Illuminate\Log\Logger withoutContext() - * @method static void write(string $level, string $message, array $context = []) * @method static void listen(\Closure $callback) - * @see \Illuminate\Log\Logger + * @method static \Psr\Log\LoggerInterface getLogger() + * @method static \Illuminate\Contracts\Events\Dispatcher getEventDispatcher() + * @method static void setEventDispatcher(\Illuminate\Contracts\Events\Dispatcher $dispatcher) + * @see \Illuminate\Log\LogManager */ class Log { /** @@ -8448,11 +8493,21 @@ public static function log($level, $message, $context = []) * @method static void alwaysReplyTo(string $address, string|null $name = null) * @method static void alwaysReturnPath(string $address) * @method static void alwaysTo(string $address, string|null $name = null) - * @method static \Illuminate\Mail\SentMessage|null plain(string $view, array $data, $callback) - * @method static \Illuminate\Mail\SentMessage|null html(string $html, $callback) - * @method static mixed laterOn(string $queue, \DateTimeInterface|\DateInterval|int $delay, \Illuminate\Contracts\Mail\Mailable|string|array $view) - * @method static mixed queueOn(string $queue, \Illuminate\Contracts\Mail\Mailable|string|array $view) - * @see \Illuminate\Mail\Mailer + * @method static \Illuminate\Mail\SentMessage|null html(string $html, mixed $callback) + * @method static \Illuminate\Mail\SentMessage|null plain(string $view, array $data, mixed $callback) + * @method static string render(string|array $view, array $data = []) + * @method static mixed onQueue(string $queue, \Illuminate\Contracts\Mail\Mailable $view) + * @method static mixed queueOn(string $queue, \Illuminate\Contracts\Mail\Mailable $view) + * @method static mixed laterOn(string $queue, \DateTimeInterface|\DateInterval|int $delay, \Illuminate\Contracts\Mail\Mailable $view) + * @method static \Symfony\Component\Mailer\Transport\TransportInterface getSymfonyTransport() + * @method static \Illuminate\Contracts\View\Factory getViewFactory() + * @method static void setSymfonyTransport(\Symfony\Component\Mailer\Transport\TransportInterface $transport) + * @method static \Illuminate\Mail\Mailer setQueue(\Illuminate\Contracts\Queue\Factory $queue) + * @method static void macro(string $name, object|callable $macro) + * @method static void mixin(object $mixin, bool $replace = true) + * @method static bool hasMacro(string $name) + * @method static void flushMacros() + * @see \Illuminate\Mail\MailManager * @see \Illuminate\Support\Testing\Fakes\MailFake */ class Mail { @@ -8830,6 +8885,7 @@ public static function failures() * * * @see \Illuminate\Notifications\ChannelManager + * @see \Illuminate\Support\Testing\Fakes\NotificationFake */ class Notification { /** @@ -9211,13 +9267,14 @@ public static function flushMacros() /** * * + * @method static string sendResetLink(array $credentials, \Closure|null $callback = null) * @method static mixed reset(array $credentials, \Closure $callback) - * @method static string sendResetLink(array $credentials, \Closure $callback = null) * @method static \Illuminate\Contracts\Auth\CanResetPassword|null getUser(array $credentials) * @method static string createToken(\Illuminate\Contracts\Auth\CanResetPassword $user) * @method static void deleteToken(\Illuminate\Contracts\Auth\CanResetPassword $user) * @method static bool tokenExists(\Illuminate\Contracts\Auth\CanResetPassword $user, string $token) * @method static \Illuminate\Auth\Passwords\TokenRepositoryInterface getRepository() + * @see \Illuminate\Auth\Passwords\PasswordBrokerManager * @see \Illuminate\Auth\Passwords\PasswordBroker */ class Password { @@ -9263,6 +9320,7 @@ public static function setDefaultDriver($name) * * @see \Illuminate\Queue\QueueManager * @see \Illuminate\Queue\Queue + * @see \Illuminate\Support\Testing\Fakes\QueueFake */ class Queue { /** @@ -10291,7 +10349,6 @@ public static function flushMacros() /** * * - * @method static mixed filterFiles(mixed $files) * @see \Illuminate\Http\Request */ class Request { @@ -12532,7 +12589,7 @@ public static function hasValidSignatureWhileIgnoring($ignoreQuery = [], $absolu /** * * - * @see \Illuminate\Contracts\Routing\ResponseFactory + * @see \Illuminate\Routing\ResponseFactory */ class Response { /** @@ -12791,6 +12848,12 @@ public static function flushMacros() /** * * + * @method static \Illuminate\Routing\RouteRegistrar attribute(string $key, mixed $value) + * @method static \Illuminate\Routing\RouteRegistrar whereAlpha(array|string $parameters) + * @method static \Illuminate\Routing\RouteRegistrar whereAlphaNumeric(array|string $parameters) + * @method static \Illuminate\Routing\RouteRegistrar whereNumber(array|string $parameters) + * @method static \Illuminate\Routing\RouteRegistrar whereUuid(array|string $parameters) + * @method static \Illuminate\Routing\RouteRegistrar whereIn(array|string $parameters, array $values) * @method static \Illuminate\Routing\RouteRegistrar as(string $value) * @method static \Illuminate\Routing\RouteRegistrar controller(string $controller) * @method static \Illuminate\Routing\RouteRegistrar domain(string $value) @@ -13886,6 +13949,17 @@ public static function morphUsingUuids() public static function morphUsingUlids() { //Method inherited from \Illuminate\Database\Schema\Builder \Illuminate\Database\Schema\SQLiteBuilder::morphUsingUlids(); + } + /** + * Attempt to use native schema operations for dropping and renaming columns, even if Doctrine DBAL is installed. + * + * @param bool $value + * @return void + * @static + */ + public static function useNativeSchemaOperationsIfPossible($value = true) + { //Method inherited from \Illuminate\Database\Schema\Builder + \Illuminate\Database\Schema\SQLiteBuilder::useNativeSchemaOperationsIfPossible($value); } /** * Determine if the given table exists. @@ -14129,7 +14203,6 @@ public static function blueprintResolver($resolver) * * * @see \Illuminate\Session\SessionManager - * @see \Illuminate\Session\Store */ class Session { /** @@ -14792,6 +14865,52 @@ public static function setRequestOnHandler($request) { /** @var \Illuminate\Session\Store $instance */ $instance->setRequestOnHandler($request); + } + /** + * Register a custom macro. + * + * @param string $name + * @param object|callable $macro + * @return void + * @static + */ + public static function macro($name, $macro) + { + \Illuminate\Session\Store::macro($name, $macro); + } + /** + * Mix another object into the class. + * + * @param object $mixin + * @param bool $replace + * @return void + * @throws \ReflectionException + * @static + */ + public static function mixin($mixin, $replace = true) + { + \Illuminate\Session\Store::mixin($mixin, $replace); + } + /** + * Checks if macro is registered. + * + * @param string $name + * @return bool + * @static + */ + public static function hasMacro($name) + { + return \Illuminate\Session\Store::hasMacro($name); + } + /** + * Flush the existing macros. + * + * @return void + * @static + */ + public static function flushMacros() + { + \Illuminate\Session\Store::flushMacros(); } } @@ -17287,7 +17406,7 @@ class Vite { /** * Get the preloaded assets. * - * @var array + * @return array * @static */ public static function preloadedAssets() @@ -17452,6 +17571,7 @@ public static function asset($asset, $buildDirectory = null) /** * Get a unique hash representing the current manifest, or null if there is no manifest. * + * @param string|null $buildDirectory * @return string|null * @static */ diff --git a/composer.lock b/composer.lock index c76230882..3524bbe53 100644 --- a/composer.lock +++ b/composer.lock @@ -76,16 +76,16 @@ }, { "name": "amvisor/filament-failed-jobs", - "version": "0.6.0", + "version": "0.6.1", "source": { "type": "git", "url": "git@gitlab.com:amvisor/filament-failed-jobs.git", - "reference": "7339da9791d000952f539fa3ee256f2d19fe30b3" + "reference": "73907325f5be98e5117f302c7790ecc32218dc40" }, "dist": { "type": "zip", - "url": "https://gitlab.com/api/v4/projects/amvisor%2Ffilament-failed-jobs/repository/archive.zip?sha=7339da9791d000952f539fa3ee256f2d19fe30b3", - "reference": "7339da9791d000952f539fa3ee256f2d19fe30b3", + "url": "https://gitlab.com/api/v4/projects/amvisor%2Ffilament-failed-jobs/repository/archive.zip?sha=73907325f5be98e5117f302c7790ecc32218dc40", + "reference": "73907325f5be98e5117f302c7790ecc32218dc40", "shasum": "" }, "require": { @@ -125,7 +125,7 @@ "filament-failed-jobs", "laravel" ], - "time": "2022-10-06T09:21:49+00:00" + "time": "2022-12-08T11:57:26+00:00" }, { "name": "awcodes/filament-versions", @@ -1206,16 +1206,16 @@ }, { "name": "filament/filament", - "version": "v2.16.53", + "version": "v2.16.57", "source": { "type": "git", "url": "https://github.com/filamentphp/admin.git", - "reference": "c74db68eb9c08b1d9744ae242ebac609128102cd" + "reference": "9f3a0bd4d22cf5aeb01b0b4d95a310f32980fb34" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/filamentphp/admin/zipball/c74db68eb9c08b1d9744ae242ebac609128102cd", - "reference": "c74db68eb9c08b1d9744ae242ebac609128102cd", + "url": "https://api.github.com/repos/filamentphp/admin/zipball/9f3a0bd4d22cf5aeb01b0b4d95a310f32980fb34", + "reference": "9f3a0bd4d22cf5aeb01b0b4d95a310f32980fb34", "shasum": "" }, "require": { @@ -1265,20 +1265,20 @@ "issues": "https://github.com/filamentphp/filament/issues", "source": "https://github.com/filamentphp/filament" }, - "time": "2022-12-02T11:11:24+00:00" + "time": "2022-12-15T13:28:10+00:00" }, { "name": "filament/forms", - "version": "v2.16.53", + "version": "v2.16.57", "source": { "type": "git", "url": "https://github.com/filamentphp/forms.git", - "reference": "3958f5501728e27a145f15a3d4026b2b15cccc90" + "reference": "76f56fbbaf5881b92884d04a80d588c52cac60f1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/filamentphp/forms/zipball/3958f5501728e27a145f15a3d4026b2b15cccc90", - "reference": "3958f5501728e27a145f15a3d4026b2b15cccc90", + "url": "https://api.github.com/repos/filamentphp/forms/zipball/76f56fbbaf5881b92884d04a80d588c52cac60f1", + "reference": "76f56fbbaf5881b92884d04a80d588c52cac60f1", "shasum": "" }, "require": { @@ -1323,20 +1323,20 @@ "issues": "https://github.com/filamentphp/filament/issues", "source": "https://github.com/filamentphp/filament" }, - "time": "2022-12-02T11:11:22+00:00" + "time": "2022-12-15T13:28:05+00:00" }, { "name": "filament/notifications", - "version": "v2.16.53", + "version": "v2.16.57", "source": { "type": "git", "url": "https://github.com/filamentphp/notifications.git", - "reference": "ad4cc6e1140649c3c2d193b6b8d7fdd7d2a6d02e" + "reference": "91fc0d87202da378b422200ed9eb4cb0e7933453" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/filamentphp/notifications/zipball/ad4cc6e1140649c3c2d193b6b8d7fdd7d2a6d02e", - "reference": "ad4cc6e1140649c3c2d193b6b8d7fdd7d2a6d02e", + "url": "https://api.github.com/repos/filamentphp/notifications/zipball/91fc0d87202da378b422200ed9eb4cb0e7933453", + "reference": "91fc0d87202da378b422200ed9eb4cb0e7933453", "shasum": "" }, "require": { @@ -1376,11 +1376,11 @@ "issues": "https://github.com/filamentphp/filament/issues", "source": "https://github.com/filamentphp/filament" }, - "time": "2022-11-22T10:28:58+00:00" + "time": "2022-12-07T12:06:28+00:00" }, { "name": "filament/spatie-laravel-settings-plugin", - "version": "v2.16.53", + "version": "v2.16.57", "source": { "type": "git", "url": "https://github.com/filamentphp/spatie-laravel-settings-plugin.git", @@ -1427,16 +1427,16 @@ }, { "name": "filament/support", - "version": "v2.16.53", + "version": "v2.16.57", "source": { "type": "git", "url": "https://github.com/filamentphp/support.git", - "reference": "bce9636e7451039e99e5246ce37c59b35d24482b" + "reference": "25ece77e743fdd31603f18f582ae77384103e082" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/filamentphp/support/zipball/bce9636e7451039e99e5246ce37c59b35d24482b", - "reference": "bce9636e7451039e99e5246ce37c59b35d24482b", + "url": "https://api.github.com/repos/filamentphp/support/zipball/25ece77e743fdd31603f18f582ae77384103e082", + "reference": "25ece77e743fdd31603f18f582ae77384103e082", "shasum": "" }, "require": { @@ -1473,20 +1473,20 @@ "issues": "https://github.com/filamentphp/filament/issues", "source": "https://github.com/filamentphp/filament" }, - "time": "2022-12-02T11:11:16+00:00" + "time": "2022-12-15T13:28:07+00:00" }, { "name": "filament/tables", - "version": "v2.16.53", + "version": "v2.16.57", "source": { "type": "git", "url": "https://github.com/filamentphp/tables.git", - "reference": "160733bb34e7a4c9bb24cce42153796c75f293c3" + "reference": "38217b00c677d2d5f7841d1ce847e9e2f6e6649d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/filamentphp/tables/zipball/160733bb34e7a4c9bb24cce42153796c75f293c3", - "reference": "160733bb34e7a4c9bb24cce42153796c75f293c3", + "url": "https://api.github.com/repos/filamentphp/tables/zipball/38217b00c677d2d5f7841d1ce847e9e2f6e6649d", + "reference": "38217b00c677d2d5f7841d1ce847e9e2f6e6649d", "shasum": "" }, "require": { @@ -1529,7 +1529,7 @@ "issues": "https://github.com/filamentphp/filament/issues", "source": "https://github.com/filamentphp/filament" }, - "time": "2022-12-02T11:11:26+00:00" + "time": "2022-12-15T13:28:07+00:00" }, { "name": "fruitcake/php-cors", @@ -2118,16 +2118,16 @@ }, { "name": "laravel/framework", - "version": "v9.42.2", + "version": "v9.44.0", "source": { "type": "git", "url": "https://github.com/laravel/framework.git", - "reference": "607d7867c93706eae20e28e46679f8a66e2a23ec" + "reference": "60808a7d9acd53461fd69634c08fc7e0a99fbf98" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/framework/zipball/607d7867c93706eae20e28e46679f8a66e2a23ec", - "reference": "607d7867c93706eae20e28e46679f8a66e2a23ec", + "url": "https://api.github.com/repos/laravel/framework/zipball/60808a7d9acd53461fd69634c08fc7e0a99fbf98", + "reference": "60808a7d9acd53461fd69634c08fc7e0a99fbf98", "shasum": "" }, "require": { @@ -2300,7 +2300,7 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2022-11-30T16:23:52+00:00" + "time": "2022-12-15T14:56:36+00:00" }, { "name": "laravel/sanctum", @@ -2497,16 +2497,16 @@ }, { "name": "league/commonmark", - "version": "2.3.7", + "version": "2.3.8", "source": { "type": "git", "url": "https://github.com/thephpleague/commonmark.git", - "reference": "a36bd2be4f5387c0f3a8792a0d76b7d68865abbf" + "reference": "c493585c130544c4e91d2e0e131e6d35cb0cbc47" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/commonmark/zipball/a36bd2be4f5387c0f3a8792a0d76b7d68865abbf", - "reference": "a36bd2be4f5387c0f3a8792a0d76b7d68865abbf", + "url": "https://api.github.com/repos/thephpleague/commonmark/zipball/c493585c130544c4e91d2e0e131e6d35cb0cbc47", + "reference": "c493585c130544c4e91d2e0e131e6d35cb0cbc47", "shasum": "" }, "require": { @@ -2534,7 +2534,7 @@ "symfony/finder": "^5.3 | ^6.0", "symfony/yaml": "^2.3 | ^3.0 | ^4.0 | ^5.0 | ^6.0", "unleashedtech/php-coding-standard": "^3.1.1", - "vimeo/psalm": "^4.24.0" + "vimeo/psalm": "^4.24.0 || ^5.0.0" }, "suggest": { "symfony/yaml": "v2.3+ required if using the Front Matter extension" @@ -2599,20 +2599,20 @@ "type": "tidelift" } ], - "time": "2022-11-03T17:29:46+00:00" + "time": "2022-12-10T16:02:17+00:00" }, { "name": "league/config", - "version": "v1.1.1", + "version": "v1.2.0", "source": { "type": "git", "url": "https://github.com/thephpleague/config.git", - "reference": "a9d39eeeb6cc49d10a6e6c36f22c4c1f4a767f3e" + "reference": "754b3604fb2984c71f4af4a9cbe7b57f346ec1f3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/config/zipball/a9d39eeeb6cc49d10a6e6c36f22c4c1f4a767f3e", - "reference": "a9d39eeeb6cc49d10a6e6c36f22c4c1f4a767f3e", + "url": "https://api.github.com/repos/thephpleague/config/zipball/754b3604fb2984c71f4af4a9cbe7b57f346ec1f3", + "reference": "754b3604fb2984c71f4af4a9cbe7b57f346ec1f3", "shasum": "" }, "require": { @@ -2621,7 +2621,7 @@ "php": "^7.4 || ^8.0" }, "require-dev": { - "phpstan/phpstan": "^0.12.90", + "phpstan/phpstan": "^1.8.2", "phpunit/phpunit": "^9.5.5", "scrutinizer/ocular": "^1.8.1", "unleashedtech/php-coding-standard": "^3.1", @@ -2681,7 +2681,7 @@ "type": "github" } ], - "time": "2021-08-14T12:15:32+00:00" + "time": "2022-12-11T20:36:23+00:00" }, { "name": "league/flysystem", @@ -2897,6 +2897,7 @@ "issues": "https://github.com/thephpleague/uri-parser/issues", "source": "https://github.com/thephpleague/uri-parser/tree/master" }, + "abandoned": true, "time": "2018-11-22T07:55:51+00:00" }, { @@ -5119,16 +5120,16 @@ }, { "name": "symfony/console", - "version": "v6.2.0", + "version": "v6.2.1", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "75d4749d9620a8fa21a2d2847800a84b5c4e7682" + "reference": "58f6cef5dc5f641b7bbdbf8b32b44cc926c35f3f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/75d4749d9620a8fa21a2d2847800a84b5c4e7682", - "reference": "75d4749d9620a8fa21a2d2847800a84b5c4e7682", + "url": "https://api.github.com/repos/symfony/console/zipball/58f6cef5dc5f641b7bbdbf8b32b44cc926c35f3f", + "reference": "58f6cef5dc5f641b7bbdbf8b32b44cc926c35f3f", "shasum": "" }, "require": { @@ -5195,7 +5196,7 @@ "terminal" ], "support": { - "source": "https://github.com/symfony/console/tree/v6.2.0" + "source": "https://github.com/symfony/console/tree/v6.2.1" }, "funding": [ { @@ -5211,7 +5212,7 @@ "type": "tidelift" } ], - "time": "2022-11-29T16:44:51+00:00" + "time": "2022-12-01T13:44:20+00:00" }, { "name": "symfony/css-selector", @@ -5280,16 +5281,16 @@ }, { "name": "symfony/deprecation-contracts", - "version": "v3.1.1", + "version": "v3.2.0", "source": { "type": "git", "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "07f1b9cc2ffee6aaafcf4b710fbc38ff736bd918" + "reference": "1ee04c65529dea5d8744774d474e7cbd2f1206d3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/07f1b9cc2ffee6aaafcf4b710fbc38ff736bd918", - "reference": "07f1b9cc2ffee6aaafcf4b710fbc38ff736bd918", + "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/1ee04c65529dea5d8744774d474e7cbd2f1206d3", + "reference": "1ee04c65529dea5d8744774d474e7cbd2f1206d3", "shasum": "" }, "require": { @@ -5298,7 +5299,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "3.1-dev" + "dev-main": "3.3-dev" }, "thanks": { "name": "symfony/contracts", @@ -5327,7 +5328,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.1.1" + "source": "https://github.com/symfony/deprecation-contracts/tree/v3.2.0" }, "funding": [ { @@ -5343,20 +5344,20 @@ "type": "tidelift" } ], - "time": "2022-02-25T11:15:52+00:00" + "time": "2022-11-25T10:21:52+00:00" }, { "name": "symfony/error-handler", - "version": "v6.2.0", + "version": "v6.2.1", "source": { "type": "git", "url": "https://github.com/symfony/error-handler.git", - "reference": "d9894724a9d20afd3329e36b36e45835b5c2ab3e" + "reference": "b4e41f62c1124378863ff2705158a60da3e4c6b9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/error-handler/zipball/d9894724a9d20afd3329e36b36e45835b5c2ab3e", - "reference": "d9894724a9d20afd3329e36b36e45835b5c2ab3e", + "url": "https://api.github.com/repos/symfony/error-handler/zipball/b4e41f62c1124378863ff2705158a60da3e4c6b9", + "reference": "b4e41f62c1124378863ff2705158a60da3e4c6b9", "shasum": "" }, "require": { @@ -5398,7 +5399,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.2.0" + "source": "https://github.com/symfony/error-handler/tree/v6.2.1" }, "funding": [ { @@ -5414,7 +5415,7 @@ "type": "tidelift" } ], - "time": "2022-11-02T09:08:04+00:00" + "time": "2022-12-01T21:07:46+00:00" }, { "name": "symfony/event-dispatcher", @@ -5501,16 +5502,16 @@ }, { "name": "symfony/event-dispatcher-contracts", - "version": "v3.1.1", + "version": "v3.2.0", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher-contracts.git", - "reference": "02ff5eea2f453731cfbc6bc215e456b781480448" + "reference": "0782b0b52a737a05b4383d0df35a474303cabdae" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/02ff5eea2f453731cfbc6bc215e456b781480448", - "reference": "02ff5eea2f453731cfbc6bc215e456b781480448", + "url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/0782b0b52a737a05b4383d0df35a474303cabdae", + "reference": "0782b0b52a737a05b4383d0df35a474303cabdae", "shasum": "" }, "require": { @@ -5523,7 +5524,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "3.1-dev" + "dev-main": "3.3-dev" }, "thanks": { "name": "symfony/contracts", @@ -5560,7 +5561,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v3.1.1" + "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v3.2.0" }, "funding": [ { @@ -5576,7 +5577,7 @@ "type": "tidelift" } ], - "time": "2022-02-25T11:15:52+00:00" + "time": "2022-11-25T10:21:52+00:00" }, { "name": "symfony/finder", @@ -5644,16 +5645,16 @@ }, { "name": "symfony/http-foundation", - "version": "v6.2.0", + "version": "v6.2.1", "source": { "type": "git", "url": "https://github.com/symfony/http-foundation.git", - "reference": "edc56ed49a2955383d59e9b7043fd3bbc26f1854" + "reference": "d0bbd5a7e81b38f32504399b9199f265505b7bac" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-foundation/zipball/edc56ed49a2955383d59e9b7043fd3bbc26f1854", - "reference": "edc56ed49a2955383d59e9b7043fd3bbc26f1854", + "url": "https://api.github.com/repos/symfony/http-foundation/zipball/d0bbd5a7e81b38f32504399b9199f265505b7bac", + "reference": "d0bbd5a7e81b38f32504399b9199f265505b7bac", "shasum": "" }, "require": { @@ -5702,7 +5703,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.2.0" + "source": "https://github.com/symfony/http-foundation/tree/v6.2.1" }, "funding": [ { @@ -5718,20 +5719,20 @@ "type": "tidelift" } ], - "time": "2022-11-21T16:03:04+00:00" + "time": "2022-12-04T18:26:13+00:00" }, { "name": "symfony/http-kernel", - "version": "v6.2.0", + "version": "v6.2.1", "source": { "type": "git", "url": "https://github.com/symfony/http-kernel.git", - "reference": "e008ce658dbd995b3c3ab3d9be0555ea3b11867e" + "reference": "bcbd2ea12fee651a4c8bff4f6f00cce2ac1f8404" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-kernel/zipball/e008ce658dbd995b3c3ab3d9be0555ea3b11867e", - "reference": "e008ce658dbd995b3c3ab3d9be0555ea3b11867e", + "url": "https://api.github.com/repos/symfony/http-kernel/zipball/bcbd2ea12fee651a4c8bff4f6f00cce2ac1f8404", + "reference": "bcbd2ea12fee651a4c8bff4f6f00cce2ac1f8404", "shasum": "" }, "require": { @@ -5813,7 +5814,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.2.0" + "source": "https://github.com/symfony/http-kernel/tree/v6.2.1" }, "funding": [ { @@ -5829,20 +5830,20 @@ "type": "tidelift" } ], - "time": "2022-11-30T17:37:58+00:00" + "time": "2022-12-06T17:28:26+00:00" }, { "name": "symfony/mailer", - "version": "v6.2.0", + "version": "v6.2.1", "source": { "type": "git", "url": "https://github.com/symfony/mailer.git", - "reference": "7b355fca167fa5302c77bccdfa0af4d7abc6bd8c" + "reference": "a18c3dd41cfcf011e3866802e39b9ae9e541deaf" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/mailer/zipball/7b355fca167fa5302c77bccdfa0af4d7abc6bd8c", - "reference": "7b355fca167fa5302c77bccdfa0af4d7abc6bd8c", + "url": "https://api.github.com/repos/symfony/mailer/zipball/a18c3dd41cfcf011e3866802e39b9ae9e541deaf", + "reference": "a18c3dd41cfcf011e3866802e39b9ae9e541deaf", "shasum": "" }, "require": { @@ -5857,7 +5858,8 @@ "conflict": { "symfony/http-kernel": "<5.4", "symfony/messenger": "<6.2", - "symfony/mime": "<6.2" + "symfony/mime": "<6.2", + "symfony/twig-bridge": "<6.2.1" }, "require-dev": { "symfony/console": "^5.4|^6.0", @@ -5891,7 +5893,7 @@ "description": "Helps sending emails", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/mailer/tree/v6.2.0" + "source": "https://github.com/symfony/mailer/tree/v6.2.1" }, "funding": [ { @@ -5907,7 +5909,7 @@ "type": "tidelift" } ], - "time": "2022-11-28T17:18:31+00:00" + "time": "2022-12-06T16:54:23+00:00" }, { "name": "symfony/mime", @@ -7149,16 +7151,16 @@ }, { "name": "symfony/translation-contracts", - "version": "v3.1.1", + "version": "v3.2.0", "source": { "type": "git", "url": "https://github.com/symfony/translation-contracts.git", - "reference": "606be0f48e05116baef052f7f3abdb345c8e02cc" + "reference": "68cce71402305a015f8c1589bfada1280dc64fe7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/translation-contracts/zipball/606be0f48e05116baef052f7f3abdb345c8e02cc", - "reference": "606be0f48e05116baef052f7f3abdb345c8e02cc", + "url": "https://api.github.com/repos/symfony/translation-contracts/zipball/68cce71402305a015f8c1589bfada1280dc64fe7", + "reference": "68cce71402305a015f8c1589bfada1280dc64fe7", "shasum": "" }, "require": { @@ -7170,7 +7172,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "3.1-dev" + "dev-main": "3.3-dev" }, "thanks": { "name": "symfony/contracts", @@ -7210,7 +7212,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/translation-contracts/tree/v3.1.1" + "source": "https://github.com/symfony/translation-contracts/tree/v3.2.0" }, "funding": [ { @@ -7226,7 +7228,7 @@ "type": "tidelift" } ], - "time": "2022-06-27T17:24:16+00:00" + "time": "2022-11-25T10:21:52+00:00" }, { "name": "symfony/uid", @@ -7304,16 +7306,16 @@ }, { "name": "symfony/var-dumper", - "version": "v6.2.0", + "version": "v6.2.1", "source": { "type": "git", "url": "https://github.com/symfony/var-dumper.git", - "reference": "6228b11059d7b279be699682f164a107ba9a268d" + "reference": "1e7544c8698627b908657e5276854d52ab70087a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/var-dumper/zipball/6228b11059d7b279be699682f164a107ba9a268d", - "reference": "6228b11059d7b279be699682f164a107ba9a268d", + "url": "https://api.github.com/repos/symfony/var-dumper/zipball/1e7544c8698627b908657e5276854d52ab70087a", + "reference": "1e7544c8698627b908657e5276854d52ab70087a", "shasum": "" }, "require": { @@ -7372,7 +7374,7 @@ "dump" ], "support": { - "source": "https://github.com/symfony/var-dumper/tree/v6.2.0" + "source": "https://github.com/symfony/var-dumper/tree/v6.2.1" }, "funding": [ { @@ -7388,7 +7390,7 @@ "type": "tidelift" } ], - "time": "2022-11-28T13:41:56+00:00" + "time": "2022-12-03T22:32:58+00:00" }, { "name": "tgalopin/html-sanitizer", @@ -7999,20 +8001,20 @@ }, { "name": "fakerphp/faker", - "version": "v1.20.0", + "version": "v1.21.0", "source": { "type": "git", "url": "https://github.com/FakerPHP/Faker.git", - "reference": "37f751c67a5372d4e26353bd9384bc03744ec77b" + "reference": "92efad6a967f0b79c499705c69b662f738cc9e4d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/FakerPHP/Faker/zipball/37f751c67a5372d4e26353bd9384bc03744ec77b", - "reference": "37f751c67a5372d4e26353bd9384bc03744ec77b", + "url": "https://api.github.com/repos/FakerPHP/Faker/zipball/92efad6a967f0b79c499705c69b662f738cc9e4d", + "reference": "92efad6a967f0b79c499705c69b662f738cc9e4d", "shasum": "" }, "require": { - "php": "^7.1 || ^8.0", + "php": "^7.4 || ^8.0", "psr/container": "^1.0 || ^2.0", "symfony/deprecation-contracts": "^2.2 || ^3.0" }, @@ -8023,7 +8025,8 @@ "bamarni/composer-bin-plugin": "^1.4.1", "doctrine/persistence": "^1.3 || ^2.0", "ext-intl": "*", - "symfony/phpunit-bridge": "^4.4 || ^5.2" + "phpunit/phpunit": "^9.5.26", + "symfony/phpunit-bridge": "^5.4.16" }, "suggest": { "doctrine/orm": "Required to use Faker\\ORM\\Doctrine", @@ -8035,7 +8038,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "v1.20-dev" + "dev-main": "v1.21-dev" } }, "autoload": { @@ -8060,9 +8063,9 @@ ], "support": { "issues": "https://github.com/FakerPHP/Faker/issues", - "source": "https://github.com/FakerPHP/Faker/tree/v1.20.0" + "source": "https://github.com/FakerPHP/Faker/tree/v1.21.0" }, - "time": "2022-07-20T13:12:54+00:00" + "time": "2022-12-13T13:54:32+00:00" }, { "name": "filp/whoops", @@ -8254,16 +8257,16 @@ }, { "name": "laravel/sail", - "version": "v1.16.3", + "version": "v1.16.5", "source": { "type": "git", "url": "https://github.com/laravel/sail.git", - "reference": "0dbee8802e17911afbe29a8506316343829b056e" + "reference": "9ec5338d13bdc941a23347cb36385988c525fe02" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/sail/zipball/0dbee8802e17911afbe29a8506316343829b056e", - "reference": "0dbee8802e17911afbe29a8506316343829b056e", + "url": "https://api.github.com/repos/laravel/sail/zipball/9ec5338d13bdc941a23347cb36385988c525fe02", + "reference": "9ec5338d13bdc941a23347cb36385988c525fe02", "shasum": "" }, "require": { @@ -8310,7 +8313,7 @@ "issues": "https://github.com/laravel/sail/issues", "source": "https://github.com/laravel/sail" }, - "time": "2022-11-21T16:19:18+00:00" + "time": "2022-12-14T14:54:21+00:00" }, { "name": "mockery/mockery", @@ -8644,16 +8647,16 @@ }, { "name": "phpunit/php-code-coverage", - "version": "9.2.19", + "version": "9.2.21", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "c77b56b63e3d2031bd8997fcec43c1925ae46559" + "reference": "3f893e19712bb0c8bc86665d1562e9fd509c4ef0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/c77b56b63e3d2031bd8997fcec43c1925ae46559", - "reference": "c77b56b63e3d2031bd8997fcec43c1925ae46559", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/3f893e19712bb0c8bc86665d1562e9fd509c4ef0", + "reference": "3f893e19712bb0c8bc86665d1562e9fd509c4ef0", "shasum": "" }, "require": { @@ -8709,7 +8712,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", - "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.19" + "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.21" }, "funding": [ { @@ -8717,7 +8720,7 @@ "type": "github" } ], - "time": "2022-11-18T07:47:47+00:00" + "time": "2022-12-14T13:26:54+00:00" }, { "name": "phpunit/php-file-iterator", @@ -8962,16 +8965,16 @@ }, { "name": "phpunit/phpunit", - "version": "9.5.26", + "version": "9.5.27", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "851867efcbb6a1b992ec515c71cdcf20d895e9d2" + "reference": "a2bc7ffdca99f92d959b3f2270529334030bba38" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/851867efcbb6a1b992ec515c71cdcf20d895e9d2", - "reference": "851867efcbb6a1b992ec515c71cdcf20d895e9d2", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/a2bc7ffdca99f92d959b3f2270529334030bba38", + "reference": "a2bc7ffdca99f92d959b3f2270529334030bba38", "shasum": "" }, "require": { @@ -9044,7 +9047,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/phpunit/issues", - "source": "https://github.com/sebastianbergmann/phpunit/tree/9.5.26" + "source": "https://github.com/sebastianbergmann/phpunit/tree/9.5.27" }, "funding": [ { @@ -9060,7 +9063,7 @@ "type": "tidelift" } ], - "time": "2022-10-28T06:00:21+00:00" + "time": "2022-12-09T07:31:23+00:00" }, { "name": "sebastian/cli-parser", @@ -10234,16 +10237,16 @@ }, { "name": "spatie/laravel-ignition", - "version": "1.6.1", + "version": "1.6.2", "source": { "type": "git", "url": "https://github.com/spatie/laravel-ignition.git", - "reference": "2b79cf6ed40946b64ac6713d7d2da8a9d87f612b" + "reference": "d6e1e1ad93abe280abf41c33f8ea7647dfc0c233" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/laravel-ignition/zipball/2b79cf6ed40946b64ac6713d7d2da8a9d87f612b", - "reference": "2b79cf6ed40946b64ac6713d7d2da8a9d87f612b", + "url": "https://api.github.com/repos/spatie/laravel-ignition/zipball/d6e1e1ad93abe280abf41c33f8ea7647dfc0c233", + "reference": "d6e1e1ad93abe280abf41c33f8ea7647dfc0c233", "shasum": "" }, "require": { @@ -10320,7 +10323,7 @@ "type": "github" } ], - "time": "2022-10-26T17:39:54+00:00" + "time": "2022-12-08T15:31:38+00:00" }, { "name": "theseer/tokenizer", From fc670fc40cba0ae4a5cd15f1668af2186f58900a Mon Sep 17 00:00:00 2001 From: Alex Justesen Date: Fri, 16 Dec 2022 09:51:07 -0500 Subject: [PATCH 2/6] added speed and ping charts --- app/Filament/Pages/Dashboard.php | 4 + app/Filament/Widgets/RecentPingChart.php | 86 +++++++++++++++++++++ app/Filament/Widgets/RecentSpeedChart.php | 92 +++++++++++++++++++++++ 3 files changed, 182 insertions(+) create mode 100644 app/Filament/Widgets/RecentPingChart.php create mode 100644 app/Filament/Widgets/RecentSpeedChart.php diff --git a/app/Filament/Pages/Dashboard.php b/app/Filament/Pages/Dashboard.php index 29a71ccd0..1726763a8 100644 --- a/app/Filament/Pages/Dashboard.php +++ b/app/Filament/Pages/Dashboard.php @@ -2,6 +2,8 @@ namespace App\Filament\Pages; +use App\Filament\Widgets\RecentPingChart; +use App\Filament\Widgets\RecentSpeedChart; use App\Filament\Widgets\StatsOverview; use App\Jobs\ExecSpeedtest; use App\Settings\GeneralSettings; @@ -26,6 +28,8 @@ public function getHeaderWidgets(): array { return [ StatsOverview::class, + RecentSpeedChart::class, + RecentPingChart::class, ]; } diff --git a/app/Filament/Widgets/RecentPingChart.php b/app/Filament/Widgets/RecentPingChart.php new file mode 100644 index 000000000..27208465c --- /dev/null +++ b/app/Filament/Widgets/RecentPingChart.php @@ -0,0 +1,86 @@ + 'Today', + 'week' => 'Last week', + 'month' => 'Last month', + ]; + } + + protected function getData(): array + { + $range = []; + + $settings = new GeneralSettings(); + + switch ($this->filter) { + case 'today': + $range = [ + ['created_at', '>=', now()->startOfDay()], + ['created_at', '<=', now()], + ]; + break; + + case 'week': + $range = [ + ['created_at', '>=', now()->subWeek()], + ['created_at', '<=', now()], + ]; + break; + + case 'month': + $range = [ + ['created_at', '>=', now()->subMonth()], + ['created_at', '<=', now()], + ]; + break; + } + + $results = Result::query() + ->select(['ping', 'created_at']) + ->where($range) + ->get(); + + return [ + 'datasets' => [ + [ + 'label' => 'Ping (ms)', + 'data' => $results->map(fn ($item) => $item->ping), + 'borderColor' => '#0ea5e9', + 'backgroundColor' => '#0ea5e9', + ], + ], + 'labels' => $results->map(fn ($item) => $item->created_at->timezone($settings->timezone)->format('M d - G:i')), + ]; + } + + protected static ?array $options = [ + 'plugins' => [ + // + ], + 'scales' => [ + 'y' => [ + 'min' => 0, + ], + ], + ]; +} diff --git a/app/Filament/Widgets/RecentSpeedChart.php b/app/Filament/Widgets/RecentSpeedChart.php new file mode 100644 index 000000000..b6818e728 --- /dev/null +++ b/app/Filament/Widgets/RecentSpeedChart.php @@ -0,0 +1,92 @@ + 'Today', + 'week' => 'Last week', + 'month' => 'Last month', + ]; + } + + protected function getData(): array + { + $range = []; + + $settings = new GeneralSettings(); + + switch ($this->filter) { + case 'today': + $range = [ + ['created_at', '>=', now()->startOfDay()], + ['created_at', '<=', now()], + ]; + break; + + case 'week': + $range = [ + ['created_at', '>=', now()->subWeek()], + ['created_at', '<=', now()], + ]; + break; + + case 'month': + $range = [ + ['created_at', '>=', now()->subMonth()], + ['created_at', '<=', now()], + ]; + break; + } + + $results = Result::query() + ->select(['download', 'upload', 'created_at']) + ->where($range) + ->get(); + + return [ + 'datasets' => [ + [ + 'label' => 'Download (mbps)', + 'data' => $results->map(fn ($item) => formatBits(formatBytesToBits($item->download), 2, false)), + 'borderColor' => '#0ea5e9', + 'backgroundColor' => '#0ea5e9', + ], + [ + 'label' => 'Upload (mbps)', + 'data' => $results->map(fn ($item) => formatBits(formatBytesToBits($item->upload), 2, false)), + 'borderColor' => '#8b5cf6', + 'backgroundColor' => '#8b5cf6', + ], + ], + 'labels' => $results->map(fn ($item) => $item->created_at->timezone($settings->timezone)->format('M d - G:i')), + ]; + } + + protected static ?array $options = [ + 'plugins' => [ + // + ], + 'scales' => [ + 'y' => [ + 'min' => 0, + ], + ], + ]; +} From c6485b2176ea90366c11020f93a772f5400b597f Mon Sep 17 00:00:00 2001 From: Alex Justesen Date: Fri, 16 Dec 2022 09:51:13 -0500 Subject: [PATCH 3/6] removed welcome message --- resources/views/filament/pages/dashboard.blade.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/resources/views/filament/pages/dashboard.blade.php b/resources/views/filament/pages/dashboard.blade.php index 37ebb09e0..cda924d8a 100644 --- a/resources/views/filament/pages/dashboard.blade.php +++ b/resources/views/filament/pages/dashboard.blade.php @@ -1,5 +1 @@ - -

- 👋 Welcome to Speedtest Tracker, here you can track your internet speed using Ookla's Speedtest service. Keep in mind that this is still work in progress so make sure to check out the documentation and follow along on GitHub for updates. -

-
+ From c7eb1ea8634573681a09b84c90b1f60b095d3450 Mon Sep 17 00:00:00 2001 From: Alex Justesen Date: Fri, 16 Dec 2022 10:10:25 -0500 Subject: [PATCH 4/6] added jitter chart --- app/Filament/Pages/Dashboard.php | 2 + app/Filament/Widgets/RecentJitterChart.php | 98 ++++++++++++++++++++++ 2 files changed, 100 insertions(+) create mode 100644 app/Filament/Widgets/RecentJitterChart.php diff --git a/app/Filament/Pages/Dashboard.php b/app/Filament/Pages/Dashboard.php index 1726763a8..b973e631c 100644 --- a/app/Filament/Pages/Dashboard.php +++ b/app/Filament/Pages/Dashboard.php @@ -2,6 +2,7 @@ namespace App\Filament\Pages; +use App\Filament\Widgets\RecentJitterChart; use App\Filament\Widgets\RecentPingChart; use App\Filament\Widgets\RecentSpeedChart; use App\Filament\Widgets\StatsOverview; @@ -30,6 +31,7 @@ public function getHeaderWidgets(): array StatsOverview::class, RecentSpeedChart::class, RecentPingChart::class, + RecentJitterChart::class, ]; } diff --git a/app/Filament/Widgets/RecentJitterChart.php b/app/Filament/Widgets/RecentJitterChart.php new file mode 100644 index 000000000..6e3e2aad7 --- /dev/null +++ b/app/Filament/Widgets/RecentJitterChart.php @@ -0,0 +1,98 @@ + 'Today', + 'week' => 'Last week', + 'month' => 'Last month', + ]; + } + + protected function getData(): array + { + $range = []; + + $settings = new GeneralSettings(); + + switch ($this->filter) { + case 'today': + $range = [ + ['created_at', '>=', now()->startOfDay()], + ['created_at', '<=', now()], + ]; + break; + + case 'week': + $range = [ + ['created_at', '>=', now()->subWeek()], + ['created_at', '<=', now()], + ]; + break; + + case 'month': + $range = [ + ['created_at', '>=', now()->subMonth()], + ['created_at', '<=', now()], + ]; + break; + } + + $results = Result::query() + ->select(['data', 'created_at']) + ->where($range) + ->get(); + + return [ + 'datasets' => [ + [ + 'label' => 'Download', + 'data' => $results->map(fn ($item) => json_decode($item->data)->download->latency->jitter), + 'borderColor' => '#0ea5e9', + 'backgroundColor' => '#0ea5e9', + ], + [ + 'label' => 'Upload', + 'data' => $results->map(fn ($item) => json_decode($item->data)->upload->latency->jitter), + 'borderColor' => '#8b5cf6', + 'backgroundColor' => '#8b5cf6', + ], + [ + 'label' => 'Ping', + 'data' => $results->map(fn ($item) => json_decode($item->data)->ping->jitter), + 'borderColor' => '#10b981', + 'backgroundColor' => '#10b981', + ], + ], + 'labels' => $results->map(fn ($item) => $item->created_at->timezone($settings->timezone)->format('M d - G:i')), + ]; + } + + protected static ?array $options = [ + 'plugins' => [ + // + ], + 'scales' => [ + 'y' => [ + 'suggestedMin' => 0, + ], + ], + ]; +} From 9e27f3e9b441147471b5d72f625eb85129c78c42 Mon Sep 17 00:00:00 2001 From: Alex Justesen Date: Fri, 16 Dec 2022 10:12:07 -0500 Subject: [PATCH 5/6] fixed chart labels to be consistent --- app/Filament/Widgets/RecentPingChart.php | 8 ++++---- app/Filament/Widgets/RecentSpeedChart.php | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/app/Filament/Widgets/RecentPingChart.php b/app/Filament/Widgets/RecentPingChart.php index 27208465c..df0b44ef2 100644 --- a/app/Filament/Widgets/RecentPingChart.php +++ b/app/Filament/Widgets/RecentPingChart.php @@ -14,7 +14,7 @@ class RecentPingChart extends LineChartWidget protected function getHeading(): string { - return 'Ping'; + return 'Ping (ms)'; } protected function getFilters(): ?array @@ -63,10 +63,10 @@ protected function getData(): array return [ 'datasets' => [ [ - 'label' => 'Ping (ms)', + 'label' => 'Ping', 'data' => $results->map(fn ($item) => $item->ping), - 'borderColor' => '#0ea5e9', - 'backgroundColor' => '#0ea5e9', + 'borderColor' => '#10b981', + 'backgroundColor' => '#10b981', ], ], 'labels' => $results->map(fn ($item) => $item->created_at->timezone($settings->timezone)->format('M d - G:i')), diff --git a/app/Filament/Widgets/RecentSpeedChart.php b/app/Filament/Widgets/RecentSpeedChart.php index b6818e728..208b3680f 100644 --- a/app/Filament/Widgets/RecentSpeedChart.php +++ b/app/Filament/Widgets/RecentSpeedChart.php @@ -14,7 +14,7 @@ class RecentSpeedChart extends LineChartWidget protected function getHeading(): string { - return 'Speed'; + return 'Download / Upload (mbps)'; } protected function getFilters(): ?array @@ -63,13 +63,13 @@ protected function getData(): array return [ 'datasets' => [ [ - 'label' => 'Download (mbps)', + 'label' => 'Download', 'data' => $results->map(fn ($item) => formatBits(formatBytesToBits($item->download), 2, false)), 'borderColor' => '#0ea5e9', 'backgroundColor' => '#0ea5e9', ], [ - 'label' => 'Upload (mbps)', + 'label' => 'Upload', 'data' => $results->map(fn ($item) => formatBits(formatBytesToBits($item->upload), 2, false)), 'borderColor' => '#8b5cf6', 'backgroundColor' => '#8b5cf6', From ebfd5afbecb1fff10afd7ea068306223a718609d Mon Sep 17 00:00:00 2001 From: Alex Justesen Date: Fri, 16 Dec 2022 10:18:58 -0500 Subject: [PATCH 6/6] code quality --- app/Filament/Widgets/RecentJitterChart.php | 2 +- app/Filament/Widgets/RecentPingChart.php | 2 +- app/Filament/Widgets/RecentSpeedChart.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/Filament/Widgets/RecentJitterChart.php b/app/Filament/Widgets/RecentJitterChart.php index 6e3e2aad7..11e2c8ae7 100644 --- a/app/Filament/Widgets/RecentJitterChart.php +++ b/app/Filament/Widgets/RecentJitterChart.php @@ -8,7 +8,7 @@ class RecentJitterChart extends LineChartWidget { - protected int | string | array $columnSpan = 'full'; + protected int|string|array $columnSpan = 'full'; protected static ?string $maxHeight = '300px'; diff --git a/app/Filament/Widgets/RecentPingChart.php b/app/Filament/Widgets/RecentPingChart.php index df0b44ef2..8dcad456b 100644 --- a/app/Filament/Widgets/RecentPingChart.php +++ b/app/Filament/Widgets/RecentPingChart.php @@ -8,7 +8,7 @@ class RecentPingChart extends LineChartWidget { - protected int | string | array $columnSpan = 'full'; + protected int|string|array $columnSpan = 'full'; protected static ?string $maxHeight = '300px'; diff --git a/app/Filament/Widgets/RecentSpeedChart.php b/app/Filament/Widgets/RecentSpeedChart.php index 208b3680f..44e4cf859 100644 --- a/app/Filament/Widgets/RecentSpeedChart.php +++ b/app/Filament/Widgets/RecentSpeedChart.php @@ -8,7 +8,7 @@ class RecentSpeedChart extends LineChartWidget { - protected int | string | array $columnSpan = 'full'; + protected int|string|array $columnSpan = 'full'; protected static ?string $maxHeight = '300px';