Lines Matching refs:installed
31 private static $installed; variable in Composer\\InstalledVersions
53 foreach (self::getInstalled() as $installed) {
54 $packages[] = array_keys($installed['versions']);
75 foreach (self::getInstalled() as $installed) {
76 foreach ($installed['versions'] as $name => $package) {
97 foreach (self::getInstalled() as $installed) {
98 if (isset($installed['versions'][$packageName])) {
99 … return $includeDevRequirements || empty($installed['versions'][$packageName]['dev_requirement']);
137 foreach (self::getInstalled() as $installed) {
138 if (!isset($installed['versions'][$packageName])) {
143 if (isset($installed['versions'][$packageName]['pretty_version'])) {
144 $ranges[] = $installed['versions'][$packageName]['pretty_version'];
146 if (array_key_exists('aliases', $installed['versions'][$packageName])) {
147 $ranges = array_merge($ranges, $installed['versions'][$packageName]['aliases']);
149 if (array_key_exists('replaced', $installed['versions'][$packageName])) {
150 $ranges = array_merge($ranges, $installed['versions'][$packageName]['replaced']);
152 if (array_key_exists('provided', $installed['versions'][$packageName])) {
153 $ranges = array_merge($ranges, $installed['versions'][$packageName]['provided']);
168 foreach (self::getInstalled() as $installed) {
169 if (!isset($installed['versions'][$packageName])) {
173 if (!isset($installed['versions'][$packageName]['version'])) {
177 return $installed['versions'][$packageName]['version'];
189 foreach (self::getInstalled() as $installed) {
190 if (!isset($installed['versions'][$packageName])) {
194 if (!isset($installed['versions'][$packageName]['pretty_version'])) {
198 return $installed['versions'][$packageName]['pretty_version'];
210 foreach (self::getInstalled() as $installed) {
211 if (!isset($installed['versions'][$packageName])) {
215 if (!isset($installed['versions'][$packageName]['reference'])) {
219 return $installed['versions'][$packageName]['reference'];
231 foreach (self::getInstalled() as $installed) {
232 if (!isset($installed['versions'][$packageName])) {
236 …return isset($installed['versions'][$packageName]['install_path']) ? $installed['versions'][$packa…
248 $installed = self::getInstalled();
250 return $installed[0]['root'];
264 if (null === self::$installed) {
268 self::$installed = include __DIR__ . '/installed.php';
270 self::$installed = array();
274 return self::$installed;
308 self::$installed = $data;
322 $installed = array();
327 $installed[] = self::$installedByVendor[$vendorDir];
329 …$installed[] = self::$installedByVendor[$vendorDir] = require $vendorDir.'/composer/installed.php';
330 …if (null === self::$installed && strtr($vendorDir.'/composer', '\\', '/') === strtr(__DIR__, '\\',…
331 self::$installed = $installed[count($installed) - 1];
337 if (null === self::$installed) {
341 self::$installed = require __DIR__ . '/installed.php';
343 self::$installed = array();
346 $installed[] = self::$installed;
348 return $installed;