diff --git a/core/vendor/autoload.php b/core/vendor/autoload.php index dc837b0a68..d976e71ff4 100644 --- a/core/vendor/autoload.php +++ b/core/vendor/autoload.php @@ -14,10 +14,7 @@ echo $err; } } - trigger_error( - $err, - E_USER_ERROR - ); + throw new RuntimeException($err); } require_once __DIR__ . '/composer/autoload_real.php'; diff --git a/core/vendor/composer/InstalledVersions.php b/core/vendor/composer/InstalledVersions.php index 07b32ed6ef..2052022fd8 100644 --- a/core/vendor/composer/InstalledVersions.php +++ b/core/vendor/composer/InstalledVersions.php @@ -26,12 +26,23 @@ */ class InstalledVersions { + /** + * @var string|null if set (by reflection by Composer), this should be set to the path where this class is being copied to + * @internal + */ + private static $selfDir = null; + /** * @var mixed[]|null * @psalm-var array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array}|array{}|null */ private static $installed; + /** + * @var bool + */ + private static $installedIsLocalDir; + /** * @var bool|null */ @@ -309,6 +320,24 @@ public static function reload($data) { self::$installed = $data; self::$installedByVendor = array(); + + // when using reload, we disable the duplicate protection to ensure that self::$installed data is + // always returned, but we cannot know whether it comes from the installed.php in __DIR__ or not, + // so we have to assume it does not, and that may result in duplicate data being returned when listing + // all installed packages for example + self::$installedIsLocalDir = false; + } + + /** + * @return string + */ + private static function getSelfDir() + { + if (self::$selfDir === null) { + self::$selfDir = strtr(__DIR__, '\\', '/'); + } + + return self::$selfDir; } /** @@ -325,7 +354,9 @@ private static function getInstalled() $copiedLocalDir = false; if (self::$canGetVendors) { + $selfDir = self::getSelfDir(); foreach (ClassLoader::getRegisteredLoaders() as $vendorDir => $loader) { + $vendorDir = strtr($vendorDir, '\\', '/'); if (isset(self::$installedByVendor[$vendorDir])) { $installed[] = self::$installedByVendor[$vendorDir]; } elseif (is_file($vendorDir.'/composer/installed.php')) { @@ -333,11 +364,14 @@ private static function getInstalled() $required = require $vendorDir.'/composer/installed.php'; self::$installedByVendor[$vendorDir] = $required; $installed[] = $required; - if (strtr($vendorDir.'/composer', '\\', '/') === strtr(__DIR__, '\\', '/')) { + if (self::$installed === null && $vendorDir.'/composer' === $selfDir) { self::$installed = $required; - $copiedLocalDir = true; + self::$installedIsLocalDir = true; } } + if (self::$installedIsLocalDir && $vendorDir.'/composer' === $selfDir) { + $copiedLocalDir = true; + } } } diff --git a/core/vendor/composer/autoload_classmap.php b/core/vendor/composer/autoload_classmap.php index 9015bbe6f2..ac6d44bf9c 100644 --- a/core/vendor/composer/autoload_classmap.php +++ b/core/vendor/composer/autoload_classmap.php @@ -490,6 +490,13 @@ 'Cron\\HoursField' => $vendorDir . '/dragonmantank/cron-expression/src/Cron/HoursField.php', 'Cron\\MinutesField' => $vendorDir . '/dragonmantank/cron-expression/src/Cron/MinutesField.php', 'Cron\\MonthField' => $vendorDir . '/dragonmantank/cron-expression/src/Cron/MonthField.php', + 'Database\\Seeders\\AdminUserTableSeeder' => $baseDir . '/database/seeders/AdminUserTableSeeder.php', + 'Database\\Seeders\\SiteContentTableSeeder' => $baseDir . '/database/seeders/SiteContentTableSeeder.php', + 'Database\\Seeders\\SiteTemplatesTableSeeder' => $baseDir . '/database/seeders/SiteTemplatesTableSeeder.php', + 'Database\\Seeders\\SystemEventnamesTableSeeder' => $baseDir . '/database/seeders/SystemEventnamesTableSeeder.php', + 'Database\\Seeders\\SystemSettingsTableSeeder' => $baseDir . '/database/seeders/SystemSettingsTableSeeder.php', + 'Database\\Seeders\\UserPermissionsTableSeeder' => $baseDir . '/database/seeders/UserPermissionsTableSeeder.php', + 'Database\\Seeders\\UserRolesTableSeeder' => $baseDir . '/database/seeders/UserRolesTableSeeder.php', 'DelayedTargetValidation' => $vendorDir . '/symfony/polyfill-php85/Resources/stubs/DelayedTargetValidation.php', 'Deprecated' => $vendorDir . '/symfony/polyfill-php84/Resources/stubs/Deprecated.php', 'Doctrine\\Common\\Lexer\\AbstractLexer' => $vendorDir . '/doctrine/lexer/src/AbstractLexer.php', @@ -1143,6 +1150,7 @@ 'EvolutionCMS\\Controllers\\EventLogDetails' => $baseDir . '/src/Controllers/EventLogDetails.php', 'EvolutionCMS\\Controllers\\Frame' => $baseDir . '/src/Controllers/Frame.php', 'EvolutionCMS\\Controllers\\Help' => $baseDir . '/src/Controllers/Help.php', + 'EvolutionCMS\\Controllers\\MailTest' => $baseDir . '/src/Controllers/MailTest.php', 'EvolutionCMS\\Controllers\\Modules' => $baseDir . '/src/Controllers/Modules.php', 'EvolutionCMS\\Controllers\\MoveDocument' => $baseDir . '/src/Controllers/MoveDocument.php', 'EvolutionCMS\\Controllers\\Password' => $baseDir . '/src/Controllers/Password.php', @@ -1340,6 +1348,7 @@ 'EvolutionCMS\\Providers\\UrlProcessorServiceProvider' => $baseDir . '/src/Providers/UrlProcessorServiceProvider.php', 'EvolutionCMS\\ServiceProvider' => $baseDir . '/src/ServiceProvider.php', 'EvolutionCMS\\Services\\AuthServices' => $baseDir . '/src/Services/AuthServices.php', + 'EvolutionCMS\\Services\\ComposerVersionSynchronizer' => $baseDir . '/src/Services/ComposerVersionSynchronizer.php', 'EvolutionCMS\\Services\\ConfigService' => $baseDir . '/src/Services/ConfigService.php', 'EvolutionCMS\\Services\\DatabaseBackupService' => $baseDir . '/src/Services/DatabaseBackupService.php', 'EvolutionCMS\\Services\\Store\\CatalogService' => $baseDir . '/src/Services/Store/CatalogService.php', @@ -1373,11 +1382,13 @@ 'EvolutionCMS\\Support\\Formatter\\CSSMinify' => $baseDir . '/src/Support/Formatter/CSSMinify.php', 'EvolutionCMS\\Support\\Formatter\\HtmlFormatter' => $baseDir . '/src/Support/Formatter/HtmlFormatter.php', 'EvolutionCMS\\Support\\Formatter\\SqlFormatter' => $baseDir . '/src/Support/Formatter/SqlFormatter.php', + 'EvolutionCMS\\Support\\MailTestMailer' => $baseDir . '/src/Support/MailTestMailer.php', 'EvolutionCMS\\Support\\MakeTable' => $baseDir . '/src/Support/MakeTable.php', 'EvolutionCMS\\Support\\Menu' => $baseDir . '/src/Support/Menu.php', 'EvolutionCMS\\Support\\MoveDocumentTargetGuard' => $baseDir . '/src/Support/MoveDocumentTargetGuard.php', 'EvolutionCMS\\Support\\MysqlDumper' => $baseDir . '/src/Support/MysqlDumper.php', 'EvolutionCMS\\Support\\Paginate' => $baseDir . '/src/Support/Paginate.php', + 'EvolutionCMS\\Support\\SiteTimezone' => $baseDir . '/src/Support/SiteTimezone.php', 'EvolutionCMS\\Support\\SqliteDumper' => $baseDir . '/src/Support/SqliteDumper.php', 'EvolutionCMS\\Support\\SystemSettingPathNormalizer' => $baseDir . '/src/Support/SystemSettingPathNormalizer.php', 'EvolutionCMS\\TemplateProcessor' => $baseDir . '/src/TemplateProcessor.php', diff --git a/core/vendor/composer/autoload_psr4.php b/core/vendor/composer/autoload_psr4.php index ec4d6eff5e..34707d4950 100644 --- a/core/vendor/composer/autoload_psr4.php +++ b/core/vendor/composer/autoload_psr4.php @@ -46,7 +46,7 @@ 'Ramsey\\Collection\\' => array($vendorDir . '/ramsey/collection/src'), 'Psr\\SimpleCache\\' => array($vendorDir . '/psr/simple-cache/src'), 'Psr\\Log\\' => array($vendorDir . '/psr/log/src'), - 'Psr\\Http\\Message\\' => array($vendorDir . '/psr/http-message/src', $vendorDir . '/psr/http-factory/src'), + 'Psr\\Http\\Message\\' => array($vendorDir . '/psr/http-factory/src', $vendorDir . '/psr/http-message/src'), 'Psr\\Http\\Client\\' => array($vendorDir . '/psr/http-client/src'), 'Psr\\EventDispatcher\\' => array($vendorDir . '/psr/event-dispatcher/src'), 'Psr\\Container\\' => array($vendorDir . '/psr/container/src'), @@ -69,7 +69,7 @@ 'Illuminate\\View\\' => array($vendorDir . '/illuminate/view'), 'Illuminate\\Validation\\' => array($vendorDir . '/illuminate/validation'), 'Illuminate\\Translation\\' => array($vendorDir . '/illuminate/translation'), - 'Illuminate\\Support\\' => array($vendorDir . '/illuminate/macroable', $vendorDir . '/illuminate/conditionable', $vendorDir . '/illuminate/collections', $vendorDir . '/illuminate/reflection', $vendorDir . '/illuminate/support'), + 'Illuminate\\Support\\' => array($vendorDir . '/illuminate/support', $vendorDir . '/illuminate/reflection', $vendorDir . '/illuminate/collections', $vendorDir . '/illuminate/conditionable', $vendorDir . '/illuminate/macroable'), 'Illuminate\\Session\\' => array($vendorDir . '/illuminate/session'), 'Illuminate\\Routing\\' => array($vendorDir . '/illuminate/routing'), 'Illuminate\\Redis\\' => array($vendorDir . '/illuminate/redis'), diff --git a/core/vendor/composer/autoload_real.php b/core/vendor/composer/autoload_real.php index 7cc20073ce..412b99c680 100644 --- a/core/vendor/composer/autoload_real.php +++ b/core/vendor/composer/autoload_real.php @@ -31,6 +31,7 @@ public static function getLoader() require __DIR__ . '/autoload_static.php'; call_user_func(\Composer\Autoload\ComposerStaticInit925fea465a58fa69f06ccf2629003e87::getInitializer($loader)); + $loader->setClassMapAuthoritative(true); $loader->register(true); $filesToLoad = \Composer\Autoload\ComposerStaticInit925fea465a58fa69f06ccf2629003e87::$files; diff --git a/core/vendor/composer/autoload_static.php b/core/vendor/composer/autoload_static.php index bbfde89389..d9f790ae66 100644 --- a/core/vendor/composer/autoload_static.php +++ b/core/vendor/composer/autoload_static.php @@ -51,26 +51,26 @@ class ComposerStaticInit925fea465a58fa69f06ccf2629003e87 ); public static $prefixLengthsPsr4 = array ( - 'v' => + 'v' => array ( 'voku\\' => 5, ), - 's' => + 's' => array ( 'suffi\\RedisSessionHandler\\' => 26, 'secondnetwork\\TablerIcons\\' => 26, ), - 'W' => + 'W' => array ( 'Wikimedia\\Composer\\Merge\\V2\\' => 28, 'WebPConvert\\' => 12, ), - 'T' => + 'T' => array ( 'Tracy\\' => 6, 'Termwind\\' => 9, ), - 'S' => + 'S' => array ( 'Symfony\\Polyfill\\Php85\\' => 23, 'Symfony\\Polyfill\\Php84\\' => 23, @@ -101,13 +101,13 @@ class ComposerStaticInit925fea465a58fa69f06ccf2629003e87 'Seld\\PharUtils\\' => 15, 'Seld\\JsonLint\\' => 14, ), - 'R' => + 'R' => array ( 'React\\Promise\\' => 14, 'Ramsey\\Uuid\\' => 12, 'Ramsey\\Collection\\' => 18, ), - 'P' => + 'P' => array ( 'Psr\\SimpleCache\\' => 16, 'Psr\\Log\\' => 8, @@ -121,12 +121,12 @@ class ComposerStaticInit925fea465a58fa69f06ccf2629003e87 'PhpOption\\' => 10, 'PHPMailer\\PHPMailer\\' => 20, ), - 'M' => + 'M' => array ( 'Monolog\\' => 8, 'MabeEnum\\' => 9, ), - 'L' => + 'L' => array ( 'LocateBinaries\\' => 15, 'League\\MimeTypeDetection\\' => 25, @@ -135,11 +135,11 @@ class ComposerStaticInit925fea465a58fa69f06ccf2629003e87 'Laravel\\SerializableClosure\\' => 28, 'Laravel\\Prompts\\' => 16, ), - 'J' => + 'J' => array ( 'JsonSchema\\' => 11, ), - 'I' => + 'I' => array ( 'ImageMimeTypeSniffer\\' => 21, 'ImageMimeTypeGuesser\\' => 21, @@ -165,7 +165,7 @@ class ComposerStaticInit925fea465a58fa69f06ccf2629003e87 'Illuminate\\Cache\\' => 17, 'Illuminate\\Bus\\' => 15, ), - 'G' => + 'G' => array ( 'GuzzleHttp\\UriTemplate\\' => 23, 'GuzzleHttp\\Psr7\\' => 16, @@ -173,12 +173,12 @@ class ComposerStaticInit925fea465a58fa69f06ccf2629003e87 'GuzzleHttp\\' => 11, 'GrahamCampbell\\ResultType\\' => 26, ), - 'F' => + 'F' => array ( 'Fruitcake\\Cors\\' => 15, 'FileUtil\\' => 9, ), - 'E' => + 'E' => array ( 'ExecWithFallback\\' => 17, 'EvolutionCMS\\UserManager\\' => 25, @@ -186,7 +186,7 @@ class ComposerStaticInit925fea465a58fa69f06ccf2629003e87 'EvolutionCMS\\' => 13, 'Egulias\\EmailValidator\\' => 23, ), - 'D' => + 'D' => array ( 'Dotenv\\' => 7, 'Doctrine\\Inflector\\' => 19, @@ -195,7 +195,7 @@ class ComposerStaticInit925fea465a58fa69f06ccf2629003e87 'Doctrine\\Common\\Lexer\\' => 22, 'Database\\Seeders\\' => 17, ), - 'C' => + 'C' => array ( 'Cron\\' => 5, 'Composer\\XdebugHandler\\' => 23, @@ -209,7 +209,7 @@ class ComposerStaticInit925fea465a58fa69f06ccf2629003e87 'Carbon\\Doctrine\\' => 16, 'Carbon\\' => 7, ), - 'B' => + 'B' => array ( 'Brick\\Math\\' => 11, 'BladeUI\\Icons\\' => 14, @@ -217,465 +217,465 @@ class ComposerStaticInit925fea465a58fa69f06ccf2629003e87 ); public static $prefixDirsPsr4 = array ( - 'voku\\' => + 'voku\\' => array ( 0 => __DIR__ . '/..' . '/voku/portable-ascii/src/voku', ), - 'suffi\\RedisSessionHandler\\' => + 'suffi\\RedisSessionHandler\\' => array ( 0 => __DIR__ . '/..' . '/dmitry-suffi/redis-session-handler/src', ), - 'secondnetwork\\TablerIcons\\' => + 'secondnetwork\\TablerIcons\\' => array ( 0 => __DIR__ . '/..' . '/secondnetwork/blade-tabler-icons/src', ), - 'Wikimedia\\Composer\\Merge\\V2\\' => + 'Wikimedia\\Composer\\Merge\\V2\\' => array ( 0 => __DIR__ . '/..' . '/wikimedia/composer-merge-plugin/src', ), - 'WebPConvert\\' => + 'WebPConvert\\' => array ( 0 => __DIR__ . '/..' . '/rosell-dk/webp-convert/src', ), - 'Tracy\\' => + 'Tracy\\' => array ( 0 => __DIR__ . '/..' . '/tracy/tracy/src', ), - 'Termwind\\' => + 'Termwind\\' => array ( 0 => __DIR__ . '/..' . '/nunomaduro/termwind/src', ), - 'Symfony\\Polyfill\\Php85\\' => + 'Symfony\\Polyfill\\Php85\\' => array ( 0 => __DIR__ . '/..' . '/symfony/polyfill-php85', ), - 'Symfony\\Polyfill\\Php84\\' => + 'Symfony\\Polyfill\\Php84\\' => array ( 0 => __DIR__ . '/..' . '/symfony/polyfill-php84', ), - 'Symfony\\Polyfill\\Mbstring\\' => + 'Symfony\\Polyfill\\Mbstring\\' => array ( 0 => __DIR__ . '/..' . '/symfony/polyfill-mbstring', ), - 'Symfony\\Polyfill\\Intl\\Normalizer\\' => + 'Symfony\\Polyfill\\Intl\\Normalizer\\' => array ( 0 => __DIR__ . '/..' . '/symfony/polyfill-intl-normalizer', ), - 'Symfony\\Polyfill\\Intl\\Idn\\' => + 'Symfony\\Polyfill\\Intl\\Idn\\' => array ( 0 => __DIR__ . '/..' . '/symfony/polyfill-intl-idn', ), - 'Symfony\\Polyfill\\Intl\\Grapheme\\' => + 'Symfony\\Polyfill\\Intl\\Grapheme\\' => array ( 0 => __DIR__ . '/..' . '/symfony/polyfill-intl-grapheme', ), - 'Symfony\\Polyfill\\Ctype\\' => + 'Symfony\\Polyfill\\Ctype\\' => array ( 0 => __DIR__ . '/..' . '/symfony/polyfill-ctype', ), - 'Symfony\\Contracts\\Translation\\' => + 'Symfony\\Contracts\\Translation\\' => array ( 0 => __DIR__ . '/..' . '/symfony/translation-contracts', ), - 'Symfony\\Contracts\\Service\\' => + 'Symfony\\Contracts\\Service\\' => array ( 0 => __DIR__ . '/..' . '/symfony/service-contracts', ), - 'Symfony\\Contracts\\EventDispatcher\\' => + 'Symfony\\Contracts\\EventDispatcher\\' => array ( 0 => __DIR__ . '/..' . '/symfony/event-dispatcher-contracts', ), - 'Symfony\\Component\\VarDumper\\' => + 'Symfony\\Component\\VarDumper\\' => array ( 0 => __DIR__ . '/..' . '/symfony/var-dumper', ), - 'Symfony\\Component\\Translation\\' => + 'Symfony\\Component\\Translation\\' => array ( 0 => __DIR__ . '/..' . '/symfony/translation', ), - 'Symfony\\Component\\String\\' => + 'Symfony\\Component\\String\\' => array ( 0 => __DIR__ . '/..' . '/symfony/string', ), - 'Symfony\\Component\\Routing\\' => + 'Symfony\\Component\\Routing\\' => array ( 0 => __DIR__ . '/..' . '/symfony/routing', ), - 'Symfony\\Component\\Process\\' => + 'Symfony\\Component\\Process\\' => array ( 0 => __DIR__ . '/..' . '/symfony/process', ), - 'Symfony\\Component\\Mime\\' => + 'Symfony\\Component\\Mime\\' => array ( 0 => __DIR__ . '/..' . '/symfony/mime', ), - 'Symfony\\Component\\HttpKernel\\' => + 'Symfony\\Component\\HttpKernel\\' => array ( 0 => __DIR__ . '/..' . '/symfony/http-kernel', ), - 'Symfony\\Component\\HttpFoundation\\' => + 'Symfony\\Component\\HttpFoundation\\' => array ( 0 => __DIR__ . '/..' . '/symfony/http-foundation', ), - 'Symfony\\Component\\Finder\\' => + 'Symfony\\Component\\Finder\\' => array ( 0 => __DIR__ . '/..' . '/symfony/finder', ), - 'Symfony\\Component\\Filesystem\\' => + 'Symfony\\Component\\Filesystem\\' => array ( 0 => __DIR__ . '/..' . '/symfony/filesystem', ), - 'Symfony\\Component\\EventDispatcher\\' => + 'Symfony\\Component\\EventDispatcher\\' => array ( 0 => __DIR__ . '/..' . '/symfony/event-dispatcher', ), - 'Symfony\\Component\\ErrorHandler\\' => + 'Symfony\\Component\\ErrorHandler\\' => array ( 0 => __DIR__ . '/..' . '/symfony/error-handler', ), - 'Symfony\\Component\\Console\\' => + 'Symfony\\Component\\Console\\' => array ( 0 => __DIR__ . '/..' . '/symfony/console', ), - 'Symfony\\Component\\Clock\\' => + 'Symfony\\Component\\Clock\\' => array ( 0 => __DIR__ . '/..' . '/symfony/clock', ), - 'SimplePie\\' => + 'SimplePie\\' => array ( 0 => __DIR__ . '/..' . '/simplepie/simplepie/src', ), - 'Seld\\Signal\\' => + 'Seld\\Signal\\' => array ( 0 => __DIR__ . '/..' . '/seld/signal-handler/src', ), - 'Seld\\PharUtils\\' => + 'Seld\\PharUtils\\' => array ( 0 => __DIR__ . '/..' . '/seld/phar-utils/src', ), - 'Seld\\JsonLint\\' => + 'Seld\\JsonLint\\' => array ( 0 => __DIR__ . '/..' . '/seld/jsonlint/src/Seld/JsonLint', ), - 'React\\Promise\\' => + 'React\\Promise\\' => array ( 0 => __DIR__ . '/..' . '/react/promise/src', ), - 'Ramsey\\Uuid\\' => + 'Ramsey\\Uuid\\' => array ( 0 => __DIR__ . '/..' . '/ramsey/uuid/src', ), - 'Ramsey\\Collection\\' => + 'Ramsey\\Collection\\' => array ( 0 => __DIR__ . '/..' . '/ramsey/collection/src', ), - 'Psr\\SimpleCache\\' => + 'Psr\\SimpleCache\\' => array ( 0 => __DIR__ . '/..' . '/psr/simple-cache/src', ), - 'Psr\\Log\\' => + 'Psr\\Log\\' => array ( 0 => __DIR__ . '/..' . '/psr/log/src', ), - 'Psr\\Http\\Message\\' => + 'Psr\\Http\\Message\\' => array ( - 0 => __DIR__ . '/..' . '/psr/http-message/src', - 1 => __DIR__ . '/..' . '/psr/http-factory/src', + 0 => __DIR__ . '/..' . '/psr/http-factory/src', + 1 => __DIR__ . '/..' . '/psr/http-message/src', ), - 'Psr\\Http\\Client\\' => + 'Psr\\Http\\Client\\' => array ( 0 => __DIR__ . '/..' . '/psr/http-client/src', ), - 'Psr\\EventDispatcher\\' => + 'Psr\\EventDispatcher\\' => array ( 0 => __DIR__ . '/..' . '/psr/event-dispatcher/src', ), - 'Psr\\Container\\' => + 'Psr\\Container\\' => array ( 0 => __DIR__ . '/..' . '/psr/container/src', ), - 'Psr\\Clock\\' => + 'Psr\\Clock\\' => array ( 0 => __DIR__ . '/..' . '/psr/clock/src', ), - 'Psr\\Cache\\' => + 'Psr\\Cache\\' => array ( 0 => __DIR__ . '/..' . '/psr/cache/src', ), - 'Predis\\' => + 'Predis\\' => array ( 0 => __DIR__ . '/..' . '/predis/predis/src', ), - 'PhpOption\\' => + 'PhpOption\\' => array ( 0 => __DIR__ . '/..' . '/phpoption/phpoption/src/PhpOption', ), - 'PHPMailer\\PHPMailer\\' => + 'PHPMailer\\PHPMailer\\' => array ( 0 => __DIR__ . '/..' . '/phpmailer/phpmailer/src', ), - 'Monolog\\' => + 'Monolog\\' => array ( 0 => __DIR__ . '/..' . '/monolog/monolog/src/Monolog', ), - 'MabeEnum\\' => + 'MabeEnum\\' => array ( 0 => __DIR__ . '/..' . '/marc-mabe/php-enum/src', ), - 'LocateBinaries\\' => + 'LocateBinaries\\' => array ( 0 => __DIR__ . '/..' . '/rosell-dk/locate-binaries/src', ), - 'League\\MimeTypeDetection\\' => + 'League\\MimeTypeDetection\\' => array ( 0 => __DIR__ . '/..' . '/league/mime-type-detection/src', ), - 'League\\Flysystem\\Local\\' => + 'League\\Flysystem\\Local\\' => array ( 0 => __DIR__ . '/..' . '/league/flysystem-local', ), - 'League\\Flysystem\\' => + 'League\\Flysystem\\' => array ( 0 => __DIR__ . '/..' . '/league/flysystem/src', ), - 'Laravel\\SerializableClosure\\' => + 'Laravel\\SerializableClosure\\' => array ( 0 => __DIR__ . '/..' . '/laravel/serializable-closure/src', ), - 'Laravel\\Prompts\\' => + 'Laravel\\Prompts\\' => array ( 0 => __DIR__ . '/..' . '/laravel/prompts/src', ), - 'JsonSchema\\' => + 'JsonSchema\\' => array ( 0 => __DIR__ . '/..' . '/justinrainbow/json-schema/src/JsonSchema', ), - 'ImageMimeTypeSniffer\\' => + 'ImageMimeTypeSniffer\\' => array ( 0 => __DIR__ . '/..' . '/rosell-dk/image-mime-type-sniffer/src', ), - 'ImageMimeTypeGuesser\\' => + 'ImageMimeTypeGuesser\\' => array ( 0 => __DIR__ . '/..' . '/rosell-dk/image-mime-type-guesser/src', ), - 'Illuminate\\View\\' => + 'Illuminate\\View\\' => array ( 0 => __DIR__ . '/..' . '/illuminate/view', ), - 'Illuminate\\Validation\\' => + 'Illuminate\\Validation\\' => array ( 0 => __DIR__ . '/..' . '/illuminate/validation', ), - 'Illuminate\\Translation\\' => + 'Illuminate\\Translation\\' => array ( 0 => __DIR__ . '/..' . '/illuminate/translation', ), - 'Illuminate\\Support\\' => + 'Illuminate\\Support\\' => array ( - 0 => __DIR__ . '/..' . '/illuminate/macroable', - 1 => __DIR__ . '/..' . '/illuminate/conditionable', + 0 => __DIR__ . '/..' . '/illuminate/support', + 1 => __DIR__ . '/..' . '/illuminate/reflection', 2 => __DIR__ . '/..' . '/illuminate/collections', - 3 => __DIR__ . '/..' . '/illuminate/reflection', - 4 => __DIR__ . '/..' . '/illuminate/support', + 3 => __DIR__ . '/..' . '/illuminate/conditionable', + 4 => __DIR__ . '/..' . '/illuminate/macroable', ), - 'Illuminate\\Session\\' => + 'Illuminate\\Session\\' => array ( 0 => __DIR__ . '/..' . '/illuminate/session', ), - 'Illuminate\\Routing\\' => + 'Illuminate\\Routing\\' => array ( 0 => __DIR__ . '/..' . '/illuminate/routing', ), - 'Illuminate\\Redis\\' => + 'Illuminate\\Redis\\' => array ( 0 => __DIR__ . '/..' . '/illuminate/redis', ), - 'Illuminate\\Queue\\' => + 'Illuminate\\Queue\\' => array ( 0 => __DIR__ . '/..' . '/illuminate/queue', ), - 'Illuminate\\Pipeline\\' => + 'Illuminate\\Pipeline\\' => array ( 0 => __DIR__ . '/..' . '/illuminate/pipeline', ), - 'Illuminate\\Pagination\\' => + 'Illuminate\\Pagination\\' => array ( 0 => __DIR__ . '/..' . '/illuminate/pagination', ), - 'Illuminate\\Log\\' => + 'Illuminate\\Log\\' => array ( 0 => __DIR__ . '/..' . '/illuminate/log', ), - 'Illuminate\\Http\\' => + 'Illuminate\\Http\\' => array ( 0 => __DIR__ . '/..' . '/illuminate/http', ), - 'Illuminate\\Filesystem\\' => + 'Illuminate\\Filesystem\\' => array ( 0 => __DIR__ . '/..' . '/illuminate/filesystem', ), - 'Illuminate\\Events\\' => + 'Illuminate\\Events\\' => array ( 0 => __DIR__ . '/..' . '/illuminate/events', ), - 'Illuminate\\Database\\' => + 'Illuminate\\Database\\' => array ( 0 => __DIR__ . '/..' . '/illuminate/database', ), - 'Illuminate\\Contracts\\' => + 'Illuminate\\Contracts\\' => array ( 0 => __DIR__ . '/..' . '/illuminate/contracts', ), - 'Illuminate\\Container\\' => + 'Illuminate\\Container\\' => array ( 0 => __DIR__ . '/..' . '/illuminate/container', ), - 'Illuminate\\Console\\' => + 'Illuminate\\Console\\' => array ( 0 => __DIR__ . '/..' . '/illuminate/console', ), - 'Illuminate\\Config\\' => + 'Illuminate\\Config\\' => array ( 0 => __DIR__ . '/..' . '/illuminate/config', ), - 'Illuminate\\Cache\\' => + 'Illuminate\\Cache\\' => array ( 0 => __DIR__ . '/..' . '/illuminate/cache', ), - 'Illuminate\\Bus\\' => + 'Illuminate\\Bus\\' => array ( 0 => __DIR__ . '/..' . '/illuminate/bus', ), - 'GuzzleHttp\\UriTemplate\\' => + 'GuzzleHttp\\UriTemplate\\' => array ( 0 => __DIR__ . '/..' . '/guzzlehttp/uri-template/src', ), - 'GuzzleHttp\\Psr7\\' => + 'GuzzleHttp\\Psr7\\' => array ( 0 => __DIR__ . '/..' . '/guzzlehttp/psr7/src', ), - 'GuzzleHttp\\Promise\\' => + 'GuzzleHttp\\Promise\\' => array ( 0 => __DIR__ . '/..' . '/guzzlehttp/promises/src', ), - 'GuzzleHttp\\' => + 'GuzzleHttp\\' => array ( 0 => __DIR__ . '/..' . '/guzzlehttp/guzzle/src', ), - 'GrahamCampbell\\ResultType\\' => + 'GrahamCampbell\\ResultType\\' => array ( 0 => __DIR__ . '/..' . '/graham-campbell/result-type/src', ), - 'Fruitcake\\Cors\\' => + 'Fruitcake\\Cors\\' => array ( 0 => __DIR__ . '/..' . '/fruitcake/php-cors/src', ), - 'FileUtil\\' => + 'FileUtil\\' => array ( 0 => __DIR__ . '/..' . '/rosell-dk/file-util/src', ), - 'ExecWithFallback\\' => + 'ExecWithFallback\\' => array ( 0 => __DIR__ . '/..' . '/rosell-dk/exec-with-fallback/src', ), - 'EvolutionCMS\\UserManager\\' => + 'EvolutionCMS\\UserManager\\' => array ( 0 => __DIR__ . '/..' . '/evolutioncms-services/user-manager/src', ), - 'EvolutionCMS\\DocumentManager\\' => + 'EvolutionCMS\\DocumentManager\\' => array ( 0 => __DIR__ . '/..' . '/evolutioncms-services/document-manager/src', ), - 'EvolutionCMS\\' => + 'EvolutionCMS\\' => array ( 0 => __DIR__ . '/../..' . '/src', ), - 'Egulias\\EmailValidator\\' => + 'Egulias\\EmailValidator\\' => array ( 0 => __DIR__ . '/..' . '/egulias/email-validator/src', ), - 'Dotenv\\' => + 'Dotenv\\' => array ( 0 => __DIR__ . '/..' . '/vlucas/phpdotenv/src', ), - 'Doctrine\\Inflector\\' => + 'Doctrine\\Inflector\\' => array ( 0 => __DIR__ . '/..' . '/doctrine/inflector/src', ), - 'Doctrine\\Deprecations\\' => + 'Doctrine\\Deprecations\\' => array ( 0 => __DIR__ . '/..' . '/doctrine/deprecations/src', ), - 'Doctrine\\DBAL\\' => + 'Doctrine\\DBAL\\' => array ( 0 => __DIR__ . '/..' . '/doctrine/dbal/src', ), - 'Doctrine\\Common\\Lexer\\' => + 'Doctrine\\Common\\Lexer\\' => array ( 0 => __DIR__ . '/..' . '/doctrine/lexer/src', ), - 'Database\\Seeders\\' => + 'Database\\Seeders\\' => array ( 0 => __DIR__ . '/../..' . '/database/seeders', ), - 'Cron\\' => + 'Cron\\' => array ( 0 => __DIR__ . '/..' . '/dragonmantank/cron-expression/src/Cron', ), - 'Composer\\XdebugHandler\\' => + 'Composer\\XdebugHandler\\' => array ( 0 => __DIR__ . '/..' . '/composer/xdebug-handler/src', ), - 'Composer\\Spdx\\' => + 'Composer\\Spdx\\' => array ( 0 => __DIR__ . '/..' . '/composer/spdx-licenses/src', ), - 'Composer\\Semver\\' => + 'Composer\\Semver\\' => array ( 0 => __DIR__ . '/..' . '/composer/semver/src', ), - 'Composer\\Pcre\\' => + 'Composer\\Pcre\\' => array ( 0 => __DIR__ . '/..' . '/composer/pcre/src', ), - 'Composer\\MetadataMinifier\\' => + 'Composer\\MetadataMinifier\\' => array ( 0 => __DIR__ . '/..' . '/composer/metadata-minifier/src', ), - 'Composer\\ClassMapGenerator\\' => + 'Composer\\ClassMapGenerator\\' => array ( 0 => __DIR__ . '/..' . '/composer/class-map-generator/src', ), - 'Composer\\CaBundle\\' => + 'Composer\\CaBundle\\' => array ( 0 => __DIR__ . '/..' . '/composer/ca-bundle/src', ), - 'Composer\\' => + 'Composer\\' => array ( 0 => __DIR__ . '/..' . '/composer/composer/src/Composer', ), - 'Carbon\\Doctrine\\' => + 'Carbon\\Doctrine\\' => array ( 0 => __DIR__ . '/..' . '/carbonphp/carbon-doctrine-types/src/Carbon/Doctrine', ), - 'Carbon\\' => + 'Carbon\\' => array ( 0 => __DIR__ . '/..' . '/nesbot/carbon/src/Carbon', ), - 'Brick\\Math\\' => + 'Brick\\Math\\' => array ( 0 => __DIR__ . '/..' . '/brick/math/src', ), - 'BladeUI\\Icons\\' => + 'BladeUI\\Icons\\' => array ( 0 => __DIR__ . '/..' . '/blade-ui-kit/blade-icons/src', ), ); public static $prefixesPsr0 = array ( - 'S' => + 'S' => array ( - 'SimplePie' => + 'SimplePie' => array ( 0 => __DIR__ . '/..' . '/simplepie/simplepie/library', ), @@ -1167,6 +1167,13 @@ class ComposerStaticInit925fea465a58fa69f06ccf2629003e87 'Cron\\HoursField' => __DIR__ . '/..' . '/dragonmantank/cron-expression/src/Cron/HoursField.php', 'Cron\\MinutesField' => __DIR__ . '/..' . '/dragonmantank/cron-expression/src/Cron/MinutesField.php', 'Cron\\MonthField' => __DIR__ . '/..' . '/dragonmantank/cron-expression/src/Cron/MonthField.php', + 'Database\\Seeders\\AdminUserTableSeeder' => __DIR__ . '/../..' . '/database/seeders/AdminUserTableSeeder.php', + 'Database\\Seeders\\SiteContentTableSeeder' => __DIR__ . '/../..' . '/database/seeders/SiteContentTableSeeder.php', + 'Database\\Seeders\\SiteTemplatesTableSeeder' => __DIR__ . '/../..' . '/database/seeders/SiteTemplatesTableSeeder.php', + 'Database\\Seeders\\SystemEventnamesTableSeeder' => __DIR__ . '/../..' . '/database/seeders/SystemEventnamesTableSeeder.php', + 'Database\\Seeders\\SystemSettingsTableSeeder' => __DIR__ . '/../..' . '/database/seeders/SystemSettingsTableSeeder.php', + 'Database\\Seeders\\UserPermissionsTableSeeder' => __DIR__ . '/../..' . '/database/seeders/UserPermissionsTableSeeder.php', + 'Database\\Seeders\\UserRolesTableSeeder' => __DIR__ . '/../..' . '/database/seeders/UserRolesTableSeeder.php', 'DelayedTargetValidation' => __DIR__ . '/..' . '/symfony/polyfill-php85/Resources/stubs/DelayedTargetValidation.php', 'Deprecated' => __DIR__ . '/..' . '/symfony/polyfill-php84/Resources/stubs/Deprecated.php', 'Doctrine\\Common\\Lexer\\AbstractLexer' => __DIR__ . '/..' . '/doctrine/lexer/src/AbstractLexer.php', @@ -1820,6 +1827,7 @@ class ComposerStaticInit925fea465a58fa69f06ccf2629003e87 'EvolutionCMS\\Controllers\\EventLogDetails' => __DIR__ . '/../..' . '/src/Controllers/EventLogDetails.php', 'EvolutionCMS\\Controllers\\Frame' => __DIR__ . '/../..' . '/src/Controllers/Frame.php', 'EvolutionCMS\\Controllers\\Help' => __DIR__ . '/../..' . '/src/Controllers/Help.php', + 'EvolutionCMS\\Controllers\\MailTest' => __DIR__ . '/../..' . '/src/Controllers/MailTest.php', 'EvolutionCMS\\Controllers\\Modules' => __DIR__ . '/../..' . '/src/Controllers/Modules.php', 'EvolutionCMS\\Controllers\\MoveDocument' => __DIR__ . '/../..' . '/src/Controllers/MoveDocument.php', 'EvolutionCMS\\Controllers\\Password' => __DIR__ . '/../..' . '/src/Controllers/Password.php', @@ -2017,6 +2025,7 @@ class ComposerStaticInit925fea465a58fa69f06ccf2629003e87 'EvolutionCMS\\Providers\\UrlProcessorServiceProvider' => __DIR__ . '/../..' . '/src/Providers/UrlProcessorServiceProvider.php', 'EvolutionCMS\\ServiceProvider' => __DIR__ . '/../..' . '/src/ServiceProvider.php', 'EvolutionCMS\\Services\\AuthServices' => __DIR__ . '/../..' . '/src/Services/AuthServices.php', + 'EvolutionCMS\\Services\\ComposerVersionSynchronizer' => __DIR__ . '/../..' . '/src/Services/ComposerVersionSynchronizer.php', 'EvolutionCMS\\Services\\ConfigService' => __DIR__ . '/../..' . '/src/Services/ConfigService.php', 'EvolutionCMS\\Services\\DatabaseBackupService' => __DIR__ . '/../..' . '/src/Services/DatabaseBackupService.php', 'EvolutionCMS\\Services\\Store\\CatalogService' => __DIR__ . '/../..' . '/src/Services/Store/CatalogService.php', @@ -2050,11 +2059,13 @@ class ComposerStaticInit925fea465a58fa69f06ccf2629003e87 'EvolutionCMS\\Support\\Formatter\\CSSMinify' => __DIR__ . '/../..' . '/src/Support/Formatter/CSSMinify.php', 'EvolutionCMS\\Support\\Formatter\\HtmlFormatter' => __DIR__ . '/../..' . '/src/Support/Formatter/HtmlFormatter.php', 'EvolutionCMS\\Support\\Formatter\\SqlFormatter' => __DIR__ . '/../..' . '/src/Support/Formatter/SqlFormatter.php', + 'EvolutionCMS\\Support\\MailTestMailer' => __DIR__ . '/../..' . '/src/Support/MailTestMailer.php', 'EvolutionCMS\\Support\\MakeTable' => __DIR__ . '/../..' . '/src/Support/MakeTable.php', 'EvolutionCMS\\Support\\Menu' => __DIR__ . '/../..' . '/src/Support/Menu.php', 'EvolutionCMS\\Support\\MoveDocumentTargetGuard' => __DIR__ . '/../..' . '/src/Support/MoveDocumentTargetGuard.php', 'EvolutionCMS\\Support\\MysqlDumper' => __DIR__ . '/../..' . '/src/Support/MysqlDumper.php', 'EvolutionCMS\\Support\\Paginate' => __DIR__ . '/../..' . '/src/Support/Paginate.php', + 'EvolutionCMS\\Support\\SiteTimezone' => __DIR__ . '/../..' . '/src/Support/SiteTimezone.php', 'EvolutionCMS\\Support\\SqliteDumper' => __DIR__ . '/../..' . '/src/Support/SqliteDumper.php', 'EvolutionCMS\\Support\\SystemSettingPathNormalizer' => __DIR__ . '/../..' . '/src/Support/SystemSettingPathNormalizer.php', 'EvolutionCMS\\TemplateProcessor' => __DIR__ . '/../..' . '/src/TemplateProcessor.php', diff --git a/core/vendor/composer/platform_check.php b/core/vendor/composer/platform_check.php index 2a8f1c84b7..af033b9496 100644 --- a/core/vendor/composer/platform_check.php +++ b/core/vendor/composer/platform_check.php @@ -19,8 +19,7 @@ echo 'Composer detected issues in your platform:' . PHP_EOL.PHP_EOL . str_replace('You are running '.PHP_VERSION.'.', '', implode(PHP_EOL, $issues)) . PHP_EOL.PHP_EOL; } } - trigger_error( - 'Composer detected issues in your platform: ' . implode(' ', $issues), - E_USER_ERROR + throw new \RuntimeException( + 'Composer detected issues in your platform: ' . implode(' ', $issues) ); }