1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609 |
- <?php
- namespace Composer;
- use Composer\Autoload\ClassLoader;
- use Composer\Semver\VersionParser;
- class InstalledVersions
- {
- private static $installed = array (
- 'root' =>
- array (
- 'pretty_version' => '2.x-dev',
- 'version' => '2.9999999.9999999.9999999-dev',
- 'aliases' =>
- array (
- ),
- 'reference' => '7a3a8ec2e64e6c9b309e56d5ed067f9d97b344f5',
- 'name' => 'gnusocial/gnusocial',
- ),
- 'versions' =>
- array (
- 'alchemy/binary-driver' =>
- array (
- 'pretty_version' => 'v5.2.0',
- 'version' => '5.2.0.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'e0615cdff315e6b4b05ada67906df6262a020d22',
- ),
- 'apereo/phpcas' =>
- array (
- 'pretty_version' => '1.3.8',
- 'version' => '1.3.8.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '40c0769ce05a30c8172b36ceab11124375c8366e',
- ),
- 'composer/ca-bundle' =>
- array (
- 'pretty_version' => '1.2.9',
- 'version' => '1.2.9.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '78a0e288fdcebf92aa2318a8d3656168da6ac1a5',
- ),
- 'composer/package-versions-deprecated' =>
- array (
- 'pretty_version' => '1.11.99.1',
- 'version' => '1.11.99.1',
- 'aliases' =>
- array (
- ),
- 'reference' => '7413f0b55a051e89485c5cb9f765fe24bb02a7b6',
- ),
- 'composer/semver' =>
- array (
- 'pretty_version' => '3.2.4',
- 'version' => '3.2.4.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'a02fdf930a3c1c3ed3a49b5f63859c0c20e10464',
- ),
- 'composer/xdebug-handler' =>
- array (
- 'pretty_version' => '1.4.5',
- 'version' => '1.4.5.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'f28d44c286812c714741478d968104c5e604a1d4',
- ),
- 'diogocomposer/xmpphp' =>
- array (
- 'pretty_version' => 'v3.0.3',
- 'version' => '3.0.3.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '37f69546e8e24703c4a9116e7bb14864a61ee369',
- ),
- 'dnoegel/php-xdg-base-dir' =>
- array (
- 'pretty_version' => 'v0.1.1',
- 'version' => '0.1.1.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '8f8a6e48c5ecb0f991c2fdcf5f154a47d85f9ffd',
- ),
- 'doctrine/annotations' =>
- array (
- 'pretty_version' => '1.11.1',
- 'version' => '1.11.1.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'ce77a7ba1770462cd705a91a151b6c3746f9c6ad',
- ),
- 'doctrine/cache' =>
- array (
- 'pretty_version' => '1.10.2',
- 'version' => '1.10.2.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '13e3381b25847283a91948d04640543941309727',
- ),
- 'doctrine/event-manager' =>
- array (
- 'pretty_version' => '1.1.1',
- 'version' => '1.1.1.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '41370af6a30faa9dc0368c4a6814d596e81aba7f',
- ),
- 'doctrine/instantiator' =>
- array (
- 'pretty_version' => '1.4.0',
- 'version' => '1.4.0.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'd56bf6102915de5702778fe20f2de3b2fe570b5b',
- ),
- 'doctrine/lexer' =>
- array (
- 'pretty_version' => '1.2.1',
- 'version' => '1.2.1.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'e864bbf5904cb8f5bb334f99209b48018522f042',
- ),
- 'embed/embed' =>
- array (
- 'pretty_version' => 'v3.4.13',
- 'version' => '3.4.13.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '99f6d95aebd94251573e4f4febf14bc6aba28697',
- ),
- 'evenement/evenement' =>
- array (
- 'pretty_version' => 'v3.0.1',
- 'version' => '3.0.1.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '531bfb9d15f8aa57454f5f0285b18bec903b8fb7',
- ),
- 'ezyang/htmlpurifier' =>
- array (
- 'pretty_version' => 'v4.13.0',
- 'version' => '4.13.0.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '08e27c97e4c6ed02f37c5b2b20488046c8d90d75',
- ),
- 'friendsofphp/php-cs-fixer' =>
- array (
- 'pretty_version' => 'v2.18.2',
- 'version' => '2.18.2.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '18f8c9d184ba777380794a389fabc179896ba913',
- ),
- 'friendsofphp/proxy-manager-lts' =>
- array (
- 'pretty_version' => 'v1.0.3',
- 'version' => '1.0.3.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '121af47c9aee9c03031bdeca3fac0540f59aa5c3',
- ),
- 'gnusocial/gnusocial' =>
- array (
- 'pretty_version' => '2.x-dev',
- 'version' => '2.9999999.9999999.9999999-dev',
- 'aliases' =>
- array (
- ),
- 'reference' => '7a3a8ec2e64e6c9b309e56d5ed067f9d97b344f5',
- ),
- 'guzzlehttp/psr7' =>
- array (
- 'pretty_version' => '1.7.0',
- 'version' => '1.7.0.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '53330f47520498c0ae1f61f7e2c90f55690c06a3',
- ),
- 'hoa/consistency' =>
- array (
- 'pretty_version' => '1.17.05.02',
- 'version' => '1.17.05.02',
- 'aliases' =>
- array (
- ),
- 'reference' => 'fd7d0adc82410507f332516faf655b6ed22e4c2f',
- ),
- 'hoa/event' =>
- array (
- 'pretty_version' => '1.17.01.13',
- 'version' => '1.17.01.13',
- 'aliases' =>
- array (
- ),
- 'reference' => '6c0060dced212ffa3af0e34bb46624f990b29c54',
- ),
- 'hoa/exception' =>
- array (
- 'pretty_version' => '1.17.01.16',
- 'version' => '1.17.01.16',
- 'aliases' =>
- array (
- ),
- 'reference' => '091727d46420a3d7468ef0595651488bfc3a458f',
- ),
- 'intervention/image' =>
- array (
- 'pretty_version' => '2.5.1',
- 'version' => '2.5.1.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'abbf18d5ab8367f96b3205ca3c89fb2fa598c69e',
- ),
- 'jakub-onderka/php-console-color' =>
- array (
- 'pretty_version' => 'v0.2',
- 'version' => '0.2.0.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'd5deaecff52a0d61ccb613bb3804088da0307191',
- ),
- 'jakub-onderka/php-console-highlighter' =>
- array (
- 'pretty_version' => 'v0.4',
- 'version' => '0.4.0.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '9f7a229a69d52506914b4bc61bfdb199d90c5547',
- ),
- 'jawira/plantuml' =>
- array (
- 'pretty_version' => 'v1.50.0',
- 'version' => '1.50.0.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '43c499db01872fe76f7b51ef000abeec5946ba27',
- ),
- 'jean85/pretty-package-versions' =>
- array (
- 'pretty_version' => '1.5.1',
- 'version' => '1.5.1.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'a917488320c20057da87f67d0d40543dd9427f7a',
- ),
- 'laminas/laminas-code' =>
- array (
- 'pretty_version' => '4.0.0',
- 'version' => '4.0.0.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '28a6d70ea8b8bca687d7163300e611ae33baf82a',
- ),
- 'laminas/laminas-eventmanager' =>
- array (
- 'pretty_version' => '3.3.0',
- 'version' => '3.3.0.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '1940ccf30e058b2fd66f5a9d696f1b5e0027b082',
- ),
- 'laminas/laminas-zendframework-bridge' =>
- array (
- 'pretty_version' => '1.1.1',
- 'version' => '1.1.1.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '6ede70583e101030bcace4dcddd648f760ddf642',
- ),
- 'league/commonmark' =>
- array (
- 'pretty_version' => '1.5.7',
- 'version' => '1.5.7.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '11df9b36fd4f1d2b727a73bf14931d81373b9a54',
- ),
- 'league/flysystem' =>
- array (
- 'pretty_version' => '1.1.3',
- 'version' => '1.1.3.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '9be3b16c877d477357c015cec057548cf9b2a14a',
- ),
- 'league/mime-type-detection' =>
- array (
- 'pretty_version' => '1.7.0',
- 'version' => '1.7.0.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '3b9dff8aaf7323590c1d2e443db701eb1f9aa0d3',
- ),
- 'league/pipeline' =>
- array (
- 'pretty_version' => '1.0.0',
- 'version' => '1.0.0.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'aa14b0e3133121f8be39e9a3b6ddd011fc5bb9a8',
- ),
- 'league/tactician' =>
- array (
- 'pretty_version' => 'v1.0.3',
- 'version' => '1.0.3.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'd0339e22fd9252fb0fa53102b488d2c514483b8a',
- ),
- 'league/tactician-bundle' =>
- array (
- 'pretty_version' => 'v1.3.0',
- 'version' => '1.3.0.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '89c51277423ac485b62580c38322426c3ec6ad47',
- ),
- 'league/tactician-container' =>
- array (
- 'pretty_version' => '2.0.0',
- 'version' => '2.0.0.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'd1a5d884e072b8cafbff802d07766076eb2ffcb0',
- ),
- 'league/tactician-logger' =>
- array (
- 'pretty_version' => 'v0.10.0',
- 'version' => '0.10.0.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '3ff9ee04e4cbec100af827f829ed4c7ff7c08442',
- ),
- 'league/uri' =>
- array (
- 'pretty_version' => '6.4.0',
- 'version' => '6.4.0.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '09da64118eaf4c5d52f9923a1e6a5be1da52fd9a',
- ),
- 'league/uri-interfaces' =>
- array (
- 'pretty_version' => '2.2.0',
- 'version' => '2.2.0.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '667f150e589d65d79c89ffe662e426704f84224f',
- ),
- 'masterminds/html5' =>
- array (
- 'pretty_version' => '2.7.4',
- 'version' => '2.7.4.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '9227822783c75406cfe400984b2f095cdf03d417',
- ),
- 'mf2/mf2' =>
- array (
- 'pretty_version' => '0.4.6',
- 'version' => '0.4.6.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '00b70ee7eb7f5b0585b1bd467f6c9cbd75055d23',
- ),
- 'michelf/php-markdown' =>
- array (
- 'pretty_version' => '1.9.0',
- 'version' => '1.9.0.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'c83178d49e372ca967d1a8c77ae4e051b3a3c75c',
- ),
- 'monolog/monolog' =>
- array (
- 'pretty_version' => '2.2.0',
- 'version' => '2.2.0.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '1cb1cde8e8dd0f70cc0fe51354a59acad9302084',
- ),
- 'myclabs/deep-copy' =>
- array (
- 'pretty_version' => '1.10.2',
- 'version' => '1.10.2.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '776f831124e9c62e1a2c601ecc52e776d8bb7220',
- 'replaced' =>
- array (
- 0 => '1.10.2',
- ),
- ),
- 'neutron/temporary-filesystem' =>
- array (
- 'pretty_version' => '2.4',
- 'version' => '2.4.0.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '3c55497da8d7762fb4dcabc91d54a5de510e3c99',
- ),
- 'nikic/php-parser' =>
- array (
- 'pretty_version' => 'v4.10.4',
- 'version' => '4.10.4.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'c6d052fc58cb876152f89f532b95a8d7907e7f0e',
- ),
- 'ocramius/package-versions' =>
- array (
- 'replaced' =>
- array (
- 0 => '1.11.99',
- ),
- ),
- 'ocramius/proxy-manager' =>
- array (
- 'replaced' =>
- array (
- 0 => '^2.1',
- ),
- ),
- 'openid/php-openid' =>
- array (
- 'pretty_version' => '2.3.0',
- 'version' => '2.3.0.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '924f9aa42453cd0f9dba72587b4e2cdf7f4de874',
- ),
- 'paragonie/constant_time_encoding' =>
- array (
- 'pretty_version' => 'v1.0.4',
- 'version' => '1.0.4.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '2132f0f293d856026d7d11bd81b9f4a23a1dc1f6',
- ),
- 'paragonie/random_compat' =>
- array (
- 'replaced' =>
- array (
- 0 => '2.*',
- ),
- ),
- 'pear/console_getopt' =>
- array (
- 'pretty_version' => 'v1.4.3',
- 'version' => '1.4.3.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'a41f8d3e668987609178c7c4a9fe48fecac53fa0',
- ),
- 'phar-io/manifest' =>
- array (
- 'pretty_version' => '2.0.1',
- 'version' => '2.0.1.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '85265efd3af7ba3ca4b2a2c34dbfc5788dd29133',
- ),
- 'phar-io/version' =>
- array (
- 'pretty_version' => '3.0.4',
- 'version' => '3.0.4.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'e4782611070e50613683d2b9a57730e9a3ba5451',
- ),
- 'php-cs-fixer/diff' =>
- array (
- 'pretty_version' => 'v1.3.1',
- 'version' => '1.3.1.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'dbd31aeb251639ac0b9e7e29405c1441907f5759',
- ),
- 'php-ffmpeg/php-ffmpeg' =>
- array (
- 'pretty_version' => 'v0.16',
- 'version' => '0.16.0.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '4175c02b7d9f7e1a02cec2ba73474266ba2c5fa1',
- ),
- 'phpdocumentor/flyfinder' =>
- array (
- 'pretty_version' => '1.0.0',
- 'version' => '1.0.0.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '0443e747872cc4a4d8f4b830d16a0357c14df7a6',
- ),
- 'phpdocumentor/graphviz' =>
- array (
- 'pretty_version' => '2.0.0-beta2',
- 'version' => '2.0.0.0-beta2',
- 'aliases' =>
- array (
- ),
- 'reference' => '38cc160db6168943dc48697c99994a6c3ae7ffe3',
- ),
- 'phpdocumentor/phpdocumentor' =>
- array (
- 'pretty_version' => 'v3.0.0',
- 'version' => '3.0.0.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '405da431bdc7ca02512cb6aa15f4ed43ffca8175',
- ),
- 'phpdocumentor/reflection' =>
- array (
- 'pretty_version' => '4.0.1',
- 'version' => '4.0.1.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '447928a45710d6313e68774cf12b5f730b909baa',
- ),
- 'phpdocumentor/reflection-common' =>
- array (
- 'pretty_version' => '2.2.0',
- 'version' => '2.2.0.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '1d01c49d4ed62f25aa84a747ad35d5a16924662b',
- ),
- 'phpdocumentor/reflection-docblock' =>
- array (
- 'pretty_version' => '5.2.2',
- 'version' => '5.2.2.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '069a785b2141f5bcf49f3e353548dc1cce6df556',
- ),
- 'phpdocumentor/type-resolver' =>
- array (
- 'pretty_version' => '1.4.0',
- 'version' => '1.4.0.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '6a467b8989322d92aa1c8bf2bebcc6e5c2ba55c0',
- ),
- 'phpseclib/phpseclib' =>
- array (
- 'pretty_version' => 'dev-master',
- 'version' => 'dev-master',
- 'aliases' =>
- array (
- 0 => '9999999-dev',
- ),
- 'reference' => 'f815e43077da67d3dd5b4d18a45753f5b79c1ab9',
- ),
- 'phpspec/prophecy' =>
- array (
- 'pretty_version' => 'v1.10.3',
- 'version' => '1.10.3.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '451c3cd1418cf640de218914901e51b064abb093',
- ),
- 'phpunit/php-code-coverage' =>
- array (
- 'pretty_version' => '7.0.14',
- 'version' => '7.0.14.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'bb7c9a210c72e4709cdde67f8b7362f672f2225c',
- ),
- 'phpunit/php-file-iterator' =>
- array (
- 'pretty_version' => '2.0.3',
- 'version' => '2.0.3.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '4b49fb70f067272b659ef0174ff9ca40fdaa6357',
- ),
- 'phpunit/php-text-template' =>
- array (
- 'pretty_version' => '1.2.1',
- 'version' => '1.2.1.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '31f8b717e51d9a2afca6c9f046f5d69fc27c8686',
- ),
- 'phpunit/php-timer' =>
- array (
- 'pretty_version' => '2.1.3',
- 'version' => '2.1.3.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '2454ae1765516d20c4ffe103d85a58a9a3bd5662',
- ),
- 'phpunit/php-token-stream' =>
- array (
- 'pretty_version' => '4.0.4',
- 'version' => '4.0.4.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'a853a0e183b9db7eed023d7933a858fa1c8d25a3',
- ),
- 'phpunit/phpunit' =>
- array (
- 'pretty_version' => '8.5.14',
- 'version' => '8.5.14.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'c25f79895d27b6ecd5abfa63de1606b786a461a3',
- ),
- 'predis/predis' =>
- array (
- 'pretty_version' => 'v1.1.6',
- 'version' => '1.1.6.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '9930e933c67446962997b05201c69c2319bf26de',
- ),
- 'psr/cache' =>
- array (
- 'pretty_version' => '1.0.1',
- 'version' => '1.0.1.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'd11b50ad223250cf17b86e38383413f5a6764bf8',
- ),
- 'psr/cache-implementation' =>
- array (
- 'provided' =>
- array (
- 0 => '1.0',
- ),
- ),
- 'psr/container' =>
- array (
- 'pretty_version' => '1.0.0',
- 'version' => '1.0.0.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'b7ce3b176482dbbc1245ebf52b181af44c2cf55f',
- ),
- 'psr/container-implementation' =>
- array (
- 'provided' =>
- array (
- 0 => '1.0',
- ),
- ),
- 'psr/event-dispatcher' =>
- array (
- 'pretty_version' => '1.0.0',
- 'version' => '1.0.0.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'dbefd12671e8a14ec7f180cab83036ed26714bb0',
- ),
- 'psr/event-dispatcher-implementation' =>
- array (
- 'provided' =>
- array (
- 0 => '1.0',
- ),
- ),
- 'psr/http-message' =>
- array (
- 'pretty_version' => '1.0.1',
- 'version' => '1.0.1.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'f6561bf28d520154e4b0ec72be95418abe6d9363',
- ),
- 'psr/http-message-implementation' =>
- array (
- 'provided' =>
- array (
- 0 => '1.0',
- ),
- ),
- 'psr/log' =>
- array (
- 'pretty_version' => '1.1.3',
- 'version' => '1.1.3.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '0f73288fd15629204f9d42b7055f72dacbe811fc',
- ),
- 'psr/log-implementation' =>
- array (
- 'provided' =>
- array (
- 0 => '1.0.0',
- 1 => '1.0',
- ),
- ),
- 'psr/simple-cache-implementation' =>
- array (
- 'provided' =>
- array (
- 0 => '1.0',
- ),
- ),
- 'psy/psysh' =>
- array (
- 'pretty_version' => 'v0.9.12',
- 'version' => '0.9.12.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '90da7f37568aee36b116a030c5f99c915267edd4',
- ),
- 'ralouphie/getallheaders' =>
- array (
- 'pretty_version' => '3.0.3',
- 'version' => '3.0.3.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '120b605dfeb996808c31b6477290a714d356e822',
- ),
- 'scrivo/highlight.php' =>
- array (
- 'pretty_version' => 'v9.18.1.6',
- 'version' => '9.18.1.6',
- 'aliases' =>
- array (
- ),
- 'reference' => '44a3d4136edb5ad8551590bf90f437db80b2d466',
- ),
- 'sebastian/code-unit-reverse-lookup' =>
- array (
- 'pretty_version' => '1.0.2',
- 'version' => '1.0.2.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '1de8cd5c010cb153fcd68b8d0f64606f523f7619',
- ),
- 'sebastian/comparator' =>
- array (
- 'pretty_version' => '3.0.3',
- 'version' => '3.0.3.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '1071dfcef776a57013124ff35e1fc41ccd294758',
- ),
- 'sebastian/diff' =>
- array (
- 'pretty_version' => '3.0.3',
- 'version' => '3.0.3.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '14f72dd46eaf2f2293cbe79c93cc0bc43161a211',
- ),
- 'sebastian/environment' =>
- array (
- 'pretty_version' => '4.2.4',
- 'version' => '4.2.4.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'd47bbbad83711771f167c72d4e3f25f7fcc1f8b0',
- ),
- 'sebastian/exporter' =>
- array (
- 'pretty_version' => '3.1.3',
- 'version' => '3.1.3.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '6b853149eab67d4da22291d36f5b0631c0fd856e',
- ),
- 'sebastian/global-state' =>
- array (
- 'pretty_version' => '3.0.1',
- 'version' => '3.0.1.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '474fb9edb7ab891665d3bfc6317f42a0a150454b',
- ),
- 'sebastian/object-enumerator' =>
- array (
- 'pretty_version' => '3.0.4',
- 'version' => '3.0.4.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'e67f6d32ebd0c749cf9d1dbd9f226c727043cdf2',
- ),
- 'sebastian/object-reflector' =>
- array (
- 'pretty_version' => '1.1.2',
- 'version' => '1.1.2.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '9b8772b9cbd456ab45d4a598d2dd1a1bced6363d',
- ),
- 'sebastian/recursion-context' =>
- array (
- 'pretty_version' => '3.0.1',
- 'version' => '3.0.1.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '367dcba38d6e1977be014dc4b22f47a484dac7fb',
- ),
- 'sebastian/resource-operations' =>
- array (
- 'pretty_version' => '2.0.2',
- 'version' => '2.0.2.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '31d35ca87926450c44eae7e2611d45a7a65ea8b3',
- ),
- 'sebastian/type' =>
- array (
- 'pretty_version' => '1.1.4',
- 'version' => '1.1.4.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '0150cfbc4495ed2df3872fb31b26781e4e077eb4',
- ),
- 'sebastian/version' =>
- array (
- 'pretty_version' => '2.0.1',
- 'version' => '2.0.1.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '99732be0ddb3361e16ad77b68ba41efc8e979019',
- ),
- 'stomp-php/stomp-php' =>
- array (
- 'pretty_version' => '4.6.1',
- 'version' => '4.6.1.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'd55ba2b2c3ce0e3074b3aa15de1151fd13bb84e4',
- ),
- 'symfony/cache' =>
- array (
- 'pretty_version' => 'v5.2.2',
- 'version' => '5.2.2.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'd6aed6c1bbf6f59e521f46437475a0ff4878d388',
- ),
- 'symfony/cache-contracts' =>
- array (
- 'replaced' =>
- array (
- 0 => 'v2.3.1',
- ),
- ),
- 'symfony/cache-implementation' =>
- array (
- 'provided' =>
- array (
- 0 => '1.0',
- ),
- ),
- 'symfony/config' =>
- array (
- 'pretty_version' => 'v5.2.2',
- 'version' => '5.2.2.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '50e0e1314a3b2609d32b6a5a0d0fb5342494c4ab',
- ),
- 'symfony/console' =>
- array (
- 'pretty_version' => 'v5.2.2',
- 'version' => '5.2.2.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'd62ec79478b55036f65e2602e282822b8eaaff0a',
- ),
- 'symfony/contracts' =>
- array (
- 'pretty_version' => 'v2.3.1',
- 'version' => '2.3.1.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'f7783bdec14b06c323d30a5f74ba70a17ec0ce81',
- ),
- 'symfony/dependency-injection' =>
- array (
- 'pretty_version' => 'v5.2.2',
- 'version' => '5.2.2.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '62f72187be689540385dce6c68a5d4c16f034139',
- ),
- 'symfony/deprecation-contracts' =>
- array (
- 'replaced' =>
- array (
- 0 => 'v2.3.1',
- ),
- ),
- 'symfony/dom-crawler' =>
- array (
- 'pretty_version' => 'v5.1.11',
- 'version' => '5.1.11.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '5d89ceb53ec65e1973a555072fac8ed5ecad3384',
- ),
- 'symfony/dotenv' =>
- array (
- 'pretty_version' => 'v5.2.2',
- 'version' => '5.2.2.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '783f12027c6b40ab0e93d6136d9f642d1d67cd6b',
- ),
- 'symfony/error-handler' =>
- array (
- 'pretty_version' => 'v5.2.2',
- 'version' => '5.2.2.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '4fd4a377f7b7ec7c3f3b40346a1411e0a83f9d40',
- ),
- 'symfony/event-dispatcher' =>
- array (
- 'pretty_version' => 'v5.2.2',
- 'version' => '5.2.2.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '4f9760f8074978ad82e2ce854dff79a71fe45367',
- ),
- 'symfony/event-dispatcher-contracts' =>
- array (
- 'replaced' =>
- array (
- 0 => 'v2.3.1',
- ),
- ),
- 'symfony/event-dispatcher-implementation' =>
- array (
- 'provided' =>
- array (
- 0 => '2.0',
- ),
- ),
- 'symfony/expression-language' =>
- array (
- 'pretty_version' => 'v5.2.2',
- 'version' => '5.2.2.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '7bf30a4e29887110f8bd1882ccc82ee63c8a5133',
- ),
- 'symfony/filesystem' =>
- array (
- 'pretty_version' => 'v5.2.2',
- 'version' => '5.2.2.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '262d033b57c73e8b59cd6e68a45c528318b15038',
- ),
- 'symfony/finder' =>
- array (
- 'pretty_version' => 'v5.1.11',
- 'version' => '5.1.11.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '196f45723b5e618bf0e23b97e96d11652696ea9e',
- ),
- 'symfony/flex' =>
- array (
- 'pretty_version' => 'v1.11.0',
- 'version' => '1.11.0.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'ceb2b4e612bd0b4bb36a4d7fb2e800c861652f48',
- ),
- 'symfony/framework-bundle' =>
- array (
- 'pretty_version' => 'v5.2.2',
- 'version' => '5.2.2.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'ff455b2afd3f98237d4131ffebe190e59cc0f011',
- ),
- 'symfony/http-client-contracts' =>
- array (
- 'replaced' =>
- array (
- 0 => 'v2.3.1',
- ),
- ),
- 'symfony/http-foundation' =>
- array (
- 'pretty_version' => 'v5.2.2',
- 'version' => '5.2.2.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '16dfa5acf8103f0394d447f8eea3ea49f9e50855',
- ),
- 'symfony/http-kernel' =>
- array (
- 'pretty_version' => 'v5.2.2',
- 'version' => '5.2.2.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '831b51e9370ece0febd0950dd819c63f996721c7',
- ),
- 'symfony/monolog-bridge' =>
- array (
- 'pretty_version' => 'v5.2.2',
- 'version' => '5.2.2.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'aca99c4135001224b917eed17cc846e8c0ba981c',
- ),
- 'symfony/monolog-bundle' =>
- array (
- 'pretty_version' => 'v3.6.0',
- 'version' => '3.6.0.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'e495f5c7e4e672ffef4357d4a4d85f010802f940',
- ),
- 'symfony/options-resolver' =>
- array (
- 'pretty_version' => 'v5.2.2',
- 'version' => '5.2.2.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '5d0f633f9bbfcf7ec642a2b5037268e61b0a62ce',
- ),
- 'symfony/polyfill-ctype' =>
- array (
- 'pretty_version' => 'v1.22.0',
- 'version' => '1.22.0.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'c6c942b1ac76c82448322025e084cadc56048b4e',
- ),
- 'symfony/polyfill-iconv' =>
- array (
- 'replaced' =>
- array (
- 0 => '*',
- ),
- ),
- 'symfony/polyfill-intl-grapheme' =>
- array (
- 'pretty_version' => 'v1.22.0',
- 'version' => '1.22.0.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '267a9adeb8ecb8071040a740930e077cdfb987af',
- ),
- 'symfony/polyfill-intl-normalizer' =>
- array (
- 'pretty_version' => 'v1.22.0',
- 'version' => '1.22.0.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '6e971c891537eb617a00bb07a43d182a6915faba',
- ),
- 'symfony/polyfill-mbstring' =>
- array (
- 'pretty_version' => 'v1.22.0',
- 'version' => '1.22.0.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'f377a3dd1fde44d37b9831d68dc8dea3ffd28e13',
- ),
- 'symfony/polyfill-php56' =>
- array (
- 'replaced' =>
- array (
- 0 => '*',
- ),
- ),
- 'symfony/polyfill-php70' =>
- array (
- 'replaced' =>
- array (
- 0 => '*',
- ),
- ),
- 'symfony/polyfill-php71' =>
- array (
- 'replaced' =>
- array (
- 0 => '*',
- ),
- ),
- 'symfony/polyfill-php72' =>
- array (
- 'replaced' =>
- array (
- 0 => '*',
- ),
- ),
- 'symfony/polyfill-php73' =>
- array (
- 'pretty_version' => 'v1.22.0',
- 'version' => '1.22.0.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'a678b42e92f86eca04b7fa4c0f6f19d097fb69e2',
- ),
- 'symfony/polyfill-php80' =>
- array (
- 'pretty_version' => 'v1.22.0',
- 'version' => '1.22.0.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'dc3063ba22c2a1fd2f45ed856374d79114998f91',
- ),
- 'symfony/process' =>
- array (
- 'pretty_version' => 'v5.1.11',
- 'version' => '5.1.11.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'd279ae7f2d6e0e4e45f66de7d76006246ae00e4d',
- ),
- 'symfony/proxy-manager-bridge' =>
- array (
- 'pretty_version' => 'v5.2.2',
- 'version' => '5.2.2.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'fd6bb40190b1719abbe831be09adf38e0744d5f5',
- ),
- 'symfony/routing' =>
- array (
- 'pretty_version' => 'v5.2.2',
- 'version' => '5.2.2.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '348b5917e56546c6d96adbf21d7f92c9ef563661',
- ),
- 'symfony/service-contracts' =>
- array (
- 'replaced' =>
- array (
- 0 => 'v2.3.1',
- ),
- ),
- 'symfony/service-implementation' =>
- array (
- 'provided' =>
- array (
- 0 => '1.0',
- ),
- ),
- 'symfony/stopwatch' =>
- array (
- 'pretty_version' => 'v5.2.2',
- 'version' => '5.2.2.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'b12274acfab9d9850c52583d136a24398cdf1a0c',
- ),
- 'symfony/string' =>
- array (
- 'pretty_version' => 'v5.1.11',
- 'version' => '5.1.11.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '83bbb92d34881744b8021452a76532b28283dbfb',
- ),
- 'symfony/translation-contracts' =>
- array (
- 'replaced' =>
- array (
- 0 => 'v2.3.1',
- ),
- ),
- 'symfony/var-dumper' =>
- array (
- 'pretty_version' => 'v5.2.2',
- 'version' => '5.2.2.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '72ca213014a92223a5d18651ce79ef441c12b694',
- ),
- 'symfony/var-exporter' =>
- array (
- 'pretty_version' => 'v5.2.2',
- 'version' => '5.2.2.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '5aed4875ab514c8cb9b6ff4772baa25fa4c10307',
- ),
- 'symfony/yaml' =>
- array (
- 'pretty_version' => 'v5.2.2',
- 'version' => '5.2.2.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '6bb8b36c6dea8100268512bf46e858c8eb5c545e',
- ),
- 'theseer/tokenizer' =>
- array (
- 'pretty_version' => '1.2.0',
- 'version' => '1.2.0.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '75a63c33a8577608444246075ea0af0d052e452a',
- ),
- 'twig/twig' =>
- array (
- 'pretty_version' => 'v2.14.3',
- 'version' => '2.14.3.0',
- 'aliases' =>
- array (
- ),
- 'reference' => '8bc568d460d88b25c00c046256ec14a787ea60d9',
- ),
- 'webmozart/assert' =>
- array (
- 'pretty_version' => '1.9.1',
- 'version' => '1.9.1.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'bafc69caeb4d49c39fd0779086c03a3738cbb389',
- ),
- 'zendframework/zend-code' =>
- array (
- 'replaced' =>
- array (
- 0 => '4.0.0',
- ),
- ),
- 'zendframework/zend-eventmanager' =>
- array (
- 'replaced' =>
- array (
- 0 => '^3.2.1',
- ),
- ),
- ),
- );
- private static $canGetVendors;
- private static $installedByVendor = array();
- public static function getInstalledPackages()
- {
- $packages = array();
- foreach (self::getInstalled() as $installed) {
- $packages[] = array_keys($installed['versions']);
- }
- if (1 === \count($packages)) {
- return $packages[0];
- }
- return array_keys(array_flip(\call_user_func_array('array_merge', $packages)));
- }
- public static function isInstalled($packageName)
- {
- foreach (self::getInstalled() as $installed) {
- if (isset($installed['versions'][$packageName])) {
- return true;
- }
- }
- return false;
- }
- public static function satisfies(VersionParser $parser, $packageName, $constraint)
- {
- $constraint = $parser->parseConstraints($constraint);
- $provided = $parser->parseConstraints(self::getVersionRanges($packageName));
- return $provided->matches($constraint);
- }
- public static function getVersionRanges($packageName)
- {
- foreach (self::getInstalled() as $installed) {
- if (!isset($installed['versions'][$packageName])) {
- continue;
- }
- $ranges = array();
- if (isset($installed['versions'][$packageName]['pretty_version'])) {
- $ranges[] = $installed['versions'][$packageName]['pretty_version'];
- }
- if (array_key_exists('aliases', $installed['versions'][$packageName])) {
- $ranges = array_merge($ranges, $installed['versions'][$packageName]['aliases']);
- }
- if (array_key_exists('replaced', $installed['versions'][$packageName])) {
- $ranges = array_merge($ranges, $installed['versions'][$packageName]['replaced']);
- }
- if (array_key_exists('provided', $installed['versions'][$packageName])) {
- $ranges = array_merge($ranges, $installed['versions'][$packageName]['provided']);
- }
- return implode(' || ', $ranges);
- }
- throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
- }
- public static function getVersion($packageName)
- {
- foreach (self::getInstalled() as $installed) {
- if (!isset($installed['versions'][$packageName])) {
- continue;
- }
- if (!isset($installed['versions'][$packageName]['version'])) {
- return null;
- }
- return $installed['versions'][$packageName]['version'];
- }
- throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
- }
- public static function getPrettyVersion($packageName)
- {
- foreach (self::getInstalled() as $installed) {
- if (!isset($installed['versions'][$packageName])) {
- continue;
- }
- if (!isset($installed['versions'][$packageName]['pretty_version'])) {
- return null;
- }
- return $installed['versions'][$packageName]['pretty_version'];
- }
- throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
- }
- public static function getReference($packageName)
- {
- foreach (self::getInstalled() as $installed) {
- if (!isset($installed['versions'][$packageName])) {
- continue;
- }
- if (!isset($installed['versions'][$packageName]['reference'])) {
- return null;
- }
- return $installed['versions'][$packageName]['reference'];
- }
- throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
- }
- public static function getRootPackage()
- {
- $installed = self::getInstalled();
- return $installed[0]['root'];
- }
- public static function getRawData()
- {
- return self::$installed;
- }
- public static function reload($data)
- {
- self::$installed = $data;
- self::$installedByVendor = array();
- }
- private static function getInstalled()
- {
- if (null === self::$canGetVendors) {
- self::$canGetVendors = method_exists('Composer\Autoload\ClassLoader', 'getRegisteredLoaders');
- }
- $installed = array();
- if (self::$canGetVendors) {
- foreach (ClassLoader::getRegisteredLoaders() as $vendorDir => $loader) {
- if (isset(self::$installedByVendor[$vendorDir])) {
- $installed[] = self::$installedByVendor[$vendorDir];
- } elseif (is_file($vendorDir.'/composer/installed.php')) {
- $installed[] = self::$installedByVendor[$vendorDir] = require $vendorDir.'/composer/installed.php';
- }
- }
- }
- $installed[] = self::$installed;
- return $installed;
- }
- }
|