Allow PHP-8.2 and up Compatibility instead of just PHP-8.4

This commit is contained in:
johnnyq
2026-06-12 17:06:10 -04:00
parent 2204bd52f4
commit d3a93652f3
220 changed files with 7198 additions and 2635 deletions

View File

@@ -29,10 +29,10 @@ namespace Illuminate\Support\Facades;
* @method static string|null ip()
* @method static array ips()
* @method static string|null userAgent()
* @method static array getAcceptableContentTypes()
* @method static \Illuminate\Http\Request merge(array $input)
* @method static \Illuminate\Http\Request mergeIfMissing(array $input)
* @method static \Illuminate\Http\Request replace(array $input)
* @method static mixed get(string $key, mixed $default = null)
* @method static \Symfony\Component\HttpFoundation\InputBag|mixed json(string|null $key = null, mixed $default = null)
* @method static \Illuminate\Http\Request createFrom(\Illuminate\Http\Request $from, \Illuminate\Http\Request|null $to = null)
* @method static \Illuminate\Http\Request createFromBase(\Symfony\Component\HttpFoundation\Request $request)
@@ -65,6 +65,8 @@ namespace Illuminate\Support\Facades;
* @method static string normalizeQueryString(string|null $qs)
* @method static void enableHttpMethodParameterOverride()
* @method static bool getHttpMethodParameterOverride()
* @method static void setAllowedHttpMethodOverride(string[]|null $methods)
* @method static string[]|null getAllowedHttpMethodOverride()
* @method static bool hasPreviousSession()
* @method static void setSession(\Symfony\Component\HttpFoundation\Session\SessionInterface $session)
* @method static array getClientIps()
@@ -92,8 +94,8 @@ namespace Illuminate\Support\Facades;
* @method static string getRealMethod()
* @method static string|null getMimeType(string $format)
* @method static string[] getMimeTypes(string $format)
* @method static string|null getFormat(string|null $mimeType)
* @method static void setFormat(string|null $format, string|string[] $mimeTypes)
* @method static string|null getFormat(string|null $mimeType, bool $subtypeFallback = null)
* @method static void setFormat(string $format, string|string[] $mimeTypes)
* @method static string|null getRequestFormat(string|null $default = 'html')
* @method static void setRequestFormat(string|null $format)
* @method static string|null getContentTypeFormat()
@@ -115,7 +117,6 @@ namespace Illuminate\Support\Facades;
* @method static string[] getLanguages()
* @method static string[] getCharsets()
* @method static string[] getEncodings()
* @method static string[] getAcceptableContentTypes()
* @method static bool isXmlHttpRequest()
* @method static bool preferSafeContent()
* @method static bool isFromTrustedProxy()
@@ -125,10 +126,12 @@ namespace Illuminate\Support\Facades;
* @method static bool isJson()
* @method static bool expectsJson()
* @method static bool wantsJson()
* @method static bool wantsMarkdown()
* @method static bool accepts(string|array $contentTypes)
* @method static string|null prefers(string|array $contentTypes)
* @method static bool acceptsAnyContentType()
* @method static bool acceptsJson()
* @method static bool acceptsMarkdown()
* @method static bool acceptsHtml()
* @method static bool matchesType(string $actual, string $type)
* @method static string format(string $default = 'html')
@@ -144,7 +147,7 @@ namespace Illuminate\Support\Facades;
* @method static array keys()
* @method static array all(mixed $keys = null)
* @method static mixed input(string|null $key = null, mixed $default = null)
* @method static \Illuminate\Support\Fluent fluent(array|string|null $key = null)
* @method static \Illuminate\Support\Fluent fluent(array|string|null $key = null, array $default = [])
* @method static string|array|null query(string|null $key = null, string|array|null $default = null)
* @method static string|array|null post(string|null $key = null, string|array|null $default = null)
* @method static bool hasCookie(string $key)
@@ -169,8 +172,10 @@ namespace Illuminate\Support\Facades;
* @method static bool boolean(string|null $key = null, bool $default = false)
* @method static int integer(string $key, int $default = 0)
* @method static float float(string $key, float $default = 0)
* @method static float|int clamp(string $key, int|float $min, int|float $max, int|float $default = 0)
* @method static \Illuminate\Support\Carbon|null date(string $key, string|null $format = null, \UnitEnum|string|null $tz = null)
* @method static \BackedEnum|null enum(string $key, string $enumClass, \BackedEnum|null $default = null)
* @method static \Carbon\CarbonInterval|null interval(string $key, \Carbon\Unit|string|null $unit = null)
* @method static \BackedEnum|\BackedEnum|null enum(string $key, string $enumClass, \BackedEnum|null $default = null)
* @method static \BackedEnum[] enums(string $key, string $enumClass)
* @method static array array(array|string|null $key = null)
* @method static \Illuminate\Support\Collection collect(array|string|null $key = null)