diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 12:44:51 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 12:44:51 +0000 |
commit | a1ec78bf0dc93d0e05e5f066f1949dc3baecea06 (patch) | |
tree | ee596ce1bc9840661386f96f9b8d1f919a106317 /vendor/composer | |
parent | Initial commit. (diff) | |
download | icingaweb2-module-incubator-upstream.tar.xz icingaweb2-module-incubator-upstream.zip |
Adding upstream version 0.20.0.upstream/0.20.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/composer')
-rw-r--r-- | vendor/composer/ClassLoader.php | 572 | ||||
-rw-r--r-- | vendor/composer/InstalledVersions.php | 337 | ||||
-rw-r--r-- | vendor/composer/LICENSE | 21 | ||||
-rw-r--r-- | vendor/composer/autoload_classmap.php | 10 | ||||
-rw-r--r-- | vendor/composer/autoload_namespaces.php | 9 | ||||
-rw-r--r-- | vendor/composer/autoload_psr4.php | 38 | ||||
-rw-r--r-- | vendor/composer/autoload_real.php | 57 | ||||
-rw-r--r-- | vendor/composer/autoload_static.php | 179 | ||||
-rw-r--r-- | vendor/composer/installed.json | 1350 | ||||
-rw-r--r-- | vendor/composer/installed.php | 524 | ||||
-rw-r--r-- | vendor/composer/platform_check.php | 26 |
11 files changed, 3123 insertions, 0 deletions
diff --git a/vendor/composer/ClassLoader.php b/vendor/composer/ClassLoader.php new file mode 100644 index 0000000..0cd6055 --- /dev/null +++ b/vendor/composer/ClassLoader.php @@ -0,0 +1,572 @@ +<?php + +/* + * This file is part of Composer. + * + * (c) Nils Adermann <naderman@naderman.de> + * Jordi Boggiano <j.boggiano@seld.be> + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Composer\Autoload; + +/** + * ClassLoader implements a PSR-0, PSR-4 and classmap class loader. + * + * $loader = new \Composer\Autoload\ClassLoader(); + * + * // register classes with namespaces + * $loader->add('Symfony\Component', __DIR__.'/component'); + * $loader->add('Symfony', __DIR__.'/framework'); + * + * // activate the autoloader + * $loader->register(); + * + * // to enable searching the include path (eg. for PEAR packages) + * $loader->setUseIncludePath(true); + * + * In this example, if you try to use a class in the Symfony\Component + * namespace or one of its children (Symfony\Component\Console for instance), + * the autoloader will first look for the class under the component/ + * directory, and it will then fallback to the framework/ directory if not + * found before giving up. + * + * This class is loosely based on the Symfony UniversalClassLoader. + * + * @author Fabien Potencier <fabien@symfony.com> + * @author Jordi Boggiano <j.boggiano@seld.be> + * @see https://www.php-fig.org/psr/psr-0/ + * @see https://www.php-fig.org/psr/psr-4/ + */ +class ClassLoader +{ + /** @var ?string */ + private $vendorDir; + + // PSR-4 + /** + * @var array[] + * @psalm-var array<string, array<string, int>> + */ + private $prefixLengthsPsr4 = array(); + /** + * @var array[] + * @psalm-var array<string, array<int, string>> + */ + private $prefixDirsPsr4 = array(); + /** + * @var array[] + * @psalm-var array<string, string> + */ + private $fallbackDirsPsr4 = array(); + + // PSR-0 + /** + * @var array[] + * @psalm-var array<string, array<string, string[]>> + */ + private $prefixesPsr0 = array(); + /** + * @var array[] + * @psalm-var array<string, string> + */ + private $fallbackDirsPsr0 = array(); + + /** @var bool */ + private $useIncludePath = false; + + /** + * @var string[] + * @psalm-var array<string, string> + */ + private $classMap = array(); + + /** @var bool */ + private $classMapAuthoritative = false; + + /** + * @var bool[] + * @psalm-var array<string, bool> + */ + private $missingClasses = array(); + + /** @var ?string */ + private $apcuPrefix; + + /** + * @var self[] + */ + private static $registeredLoaders = array(); + + /** + * @param ?string $vendorDir + */ + public function __construct($vendorDir = null) + { + $this->vendorDir = $vendorDir; + } + + /** + * @return string[] + */ + public function getPrefixes() + { + if (!empty($this->prefixesPsr0)) { + return call_user_func_array('array_merge', array_values($this->prefixesPsr0)); + } + + return array(); + } + + /** + * @return array[] + * @psalm-return array<string, array<int, string>> + */ + public function getPrefixesPsr4() + { + return $this->prefixDirsPsr4; + } + + /** + * @return array[] + * @psalm-return array<string, string> + */ + public function getFallbackDirs() + { + return $this->fallbackDirsPsr0; + } + + /** + * @return array[] + * @psalm-return array<string, string> + */ + public function getFallbackDirsPsr4() + { + return $this->fallbackDirsPsr4; + } + + /** + * @return string[] Array of classname => path + * @psalm-var array<string, string> + */ + public function getClassMap() + { + return $this->classMap; + } + + /** + * @param string[] $classMap Class to filename map + * @psalm-param array<string, string> $classMap + * + * @return void + */ + public function addClassMap(array $classMap) + { + if ($this->classMap) { + $this->classMap = array_merge($this->classMap, $classMap); + } else { + $this->classMap = $classMap; + } + } + + /** + * Registers a set of PSR-0 directories for a given prefix, either + * appending or prepending to the ones previously set for this prefix. + * + * @param string $prefix The prefix + * @param string[]|string $paths The PSR-0 root directories + * @param bool $prepend Whether to prepend the directories + * + * @return void + */ + public function add($prefix, $paths, $prepend = false) + { + if (!$prefix) { + if ($prepend) { + $this->fallbackDirsPsr0 = array_merge( + (array) $paths, + $this->fallbackDirsPsr0 + ); + } else { + $this->fallbackDirsPsr0 = array_merge( + $this->fallbackDirsPsr0, + (array) $paths + ); + } + + return; + } + + $first = $prefix[0]; + if (!isset($this->prefixesPsr0[$first][$prefix])) { + $this->prefixesPsr0[$first][$prefix] = (array) $paths; + + return; + } + if ($prepend) { + $this->prefixesPsr0[$first][$prefix] = array_merge( + (array) $paths, + $this->prefixesPsr0[$first][$prefix] + ); + } else { + $this->prefixesPsr0[$first][$prefix] = array_merge( + $this->prefixesPsr0[$first][$prefix], + (array) $paths + ); + } + } + + /** + * Registers a set of PSR-4 directories for a given namespace, either + * appending or prepending to the ones previously set for this namespace. + * + * @param string $prefix The prefix/namespace, with trailing '\\' + * @param string[]|string $paths The PSR-4 base directories + * @param bool $prepend Whether to prepend the directories + * + * @throws \InvalidArgumentException + * + * @return void + */ + public function addPsr4($prefix, $paths, $prepend = false) + { + if (!$prefix) { + // Register directories for the root namespace. + if ($prepend) { + $this->fallbackDirsPsr4 = array_merge( + (array) $paths, + $this->fallbackDirsPsr4 + ); + } else { + $this->fallbackDirsPsr4 = array_merge( + $this->fallbackDirsPsr4, + (array) $paths + ); + } + } elseif (!isset($this->prefixDirsPsr4[$prefix])) { + // Register directories for a new namespace. + $length = strlen($prefix); + if ('\\' !== $prefix[$length - 1]) { + throw new \InvalidArgumentException("A non-empty PSR-4 prefix must end with a namespace separator."); + } + $this->prefixLengthsPsr4[$prefix[0]][$prefix] = $length; + $this->prefixDirsPsr4[$prefix] = (array) $paths; + } elseif ($prepend) { + // Prepend directories for an already registered namespace. + $this->prefixDirsPsr4[$prefix] = array_merge( + (array) $paths, + $this->prefixDirsPsr4[$prefix] + ); + } else { + // Append directories for an already registered namespace. + $this->prefixDirsPsr4[$prefix] = array_merge( + $this->prefixDirsPsr4[$prefix], + (array) $paths + ); + } + } + + /** + * Registers a set of PSR-0 directories for a given prefix, + * replacing any others previously set for this prefix. + * + * @param string $prefix The prefix + * @param string[]|string $paths The PSR-0 base directories + * + * @return void + */ + public function set($prefix, $paths) + { + if (!$prefix) { + $this->fallbackDirsPsr0 = (array) $paths; + } else { + $this->prefixesPsr0[$prefix[0]][$prefix] = (array) $paths; + } + } + + /** + * Registers a set of PSR-4 directories for a given namespace, + * replacing any others previously set for this namespace. + * + * @param string $prefix The prefix/namespace, with trailing '\\' + * @param string[]|string $paths The PSR-4 base directories + * + * @throws \InvalidArgumentException + * + * @return void + */ + public function setPsr4($prefix, $paths) + { + if (!$prefix) { + $this->fallbackDirsPsr4 = (array) $paths; + } else { + $length = strlen($prefix); + if ('\\' !== $prefix[$length - 1]) { + throw new \InvalidArgumentException("A non-empty PSR-4 prefix must end with a namespace separator."); + } + $this->prefixLengthsPsr4[$prefix[0]][$prefix] = $length; + $this->prefixDirsPsr4[$prefix] = (array) $paths; + } + } + + /** + * Turns on searching the include path for class files. + * + * @param bool $useIncludePath + * + * @return void + */ + public function setUseIncludePath($useIncludePath) + { + $this->useIncludePath = $useIncludePath; + } + + /** + * Can be used to check if the autoloader uses the include path to check + * for classes. + * + * @return bool + */ + public function getUseIncludePath() + { + return $this->useIncludePath; + } + + /** + * Turns off searching the prefix and fallback directories for classes + * that have not been registered with the class map. + * + * @param bool $classMapAuthoritative + * + * @return void + */ + public function setClassMapAuthoritative($classMapAuthoritative) + { + $this->classMapAuthoritative = $classMapAuthoritative; + } + + /** + * Should class lookup fail if not found in the current class map? + * + * @return bool + */ + public function isClassMapAuthoritative() + { + return $this->classMapAuthoritative; + } + + /** + * APCu prefix to use to cache found/not-found classes, if the extension is enabled. + * + * @param string|null $apcuPrefix + * + * @return void + */ + public function setApcuPrefix($apcuPrefix) + { + $this->apcuPrefix = function_exists('apcu_fetch') && filter_var(ini_get('apc.enabled'), FILTER_VALIDATE_BOOLEAN) ? $apcuPrefix : null; + } + + /** + * The APCu prefix in use, or null if APCu caching is not enabled. + * + * @return string|null + */ + public function getApcuPrefix() + { + return $this->apcuPrefix; + } + + /** + * Registers this instance as an autoloader. + * + * @param bool $prepend Whether to prepend the autoloader or not + * + * @return void + */ + public function register($prepend = false) + { + spl_autoload_register(array($this, 'loadClass'), true, $prepend); + + if (null === $this->vendorDir) { + return; + } + + if ($prepend) { + self::$registeredLoaders = array($this->vendorDir => $this) + self::$registeredLoaders; + } else { + unset(self::$registeredLoaders[$this->vendorDir]); + self::$registeredLoaders[$this->vendorDir] = $this; + } + } + + /** + * Unregisters this instance as an autoloader. + * + * @return void + */ + public function unregister() + { + spl_autoload_unregister(array($this, 'loadClass')); + + if (null !== $this->vendorDir) { + unset(self::$registeredLoaders[$this->vendorDir]); + } + } + + /** + * Loads the given class or interface. + * + * @param string $class The name of the class + * @return true|null True if loaded, null otherwise + */ + public function loadClass($class) + { + if ($file = $this->findFile($class)) { + includeFile($file); + + return true; + } + + return null; + } + + /** + * Finds the path to the file where the class is defined. + * + * @param string $class The name of the class + * + * @return string|false The path if found, false otherwise + */ + public function findFile($class) + { + // class map lookup + if (isset($this->classMap[$class])) { + return $this->classMap[$class]; + } + if ($this->classMapAuthoritative || isset($this->missingClasses[$class])) { + return false; + } + if (null !== $this->apcuPrefix) { + $file = apcu_fetch($this->apcuPrefix.$class, $hit); + if ($hit) { + return $file; + } + } + + $file = $this->findFileWithExtension($class, '.php'); + + // Search for Hack files if we are running on HHVM + if (false === $file && defined('HHVM_VERSION')) { + $file = $this->findFileWithExtension($class, '.hh'); + } + + if (null !== $this->apcuPrefix) { + apcu_add($this->apcuPrefix.$class, $file); + } + + if (false === $file) { + // Remember that this class does not exist. + $this->missingClasses[$class] = true; + } + + return $file; + } + + /** + * Returns the currently registered loaders indexed by their corresponding vendor directories. + * + * @return self[] + */ + public static function getRegisteredLoaders() + { + return self::$registeredLoaders; + } + + /** + * @param string $class + * @param string $ext + * @return string|false + */ + private function findFileWithExtension($class, $ext) + { + // PSR-4 lookup + $logicalPathPsr4 = strtr($class, '\\', DIRECTORY_SEPARATOR) . $ext; + + $first = $class[0]; + if (isset($this->prefixLengthsPsr4[$first])) { + $subPath = $class; + while (false !== $lastPos = strrpos($subPath, '\\')) { + $subPath = substr($subPath, 0, $lastPos); + $search = $subPath . '\\'; + if (isset($this->prefixDirsPsr4[$search])) { + $pathEnd = DIRECTORY_SEPARATOR . substr($logicalPathPsr4, $lastPos + 1); + foreach ($this->prefixDirsPsr4[$search] as $dir) { + if (file_exists($file = $dir . $pathEnd)) { + return $file; + } + } + } + } + } + + // PSR-4 fallback dirs + foreach ($this->fallbackDirsPsr4 as $dir) { + if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr4)) { + return $file; + } + } + + // PSR-0 lookup + if (false !== $pos = strrpos($class, '\\')) { + // namespaced class name + $logicalPathPsr0 = substr($logicalPathPsr4, 0, $pos + 1) + . strtr(substr($logicalPathPsr4, $pos + 1), '_', DIRECTORY_SEPARATOR); + } else { + // PEAR-like class name + $logicalPathPsr0 = strtr($class, '_', DIRECTORY_SEPARATOR) . $ext; + } + + if (isset($this->prefixesPsr0[$first])) { + foreach ($this->prefixesPsr0[$first] as $prefix => $dirs) { + if (0 === strpos($class, $prefix)) { + foreach ($dirs as $dir) { + if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) { + return $file; + } + } + } + } + } + + // PSR-0 fallback dirs + foreach ($this->fallbackDirsPsr0 as $dir) { + if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) { + return $file; + } + } + + // PSR-0 include paths. + if ($this->useIncludePath && $file = stream_resolve_include_path($logicalPathPsr0)) { + return $file; + } + + return false; + } +} + +/** + * Scope isolated include. + * + * Prevents access to $this/self from included files. + * + * @param string $file + * @return void + * @private + */ +function includeFile($file) +{ + include $file; +} diff --git a/vendor/composer/InstalledVersions.php b/vendor/composer/InstalledVersions.php new file mode 100644 index 0000000..7c5502c --- /dev/null +++ b/vendor/composer/InstalledVersions.php @@ -0,0 +1,337 @@ +<?php + +/* + * This file is part of Composer. + * + * (c) Nils Adermann <naderman@naderman.de> + * Jordi Boggiano <j.boggiano@seld.be> + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Composer; + +use Composer\Autoload\ClassLoader; +use Composer\Semver\VersionParser; + +/** + * This class is copied in every Composer installed project and available to all + * + * See also https://getcomposer.org/doc/07-runtime.md#installed-versions + * + * To require its presence, you can require `composer-runtime-api ^2.0` + */ +class InstalledVersions +{ + private static $installed; + private static $canGetVendors; + private static $installedByVendor = array(); + + /** + * Returns a list of all package names which are present, either by being installed, replaced or provided + * + * @return string[] + * @psalm-return list<string> + */ + 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))); + } + + /** + * Returns a list of all package names with a specific type e.g. 'library' + * + * @param string $type + * @return string[] + * @psalm-return list<string> + */ + public static function getInstalledPackagesByType($type) + { + $packagesByType = array(); + + foreach (self::getInstalled() as $installed) { + foreach ($installed['versions'] as $name => $package) { + if (isset($package['type']) && $package['type'] === $type) { + $packagesByType[] = $name; + } + } + } + + return $packagesByType; + } + + /** + * Checks whether the given package is installed + * + * This also returns true if the package name is provided or replaced by another package + * + * @param string $packageName + * @param bool $includeDevRequirements + * @return bool + */ + public static function isInstalled($packageName, $includeDevRequirements = true) + { + foreach (self::getInstalled() as $installed) { + if (isset($installed['versions'][$packageName])) { + return $includeDevRequirements || empty($installed['versions'][$packageName]['dev_requirement']); + } + } + + return false; + } + + /** + * Checks whether the given package satisfies a version constraint + * + * e.g. If you want to know whether version 2.3+ of package foo/bar is installed, you would call: + * + * Composer\InstalledVersions::satisfies(new VersionParser, 'foo/bar', '^2.3') + * + * @param VersionParser $parser Install composer/semver to have access to this class and functionality + * @param string $packageName + * @param string|null $constraint A version constraint to check for, if you pass one you have to make sure composer/semver is required by your package + * @return bool + */ + public static function satisfies(VersionParser $parser, $packageName, $constraint) + { + $constraint = $parser->parseConstraints($constraint); + $provided = $parser->parseConstraints(self::getVersionRanges($packageName)); + + return $provided->matches($constraint); + } + + /** + * Returns a version constraint representing all the range(s) which are installed for a given package + * + * It is easier to use this via isInstalled() with the $constraint argument if you need to check + * whether a given version of a package is installed, and not just whether it exists + * + * @param string $packageName + * @return string Version constraint usable with composer/semver + */ + 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'); + } + + /** + * @param string $packageName + * @return string|null If the package is being replaced or provided but is not really installed, null will be returned as version, use satisfies or getVersionRanges if you need to know if a given version is present + */ + 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'); + } + + /** + * @param string $packageName + * @return string|null If the package is being replaced or provided but is not really installed, null will be returned as version, use satisfies or getVersionRanges if you need to know if a given version is present + */ + 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'); + } + + /** + * @param string $packageName + * @return string|null If the package is being replaced or provided but is not really installed, null will be returned as reference + */ + 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'); + } + + /** + * @param string $packageName + * @return string|null If the package is being replaced or provided but is not really installed, null will be returned as install path. Packages of type metapackages also have a null install path. + */ + public static function getInstallPath($packageName) + { + foreach (self::getInstalled() as $installed) { + if (!isset($installed['versions'][$packageName])) { + continue; + } + + return isset($installed['versions'][$packageName]['install_path']) ? $installed['versions'][$packageName]['install_path'] : null; + } + + throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed'); + } + + /** + * @return array + * @psalm-return array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string} + */ + public static function getRootPackage() + { + $installed = self::getInstalled(); + + return $installed[0]['root']; + } + + /** + * Returns the raw installed.php data for custom implementations + * + * @deprecated Use getAllRawData() instead which returns all datasets for all autoloaders present in the process. getRawData only returns the first dataset loaded, which may not be what you expect. + * @return array[] + * @psalm-return array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>} + */ + public static function getRawData() + { + @trigger_error('getRawData only returns the first dataset loaded, which may not be what you expect. Use getAllRawData() instead which returns all datasets for all autoloaders present in the process.', E_USER_DEPRECATED); + + if (null === self::$installed) { + // only require the installed.php file if this file is loaded from its dumped location, + // and not from its source location in the composer/composer package, see https://github.com/composer/composer/issues/9937 + if (substr(__DIR__, -8, 1) !== 'C') { + self::$installed = include __DIR__ . '/installed.php'; + } else { + self::$installed = array(); + } + } + + return self::$installed; + } + + /** + * Returns the raw data of all installed.php which are currently loaded for custom implementations + * + * @return array[] + * @psalm-return list<array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>}> + */ + public static function getAllRawData() + { + return self::getInstalled(); + } + + /** + * Lets you reload the static array from another file + * + * This is only useful for complex integrations in which a project needs to use + * this class but then also needs to execute another project's autoloader in process, + * and wants to ensure both projects have access to their version of installed.php. + * + * A typical case would be PHPUnit, where it would need to make sure it reads all + * the data it needs from this class, then call reload() with + * `require $CWD/vendor/composer/installed.php` (or similar) as input to make sure + * the project in which it runs can then also use this class safely, without + * interference between PHPUnit's dependencies and the project's dependencies. + * + * @param array[] $data A vendor/composer/installed.php data set + * @return void + * + * @psalm-param array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>} $data + */ + public static function reload($data) + { + self::$installed = $data; + self::$installedByVendor = array(); + } + + /** + * @return array[] + * @psalm-return list<array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>}> + */ + 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'; + if (null === self::$installed && strtr($vendorDir.'/composer', '\\', '/') === strtr(__DIR__, '\\', '/')) { + self::$installed = $installed[count($installed) - 1]; + } + } + } + } + + if (null === self::$installed) { + // only require the installed.php file if this file is loaded from its dumped location, + // and not from its source location in the composer/composer package, see https://github.com/composer/composer/issues/9937 + if (substr(__DIR__, -8, 1) !== 'C') { + self::$installed = require __DIR__ . '/installed.php'; + } else { + self::$installed = array(); + } + } + $installed[] = self::$installed; + + return $installed; + } +} diff --git a/vendor/composer/LICENSE b/vendor/composer/LICENSE new file mode 100644 index 0000000..f27399a --- /dev/null +++ b/vendor/composer/LICENSE @@ -0,0 +1,21 @@ + +Copyright (c) Nils Adermann, Jordi Boggiano + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is furnished +to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + diff --git a/vendor/composer/autoload_classmap.php b/vendor/composer/autoload_classmap.php new file mode 100644 index 0000000..b26f1b1 --- /dev/null +++ b/vendor/composer/autoload_classmap.php @@ -0,0 +1,10 @@ +<?php + +// autoload_classmap.php @generated by Composer + +$vendorDir = dirname(dirname(__FILE__)); +$baseDir = dirname($vendorDir); + +return array( + 'Composer\\InstalledVersions' => $vendorDir . '/composer/InstalledVersions.php', +); diff --git a/vendor/composer/autoload_namespaces.php b/vendor/composer/autoload_namespaces.php new file mode 100644 index 0000000..b7fc012 --- /dev/null +++ b/vendor/composer/autoload_namespaces.php @@ -0,0 +1,9 @@ +<?php + +// autoload_namespaces.php @generated by Composer + +$vendorDir = dirname(dirname(__FILE__)); +$baseDir = dirname($vendorDir); + +return array( +); diff --git a/vendor/composer/autoload_psr4.php b/vendor/composer/autoload_psr4.php new file mode 100644 index 0000000..b3948b3 --- /dev/null +++ b/vendor/composer/autoload_psr4.php @@ -0,0 +1,38 @@ +<?php + +// autoload_psr4.php @generated by Composer + +$vendorDir = dirname(dirname(__FILE__)); +$baseDir = dirname($vendorDir); + +return array( + 'gipfl\\ZfDb\\' => array($vendorDir . '/gipfl/zfdb/src'), + 'gipfl\\ZfDbStore\\' => array($vendorDir . '/gipfl/zfdbstore/src'), + 'gipfl\\Web\\' => array($vendorDir . '/gipfl/web/src'), + 'gipfl\\Translation\\' => array($vendorDir . '/gipfl/translation/src'), + 'gipfl\\SystemD\\' => array($vendorDir . '/gipfl/systemd/src'), + 'gipfl\\Stream\\' => array($vendorDir . '/gipfl/stream/src'), + 'gipfl\\Socket\\' => array($vendorDir . '/gipfl/socket/src'), + 'gipfl\\SimpleDaemon\\' => array($vendorDir . '/gipfl/simple-daemon/src'), + 'gipfl\\ReactUtils\\' => array($vendorDir . '/gipfl/react-utils/src'), + 'gipfl\\Protocol\\NetString\\' => array($vendorDir . '/gipfl/protocol-netstring/src'), + 'gipfl\\Protocol\\JsonRpc\\' => array($vendorDir . '/gipfl/protocol-jsonrpc/src'), + 'gipfl\\Protocol\\Generic\\' => array($vendorDir . '/gipfl/protocol/src/Generic'), + 'gipfl\\Protocol\\Exception\\' => array($vendorDir . '/gipfl/protocol/src/Exception'), + 'gipfl\\Process\\' => array($vendorDir . '/gipfl/process/src'), + 'gipfl\\OpenRpc\\' => array($vendorDir . '/gipfl/openrpc/src'), + 'gipfl\\Log\\' => array($vendorDir . '/gipfl/log/src'), + 'gipfl\\LinuxHealth\\' => array($vendorDir . '/gipfl/linux-health/src'), + 'gipfl\\Json\\' => array($vendorDir . '/gipfl/json/src'), + 'gipfl\\InfluxDb\\' => array($vendorDir . '/gipfl/influxdb/src'), + 'gipfl\\IcingaWeb2\\' => array($vendorDir . '/gipfl/icingaweb2/src'), + 'gipfl\\IcingaCliDaemon\\' => array($vendorDir . '/gipfl/icinga-cli-daemon/src'), + 'gipfl\\Format\\' => array($vendorDir . '/gipfl/format/src'), + 'gipfl\\Diff\\' => array($vendorDir . '/gipfl/diff/src'), + 'gipfl\\DbMigration\\' => array($vendorDir . '/gipfl/db-migration/src'), + 'gipfl\\DataType\\' => array($vendorDir . '/gipfl/data-type/src'), + 'gipfl\\Curl\\' => array($vendorDir . '/gipfl/curl/src'), + 'gipfl\\Cli\\' => array($vendorDir . '/gipfl/cli/src'), + 'gipfl\\Calendar\\' => array($vendorDir . '/gipfl/calendar/src'), + 'Psr\\Log\\' => array($vendorDir . '/psr/log/Psr/Log'), +); diff --git a/vendor/composer/autoload_real.php b/vendor/composer/autoload_real.php new file mode 100644 index 0000000..2fe188a --- /dev/null +++ b/vendor/composer/autoload_real.php @@ -0,0 +1,57 @@ +<?php + +// autoload_real.php @generated by Composer + +class ComposerAutoloaderInit684800034bdac0af606e9381dda72632 +{ + private static $loader; + + public static function loadClassLoader($class) + { + if ('Composer\Autoload\ClassLoader' === $class) { + require __DIR__ . '/ClassLoader.php'; + } + } + + /** + * @return \Composer\Autoload\ClassLoader + */ + public static function getLoader() + { + if (null !== self::$loader) { + return self::$loader; + } + + require __DIR__ . '/platform_check.php'; + + spl_autoload_register(array('ComposerAutoloaderInit684800034bdac0af606e9381dda72632', 'loadClassLoader'), true, true); + self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__))); + spl_autoload_unregister(array('ComposerAutoloaderInit684800034bdac0af606e9381dda72632', 'loadClassLoader')); + + $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded()); + if ($useStaticLoader) { + require __DIR__ . '/autoload_static.php'; + + call_user_func(\Composer\Autoload\ComposerStaticInit684800034bdac0af606e9381dda72632::getInitializer($loader)); + } else { + $map = require __DIR__ . '/autoload_namespaces.php'; + foreach ($map as $namespace => $path) { + $loader->set($namespace, $path); + } + + $map = require __DIR__ . '/autoload_psr4.php'; + foreach ($map as $namespace => $path) { + $loader->setPsr4($namespace, $path); + } + + $classMap = require __DIR__ . '/autoload_classmap.php'; + if ($classMap) { + $loader->addClassMap($classMap); + } + } + + $loader->register(true); + + return $loader; + } +} diff --git a/vendor/composer/autoload_static.php b/vendor/composer/autoload_static.php new file mode 100644 index 0000000..688c590 --- /dev/null +++ b/vendor/composer/autoload_static.php @@ -0,0 +1,179 @@ +<?php + +// autoload_static.php @generated by Composer + +namespace Composer\Autoload; + +class ComposerStaticInit684800034bdac0af606e9381dda72632 +{ + public static $prefixLengthsPsr4 = array ( + 'g' => + array ( + 'gipfl\\ZfDb\\' => 11, + 'gipfl\\ZfDbStore\\' => 16, + 'gipfl\\Web\\' => 10, + 'gipfl\\Translation\\' => 18, + 'gipfl\\SystemD\\' => 14, + 'gipfl\\Stream\\' => 13, + 'gipfl\\Socket\\' => 13, + 'gipfl\\SimpleDaemon\\' => 19, + 'gipfl\\ReactUtils\\' => 17, + 'gipfl\\Protocol\\NetString\\' => 25, + 'gipfl\\Protocol\\JsonRpc\\' => 23, + 'gipfl\\Protocol\\Generic\\' => 23, + 'gipfl\\Protocol\\Exception\\' => 25, + 'gipfl\\Process\\' => 14, + 'gipfl\\OpenRpc\\' => 14, + 'gipfl\\Log\\' => 10, + 'gipfl\\LinuxHealth\\' => 18, + 'gipfl\\Json\\' => 11, + 'gipfl\\InfluxDb\\' => 15, + 'gipfl\\IcingaWeb2\\' => 17, + 'gipfl\\IcingaCliDaemon\\' => 22, + 'gipfl\\Format\\' => 13, + 'gipfl\\Diff\\' => 11, + 'gipfl\\DbMigration\\' => 18, + 'gipfl\\DataType\\' => 15, + 'gipfl\\Curl\\' => 11, + 'gipfl\\Cli\\' => 10, + 'gipfl\\Calendar\\' => 15, + ), + 'P' => + array ( + 'Psr\\Log\\' => 8, + ), + ); + + public static $prefixDirsPsr4 = array ( + 'gipfl\\ZfDb\\' => + array ( + 0 => __DIR__ . '/..' . '/gipfl/zfdb/src', + ), + 'gipfl\\ZfDbStore\\' => + array ( + 0 => __DIR__ . '/..' . '/gipfl/zfdbstore/src', + ), + 'gipfl\\Web\\' => + array ( + 0 => __DIR__ . '/..' . '/gipfl/web/src', + ), + 'gipfl\\Translation\\' => + array ( + 0 => __DIR__ . '/..' . '/gipfl/translation/src', + ), + 'gipfl\\SystemD\\' => + array ( + 0 => __DIR__ . '/..' . '/gipfl/systemd/src', + ), + 'gipfl\\Stream\\' => + array ( + 0 => __DIR__ . '/..' . '/gipfl/stream/src', + ), + 'gipfl\\Socket\\' => + array ( + 0 => __DIR__ . '/..' . '/gipfl/socket/src', + ), + 'gipfl\\SimpleDaemon\\' => + array ( + 0 => __DIR__ . '/..' . '/gipfl/simple-daemon/src', + ), + 'gipfl\\ReactUtils\\' => + array ( + 0 => __DIR__ . '/..' . '/gipfl/react-utils/src', + ), + 'gipfl\\Protocol\\NetString\\' => + array ( + 0 => __DIR__ . '/..' . '/gipfl/protocol-netstring/src', + ), + 'gipfl\\Protocol\\JsonRpc\\' => + array ( + 0 => __DIR__ . '/..' . '/gipfl/protocol-jsonrpc/src', + ), + 'gipfl\\Protocol\\Generic\\' => + array ( + 0 => __DIR__ . '/..' . '/gipfl/protocol/src/Generic', + ), + 'gipfl\\Protocol\\Exception\\' => + array ( + 0 => __DIR__ . '/..' . '/gipfl/protocol/src/Exception', + ), + 'gipfl\\Process\\' => + array ( + 0 => __DIR__ . '/..' . '/gipfl/process/src', + ), + 'gipfl\\OpenRpc\\' => + array ( + 0 => __DIR__ . '/..' . '/gipfl/openrpc/src', + ), + 'gipfl\\Log\\' => + array ( + 0 => __DIR__ . '/..' . '/gipfl/log/src', + ), + 'gipfl\\LinuxHealth\\' => + array ( + 0 => __DIR__ . '/..' . '/gipfl/linux-health/src', + ), + 'gipfl\\Json\\' => + array ( + 0 => __DIR__ . '/..' . '/gipfl/json/src', + ), + 'gipfl\\InfluxDb\\' => + array ( + 0 => __DIR__ . '/..' . '/gipfl/influxdb/src', + ), + 'gipfl\\IcingaWeb2\\' => + array ( + 0 => __DIR__ . '/..' . '/gipfl/icingaweb2/src', + ), + 'gipfl\\IcingaCliDaemon\\' => + array ( + 0 => __DIR__ . '/..' . '/gipfl/icinga-cli-daemon/src', + ), + 'gipfl\\Format\\' => + array ( + 0 => __DIR__ . '/..' . '/gipfl/format/src', + ), + 'gipfl\\Diff\\' => + array ( + 0 => __DIR__ . '/..' . '/gipfl/diff/src', + ), + 'gipfl\\DbMigration\\' => + array ( + 0 => __DIR__ . '/..' . '/gipfl/db-migration/src', + ), + 'gipfl\\DataType\\' => + array ( + 0 => __DIR__ . '/..' . '/gipfl/data-type/src', + ), + 'gipfl\\Curl\\' => + array ( + 0 => __DIR__ . '/..' . '/gipfl/curl/src', + ), + 'gipfl\\Cli\\' => + array ( + 0 => __DIR__ . '/..' . '/gipfl/cli/src', + ), + 'gipfl\\Calendar\\' => + array ( + 0 => __DIR__ . '/..' . '/gipfl/calendar/src', + ), + 'Psr\\Log\\' => + array ( + 0 => __DIR__ . '/..' . '/psr/log/Psr/Log', + ), + ); + + public static $classMap = array ( + 'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php', + ); + + public static function getInitializer(ClassLoader $loader) + { + return \Closure::bind(function () use ($loader) { + $loader->prefixLengthsPsr4 = ComposerStaticInit684800034bdac0af606e9381dda72632::$prefixLengthsPsr4; + $loader->prefixDirsPsr4 = ComposerStaticInit684800034bdac0af606e9381dda72632::$prefixDirsPsr4; + $loader->classMap = ComposerStaticInit684800034bdac0af606e9381dda72632::$classMap; + + }, null, ClassLoader::class); + } +} diff --git a/vendor/composer/installed.json b/vendor/composer/installed.json new file mode 100644 index 0000000..961123c --- /dev/null +++ b/vendor/composer/installed.json @@ -0,0 +1,1350 @@ +{ + "packages": [ + { + "name": "gipfl/calendar", + "version": "v0.3.1", + "version_normalized": "0.3.1.0", + "source": { + "type": "git", + "url": "https://github.com/gipfl/calendar.git", + "reference": "fd57d12aa97dd4c2a115e5cae36097ffaed220b8" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/gipfl/calendar/zipball/fd57d12aa97dd4c2a115e5cae36097ffaed220b8", + "reference": "fd57d12aa97dd4c2a115e5cae36097ffaed220b8", + "shasum": "" + }, + "require": { + "gipfl/format": ">=0.3", + "gipfl/icingaweb2": ">=0.4.0", + "gipfl/translation": ">=0.1.1", + "php": ">=5.4.0" + }, + "time": "2023-01-16T14:08:24+00:00", + "type": "library", + "installation-source": "dist", + "autoload": { + "psr-4": { + "gipfl\\Calendar\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "authors": [ + { + "name": "Thomas Gelf", + "email": "thomas@gelf.net" + } + ], + "description": "Calendar Utils", + "homepage": "https://github.com/gipfl/calendar", + "keywords": [ + "calendar" + ], + "support": { + "issues": "https://github.com/gipfl/calendar/issues", + "source": "https://github.com/gipfl/calendar/tree/v0.3.1" + }, + "install-path": "../gipfl/calendar" + }, + { + "name": "gipfl/cli", + "version": "v0.6.0", + "version_normalized": "0.6.0.0", + "source": { + "type": "git", + "url": "https://github.com/gipfl/cli.git", + "reference": "536dec1fa605aa98aef32421cd70bf71e46406d0" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/gipfl/cli/zipball/536dec1fa605aa98aef32421cd70bf71e46406d0", + "reference": "536dec1fa605aa98aef32421cd70bf71e46406d0", + "shasum": "" + }, + "require": { + "ext-mbstring": "*", + "ext-pcntl": "*", + "ext-posix": "*", + "php": ">=5.6.0", + "react/promise": "^2", + "react/stream": ">=1.1" + }, + "require-dev": { + "react/child-process": ">=0.6" + }, + "time": "2022-10-07T13:11:48+00:00", + "type": "library", + "installation-source": "dist", + "autoload": { + "psr-4": { + "gipfl\\Cli\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Thomas Gelf", + "email": "thomas@gelf.net" + } + ], + "description": "CLI utilities", + "support": { + "issues": "https://github.com/gipfl/cli/issues", + "source": "https://github.com/gipfl/cli/tree/v0.6.0" + }, + "install-path": "../gipfl/cli" + }, + { + "name": "gipfl/curl", + "version": "v0.3.0", + "version_normalized": "0.3.0.0", + "source": { + "type": "git", + "url": "https://github.com/gipfl/curl.git", + "reference": "bc1373dff8ab247c734d019d0fe7d94521660b1f" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/gipfl/curl/zipball/bc1373dff8ab247c734d019d0fe7d94521660b1f", + "reference": "bc1373dff8ab247c734d019d0fe7d94521660b1f", + "shasum": "" + }, + "require": { + "ext-curl": "*", + "guzzlehttp/psr7": ">=1.6", + "php": ">=5.6.3", + "psr/http-message": "^1.0", + "react/event-loop": ">=1.0", + "react/promise": ">=2", + "react/stream": ">=1.0" + }, + "time": "2022-10-07T13:34:17+00:00", + "type": "library", + "installation-source": "dist", + "autoload": { + "psr-4": { + "gipfl\\Curl\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Thomas Gelf", + "email": "thomas@gelf.net" + } + ], + "description": "ReactPHP-friendly async CURL abstraction", + "support": { + "issues": "https://github.com/gipfl/curl/issues", + "source": "https://github.com/gipfl/curl/tree/v0.3.0" + }, + "install-path": "../gipfl/curl" + }, + { + "name": "gipfl/data-type", + "version": "v0.3.0", + "version_normalized": "0.3.0.0", + "source": { + "type": "git", + "url": "https://github.com/gipfl/data-type.git", + "reference": "eb81eaeef93adb15c6c5522154516eae0e2a8e48" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/gipfl/data-type/zipball/eb81eaeef93adb15c6c5522154516eae0e2a8e48", + "reference": "eb81eaeef93adb15c6c5522154516eae0e2a8e48", + "shasum": "" + }, + "require": { + "gipfl/json": ">=0.2.0", + "php": ">=5.6.0" + }, + "time": "2022-09-01T07:38:42+00:00", + "type": "library", + "installation-source": "dist", + "autoload": { + "psr-4": { + "gipfl\\DataType\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Thomas Gelf", + "email": "thomas@gelf.net" + } + ], + "description": "Serializable Data Types", + "support": { + "issues": "https://github.com/gipfl/data-type/issues", + "source": "https://github.com/gipfl/data-type/tree/v0.3.0" + }, + "install-path": "../gipfl/data-type" + }, + { + "name": "gipfl/db-migration", + "version": "v0.1.1", + "version_normalized": "0.1.1.0", + "source": { + "type": "git", + "url": "https://github.com/gipfl/db-migration.git", + "reference": "12be94b0c83a5e018c9d3d42fe8e98b4cbe248ee" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/gipfl/db-migration/zipball/12be94b0c83a5e018c9d3d42fe8e98b4cbe248ee", + "reference": "12be94b0c83a5e018c9d3d42fe8e98b4cbe248ee", + "shasum": "" + }, + "require": { + "php": ">=5.6" + }, + "time": "2021-11-11T15:40:11+00:00", + "type": "library", + "installation-source": "dist", + "autoload": { + "psr-4": { + "gipfl\\DbMigration\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "description": "Simple DB migration helper", + "support": { + "issues": "https://github.com/gipfl/db-migration/issues", + "source": "https://github.com/gipfl/db-migration/tree/v0.1.1" + }, + "install-path": "../gipfl/db-migration" + }, + { + "name": "gipfl/diff", + "version": "v0.3.0", + "version_normalized": "0.3.0.0", + "source": { + "type": "git", + "url": "https://github.com/gipfl/diff.git", + "reference": "f9decb9cf20735d6cbe6f508aafd8a720922804b" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/gipfl/diff/zipball/f9decb9cf20735d6cbe6f508aafd8a720922804b", + "reference": "f9decb9cf20735d6cbe6f508aafd8a720922804b", + "shasum": "" + }, + "require": { + "ext-mbstring": "*", + "ipl/html": ">=0.2", + "php": ">=5.6.0" + }, + "time": "2022-04-18T11:39:03+00:00", + "type": "library", + "installation-source": "dist", + "autoload": { + "psr-4": { + "gipfl\\Diff\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Thomas Gelf", + "email": "thomas@gelf.net" + } + ], + "description": "php-diff wrapper supporting ipl/html", + "support": { + "issues": "https://github.com/gipfl/diff/issues", + "source": "https://github.com/gipfl/diff/tree/v0.3.0" + }, + "install-path": "../gipfl/diff" + }, + { + "name": "gipfl/format", + "version": "v0.4.0", + "version_normalized": "0.4.0.0", + "source": { + "type": "git", + "url": "https://github.com/gipfl/format.git", + "reference": "87bd240f80baac73d18aeaf11ef389d94c56c8a0" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/gipfl/format/zipball/87bd240f80baac73d18aeaf11ef389d94c56c8a0", + "reference": "87bd240f80baac73d18aeaf11ef389d94c56c8a0", + "shasum": "" + }, + "require": { + "ext-intl": "*", + "php": ">=5.6.0" + }, + "require-dev": { + "phpunit/phpunit": "^9.3 || ^7.5 || ^6.5 || ^5.7", + "squizlabs/php_codesniffer": "^3.6" + }, + "time": "2023-01-16T11:46:49+00:00", + "type": "library", + "installation-source": "dist", + "autoload": { + "psr-4": { + "gipfl\\Format\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Thomas Gelf", + "email": "thomas@gelf.net" + } + ], + "description": "Arbitrary collection of Format helpers", + "support": { + "issues": "https://github.com/gipfl/format/issues", + "source": "https://github.com/gipfl/format/tree/v0.4.0" + }, + "install-path": "../gipfl/format" + }, + { + "name": "gipfl/icinga-bundles", + "version": "v0.7.0", + "version_normalized": "0.7.0.0", + "source": { + "type": "git", + "url": "https://github.com/gipfl/icinga-bundles.git", + "reference": "d28e12218c07174795e07d7ad235d3fac2a6be53" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/gipfl/icinga-bundles/zipball/d28e12218c07174795e07d7ad235d3fac2a6be53", + "reference": "d28e12218c07174795e07d7ad235d3fac2a6be53", + "shasum": "" + }, + "require": { + "ext-json": "*" + }, + "replace": { + "clue/block-react": "v1.4.0", + "clue/buzz-react": "v2.7.0", + "clue/connection-manager-extra": "v1.1.0", + "clue/http-proxy-react": "v1.5.0", + "clue/mq-react": "v1.2.0", + "clue/redis-protocol": "v0.3.1", + "clue/redis-react": "v2.3.0", + "clue/soap-react": "v1.0.0", + "clue/socket-raw": "v1.4.1", + "clue/socks-react": "v1.1.0", + "clue/stdio-react": "v2.3.0", + "clue/term-react": "v1.2.0", + "clue/utf8-react": "v1.1.0", + "evenement/evenement": "v2.1.0", + "guzzlehttp/psr7": "1.6.1", + "ipl/html": "v0.3.0", + "ipl/orm": "v0.1.0", + "ipl/sql": "v0.1.0", + "ipl/stdlib": "v0.5.0", + "ipl/validator": "v0.1.0", + "ipl/web": "v0.1.0", + "paragonie/random_compat": "v2.0.18", + "predis/predis": "v1.1.6", + "psr/http-message": "1.0.1", + "ralouphie/getallheaders": "3.0.3", + "ramsey/uuid": "3.9.3", + "react/cache": "v1.1.0", + "react/child-process": "v0.6.1", + "react/datagram": "v1.5.0", + "react/dns": "v1.4.0", + "react/event-loop": "v1.1.1", + "react/http": "v1.1.0", + "react/http-client": "v0.5.10", + "react/promise": "v2.8.0", + "react/promise-stream": "v1.2.0", + "react/promise-timer": "v1.6.0", + "react/socket": "v1.6.0", + "react/stream": "v1.1.1", + "ringcentral/psr7": "1.3.0", + "symfony/polyfill-ctype": "v1.18.1" + }, + "time": "2020-10-08T17:20:30+00:00", + "type": "metapackage", + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Thomas Gelf", + "email": "thomas@gelf.net" + } + ], + "description": "Provides (replaces) all packages provided by ipl and reactbundle", + "support": { + "issues": "https://github.com/gipfl/icinga-bundles/issues", + "source": "https://github.com/gipfl/icinga-bundles/tree/v0.7.0" + }, + "install-path": null + }, + { + "name": "gipfl/icinga-cli-daemon", + "version": "v0.3.2", + "version_normalized": "0.3.2.0", + "source": { + "type": "git", + "url": "https://github.com/gipfl/icinga-cli-daemon.git", + "reference": "19e1b203108fda37de39488fd8ff7ea392a42f03" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/gipfl/icinga-cli-daemon/zipball/19e1b203108fda37de39488fd8ff7ea392a42f03", + "reference": "19e1b203108fda37de39488fd8ff7ea392a42f03", + "shasum": "" + }, + "require": { + "ext-posix": "*", + "gipfl/cli": ">=0.5.0", + "php": ">=5.6.3", + "react/event-loop": ">=1.1", + "react/promise": ">=2.7" + }, + "time": "2021-10-13T08:49:48+00:00", + "type": "library", + "installation-source": "dist", + "autoload": { + "psr-4": { + "gipfl\\IcingaCliDaemon\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "description": "Helpers for Icinga CLI Daemons", + "homepage": "https://github.com/gipfl/icinga-cli-daemon", + "support": { + "issues": "https://github.com/gipfl/icinga-cli-daemon/issues", + "source": "https://github.com/gipfl/icinga-cli-daemon/tree/v0.3.2" + }, + "install-path": "../gipfl/icinga-cli-daemon" + }, + { + "name": "gipfl/icingaweb2", + "version": "v0.10.0", + "version_normalized": "0.10.0.0", + "source": { + "type": "git", + "url": "https://github.com/gipfl/icingaweb2.git", + "reference": "36a2ca4739a0de7ffc365e625bcb81979aca3435" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/gipfl/icingaweb2/zipball/36a2ca4739a0de7ffc365e625bcb81979aca3435", + "reference": "36a2ca4739a0de7ffc365e625bcb81979aca3435", + "shasum": "" + }, + "require": { + "ext-ctype": "*", + "gipfl/format": ">=0.3", + "gipfl/translation": ">=0.1", + "ipl/html": ">=0.2.1", + "php": ">=5.6" + }, + "time": "2023-01-16T13:50:24+00:00", + "type": "library", + "installation-source": "dist", + "autoload": { + "psr-4": { + "gipfl\\IcingaWeb2\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "description": "Helpers and glue for Icinga Web 2", + "homepage": "https://github.com/gipfl/icingaweb2", + "support": { + "issues": "https://github.com/gipfl/icingaweb2/issues", + "source": "https://github.com/gipfl/icingaweb2/tree/v0.10.0" + }, + "install-path": "../gipfl/icingaweb2" + }, + { + "name": "gipfl/influxdb", + "version": "v0.5.0", + "version_normalized": "0.5.0.0", + "source": { + "type": "git", + "url": "https://github.com/gipfl/influxdb.git", + "reference": "0b7b46ceecb1a6c9fcd738973f773d23d97b374a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/gipfl/influxdb/zipball/0b7b46ceecb1a6c9fcd738973f773d23d97b374a", + "reference": "0b7b46ceecb1a6c9fcd738973f773d23d97b374a", + "shasum": "" + }, + "require": { + "ext-ctype": "*", + "ext-pcntl": "*", + "gipfl/curl": ">=0.1.1", + "gipfl/json": ">=0.2", + "php": ">=5.6.0", + "react/event-loop": ">=1.1" + }, + "time": "2022-10-07T13:57:22+00:00", + "type": "library", + "installation-source": "dist", + "autoload": { + "psr-4": { + "gipfl\\InfluxDb\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Thomas Gelf", + "email": "thomas@gelf.net" + } + ], + "description": "InfluxDB client library", + "support": { + "issues": "https://github.com/gipfl/influxdb/issues", + "source": "https://github.com/gipfl/influxdb/tree/v0.5.0" + }, + "install-path": "../gipfl/influxdb" + }, + { + "name": "gipfl/json", + "version": "v0.2.0", + "version_normalized": "0.2.0.0", + "source": { + "type": "git", + "url": "https://github.com/gipfl/json.git", + "reference": "5635790a19150beeece9edc67e82ecddc52ff4fb" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/gipfl/json/zipball/5635790a19150beeece9edc67e82ecddc52ff4fb", + "reference": "5635790a19150beeece9edc67e82ecddc52ff4fb", + "shasum": "" + }, + "require": { + "ext-json": "*" + }, + "time": "2021-11-18T12:48:06+00:00", + "type": "library", + "installation-source": "dist", + "autoload": { + "psr-4": { + "gipfl\\Json\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Thomas Gelf", + "email": "thomas@gelf.net" + } + ], + "description": "Simple JSON-related helper classes and interfaces", + "support": { + "issues": "https://github.com/gipfl/json/issues", + "source": "https://github.com/gipfl/json/tree/v0.2.0" + }, + "install-path": "../gipfl/json" + }, + { + "name": "gipfl/linux-health", + "version": "v0.2.0", + "version_normalized": "0.2.0.0", + "source": { + "type": "git", + "url": "https://github.com/gipfl/linux-health.git", + "reference": "4d212535565f353f88c9eef3ecb54e20c40b8b37" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/gipfl/linux-health/zipball/4d212535565f353f88c9eef3ecb54e20c40b8b37", + "reference": "4d212535565f353f88c9eef3ecb54e20c40b8b37", + "shasum": "" + }, + "require": { + "php": ">=5.4.0" + }, + "time": "2020-07-30T09:11:27+00:00", + "type": "library", + "installation-source": "dist", + "autoload": { + "psr-4": { + "gipfl\\LinuxHealth\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Thomas Gelf", + "email": "thomas@gelf.net" + } + ], + "description": "Various little Linux Health based classes", + "support": { + "issues": "https://github.com/gipfl/linux-health/issues", + "source": "https://github.com/gipfl/linux-health/tree/master" + }, + "install-path": "../gipfl/linux-health" + }, + { + "name": "gipfl/log", + "version": "v0.7.0", + "version_normalized": "0.7.0.0", + "source": { + "type": "git", + "url": "https://github.com/gipfl/log.git", + "reference": "df770bdc9c09b0428831345af7ce7d45a0c3a1bb" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/gipfl/log/zipball/df770bdc9c09b0428831345af7ce7d45a0c3a1bb", + "reference": "df770bdc9c09b0428831345af7ce7d45a0c3a1bb", + "shasum": "" + }, + "require": { + "ext-iconv": "*", + "php": ">=5.6.0", + "psr/log": "^1" + }, + "require-dev": { + "gipfl/protocol-jsonrpc": ">=0.2", + "gipfl/systemd": ">=0.3" + }, + "time": "2021-11-11T15:39:23+00:00", + "type": "library", + "installation-source": "dist", + "autoload": { + "psr-4": { + "gipfl\\Log\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Thomas Gelf", + "email": "thomas@gelf.net" + } + ], + "description": "Lightweight PSR-3 compatible logger", + "support": { + "issues": "https://github.com/gipfl/log/issues", + "source": "https://github.com/gipfl/log/tree/v0.7.0" + }, + "install-path": "../gipfl/log" + }, + { + "name": "gipfl/openrpc", + "version": "v0.2.1", + "version_normalized": "0.2.1.0", + "source": { + "type": "git", + "url": "https://github.com/gipfl/openrpc.git", + "reference": "a29b8da2cdaf7d757d86aa0fe6d719cf68fb95ad" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/gipfl/openrpc/zipball/a29b8da2cdaf7d757d86aa0fe6d719cf68fb95ad", + "reference": "a29b8da2cdaf7d757d86aa0fe6d719cf68fb95ad", + "shasum": "" + }, + "require": { + "ext-json": "*", + "php": ">=5.6.0" + }, + "time": "2021-11-29T13:53:50+00:00", + "type": "library", + "installation-source": "dist", + "autoload": { + "psr-4": { + "gipfl\\OpenRpc\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Thomas Gelf", + "email": "thomas@gelf.net" + } + ], + "description": "OpenRPC Connection implementation", + "support": { + "issues": "https://github.com/gipfl/openrpc/issues", + "source": "https://github.com/gipfl/openrpc/tree/v0.2.1" + }, + "install-path": "../gipfl/openrpc" + }, + { + "name": "gipfl/process", + "version": "v0.4.0", + "version_normalized": "0.4.0.0", + "source": { + "type": "git", + "url": "https://github.com/gipfl/process.git", + "reference": "ddbc3971cf56b35ce17d7cc8aaf241e87a792938" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/gipfl/process/zipball/ddbc3971cf56b35ce17d7cc8aaf241e87a792938", + "reference": "ddbc3971cf56b35ce17d7cc8aaf241e87a792938", + "shasum": "" + }, + "require": { + "ext-json": "*", + "gipfl/json": ">=0.1", + "gipfl/linux-health": ">=0.2", + "php": ">=5.6.0", + "react/child-process": ">=0.6", + "react/promise": "^2" + }, + "time": "2022-09-02T09:03:58+00:00", + "type": "library", + "installation-source": "dist", + "autoload": { + "psr-4": { + "gipfl\\Process\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Thomas Gelf", + "email": "thomas@gelf.net" + } + ], + "description": "Process-related utility classes", + "support": { + "issues": "https://github.com/gipfl/process/issues", + "source": "https://github.com/gipfl/process/tree/v0.4.0" + }, + "install-path": "../gipfl/process" + }, + { + "name": "gipfl/protocol", + "version": "v0.2.0", + "version_normalized": "0.2.0.0", + "source": { + "type": "git", + "url": "https://github.com/gipfl/protocol.git", + "reference": "bf1a0e160fe6f74c6be60be569c466d57551e73d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/gipfl/protocol/zipball/bf1a0e160fe6f74c6be60be569c466d57551e73d", + "reference": "bf1a0e160fe6f74c6be60be569c466d57551e73d", + "shasum": "" + }, + "require": { + "evenement/evenement": "^2", + "php": ">=5.4.0", + "react/stream": "^1.0" + }, + "time": "2020-09-22T04:22:23+00:00", + "type": "library", + "installation-source": "dist", + "autoload": { + "psr-4": { + "gipfl\\Protocol\\Generic\\": "src/Generic", + "gipfl\\Protocol\\Exception\\": "src/Exception" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Thomas Gelf", + "email": "thomas@gelf.net" + } + ], + "description": "Base library for some network protocol implementations", + "support": { + "issues": "https://github.com/gipfl/protocol/issues", + "source": "https://github.com/gipfl/protocol/tree/v0.2.0" + }, + "install-path": "../gipfl/protocol" + }, + { + "name": "gipfl/protocol-jsonrpc", + "version": "v0.11.0", + "version_normalized": "0.11.0.0", + "source": { + "type": "git", + "url": "https://github.com/gipfl/protocol-jsonrpc.git", + "reference": "30b0241c67019746fce0b464543d8f936bdb9b68" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/gipfl/protocol-jsonrpc/zipball/30b0241c67019746fce0b464543d8f936bdb9b68", + "reference": "30b0241c67019746fce0b464543d8f936bdb9b68", + "shasum": "" + }, + "require": { + "ext-json": "*", + "gipfl/json": ">=0.1", + "gipfl/openrpc": "^0.2.1", + "gipfl/protocol": ">=0.2", + "php": ">=5.6.0", + "psr/log": ">=1.1", + "react/promise": ">=2.7", + "react/stream": ">=1.0" + }, + "require-dev": { + "phpunit/phpunit": "^9.3 || ^7.5 || ^6.5 || ^5.7", + "squizlabs/php_codesniffer": "^3.6" + }, + "time": "2023-01-16T13:58:38+00:00", + "type": "library", + "installation-source": "dist", + "autoload": { + "psr-4": { + "gipfl\\Protocol\\JsonRpc\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Thomas Gelf", + "email": "thomas@gelf.net" + } + ], + "description": "JsonRPC Connection implementation", + "support": { + "issues": "https://github.com/gipfl/protocol-jsonrpc/issues", + "source": "https://github.com/gipfl/protocol-jsonrpc/tree/v0.11.0" + }, + "install-path": "../gipfl/protocol-jsonrpc" + }, + { + "name": "gipfl/protocol-netstring", + "version": "v0.1.1", + "version_normalized": "0.1.1.0", + "source": { + "type": "git", + "url": "https://github.com/gipfl/protocol-netstring.git", + "reference": "c0021ea9d69883760ac176121041a05c9a51ca11" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/gipfl/protocol-netstring/zipball/c0021ea9d69883760ac176121041a05c9a51ca11", + "reference": "c0021ea9d69883760ac176121041a05c9a51ca11", + "shasum": "" + }, + "require": { + "ext-ctype": "*", + "gipfl/protocol": ">=0.2", + "php": ">=5.4.0" + }, + "time": "2020-10-08T23:38:20+00:00", + "type": "library", + "installation-source": "dist", + "autoload": { + "psr-4": { + "gipfl\\Protocol\\NetString\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Thomas Gelf", + "email": "thomas@gelf.net" + } + ], + "description": "Simple NetString stream wrapper", + "support": { + "issues": "https://github.com/gipfl/protocol-netstring/issues", + "source": "https://github.com/gipfl/protocol-netstring/tree/v0.1.1" + }, + "install-path": "../gipfl/protocol-netstring" + }, + { + "name": "gipfl/react-utils", + "version": "v0.3.0", + "version_normalized": "0.3.0.0", + "source": { + "type": "git", + "url": "https://github.com/gipfl/react-utils.git", + "reference": "37ff2daa4bcc36aced4cc9df5198caad519d7bdb" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/gipfl/react-utils/zipball/37ff2daa4bcc36aced4cc9df5198caad519d7bdb", + "reference": "37ff2daa4bcc36aced4cc9df5198caad519d7bdb", + "shasum": "" + }, + "require": { + "gipfl/log": ">=0.1", + "php": ">=5.6.0" + }, + "time": "2021-10-29T12:17:04+00:00", + "type": "library", + "installation-source": "dist", + "autoload": { + "psr-4": { + "gipfl\\ReactUtils\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Thomas Gelf", + "email": "thomas@gelf.net" + } + ], + "description": "Useful ReactPHP-related helper classes and methods", + "support": { + "issues": "https://github.com/gipfl/react-utils/issues", + "source": "https://github.com/gipfl/react-utils/tree/v0.3.0" + }, + "install-path": "../gipfl/react-utils" + }, + { + "name": "gipfl/simple-daemon", + "version": "v0.6.0", + "version_normalized": "0.6.0.0", + "source": { + "type": "git", + "url": "https://github.com/gipfl/simple-daemon.git", + "reference": "b7cd3be54c171d20c6692dbb331a3ae6fe90f276" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/gipfl/simple-daemon/zipball/b7cd3be54c171d20c6692dbb331a3ae6fe90f276", + "reference": "b7cd3be54c171d20c6692dbb331a3ae6fe90f276", + "shasum": "" + }, + "require": { + "evenement/evenement": "*", + "ext-pcntl": "*", + "gipfl/cli": ">=0.5", + "gipfl/json": ">=0.1", + "gipfl/systemd": ">=0.3", + "php": ">=5.6.0", + "psr/log": ">=1.0", + "react/event-loop": ">=1.1", + "react/promise": "^2", + "react/promise-timer": ">=1.5" + }, + "time": "2022-10-07T14:08:26+00:00", + "type": "library", + "installation-source": "dist", + "autoload": { + "psr-4": { + "gipfl\\SimpleDaemon\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Thomas Gelf", + "email": "thomas@gelf.net" + } + ], + "description": "Run a simple daemon", + "support": { + "issues": "https://github.com/gipfl/simple-daemon/issues", + "source": "https://github.com/gipfl/simple-daemon/tree/v0.6.0" + }, + "install-path": "../gipfl/simple-daemon" + }, + { + "name": "gipfl/socket", + "version": "v0.4.0", + "version_normalized": "0.4.0.0", + "source": { + "type": "git", + "url": "https://github.com/gipfl/socket.git", + "reference": "1a2c78709e0bcf7de2469860fbfa807a4bcee555" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/gipfl/socket/zipball/1a2c78709e0bcf7de2469860fbfa807a4bcee555", + "reference": "1a2c78709e0bcf7de2469860fbfa807a4bcee555", + "shasum": "" + }, + "require": { + "evenement/evenement": ">=2.0", + "ext-posix": "*", + "ext-sockets": "*", + "gipfl/json": ">=0.1", + "php": ">=5.6.0", + "react/event-loop": ">=1.0", + "react/socket": ">=1.0" + }, + "time": "2021-12-02T02:23:18+00:00", + "type": "library", + "installation-source": "dist", + "autoload": { + "psr-4": { + "gipfl\\Socket\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Thomas Gelf", + "email": "thomas@gelf.net" + } + ], + "description": "Helpful ReactPHP socket utility classes", + "support": { + "issues": "https://github.com/gipfl/socket/issues", + "source": "https://github.com/gipfl/socket/tree/v0.4.0" + }, + "install-path": "../gipfl/socket" + }, + { + "name": "gipfl/stream", + "version": "v0.2.0", + "version_normalized": "0.2.0.0", + "source": { + "type": "git", + "url": "https://github.com/gipfl/stream.git", + "reference": "ae0f8f4fd47a6dcc57885b232e239b0ba82889a3" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/gipfl/stream/zipball/ae0f8f4fd47a6dcc57885b232e239b0ba82889a3", + "reference": "ae0f8f4fd47a6dcc57885b232e239b0ba82889a3", + "shasum": "" + }, + "require": { + "react/event-loop": ">=1.0", + "react/stream": ">=1.0" + }, + "require-dev": { + "gipfl/test": ">=0.1.1", + "phpunit/phpunit": "^9.3 || ^7.5 || ^6.5 || ^5.7", + "squizlabs/php_codesniffer": "^3.6" + }, + "time": "2021-11-27T12:17:36+00:00", + "type": "library", + "installation-source": "dist", + "autoload": { + "psr-4": { + "gipfl\\Stream\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Thomas Gelf", + "email": "thomas@gelf.net" + } + ], + "description": "Helpful ReactPHP stream utility classes", + "support": { + "issues": "https://github.com/gipfl/stream/issues", + "source": "https://github.com/gipfl/stream/tree/v0.2.0" + }, + "install-path": "../gipfl/stream" + }, + { + "name": "gipfl/systemd", + "version": "v0.3.0", + "version_normalized": "0.3.0.0", + "source": { + "type": "git", + "url": "https://github.com/gipfl/systemd.git", + "reference": "ccfabb352a9ea9fd33d4cb426bc3793a651bf466" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/gipfl/systemd/zipball/ccfabb352a9ea9fd33d4cb426bc3793a651bf466", + "reference": "ccfabb352a9ea9fd33d4cb426bc3793a651bf466", + "shasum": "" + }, + "require": { + "ext-posix": "*", + "ext-sockets": "*", + "php": ">=5.6.3", + "react/event-loop": "^1.0" + }, + "time": "2020-11-13T22:35:11+00:00", + "type": "library", + "installation-source": "dist", + "autoload": { + "psr-4": { + "gipfl\\SystemD\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Thomas Gelf", + "email": "thomas@gelf.net" + } + ], + "description": "SystemD-related library", + "support": { + "issues": "https://github.com/gipfl/systemd/issues", + "source": "https://github.com/gipfl/systemd/tree/v0.3.0" + }, + "install-path": "../gipfl/systemd" + }, + { + "name": "gipfl/translation", + "version": "v0.1.1", + "version_normalized": "0.1.1.0", + "source": { + "type": "git", + "url": "https://github.com/gipfl/translation.git", + "reference": "e974e6a2f0b524678b6554ee0046b5dd5f70a25d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/gipfl/translation/zipball/e974e6a2f0b524678b6554ee0046b5dd5f70a25d", + "reference": "e974e6a2f0b524678b6554ee0046b5dd5f70a25d", + "shasum": "" + }, + "require": { + "php": ">=5.4.0" + }, + "time": "2019-09-17T20:36:20+00:00", + "type": "library", + "installation-source": "dist", + "autoload": { + "psr-4": { + "gipfl\\Translation\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Thomas Gelf", + "email": "thomas@gelf.net" + } + ], + "description": "Translation helpers", + "support": { + "issues": "https://github.com/gipfl/translation/issues", + "source": "https://github.com/gipfl/translation/tree/master" + }, + "install-path": "../gipfl/translation" + }, + { + "name": "gipfl/web", + "version": "v0.11.0", + "version_normalized": "0.11.0.0", + "source": { + "type": "git", + "url": "https://github.com/gipfl/web.git", + "reference": "d331fe195f7bab08561ee015ba56edeb334a1533" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/gipfl/web/zipball/d331fe195f7bab08561ee015ba56edeb334a1533", + "reference": "d331fe195f7bab08561ee015ba56edeb334a1533", + "shasum": "" + }, + "require": { + "gipfl/translation": ">=0.1.1", + "ipl/html": ">=0.3", + "php": ">=5.6.0" + }, + "time": "2022-09-01T07:25:09+00:00", + "type": "library", + "installation-source": "dist", + "autoload": { + "psr-4": { + "gipfl\\Web\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Thomas Gelf", + "email": "thomas@gelf.net" + } + ], + "description": "Various web widgets", + "support": { + "issues": "https://github.com/gipfl/web/issues", + "source": "https://github.com/gipfl/web/tree/v0.11.0" + }, + "install-path": "../gipfl/web" + }, + { + "name": "gipfl/zfdb", + "version": "v0.4.0", + "version_normalized": "0.4.0.0", + "source": { + "type": "git", + "url": "https://github.com/gipfl/zfdb.git", + "reference": "beb7ceabc80e8c81f0e237afcfb064a67e1432d6" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/gipfl/zfdb/zipball/beb7ceabc80e8c81f0e237afcfb064a67e1432d6", + "reference": "beb7ceabc80e8c81f0e237afcfb064a67e1432d6", + "shasum": "" + }, + "require": { + "php": ">=5.4" + }, + "time": "2022-08-30T13:10:26+00:00", + "type": "library", + "installation-source": "dist", + "autoload": { + "psr-4": { + "gipfl\\ZfDb\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "description": "Zend_Db from Zend Framework 1. For compatibility reasons only", + "support": { + "issues": "https://github.com/gipfl/zfdb/issues", + "source": "https://github.com/gipfl/zfdb/tree/v0.4.0" + }, + "install-path": "../gipfl/zfdb" + }, + { + "name": "gipfl/zfdbstore", + "version": "v0.3.0", + "version_normalized": "0.3.0.0", + "source": { + "type": "git", + "url": "https://github.com/gipfl/zfdbstore.git", + "reference": "5296226865a0c053f29f57a1bccd50b17cab5248" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/gipfl/zfdbstore/zipball/5296226865a0c053f29f57a1bccd50b17cab5248", + "reference": "5296226865a0c053f29f57a1bccd50b17cab5248", + "shasum": "" + }, + "require": { + "php": ">=5.6" + }, + "time": "2023-01-16T13:54:52+00:00", + "type": "library", + "installation-source": "dist", + "autoload": { + "psr-4": { + "gipfl\\ZfDbStore\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "description": "Storable class helpers for ZfDb", + "support": { + "issues": "https://github.com/gipfl/zfdbstore/issues", + "source": "https://github.com/gipfl/zfdbstore/tree/v0.3.0" + }, + "install-path": "../gipfl/zfdbstore" + }, + { + "name": "psr/log", + "version": "1.1.4", + "version_normalized": "1.1.4.0", + "source": { + "type": "git", + "url": "https://github.com/php-fig/log.git", + "reference": "d49695b909c3b7628b6289db5479a1c204601f11" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/log/zipball/d49695b909c3b7628b6289db5479a1c204601f11", + "reference": "d49695b909c3b7628b6289db5479a1c204601f11", + "shasum": "" + }, + "require": { + "php": ">=5.3.0" + }, + "time": "2021-05-03T11:20:27+00:00", + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.1.x-dev" + } + }, + "installation-source": "dist", + "autoload": { + "psr-4": { + "Psr\\Log\\": "Psr/Log/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "https://www.php-fig.org/" + } + ], + "description": "Common interface for logging libraries", + "homepage": "https://github.com/php-fig/log", + "keywords": [ + "log", + "psr", + "psr-3" + ], + "support": { + "source": "https://github.com/php-fig/log/tree/1.1.4" + }, + "install-path": "../psr/log" + } + ], + "dev": true, + "dev-package-names": [] +} diff --git a/vendor/composer/installed.php b/vendor/composer/installed.php new file mode 100644 index 0000000..f7e4184 --- /dev/null +++ b/vendor/composer/installed.php @@ -0,0 +1,524 @@ +<?php return array( + 'root' => array( + 'pretty_version' => 'dev-master', + 'version' => 'dev-master', + 'type' => 'library', + 'install_path' => __DIR__ . '/../../', + 'aliases' => array(), + 'reference' => '03cc0aac078de25564d09c13ae7de6f0ce9c1b3b', + 'name' => 'icinga/incubator', + 'dev' => true, + ), + 'versions' => array( + 'clue/block-react' => array( + 'dev_requirement' => false, + 'replaced' => array( + 0 => 'v1.4.0', + ), + ), + 'clue/buzz-react' => array( + 'dev_requirement' => false, + 'replaced' => array( + 0 => 'v2.7.0', + ), + ), + 'clue/connection-manager-extra' => array( + 'dev_requirement' => false, + 'replaced' => array( + 0 => 'v1.1.0', + ), + ), + 'clue/http-proxy-react' => array( + 'dev_requirement' => false, + 'replaced' => array( + 0 => 'v1.5.0', + ), + ), + 'clue/mq-react' => array( + 'dev_requirement' => false, + 'replaced' => array( + 0 => 'v1.2.0', + ), + ), + 'clue/redis-protocol' => array( + 'dev_requirement' => false, + 'replaced' => array( + 0 => 'v0.3.1', + ), + ), + 'clue/redis-react' => array( + 'dev_requirement' => false, + 'replaced' => array( + 0 => 'v2.3.0', + ), + ), + 'clue/soap-react' => array( + 'dev_requirement' => false, + 'replaced' => array( + 0 => 'v1.0.0', + ), + ), + 'clue/socket-raw' => array( + 'dev_requirement' => false, + 'replaced' => array( + 0 => 'v1.4.1', + ), + ), + 'clue/socks-react' => array( + 'dev_requirement' => false, + 'replaced' => array( + 0 => 'v1.1.0', + ), + ), + 'clue/stdio-react' => array( + 'dev_requirement' => false, + 'replaced' => array( + 0 => 'v2.3.0', + ), + ), + 'clue/term-react' => array( + 'dev_requirement' => false, + 'replaced' => array( + 0 => 'v1.2.0', + ), + ), + 'clue/utf8-react' => array( + 'dev_requirement' => false, + 'replaced' => array( + 0 => 'v1.1.0', + ), + ), + 'evenement/evenement' => array( + 'dev_requirement' => false, + 'replaced' => array( + 0 => 'v2.1.0', + ), + ), + 'gipfl/calendar' => array( + 'pretty_version' => 'v0.3.1', + 'version' => '0.3.1.0', + 'type' => 'library', + 'install_path' => __DIR__ . '/../gipfl/calendar', + 'aliases' => array(), + 'reference' => 'fd57d12aa97dd4c2a115e5cae36097ffaed220b8', + 'dev_requirement' => false, + ), + 'gipfl/cli' => array( + 'pretty_version' => 'v0.6.0', + 'version' => '0.6.0.0', + 'type' => 'library', + 'install_path' => __DIR__ . '/../gipfl/cli', + 'aliases' => array(), + 'reference' => '536dec1fa605aa98aef32421cd70bf71e46406d0', + 'dev_requirement' => false, + ), + 'gipfl/curl' => array( + 'pretty_version' => 'v0.3.0', + 'version' => '0.3.0.0', + 'type' => 'library', + 'install_path' => __DIR__ . '/../gipfl/curl', + 'aliases' => array(), + 'reference' => 'bc1373dff8ab247c734d019d0fe7d94521660b1f', + 'dev_requirement' => false, + ), + 'gipfl/data-type' => array( + 'pretty_version' => 'v0.3.0', + 'version' => '0.3.0.0', + 'type' => 'library', + 'install_path' => __DIR__ . '/../gipfl/data-type', + 'aliases' => array(), + 'reference' => 'eb81eaeef93adb15c6c5522154516eae0e2a8e48', + 'dev_requirement' => false, + ), + 'gipfl/db-migration' => array( + 'pretty_version' => 'v0.1.1', + 'version' => '0.1.1.0', + 'type' => 'library', + 'install_path' => __DIR__ . '/../gipfl/db-migration', + 'aliases' => array(), + 'reference' => '12be94b0c83a5e018c9d3d42fe8e98b4cbe248ee', + 'dev_requirement' => false, + ), + 'gipfl/diff' => array( + 'pretty_version' => 'v0.3.0', + 'version' => '0.3.0.0', + 'type' => 'library', + 'install_path' => __DIR__ . '/../gipfl/diff', + 'aliases' => array(), + 'reference' => 'f9decb9cf20735d6cbe6f508aafd8a720922804b', + 'dev_requirement' => false, + ), + 'gipfl/format' => array( + 'pretty_version' => 'v0.4.0', + 'version' => '0.4.0.0', + 'type' => 'library', + 'install_path' => __DIR__ . '/../gipfl/format', + 'aliases' => array(), + 'reference' => '87bd240f80baac73d18aeaf11ef389d94c56c8a0', + 'dev_requirement' => false, + ), + 'gipfl/icinga-bundles' => array( + 'pretty_version' => 'v0.7.0', + 'version' => '0.7.0.0', + 'type' => 'metapackage', + 'install_path' => NULL, + 'aliases' => array(), + 'reference' => 'd28e12218c07174795e07d7ad235d3fac2a6be53', + 'dev_requirement' => false, + ), + 'gipfl/icinga-cli-daemon' => array( + 'pretty_version' => 'v0.3.2', + 'version' => '0.3.2.0', + 'type' => 'library', + 'install_path' => __DIR__ . '/../gipfl/icinga-cli-daemon', + 'aliases' => array(), + 'reference' => '19e1b203108fda37de39488fd8ff7ea392a42f03', + 'dev_requirement' => false, + ), + 'gipfl/icingaweb2' => array( + 'pretty_version' => 'v0.10.0', + 'version' => '0.10.0.0', + 'type' => 'library', + 'install_path' => __DIR__ . '/../gipfl/icingaweb2', + 'aliases' => array(), + 'reference' => '36a2ca4739a0de7ffc365e625bcb81979aca3435', + 'dev_requirement' => false, + ), + 'gipfl/influxdb' => array( + 'pretty_version' => 'v0.5.0', + 'version' => '0.5.0.0', + 'type' => 'library', + 'install_path' => __DIR__ . '/../gipfl/influxdb', + 'aliases' => array(), + 'reference' => '0b7b46ceecb1a6c9fcd738973f773d23d97b374a', + 'dev_requirement' => false, + ), + 'gipfl/json' => array( + 'pretty_version' => 'v0.2.0', + 'version' => '0.2.0.0', + 'type' => 'library', + 'install_path' => __DIR__ . '/../gipfl/json', + 'aliases' => array(), + 'reference' => '5635790a19150beeece9edc67e82ecddc52ff4fb', + 'dev_requirement' => false, + ), + 'gipfl/linux-health' => array( + 'pretty_version' => 'v0.2.0', + 'version' => '0.2.0.0', + 'type' => 'library', + 'install_path' => __DIR__ . '/../gipfl/linux-health', + 'aliases' => array(), + 'reference' => '4d212535565f353f88c9eef3ecb54e20c40b8b37', + 'dev_requirement' => false, + ), + 'gipfl/log' => array( + 'pretty_version' => 'v0.7.0', + 'version' => '0.7.0.0', + 'type' => 'library', + 'install_path' => __DIR__ . '/../gipfl/log', + 'aliases' => array(), + 'reference' => 'df770bdc9c09b0428831345af7ce7d45a0c3a1bb', + 'dev_requirement' => false, + ), + 'gipfl/openrpc' => array( + 'pretty_version' => 'v0.2.1', + 'version' => '0.2.1.0', + 'type' => 'library', + 'install_path' => __DIR__ . '/../gipfl/openrpc', + 'aliases' => array(), + 'reference' => 'a29b8da2cdaf7d757d86aa0fe6d719cf68fb95ad', + 'dev_requirement' => false, + ), + 'gipfl/process' => array( + 'pretty_version' => 'v0.4.0', + 'version' => '0.4.0.0', + 'type' => 'library', + 'install_path' => __DIR__ . '/../gipfl/process', + 'aliases' => array(), + 'reference' => 'ddbc3971cf56b35ce17d7cc8aaf241e87a792938', + 'dev_requirement' => false, + ), + 'gipfl/protocol' => array( + 'pretty_version' => 'v0.2.0', + 'version' => '0.2.0.0', + 'type' => 'library', + 'install_path' => __DIR__ . '/../gipfl/protocol', + 'aliases' => array(), + 'reference' => 'bf1a0e160fe6f74c6be60be569c466d57551e73d', + 'dev_requirement' => false, + ), + 'gipfl/protocol-jsonrpc' => array( + 'pretty_version' => 'v0.11.0', + 'version' => '0.11.0.0', + 'type' => 'library', + 'install_path' => __DIR__ . '/../gipfl/protocol-jsonrpc', + 'aliases' => array(), + 'reference' => '30b0241c67019746fce0b464543d8f936bdb9b68', + 'dev_requirement' => false, + ), + 'gipfl/protocol-netstring' => array( + 'pretty_version' => 'v0.1.1', + 'version' => '0.1.1.0', + 'type' => 'library', + 'install_path' => __DIR__ . '/../gipfl/protocol-netstring', + 'aliases' => array(), + 'reference' => 'c0021ea9d69883760ac176121041a05c9a51ca11', + 'dev_requirement' => false, + ), + 'gipfl/react-utils' => array( + 'pretty_version' => 'v0.3.0', + 'version' => '0.3.0.0', + 'type' => 'library', + 'install_path' => __DIR__ . '/../gipfl/react-utils', + 'aliases' => array(), + 'reference' => '37ff2daa4bcc36aced4cc9df5198caad519d7bdb', + 'dev_requirement' => false, + ), + 'gipfl/simple-daemon' => array( + 'pretty_version' => 'v0.6.0', + 'version' => '0.6.0.0', + 'type' => 'library', + 'install_path' => __DIR__ . '/../gipfl/simple-daemon', + 'aliases' => array(), + 'reference' => 'b7cd3be54c171d20c6692dbb331a3ae6fe90f276', + 'dev_requirement' => false, + ), + 'gipfl/socket' => array( + 'pretty_version' => 'v0.4.0', + 'version' => '0.4.0.0', + 'type' => 'library', + 'install_path' => __DIR__ . '/../gipfl/socket', + 'aliases' => array(), + 'reference' => '1a2c78709e0bcf7de2469860fbfa807a4bcee555', + 'dev_requirement' => false, + ), + 'gipfl/stream' => array( + 'pretty_version' => 'v0.2.0', + 'version' => '0.2.0.0', + 'type' => 'library', + 'install_path' => __DIR__ . '/../gipfl/stream', + 'aliases' => array(), + 'reference' => 'ae0f8f4fd47a6dcc57885b232e239b0ba82889a3', + 'dev_requirement' => false, + ), + 'gipfl/systemd' => array( + 'pretty_version' => 'v0.3.0', + 'version' => '0.3.0.0', + 'type' => 'library', + 'install_path' => __DIR__ . '/../gipfl/systemd', + 'aliases' => array(), + 'reference' => 'ccfabb352a9ea9fd33d4cb426bc3793a651bf466', + 'dev_requirement' => false, + ), + 'gipfl/translation' => array( + 'pretty_version' => 'v0.1.1', + 'version' => '0.1.1.0', + 'type' => 'library', + 'install_path' => __DIR__ . '/../gipfl/translation', + 'aliases' => array(), + 'reference' => 'e974e6a2f0b524678b6554ee0046b5dd5f70a25d', + 'dev_requirement' => false, + ), + 'gipfl/web' => array( + 'pretty_version' => 'v0.11.0', + 'version' => '0.11.0.0', + 'type' => 'library', + 'install_path' => __DIR__ . '/../gipfl/web', + 'aliases' => array(), + 'reference' => 'd331fe195f7bab08561ee015ba56edeb334a1533', + 'dev_requirement' => false, + ), + 'gipfl/zfdb' => array( + 'pretty_version' => 'v0.4.0', + 'version' => '0.4.0.0', + 'type' => 'library', + 'install_path' => __DIR__ . '/../gipfl/zfdb', + 'aliases' => array(), + 'reference' => 'beb7ceabc80e8c81f0e237afcfb064a67e1432d6', + 'dev_requirement' => false, + ), + 'gipfl/zfdbstore' => array( + 'pretty_version' => 'v0.3.0', + 'version' => '0.3.0.0', + 'type' => 'library', + 'install_path' => __DIR__ . '/../gipfl/zfdbstore', + 'aliases' => array(), + 'reference' => '5296226865a0c053f29f57a1bccd50b17cab5248', + 'dev_requirement' => false, + ), + 'guzzlehttp/psr7' => array( + 'dev_requirement' => false, + 'replaced' => array( + 0 => '1.6.1', + ), + ), + 'icinga/incubator' => array( + 'pretty_version' => 'dev-master', + 'version' => 'dev-master', + 'type' => 'library', + 'install_path' => __DIR__ . '/../../', + 'aliases' => array(), + 'reference' => '03cc0aac078de25564d09c13ae7de6f0ce9c1b3b', + 'dev_requirement' => false, + ), + 'ipl/html' => array( + 'dev_requirement' => false, + 'replaced' => array( + 0 => 'v0.3.0', + ), + ), + 'ipl/orm' => array( + 'dev_requirement' => false, + 'replaced' => array( + 0 => 'v0.1.0', + ), + ), + 'ipl/sql' => array( + 'dev_requirement' => false, + 'replaced' => array( + 0 => 'v0.1.0', + ), + ), + 'ipl/stdlib' => array( + 'dev_requirement' => false, + 'replaced' => array( + 0 => 'v0.5.0', + ), + ), + 'ipl/validator' => array( + 'dev_requirement' => false, + 'replaced' => array( + 0 => 'v0.1.0', + ), + ), + 'ipl/web' => array( + 'dev_requirement' => false, + 'replaced' => array( + 0 => 'v0.1.0', + ), + ), + 'paragonie/random_compat' => array( + 'dev_requirement' => false, + 'replaced' => array( + 0 => 'v2.0.18', + ), + ), + 'predis/predis' => array( + 'dev_requirement' => false, + 'replaced' => array( + 0 => 'v1.1.6', + ), + ), + 'psr/http-message' => array( + 'dev_requirement' => false, + 'replaced' => array( + 0 => '1.0.1', + ), + ), + 'psr/log' => array( + 'pretty_version' => '1.1.4', + 'version' => '1.1.4.0', + 'type' => 'library', + 'install_path' => __DIR__ . '/../psr/log', + 'aliases' => array(), + 'reference' => 'd49695b909c3b7628b6289db5479a1c204601f11', + 'dev_requirement' => false, + ), + 'ralouphie/getallheaders' => array( + 'dev_requirement' => false, + 'replaced' => array( + 0 => '3.0.3', + ), + ), + 'ramsey/uuid' => array( + 'dev_requirement' => false, + 'replaced' => array( + 0 => '3.9.3', + ), + ), + 'react/cache' => array( + 'dev_requirement' => false, + 'replaced' => array( + 0 => 'v1.1.0', + ), + ), + 'react/child-process' => array( + 'dev_requirement' => false, + 'replaced' => array( + 0 => 'v0.6.1', + ), + ), + 'react/datagram' => array( + 'dev_requirement' => false, + 'replaced' => array( + 0 => 'v1.5.0', + ), + ), + 'react/dns' => array( + 'dev_requirement' => false, + 'replaced' => array( + 0 => 'v1.4.0', + ), + ), + 'react/event-loop' => array( + 'dev_requirement' => false, + 'replaced' => array( + 0 => 'v1.1.1', + ), + ), + 'react/http' => array( + 'dev_requirement' => false, + 'replaced' => array( + 0 => 'v1.1.0', + ), + ), + 'react/http-client' => array( + 'dev_requirement' => false, + 'replaced' => array( + 0 => 'v0.5.10', + ), + ), + 'react/promise' => array( + 'dev_requirement' => false, + 'replaced' => array( + 0 => 'v2.8.0', + ), + ), + 'react/promise-stream' => array( + 'dev_requirement' => false, + 'replaced' => array( + 0 => 'v1.2.0', + ), + ), + 'react/promise-timer' => array( + 'dev_requirement' => false, + 'replaced' => array( + 0 => 'v1.6.0', + ), + ), + 'react/socket' => array( + 'dev_requirement' => false, + 'replaced' => array( + 0 => 'v1.6.0', + ), + ), + 'react/stream' => array( + 'dev_requirement' => false, + 'replaced' => array( + 0 => 'v1.1.1', + ), + ), + 'ringcentral/psr7' => array( + 'dev_requirement' => false, + 'replaced' => array( + 0 => '1.3.0', + ), + ), + 'symfony/polyfill-ctype' => array( + 'dev_requirement' => false, + 'replaced' => array( + 0 => 'v1.18.1', + ), + ), + ), +); diff --git a/vendor/composer/platform_check.php b/vendor/composer/platform_check.php new file mode 100644 index 0000000..862662c --- /dev/null +++ b/vendor/composer/platform_check.php @@ -0,0 +1,26 @@ +<?php + +// platform_check.php @generated by Composer + +$issues = array(); + +if (!(PHP_VERSION_ID >= 50603)) { + $issues[] = 'Your Composer dependencies require a PHP version ">= 5.6.3". You are running ' . PHP_VERSION . '.'; +} + +if ($issues) { + if (!headers_sent()) { + header('HTTP/1.1 500 Internal Server Error'); + } + if (!ini_get('display_errors')) { + if (PHP_SAPI === 'cli' || PHP_SAPI === 'phpdbg') { + fwrite(STDERR, 'Composer detected issues in your platform:' . PHP_EOL.PHP_EOL . implode(PHP_EOL, $issues) . PHP_EOL.PHP_EOL); + } elseif (!headers_sent()) { + echo 'Composer detected issues in your platform:' . PHP_EOL.PHP_EOL . str_replace('You are running '.PHP_VERSION.'.', '', implode(PHP_EOL, $issues)) . PHP_EOL.PHP_EOL; + } + } + trigger_error( + 'Composer detected issues in your platform: ' . implode(' ', $issues), + E_USER_ERROR + ); +} |