chore: update documentation and enforce testing rules

- Added testing rules to CLAUDE.md and GEMINI.md, specifying that every change must be programmatically tested and to run the minimum number of tests for efficiency.
- Updated _ide_helper.php to remove unnecessary whitespace in PHPDoc comments.
- Changed file permissions for artisan to ensure it is not executable.
- Updated composer.lock to reflect new versions for several packages, including league/commonmark, psy/psysh, and symfony components.
- Updated package-lock.json to upgrade postcss to version 8.5.8.
This commit is contained in:
Adrian Mejias committed 2026-03-08 03:57:00 -05:00
1 parent 82498b9189
commit 0c7730de8f
8 files changed
+178 -156

No files matched your search

+65 -65
View File
@@ -353,7 +353,7 @@ namespace Illuminate\Support\Facades {
/**
* Get the path to the views directory.
*
*
* This method returns the first configured path in the array of view paths.
*
* @param string $path
@@ -1229,9 +1229,9 @@ namespace Illuminate\Support\Facades {
/**
* Returns true if the container can return an entry for the given identifier.
*
*
* Returns false otherwise.
*
*
* `has($id)` returning true does not mean that `get($id)` will not throw an exception.
* It does however mean that `get($id)` will not throw a `NotFoundExceptionInterface`.
*
@@ -2607,7 +2607,7 @@ namespace Illuminate\Support\Facades {
/**
* Log the user out of the application on their current device only.
*
*
* This method does not cycle the "remember" token.
*
* @return void
@@ -2621,7 +2621,7 @@ namespace Illuminate\Support\Facades {
/**
* Invalidate other sessions for the current user.
*
*
* The application must be using the AuthenticateSession middleware.
*
* @param string $password
@@ -3585,7 +3585,7 @@ namespace Illuminate\Support\Facades {
/**
* Register the routes for handling broadcast authentication and sockets.
*
*
* Alias of "routes" method.
*
* @param array|null $attributes
@@ -3832,7 +3832,7 @@ namespace Illuminate\Support\Facades {
/**
* Dispatch a command to its appropriate handler in the current process.
*
*
* Queueable jobs will be dispatched to the "sync" queue.
*
* @param mixed $command
@@ -4632,7 +4632,7 @@ namespace Illuminate\Support\Facades {
/**
* Retrieve multiple items from the cache by key.
*
*
* Items not found in the cache will have a null value.
*
* @param array $keys
@@ -6264,7 +6264,7 @@ namespace Illuminate\Support\Facades {
/**
* @template TReturn of mixed
*
*
* Run the callback function with the given context values and restore the original context state when complete.
* @param (callable(): TReturn) $callback
* @param array<string, mixed> $data
@@ -8382,7 +8382,7 @@ namespace Illuminate\Support\Facades {
/**
* @template TReturn of mixed
*
*
* Execute a Closure within a transaction.
* @param (\Closure(static): TReturn) $callback
* @param int $attempts
@@ -9521,7 +9521,7 @@ namespace Illuminate\Support\Facades {
/**
* Recursively delete a directory.
*
*
* The directory itself may be optionally preserved.
*
* @param string $directory
@@ -11298,7 +11298,7 @@ namespace Illuminate\Support\Facades {
/**
* Action must be taken immediately.
*
*
* Example: Entire website down, database unavailable, etc. This should
* trigger the SMS alerts and wake you up.
*
@@ -11315,7 +11315,7 @@ namespace Illuminate\Support\Facades {
/**
* Critical conditions.
*
*
* Example: Application component unavailable, unexpected exception.
*
* @param string|\Stringable $message
@@ -11346,7 +11346,7 @@ namespace Illuminate\Support\Facades {
/**
* Exceptional occurrences that are not errors.
*
*
* Example: Use of deprecated APIs, poor use of an API, undesirable things
* that are not necessarily wrong.
*
@@ -11377,7 +11377,7 @@ namespace Illuminate\Support\Facades {
/**
* Interesting events.
*
*
* Example: User logs in, SQL logs.
*
* @param string|\Stringable $message
@@ -12897,7 +12897,7 @@ namespace Illuminate\Support\Facades {
/**
* Indicate that queue workers should not poll for restart or pause signals.
*
*
* This prevents the workers from hitting the application cache to determine if they need to pause or restart.
*
* @return void
@@ -14508,7 +14508,7 @@ namespace Illuminate\Support\Facades {
/**
* This method belongs to Symfony HttpFoundation and is not usually needed when using Laravel.
*
*
* Instead, you may use the "input" method.
*
* @param string $key
@@ -14582,7 +14582,7 @@ namespace Illuminate\Support\Facades {
/**
* Whether the request contains a Session object.
*
*
* This method does not give any information about the state of the session object,
* like whether the session is started or not. It is just a way to check if this Request
* is associated with a Session instance.
@@ -14831,7 +14831,7 @@ namespace Illuminate\Support\Facades {
/**
* Sets the parameters for this request.
*
*
* This method also re-initializes all properties.
*
* @param array $query The GET parameters
@@ -14863,7 +14863,7 @@ namespace Illuminate\Support\Facades {
/**
* Creates a Request based on a given URI and configuration.
*
*
* The information contained in the URI always take precedence
* over the other information (server and parameters).
*
@@ -14885,7 +14885,7 @@ namespace Illuminate\Support\Facades {
/**
* Sets a callable able to create a Request instance.
*
*
* This is mainly useful when you need to override the Request class
* to keep BC with an existing system. It should not be used for any
* other purpose.
@@ -14900,7 +14900,7 @@ namespace Illuminate\Support\Facades {
/**
* Overrides the PHP global variables according to this request instance.
*
*
* It overrides $_GET, $_POST, $_REQUEST, $_SERVER, $_COOKIE.
* $_FILES is never overridden, see rfc1867
*
@@ -14915,7 +14915,7 @@ namespace Illuminate\Support\Facades {
/**
* Sets a list of trusted proxies.
*
*
* You should only list the reverse proxies that you manage directly.
*
* @param array $proxies A list of trusted proxies, the string 'REMOTE_ADDR' will be replaced with $_SERVER['REMOTE_ADDR'] and 'PRIVATE_SUBNETS' by IpUtils::PRIVATE_SUBNETS
@@ -14954,7 +14954,7 @@ namespace Illuminate\Support\Facades {
/**
* Sets a list of trusted host patterns.
*
*
* You should only list the hosts you manage using regexs.
*
* @param array $hostPatterns A list of trusted host patterns
@@ -14980,7 +14980,7 @@ namespace Illuminate\Support\Facades {
/**
* Normalizes a query string.
*
*
* It builds a normalized query string, where keys/value pairs are alphabetized,
* have consistent escaping and unneeded delimiters are removed.
*
@@ -14994,13 +14994,13 @@ namespace Illuminate\Support\Facades {
/**
* Enables support for the _method request parameter to determine the intended HTTP method.
*
*
* Be warned that enabling this feature might lead to CSRF issues in your code.
* Check that you are using CSRF tokens when required.
* If the HTTP method parameter override is enabled, an html-form with method "POST" can be altered
* and used to send a "PUT" or "DELETE" request via the _method request parameter.
* If these methods are not protected against CSRF, this presents a possible vulnerability.
*
*
* The HTTP method can only be overridden when the real HTTP method is POST.
*
* @static
@@ -15024,7 +15024,7 @@ namespace Illuminate\Support\Facades {
/**
* Sets the list of HTTP methods that can be overridden.
*
*
* Set to null to allow all methods to be overridden (default). Set to an
* empty array to disallow overrides entirely. Otherwise, provide the list
* of uppercased method names that are allowed.
@@ -15087,11 +15087,11 @@ namespace Illuminate\Support\Facades {
/**
* Returns the client IP addresses.
*
*
* In the returned array the most trusted IP address is first, and the
* least trusted one last. The "real" client IP address is the last one,
* but this is also the least trusted one. Trusted proxies are stripped.
*
*
* Use this method carefully; you should use getClientIp() instead.
*
* @see getClientIp()
@@ -15106,13 +15106,13 @@ namespace Illuminate\Support\Facades {
/**
* Returns the client IP address.
*
*
* This method can read the client IP address from the "X-Forwarded-For" header
* when trusted proxies were set via "setTrustedProxies()". The "X-Forwarded-For"
* header value is a comma+space separated list of IP addresses, the left-most
* being the original client, and each successive proxy that passed the request
* adding the IP address where it received the request from.
*
*
* If your reverse proxy uses a different header name than "X-Forwarded-For",
* ("Client-Ip" for instance), configure it via the $trustedHeaderSet
* argument of the Request::setTrustedProxies() method instead.
@@ -15142,11 +15142,11 @@ namespace Illuminate\Support\Facades {
/**
* Returns the path being requested relative to the executed script.
*
*
* The path info always starts with a /.
*
*
* Suppose this request is instantiated from /mysite on localhost:
*
*
* * http://localhost/mysite returns '/'
* * http://localhost/mysite/about returns '/about'
* * http://localhost/mysite/enco%20ded returns '/enco%20ded'
@@ -15164,9 +15164,9 @@ namespace Illuminate\Support\Facades {
/**
* Returns the root path from which this request is executed.
*
*
* Suppose that an index.php file instantiates this request object:
*
*
* * http://localhost/index.php returns an empty string
* * http://localhost/index.php/page returns an empty string
* * http://localhost/web/index.php returns '/web'
@@ -15184,9 +15184,9 @@ namespace Illuminate\Support\Facades {
/**
* Returns the root URL from which this request is executed.
*
*
* The base URL never ends with a /.
*
*
* This is similar to getBasePath(), except that it also includes the
* script filename (e.g. index.php) if one exists.
*
@@ -15214,10 +15214,10 @@ namespace Illuminate\Support\Facades {
/**
* Returns the port on which the request is made.
*
*
* This method can read the client port from the "X-Forwarded-Port" header
* when trusted proxies were set via "setTrustedProxies()".
*
*
* The "X-Forwarded-Port" header must contain the client port.
*
* @return int|string|null Can be a string if fetched from the server bag
@@ -15269,7 +15269,7 @@ namespace Illuminate\Support\Facades {
/**
* Returns the HTTP host being requested.
*
*
* The port name will be appended to the host if it's non-standard.
*
* @static
@@ -15296,7 +15296,7 @@ namespace Illuminate\Support\Facades {
/**
* Gets the scheme and HTTP host.
*
*
* If the URL was called with basic authentication, the user
* and the password are not added to the generated string.
*
@@ -15337,12 +15337,12 @@ namespace Illuminate\Support\Facades {
/**
* Returns the path as relative reference from the current Request path.
*
*
* Only the URIs path component (no schema, host etc.) is relevant and must be given.
* Both paths must be absolute and not contain relative parts.
* Relative URLs from one resource to another are useful when generating self-contained downloadable document archives.
* Furthermore, they can be used to reduce the link size in documents.
*
*
* Example target paths, given a base path of "/a/b/c/d":
* - "/a/b/c/d" -> ""
* - "/a/b/c/" -> "./"
@@ -15361,7 +15361,7 @@ namespace Illuminate\Support\Facades {
/**
* Generates the normalized query string for the Request.
*
*
* It builds a normalized query string, where keys/value pairs are alphabetized
* and have consistent escaping.
*
@@ -15376,10 +15376,10 @@ namespace Illuminate\Support\Facades {
/**
* Checks whether the request is secure or not.
*
*
* This method can read the client protocol from the "X-Forwarded-Proto" header
* when trusted proxies were set via "setTrustedProxies()".
*
*
* The "X-Forwarded-Proto" header must contain the protocol: "https" or "http".
*
* @static
@@ -15393,10 +15393,10 @@ namespace Illuminate\Support\Facades {
/**
* Returns the host name.
*
*
* This method can read the client host name from the "X-Forwarded-Host" header
* when trusted proxies were set via "setTrustedProxies()".
*
*
* The "X-Forwarded-Host" header must contain the client host name.
*
* @throws SuspiciousOperationException when the host name is invalid or not trusted
@@ -15423,13 +15423,13 @@ namespace Illuminate\Support\Facades {
/**
* Gets the request "intended" method.
*
*
* If the X-HTTP-Method-Override header is set, and if the method is a POST,
* then it is used to determine the "real" intended HTTP method.
*
*
* The _method request parameter can also be used to determine the HTTP method,
* but only if enableHttpMethodParameterOverride() has been called.
*
*
* The method is always an uppercased string.
*
* @see getRealMethod()
@@ -15481,7 +15481,7 @@ namespace Illuminate\Support\Facades {
/**
* Gets the format associated with the mime type.
*
*
* Resolution order:
* 1) Exact match on the full MIME type (e.g. "application/json").
* 2) Match on the canonical MIME type (i.e. before the first ";" parameter).
@@ -15518,9 +15518,9 @@ namespace Illuminate\Support\Facades {
/**
* Gets the request format.
*
*
* Here is the process to determine the format:
*
*
* * format defined by the user (with setRequestFormat())
* * _format request attribute
* * $default
@@ -15661,7 +15661,7 @@ namespace Illuminate\Support\Facades {
/**
* Returns the protocol version.
*
*
* If the application is behind a proxy, the protocol version used in the
* requests between the client and the proxy and between the proxy and the
* server might be different. This returns the former (from the "Via" header)
@@ -15731,7 +15731,7 @@ namespace Illuminate\Support\Facades {
* Gets the preferred format for the response by inspecting, in the following order:
* * the request format set using setRequestFormat;
* * the values of the Accept HTTP header.
*
*
* Note that if you use this method, you should send the "Vary: Accept" header
* in the response to prevent any issues with intermediary HTTP caches.
*
@@ -15798,7 +15798,7 @@ namespace Illuminate\Support\Facades {
/**
* Returns true if the request is an XMLHttpRequest.
*
*
* It works if your JavaScript library sets an X-Requested-With HTTP header.
* It is known to work with common JavaScript frameworks:
*
@@ -15827,7 +15827,7 @@ namespace Illuminate\Support\Facades {
/**
* Indicates whether this request originated from a trusted proxy.
*
*
* This can be useful to determine whether or not to trust the
* contents of a proxy-specific header.
*
@@ -16457,7 +16457,7 @@ namespace Illuminate\Support\Facades {
/**
* Retrieve data as a boolean value.
*
*
* Returns true when value is "1", "true", "on", and "yes". Otherwise, returns false.
*
* @param string|null $key
@@ -17683,7 +17683,7 @@ namespace Illuminate\Support\Facades {
/**
* Add a middleware to the beginning of a middleware group.
*
*
* If the middleware is already in the group, it will not be added again.
*
* @param string $group
@@ -17699,7 +17699,7 @@ namespace Illuminate\Support\Facades {
/**
* Add a middleware to the end of a middleware group.
*
*
* If the middleware is already in the group, it will not be added again.
*
* @param string $group
@@ -24309,7 +24309,7 @@ namespace {
/**
* Specify attributes that should be added to any new models created by this builder.
*
*
* The given key / value pairs will also be added as where conditions to the query.
*
* @param \Illuminate\Contracts\Database\Query\Expression|array|string $attributes
@@ -24890,7 +24890,7 @@ namespace {
/**
* Add a relationship count / exists condition to the query with where clauses.
*
*
* Also load the relationship with the same condition.
*
* @param string $relation