new deployer command
This commit is contained in:
@@ -57,7 +57,7 @@ final class Iso3166
|
|||||||
{
|
{
|
||||||
$normalised = str_pad((string) $code, 3, '0', STR_PAD_LEFT);
|
$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.');
|
throw new InvalidArgumentException('ISO 3166-1 numeric codes must contain exactly three digits.');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -648,10 +648,9 @@ span.flatpickr-weekday {
|
|||||||
gap: .5rem;
|
gap: .5rem;
|
||||||
border-radius: .85rem;
|
border-radius: .85rem;
|
||||||
padding: .62rem 1.05rem;
|
padding: .62rem 1.05rem;
|
||||||
font-size: .875rem;
|
font-size: .95rem;
|
||||||
line-height: 1.25rem;
|
line-height: 1.25rem;
|
||||||
font-weight: 800;
|
font-weight: 800;
|
||||||
font-size: .95rem;
|
|
||||||
color: #ffffff !important;
|
color: #ffffff !important;
|
||||||
text-decoration: none !important;
|
text-decoration: none !important;
|
||||||
border: 1px solid rgba(255,255,255,.14);
|
border: 1px solid rgba(255,255,255,.14);
|
||||||
|
|||||||
@@ -22,14 +22,12 @@ trait BuildsHelpdeskFixtures
|
|||||||
{
|
{
|
||||||
protected function user(array $attributes = []): User
|
protected function user(array $attributes = []): User
|
||||||
{
|
{
|
||||||
/** @var User $user */
|
/** @var User */
|
||||||
$user = User::factory()->create(array_merge([
|
return User::factory()->create(array_merge([
|
||||||
'name' => 'Helpdesk User',
|
'name' => 'Helpdesk User',
|
||||||
'email' => fake()->unique()->safeEmail(),
|
'email' => fake()->unique()->safeEmail(),
|
||||||
'password' => Hash::make('password'),
|
'password' => Hash::make('password'),
|
||||||
], $attributes));
|
], $attributes));
|
||||||
|
|
||||||
return $user;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function agent(array $attributes = []): User
|
protected function agent(array $attributes = []): User
|
||||||
|
|||||||
@@ -95,7 +95,7 @@ class TenancyServiceProvider extends ServiceProvider
|
|||||||
|
|
||||||
public function register()
|
public function register()
|
||||||
{
|
{
|
||||||
//
|
// No container bindings are required; tenancy is configured through event listeners in boot().
|
||||||
}
|
}
|
||||||
|
|
||||||
public function boot()
|
public function boot()
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ sonar.exclusions=vendor/**,node_modules/**,storage/**,bootstrap/cache/**,public/
|
|||||||
# S116: snake_case Livewire public properties intentionally mirror form/database fields.
|
# S116: snake_case Livewire public properties intentionally mirror form/database fields.
|
||||||
# S4833: Deployer/Laravel module bootstraps intentionally load recipe/route files.
|
# S4833: Deployer/Laravel module bootstraps intentionally load recipe/route files.
|
||||||
# Web title checks are not valid on Blade/Vue partials/components which are not standalone HTML documents.
|
# Web title checks are not valid on Blade/Vue partials/components which are not standalone HTML documents.
|
||||||
sonar.issue.ignore.multicriteria=e1,e2,e3,e4,e5,e6
|
sonar.issue.ignore.multicriteria=e1,e2,e3,e4,e5,e6,e7,e8
|
||||||
sonar.issue.ignore.multicriteria.e1.ruleKey=php:S103
|
sonar.issue.ignore.multicriteria.e1.ruleKey=php:S103
|
||||||
sonar.issue.ignore.multicriteria.e1.resourceKey=**/*.php
|
sonar.issue.ignore.multicriteria.e1.resourceKey=**/*.php
|
||||||
sonar.issue.ignore.multicriteria.e2.ruleKey=php:S1808
|
sonar.issue.ignore.multicriteria.e2.ruleKey=php:S1808
|
||||||
@@ -22,3 +22,10 @@ sonar.issue.ignore.multicriteria.e5.ruleKey=php:S4833
|
|||||||
sonar.issue.ignore.multicriteria.e5.resourceKey=Modules/*/Providers/*ServiceProvider.php
|
sonar.issue.ignore.multicriteria.e5.resourceKey=Modules/*/Providers/*ServiceProvider.php
|
||||||
sonar.issue.ignore.multicriteria.e6.ruleKey=Web:PageWithoutTitleCheck
|
sonar.issue.ignore.multicriteria.e6.ruleKey=Web:PageWithoutTitleCheck
|
||||||
sonar.issue.ignore.multicriteria.e6.resourceKey=**/*.{blade.php,vue}
|
sonar.issue.ignore.multicriteria.e6.resourceKey=**/*.{blade.php,vue}
|
||||||
|
|
||||||
|
# Sonar CSS does not parse Tailwind v4 directives used by the application stylesheet.
|
||||||
|
sonar.issue.ignore.multicriteria.e7.ruleKey=css:S4662
|
||||||
|
sonar.issue.ignore.multicriteria.e7.resourceKey=resources/css/app.css
|
||||||
|
# Empty module Sass entrypoints are intentional placeholders for module-owned assets.
|
||||||
|
sonar.issue.ignore.multicriteria.e8.ruleKey=css:S4667
|
||||||
|
sonar.issue.ignore.multicriteria.e8.resourceKey=Modules/*/Resources/assets/sass/app.scss
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ class ProfileUpdateTest extends TestCase
|
|||||||
|
|
||||||
public function test_profile_page_is_displayed(): void
|
public function test_profile_page_is_displayed(): void
|
||||||
{
|
{
|
||||||
$this->actingAs($user = User::factory()->create());
|
$this->actingAs(User::factory()->create());
|
||||||
|
|
||||||
$this->get('/settings/profile')->assertOk();
|
$this->get('/settings/profile')->assertOk();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user