Skip to content

A free open source IT asset/license management system

Pint :(

snipe1906284baf54
diff --git a/app/Http/Requests/SaveUserRequest.php b/app/Http/Requests/SaveUserRequest.php
index a3b26e5fa0..3bda0b5a00 100644
--- a/app/Http/Requests/SaveUserRequest.php
+++ b/app/Http/Requests/SaveUserRequest.php
@@ -90,7 +90,7 @@ class SaveUserRequest extends FormRequest
// sneak past the gate — flagged in PR review for #19200. Exclude
// the PHPUnit/Pest runner, which also reports as "in console" but
// is using the HTTP stack and must see the gate fire.
- $inActualConsole = app()->runningInConsole() && !app()->runningUnitTests();
+ $inActualConsole = app()->runningInConsole() && ! app()->runningUnitTests();
if ($inActualConsole || auth()->user()?->canGrantFloaterStatus()) {
return;
}