<?php
declare(strict_types=1);
namespace PackageVersions;
use Composer\InstalledVersions;
use OutOfBoundsException;
class_exists(InstalledVersions::class);
/**
* This class is generated by composer/package-versions-deprecated, specifically by
* @see \PackageVersions\Installer
*
* This file is overwritten at every run of `composer install` or `composer update`.
*
* @deprecated in favor of the Composer\InstalledVersions class provided by Composer 2. Require composer-runtime-api:^2 to ensure it is present.
*/
final class Versions
{
/**
* @deprecated please use {@see self::rootPackageName()} instead.
* This constant will be removed in version 2.0.0.
*/
const ROOT_PACKAGE_NAME = 'visavi/rotor';
/**
* Array of all available composer packages.
* Dont read this array from your calling code, but use the \PackageVersions\Versions::getVersion() method instead.
*
* @var array<string, string>
* @internal
*/
const VERSIONS = array (
'alchemy/binary-driver' => 'v5.2.0@e0615cdff315e6b4b05ada67906df6262a020d22',
'cakephp/core' => '4.2.5@c0165c3a64d11f4f48ee61aaffd4a93c4b467927',
'cakephp/database' => '4.2.5@b2935208a9b15318a2dd497010ff28c2b73cdd2d',
'cakephp/datasource' => '4.2.5@47aaa8b796dce35e2fe2547db4f8eb591220acd8',
'cakephp/utility' => '4.2.5@4259ae4154e639557af751ae719d58253a79282a',
'cbschuld/browser.php' => 'v1.9.6@9d07d6410977d494d7b8ecc2f3c877645c5477d9',
'composer/package-versions-deprecated' => '1.11.99.1@7413f0b55a051e89485c5cb9f765fe24bb02a7b6',
'doctrine/cache' => '1.10.2@13e3381b25847283a91948d04640543941309727',
'doctrine/dbal' => '3.0.0@ee6d1260d5cc20ec506455a585945d7bdb98662c',
'doctrine/event-manager' => '1.1.1@41370af6a30faa9dc0368c4a6814d596e81aba7f',
'doctrine/inflector' => '2.0.3@9cf661f4eb38f7c881cac67c75ea9b00bf97b210',
'dragonmantank/cron-expression' => 'v2.3.1@65b2d8ee1f10915efb3b55597da3404f096acba2',
'evenement/evenement' => 'v3.0.1@531bfb9d15f8aa57454f5f0285b18bec903b8fb7',
'google/recaptcha' => '1.2.4@614f25a9038be4f3f2da7cbfd778dc5b357d2419',
'graham-campbell/result-type' => 'v1.0.1@7e279d2cd5d7fbb156ce46daada972355cea27bb',
'gregwar/captcha' => 'v1.1.9@4bb668e6b40e3205a020ca5ee4ca8cff8b8780c5',
'guzzlehttp/guzzle' => '7.3.0@7008573787b430c1c1f650e3722d9bba59967628',
'guzzlehttp/promises' => '1.4.1@8e7d04f1f6450fef59366c399cfad4b9383aa30d',
'guzzlehttp/psr7' => '1.8.1@35ea11d335fd638b5882ff1725228b3d35496ab1',
'illuminate/bus' => 'v8.36.2@c40f6133be4559049b03aaa8c7d95c37e1c5b893',
'illuminate/cache' => 'v8.36.2@8e7e15e726895a757f23602f410f4b28567214a8',
'illuminate/collections' => 'v8.36.2@591e31015a8b0731708c54411cb52d50a00b2bc3',
'illuminate/config' => 'v8.36.2@8441c542312b4d57220b1f942b947b6517c05008',
'illuminate/container' => 'v8.36.2@0e38ee1632d470e56aece0079e6e22d13e6bea8e',
'illuminate/contracts' => 'v8.36.2@5764f703ea8f74ced163125d810951cd5ef2b7e1',
'illuminate/database' => 'v8.36.2@41d31456142be497c4e6abd40b674be0162934b1',
'illuminate/events' => 'v8.36.2@bd2941d4d55f5d357b203dc2ed81ac5c138593dc',
'illuminate/filesystem' => 'v8.36.2@8ef5902052c5b3bb4a6c1c3afc399f30e7723cb8',
'illuminate/http' => 'v8.36.2@9884f35790531161fc7c6e3fa113fdbf69277e60',
'illuminate/log' => 'v8.36.2@34b9a55133d2ce166005ba7e61feb793dea3b01f',
'illuminate/macroable' => 'v8.36.2@300aa13c086f25116b5f3cde3ca54ff5c822fb05',
'illuminate/pagination' => 'v8.36.2@d01e751adfffc991c75945cea4b2022fbd8427da',
'illuminate/pipeline' => 'v8.36.2@23aeff5b26ae4aee3f370835c76bd0f4e93f71d2',
'illuminate/redis' => 'v8.36.2@8c4acca0e65b6a7eaaff1ecf9b6d8267b09004e2',
'illuminate/session' => 'v8.36.2@eea67de2088f6671980ac4dc22e9c229a9abc03c',
'illuminate/support' => 'v8.36.2@26aa01648f348df7b7988ee911cdf98bcaae8ea1',
'illuminate/translation' => 'v8.36.2@0fffa8b8f6eed8b4e17eac9d457befbcbae02b47',
'illuminate/view' => 'v8.36.2@696a1d6d2213be192429e97245a3d2bb4d6d1849',
'intervention/image' => '2.5.1@abbf18d5ab8367f96b3205ca3c89fb2fa598c69e',
'monolog/monolog' => '2.2.0@1cb1cde8e8dd0f70cc0fe51354a59acad9302084',
'nelexa/zip' => '3.3.3@501b52f6fc393a599b44ff348a42740e1eaac7c6',
'nesbot/carbon' => '2.46.0@2fd2c4a77d58a4e95234c8a61c5df1f157a91bf4',
'neutron/temporary-filesystem' => '3.0@60e79adfd16f42f4b888e351ad49f9dcb959e3c2',
'nikic/fast-route' => 'v1.3.0@181d480e08d9476e61381e04a71b34dc0432e812',
'opis/closure' => '3.6.2@06e2ebd25f2869e54a306dda991f7db58066f7f6',
'paragonie/random_compat' => 'v9.99.100@996434e5492cb4c3edcb9168db6fbb1359ef965a',
'php-di/invoker' => '2.3.0@992fec6c56f2d1ad1ad5fee28267867c85bfb8f9',
'php-di/php-di' => '6.3.1@78278800b18e7c5582fd4d4e629715f5eebbfcc0',
'php-di/phpdoc-reader' => '2.2.1@66daff34cbd2627740ffec9469ffbac9f8c8185c',
'php-ffmpeg/php-ffmpeg' => 'v0.18.0@edc0a7729d8818ed883e77b3d26ceb6d49ec41de',
'phpmailer/phpmailer' => 'v6.4.0@050d430203105c27c30efd1dce7aa421ad882d01',
'phpoption/phpoption' => '1.7.5@994ecccd8f3283ecf5ac33254543eb0ac946d525',
'psr/container' => '1.1.1@8622567409010282b7aeebe4bb841fe98b58dcaf',
'psr/event-dispatcher' => '1.0.0@dbefd12671e8a14ec7f180cab83036ed26714bb0',
'psr/http-client' => '1.0.1@2dfb5f6c5eff0e91e20e913f8c5452ed95b86621',
'psr/http-message' => '1.0.1@f6561bf28d520154e4b0ec72be95418abe6d9363',
'psr/log' => '1.1.3@0f73288fd15629204f9d42b7055f72dacbe811fc',
'psr/simple-cache' => '1.0.1@408d5eafb83c57f6365a3ca330ff23aa4a5fa39b',
'ralouphie/getallheaders' => '3.0.3@120b605dfeb996808c31b6477290a714d356e822',
'robmorgan/phinx' => '0.12.6@3519c5c8d36ec9d41915a9416d2d434adaa79690',
'symfony/config' => 'v5.2.4@212d54675bf203ff8aef7d8cee8eecfb72f4a263',
'symfony/console' => 'v5.2.6@35f039df40a3b335ebf310f244cb242b3a83ac8d',
'symfony/deprecation-contracts' => 'v2.2.0@5fa56b4074d1ae755beb55617ddafe6f5d78f665',
'symfony/error-handler' => 'v5.2.6@bdb7fb4188da7f4211e4b88350ba0dfdad002b03',
'symfony/event-dispatcher' => 'v5.2.4@d08d6ec121a425897951900ab692b612a61d6240',
'symfony/event-dispatcher-contracts' => 'v2.2.0@0ba7d54483095a198fa51781bc608d17e84dffa2',
'symfony/filesystem' => 'v5.2.6@8c86a82f51658188119e62cff0a050a12d09836f',
'symfony/finder' => 'v5.2.4@0d639a0943822626290d169965804f79400e6a04',
'symfony/http-client-contracts' => 'v2.3.1@41db680a15018f9c1d4b23516059633ce280ca33',
'symfony/http-foundation' => 'v5.2.4@54499baea7f7418bce7b5ec92770fd0799e8e9bf',
'symfony/http-kernel' => 'v5.2.6@f34de4c61ca46df73857f7f36b9a3805bdd7e3b2',
'symfony/mime' => 'v5.2.6@1b2092244374cbe48ae733673f2ca0818b37197b',
'symfony/polyfill-ctype' => 'v1.22.1@c6c942b1ac76c82448322025e084cadc56048b4e',
'symfony/polyfill-intl-grapheme' => 'v1.22.1@5601e09b69f26c1828b13b6bb87cb07cddba3170',
'symfony/polyfill-intl-idn' => 'v1.22.1@2d63434d922daf7da8dd863e7907e67ee3031483',
'symfony/polyfill-intl-normalizer' => 'v1.22.1@43a0283138253ed1d48d352ab6d0bdb3f809f248',
'symfony/polyfill-mbstring' => 'v1.22.1@5232de97ee3b75b0360528dae24e73db49566ab1',
'symfony/polyfill-php72' => 'v1.22.1@cc6e6f9b39fe8075b3dabfbaf5b5f645ae1340c9',
'symfony/polyfill-php73' => 'v1.22.1@a678b42e92f86eca04b7fa4c0f6f19d097fb69e2',
'symfony/polyfill-php80' => 'v1.22.1@dc3063ba22c2a1fd2f45ed856374d79114998f91',
'symfony/process' => 'v5.2.4@313a38f09c77fbcdc1d223e57d368cea76a2fd2f',
'symfony/service-contracts' => 'v2.2.0@d15da7ba4957ffb8f1747218be9e1a121fd298a1',
'symfony/string' => 'v5.2.6@ad0bd91bce2054103f5eaa18ebeba8d3bc2a0572',
'symfony/translation' => 'v5.2.6@2cc7f45d96db9adfcf89adf4401d9dfed509f4e1',
'symfony/translation-contracts' => 'v2.3.0@e2eaa60b558f26a4b0354e1bbb25636efaaad105',
'symfony/var-dumper' => 'v5.2.6@89412a68ea2e675b4e44f260a5666729f77f668e',
'visavi/cleanup' => 'v1.5.2@fc13c6376fabe61522d4a3cfeab90e8555c1fbd2',
'visavi/crontask' => 'v1.2.0@372403f32ea5efdc447fe6ecbd6d015eb3ac2f5f',
'vlucas/phpdotenv' => 'v5.3.0@b3eac5c7ac896e52deab4a99068e3f4ab12d9e56',
'voku/portable-ascii' => '1.5.6@80953678b19901e5165c56752d087fc11526017c',
'visavi/rotor' => '1.0.0+no-version-set@',
);
private function __construct()
{
}
/**
* @psalm-pure
*
* @psalm-suppress ImpureMethodCall we know that {@see InstalledVersions} interaction does not
* cause any side effects here.
*/
public static function rootPackageName() : string
{
if (!class_exists(InstalledVersions::class, false) || !InstalledVersions::getRawData()) {
return self::ROOT_PACKAGE_NAME;
}
return InstalledVersions::getRootPackage()['name'];
}
/**
* @throws OutOfBoundsException If a version cannot be located.
*
* @psalm-param key-of<self::VERSIONS> $packageName
* @psalm-pure
*
* @psalm-suppress ImpureMethodCall we know that {@see InstalledVersions} interaction does not
* cause any side effects here.
*/
public static function getVersion(string $packageName): string
{
if (class_exists(InstalledVersions::class, false) && InstalledVersions::getRawData()) {
return InstalledVersions::getPrettyVersion($packageName)
. '@' . InstalledVersions::getReference($packageName);
}
if (isset(self::VERSIONS[$packageName])) {
return self::VERSIONS[$packageName];
}
throw new OutOfBoundsException(
'Required package "' . $packageName . '" is not installed: check your ./vendor/composer/installed.json and/or ./composer.lock files'
);
}
}