Lines Matching +full:php +full:- +full:version

1 <?php
21 * See also https://getcomposer.org/doc/07-runtime.md#installed-versions
23 * To require its presence, you can require `composer-runtime-api ^2.0`
37-var array{root: array{name: string, pretty_version: string, version: string, reference: string|nu…
53-var array<string, array{root: array{name: string, pretty_version: string, version: string, refere…
61 * @psalm-return list<string>
82 * @psalm-return list<string>
120 * Checks whether the given package satisfies a version constraint
122 … * e.g. If you want to know whether version 2.3+ of package foo/bar is installed, you would call:
128 …* @param string|null $constraint A version constraint to check for, if you pass one you have t…
133 $constraint = $parser->parseConstraints((string) $constraint);
134 $provided = $parser->parseConstraints(self::getVersionRanges($packageName));
136 return $provided->matches($constraint);
140 …* Returns a version constraint representing all the range(s) which are installed for a given packa…
143 * whether a given version of a package is installed, and not just whether it exists
146 * @return string Version constraint usable with composer/semver
177 …installed, null will be returned as version, use satisfies or getVersionRanges if you need to know…
186 if (!isset($installed['versions'][$packageName]['version'])) {
190 return $installed['versions'][$packageName]['version'];
198 …installed, null will be returned as version, use satisfies or getVersionRanges if you need to know…
257 …* @psalm-return array{name: string, pretty_version: string, version: string, reference: string|nul…
267 * Returns the raw installed.php data for custom implementations
271-return array{root: array{name: string, pretty_version: string, version: string, reference: string…
278 // only require the installed.php file if this file is loaded from its dumped location,
280 if (substr(__DIR__, -8, 1) !== 'C') {
281 self::$installed = include __DIR__ . '/installed.php';
291 … * Returns the raw data of all installed.php which are currently loaded for custom implementations
294-return list<array{root: array{name: string, pretty_version: string, version: string, reference: s…
306 * and wants to ensure both projects have access to their version of installed.php.
310 * `require $CWD/vendor/composer/installed.php` (or similar) as input to make sure
314 * @param array[] $data A vendor/composer/installed.php data set
317-param array{root: array{name: string, pretty_version: string, version: string, reference: string|…
325 … // always returned, but we cannot know whether it comes from the installed.php in __DIR__ or not,
345-return list<array{root: array{name: string, pretty_version: string, version: string, reference: s…
362 } elseif (is_file($vendorDir.'/composer/installed.php')) {
363version: string, reference: string|null, type: string, install_path: string, aliases: string[], de…
364 $required = require $vendorDir.'/composer/installed.php';
379 // only require the installed.php file if this file is loaded from its dumped location,
381 if (substr(__DIR__, -8, 1) !== 'C') {
382version: string, reference: string|null, type: string, install_path: string, aliases: string[], de…
383 $required = require __DIR__ . '/installed.php';