InstalledVersions.php 35 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609
  1. <?php
  2. namespace Composer;
  3. use Composer\Autoload\ClassLoader;
  4. use Composer\Semver\VersionParser;
  5. class InstalledVersions
  6. {
  7. private static $installed = array (
  8. 'root' =>
  9. array (
  10. 'pretty_version' => '2.x-dev',
  11. 'version' => '2.9999999.9999999.9999999-dev',
  12. 'aliases' =>
  13. array (
  14. ),
  15. 'reference' => '7a3a8ec2e64e6c9b309e56d5ed067f9d97b344f5',
  16. 'name' => 'gnusocial/gnusocial',
  17. ),
  18. 'versions' =>
  19. array (
  20. 'alchemy/binary-driver' =>
  21. array (
  22. 'pretty_version' => 'v5.2.0',
  23. 'version' => '5.2.0.0',
  24. 'aliases' =>
  25. array (
  26. ),
  27. 'reference' => 'e0615cdff315e6b4b05ada67906df6262a020d22',
  28. ),
  29. 'apereo/phpcas' =>
  30. array (
  31. 'pretty_version' => '1.3.8',
  32. 'version' => '1.3.8.0',
  33. 'aliases' =>
  34. array (
  35. ),
  36. 'reference' => '40c0769ce05a30c8172b36ceab11124375c8366e',
  37. ),
  38. 'composer/ca-bundle' =>
  39. array (
  40. 'pretty_version' => '1.2.9',
  41. 'version' => '1.2.9.0',
  42. 'aliases' =>
  43. array (
  44. ),
  45. 'reference' => '78a0e288fdcebf92aa2318a8d3656168da6ac1a5',
  46. ),
  47. 'composer/package-versions-deprecated' =>
  48. array (
  49. 'pretty_version' => '1.11.99.1',
  50. 'version' => '1.11.99.1',
  51. 'aliases' =>
  52. array (
  53. ),
  54. 'reference' => '7413f0b55a051e89485c5cb9f765fe24bb02a7b6',
  55. ),
  56. 'composer/semver' =>
  57. array (
  58. 'pretty_version' => '3.2.4',
  59. 'version' => '3.2.4.0',
  60. 'aliases' =>
  61. array (
  62. ),
  63. 'reference' => 'a02fdf930a3c1c3ed3a49b5f63859c0c20e10464',
  64. ),
  65. 'composer/xdebug-handler' =>
  66. array (
  67. 'pretty_version' => '1.4.5',
  68. 'version' => '1.4.5.0',
  69. 'aliases' =>
  70. array (
  71. ),
  72. 'reference' => 'f28d44c286812c714741478d968104c5e604a1d4',
  73. ),
  74. 'diogocomposer/xmpphp' =>
  75. array (
  76. 'pretty_version' => 'v3.0.3',
  77. 'version' => '3.0.3.0',
  78. 'aliases' =>
  79. array (
  80. ),
  81. 'reference' => '37f69546e8e24703c4a9116e7bb14864a61ee369',
  82. ),
  83. 'dnoegel/php-xdg-base-dir' =>
  84. array (
  85. 'pretty_version' => 'v0.1.1',
  86. 'version' => '0.1.1.0',
  87. 'aliases' =>
  88. array (
  89. ),
  90. 'reference' => '8f8a6e48c5ecb0f991c2fdcf5f154a47d85f9ffd',
  91. ),
  92. 'doctrine/annotations' =>
  93. array (
  94. 'pretty_version' => '1.11.1',
  95. 'version' => '1.11.1.0',
  96. 'aliases' =>
  97. array (
  98. ),
  99. 'reference' => 'ce77a7ba1770462cd705a91a151b6c3746f9c6ad',
  100. ),
  101. 'doctrine/cache' =>
  102. array (
  103. 'pretty_version' => '1.10.2',
  104. 'version' => '1.10.2.0',
  105. 'aliases' =>
  106. array (
  107. ),
  108. 'reference' => '13e3381b25847283a91948d04640543941309727',
  109. ),
  110. 'doctrine/event-manager' =>
  111. array (
  112. 'pretty_version' => '1.1.1',
  113. 'version' => '1.1.1.0',
  114. 'aliases' =>
  115. array (
  116. ),
  117. 'reference' => '41370af6a30faa9dc0368c4a6814d596e81aba7f',
  118. ),
  119. 'doctrine/instantiator' =>
  120. array (
  121. 'pretty_version' => '1.4.0',
  122. 'version' => '1.4.0.0',
  123. 'aliases' =>
  124. array (
  125. ),
  126. 'reference' => 'd56bf6102915de5702778fe20f2de3b2fe570b5b',
  127. ),
  128. 'doctrine/lexer' =>
  129. array (
  130. 'pretty_version' => '1.2.1',
  131. 'version' => '1.2.1.0',
  132. 'aliases' =>
  133. array (
  134. ),
  135. 'reference' => 'e864bbf5904cb8f5bb334f99209b48018522f042',
  136. ),
  137. 'embed/embed' =>
  138. array (
  139. 'pretty_version' => 'v3.4.13',
  140. 'version' => '3.4.13.0',
  141. 'aliases' =>
  142. array (
  143. ),
  144. 'reference' => '99f6d95aebd94251573e4f4febf14bc6aba28697',
  145. ),
  146. 'evenement/evenement' =>
  147. array (
  148. 'pretty_version' => 'v3.0.1',
  149. 'version' => '3.0.1.0',
  150. 'aliases' =>
  151. array (
  152. ),
  153. 'reference' => '531bfb9d15f8aa57454f5f0285b18bec903b8fb7',
  154. ),
  155. 'ezyang/htmlpurifier' =>
  156. array (
  157. 'pretty_version' => 'v4.13.0',
  158. 'version' => '4.13.0.0',
  159. 'aliases' =>
  160. array (
  161. ),
  162. 'reference' => '08e27c97e4c6ed02f37c5b2b20488046c8d90d75',
  163. ),
  164. 'friendsofphp/php-cs-fixer' =>
  165. array (
  166. 'pretty_version' => 'v2.18.2',
  167. 'version' => '2.18.2.0',
  168. 'aliases' =>
  169. array (
  170. ),
  171. 'reference' => '18f8c9d184ba777380794a389fabc179896ba913',
  172. ),
  173. 'friendsofphp/proxy-manager-lts' =>
  174. array (
  175. 'pretty_version' => 'v1.0.3',
  176. 'version' => '1.0.3.0',
  177. 'aliases' =>
  178. array (
  179. ),
  180. 'reference' => '121af47c9aee9c03031bdeca3fac0540f59aa5c3',
  181. ),
  182. 'gnusocial/gnusocial' =>
  183. array (
  184. 'pretty_version' => '2.x-dev',
  185. 'version' => '2.9999999.9999999.9999999-dev',
  186. 'aliases' =>
  187. array (
  188. ),
  189. 'reference' => '7a3a8ec2e64e6c9b309e56d5ed067f9d97b344f5',
  190. ),
  191. 'guzzlehttp/psr7' =>
  192. array (
  193. 'pretty_version' => '1.7.0',
  194. 'version' => '1.7.0.0',
  195. 'aliases' =>
  196. array (
  197. ),
  198. 'reference' => '53330f47520498c0ae1f61f7e2c90f55690c06a3',
  199. ),
  200. 'hoa/consistency' =>
  201. array (
  202. 'pretty_version' => '1.17.05.02',
  203. 'version' => '1.17.05.02',
  204. 'aliases' =>
  205. array (
  206. ),
  207. 'reference' => 'fd7d0adc82410507f332516faf655b6ed22e4c2f',
  208. ),
  209. 'hoa/event' =>
  210. array (
  211. 'pretty_version' => '1.17.01.13',
  212. 'version' => '1.17.01.13',
  213. 'aliases' =>
  214. array (
  215. ),
  216. 'reference' => '6c0060dced212ffa3af0e34bb46624f990b29c54',
  217. ),
  218. 'hoa/exception' =>
  219. array (
  220. 'pretty_version' => '1.17.01.16',
  221. 'version' => '1.17.01.16',
  222. 'aliases' =>
  223. array (
  224. ),
  225. 'reference' => '091727d46420a3d7468ef0595651488bfc3a458f',
  226. ),
  227. 'intervention/image' =>
  228. array (
  229. 'pretty_version' => '2.5.1',
  230. 'version' => '2.5.1.0',
  231. 'aliases' =>
  232. array (
  233. ),
  234. 'reference' => 'abbf18d5ab8367f96b3205ca3c89fb2fa598c69e',
  235. ),
  236. 'jakub-onderka/php-console-color' =>
  237. array (
  238. 'pretty_version' => 'v0.2',
  239. 'version' => '0.2.0.0',
  240. 'aliases' =>
  241. array (
  242. ),
  243. 'reference' => 'd5deaecff52a0d61ccb613bb3804088da0307191',
  244. ),
  245. 'jakub-onderka/php-console-highlighter' =>
  246. array (
  247. 'pretty_version' => 'v0.4',
  248. 'version' => '0.4.0.0',
  249. 'aliases' =>
  250. array (
  251. ),
  252. 'reference' => '9f7a229a69d52506914b4bc61bfdb199d90c5547',
  253. ),
  254. 'jawira/plantuml' =>
  255. array (
  256. 'pretty_version' => 'v1.50.0',
  257. 'version' => '1.50.0.0',
  258. 'aliases' =>
  259. array (
  260. ),
  261. 'reference' => '43c499db01872fe76f7b51ef000abeec5946ba27',
  262. ),
  263. 'jean85/pretty-package-versions' =>
  264. array (
  265. 'pretty_version' => '1.5.1',
  266. 'version' => '1.5.1.0',
  267. 'aliases' =>
  268. array (
  269. ),
  270. 'reference' => 'a917488320c20057da87f67d0d40543dd9427f7a',
  271. ),
  272. 'laminas/laminas-code' =>
  273. array (
  274. 'pretty_version' => '4.0.0',
  275. 'version' => '4.0.0.0',
  276. 'aliases' =>
  277. array (
  278. ),
  279. 'reference' => '28a6d70ea8b8bca687d7163300e611ae33baf82a',
  280. ),
  281. 'laminas/laminas-eventmanager' =>
  282. array (
  283. 'pretty_version' => '3.3.0',
  284. 'version' => '3.3.0.0',
  285. 'aliases' =>
  286. array (
  287. ),
  288. 'reference' => '1940ccf30e058b2fd66f5a9d696f1b5e0027b082',
  289. ),
  290. 'laminas/laminas-zendframework-bridge' =>
  291. array (
  292. 'pretty_version' => '1.1.1',
  293. 'version' => '1.1.1.0',
  294. 'aliases' =>
  295. array (
  296. ),
  297. 'reference' => '6ede70583e101030bcace4dcddd648f760ddf642',
  298. ),
  299. 'league/commonmark' =>
  300. array (
  301. 'pretty_version' => '1.5.7',
  302. 'version' => '1.5.7.0',
  303. 'aliases' =>
  304. array (
  305. ),
  306. 'reference' => '11df9b36fd4f1d2b727a73bf14931d81373b9a54',
  307. ),
  308. 'league/flysystem' =>
  309. array (
  310. 'pretty_version' => '1.1.3',
  311. 'version' => '1.1.3.0',
  312. 'aliases' =>
  313. array (
  314. ),
  315. 'reference' => '9be3b16c877d477357c015cec057548cf9b2a14a',
  316. ),
  317. 'league/mime-type-detection' =>
  318. array (
  319. 'pretty_version' => '1.7.0',
  320. 'version' => '1.7.0.0',
  321. 'aliases' =>
  322. array (
  323. ),
  324. 'reference' => '3b9dff8aaf7323590c1d2e443db701eb1f9aa0d3',
  325. ),
  326. 'league/pipeline' =>
  327. array (
  328. 'pretty_version' => '1.0.0',
  329. 'version' => '1.0.0.0',
  330. 'aliases' =>
  331. array (
  332. ),
  333. 'reference' => 'aa14b0e3133121f8be39e9a3b6ddd011fc5bb9a8',
  334. ),
  335. 'league/tactician' =>
  336. array (
  337. 'pretty_version' => 'v1.0.3',
  338. 'version' => '1.0.3.0',
  339. 'aliases' =>
  340. array (
  341. ),
  342. 'reference' => 'd0339e22fd9252fb0fa53102b488d2c514483b8a',
  343. ),
  344. 'league/tactician-bundle' =>
  345. array (
  346. 'pretty_version' => 'v1.3.0',
  347. 'version' => '1.3.0.0',
  348. 'aliases' =>
  349. array (
  350. ),
  351. 'reference' => '89c51277423ac485b62580c38322426c3ec6ad47',
  352. ),
  353. 'league/tactician-container' =>
  354. array (
  355. 'pretty_version' => '2.0.0',
  356. 'version' => '2.0.0.0',
  357. 'aliases' =>
  358. array (
  359. ),
  360. 'reference' => 'd1a5d884e072b8cafbff802d07766076eb2ffcb0',
  361. ),
  362. 'league/tactician-logger' =>
  363. array (
  364. 'pretty_version' => 'v0.10.0',
  365. 'version' => '0.10.0.0',
  366. 'aliases' =>
  367. array (
  368. ),
  369. 'reference' => '3ff9ee04e4cbec100af827f829ed4c7ff7c08442',
  370. ),
  371. 'league/uri' =>
  372. array (
  373. 'pretty_version' => '6.4.0',
  374. 'version' => '6.4.0.0',
  375. 'aliases' =>
  376. array (
  377. ),
  378. 'reference' => '09da64118eaf4c5d52f9923a1e6a5be1da52fd9a',
  379. ),
  380. 'league/uri-interfaces' =>
  381. array (
  382. 'pretty_version' => '2.2.0',
  383. 'version' => '2.2.0.0',
  384. 'aliases' =>
  385. array (
  386. ),
  387. 'reference' => '667f150e589d65d79c89ffe662e426704f84224f',
  388. ),
  389. 'masterminds/html5' =>
  390. array (
  391. 'pretty_version' => '2.7.4',
  392. 'version' => '2.7.4.0',
  393. 'aliases' =>
  394. array (
  395. ),
  396. 'reference' => '9227822783c75406cfe400984b2f095cdf03d417',
  397. ),
  398. 'mf2/mf2' =>
  399. array (
  400. 'pretty_version' => '0.4.6',
  401. 'version' => '0.4.6.0',
  402. 'aliases' =>
  403. array (
  404. ),
  405. 'reference' => '00b70ee7eb7f5b0585b1bd467f6c9cbd75055d23',
  406. ),
  407. 'michelf/php-markdown' =>
  408. array (
  409. 'pretty_version' => '1.9.0',
  410. 'version' => '1.9.0.0',
  411. 'aliases' =>
  412. array (
  413. ),
  414. 'reference' => 'c83178d49e372ca967d1a8c77ae4e051b3a3c75c',
  415. ),
  416. 'monolog/monolog' =>
  417. array (
  418. 'pretty_version' => '2.2.0',
  419. 'version' => '2.2.0.0',
  420. 'aliases' =>
  421. array (
  422. ),
  423. 'reference' => '1cb1cde8e8dd0f70cc0fe51354a59acad9302084',
  424. ),
  425. 'myclabs/deep-copy' =>
  426. array (
  427. 'pretty_version' => '1.10.2',
  428. 'version' => '1.10.2.0',
  429. 'aliases' =>
  430. array (
  431. ),
  432. 'reference' => '776f831124e9c62e1a2c601ecc52e776d8bb7220',
  433. 'replaced' =>
  434. array (
  435. 0 => '1.10.2',
  436. ),
  437. ),
  438. 'neutron/temporary-filesystem' =>
  439. array (
  440. 'pretty_version' => '2.4',
  441. 'version' => '2.4.0.0',
  442. 'aliases' =>
  443. array (
  444. ),
  445. 'reference' => '3c55497da8d7762fb4dcabc91d54a5de510e3c99',
  446. ),
  447. 'nikic/php-parser' =>
  448. array (
  449. 'pretty_version' => 'v4.10.4',
  450. 'version' => '4.10.4.0',
  451. 'aliases' =>
  452. array (
  453. ),
  454. 'reference' => 'c6d052fc58cb876152f89f532b95a8d7907e7f0e',
  455. ),
  456. 'ocramius/package-versions' =>
  457. array (
  458. 'replaced' =>
  459. array (
  460. 0 => '1.11.99',
  461. ),
  462. ),
  463. 'ocramius/proxy-manager' =>
  464. array (
  465. 'replaced' =>
  466. array (
  467. 0 => '^2.1',
  468. ),
  469. ),
  470. 'openid/php-openid' =>
  471. array (
  472. 'pretty_version' => '2.3.0',
  473. 'version' => '2.3.0.0',
  474. 'aliases' =>
  475. array (
  476. ),
  477. 'reference' => '924f9aa42453cd0f9dba72587b4e2cdf7f4de874',
  478. ),
  479. 'paragonie/constant_time_encoding' =>
  480. array (
  481. 'pretty_version' => 'v1.0.4',
  482. 'version' => '1.0.4.0',
  483. 'aliases' =>
  484. array (
  485. ),
  486. 'reference' => '2132f0f293d856026d7d11bd81b9f4a23a1dc1f6',
  487. ),
  488. 'paragonie/random_compat' =>
  489. array (
  490. 'replaced' =>
  491. array (
  492. 0 => '2.*',
  493. ),
  494. ),
  495. 'pear/console_getopt' =>
  496. array (
  497. 'pretty_version' => 'v1.4.3',
  498. 'version' => '1.4.3.0',
  499. 'aliases' =>
  500. array (
  501. ),
  502. 'reference' => 'a41f8d3e668987609178c7c4a9fe48fecac53fa0',
  503. ),
  504. 'phar-io/manifest' =>
  505. array (
  506. 'pretty_version' => '2.0.1',
  507. 'version' => '2.0.1.0',
  508. 'aliases' =>
  509. array (
  510. ),
  511. 'reference' => '85265efd3af7ba3ca4b2a2c34dbfc5788dd29133',
  512. ),
  513. 'phar-io/version' =>
  514. array (
  515. 'pretty_version' => '3.0.4',
  516. 'version' => '3.0.4.0',
  517. 'aliases' =>
  518. array (
  519. ),
  520. 'reference' => 'e4782611070e50613683d2b9a57730e9a3ba5451',
  521. ),
  522. 'php-cs-fixer/diff' =>
  523. array (
  524. 'pretty_version' => 'v1.3.1',
  525. 'version' => '1.3.1.0',
  526. 'aliases' =>
  527. array (
  528. ),
  529. 'reference' => 'dbd31aeb251639ac0b9e7e29405c1441907f5759',
  530. ),
  531. 'php-ffmpeg/php-ffmpeg' =>
  532. array (
  533. 'pretty_version' => 'v0.16',
  534. 'version' => '0.16.0.0',
  535. 'aliases' =>
  536. array (
  537. ),
  538. 'reference' => '4175c02b7d9f7e1a02cec2ba73474266ba2c5fa1',
  539. ),
  540. 'phpdocumentor/flyfinder' =>
  541. array (
  542. 'pretty_version' => '1.0.0',
  543. 'version' => '1.0.0.0',
  544. 'aliases' =>
  545. array (
  546. ),
  547. 'reference' => '0443e747872cc4a4d8f4b830d16a0357c14df7a6',
  548. ),
  549. 'phpdocumentor/graphviz' =>
  550. array (
  551. 'pretty_version' => '2.0.0-beta2',
  552. 'version' => '2.0.0.0-beta2',
  553. 'aliases' =>
  554. array (
  555. ),
  556. 'reference' => '38cc160db6168943dc48697c99994a6c3ae7ffe3',
  557. ),
  558. 'phpdocumentor/phpdocumentor' =>
  559. array (
  560. 'pretty_version' => 'v3.0.0',
  561. 'version' => '3.0.0.0',
  562. 'aliases' =>
  563. array (
  564. ),
  565. 'reference' => '405da431bdc7ca02512cb6aa15f4ed43ffca8175',
  566. ),
  567. 'phpdocumentor/reflection' =>
  568. array (
  569. 'pretty_version' => '4.0.1',
  570. 'version' => '4.0.1.0',
  571. 'aliases' =>
  572. array (
  573. ),
  574. 'reference' => '447928a45710d6313e68774cf12b5f730b909baa',
  575. ),
  576. 'phpdocumentor/reflection-common' =>
  577. array (
  578. 'pretty_version' => '2.2.0',
  579. 'version' => '2.2.0.0',
  580. 'aliases' =>
  581. array (
  582. ),
  583. 'reference' => '1d01c49d4ed62f25aa84a747ad35d5a16924662b',
  584. ),
  585. 'phpdocumentor/reflection-docblock' =>
  586. array (
  587. 'pretty_version' => '5.2.2',
  588. 'version' => '5.2.2.0',
  589. 'aliases' =>
  590. array (
  591. ),
  592. 'reference' => '069a785b2141f5bcf49f3e353548dc1cce6df556',
  593. ),
  594. 'phpdocumentor/type-resolver' =>
  595. array (
  596. 'pretty_version' => '1.4.0',
  597. 'version' => '1.4.0.0',
  598. 'aliases' =>
  599. array (
  600. ),
  601. 'reference' => '6a467b8989322d92aa1c8bf2bebcc6e5c2ba55c0',
  602. ),
  603. 'phpseclib/phpseclib' =>
  604. array (
  605. 'pretty_version' => 'dev-master',
  606. 'version' => 'dev-master',
  607. 'aliases' =>
  608. array (
  609. 0 => '9999999-dev',
  610. ),
  611. 'reference' => 'f815e43077da67d3dd5b4d18a45753f5b79c1ab9',
  612. ),
  613. 'phpspec/prophecy' =>
  614. array (
  615. 'pretty_version' => 'v1.10.3',
  616. 'version' => '1.10.3.0',
  617. 'aliases' =>
  618. array (
  619. ),
  620. 'reference' => '451c3cd1418cf640de218914901e51b064abb093',
  621. ),
  622. 'phpunit/php-code-coverage' =>
  623. array (
  624. 'pretty_version' => '7.0.14',
  625. 'version' => '7.0.14.0',
  626. 'aliases' =>
  627. array (
  628. ),
  629. 'reference' => 'bb7c9a210c72e4709cdde67f8b7362f672f2225c',
  630. ),
  631. 'phpunit/php-file-iterator' =>
  632. array (
  633. 'pretty_version' => '2.0.3',
  634. 'version' => '2.0.3.0',
  635. 'aliases' =>
  636. array (
  637. ),
  638. 'reference' => '4b49fb70f067272b659ef0174ff9ca40fdaa6357',
  639. ),
  640. 'phpunit/php-text-template' =>
  641. array (
  642. 'pretty_version' => '1.2.1',
  643. 'version' => '1.2.1.0',
  644. 'aliases' =>
  645. array (
  646. ),
  647. 'reference' => '31f8b717e51d9a2afca6c9f046f5d69fc27c8686',
  648. ),
  649. 'phpunit/php-timer' =>
  650. array (
  651. 'pretty_version' => '2.1.3',
  652. 'version' => '2.1.3.0',
  653. 'aliases' =>
  654. array (
  655. ),
  656. 'reference' => '2454ae1765516d20c4ffe103d85a58a9a3bd5662',
  657. ),
  658. 'phpunit/php-token-stream' =>
  659. array (
  660. 'pretty_version' => '4.0.4',
  661. 'version' => '4.0.4.0',
  662. 'aliases' =>
  663. array (
  664. ),
  665. 'reference' => 'a853a0e183b9db7eed023d7933a858fa1c8d25a3',
  666. ),
  667. 'phpunit/phpunit' =>
  668. array (
  669. 'pretty_version' => '8.5.14',
  670. 'version' => '8.5.14.0',
  671. 'aliases' =>
  672. array (
  673. ),
  674. 'reference' => 'c25f79895d27b6ecd5abfa63de1606b786a461a3',
  675. ),
  676. 'predis/predis' =>
  677. array (
  678. 'pretty_version' => 'v1.1.6',
  679. 'version' => '1.1.6.0',
  680. 'aliases' =>
  681. array (
  682. ),
  683. 'reference' => '9930e933c67446962997b05201c69c2319bf26de',
  684. ),
  685. 'psr/cache' =>
  686. array (
  687. 'pretty_version' => '1.0.1',
  688. 'version' => '1.0.1.0',
  689. 'aliases' =>
  690. array (
  691. ),
  692. 'reference' => 'd11b50ad223250cf17b86e38383413f5a6764bf8',
  693. ),
  694. 'psr/cache-implementation' =>
  695. array (
  696. 'provided' =>
  697. array (
  698. 0 => '1.0',
  699. ),
  700. ),
  701. 'psr/container' =>
  702. array (
  703. 'pretty_version' => '1.0.0',
  704. 'version' => '1.0.0.0',
  705. 'aliases' =>
  706. array (
  707. ),
  708. 'reference' => 'b7ce3b176482dbbc1245ebf52b181af44c2cf55f',
  709. ),
  710. 'psr/container-implementation' =>
  711. array (
  712. 'provided' =>
  713. array (
  714. 0 => '1.0',
  715. ),
  716. ),
  717. 'psr/event-dispatcher' =>
  718. array (
  719. 'pretty_version' => '1.0.0',
  720. 'version' => '1.0.0.0',
  721. 'aliases' =>
  722. array (
  723. ),
  724. 'reference' => 'dbefd12671e8a14ec7f180cab83036ed26714bb0',
  725. ),
  726. 'psr/event-dispatcher-implementation' =>
  727. array (
  728. 'provided' =>
  729. array (
  730. 0 => '1.0',
  731. ),
  732. ),
  733. 'psr/http-message' =>
  734. array (
  735. 'pretty_version' => '1.0.1',
  736. 'version' => '1.0.1.0',
  737. 'aliases' =>
  738. array (
  739. ),
  740. 'reference' => 'f6561bf28d520154e4b0ec72be95418abe6d9363',
  741. ),
  742. 'psr/http-message-implementation' =>
  743. array (
  744. 'provided' =>
  745. array (
  746. 0 => '1.0',
  747. ),
  748. ),
  749. 'psr/log' =>
  750. array (
  751. 'pretty_version' => '1.1.3',
  752. 'version' => '1.1.3.0',
  753. 'aliases' =>
  754. array (
  755. ),
  756. 'reference' => '0f73288fd15629204f9d42b7055f72dacbe811fc',
  757. ),
  758. 'psr/log-implementation' =>
  759. array (
  760. 'provided' =>
  761. array (
  762. 0 => '1.0.0',
  763. 1 => '1.0',
  764. ),
  765. ),
  766. 'psr/simple-cache-implementation' =>
  767. array (
  768. 'provided' =>
  769. array (
  770. 0 => '1.0',
  771. ),
  772. ),
  773. 'psy/psysh' =>
  774. array (
  775. 'pretty_version' => 'v0.9.12',
  776. 'version' => '0.9.12.0',
  777. 'aliases' =>
  778. array (
  779. ),
  780. 'reference' => '90da7f37568aee36b116a030c5f99c915267edd4',
  781. ),
  782. 'ralouphie/getallheaders' =>
  783. array (
  784. 'pretty_version' => '3.0.3',
  785. 'version' => '3.0.3.0',
  786. 'aliases' =>
  787. array (
  788. ),
  789. 'reference' => '120b605dfeb996808c31b6477290a714d356e822',
  790. ),
  791. 'scrivo/highlight.php' =>
  792. array (
  793. 'pretty_version' => 'v9.18.1.6',
  794. 'version' => '9.18.1.6',
  795. 'aliases' =>
  796. array (
  797. ),
  798. 'reference' => '44a3d4136edb5ad8551590bf90f437db80b2d466',
  799. ),
  800. 'sebastian/code-unit-reverse-lookup' =>
  801. array (
  802. 'pretty_version' => '1.0.2',
  803. 'version' => '1.0.2.0',
  804. 'aliases' =>
  805. array (
  806. ),
  807. 'reference' => '1de8cd5c010cb153fcd68b8d0f64606f523f7619',
  808. ),
  809. 'sebastian/comparator' =>
  810. array (
  811. 'pretty_version' => '3.0.3',
  812. 'version' => '3.0.3.0',
  813. 'aliases' =>
  814. array (
  815. ),
  816. 'reference' => '1071dfcef776a57013124ff35e1fc41ccd294758',
  817. ),
  818. 'sebastian/diff' =>
  819. array (
  820. 'pretty_version' => '3.0.3',
  821. 'version' => '3.0.3.0',
  822. 'aliases' =>
  823. array (
  824. ),
  825. 'reference' => '14f72dd46eaf2f2293cbe79c93cc0bc43161a211',
  826. ),
  827. 'sebastian/environment' =>
  828. array (
  829. 'pretty_version' => '4.2.4',
  830. 'version' => '4.2.4.0',
  831. 'aliases' =>
  832. array (
  833. ),
  834. 'reference' => 'd47bbbad83711771f167c72d4e3f25f7fcc1f8b0',
  835. ),
  836. 'sebastian/exporter' =>
  837. array (
  838. 'pretty_version' => '3.1.3',
  839. 'version' => '3.1.3.0',
  840. 'aliases' =>
  841. array (
  842. ),
  843. 'reference' => '6b853149eab67d4da22291d36f5b0631c0fd856e',
  844. ),
  845. 'sebastian/global-state' =>
  846. array (
  847. 'pretty_version' => '3.0.1',
  848. 'version' => '3.0.1.0',
  849. 'aliases' =>
  850. array (
  851. ),
  852. 'reference' => '474fb9edb7ab891665d3bfc6317f42a0a150454b',
  853. ),
  854. 'sebastian/object-enumerator' =>
  855. array (
  856. 'pretty_version' => '3.0.4',
  857. 'version' => '3.0.4.0',
  858. 'aliases' =>
  859. array (
  860. ),
  861. 'reference' => 'e67f6d32ebd0c749cf9d1dbd9f226c727043cdf2',
  862. ),
  863. 'sebastian/object-reflector' =>
  864. array (
  865. 'pretty_version' => '1.1.2',
  866. 'version' => '1.1.2.0',
  867. 'aliases' =>
  868. array (
  869. ),
  870. 'reference' => '9b8772b9cbd456ab45d4a598d2dd1a1bced6363d',
  871. ),
  872. 'sebastian/recursion-context' =>
  873. array (
  874. 'pretty_version' => '3.0.1',
  875. 'version' => '3.0.1.0',
  876. 'aliases' =>
  877. array (
  878. ),
  879. 'reference' => '367dcba38d6e1977be014dc4b22f47a484dac7fb',
  880. ),
  881. 'sebastian/resource-operations' =>
  882. array (
  883. 'pretty_version' => '2.0.2',
  884. 'version' => '2.0.2.0',
  885. 'aliases' =>
  886. array (
  887. ),
  888. 'reference' => '31d35ca87926450c44eae7e2611d45a7a65ea8b3',
  889. ),
  890. 'sebastian/type' =>
  891. array (
  892. 'pretty_version' => '1.1.4',
  893. 'version' => '1.1.4.0',
  894. 'aliases' =>
  895. array (
  896. ),
  897. 'reference' => '0150cfbc4495ed2df3872fb31b26781e4e077eb4',
  898. ),
  899. 'sebastian/version' =>
  900. array (
  901. 'pretty_version' => '2.0.1',
  902. 'version' => '2.0.1.0',
  903. 'aliases' =>
  904. array (
  905. ),
  906. 'reference' => '99732be0ddb3361e16ad77b68ba41efc8e979019',
  907. ),
  908. 'stomp-php/stomp-php' =>
  909. array (
  910. 'pretty_version' => '4.6.1',
  911. 'version' => '4.6.1.0',
  912. 'aliases' =>
  913. array (
  914. ),
  915. 'reference' => 'd55ba2b2c3ce0e3074b3aa15de1151fd13bb84e4',
  916. ),
  917. 'symfony/cache' =>
  918. array (
  919. 'pretty_version' => 'v5.2.2',
  920. 'version' => '5.2.2.0',
  921. 'aliases' =>
  922. array (
  923. ),
  924. 'reference' => 'd6aed6c1bbf6f59e521f46437475a0ff4878d388',
  925. ),
  926. 'symfony/cache-contracts' =>
  927. array (
  928. 'replaced' =>
  929. array (
  930. 0 => 'v2.3.1',
  931. ),
  932. ),
  933. 'symfony/cache-implementation' =>
  934. array (
  935. 'provided' =>
  936. array (
  937. 0 => '1.0',
  938. ),
  939. ),
  940. 'symfony/config' =>
  941. array (
  942. 'pretty_version' => 'v5.2.2',
  943. 'version' => '5.2.2.0',
  944. 'aliases' =>
  945. array (
  946. ),
  947. 'reference' => '50e0e1314a3b2609d32b6a5a0d0fb5342494c4ab',
  948. ),
  949. 'symfony/console' =>
  950. array (
  951. 'pretty_version' => 'v5.2.2',
  952. 'version' => '5.2.2.0',
  953. 'aliases' =>
  954. array (
  955. ),
  956. 'reference' => 'd62ec79478b55036f65e2602e282822b8eaaff0a',
  957. ),
  958. 'symfony/contracts' =>
  959. array (
  960. 'pretty_version' => 'v2.3.1',
  961. 'version' => '2.3.1.0',
  962. 'aliases' =>
  963. array (
  964. ),
  965. 'reference' => 'f7783bdec14b06c323d30a5f74ba70a17ec0ce81',
  966. ),
  967. 'symfony/dependency-injection' =>
  968. array (
  969. 'pretty_version' => 'v5.2.2',
  970. 'version' => '5.2.2.0',
  971. 'aliases' =>
  972. array (
  973. ),
  974. 'reference' => '62f72187be689540385dce6c68a5d4c16f034139',
  975. ),
  976. 'symfony/deprecation-contracts' =>
  977. array (
  978. 'replaced' =>
  979. array (
  980. 0 => 'v2.3.1',
  981. ),
  982. ),
  983. 'symfony/dom-crawler' =>
  984. array (
  985. 'pretty_version' => 'v5.1.11',
  986. 'version' => '5.1.11.0',
  987. 'aliases' =>
  988. array (
  989. ),
  990. 'reference' => '5d89ceb53ec65e1973a555072fac8ed5ecad3384',
  991. ),
  992. 'symfony/dotenv' =>
  993. array (
  994. 'pretty_version' => 'v5.2.2',
  995. 'version' => '5.2.2.0',
  996. 'aliases' =>
  997. array (
  998. ),
  999. 'reference' => '783f12027c6b40ab0e93d6136d9f642d1d67cd6b',
  1000. ),
  1001. 'symfony/error-handler' =>
  1002. array (
  1003. 'pretty_version' => 'v5.2.2',
  1004. 'version' => '5.2.2.0',
  1005. 'aliases' =>
  1006. array (
  1007. ),
  1008. 'reference' => '4fd4a377f7b7ec7c3f3b40346a1411e0a83f9d40',
  1009. ),
  1010. 'symfony/event-dispatcher' =>
  1011. array (
  1012. 'pretty_version' => 'v5.2.2',
  1013. 'version' => '5.2.2.0',
  1014. 'aliases' =>
  1015. array (
  1016. ),
  1017. 'reference' => '4f9760f8074978ad82e2ce854dff79a71fe45367',
  1018. ),
  1019. 'symfony/event-dispatcher-contracts' =>
  1020. array (
  1021. 'replaced' =>
  1022. array (
  1023. 0 => 'v2.3.1',
  1024. ),
  1025. ),
  1026. 'symfony/event-dispatcher-implementation' =>
  1027. array (
  1028. 'provided' =>
  1029. array (
  1030. 0 => '2.0',
  1031. ),
  1032. ),
  1033. 'symfony/expression-language' =>
  1034. array (
  1035. 'pretty_version' => 'v5.2.2',
  1036. 'version' => '5.2.2.0',
  1037. 'aliases' =>
  1038. array (
  1039. ),
  1040. 'reference' => '7bf30a4e29887110f8bd1882ccc82ee63c8a5133',
  1041. ),
  1042. 'symfony/filesystem' =>
  1043. array (
  1044. 'pretty_version' => 'v5.2.2',
  1045. 'version' => '5.2.2.0',
  1046. 'aliases' =>
  1047. array (
  1048. ),
  1049. 'reference' => '262d033b57c73e8b59cd6e68a45c528318b15038',
  1050. ),
  1051. 'symfony/finder' =>
  1052. array (
  1053. 'pretty_version' => 'v5.1.11',
  1054. 'version' => '5.1.11.0',
  1055. 'aliases' =>
  1056. array (
  1057. ),
  1058. 'reference' => '196f45723b5e618bf0e23b97e96d11652696ea9e',
  1059. ),
  1060. 'symfony/flex' =>
  1061. array (
  1062. 'pretty_version' => 'v1.11.0',
  1063. 'version' => '1.11.0.0',
  1064. 'aliases' =>
  1065. array (
  1066. ),
  1067. 'reference' => 'ceb2b4e612bd0b4bb36a4d7fb2e800c861652f48',
  1068. ),
  1069. 'symfony/framework-bundle' =>
  1070. array (
  1071. 'pretty_version' => 'v5.2.2',
  1072. 'version' => '5.2.2.0',
  1073. 'aliases' =>
  1074. array (
  1075. ),
  1076. 'reference' => 'ff455b2afd3f98237d4131ffebe190e59cc0f011',
  1077. ),
  1078. 'symfony/http-client-contracts' =>
  1079. array (
  1080. 'replaced' =>
  1081. array (
  1082. 0 => 'v2.3.1',
  1083. ),
  1084. ),
  1085. 'symfony/http-foundation' =>
  1086. array (
  1087. 'pretty_version' => 'v5.2.2',
  1088. 'version' => '5.2.2.0',
  1089. 'aliases' =>
  1090. array (
  1091. ),
  1092. 'reference' => '16dfa5acf8103f0394d447f8eea3ea49f9e50855',
  1093. ),
  1094. 'symfony/http-kernel' =>
  1095. array (
  1096. 'pretty_version' => 'v5.2.2',
  1097. 'version' => '5.2.2.0',
  1098. 'aliases' =>
  1099. array (
  1100. ),
  1101. 'reference' => '831b51e9370ece0febd0950dd819c63f996721c7',
  1102. ),
  1103. 'symfony/monolog-bridge' =>
  1104. array (
  1105. 'pretty_version' => 'v5.2.2',
  1106. 'version' => '5.2.2.0',
  1107. 'aliases' =>
  1108. array (
  1109. ),
  1110. 'reference' => 'aca99c4135001224b917eed17cc846e8c0ba981c',
  1111. ),
  1112. 'symfony/monolog-bundle' =>
  1113. array (
  1114. 'pretty_version' => 'v3.6.0',
  1115. 'version' => '3.6.0.0',
  1116. 'aliases' =>
  1117. array (
  1118. ),
  1119. 'reference' => 'e495f5c7e4e672ffef4357d4a4d85f010802f940',
  1120. ),
  1121. 'symfony/options-resolver' =>
  1122. array (
  1123. 'pretty_version' => 'v5.2.2',
  1124. 'version' => '5.2.2.0',
  1125. 'aliases' =>
  1126. array (
  1127. ),
  1128. 'reference' => '5d0f633f9bbfcf7ec642a2b5037268e61b0a62ce',
  1129. ),
  1130. 'symfony/polyfill-ctype' =>
  1131. array (
  1132. 'pretty_version' => 'v1.22.0',
  1133. 'version' => '1.22.0.0',
  1134. 'aliases' =>
  1135. array (
  1136. ),
  1137. 'reference' => 'c6c942b1ac76c82448322025e084cadc56048b4e',
  1138. ),
  1139. 'symfony/polyfill-iconv' =>
  1140. array (
  1141. 'replaced' =>
  1142. array (
  1143. 0 => '*',
  1144. ),
  1145. ),
  1146. 'symfony/polyfill-intl-grapheme' =>
  1147. array (
  1148. 'pretty_version' => 'v1.22.0',
  1149. 'version' => '1.22.0.0',
  1150. 'aliases' =>
  1151. array (
  1152. ),
  1153. 'reference' => '267a9adeb8ecb8071040a740930e077cdfb987af',
  1154. ),
  1155. 'symfony/polyfill-intl-normalizer' =>
  1156. array (
  1157. 'pretty_version' => 'v1.22.0',
  1158. 'version' => '1.22.0.0',
  1159. 'aliases' =>
  1160. array (
  1161. ),
  1162. 'reference' => '6e971c891537eb617a00bb07a43d182a6915faba',
  1163. ),
  1164. 'symfony/polyfill-mbstring' =>
  1165. array (
  1166. 'pretty_version' => 'v1.22.0',
  1167. 'version' => '1.22.0.0',
  1168. 'aliases' =>
  1169. array (
  1170. ),
  1171. 'reference' => 'f377a3dd1fde44d37b9831d68dc8dea3ffd28e13',
  1172. ),
  1173. 'symfony/polyfill-php56' =>
  1174. array (
  1175. 'replaced' =>
  1176. array (
  1177. 0 => '*',
  1178. ),
  1179. ),
  1180. 'symfony/polyfill-php70' =>
  1181. array (
  1182. 'replaced' =>
  1183. array (
  1184. 0 => '*',
  1185. ),
  1186. ),
  1187. 'symfony/polyfill-php71' =>
  1188. array (
  1189. 'replaced' =>
  1190. array (
  1191. 0 => '*',
  1192. ),
  1193. ),
  1194. 'symfony/polyfill-php72' =>
  1195. array (
  1196. 'replaced' =>
  1197. array (
  1198. 0 => '*',
  1199. ),
  1200. ),
  1201. 'symfony/polyfill-php73' =>
  1202. array (
  1203. 'pretty_version' => 'v1.22.0',
  1204. 'version' => '1.22.0.0',
  1205. 'aliases' =>
  1206. array (
  1207. ),
  1208. 'reference' => 'a678b42e92f86eca04b7fa4c0f6f19d097fb69e2',
  1209. ),
  1210. 'symfony/polyfill-php80' =>
  1211. array (
  1212. 'pretty_version' => 'v1.22.0',
  1213. 'version' => '1.22.0.0',
  1214. 'aliases' =>
  1215. array (
  1216. ),
  1217. 'reference' => 'dc3063ba22c2a1fd2f45ed856374d79114998f91',
  1218. ),
  1219. 'symfony/process' =>
  1220. array (
  1221. 'pretty_version' => 'v5.1.11',
  1222. 'version' => '5.1.11.0',
  1223. 'aliases' =>
  1224. array (
  1225. ),
  1226. 'reference' => 'd279ae7f2d6e0e4e45f66de7d76006246ae00e4d',
  1227. ),
  1228. 'symfony/proxy-manager-bridge' =>
  1229. array (
  1230. 'pretty_version' => 'v5.2.2',
  1231. 'version' => '5.2.2.0',
  1232. 'aliases' =>
  1233. array (
  1234. ),
  1235. 'reference' => 'fd6bb40190b1719abbe831be09adf38e0744d5f5',
  1236. ),
  1237. 'symfony/routing' =>
  1238. array (
  1239. 'pretty_version' => 'v5.2.2',
  1240. 'version' => '5.2.2.0',
  1241. 'aliases' =>
  1242. array (
  1243. ),
  1244. 'reference' => '348b5917e56546c6d96adbf21d7f92c9ef563661',
  1245. ),
  1246. 'symfony/service-contracts' =>
  1247. array (
  1248. 'replaced' =>
  1249. array (
  1250. 0 => 'v2.3.1',
  1251. ),
  1252. ),
  1253. 'symfony/service-implementation' =>
  1254. array (
  1255. 'provided' =>
  1256. array (
  1257. 0 => '1.0',
  1258. ),
  1259. ),
  1260. 'symfony/stopwatch' =>
  1261. array (
  1262. 'pretty_version' => 'v5.2.2',
  1263. 'version' => '5.2.2.0',
  1264. 'aliases' =>
  1265. array (
  1266. ),
  1267. 'reference' => 'b12274acfab9d9850c52583d136a24398cdf1a0c',
  1268. ),
  1269. 'symfony/string' =>
  1270. array (
  1271. 'pretty_version' => 'v5.1.11',
  1272. 'version' => '5.1.11.0',
  1273. 'aliases' =>
  1274. array (
  1275. ),
  1276. 'reference' => '83bbb92d34881744b8021452a76532b28283dbfb',
  1277. ),
  1278. 'symfony/translation-contracts' =>
  1279. array (
  1280. 'replaced' =>
  1281. array (
  1282. 0 => 'v2.3.1',
  1283. ),
  1284. ),
  1285. 'symfony/var-dumper' =>
  1286. array (
  1287. 'pretty_version' => 'v5.2.2',
  1288. 'version' => '5.2.2.0',
  1289. 'aliases' =>
  1290. array (
  1291. ),
  1292. 'reference' => '72ca213014a92223a5d18651ce79ef441c12b694',
  1293. ),
  1294. 'symfony/var-exporter' =>
  1295. array (
  1296. 'pretty_version' => 'v5.2.2',
  1297. 'version' => '5.2.2.0',
  1298. 'aliases' =>
  1299. array (
  1300. ),
  1301. 'reference' => '5aed4875ab514c8cb9b6ff4772baa25fa4c10307',
  1302. ),
  1303. 'symfony/yaml' =>
  1304. array (
  1305. 'pretty_version' => 'v5.2.2',
  1306. 'version' => '5.2.2.0',
  1307. 'aliases' =>
  1308. array (
  1309. ),
  1310. 'reference' => '6bb8b36c6dea8100268512bf46e858c8eb5c545e',
  1311. ),
  1312. 'theseer/tokenizer' =>
  1313. array (
  1314. 'pretty_version' => '1.2.0',
  1315. 'version' => '1.2.0.0',
  1316. 'aliases' =>
  1317. array (
  1318. ),
  1319. 'reference' => '75a63c33a8577608444246075ea0af0d052e452a',
  1320. ),
  1321. 'twig/twig' =>
  1322. array (
  1323. 'pretty_version' => 'v2.14.3',
  1324. 'version' => '2.14.3.0',
  1325. 'aliases' =>
  1326. array (
  1327. ),
  1328. 'reference' => '8bc568d460d88b25c00c046256ec14a787ea60d9',
  1329. ),
  1330. 'webmozart/assert' =>
  1331. array (
  1332. 'pretty_version' => '1.9.1',
  1333. 'version' => '1.9.1.0',
  1334. 'aliases' =>
  1335. array (
  1336. ),
  1337. 'reference' => 'bafc69caeb4d49c39fd0779086c03a3738cbb389',
  1338. ),
  1339. 'zendframework/zend-code' =>
  1340. array (
  1341. 'replaced' =>
  1342. array (
  1343. 0 => '4.0.0',
  1344. ),
  1345. ),
  1346. 'zendframework/zend-eventmanager' =>
  1347. array (
  1348. 'replaced' =>
  1349. array (
  1350. 0 => '^3.2.1',
  1351. ),
  1352. ),
  1353. ),
  1354. );
  1355. private static $canGetVendors;
  1356. private static $installedByVendor = array();
  1357. public static function getInstalledPackages()
  1358. {
  1359. $packages = array();
  1360. foreach (self::getInstalled() as $installed) {
  1361. $packages[] = array_keys($installed['versions']);
  1362. }
  1363. if (1 === \count($packages)) {
  1364. return $packages[0];
  1365. }
  1366. return array_keys(array_flip(\call_user_func_array('array_merge', $packages)));
  1367. }
  1368. public static function isInstalled($packageName)
  1369. {
  1370. foreach (self::getInstalled() as $installed) {
  1371. if (isset($installed['versions'][$packageName])) {
  1372. return true;
  1373. }
  1374. }
  1375. return false;
  1376. }
  1377. public static function satisfies(VersionParser $parser, $packageName, $constraint)
  1378. {
  1379. $constraint = $parser->parseConstraints($constraint);
  1380. $provided = $parser->parseConstraints(self::getVersionRanges($packageName));
  1381. return $provided->matches($constraint);
  1382. }
  1383. public static function getVersionRanges($packageName)
  1384. {
  1385. foreach (self::getInstalled() as $installed) {
  1386. if (!isset($installed['versions'][$packageName])) {
  1387. continue;
  1388. }
  1389. $ranges = array();
  1390. if (isset($installed['versions'][$packageName]['pretty_version'])) {
  1391. $ranges[] = $installed['versions'][$packageName]['pretty_version'];
  1392. }
  1393. if (array_key_exists('aliases', $installed['versions'][$packageName])) {
  1394. $ranges = array_merge($ranges, $installed['versions'][$packageName]['aliases']);
  1395. }
  1396. if (array_key_exists('replaced', $installed['versions'][$packageName])) {
  1397. $ranges = array_merge($ranges, $installed['versions'][$packageName]['replaced']);
  1398. }
  1399. if (array_key_exists('provided', $installed['versions'][$packageName])) {
  1400. $ranges = array_merge($ranges, $installed['versions'][$packageName]['provided']);
  1401. }
  1402. return implode(' || ', $ranges);
  1403. }
  1404. throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
  1405. }
  1406. public static function getVersion($packageName)
  1407. {
  1408. foreach (self::getInstalled() as $installed) {
  1409. if (!isset($installed['versions'][$packageName])) {
  1410. continue;
  1411. }
  1412. if (!isset($installed['versions'][$packageName]['version'])) {
  1413. return null;
  1414. }
  1415. return $installed['versions'][$packageName]['version'];
  1416. }
  1417. throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
  1418. }
  1419. public static function getPrettyVersion($packageName)
  1420. {
  1421. foreach (self::getInstalled() as $installed) {
  1422. if (!isset($installed['versions'][$packageName])) {
  1423. continue;
  1424. }
  1425. if (!isset($installed['versions'][$packageName]['pretty_version'])) {
  1426. return null;
  1427. }
  1428. return $installed['versions'][$packageName]['pretty_version'];
  1429. }
  1430. throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
  1431. }
  1432. public static function getReference($packageName)
  1433. {
  1434. foreach (self::getInstalled() as $installed) {
  1435. if (!isset($installed['versions'][$packageName])) {
  1436. continue;
  1437. }
  1438. if (!isset($installed['versions'][$packageName]['reference'])) {
  1439. return null;
  1440. }
  1441. return $installed['versions'][$packageName]['reference'];
  1442. }
  1443. throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
  1444. }
  1445. public static function getRootPackage()
  1446. {
  1447. $installed = self::getInstalled();
  1448. return $installed[0]['root'];
  1449. }
  1450. public static function getRawData()
  1451. {
  1452. return self::$installed;
  1453. }
  1454. public static function reload($data)
  1455. {
  1456. self::$installed = $data;
  1457. self::$installedByVendor = array();
  1458. }
  1459. private static function getInstalled()
  1460. {
  1461. if (null === self::$canGetVendors) {
  1462. self::$canGetVendors = method_exists('Composer\Autoload\ClassLoader', 'getRegisteredLoaders');
  1463. }
  1464. $installed = array();
  1465. if (self::$canGetVendors) {
  1466. foreach (ClassLoader::getRegisteredLoaders() as $vendorDir => $loader) {
  1467. if (isset(self::$installedByVendor[$vendorDir])) {
  1468. $installed[] = self::$installedByVendor[$vendorDir];
  1469. } elseif (is_file($vendorDir.'/composer/installed.php')) {
  1470. $installed[] = self::$installedByVendor[$vendorDir] = require $vendorDir.'/composer/installed.php';
  1471. }
  1472. }
  1473. }
  1474. $installed[] = self::$installed;
  1475. return $installed;
  1476. }
  1477. }