<?php
namespace Composer;
use Composer\Semver\VersionParser;
class InstalledVersions
{
private static $installed = array (
'root' =>
array (
'pretty_version' => 'dev-master',
'version' => 'dev-master',
'aliases' =>
array (
),
'reference' => '07e5b8295ea9d342f66d8119d88bd58124b548e6',
'name' => 'zotlabs/hubzilla',
),
'versions' =>
array (
'behat/behat' =>
array (
'pretty_version' => 'v3.8.1',
'version' => '3.8.1.0',
'aliases' =>
array (
),
'reference' => 'fbb065457d523d9856d4b50775b4151a7598b510',
),
'behat/gherkin' =>
array (
'pretty_version' => 'v4.6.2',
'version' => '4.6.2.0',
'aliases' =>
array (
),
'reference' => '51ac4500c4dc30cbaaabcd2f25694299df666a31',
),
'behat/mink' =>
array (
'pretty_version' => 'v1.8.1',
'version' => '1.8.1.0',
'aliases' =>
array (
),
'reference' => '07c6a9fe3fa98c2de074b25d9ed26c22904e3887',
),
'behat/mink-browserkit-driver' =>
array (
'pretty_version' => 'v1.3.4',
'version' => '1.3.4.0',
'aliases' =>
array (
),
'reference' => 'e3b90840022ebcd544c7b394a3c9597ae242cbee',
),
'behat/mink-extension' =>
array (
'pretty_version' => '2.3.1',
'version' => '2.3.1.0',
'aliases' =>
array (
),
'reference' => '80f7849ba53867181b7e412df9210e12fba50177',
),
'behat/mink-goutte-driver' =>
array (
'pretty_version' => 'v1.2.1',
'version' => '1.2.1.0',
'aliases' =>
array (
),
'reference' => '8b9ad6d2d95bc70b840d15323365f52fcdaea6ca',
),
'behat/transliterator' =>
array (
'pretty_version' => 'v1.3.0',
'version' => '1.3.0.0',
'aliases' =>
array (
),
'reference' => '3c4ec1d77c3d05caa1f0bf8fb3aae4845005c7fc',
),
'blueimp/jquery-file-upload' =>
array (
'pretty_version' => 'v10.31.0',
'version' => '10.31.0.0',
'aliases' =>
array (
),
'reference' => '0740f81829698b84efe17e72501e0f420ea0d611',
),
'brick/math' =>
array (
'pretty_version' => '0.9.1',
'version' => '0.9.1.0',
'aliases' =>
array (
),
'reference' => '283a40c901101e66de7061bd359252c013dcc43c',
),
'bshaffer/oauth2-server-php' =>
array (
'pretty_version' => 'v1.11.1',
'version' => '1.11.1.0',
'aliases' =>
array (
),
'reference' => '5a0c8000d4763b276919e2106f54eddda6bc50fa',
),
'commerceguys/intl' =>
array (
'pretty_version' => 'v1.0.7',
'version' => '1.0.7.0',
'aliases' =>
array (
),
'reference' => '0bf0beb12e37ef1a61e0d09dc66cdaa1a23e62e1',
),
'composer/xdebug-handler' =>
array (
'pretty_version' => '1.4.5',
'version' => '1.4.5.0',
'aliases' =>
array (
),
'reference' => 'f28d44c286812c714741478d968104c5e604a1d4',
),
'desandro/imagesloaded' =>
array (
'pretty_version' => 'v4.1.4',
'version' => '4.1.4.0',
'aliases' =>
array (
),
'reference' => '67c4e57453120935180c45c6820e7d3fbd2ea1f9',
),
'dms/phpunit-arraysubset-asserts' =>
array (
'pretty_version' => 'v0.2.1',
'version' => '0.2.1.0',
'aliases' =>
array (
),
'reference' => '8e3673a70019a60df484e36fc3271d63cbdc40ea',
),
'doctrine/instantiator' =>
array (
'pretty_version' => '1.4.0',
'version' => '1.4.0.0',
'aliases' =>
array (
),
'reference' => 'd56bf6102915de5702778fe20f2de3b2fe570b5b',
),
'ezyang/htmlpurifier' =>
array (
'pretty_version' => 'v4.13.0',
'version' => '4.13.0.0',
'aliases' =>
array (
),
'reference' => '08e27c97e4c6ed02f37c5b2b20488046c8d90d75',
),
'fabpot/goutte' =>
array (
'pretty_version' => 'v3.3.1',
'version' => '3.3.1.0',
'aliases' =>
array (
),
'reference' => '80a23b64f44d54dd571d114c473d9d7e9ed84ca5',
),
'guzzlehttp/guzzle' =>
array (
'pretty_version' => '6.5.5',
'version' => '6.5.5.0',
'aliases' =>
array (
),
'reference' => '9d4290de1cfd701f38099ef7e183b64b4b7b0c5e',
),
'guzzlehttp/promises' =>
array (
'pretty_version' => '1.4.0',
'version' => '1.4.0.0',
'aliases' =>
array (
),
'reference' => '60d379c243457e073cff02bc323a2a86cb355631',
),
'guzzlehttp/psr7' =>
array (
'pretty_version' => '1.7.0',
'version' => '1.7.0.0',
'aliases' =>
array (
),
'reference' => '53330f47520498c0ae1f61f7e2c90f55690c06a3',
),
'league/html-to-markdown' =>
array (
'pretty_version' => '4.10.0',
'version' => '4.10.0.0',
'aliases' =>
array (
),
'reference' => '0868ae7a552e809e5cd8f93ba022071640408e88',
),
'lukasreschke/id3parser' =>
array (
'pretty_version' => 'v0.0.3',
'version' => '0.0.3.0',
'aliases' =>
array (
),
'reference' => '62f4de76d4eaa9ea13c66dacc1f22977dace6638',
),
'malkusch/php-mock' =>
array (
'replaced' =>
array (
0 => '*',
),
),
'michelf/php-markdown' =>
array (
'pretty_version' => '1.9.0',
'version' => '1.9.0.0',
'aliases' =>
array (
),
'reference' => 'c83178d49e372ca967d1a8c77ae4e051b3a3c75c',
),
'myclabs/deep-copy' =>
array (
'pretty_version' => '1.10.2',
'version' => '1.10.2.0',
'aliases' =>
array (
),
'reference' => '776f831124e9c62e1a2c601ecc52e776d8bb7220',
'replaced' =>
array (
0 => '1.10.2',
),
),
'nikic/php-parser' =>
array (
'pretty_version' => 'v4.10.2',
'version' => '4.10.2.0',
'aliases' =>
array (
),
'reference' => '658f1be311a230e0907f5dfe0213742aff0596de',
),
'pdepend/pdepend' =>
array (
'pretty_version' => '2.8.0',
'version' => '2.8.0.0',
'aliases' =>
array (
),
'reference' => 'c64472f8e76ca858c79ad9a4cf1e2734b3f8cc38',
),
'pear/text_languagedetect' =>
array (
'pretty_version' => 'v1.0.1',
'version' => '1.0.1.0',
'aliases' =>
array (
),
'reference' => '9e253f26cef9a9066f53f200cc3e0684018cb5b5',
),
'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.2',
'version' => '3.0.2.0',
'aliases' =>
array (
),
'reference' => 'c6bb6825def89e0a32220f88337f8ceaf1975fa0',
),
'php-mock/php-mock' =>
array (
'pretty_version' => '2.2.2',
'version' => '2.2.2.0',
'aliases' =>
array (
),
'reference' => '890d3e32e3a5f29715a8fd17debd87a0c9e614a0',
),
'php-mock/php-mock-integration' =>
array (
'pretty_version' => '2.1.0',
'version' => '2.1.0.0',
'aliases' =>
array (
),
'reference' => '003d585841e435958a02e9b986953907b8b7609b',
),
'php-mock/php-mock-phpunit' =>
array (
'pretty_version' => '2.6.0',
'version' => '2.6.0.0',
'aliases' =>
array (
),
'reference' => '2877a0e58f12e91b64bf36ccd080a209dcbf6c30',
),
'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',
),
'phpmd/phpmd' =>
array (
'pretty_version' => '2.9.1',
'version' => '2.9.1.0',
'aliases' =>
array (
),
'reference' => 'ce10831d4ddc2686c1348a98069771dd314534a8',
),
'phpspec/prophecy' =>
array (
'pretty_version' => '1.12.1',
'version' => '1.12.1.0',
'aliases' =>
array (
),
'reference' => '8ce87516be71aae9b956f81906aaf0338e0d8a2d',
),
'phpunit/php-code-coverage' =>
array (
'pretty_version' => '9.2.4',
'version' => '9.2.4.0',
'aliases' =>
array (
),
'reference' => '0a7f0acf9269c190fd982b5c04423feae986b6e0',
),
'phpunit/php-file-iterator' =>
array (
'pretty_version' => '3.0.5',
'version' => '3.0.5.0',
'aliases' =>
array (
),
'reference' => 'aa4be8575f26070b100fccb67faabb28f21f66f8',
),
'phpunit/php-invoker' =>
array (
'pretty_version' => '3.1.1',
'version' => '3.1.1.0',
'aliases' =>
array (
),
'reference' => '5a10147d0aaf65b58940a0b72f71c9ac0423cc67',
),
'phpunit/php-text-template' =>
array (
'pretty_version' => '2.0.4',
'version' => '2.0.4.0',
'aliases' =>
array (
),
'reference' => '5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28',
),
'phpunit/php-timer' =>
array (
'pretty_version' => '5.0.3',
'version' => '5.0.3.0',
'aliases' =>
array (
),
'reference' => '5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2',
),
'phpunit/phpunit' =>
array (
'pretty_version' => '9.4.3',
'version' => '9.4.3.0',
'aliases' =>
array (
),
'reference' => '9fa359ff5ddaa5eb2be2bedb08a6a5787a5807ab',
),
'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',
),
),
'ralouphie/getallheaders' =>
array (
'pretty_version' => '3.0.3',
'version' => '3.0.3.0',
'aliases' =>
array (
),
'reference' => '120b605dfeb996808c31b6477290a714d356e822',
),
'ramsey/collection' =>
array (
'pretty_version' => '1.1.1',
'version' => '1.1.1.0',
'aliases' =>
array (
),
'reference' => '24d93aefb2cd786b7edd9f45b554aea20b28b9b1',
),
'ramsey/uuid' =>
array (
'pretty_version' => '4.1.1',
'version' => '4.1.1.0',
'aliases' =>
array (
),
'reference' => 'cd4032040a750077205918c86049aa0f43d22947',
),
'rhumsaa/uuid' =>
array (
'replaced' =>
array (
0 => '4.1.1',
),
),
'sabre/dav' =>
array (
'pretty_version' => '4.1.3',
'version' => '4.1.3.0',
'aliases' =>
array (
),
'reference' => 'b903eeedfbdcd6cab7935661ec6dc2d90cdf8a1e',
),
'sabre/event' =>
array (
'pretty_version' => '5.1.2',
'version' => '5.1.2.0',
'aliases' =>
array (
),
'reference' => 'c120bec57c17b6251a496efc82b732418b49d50a',
),
'sabre/http' =>
array (
'pretty_version' => '5.1.1',
'version' => '5.1.1.0',
'aliases' =>
array (
),
'reference' => 'd0aafede6961df6195ce7a8dad49296b0aaee22e',
),
'sabre/uri' =>
array (
'pretty_version' => '2.2.1',
'version' => '2.2.1.0',
'aliases' =>
array (
),
'reference' => 'f502edffafea8d746825bd5f0b923a60fd2715ff',
),
'sabre/vobject' =>
array (
'pretty_version' => '4.3.3',
'version' => '4.3.3.0',
'aliases' =>
array (
),
'reference' => '58f9f9b46a1080c0130bd86f4df9a568aacb9c79',
),
'sabre/xml' =>
array (
'pretty_version' => '2.2.3',
'version' => '2.2.3.0',
'aliases' =>
array (
),
'reference' => 'c3b959f821c19b36952ec4a595edd695c216bfc6',
),
'sebastian/cli-parser' =>
array (
'pretty_version' => '1.0.1',
'version' => '1.0.1.0',
'aliases' =>
array (
),
'reference' => '442e7c7e687e42adc03470c7b668bc4b2402c0b2',
),
'sebastian/code-unit' =>
array (
'pretty_version' => '1.0.8',
'version' => '1.0.8.0',
'aliases' =>
array (
),
'reference' => '1fc9f64c0927627ef78ba436c9b17d967e68e120',
),
'sebastian/code-unit-reverse-lookup' =>
array (
'pretty_version' => '2.0.3',
'version' => '2.0.3.0',
'aliases' =>
array (
),
'reference' => 'ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5',
),
'sebastian/comparator' =>
array (
'pretty_version' => '4.0.6',
'version' => '4.0.6.0',
'aliases' =>
array (
),
'reference' => '55f4261989e546dc112258c7a75935a81a7ce382',
),
'sebastian/complexity' =>
array (
'pretty_version' => '2.0.2',
'version' => '2.0.2.0',
'aliases' =>
array (
),
'reference' => '739b35e53379900cc9ac327b2147867b8b6efd88',
),
'sebastian/diff' =>
array (
'pretty_version' => '4.0.4',
'version' => '4.0.4.0',
'aliases' =>
array (
),
'reference' => '3461e3fccc7cfdfc2720be910d3bd73c69be590d',
),
'sebastian/environment' =>
array (
'pretty_version' => '5.1.3',
'version' => '5.1.3.0',
'aliases' =>
array (
),
'reference' => '388b6ced16caa751030f6a69e588299fa09200ac',
),
'sebastian/exporter' =>
array (
'pretty_version' => '4.0.3',
'version' => '4.0.3.0',
'aliases' =>
array (
),
'reference' => 'd89cc98761b8cb5a1a235a6b703ae50d34080e65',
),
'sebastian/global-state' =>
array (
'pretty_version' => '5.0.2',
'version' => '5.0.2.0',
'aliases' =>
array (
),
'reference' => 'a90ccbddffa067b51f574dea6eb25d5680839455',
),
'sebastian/lines-of-code' =>
array (
'pretty_version' => '1.0.2',
'version' => '1.0.2.0',
'aliases' =>
array (
),
'reference' => 'acf76492a65401babcf5283296fa510782783a7a',
),
'sebastian/object-enumerator' =>
array (
'pretty_version' => '4.0.4',
'version' => '4.0.4.0',
'aliases' =>
array (
),
'reference' => '5c9eeac41b290a3712d88851518825ad78f45c71',
),
'sebastian/object-reflector' =>
array (
'pretty_version' => '2.0.4',
'version' => '2.0.4.0',
'aliases' =>
array (
),
'reference' => 'b4f479ebdbf63ac605d183ece17d8d7fe49c15c7',
),
'sebastian/recursion-context' =>
array (
'pretty_version' => '4.0.4',
'version' => '4.0.4.0',
'aliases' =>
array (
),
'reference' => 'cd9d8cf3c5804de4341c283ed787f099f5506172',
),
'sebastian/resource-operations' =>
array (
'pretty_version' => '3.0.3',
'version' => '3.0.3.0',
'aliases' =>
array (
),
'reference' => '0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8',
),
'sebastian/type' =>
array (
'pretty_version' => '2.3.1',
'version' => '2.3.1.0',
'aliases' =>
array (
),
'reference' => '81cd61ab7bbf2de744aba0ea61fae32f721df3d2',
),
'sebastian/version' =>
array (
'pretty_version' => '3.0.2',
'version' => '3.0.2.0',
'aliases' =>
array (
),
'reference' => 'c6c1022351a901512170118436c764e473f6de8c',
),
'simplepie/simplepie' =>
array (
'pretty_version' => '1.5.6',
'version' => '1.5.6.0',
'aliases' =>
array (
),
'reference' => '1c68e14ca3ac84346b6e6fe3c5eedf725d0f92c6',
),
'smarty/smarty' =>
array (
'pretty_version' => 'v3.1.36',
'version' => '3.1.36.0',
'aliases' =>
array (
),
'reference' => 'fd148f7ade295014fff77f89ee3d5b20d9d55451',
),
'squizlabs/php_codesniffer' =>
array (
'pretty_version' => '3.5.8',
'version' => '3.5.8.0',
'aliases' =>
array (
),
'reference' => '9d583721a7157ee997f235f327de038e7ea6dac4',
),
'symfony/browser-kit' =>
array (
'pretty_version' => 'v4.4.16',
'version' => '4.4.16.0',
'aliases' =>
array (
),
'reference' => '99b640fd5d06877e3242ba0393b40a7877dfe534',
),
'symfony/config' =>
array (
'pretty_version' => 'v4.4.16',
'version' => '4.4.16.0',
'aliases' =>
array (
),
'reference' => 'e85481cf359a7b28a44ac91f7d83441b70d76192',
),
'symfony/console' =>
array (
'pretty_version' => 'v5.1.8',
'version' => '5.1.8.0',
'aliases' =>
array (
),
'reference' => 'e0b2c29c0fa6a69089209bbe8fcff4df2a313d0e',
),
'symfony/css-selector' =>
array (
'pretty_version' => 'v5.1.8',
'version' => '5.1.8.0',
'aliases' =>
array (
),
'reference' => '6cbebda22ffc0d4bb8fea0c1311c2ca54c4c8fa0',
),
'symfony/dependency-injection' =>
array (
'pretty_version' => 'v4.4.16',
'version' => '4.4.16.0',
'aliases' =>
array (
),
'reference' => '4c41ad68924fd8f9e55e1cd77fd6bc28daa3fe89',
),
'symfony/deprecation-contracts' =>
array (
'pretty_version' => 'v2.2.0',
'version' => '2.2.0.0',
'aliases' =>
array (
),
'reference' => '5fa56b4074d1ae755beb55617ddafe6f5d78f665',
),
'symfony/dom-crawler' =>
array (
'pretty_version' => 'v4.4.16',
'version' => '4.4.16.0',
'aliases' =>
array (
),
'reference' => '30ad9ac96a01913195bf0328d48e29d54fa53e6e',
),
'symfony/event-dispatcher' =>
array (
'pretty_version' => 'v5.1.8',
'version' => '5.1.8.0',
'aliases' =>
array (
),
'reference' => '26f4edae48c913fc183a3da0553fe63bdfbd361a',
),
'symfony/event-dispatcher-contracts' =>
array (
'pretty_version' => 'v2.2.0',
'version' => '2.2.0.0',
'aliases' =>
array (
),
'reference' => '0ba7d54483095a198fa51781bc608d17e84dffa2',
),
'symfony/event-dispatcher-implementation' =>
array (
'provided' =>
array (
0 => '2.0',
),
),
'symfony/filesystem' =>
array (
'pretty_version' => 'v5.1.8',
'version' => '5.1.8.0',
'aliases' =>
array (
),
'reference' => 'df08650ea7aee2d925380069c131a66124d79177',
),
'symfony/polyfill-ctype' =>
array (
'pretty_version' => 'v1.20.0',
'version' => '1.20.0.0',
'aliases' =>
array (
),
'reference' => 'f4ba089a5b6366e453971d3aad5fe8e897b37f41',
),
'symfony/polyfill-intl-grapheme' =>
array (
'pretty_version' => 'v1.20.0',
'version' => '1.20.0.0',
'aliases' =>
array (
),
'reference' => 'c7cf3f858ec7d70b89559d6e6eb1f7c2517d479c',
),
'symfony/polyfill-intl-idn' =>
array (
'pretty_version' => 'v1.20.0',
'version' => '1.20.0.0',
'aliases' =>
array (
),
'reference' => '3b75acd829741c768bc8b1f84eb33265e7cc5117',
),
'symfony/polyfill-intl-normalizer' =>
array (
'pretty_version' => 'v1.20.0',
'version' => '1.20.0.0',
'aliases' =>
array (
),
'reference' => '727d1096295d807c309fb01a851577302394c897',
),
'symfony/polyfill-mbstring' =>
array (
'pretty_version' => 'v1.20.0',
'version' => '1.20.0.0',
'aliases' =>
array (
),
'reference' => '39d483bdf39be819deabf04ec872eb0b2410b531',
),
'symfony/polyfill-php72' =>
array (
'pretty_version' => 'v1.20.0',
'version' => '1.20.0.0',
'aliases' =>
array (
),
'reference' => 'cede45fcdfabdd6043b3592e83678e42ec69e930',
),
'symfony/polyfill-php73' =>
array (
'pretty_version' => 'v1.20.0',
'version' => '1.20.0.0',
'aliases' =>
array (
),
'reference' => '8ff431c517be11c78c48a39a66d37431e26a6bed',
),
'symfony/polyfill-php80' =>
array (
'pretty_version' => 'v1.20.0',
'version' => '1.20.0.0',
'aliases' =>
array (
),
'reference' => 'e70aa8b064c5b72d3df2abd5ab1e90464ad009de',
),
'symfony/service-contracts' =>
array (
'pretty_version' => 'v2.2.0',
'version' => '2.2.0.0',
'aliases' =>
array (
),
'reference' => 'd15da7ba4957ffb8f1747218be9e1a121fd298a1',
),
'symfony/service-implementation' =>
array (
'provided' =>
array (
0 => '1.0',
),
),
'symfony/string' =>
array (
'pretty_version' => 'v5.1.8',
'version' => '5.1.8.0',
'aliases' =>
array (
),
'reference' => 'a97573e960303db71be0dd8fda9be3bca5e0feea',
),
'symfony/translation' =>
array (
'pretty_version' => 'v4.4.16',
'version' => '4.4.16.0',
'aliases' =>
array (
),
'reference' => '73095716af79f610f3b6338b911357393fdd10ab',
),
'symfony/translation-contracts' =>
array (
'pretty_version' => 'v2.3.0',
'version' => '2.3.0.0',
'aliases' =>
array (
),
'reference' => 'e2eaa60b558f26a4b0354e1bbb25636efaaad105',
),
'symfony/translation-implementation' =>
array (
'provided' =>
array (
0 => '1.0',
),
),
'symfony/yaml' =>
array (
'pretty_version' => 'v5.1.8',
'version' => '5.1.8.0',
'aliases' =>
array (
),
'reference' => 'f284e032c3cefefb9943792132251b79a6127ca6',
),
'theseer/tokenizer' =>
array (
'pretty_version' => '1.2.0',
'version' => '1.2.0.0',
'aliases' =>
array (
),
'reference' => '75a63c33a8577608444246075ea0af0d052e452a',
),
'twbs/bootstrap' =>
array (
'pretty_version' => 'v4.5.3',
'version' => '4.5.3.0',
'aliases' =>
array (
),
'reference' => 'a716fb03f965dc0846df479e14388b1b4b93d7ce',
),
'twitter/bootstrap' =>
array (
'replaced' =>
array (
0 => 'v4.5.3',
),
),
'webmozart/assert' =>
array (
'pretty_version' => '1.9.1',
'version' => '1.9.1.0',
'aliases' =>
array (
),
'reference' => 'bafc69caeb4d49c39fd0779086c03a3738cbb389',
),
'zotlabs/hubzilla' =>
array (
'pretty_version' => 'dev-master',
'version' => 'dev-master',
'aliases' =>
array (
),
'reference' => '07e5b8295ea9d342f66d8119d88bd58124b548e6',
),
),
);
public static function getInstalledPackages()
{
return array_keys(self::$installed['versions']);
}
public static function isInstalled($packageName)
{
return isset(self::$installed['versions'][$packageName]);
}
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)
{
if (!isset(self::$installed['versions'][$packageName])) {
throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
}
$ranges = array();
if (isset(self::$installed['versions'][$packageName]['pretty_version'])) {
$ranges[] = self::$installed['versions'][$packageName]['pretty_version'];
}
if (array_key_exists('aliases', self::$installed['versions'][$packageName])) {
$ranges = array_merge($ranges, self::$installed['versions'][$packageName]['aliases']);
}
if (array_key_exists('replaced', self::$installed['versions'][$packageName])) {
$ranges = array_merge($ranges, self::$installed['versions'][$packageName]['replaced']);
}
if (array_key_exists('provided', self::$installed['versions'][$packageName])) {
$ranges = array_merge($ranges, self::$installed['versions'][$packageName]['provided']);
}
return implode(' || ', $ranges);
}
public static function getVersion($packageName)
{
if (!isset(self::$installed['versions'][$packageName])) {
throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
}
if (!isset(self::$installed['versions'][$packageName]['version'])) {
return null;
}
return self::$installed['versions'][$packageName]['version'];
}
public static function getPrettyVersion($packageName)
{
if (!isset(self::$installed['versions'][$packageName])) {
throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
}
if (!isset(self::$installed['versions'][$packageName]['pretty_version'])) {
return null;
}
return self::$installed['versions'][$packageName]['pretty_version'];
}
public static function getReference($packageName)
{
if (!isset(self::$installed['versions'][$packageName])) {
throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
}
if (!isset(self::$installed['versions'][$packageName]['reference'])) {
return null;
}
return self::$installed['versions'][$packageName]['reference'];
}
public static function getRootPackage()
{
return self::$installed['root'];
}
public static function getRawData()
{
return self::$installed;
}
public static function reload($data)
{
self::$installed = $data;
}
}