Some checks failed
CI / PHP 8.3 / mariadb:10.6 (pull_request) Successful in 1m14s
CI / PHP 8.4 / mariadb:10.6 (pull_request) Successful in 1m12s
CI / PHP 8.4 / mariadb:11.4 (pull_request) Successful in 1m7s
CI / PHP 8.3 / mariadb:11.4 (pull_request) Successful in 1m19s
CI / PHP 8.3 / mysql:8.0 (pull_request) Successful in 1m32s
CI / PHP 8.4 / mysql:8.0 (pull_request) Successful in 1m22s
CI / PHP 8.4 / mysql:8.4 (pull_request) Successful in 1m32s
CI / PHP 8.3 / mysql:8.4 (pull_request) Successful in 1m35s
CI / Build-Artefakte aktuell (pull_request) Failing after 1m7s
- Laravel 13 mit Filament 5 (Admin), Inertia 3 + Vue 3 + Vuetify 4 (Material 3) - Anmeldung über Fortify (Login, Passwort vergessen/ändern), keine Selbstregistrierung - Profil mit Profilbild (WebP in festen Größen), Personenseiten, Header mit Avatar-Menü - Material-3-Farbschema aus der Primärfarbe, hell/dunkel/System pro Person - Basis-Branding (Portalname, Logo, Primärfarbe) im Admin unter „Erscheinungsbild“ - Benutzerverwaltung im Admin, Zugang vorläufig über is_admin - vendor/ (ohne Dev-Pakete) und Frontend-Build mitversioniert, Dev-Pakete in vendor-dev/ - PHPUnit-Tests gegen MySQL/MariaDB, Forgejo-CI-Matrix, Docker-Entwicklungsumgebung - VERSION, CHANGELOG.md und CONTRIBUTING.md mit Release-Ablauf Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
97 lines
2.8 KiB
PHP
97 lines
2.8 KiB
PHP
<?php
|
|
|
|
/*
|
|
* This file is part of the Symfony package.
|
|
*
|
|
* (c) Fabien Potencier <fabien@symfony.com>
|
|
*
|
|
* For the full copyright and license information, please view the LICENSE
|
|
* file that was distributed with this source code.
|
|
*/
|
|
|
|
use Symfony\Polyfill\Uuid as p;
|
|
|
|
if (extension_loaded('uuid')) {
|
|
return;
|
|
}
|
|
|
|
if (\PHP_VERSION_ID >= 80000) {
|
|
return require __DIR__.'/bootstrap80.php';
|
|
}
|
|
|
|
if (!defined('UUID_VARIANT_NCS')) {
|
|
define('UUID_VARIANT_NCS', 0);
|
|
}
|
|
if (!defined('UUID_VARIANT_DCE')) {
|
|
define('UUID_VARIANT_DCE', 1);
|
|
}
|
|
if (!defined('UUID_VARIANT_MICROSOFT')) {
|
|
define('UUID_VARIANT_MICROSOFT', 2);
|
|
}
|
|
if (!defined('UUID_VARIANT_OTHER')) {
|
|
define('UUID_VARIANT_OTHER', 3);
|
|
}
|
|
if (!defined('UUID_TYPE_DEFAULT')) {
|
|
define('UUID_TYPE_DEFAULT', 0);
|
|
}
|
|
if (!defined('UUID_TYPE_TIME')) {
|
|
define('UUID_TYPE_TIME', 1);
|
|
}
|
|
if (!defined('UUID_TYPE_MD5')) {
|
|
define('UUID_TYPE_MD5', 3);
|
|
}
|
|
if (!defined('UUID_TYPE_DCE')) {
|
|
define('UUID_TYPE_DCE', 4); // Deprecated alias
|
|
}
|
|
if (!defined('UUID_TYPE_NAME')) {
|
|
define('UUID_TYPE_NAME', 1); // Deprecated alias
|
|
}
|
|
if (!defined('UUID_TYPE_RANDOM')) {
|
|
define('UUID_TYPE_RANDOM', 4);
|
|
}
|
|
if (!defined('UUID_TYPE_SHA1')) {
|
|
define('UUID_TYPE_SHA1', 5);
|
|
}
|
|
if (!defined('UUID_TYPE_NULL')) {
|
|
define('UUID_TYPE_NULL', -1);
|
|
}
|
|
if (!defined('UUID_TYPE_INVALID')) {
|
|
define('UUID_TYPE_INVALID', -42);
|
|
}
|
|
|
|
if (!function_exists('uuid_create')) {
|
|
function uuid_create($uuid_type = \UUID_TYPE_DEFAULT) { return p\Uuid::uuid_create($uuid_type); }
|
|
}
|
|
if (!function_exists('uuid_generate_md5')) {
|
|
function uuid_generate_md5($uuid_ns, $name) { return p\Uuid::uuid_generate_md5($uuid_ns, $name); }
|
|
}
|
|
if (!function_exists('uuid_generate_sha1')) {
|
|
function uuid_generate_sha1($uuid_ns, $name) { return p\Uuid::uuid_generate_sha1($uuid_ns, $name); }
|
|
}
|
|
if (!function_exists('uuid_is_valid')) {
|
|
function uuid_is_valid($uuid) { return p\Uuid::uuid_is_valid($uuid); }
|
|
}
|
|
if (!function_exists('uuid_compare')) {
|
|
function uuid_compare($uuid1, $uuid2) { return p\Uuid::uuid_compare($uuid1, $uuid2); }
|
|
}
|
|
if (!function_exists('uuid_is_null')) {
|
|
function uuid_is_null($uuid) { return p\Uuid::uuid_is_null($uuid); }
|
|
}
|
|
if (!function_exists('uuid_type')) {
|
|
function uuid_type($uuid) { return p\Uuid::uuid_type($uuid); }
|
|
}
|
|
if (!function_exists('uuid_variant')) {
|
|
function uuid_variant($uuid) { return p\Uuid::uuid_variant($uuid); }
|
|
}
|
|
if (!function_exists('uuid_time')) {
|
|
function uuid_time($uuid) { return p\Uuid::uuid_time($uuid); }
|
|
}
|
|
if (!function_exists('uuid_mac')) {
|
|
function uuid_mac($uuid) { return p\Uuid::uuid_mac($uuid); }
|
|
}
|
|
if (!function_exists('uuid_parse')) {
|
|
function uuid_parse($uuid) { return p\Uuid::uuid_parse($uuid); }
|
|
}
|
|
if (!function_exists('uuid_unparse')) {
|
|
function uuid_unparse($uuid) { return p\Uuid::uuid_unparse($uuid); }
|
|
}
|