- Updated PhpStan PHP version option to match project.
- Applied StyleCI changes.
- Updated static to self in WebhookFormatter, following static analysis
guidance.
- Fixed mis-matched header tags.
public static function getDefault(string $event, Webhook $webhook, $detail, User $initiator, int $initiatedTime): self
{
- $instance = new static($event, $webhook, $detail, $initiator, $initiatedTime);
+ $instance = new self($event, $webhook, $detail, $initiator, $initiatedTime);
$instance->addDefaultModelFormatters();
return $instance;
}
// Clear logo image if requested
- if ($category === 'customization' && $request->get('app_logo_reset', null)) {
+ if ($category === 'customization' && $request->get('app_logo_reset', null)) {
$this->imageRepo->destroyByType('system');
setting()->remove('app-logo');
}
# The level 8 is the highest level
level: 1
- phpVersion: 70300
+ phpVersion: 70400
bootstrapFiles:
- bootstrap/phpstan.php
@extends('settings.layout')
@section('card')
- <h1 id="customization" class="list-heading">{{ trans('settings.app_customization') }}</h2>
+ <h1 id="customization" class="list-heading">{{ trans('settings.app_customization') }}</h1>
<form action="{{ url("/settings/customization") }}" method="POST" enctype="multipart/form-data">
{!! csrf_field() !!}
<input type="hidden" name="section" value="customization">
@extends('settings.layout')
@section('card')
- <h1 id="registration" class="list-heading">{{ trans('settings.reg_settings') }}</h2>
+ <h1 id="registration" class="list-heading">{{ trans('settings.reg_settings') }}</h1>
<form action="{{ url("/settings/registration") }}" method="POST">
{!! csrf_field() !!}
<input type="hidden" name="section" value="registration">
{
$this->asAdmin();
$categories = [
- 'features' => 'Features & Security',
+ 'features' => 'Features & Security',
'customization' => 'Customization',
- 'registration' => 'Registration',
+ 'registration' => 'Registration',
];
foreach ($categories as $category => $title) {
$resp->assertStatus(404);
$resp->assertSee('Page Not Found');
}
-}
\ No newline at end of file
+}