Stand: SMTP-Test, Admin-Mail-Tab, Notifiable-Fix, Lazy-Quill
- Fix: Notifiable-Trait zum User-Model hinzugefuegt (behebt notify()-500er) - Installer: SMTP-Verbindungstest mit EsmtpTransport + Ueberspringen-Link - Admin: Neuer E-Mail-Tab mit SMTP-Konfiguration + Verbindungstest - Admin: Lazy Quill-Initialisierung (nur sichtbare Locale wird geladen) - Uebersetzungen: 17 neue Mail-Keys in allen 6 Sprachen Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
58
vendor/thecodingmachine/safe/generated/8.1/fileinfo.php
vendored
Normal file
58
vendor/thecodingmachine/safe/generated/8.1/fileinfo.php
vendored
Normal file
@@ -0,0 +1,58 @@
|
||||
<?php
|
||||
|
||||
namespace Safe;
|
||||
|
||||
use Safe\Exceptions\FileinfoException;
|
||||
|
||||
/**
|
||||
* @param \finfo $finfo
|
||||
* @throws FileinfoException
|
||||
*
|
||||
*/
|
||||
function finfo_close(\finfo $finfo): void
|
||||
{
|
||||
error_clear_last();
|
||||
$safeResult = \finfo_close($finfo);
|
||||
if ($safeResult === false) {
|
||||
throw FileinfoException::createFromPhpError();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @param int $flags
|
||||
* @param null|string $magic_database
|
||||
* @return \finfo
|
||||
* @throws FileinfoException
|
||||
*
|
||||
*/
|
||||
function finfo_open(int $flags = FILEINFO_NONE, ?string $magic_database = null): \finfo
|
||||
{
|
||||
error_clear_last();
|
||||
if ($magic_database !== null) {
|
||||
$safeResult = \finfo_open($flags, $magic_database);
|
||||
} else {
|
||||
$safeResult = \finfo_open($flags);
|
||||
}
|
||||
if ($safeResult === false) {
|
||||
throw FileinfoException::createFromPhpError();
|
||||
}
|
||||
return $safeResult;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @param resource|string $filename
|
||||
* @return string
|
||||
* @throws FileinfoException
|
||||
*
|
||||
*/
|
||||
function mime_content_type($filename): string
|
||||
{
|
||||
error_clear_last();
|
||||
$safeResult = \mime_content_type($filename);
|
||||
if ($safeResult === false) {
|
||||
throw FileinfoException::createFromPhpError();
|
||||
}
|
||||
return $safeResult;
|
||||
}
|
||||
Reference in New Issue
Block a user