new deployer command

This commit is contained in:
Mark Gregory
2026-09-16 11:38:53 +01:00
parent 20bdb82ef9
commit 279d2761e3
6 changed files with 14 additions and 10 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ final class Iso3166
{
$normalised = str_pad((string) $code, 3, '0', STR_PAD_LEFT);
if (! preg_match('/^[0-9]{3}$/', $normalised)) {
if (! preg_match('/^\d{3}$/', $normalised)) {
throw new InvalidArgumentException('ISO 3166-1 numeric codes must contain exactly three digits.');
}
@@ -648,10 +648,9 @@ span.flatpickr-weekday {
gap: .5rem;
border-radius: .85rem;
padding: .62rem 1.05rem;
font-size: .875rem;
font-size: .95rem;
line-height: 1.25rem;
font-weight: 800;
font-size: .95rem;
color: #ffffff !important;
text-decoration: none !important;
border: 1px solid rgba(255,255,255,.14);
@@ -22,14 +22,12 @@ trait BuildsHelpdeskFixtures
{
protected function user(array $attributes = []): User
{
/** @var User $user */
$user = User::factory()->create(array_merge([
/** @var User */
return User::factory()->create(array_merge([
'name' => 'Helpdesk User',
'email' => fake()->unique()->safeEmail(),
'password' => Hash::make('password'),
], $attributes));
return $user;
}
protected function agent(array $attributes = []): User