Skip to content

Commit

Permalink
Add phpcs:ignore tooManyArguments
Browse files Browse the repository at this point in the history
  • Loading branch information
alexookah committed Aug 19, 2024
1 parent 37af534 commit 97b3f38
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Auth/AuthCookie.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ private static function get_auth_cookie_expiration( int $user_id, bool $remember
* @param bool $secure Indicates that the cookie should only be transmitted over a secure HTTPS connection from the client.
* @param string $samesite The SameSite mode for the cookie. Defaults to 'None'.
*/
// phpcs:ignore Generic.Metrics.Functions.TooManyArguments
private static function set_custom_cookie( string $name, string $value, int $expires, string $path, string $domain, bool $secure, string $samesite ): void {
// phpcs:ignore WordPressVIPMinimum.Functions.RestrictedFunctions.cookies_setcookie
setcookie(
Expand Down

0 comments on commit 97b3f38

Please sign in to comment.