Run composer update and update model phpdocs (#2275)

This commit is contained in:
Boy132
2026-03-17 09:09:01 +01:00
committed by GitHub
parent 64bcdb514b
commit 612041e1f8
97 changed files with 1369 additions and 967 deletions

View File

@@ -1,6 +1,7 @@
<?php
use Illuminate\Support\Str;
use Pdo\Mysql;
$database = env('DB_DATABASE', 'database.sqlite');
$databasePath = database_path($database);
@@ -65,7 +66,7 @@ return [
'strict' => env('DB_STRICT_MODE', false),
'engine' => null,
'options' => extension_loaded('pdo_mysql') ? array_filter([
(PHP_VERSION_ID >= 80500 ? \Pdo\Mysql::ATTR_SSL_CA : \PDO::MYSQL_ATTR_SSL_CA) => env('MYSQL_ATTR_SSL_CA'),
(PHP_VERSION_ID >= 80500 ? Mysql::ATTR_SSL_CA : PDO::MYSQL_ATTR_SSL_CA) => env('MYSQL_ATTR_SSL_CA'),
]) : [],
],
@@ -85,7 +86,7 @@ return [
'strict' => env('DB_STRICT_MODE', false),
'engine' => null,
'options' => extension_loaded('pdo_mysql') ? array_filter([
(PHP_VERSION_ID >= 80500 ? \Pdo\Mysql::ATTR_SSL_CA : \PDO::MYSQL_ATTR_SSL_CA) => env('MYSQL_ATTR_SSL_CA'),
(PHP_VERSION_ID >= 80500 ? Mysql::ATTR_SSL_CA : PDO::MYSQL_ATTR_SSL_CA) => env('MYSQL_ATTR_SSL_CA'),
]) : [],
],

View File

@@ -1,5 +1,7 @@
<?php
use League\Fractal\Serializer\JsonApiSerializer;
return [
/*
|--------------------------------------------------------------------------
@@ -12,7 +14,7 @@ return [
|
*/
'default_serializer' => League\Fractal\Serializer\JsonApiSerializer::class,
'default_serializer' => JsonApiSerializer::class,
/*
|--------------------------------------------------------------------------

View File

@@ -1,5 +1,9 @@
<?php
use Spatie\Health\Notifications\CheckFailedNotification;
use Spatie\Health\Notifications\Notifiable;
use Spatie\Health\ResultStores\CacheHealthResultStore;
return [
/*
* A result store is responsible for saving the results of the checks. The
@@ -15,7 +19,7 @@ return [
],
*/
Spatie\Health\ResultStores\CacheHealthResultStore::class => [
CacheHealthResultStore::class => [
'store' => 'file',
],
@@ -40,14 +44,14 @@ return [
'enabled' => false,
'notifications' => [
Spatie\Health\Notifications\CheckFailedNotification::class => ['mail'],
CheckFailedNotification::class => ['mail'],
],
/*
* Here you can specify the notifiable to which the notifications should be sent. The default
* notifiable will use the variables specified in this config file.
*/
'notifiable' => Spatie\Health\Notifications\Notifiable::class,
'notifiable' => Notifiable::class,
/*
* When checks start failing, you could potentially end up getting

View File

@@ -1,12 +1,15 @@
<?php
use App\Models\Role;
use Spatie\Permission\Models\Permission;
return [
'models' => [
'permission' => Spatie\Permission\Models\Permission::class,
'permission' => Permission::class,
'role' => \App\Models\Role::class,
'role' => Role::class,
],

View File

@@ -1,5 +1,9 @@
<?php
use Illuminate\Cookie\Middleware\EncryptCookies;
use Illuminate\Foundation\Http\Middleware\ValidateCsrfToken;
use Laravel\Sanctum\Sanctum;
return [
/*
|--------------------------------------------------------------------------
@@ -15,7 +19,7 @@ return [
'stateful' => explode(',', env('SANCTUM_STATEFUL_DOMAINS', sprintf(
'%s%s',
'localhost,localhost:3000,127.0.0.1,127.0.0.1:8000,::1',
Laravel\Sanctum\Sanctum::currentApplicationUrlWithPort()
Sanctum::currentApplicationUrlWithPort()
))),
/*
@@ -57,7 +61,7 @@ return [
*/
'middleware' => [
'validate_csrf_token' => Illuminate\Foundation\Http\Middleware\ValidateCsrfToken::class,
'encrypt_cookies' => Illuminate\Cookie\Middleware\EncryptCookies::class,
'validate_csrf_token' => ValidateCsrfToken::class,
'encrypt_cookies' => EncryptCookies::class,
],
];