diff --git a/backend.php b/backend.php index a56847111..762557956 100644 --- a/backend.php +++ b/backend.php @@ -35,8 +35,6 @@ return; } - $span = OpenTelemetry\API\Trace\Span::getCurrent(); - header("Content-Type: text/json; charset=utf-8"); if (Config::get(Config::SINGLE_USER_MODE)) { @@ -48,7 +46,6 @@ header("Content-Type: text/json"); print Errors::to_json(Errors::E_UNAUTHORIZED); - $span->setAttribute('error', Errors::E_UNAUTHORIZED); return; } UserHelper::load_user_plugins($_SESSION["uid"]); @@ -57,7 +54,6 @@ if (Config::is_migration_needed()) { print Errors::to_json(Errors::E_SCHEMA_MISMATCH); - $span->setAttribute('error', Errors::E_SCHEMA_MISMATCH); return; } @@ -120,7 +116,6 @@ header("Content-Type: text/json"); print Errors::to_json(Errors::E_UNAUTHORIZED); - $span->setAttribute('error', Errors::E_UNAUTHORIZED); return; } @@ -133,16 +128,14 @@ } if (implements_interface($handler, 'IHandler')) { - $span->addEvent("construct/$op"); + $handler->__construct($_REQUEST); if (validate_csrf($csrf_token) || $handler->csrf_ignore($method)) { - $span->addEvent("before/$method"); $before = $handler->before($method); if ($before) { - $span->addEvent("method/$method"); if ($method && method_exists($handler, $method)) { $reflection = new ReflectionMethod($handler, $method); @@ -152,7 +145,6 @@ user_error("Refusing to invoke method $method of handler $op which has required parameters.", E_USER_WARNING); header("Content-Type: text/json"); - $span->setAttribute('error', Errors::E_UNAUTHORIZED); print Errors::to_json(Errors::E_UNAUTHORIZED); } } else { @@ -161,19 +153,16 @@ } else { header("Content-Type: text/json"); - $span->setAttribute('error', Errors::E_UNKNOWN_METHOD); print Errors::to_json(Errors::E_UNKNOWN_METHOD, ["info" => get_class($handler) . "->$method"]); } } - $span->addEvent("after/$method"); $handler->after(); return; } else { header("Content-Type: text/json"); print Errors::to_json(Errors::E_UNAUTHORIZED); - $span->setAttribute('error', Errors::E_UNAUTHORIZED); return; } } else { @@ -181,7 +170,6 @@ header("Content-Type: text/json"); print Errors::to_json(Errors::E_UNAUTHORIZED); - $span->setAttribute('error', Errors::E_UNAUTHORIZED); return; } } @@ -190,4 +178,3 @@ header("Content-Type: text/json"); print Errors::to_json(Errors::E_UNKNOWN_METHOD, [ "info" => (isset($handler) ? get_class($handler) : "UNKNOWN:".$op) . "->$method"]); - $span->setAttribute('error', Errors::E_UNKNOWN_METHOD); diff --git a/classes/Article.php b/classes/Article.php index c496ea131..550e42842 100644 --- a/classes/Article.php +++ b/classes/Article.php @@ -298,8 +298,6 @@ class Article extends Handler_Protected { * @return array{'formatted': string, 'entries': array>} */ static function _format_enclosures(int $id, bool $always_display_enclosures, string $article_content, bool $hide_images = false): array { - $span = Tracer::start(__METHOD__); - $enclosures = self::_get_enclosures($id); $enclosures_formatted = ""; @@ -326,7 +324,6 @@ class Article extends Handler_Protected { $enclosures_formatted, $enclosures, $id, $always_display_enclosures, $article_content, $hide_images); if (!empty($enclosures_formatted)) { - $span->end(); return [ 'formatted' => $enclosures_formatted, 'entries' => [] @@ -370,7 +367,6 @@ class Article extends Handler_Protected { } } - $span->end(); return $rv; } @@ -378,8 +374,6 @@ class Article extends Handler_Protected { * @return array */ static function _get_tags(int $id, int $owner_uid = 0, ?string $tag_cache = null): array { - $span = Tracer::start(__METHOD__); - $a_id = $id; if (!$owner_uid) $owner_uid = $_SESSION["uid"]; @@ -427,7 +421,6 @@ class Article extends Handler_Protected { $sth->execute([$tags_str, $id, $owner_uid]); } - $span->end(); return $tags; } @@ -522,8 +515,6 @@ class Article extends Handler_Protected { * @return array> */ static function _get_labels(int $id, ?int $owner_uid = null): array { - $span = Tracer::start(__METHOD__); - $rv = array(); if (!$owner_uid) $owner_uid = $_SESSION["uid"]; @@ -569,8 +560,6 @@ class Article extends Handler_Protected { else Labels::update_cache($owner_uid, $id, array("no-labels" => 1)); - $span->end(); - return $rv; } @@ -581,8 +570,6 @@ class Article extends Handler_Protected { * @return array */ static function _get_image(array $enclosures, string $content, string $site_url, array $headline) { - $span = Tracer::start(__METHOD__); - $article_image = ""; $article_stream = ""; $article_kind = 0; @@ -603,6 +590,7 @@ class Article extends Handler_Protected { $tmpxpath = new DOMXPath($tmpdoc); $elems = $tmpxpath->query('(//img[@src]|//video[@poster]|//iframe[contains(@src , "youtube.com/embed/")])'); + /** @var DOMElement $e */ foreach ($elems as $e) { if ($e->nodeName == "iframe") { $matches = []; @@ -660,8 +648,6 @@ class Article extends Handler_Protected { if ($article_stream && $cache->exists(sha1($article_stream))) $article_stream = $cache->get_url(sha1($article_stream)); - $span->end(); - return [$article_image, $article_stream, $article_kind]; } @@ -675,8 +661,6 @@ class Article extends Handler_Protected { if (count($article_ids) == 0) return []; - $span = Tracer::start(__METHOD__); - $entries = ORM::for_table('ttrss_entries') ->table_alias('e') ->join('ttrss_user_entries', ['ref_id', '=', 'id'], 'ue') @@ -696,8 +680,6 @@ class Article extends Handler_Protected { } } - $span->end(); - return array_unique($rv); } @@ -709,8 +691,6 @@ class Article extends Handler_Protected { if (count($article_ids) == 0) return []; - $span = Tracer::start(__METHOD__); - $entries = ORM::for_table('ttrss_entries') ->table_alias('e') ->join('ttrss_user_entries', ['ref_id', '=', 'id'], 'ue') @@ -723,8 +703,6 @@ class Article extends Handler_Protected { array_push($rv, $entry->feed_id); } - $span->end(); - return array_unique($rv); } } diff --git a/classes/Counters.php b/classes/Counters.php index b3cba162c..0f6b419ba 100644 --- a/classes/Counters.php +++ b/classes/Counters.php @@ -145,8 +145,6 @@ class Counters { * @return array> */ private static function get_feeds(?array $feed_ids = null): array { - $span = Tracer::start(__METHOD__); - $ret = []; $pdo = Db::pdo(); @@ -212,8 +210,6 @@ class Counters { } - $span->end(); - return $ret; } @@ -221,8 +217,6 @@ class Counters { * @return array> */ private static function get_global(): array { - $span = Tracer::start(__METHOD__); - $ret = [ [ "id" => "global-unread", @@ -239,8 +233,6 @@ class Counters { "counter" => $subcribed_feeds ]); - $span->end(); - return $ret; } @@ -248,8 +240,6 @@ class Counters { * @return array> */ private static function get_virt(): array { - $span = Tracer::start(__METHOD__); - $ret = []; foreach ([Feeds::FEED_ARCHIVED, Feeds::FEED_STARRED, Feeds::FEED_PUBLISHED, @@ -295,7 +285,6 @@ class Counters { } } - $span->end(); return $ret; } @@ -304,8 +293,6 @@ class Counters { * @return array> */ static function get_labels(?array $label_ids = null): array { - $span = Tracer::start(__METHOD__); - $ret = []; $pdo = Db::pdo(); @@ -356,7 +343,6 @@ class Counters { array_push($ret, $cv); } - $span->end(); return $ret; } } diff --git a/classes/Digest.php b/classes/Digest.php index 6005f5fe4..cad808711 100644 --- a/classes/Digest.php +++ b/classes/Digest.php @@ -2,8 +2,6 @@ class Digest { static function send_headlines_digests(): void { - $span = Tracer::start(__METHOD__); - $user_limit = 15; // amount of users to process (e.g. emails to send out) $limit = 1000; // maximum amount of headlines to include @@ -77,7 +75,6 @@ class Digest } } - $span->end(); Debug::log("All done."); } diff --git a/classes/DiskCache.php b/classes/DiskCache.php index d6335a9e7..249079b36 100644 --- a/classes/DiskCache.php +++ b/classes/DiskCache.php @@ -221,11 +221,7 @@ class DiskCache implements Cache_Adapter { } public function remove(string $filename): bool { - $span = Tracer::start(__METHOD__); - $span->setAttribute('file.name', $filename); - $rc = $this->adapter->remove($filename); - $span->end(); return $rc; } @@ -251,9 +247,6 @@ class DiskCache implements Cache_Adapter { } public function exists(string $filename): bool { - $span = OpenTelemetry\API\Trace\Span::getCurrent(); - $span->addEvent("DiskCache::exists: $filename"); - $rc = $this->adapter->exists(basename($filename)); return $rc; @@ -263,11 +256,7 @@ class DiskCache implements Cache_Adapter { * @return int|false -1 if the file doesn't exist, false if an error occurred, size in bytes otherwise */ public function get_size(string $filename) { - $span = Tracer::start(__METHOD__); - $span->setAttribute('file.name', $filename); - $rc = $this->adapter->get_size(basename($filename)); - $span->end(); return $rc; } @@ -278,11 +267,7 @@ class DiskCache implements Cache_Adapter { * @return int|false Bytes written or false if an error occurred. */ public function put(string $filename, $data) { - $span = Tracer::start(__METHOD__); - $rc = $this->adapter->put(basename($filename), $data); - $span->end(); - - return $rc; + return $this->adapter->put(basename($filename), $data); } /** @deprecated we can't assume cached files are local, and other storages @@ -326,17 +311,12 @@ class DiskCache implements Cache_Adapter { } public function send(string $filename) { - $span = Tracer::start(__METHOD__); - $span->setAttribute('file.name', $filename); - $filename = basename($filename); if (!$this->exists($filename)) { header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found"); echo "File not found."; - $span->setAttribute('error', '404 not found'); - $span->end(); return false; } @@ -346,8 +326,6 @@ class DiskCache implements Cache_Adapter { if (($_SERVER['HTTP_IF_MODIFIED_SINCE'] ?? '') == $gmt_modified || ($_SERVER['HTTP_IF_NONE_MATCH'] ?? '') == $file_mtime) { header('HTTP/1.1 304 Not Modified'); - $span->setAttribute('error', '304 not modified'); - $span->end(); return false; } @@ -365,9 +343,6 @@ class DiskCache implements Cache_Adapter { header("Content-type: text/plain"); print "Stored file has disallowed content type ($mimetype)"; - - $span->setAttribute('error', '400 disallowed content type'); - $span->end(); return false; } @@ -389,13 +364,7 @@ class DiskCache implements Cache_Adapter { header_remove("Pragma"); - $span->setAttribute('mimetype', $mimetype); - - $rc = $this->adapter->send($filename); - - $span->end(); - - return $rc; + return $this->adapter->send($filename); } public function get_full_path(string $filename): string { @@ -424,13 +393,9 @@ class DiskCache implements Cache_Adapter { // plugins work on original source URLs used before caching // NOTE: URLs should be already absolutized because this is called after sanitize() static public function rewrite_urls(string $str): string { - $span = OpenTelemetry\API\Trace\Span::getCurrent(); - $span->addEvent("DiskCache::rewrite_urls"); - $res = trim($str); if (!$res) { - $span->end(); return ''; } @@ -439,13 +404,12 @@ class DiskCache implements Cache_Adapter { $xpath = new DOMXPath($doc); $cache = DiskCache::instance("images"); - $entries = $xpath->query('(//img[@src]|//source[@src|@srcset]|//video[@poster|@src])'); - $need_saving = false; - foreach ($entries as $entry) { - $span->addEvent("entry: " . $entry->tagName); + $entries = $xpath->query('(//img[@src]|//source[@src|@srcset]|//video[@poster|@src])'); + /** @var DOMElement $entry */ + foreach ($entries as $entry) { foreach (array('src', 'poster') as $attr) { if ($entry->hasAttribute($attr)) { $url = $entry->getAttribute($attr); diff --git a/classes/Feeds.php b/classes/Feeds.php index 71379762f..f44be22bf 100644 --- a/classes/Feeds.php +++ b/classes/Feeds.php @@ -62,9 +62,6 @@ class Feeds extends Handler_Protected { $disable_cache = false; - $span = Tracer::start(__METHOD__); - $span->setAttribute('func.args', json_encode(func_get_args())); - $reply = []; $rgba_cache = []; $topmost_article_ids = []; @@ -166,7 +163,6 @@ class Feeds extends Handler_Protected { $reply['search_query'] = [$search, $search_language]; $reply['vfeed_group_enabled'] = $vfeed_group_enabled; - $span->addEvent('plugin_menu_items'); $plugin_menu_items = ""; PluginHost::getInstance()->chain_hooks_callback(PluginHost::HOOK_HEADLINE_TOOLBAR_SELECT_MENU_ITEM2, @@ -200,13 +196,10 @@ class Feeds extends Handler_Protected { }, $feed, $cat_view, $qfh_ret); - $span->addEvent('articles'); - $headlines_count = 0; if ($result instanceof PDOStatement) { while ($line = $result->fetch(PDO::FETCH_ASSOC)) { - $span->addEvent('article: ' . $line['id']); ++$headlines_count; @@ -366,8 +359,6 @@ class Feeds extends Handler_Protected { //setting feed headline background color, needs to change text color based on dark/light $fav_color = $line['favicon_avg_color'] ?? false; - $span->addEvent("colors"); - require_once "colors.php"; if (!isset($rgba_cache[$feed_id])) { @@ -382,8 +373,6 @@ class Feeds extends Handler_Protected { $line['feed_bg_color'] = 'rgba(' . implode(",", $rgba_cache[$feed_id]) . ',0.3)'; } - $span->addEvent("HOOK_RENDER_ARTICLE_CDM"); - PluginHost::getInstance()->chain_hooks_callback(PluginHost::HOOK_RENDER_ARTICLE_CDM, function ($result, $plugin) use (&$line) { $line = $result; @@ -461,8 +450,6 @@ class Feeds extends Handler_Protected { } } - $span->end(); - return array($topmost_article_ids, $headlines_count, $feed, $disable_cache, $reply); } @@ -926,10 +913,6 @@ class Feeds extends Handler_Protected { * @throws PDOException */ static function _get_counters($feed, bool $is_cat = false, bool $unread_only = false, ?int $owner_uid = null): int { - $span = OpenTelemetry\API\Trace\Span::getCurrent(); - - $span->addEvent(__METHOD__ . ": $feed ($is_cat)"); - $n_feed = (int) $feed; $need_entries = false; @@ -952,14 +935,11 @@ class Feeds extends Handler_Protected { $handler = PluginHost::getInstance()->get_feed_handler($feed_id); if (implements_interface($handler, 'IVirtualFeed')) { /** @var IVirtualFeed $handler */ - //$span->end(); return $handler->get_unread($feed_id); } else { - //$span->end(); return 0; } } else if ($n_feed == Feeds::FEED_RECENTLY_READ) { - //$span->end(); return 0; // tags } else if ($feed != "0" && $n_feed == 0) { @@ -973,7 +953,6 @@ class Feeds extends Handler_Protected { $row = $sth->fetch(); // Handle 'SUM()' returning null if there are no results - //$span->end(); return $row["count"] ?? 0; } else if ($n_feed == Feeds::FEED_STARRED) { @@ -1007,7 +986,6 @@ class Feeds extends Handler_Protected { $label_id = Labels::feed_to_label_id($feed); - //$span->end(); return self::_get_label_unread($label_id, $owner_uid); } @@ -1027,7 +1005,6 @@ class Feeds extends Handler_Protected { $sth->execute([$owner_uid]); $row = $sth->fetch(); - //$span->end(); return $row["unread"]; } else { @@ -1040,7 +1017,6 @@ class Feeds extends Handler_Protected { $sth->execute([$feed, $owner_uid]); $row = $sth->fetch(); - //$span->end(); return $row["unread"]; } } @@ -1433,10 +1409,6 @@ class Feeds extends Handler_Protected { * @return array $result, $feed_title, $feed_site_url, $last_error, $last_updated, $highlight_words, $first_id, $is_vfeed, $query_error_override */ static function _get_headlines($params): array { - - $span = Tracer::start(__METHOD__); - $span->setAttribute('func.args', json_encode(func_get_args())); - $pdo = Db::pdo(); // WARNING: due to highly dynamic nature of this query its going to quote parameters @@ -1928,8 +1900,6 @@ class Feeds extends Handler_Protected { $res = $pdo->query($query); } - $span->end(); - return array($res, $feed_title, $feed_site_url, $last_error, $last_updated, $search_words, $first_id, $vfeed_query_part != "", $query_error_override); } @@ -2048,6 +2018,7 @@ class Feeds extends Handler_Protected { $entries = $xpath->query('/html/*[self::head or self::body]/link[@rel="alternate" and '. '(contains(@type,"rss") or contains(@type,"atom"))]|/html/*[self::head or self::body]/link[@rel="feed"]'); + /** @var DOMElement|null $entry */ foreach ($entries as $entry) { if ($entry->hasAttribute('href')) { $title = $entry->getAttribute('title'); diff --git a/classes/PluginHost.php b/classes/PluginHost.php index f3febc431..23ff03661 100644 --- a/classes/PluginHost.php +++ b/classes/PluginHost.php @@ -342,16 +342,8 @@ class PluginHost { */ function chain_hooks_callback(string $hook, Closure $callback, &...$args): void { $method = strtolower((string)$hook); - $span = OpenTelemetry\API\Trace\Span::getCurrent(); - $span->addEvent("chain_hooks_callback: $hook"); foreach ($this->get_hooks((string)$hook) as $plugin) { - //Debug::log("invoking: " . get_class($plugin) . "->$hook()", Debug::$LOG_VERBOSE); - - //$p_span = Tracer::start("$hook - " . get_class($plugin)); - - $span->addEvent("$hook - " . get_class($plugin)); - try { if ($callback($plugin->$method(...$args), $plugin)) break; @@ -360,11 +352,7 @@ class PluginHost { } catch (Error $err) { user_error($err, E_USER_WARNING); } - - //$p_span->end(); } - - //$span->end(); } /** @@ -430,9 +418,6 @@ class PluginHost { * @param PluginHost::KIND_* $kind */ function load_all(int $kind, ?int $owner_uid = null, bool $skip_init = false): void { - $span = Tracer::start(__METHOD__); - $span->setAttribute('func.args', json_encode(func_get_args())); - $plugins = [...(glob("plugins/*") ?: []), ...(glob("plugins.local/*") ?: [])]; $plugins = array_filter($plugins, "is_dir"); $plugins = array_map("basename", $plugins); @@ -440,17 +425,12 @@ class PluginHost { asort($plugins); $this->load(join(",", $plugins), (int)$kind, $owner_uid, $skip_init); - - $span->end(); } /** * @param PluginHost::KIND_* $kind */ function load(string $classlist, int $kind, ?int $owner_uid = null, bool $skip_init = false): void { - $span = Tracer::start(__METHOD__); - $span->setAttribute('func.args', json_encode(func_get_args())); - $plugins = explode(",", $classlist); $this->owner_uid = (int) $owner_uid; @@ -459,8 +439,6 @@ class PluginHost { $class = trim($class); $class_file = strtolower(basename(clean($class))); - $span->addEvent("$class_file: load"); - // try system plugin directory first $file = Config::get_self_dir() . "/plugins/$class_file/init.php"; @@ -485,8 +463,6 @@ class PluginHost { } $_SESSION["safe_mode"] = 1; - - $span->setAttribute('error', 'plugin is blacklisted'); continue; } @@ -497,8 +473,6 @@ class PluginHost { } catch (Error $err) { user_error($err, E_USER_WARNING); - - $span->setAttribute('error', $err); continue; } @@ -508,8 +482,6 @@ class PluginHost { if ($plugin_api < self::API_VERSION) { user_error("Plugin $class is not compatible with current API version (need: " . self::API_VERSION . ", got: $plugin_api)", E_USER_WARNING); - - $span->setAttribute('error', 'plugin is not compatible with API version'); continue; } @@ -518,8 +490,6 @@ class PluginHost { _bind_textdomain_codeset($class, "UTF-8"); } - $span->addEvent("$class_file: initialize"); - try { switch ($kind) { case $this::KIND_SYSTEM: @@ -549,7 +519,6 @@ class PluginHost { } $this->load_data(); - $span->end(); } function is_system(Plugin $plugin): bool { @@ -638,17 +607,12 @@ class PluginHost { } private function load_data(): void { - $span = OpenTelemetry\API\Trace\Span::getCurrent(); - $span->addEvent('load plugin data'); - if ($this->owner_uid && !$this->data_loaded && Config::get_schema_version() > 100) { $sth = $this->pdo->prepare("SELECT name, content FROM ttrss_plugin_storage WHERE owner_uid = ?"); $sth->execute([$this->owner_uid]); while ($line = $sth->fetch()) { - $span->addEvent($line["name"] . ': unserialize'); - $this->storage[$line["name"]] = unserialize($line["content"]); } @@ -658,9 +622,6 @@ class PluginHost { private function save_data(string $plugin): void { if ($this->owner_uid) { - $span = OpenTelemetry\API\Trace\Span::getCurrent(); - $span->addEvent(__METHOD__ . ": $plugin"); - if (!$this->pdo_data) $this->pdo_data = Db::instance()->pdo_connect(); diff --git a/classes/Pref_Feeds.php b/classes/Pref_Feeds.php index 8f6423801..5ca557c84 100644 --- a/classes/Pref_Feeds.php +++ b/classes/Pref_Feeds.php @@ -1077,9 +1077,6 @@ class Pref_Feeds extends Handler_Protected { * @return array */ private function feedlist_init_cat(int $cat_id): array { - $span = OpenTelemetry\API\Trace\Span::getCurrent(); - $span->addEvent(__METHOD__ . ": $cat_id"); - return [ 'id' => 'CAT:' . $cat_id, 'items' => array(), @@ -1094,9 +1091,6 @@ class Pref_Feeds extends Handler_Protected { * @return array */ private function feedlist_init_feed(int $feed_id, ?string $title = null, bool $unread = false, string $error = '', string $updated = ''): array { - $span = OpenTelemetry\API\Trace\Span::getCurrent(); - $span->addEvent(__METHOD__ . ": $feed_id"); - if (!$title) $title = Feeds::_get_title($feed_id, false); diff --git a/classes/RPC.php b/classes/RPC.php index e21671d78..ca8021877 100644 --- a/classes/RPC.php +++ b/classes/RPC.php @@ -106,8 +106,6 @@ class RPC extends Handler_Protected { } function getAllCounters(): void { - $span = Tracer::start(__METHOD__); - @$seq = (int) $_REQUEST['seq']; $feed_id_count = (int) ($_REQUEST["feed_id_count"] ?? -1); @@ -134,7 +132,6 @@ class RPC extends Handler_Protected { 'seq' => $seq ]; - $span->end(); print json_encode($reply); } @@ -176,8 +173,6 @@ class RPC extends Handler_Protected { } function sanityCheck(): void { - $span = Tracer::start(__METHOD__); - $_SESSION["hasSandbox"] = self::_param_to_bool($_REQUEST["hasSandbox"] ?? false); $_SESSION["clientTzOffset"] = clean($_REQUEST["clientTzOffset"]); @@ -209,8 +204,6 @@ class RPC extends Handler_Protected { } else { print Errors::to_json($error, $error_params); } - - $span->end(); } /*function completeLabels() { @@ -254,8 +247,6 @@ class RPC extends Handler_Protected { } static function updaterandomfeed_real(): void { - $span = Tracer::start(__METHOD__); - $default_interval = (int) Prefs::get_default(Prefs::DEFAULT_UPDATE_INTERVAL); // Test if the feed need a update (update interval exceded). @@ -344,8 +335,6 @@ class RPC extends Handler_Protected { } else { print json_encode(array("message" => "NOTHING_TO_UPDATE")); } - - $span->end(); } function updaterandomfeed(): void { @@ -401,8 +390,6 @@ class RPC extends Handler_Protected { } function log(): void { - $span = Tracer::start(__METHOD__); - $msg = clean($_REQUEST['msg'] ?? ""); $file = basename(clean($_REQUEST['file'] ?? "")); $line = (int) clean($_REQUEST['line'] ?? 0); @@ -414,13 +401,9 @@ class RPC extends Handler_Protected { echo json_encode(array("message" => "HOST_ERROR_LOGGED")); } - - $span->end(); } function checkforupdates(): void { - $span = Tracer::start(__METHOD__); - $rv = ["changeset" => [], "plugins" => []]; $version = Config::get_version(false); @@ -446,8 +429,6 @@ class RPC extends Handler_Protected { $rv["plugins"] = Pref_Prefs::_get_updated_plugins(); } - $span->end(); - print json_encode($rv); } @@ -455,8 +436,6 @@ class RPC extends Handler_Protected { * @return array */ private function _make_init_params(): array { - $span = Tracer::start(__METHOD__); - $params = array(); foreach ([Prefs::ON_CATCHUP_SHOW_NEXT_FEED, Prefs::HIDE_READ_FEEDS, @@ -509,8 +488,6 @@ class RPC extends Handler_Protected { $params["icon_blank"] = $this->image_to_base64("images/blank_icon.gif"); $params["labels"] = Labels::get_all($_SESSION["uid"]); - $span->end(); - return $params; } @@ -530,8 +507,6 @@ class RPC extends Handler_Protected { * @return array */ static function _make_runtime_info(): array { - $span = Tracer::start(__METHOD__); - $data = array(); $pdo = Db::pdo(); @@ -597,8 +572,6 @@ class RPC extends Handler_Protected { } } - $span->end(); - return $data; } diff --git a/classes/RSSUtils.php b/classes/RSSUtils.php index 10cfb6d43..cfd0b3b61 100644 --- a/classes/RSSUtils.php +++ b/classes/RSSUtils.php @@ -69,8 +69,6 @@ class RSSUtils { * @param array $options */ static function update_daemon_common(int $limit = 0, array $options = []): int { - $span = Tracer::start(__METHOD__); - if (!$limit) $limit = Config::get(Config::DAEMON_FEED_LIMIT); if (Config::get_schema_version() != Config::SCHEMA_VERSION) { @@ -312,8 +310,6 @@ class RSSUtils { // Send feed digests by email if needed. Digest::send_headlines_digests(); - $span->end(); - return $nf; } @@ -380,9 +376,6 @@ class RSSUtils { static function update_rss_feed(int $feed, bool $no_cache = false, bool $html_output = false) : bool { - $span = Tracer::start(__METHOD__); - $span->setAttribute('func.args', json_encode(func_get_args())); - Debug::enable_html($html_output); Debug::log("start", Debug::LOG_VERBOSE); @@ -418,19 +411,16 @@ class RSSUtils { if ($user) { if ($user->access_level == UserHelper::ACCESS_LEVEL_READONLY) { Debug::log("error: denied update for $feed: permission denied by owner access level"); - $span->end(); return false; } } else { // this would indicate database corruption of some kind Debug::log("error: owner not found for feed: $feed"); - $span->end(); return false; } } else { Debug::log("error: feeds table record not found for feed: $feed"); - $span->end(); return false; } @@ -589,7 +579,6 @@ class RSSUtils { $feed_obj->save(); } - $span->end(); return $error_message == ""; } @@ -731,7 +720,6 @@ class RSSUtils { ]); $feed_obj->save(); - $span->end(); return true; // no articles } @@ -740,8 +728,6 @@ class RSSUtils { $tstart = time(); foreach ($items as $item) { - $a_span = Tracer::start('article'); - $pdo->beginTransaction(); Debug::log(Debug::SEPARATOR, Debug::LOG_VERBOSE); @@ -1327,7 +1313,6 @@ class RSSUtils { Debug::log("article processed.", Debug::LOG_VERBOSE); $pdo->commit(); - $a_span->end(); } Debug::log(Debug::SEPARATOR, Debug::LOG_VERBOSE); @@ -1368,12 +1353,10 @@ class RSSUtils { unset($rss); Debug::log("update failed.", Debug::LOG_VERBOSE); - $span->end(); return false; } Debug::log("update done.", Debug::LOG_VERBOSE); - $span->end(); return true; } @@ -1446,6 +1429,7 @@ class RSSUtils { $entries = $xpath->query('(//img[@src]|//source[@src|@srcset]|//video[@poster|@src])'); + /** @var DOMElement $entry */ foreach ($entries as $entry) { foreach (array('src', 'poster') as $attr) { if ($entry->hasAttribute($attr) && strpos($entry->getAttribute($attr), "data:") !== 0) { @@ -1538,8 +1522,6 @@ class RSSUtils { * @return array> An array of filter action arrays with keys "type" and "param" */ static function get_article_filters(array $filters, string $title, string $content, string $link, string $author, array $tags, ?array &$matched_rules = null, ?array &$matched_filters = null): array { - $span = Tracer::start(__METHOD__); - $matches = array(); foreach ($filters as $filter) { @@ -1626,8 +1608,6 @@ class RSSUtils { } } - $span->end(); - return $matches; } @@ -2033,20 +2013,21 @@ class RSSUtils { $xpath = new DOMXPath($doc); $base = $xpath->query('/html/head/base[@href]'); + + /** @var DOMElement $b */ foreach ($base as $b) { $url = UrlHelper::rewrite_relative($url, $b->getAttribute("href")); break; } $entries = $xpath->query('/html/head/link[@rel="shortcut icon" or @rel="icon" or @rel="alternate icon"]'); - if (count($entries) > 0) { - foreach ($entries as $entry) { - $favicon_url = UrlHelper::rewrite_relative($url, $entry->getAttribute("href")); - if ($favicon_url) - array_push($favicon_urls, $favicon_url); + /** @var DOMElement $entry */ + foreach ($entries as $entry) { + $favicon_url = UrlHelper::rewrite_relative($url, $entry->getAttribute("href")); - } + if ($favicon_url) + array_push($favicon_urls, $favicon_url); } } } diff --git a/classes/Sanitizer.php b/classes/Sanitizer.php index 2a5b031df..0bbb30586 100644 --- a/classes/Sanitizer.php +++ b/classes/Sanitizer.php @@ -9,6 +9,8 @@ class Sanitizer { $entries = $xpath->query('//*'); foreach ($entries as $entry) { + /** @var DOMElement $entry */ + if (!in_array($entry->nodeName, $allowed_elements)) { $entry->parentNode->removeChild($entry); } @@ -63,9 +65,6 @@ class Sanitizer { * @return false|string The HTML, or false if an error occurred. */ public static function sanitize(string $str, ?bool $force_remove_images = false, ?int $owner = null, ?string $site_url = null, ?array $highlight_words = null, ?int $article_id = null) { - $span = OpenTelemetry\API\Trace\Span::getCurrent(); - $span->addEvent("Sanitizer::sanitize"); - if (!$owner && isset($_SESSION["uid"])) $owner = $_SESSION["uid"]; @@ -81,6 +80,7 @@ class Sanitizer { $entries = $xpath->query('(//a[@href]|//img[@src]|//source[@srcset|@src]|//video[@poster])'); + /** @var DOMElement $entry */ foreach ($entries as $entry) { if ($entry->hasAttribute('href')) { @@ -143,6 +143,8 @@ class Sanitizer { } $entries = $xpath->query('//iframe'); + + /** @var DOMElement $entry */ foreach ($entries as $entry) { if (!self::iframe_whitelisted($entry)) { $entry->setAttribute('sandbox', 'allow-scripts'); diff --git a/classes/Tracer.php b/classes/Tracer.php deleted file mode 100644 index 7163adb90..000000000 --- a/classes/Tracer.php +++ /dev/null @@ -1,216 +0,0 @@ -create($OPENTELEMETRY_ENDPOINT, 'application/x-protobuf'); - $exporter = new SpanExporter($transport); - - $resource = ResourceInfoFactory::emptyResource()->merge( - ResourceInfo::create(Attributes::create( - [ResourceAttributes::SERVICE_NAME => Config::get(Config::OPENTELEMETRY_SERVICE)] - ), ResourceAttributes::SCHEMA_URL), - ); - - $this->tracerProvider = TracerProvider::builder() - ->addSpanProcessor(new SimpleSpanProcessor($exporter)) - ->setResource($resource) - ->setSampler(new ParentBased(new AlwaysOnSampler())) - ->build(); - - $this->tracer = $this->tracerProvider->getTracer('io.opentelemetry.contrib.php'); - - $context = TraceContextPropagator::getInstance()->extract(getallheaders()); - - $span = $this->tracer->spanBuilder($_SESSION['name'] ?? 'not logged in') - ->setParent($context) - ->setSpanKind(SpanKind::KIND_SERVER) - ->setAttribute('php.request', json_encode($_REQUEST)) - ->setAttribute('php.server', json_encode($_SERVER)) - ->setAttribute('php.session', json_encode($_SESSION ?? [])) - ->startSpan(); - - $scope = $span->activate(); - - register_shutdown_function(function() use ($span, $scope) { - $span->end(); - $scope->detach(); - $this->tracerProvider->shutdown(); - }); - } - } - - /** - * @param string $name - * @return OpenTelemetry\API\Trace\SpanInterface - */ - private function _start(string $name) { - if ($this->tracer != null) { - $span = $this->tracer - ->spanBuilder($name) - ->setSpanKind(SpanKind::KIND_SERVER) - ->startSpan(); - - $span->activate(); - } else { - $span = new DummySpanInterface(); - } - - return $span; - } - - /** - * @param string $name - * @return OpenTelemetry\API\Trace\SpanInterface - */ - public static function start(string $name) { - return self::get_instance()->_start($name); - } - - public static function get_instance() : Tracer { - if (self::$instance == null) - self::$instance = new self(); - - return self::$instance; - } -} diff --git a/classes/UrlHelper.php b/classes/UrlHelper.php index ba1f474bc..bd9eff71d 100644 --- a/classes/UrlHelper.php +++ b/classes/UrlHelper.php @@ -202,8 +202,6 @@ class UrlHelper { * @return false|string */ static function resolve_redirects(string $url, int $timeout) { - $span = Tracer::start(__METHOD__); - $span->setAttribute('func.args', json_encode(func_get_args())); $client = self::get_client(); try { @@ -218,14 +216,11 @@ class UrlHelper { ], ]); } catch (Exception $ex) { - $span->setAttribute('error', (string) $ex); - $span->end(); return false; } // If a history header value doesn't exist there was no redirection and the original URL is fine. $history_header = $response->getHeader(GuzzleHttp\RedirectMiddleware::HISTORY_HEADER); - $span->end(); return ($history_header ? end($history_header) : $url); } @@ -238,8 +233,6 @@ class UrlHelper { public static function fetch($options /* previously: 0: $url , 1: $type = false, 2: $login = false, 3: $pass = false, 4: $post_query = false, 5: $timeout = false, 6: $timestamp = 0, 7: $useragent = false, 8: $encoding = false, 9: $auth_type = "basic" */) { - $span = Tracer::start(__METHOD__); - $span->setAttribute('func.args', json_encode(func_get_args())); self::$fetch_last_error = ""; self::$fetch_last_error_code = -1; @@ -299,8 +292,6 @@ class UrlHelper { if (!$url) { self::$fetch_last_error = 'Requested URL failed extended validation.'; - $span->setAttribute('error', self::$fetch_last_error); - $span->end(); return false; } @@ -309,8 +300,6 @@ class UrlHelper { if (!$ip_addr || strpos($ip_addr, '127.') === 0) { self::$fetch_last_error = "URL hostname failed to resolve or resolved to a loopback address ($ip_addr)"; - $span->setAttribute('error', self::$fetch_last_error); - $span->end(); return false; } @@ -392,8 +381,6 @@ class UrlHelper { } catch (\LengthException $ex) { // Either 'Content-Length' indicated the download limit would be exceeded, or the transfer actually exceeded the download limit. self::$fetch_last_error = $ex->getMessage(); - $span->setAttribute('error', self::$fetch_last_error); - $span->end(); return false; } catch (GuzzleHttp\Exception\GuzzleException $ex) { self::$fetch_last_error = $ex->getMessage(); @@ -407,7 +394,6 @@ class UrlHelper { // to attempt compatibility with unusual configurations. if ($login && $pass && self::$fetch_last_error_code === 403 && $auth_type !== 'any') { $options['auth_type'] = 'any'; - $span->end(); return self::fetch($options); } @@ -424,15 +410,11 @@ class UrlHelper { if (($errno === \CURLE_WRITE_ERROR || $errno === \CURLE_BAD_CONTENT_ENCODING) && $ex->getRequest()->getHeaderLine('accept-encoding') !== 'none') { $options['encoding'] = 'none'; - $span->end(); return self::fetch($options); } } } - $span->setAttribute('error', self::$fetch_last_error); - $span->end(); - return false; } @@ -449,8 +431,6 @@ class UrlHelper { // This shouldn't be necessary given the checks that occur during potential redirects, but we'll do it anyway. if (!self::validate(self::$fetch_effective_url, true)) { self::$fetch_last_error = "URL received after redirection failed extended validation."; - $span->setAttribute('error', self::$fetch_last_error); - $span->end(); return false; } @@ -459,8 +439,6 @@ class UrlHelper { if (!self::$fetch_effective_ip_addr || strpos(self::$fetch_effective_ip_addr, '127.') === 0) { self::$fetch_last_error = 'URL hostname received after redirection failed to resolve or resolved to a loopback address (' . self::$fetch_effective_ip_addr . ')'; - $span->setAttribute('error', self::$fetch_last_error); - $span->end(); return false; } @@ -468,12 +446,9 @@ class UrlHelper { if (!$body) { self::$fetch_last_error = 'Successful response, but no content was received.'; - $span->setAttribute('error', self::$fetch_last_error); - $span->end(); return false; } - $span->end(); return $body; } diff --git a/composer.json b/composer.json index 1665af42f..13f25e054 100644 --- a/composer.json +++ b/composer.json @@ -9,7 +9,7 @@ { "name": "j4mie/idiorm", "type": "vcs", - "url": "https://dev.tt-rss.org/fox/idiorm.git" + "url": "https://git.tt-rss.org/fox/idiorm.git" } ], "autoload": { @@ -25,7 +25,6 @@ "chillerlan/php-qrcode": "^4.3.3", "mervick/material-design-icons": "^2.2", "j4mie/idiorm": "dev-master", - "open-telemetry/exporter-otlp": "^1.0", "php-http/guzzle7-adapter": "^1.0", "soundasleep/html2text": "^2.1", "guzzlehttp/guzzle": "^7.0" diff --git a/composer.lock b/composer.lock index 4c45934d3..651c951bc 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "a0465ea624d9e79bc5d8b04a345b1ad6", + "content-hash": "74c91680c7bc99c8ee087408620b2fa5", "packages": [ { "name": "beberlei/assert", @@ -215,50 +215,6 @@ ], "time": "2022-07-05T22:32:14+00:00" }, - { - "name": "google/protobuf", - "version": "v3.24.4", - "source": { - "type": "git", - "url": "https://github.com/protocolbuffers/protobuf-php.git", - "reference": "672d69e25f71b9364fdf1810eb8a8573defdc404" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/protocolbuffers/protobuf-php/zipball/672d69e25f71b9364fdf1810eb8a8573defdc404", - "reference": "672d69e25f71b9364fdf1810eb8a8573defdc404", - "shasum": "" - }, - "require": { - "php": ">=7.0.0" - }, - "require-dev": { - "phpunit/phpunit": ">=5.0.0" - }, - "suggest": { - "ext-bcmath": "Need to support JSON deserialization" - }, - "type": "library", - "autoload": { - "psr-4": { - "Google\\Protobuf\\": "src/Google/Protobuf", - "GPBMetadata\\Google\\Protobuf\\": "src/GPBMetadata/Google/Protobuf" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "description": "proto library for PHP", - "homepage": "https://developers.google.com/protocol-buffers/", - "keywords": [ - "proto" - ], - "support": { - "source": "https://github.com/protocolbuffers/protobuf-php/tree/v3.24.4" - }, - "time": "2023-10-04T17:22:47+00:00" - }, { "name": "guzzlehttp/guzzle", "version": "7.8.1", @@ -692,398 +648,6 @@ }, "time": "2016-02-22T01:05:40+00:00" }, - { - "name": "open-telemetry/api", - "version": "1.0.0", - "source": { - "type": "git", - "url": "https://github.com/opentelemetry-php/api.git", - "reference": "d577d732333d38a9a6c16936363ee25f1e3f1c3c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/opentelemetry-php/api/zipball/d577d732333d38a9a6c16936363ee25f1e3f1c3c", - "reference": "d577d732333d38a9a6c16936363ee25f1e3f1c3c", - "shasum": "" - }, - "require": { - "open-telemetry/context": "^1.0", - "php": "^7.4 || ^8.0", - "psr/log": "^1.1|^2.0|^3.0", - "symfony/polyfill-php80": "^1.26", - "symfony/polyfill-php81": "^1.26", - "symfony/polyfill-php82": "^1.26" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "1.0.x-dev" - } - }, - "autoload": { - "files": [ - "Trace/functions.php" - ], - "psr-4": { - "OpenTelemetry\\API\\": "." - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "Apache-2.0" - ], - "authors": [ - { - "name": "opentelemetry-php contributors", - "homepage": "https://github.com/open-telemetry/opentelemetry-php/graphs/contributors" - } - ], - "description": "API for OpenTelemetry PHP.", - "keywords": [ - "Metrics", - "api", - "apm", - "logging", - "opentelemetry", - "otel", - "tracing" - ], - "support": { - "chat": "https://app.slack.com/client/T08PSQ7BQ/C01NFPCV44V", - "docs": "https://opentelemetry.io/docs/php", - "issues": "https://github.com/open-telemetry/opentelemetry-php/issues", - "source": "https://github.com/open-telemetry/opentelemetry-php" - }, - "time": "2023-09-27T23:15:51+00:00" - }, - { - "name": "open-telemetry/context", - "version": "1.0.0", - "source": { - "type": "git", - "url": "https://github.com/opentelemetry-php/context.git", - "reference": "99f3d54fa9f9ff67421774feeef5e5b1f209ea21" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/opentelemetry-php/context/zipball/99f3d54fa9f9ff67421774feeef5e5b1f209ea21", - "reference": "99f3d54fa9f9ff67421774feeef5e5b1f209ea21", - "shasum": "" - }, - "require": { - "php": "^7.4 || ^8.0", - "symfony/polyfill-php80": "^1.26", - "symfony/polyfill-php81": "^1.26", - "symfony/polyfill-php82": "^1.26" - }, - "suggest": { - "ext-ffi": "To allow context switching in Fibers" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "1.0.x-dev" - } - }, - "autoload": { - "files": [ - "fiber/initialize_fiber_handler.php" - ], - "psr-4": { - "OpenTelemetry\\Context\\": "." - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "Apache-2.0" - ], - "authors": [ - { - "name": "opentelemetry-php contributors", - "homepage": "https://github.com/open-telemetry/opentelemetry-php/graphs/contributors" - } - ], - "description": "Context implementation for OpenTelemetry PHP.", - "keywords": [ - "Context", - "opentelemetry", - "otel" - ], - "support": { - "chat": "https://app.slack.com/client/T08PSQ7BQ/C01NFPCV44V", - "docs": "https://opentelemetry.io/docs/php", - "issues": "https://github.com/open-telemetry/opentelemetry-php/issues", - "source": "https://github.com/open-telemetry/opentelemetry-php" - }, - "time": "2023-09-05T03:38:44+00:00" - }, - { - "name": "open-telemetry/exporter-otlp", - "version": "1.0.0", - "source": { - "type": "git", - "url": "https://github.com/opentelemetry-php/exporter-otlp.git", - "reference": "756092bdff472ea49adb7843c74011606d065b36" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/opentelemetry-php/exporter-otlp/zipball/756092bdff472ea49adb7843c74011606d065b36", - "reference": "756092bdff472ea49adb7843c74011606d065b36", - "shasum": "" - }, - "require": { - "open-telemetry/api": "^1.0", - "open-telemetry/gen-otlp-protobuf": "^1.0", - "open-telemetry/sdk": "^1.0", - "php": "^7.4 || ^8.0", - "php-http/discovery": "^1.14" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "1.0.x-dev" - } - }, - "autoload": { - "files": [ - "_register.php" - ], - "psr-4": { - "OpenTelemetry\\Contrib\\Otlp\\": "." - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "Apache-2.0" - ], - "authors": [ - { - "name": "opentelemetry-php contributors", - "homepage": "https://github.com/open-telemetry/opentelemetry-php/graphs/contributors" - } - ], - "description": "OTLP exporter for OpenTelemetry.", - "keywords": [ - "Metrics", - "exporter", - "gRPC", - "http", - "opentelemetry", - "otel", - "otlp", - "tracing" - ], - "support": { - "chat": "https://app.slack.com/client/T08PSQ7BQ/C01NFPCV44V", - "docs": "https://opentelemetry.io/docs/php", - "issues": "https://github.com/open-telemetry/opentelemetry-php/issues", - "source": "https://github.com/open-telemetry/opentelemetry-php" - }, - "time": "2023-10-13T00:48:23+00:00" - }, - { - "name": "open-telemetry/gen-otlp-protobuf", - "version": "1.0.0", - "source": { - "type": "git", - "url": "https://github.com/opentelemetry-php/gen-otlp-protobuf.git", - "reference": "30fe95f10c2ec1a577f78257c86fbbebe739ca5e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/opentelemetry-php/gen-otlp-protobuf/zipball/30fe95f10c2ec1a577f78257c86fbbebe739ca5e", - "reference": "30fe95f10c2ec1a577f78257c86fbbebe739ca5e", - "shasum": "" - }, - "require": { - "google/protobuf": "^3.3.0", - "php": "^7.4 || ^8.0" - }, - "suggest": { - "ext-protobuf": "For better performance, when dealing with the protobuf format" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "1.x-dev" - } - }, - "autoload": { - "psr-4": { - "Opentelemetry\\Proto\\": "Opentelemetry/Proto/", - "GPBMetadata\\Opentelemetry\\": "GPBMetadata/Opentelemetry/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "Apache-2.0" - ], - "authors": [ - { - "name": "opentelemetry-php contributors", - "homepage": "https://github.com/open-telemetry/opentelemetry-php/graphs/contributors" - } - ], - "description": "PHP protobuf files for communication with OpenTelemetry OTLP collectors/servers.", - "keywords": [ - "Metrics", - "apm", - "gRPC", - "logging", - "opentelemetry", - "otel", - "otlp", - "protobuf", - "tracing" - ], - "support": { - "chat": "https://app.slack.com/client/T08PSQ7BQ/C01NFPCV44V", - "docs": "https://opentelemetry.io/docs/php", - "issues": "https://github.com/open-telemetry/opentelemetry-php/issues", - "source": "https://github.com/open-telemetry/opentelemetry-php" - }, - "time": "2023-09-05T03:38:44+00:00" - }, - { - "name": "open-telemetry/sdk", - "version": "1.0.0", - "source": { - "type": "git", - "url": "https://github.com/opentelemetry-php/sdk.git", - "reference": "1c6020b4f1b85fdd647538ee46f6c83360d7c11e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/opentelemetry-php/sdk/zipball/1c6020b4f1b85fdd647538ee46f6c83360d7c11e", - "reference": "1c6020b4f1b85fdd647538ee46f6c83360d7c11e", - "shasum": "" - }, - "require": { - "ext-json": "*", - "open-telemetry/api": "^1.0", - "open-telemetry/context": "^1.0", - "open-telemetry/sem-conv": "^1.0", - "php": "^7.4 || ^8.0", - "php-http/discovery": "^1.14", - "psr/http-client": "^1.0", - "psr/http-client-implementation": "^1.0", - "psr/http-factory-implementation": "^1.0", - "psr/http-message": "^1.0.1|^2.0", - "psr/log": "^1.1|^2.0|^3.0", - "symfony/polyfill-mbstring": "^1.23", - "symfony/polyfill-php80": "^1.26", - "symfony/polyfill-php81": "^1.26", - "symfony/polyfill-php82": "^1.26" - }, - "suggest": { - "ext-gmp": "To support unlimited number of synchronous metric readers", - "ext-mbstring": "To increase performance of string operations" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "1.0.x-dev" - } - }, - "autoload": { - "files": [ - "Common/Util/functions.php", - "Logs/Exporter/_register.php", - "Metrics/MetricExporter/_register.php", - "Propagation/_register.php", - "Trace/SpanExporter/_register.php", - "Common/Dev/Compatibility/_load.php", - "_autoload.php" - ], - "psr-4": { - "OpenTelemetry\\SDK\\": "." - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "Apache-2.0" - ], - "authors": [ - { - "name": "opentelemetry-php contributors", - "homepage": "https://github.com/open-telemetry/opentelemetry-php/graphs/contributors" - } - ], - "description": "SDK for OpenTelemetry PHP.", - "keywords": [ - "Metrics", - "apm", - "logging", - "opentelemetry", - "otel", - "sdk", - "tracing" - ], - "support": { - "chat": "https://app.slack.com/client/T08PSQ7BQ/C01NFPCV44V", - "docs": "https://opentelemetry.io/docs/php", - "issues": "https://github.com/open-telemetry/opentelemetry-php/issues", - "source": "https://github.com/open-telemetry/opentelemetry-php" - }, - "time": "2023-10-18T20:53:08+00:00" - }, - { - "name": "open-telemetry/sem-conv", - "version": "1.22.1", - "source": { - "type": "git", - "url": "https://github.com/opentelemetry-php/sem-conv.git", - "reference": "e582b874ee89bec544f962db212b3966fe9310a7" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/opentelemetry-php/sem-conv/zipball/e582b874ee89bec544f962db212b3966fe9310a7", - "reference": "e582b874ee89bec544f962db212b3966fe9310a7", - "shasum": "" - }, - "require": { - "php": "^7.4 || ^8.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "1.x-dev" - } - }, - "autoload": { - "psr-4": { - "OpenTelemetry\\SemConv\\": "." - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "Apache-2.0" - ], - "authors": [ - { - "name": "opentelemetry-php contributors", - "homepage": "https://github.com/open-telemetry/opentelemetry-php/graphs/contributors" - } - ], - "description": "Semantic conventions for OpenTelemetry PHP.", - "keywords": [ - "Metrics", - "apm", - "logging", - "opentelemetry", - "otel", - "semantic conventions", - "semconv", - "tracing" - ], - "support": { - "chat": "https://app.slack.com/client/T08PSQ7BQ/C01NFPCV44V", - "docs": "https://opentelemetry.io/docs/php", - "issues": "https://github.com/open-telemetry/opentelemetry-php/issues", - "source": "https://github.com/open-telemetry/opentelemetry-php" - }, - "time": "2023-10-19T20:10:44+00:00" - }, { "name": "paragonie/constant_time_encoding", "version": "v2.6.3", @@ -1151,84 +715,6 @@ }, "time": "2022-06-14T06:56:20+00:00" }, - { - "name": "php-http/discovery", - "version": "1.19.1", - "source": { - "type": "git", - "url": "https://github.com/php-http/discovery.git", - "reference": "57f3de01d32085fea20865f9b16fb0e69347c39e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-http/discovery/zipball/57f3de01d32085fea20865f9b16fb0e69347c39e", - "reference": "57f3de01d32085fea20865f9b16fb0e69347c39e", - "shasum": "" - }, - "require": { - "composer-plugin-api": "^1.0|^2.0", - "php": "^7.1 || ^8.0" - }, - "conflict": { - "nyholm/psr7": "<1.0", - "zendframework/zend-diactoros": "*" - }, - "provide": { - "php-http/async-client-implementation": "*", - "php-http/client-implementation": "*", - "psr/http-client-implementation": "*", - "psr/http-factory-implementation": "*", - "psr/http-message-implementation": "*" - }, - "require-dev": { - "composer/composer": "^1.0.2|^2.0", - "graham-campbell/phpspec-skip-example-extension": "^5.0", - "php-http/httplug": "^1.0 || ^2.0", - "php-http/message-factory": "^1.0", - "phpspec/phpspec": "^5.1 || ^6.1 || ^7.3", - "symfony/phpunit-bridge": "^6.2" - }, - "type": "composer-plugin", - "extra": { - "class": "Http\\Discovery\\Composer\\Plugin", - "plugin-optional": true - }, - "autoload": { - "psr-4": { - "Http\\Discovery\\": "src/" - }, - "exclude-from-classmap": [ - "src/Composer/Plugin.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Márk Sági-Kazár", - "email": "mark.sagikazar@gmail.com" - } - ], - "description": "Finds and installs PSR-7, PSR-17, PSR-18 and HTTPlug implementations", - "homepage": "http://php-http.org", - "keywords": [ - "adapter", - "client", - "discovery", - "factory", - "http", - "message", - "psr17", - "psr7" - ], - "support": { - "issues": "https://github.com/php-http/discovery/issues", - "source": "https://github.com/php-http/discovery/tree/1.19.1" - }, - "time": "2023-07-11T07:02:26+00:00" - }, { "name": "php-http/guzzle7-adapter", "version": "1.0.0", @@ -1565,56 +1051,6 @@ }, "time": "2023-04-04T09:54:51+00:00" }, - { - "name": "psr/log", - "version": "3.0.0", - "source": { - "type": "git", - "url": "https://github.com/php-fig/log.git", - "reference": "fe5ea303b0887d5caefd3d431c3e61ad47037001" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/log/zipball/fe5ea303b0887d5caefd3d431c3e61ad47037001", - "reference": "fe5ea303b0887d5caefd3d431c3e61ad47037001", - "shasum": "" - }, - "require": { - "php": ">=8.0.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\Log\\": "src" - } - }, - "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/3.0.0" - }, - "time": "2021-07-14T16:46:02+00:00" - }, { "name": "ralouphie/getallheaders", "version": "3.0.3", @@ -1856,330 +1292,6 @@ ], "time": "2022-01-02T09:55:41+00:00" }, - { - "name": "symfony/polyfill-mbstring", - "version": "v1.28.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "42292d99c55abe617799667f454222c54c60e229" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/42292d99c55abe617799667f454222c54c60e229", - "reference": "42292d99c55abe617799667f454222c54c60e229", - "shasum": "" - }, - "require": { - "php": ">=7.1" - }, - "provide": { - "ext-mbstring": "*" - }, - "suggest": { - "ext-mbstring": "For best performance" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "1.28-dev" - }, - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Mbstring\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for the Mbstring extension", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "mbstring", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.28.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2023-07-28T09:04:16+00:00" - }, - { - "name": "symfony/polyfill-php80", - "version": "v1.28.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-php80.git", - "reference": "6caa57379c4aec19c0a12a38b59b26487dcfe4b5" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/6caa57379c4aec19c0a12a38b59b26487dcfe4b5", - "reference": "6caa57379c4aec19c0a12a38b59b26487dcfe4b5", - "shasum": "" - }, - "require": { - "php": ">=7.1" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "1.28-dev" - }, - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Php80\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Ion Bazan", - "email": "ion.bazan@gmail.com" - }, - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill backporting some PHP 8.0+ features to lower PHP versions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-php80/tree/v1.28.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2023-01-26T09:26:14+00:00" - }, - { - "name": "symfony/polyfill-php81", - "version": "v1.28.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-php81.git", - "reference": "7581cd600fa9fd681b797d00b02f068e2f13263b" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php81/zipball/7581cd600fa9fd681b797d00b02f068e2f13263b", - "reference": "7581cd600fa9fd681b797d00b02f068e2f13263b", - "shasum": "" - }, - "require": { - "php": ">=7.1" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "1.28-dev" - }, - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Php81\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill backporting some PHP 8.1+ features to lower PHP versions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-php81/tree/v1.28.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2023-01-26T09:26:14+00:00" - }, - { - "name": "symfony/polyfill-php82", - "version": "v1.28.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-php82.git", - "reference": "7716bea9c86776fb3362d6b52fe1fc9471056a49" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php82/zipball/7716bea9c86776fb3362d6b52fe1fc9471056a49", - "reference": "7716bea9c86776fb3362d6b52fe1fc9471056a49", - "shasum": "" - }, - "require": { - "php": ">=7.1" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "1.28-dev" - }, - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Php82\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill backporting some PHP 8.2+ features to lower PHP versions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-php82/tree/v1.28.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2023-08-25T17:27:25+00:00" - }, { "name": "thecodingmachine/safe", "version": "v2.2.2", @@ -4405,5 +3517,5 @@ "prefer-lowest": false, "platform": [], "platform-dev": [], - "plugin-api-version": "2.6.0" + "plugin-api-version": "2.3.0" } diff --git a/public.php b/public.php index a0f06b436..06bc9882c 100644 --- a/public.php +++ b/public.php @@ -11,8 +11,6 @@ if (!init_plugins()) return; - $span = OpenTelemetry\API\Trace\Span::getCurrent(); - $method = (string)clean($_REQUEST["op"]); // shortcut syntax for public (exposed) methods (?op=plugin--pmethod&...params) @@ -38,34 +36,30 @@ user_error("Refusing to invoke method $method which starts with underscore.", E_USER_WARNING); header("Content-Type: text/json"); print Errors::to_json(Errors::E_UNAUTHORIZED); - $span->setAttribute('error', Errors::E_UNAUTHORIZED); + return; } if (implements_interface($handler, "IHandler") && $handler->before($method)) { - $span->addEvent("construct/$method"); + if ($method && method_exists($handler, $method)) { $reflection = new ReflectionMethod($handler, $method); if ($reflection->getNumberOfRequiredParameters() == 0) { - $span->addEvent("invoke/$method"); $handler->$method(); } else { user_error("Refusing to invoke method $method which has required parameters.", E_USER_WARNING); header("Content-Type: text/json"); print Errors::to_json(Errors::E_UNAUTHORIZED); - $span->setAttribute('error', Errors::E_UNAUTHORIZED); + } } else if (method_exists($handler, 'index')) { - $span->addEvent("index"); $handler->index(); } - $span->addEvent("after/$method"); + $handler->after(); return; } header("Content-Type: text/plain"); print Errors::to_json(Errors::E_UNKNOWN_METHOD); - $span->setAttribute('error', Errors::E_UNKNOWN_METHOD); - diff --git a/utils/phpstan-watcher.sh b/utils/phpstan-watcher.sh index 2fad5df40..5501588be 100755 --- a/utils/phpstan-watcher.sh +++ b/utils/phpstan-watcher.sh @@ -1,6 +1,6 @@ #!/bin/sh -export PHP_IMAGE=registry.fakecake.org/infra/php8.3-alpine:3.19 +export PHP_IMAGE=registry.fakecake.org/infra/php8.3-alpine3.20 docker run --rm -v $(pwd):/app -v /tmp/phpstan:/tmp/phpstan \ --workdir /app ${PHP_IMAGE} \ diff --git a/utils/phpunit-integration.sh b/utils/phpunit-integration.sh index 1c05e308a..7ce458cf8 100755 --- a/utils/phpunit-integration.sh +++ b/utils/phpunit-integration.sh @@ -1,5 +1,7 @@ #!/bin/sh +export PHP_IMAGE=registry.fakecake.org/infra/php8.3-alpine3.20 + docker run --rm -v $(pwd):/app -e API_URL=${API_URL} \ - --workdir /app registry.fakecake.org/infra/php8.3-alpine:3.19 \ + --workdir /app ${PHP_IMAGE} \ php83 -d memory_limit=-1 ./vendor/bin/phpunit --group integration diff --git a/utils/phpunit.sh b/utils/phpunit.sh index e8f00d0f5..667ff92f5 100755 --- a/utils/phpunit.sh +++ b/utils/phpunit.sh @@ -1,5 +1,7 @@ #!/bin/sh +export PHP_IMAGE=registry.fakecake.org/infra/php8.3-alpine3.20 + docker run --rm -v $(pwd):/app \ - --workdir /app registry.fakecake.org/infra/php-fpm8.3-alpine3.19:latest \ + --workdir /app ${PHP_IMAGE} \ php83 -d memory_limit=-1 ./vendor/bin/phpunit --exclude integration diff --git a/vendor/composer/autoload_classmap.php b/vendor/composer/autoload_classmap.php index 146397de4..6835b271a 100644 --- a/vendor/composer/autoload_classmap.php +++ b/vendor/composer/autoload_classmap.php @@ -6,831 +6,12 @@ $vendorDir = dirname(__DIR__); $baseDir = dirname($vendorDir); return array( - 'API' => $baseDir . '/classes/API.php', - 'AllowDynamicProperties' => $vendorDir . '/symfony/polyfill-php82/Resources/stubs/AllowDynamicProperties.php', - 'Article' => $baseDir . '/classes/Article.php', - 'Assert\\Assert' => $vendorDir . '/beberlei/assert/lib/Assert/Assert.php', - 'Assert\\Assertion' => $vendorDir . '/beberlei/assert/lib/Assert/Assertion.php', - 'Assert\\AssertionChain' => $vendorDir . '/beberlei/assert/lib/Assert/AssertionChain.php', - 'Assert\\AssertionFailedException' => $vendorDir . '/beberlei/assert/lib/Assert/AssertionFailedException.php', - 'Assert\\InvalidArgumentException' => $vendorDir . '/beberlei/assert/lib/Assert/InvalidArgumentException.php', - 'Assert\\LazyAssertion' => $vendorDir . '/beberlei/assert/lib/Assert/LazyAssertion.php', - 'Assert\\LazyAssertionException' => $vendorDir . '/beberlei/assert/lib/Assert/LazyAssertionException.php', - 'Attribute' => $vendorDir . '/symfony/polyfill-php80/Resources/stubs/Attribute.php', - 'Auth_Base' => $baseDir . '/classes/Auth_Base.php', - 'CURLStringFile' => $vendorDir . '/symfony/polyfill-php81/Resources/stubs/CURLStringFile.php', - 'Cache_Adapter' => $baseDir . '/classes/Cache_Adapter.php', - 'Cache_Local' => $baseDir . '/classes/Cache_Local.php', 'Composer\\InstalledVersions' => $vendorDir . '/composer/InstalledVersions.php', - 'Config' => $baseDir . '/classes/Config.php', - 'Counters' => $baseDir . '/classes/Counters.php', - 'Db' => $baseDir . '/classes/Db.php', - 'Db_Migrations' => $baseDir . '/classes/Db_Migrations.php', - 'Db_Prefs' => $baseDir . '/classes/Db_Prefs.php', - 'Debug' => $baseDir . '/classes/Debug.php', - 'DeepCopy\\DeepCopy' => $vendorDir . '/myclabs/deep-copy/src/DeepCopy/DeepCopy.php', - 'DeepCopy\\Exception\\CloneException' => $vendorDir . '/myclabs/deep-copy/src/DeepCopy/Exception/CloneException.php', - 'DeepCopy\\Exception\\PropertyException' => $vendorDir . '/myclabs/deep-copy/src/DeepCopy/Exception/PropertyException.php', - 'DeepCopy\\Filter\\Doctrine\\DoctrineCollectionFilter' => $vendorDir . '/myclabs/deep-copy/src/DeepCopy/Filter/Doctrine/DoctrineCollectionFilter.php', - 'DeepCopy\\Filter\\Doctrine\\DoctrineEmptyCollectionFilter' => $vendorDir . '/myclabs/deep-copy/src/DeepCopy/Filter/Doctrine/DoctrineEmptyCollectionFilter.php', - 'DeepCopy\\Filter\\Doctrine\\DoctrineProxyFilter' => $vendorDir . '/myclabs/deep-copy/src/DeepCopy/Filter/Doctrine/DoctrineProxyFilter.php', - 'DeepCopy\\Filter\\Filter' => $vendorDir . '/myclabs/deep-copy/src/DeepCopy/Filter/Filter.php', - 'DeepCopy\\Filter\\KeepFilter' => $vendorDir . '/myclabs/deep-copy/src/DeepCopy/Filter/KeepFilter.php', - 'DeepCopy\\Filter\\ReplaceFilter' => $vendorDir . '/myclabs/deep-copy/src/DeepCopy/Filter/ReplaceFilter.php', - 'DeepCopy\\Filter\\SetNullFilter' => $vendorDir . '/myclabs/deep-copy/src/DeepCopy/Filter/SetNullFilter.php', - 'DeepCopy\\Matcher\\Doctrine\\DoctrineProxyMatcher' => $vendorDir . '/myclabs/deep-copy/src/DeepCopy/Matcher/Doctrine/DoctrineProxyMatcher.php', - 'DeepCopy\\Matcher\\Matcher' => $vendorDir . '/myclabs/deep-copy/src/DeepCopy/Matcher/Matcher.php', - 'DeepCopy\\Matcher\\PropertyMatcher' => $vendorDir . '/myclabs/deep-copy/src/DeepCopy/Matcher/PropertyMatcher.php', - 'DeepCopy\\Matcher\\PropertyNameMatcher' => $vendorDir . '/myclabs/deep-copy/src/DeepCopy/Matcher/PropertyNameMatcher.php', - 'DeepCopy\\Matcher\\PropertyTypeMatcher' => $vendorDir . '/myclabs/deep-copy/src/DeepCopy/Matcher/PropertyTypeMatcher.php', - 'DeepCopy\\Reflection\\ReflectionHelper' => $vendorDir . '/myclabs/deep-copy/src/DeepCopy/Reflection/ReflectionHelper.php', - 'DeepCopy\\TypeFilter\\Date\\DateIntervalFilter' => $vendorDir . '/myclabs/deep-copy/src/DeepCopy/TypeFilter/Date/DateIntervalFilter.php', - 'DeepCopy\\TypeFilter\\ReplaceFilter' => $vendorDir . '/myclabs/deep-copy/src/DeepCopy/TypeFilter/ReplaceFilter.php', - 'DeepCopy\\TypeFilter\\ShallowCopyFilter' => $vendorDir . '/myclabs/deep-copy/src/DeepCopy/TypeFilter/ShallowCopyFilter.php', - 'DeepCopy\\TypeFilter\\Spl\\ArrayObjectFilter' => $vendorDir . '/myclabs/deep-copy/src/DeepCopy/TypeFilter/Spl/ArrayObjectFilter.php', - 'DeepCopy\\TypeFilter\\Spl\\SplDoublyLinkedList' => $vendorDir . '/myclabs/deep-copy/src/DeepCopy/TypeFilter/Spl/SplDoublyLinkedList.php', - 'DeepCopy\\TypeFilter\\Spl\\SplDoublyLinkedListFilter' => $vendorDir . '/myclabs/deep-copy/src/DeepCopy/TypeFilter/Spl/SplDoublyLinkedListFilter.php', - 'DeepCopy\\TypeFilter\\TypeFilter' => $vendorDir . '/myclabs/deep-copy/src/DeepCopy/TypeFilter/TypeFilter.php', - 'DeepCopy\\TypeMatcher\\TypeMatcher' => $vendorDir . '/myclabs/deep-copy/src/DeepCopy/TypeMatcher/TypeMatcher.php', - 'Digest' => $baseDir . '/classes/Digest.php', - 'DiskCache' => $baseDir . '/classes/DiskCache.php', - 'Doctrine\\Instantiator\\Exception\\ExceptionInterface' => $vendorDir . '/doctrine/instantiator/src/Doctrine/Instantiator/Exception/ExceptionInterface.php', - 'Doctrine\\Instantiator\\Exception\\InvalidArgumentException' => $vendorDir . '/doctrine/instantiator/src/Doctrine/Instantiator/Exception/InvalidArgumentException.php', - 'Doctrine\\Instantiator\\Exception\\UnexpectedValueException' => $vendorDir . '/doctrine/instantiator/src/Doctrine/Instantiator/Exception/UnexpectedValueException.php', - 'Doctrine\\Instantiator\\Instantiator' => $vendorDir . '/doctrine/instantiator/src/Doctrine/Instantiator/Instantiator.php', - 'Doctrine\\Instantiator\\InstantiatorInterface' => $vendorDir . '/doctrine/instantiator/src/Doctrine/Instantiator/InstantiatorInterface.php', - 'Errors' => $baseDir . '/classes/Errors.php', - 'FeedEnclosure' => $baseDir . '/classes/FeedEnclosure.php', - 'FeedItem' => $baseDir . '/classes/FeedItem.php', - 'FeedItem_Atom' => $baseDir . '/classes/FeedItem_Atom.php', - 'FeedItem_Common' => $baseDir . '/classes/FeedItem_Common.php', - 'FeedItem_RSS' => $baseDir . '/classes/FeedItem_RSS.php', - 'FeedParser' => $baseDir . '/classes/FeedParser.php', - 'Feeds' => $baseDir . '/classes/Feeds.php', - 'GPBMetadata\\Google\\Protobuf\\Any' => $vendorDir . '/google/protobuf/src/GPBMetadata/Google/Protobuf/Any.php', - 'GPBMetadata\\Google\\Protobuf\\Api' => $vendorDir . '/google/protobuf/src/GPBMetadata/Google/Protobuf/Api.php', - 'GPBMetadata\\Google\\Protobuf\\Duration' => $vendorDir . '/google/protobuf/src/GPBMetadata/Google/Protobuf/Duration.php', - 'GPBMetadata\\Google\\Protobuf\\FieldMask' => $vendorDir . '/google/protobuf/src/GPBMetadata/Google/Protobuf/FieldMask.php', - 'GPBMetadata\\Google\\Protobuf\\GPBEmpty' => $vendorDir . '/google/protobuf/src/GPBMetadata/Google/Protobuf/GPBEmpty.php', - 'GPBMetadata\\Google\\Protobuf\\Internal\\Descriptor' => $vendorDir . '/google/protobuf/src/GPBMetadata/Google/Protobuf/Internal/Descriptor.php', - 'GPBMetadata\\Google\\Protobuf\\SourceContext' => $vendorDir . '/google/protobuf/src/GPBMetadata/Google/Protobuf/SourceContext.php', - 'GPBMetadata\\Google\\Protobuf\\Struct' => $vendorDir . '/google/protobuf/src/GPBMetadata/Google/Protobuf/Struct.php', - 'GPBMetadata\\Google\\Protobuf\\Timestamp' => $vendorDir . '/google/protobuf/src/GPBMetadata/Google/Protobuf/Timestamp.php', - 'GPBMetadata\\Google\\Protobuf\\Type' => $vendorDir . '/google/protobuf/src/GPBMetadata/Google/Protobuf/Type.php', - 'GPBMetadata\\Google\\Protobuf\\Wrappers' => $vendorDir . '/google/protobuf/src/GPBMetadata/Google/Protobuf/Wrappers.php', - 'GPBMetadata\\Opentelemetry\\Proto\\Collector\\Logs\\V1\\LogsService' => $vendorDir . '/open-telemetry/gen-otlp-protobuf/GPBMetadata/Opentelemetry/Proto/Collector/Logs/V1/LogsService.php', - 'GPBMetadata\\Opentelemetry\\Proto\\Collector\\Metrics\\V1\\MetricsService' => $vendorDir . '/open-telemetry/gen-otlp-protobuf/GPBMetadata/Opentelemetry/Proto/Collector/Metrics/V1/MetricsService.php', - 'GPBMetadata\\Opentelemetry\\Proto\\Collector\\Trace\\V1\\TraceService' => $vendorDir . '/open-telemetry/gen-otlp-protobuf/GPBMetadata/Opentelemetry/Proto/Collector/Trace/V1/TraceService.php', - 'GPBMetadata\\Opentelemetry\\Proto\\Common\\V1\\Common' => $vendorDir . '/open-telemetry/gen-otlp-protobuf/GPBMetadata/Opentelemetry/Proto/Common/V1/Common.php', - 'GPBMetadata\\Opentelemetry\\Proto\\Logs\\V1\\Logs' => $vendorDir . '/open-telemetry/gen-otlp-protobuf/GPBMetadata/Opentelemetry/Proto/Logs/V1/Logs.php', - 'GPBMetadata\\Opentelemetry\\Proto\\Metrics\\Experimental\\MetricsConfigService' => $vendorDir . '/open-telemetry/gen-otlp-protobuf/GPBMetadata/Opentelemetry/Proto/Metrics/Experimental/MetricsConfigService.php', - 'GPBMetadata\\Opentelemetry\\Proto\\Metrics\\V1\\Metrics' => $vendorDir . '/open-telemetry/gen-otlp-protobuf/GPBMetadata/Opentelemetry/Proto/Metrics/V1/Metrics.php', - 'GPBMetadata\\Opentelemetry\\Proto\\Resource\\V1\\Resource' => $vendorDir . '/open-telemetry/gen-otlp-protobuf/GPBMetadata/Opentelemetry/Proto/Resource/V1/Resource.php', - 'GPBMetadata\\Opentelemetry\\Proto\\Trace\\V1\\Trace' => $vendorDir . '/open-telemetry/gen-otlp-protobuf/GPBMetadata/Opentelemetry/Proto/Trace/V1/Trace.php', - 'GPBMetadata\\Opentelemetry\\Proto\\Trace\\V1\\TraceConfig' => $vendorDir . '/open-telemetry/gen-otlp-protobuf/GPBMetadata/Opentelemetry/Proto/Trace/V1/TraceConfig.php', - 'Google\\Protobuf\\Any' => $vendorDir . '/google/protobuf/src/Google/Protobuf/Any.php', - 'Google\\Protobuf\\Api' => $vendorDir . '/google/protobuf/src/Google/Protobuf/Api.php', - 'Google\\Protobuf\\BoolValue' => $vendorDir . '/google/protobuf/src/Google/Protobuf/BoolValue.php', - 'Google\\Protobuf\\BytesValue' => $vendorDir . '/google/protobuf/src/Google/Protobuf/BytesValue.php', - 'Google\\Protobuf\\Descriptor' => $vendorDir . '/google/protobuf/src/Google/Protobuf/Descriptor.php', - 'Google\\Protobuf\\DescriptorPool' => $vendorDir . '/google/protobuf/src/Google/Protobuf/DescriptorPool.php', - 'Google\\Protobuf\\DoubleValue' => $vendorDir . '/google/protobuf/src/Google/Protobuf/DoubleValue.php', - 'Google\\Protobuf\\Duration' => $vendorDir . '/google/protobuf/src/Google/Protobuf/Duration.php', - 'Google\\Protobuf\\Enum' => $vendorDir . '/google/protobuf/src/Google/Protobuf/Enum.php', - 'Google\\Protobuf\\EnumDescriptor' => $vendorDir . '/google/protobuf/src/Google/Protobuf/EnumDescriptor.php', - 'Google\\Protobuf\\EnumValue' => $vendorDir . '/google/protobuf/src/Google/Protobuf/EnumValue.php', - 'Google\\Protobuf\\EnumValueDescriptor' => $vendorDir . '/google/protobuf/src/Google/Protobuf/EnumValueDescriptor.php', - 'Google\\Protobuf\\Field' => $vendorDir . '/google/protobuf/src/Google/Protobuf/Field.php', - 'Google\\Protobuf\\FieldDescriptor' => $vendorDir . '/google/protobuf/src/Google/Protobuf/FieldDescriptor.php', - 'Google\\Protobuf\\FieldMask' => $vendorDir . '/google/protobuf/src/Google/Protobuf/FieldMask.php', - 'Google\\Protobuf\\Field\\Cardinality' => $vendorDir . '/google/protobuf/src/Google/Protobuf/Field/Cardinality.php', - 'Google\\Protobuf\\Field\\Kind' => $vendorDir . '/google/protobuf/src/Google/Protobuf/Field/Kind.php', - 'Google\\Protobuf\\Field_Cardinality' => $vendorDir . '/google/protobuf/src/Google/Protobuf/Field_Cardinality.php', - 'Google\\Protobuf\\Field_Kind' => $vendorDir . '/google/protobuf/src/Google/Protobuf/Field_Kind.php', - 'Google\\Protobuf\\FloatValue' => $vendorDir . '/google/protobuf/src/Google/Protobuf/FloatValue.php', - 'Google\\Protobuf\\GPBEmpty' => $vendorDir . '/google/protobuf/src/Google/Protobuf/GPBEmpty.php', - 'Google\\Protobuf\\Int32Value' => $vendorDir . '/google/protobuf/src/Google/Protobuf/Int32Value.php', - 'Google\\Protobuf\\Int64Value' => $vendorDir . '/google/protobuf/src/Google/Protobuf/Int64Value.php', - 'Google\\Protobuf\\Internal\\AnyBase' => $vendorDir . '/google/protobuf/src/Google/Protobuf/Internal/AnyBase.php', - 'Google\\Protobuf\\Internal\\CodedInputStream' => $vendorDir . '/google/protobuf/src/Google/Protobuf/Internal/CodedInputStream.php', - 'Google\\Protobuf\\Internal\\CodedOutputStream' => $vendorDir . '/google/protobuf/src/Google/Protobuf/Internal/CodedOutputStream.php', - 'Google\\Protobuf\\Internal\\Descriptor' => $vendorDir . '/google/protobuf/src/Google/Protobuf/Internal/Descriptor.php', - 'Google\\Protobuf\\Internal\\DescriptorPool' => $vendorDir . '/google/protobuf/src/Google/Protobuf/Internal/DescriptorPool.php', - 'Google\\Protobuf\\Internal\\DescriptorProto' => $vendorDir . '/google/protobuf/src/Google/Protobuf/Internal/DescriptorProto.php', - 'Google\\Protobuf\\Internal\\DescriptorProto\\ExtensionRange' => $vendorDir . '/google/protobuf/src/Google/Protobuf/Internal/DescriptorProto/ExtensionRange.php', - 'Google\\Protobuf\\Internal\\DescriptorProto\\ReservedRange' => $vendorDir . '/google/protobuf/src/Google/Protobuf/Internal/DescriptorProto/ReservedRange.php', - 'Google\\Protobuf\\Internal\\DescriptorProto_ExtensionRange' => $vendorDir . '/google/protobuf/src/Google/Protobuf/Internal/DescriptorProto_ExtensionRange.php', - 'Google\\Protobuf\\Internal\\DescriptorProto_ReservedRange' => $vendorDir . '/google/protobuf/src/Google/Protobuf/Internal/DescriptorProto_ReservedRange.php', - 'Google\\Protobuf\\Internal\\EnumBuilderContext' => $vendorDir . '/google/protobuf/src/Google/Protobuf/Internal/EnumBuilderContext.php', - 'Google\\Protobuf\\Internal\\EnumDescriptor' => $vendorDir . '/google/protobuf/src/Google/Protobuf/Internal/EnumDescriptor.php', - 'Google\\Protobuf\\Internal\\EnumDescriptorProto' => $vendorDir . '/google/protobuf/src/Google/Protobuf/Internal/EnumDescriptorProto.php', - 'Google\\Protobuf\\Internal\\EnumDescriptorProto\\EnumReservedRange' => $vendorDir . '/google/protobuf/src/Google/Protobuf/Internal/EnumDescriptorProto/EnumReservedRange.php', - 'Google\\Protobuf\\Internal\\EnumDescriptorProto_EnumReservedRange' => $vendorDir . '/google/protobuf/src/Google/Protobuf/Internal/EnumDescriptorProto_EnumReservedRange.php', - 'Google\\Protobuf\\Internal\\EnumOptions' => $vendorDir . '/google/protobuf/src/Google/Protobuf/Internal/EnumOptions.php', - 'Google\\Protobuf\\Internal\\EnumValueDescriptorProto' => $vendorDir . '/google/protobuf/src/Google/Protobuf/Internal/EnumValueDescriptorProto.php', - 'Google\\Protobuf\\Internal\\EnumValueOptions' => $vendorDir . '/google/protobuf/src/Google/Protobuf/Internal/EnumValueOptions.php', - 'Google\\Protobuf\\Internal\\ExtensionRangeOptions' => $vendorDir . '/google/protobuf/src/Google/Protobuf/Internal/ExtensionRangeOptions.php', - 'Google\\Protobuf\\Internal\\FieldDescriptor' => $vendorDir . '/google/protobuf/src/Google/Protobuf/Internal/FieldDescriptor.php', - 'Google\\Protobuf\\Internal\\FieldDescriptorProto' => $vendorDir . '/google/protobuf/src/Google/Protobuf/Internal/FieldDescriptorProto.php', - 'Google\\Protobuf\\Internal\\FieldDescriptorProto\\Label' => $vendorDir . '/google/protobuf/src/Google/Protobuf/Internal/FieldDescriptorProto/Label.php', - 'Google\\Protobuf\\Internal\\FieldDescriptorProto\\Type' => $vendorDir . '/google/protobuf/src/Google/Protobuf/Internal/FieldDescriptorProto/Type.php', - 'Google\\Protobuf\\Internal\\FieldDescriptorProto_Label' => $vendorDir . '/google/protobuf/src/Google/Protobuf/Internal/FieldDescriptorProto_Label.php', - 'Google\\Protobuf\\Internal\\FieldDescriptorProto_Type' => $vendorDir . '/google/protobuf/src/Google/Protobuf/Internal/FieldDescriptorProto_Type.php', - 'Google\\Protobuf\\Internal\\FieldOptions' => $vendorDir . '/google/protobuf/src/Google/Protobuf/Internal/FieldOptions.php', - 'Google\\Protobuf\\Internal\\FieldOptions\\CType' => $vendorDir . '/google/protobuf/src/Google/Protobuf/Internal/FieldOptions/CType.php', - 'Google\\Protobuf\\Internal\\FieldOptions\\JSType' => $vendorDir . '/google/protobuf/src/Google/Protobuf/Internal/FieldOptions/JSType.php', - 'Google\\Protobuf\\Internal\\FieldOptions_CType' => $vendorDir . '/google/protobuf/src/Google/Protobuf/Internal/FieldOptions_CType.php', - 'Google\\Protobuf\\Internal\\FieldOptions_JSType' => $vendorDir . '/google/protobuf/src/Google/Protobuf/Internal/FieldOptions_JSType.php', - 'Google\\Protobuf\\Internal\\FileDescriptor' => $vendorDir . '/google/protobuf/src/Google/Protobuf/Internal/FileDescriptor.php', - 'Google\\Protobuf\\Internal\\FileDescriptorProto' => $vendorDir . '/google/protobuf/src/Google/Protobuf/Internal/FileDescriptorProto.php', - 'Google\\Protobuf\\Internal\\FileDescriptorSet' => $vendorDir . '/google/protobuf/src/Google/Protobuf/Internal/FileDescriptorSet.php', - 'Google\\Protobuf\\Internal\\FileOptions' => $vendorDir . '/google/protobuf/src/Google/Protobuf/Internal/FileOptions.php', - 'Google\\Protobuf\\Internal\\FileOptions\\OptimizeMode' => $vendorDir . '/google/protobuf/src/Google/Protobuf/Internal/FileOptions/OptimizeMode.php', - 'Google\\Protobuf\\Internal\\FileOptions_OptimizeMode' => $vendorDir . '/google/protobuf/src/Google/Protobuf/Internal/FileOptions_OptimizeMode.php', - 'Google\\Protobuf\\Internal\\GPBDecodeException' => $vendorDir . '/google/protobuf/src/Google/Protobuf/Internal/GPBDecodeException.php', - 'Google\\Protobuf\\Internal\\GPBJsonWire' => $vendorDir . '/google/protobuf/src/Google/Protobuf/Internal/GPBJsonWire.php', - 'Google\\Protobuf\\Internal\\GPBLabel' => $vendorDir . '/google/protobuf/src/Google/Protobuf/Internal/GPBLabel.php', - 'Google\\Protobuf\\Internal\\GPBType' => $vendorDir . '/google/protobuf/src/Google/Protobuf/Internal/GPBType.php', - 'Google\\Protobuf\\Internal\\GPBUtil' => $vendorDir . '/google/protobuf/src/Google/Protobuf/Internal/GPBUtil.php', - 'Google\\Protobuf\\Internal\\GPBWire' => $vendorDir . '/google/protobuf/src/Google/Protobuf/Internal/GPBWire.php', - 'Google\\Protobuf\\Internal\\GPBWireType' => $vendorDir . '/google/protobuf/src/Google/Protobuf/Internal/GPBWireType.php', - 'Google\\Protobuf\\Internal\\GeneratedCodeInfo' => $vendorDir . '/google/protobuf/src/Google/Protobuf/Internal/GeneratedCodeInfo.php', - 'Google\\Protobuf\\Internal\\GeneratedCodeInfo\\Annotation' => $vendorDir . '/google/protobuf/src/Google/Protobuf/Internal/GeneratedCodeInfo/Annotation.php', - 'Google\\Protobuf\\Internal\\GeneratedCodeInfo_Annotation' => $vendorDir . '/google/protobuf/src/Google/Protobuf/Internal/GeneratedCodeInfo_Annotation.php', - 'Google\\Protobuf\\Internal\\GetPublicDescriptorTrait' => $vendorDir . '/google/protobuf/src/Google/Protobuf/Internal/GetPublicDescriptorTrait.php', - 'Google\\Protobuf\\Internal\\HasPublicDescriptorTrait' => $vendorDir . '/google/protobuf/src/Google/Protobuf/Internal/HasPublicDescriptorTrait.php', - 'Google\\Protobuf\\Internal\\MapEntry' => $vendorDir . '/google/protobuf/src/Google/Protobuf/Internal/MapEntry.php', - 'Google\\Protobuf\\Internal\\MapField' => $vendorDir . '/google/protobuf/src/Google/Protobuf/Internal/MapField.php', - 'Google\\Protobuf\\Internal\\MapFieldIter' => $vendorDir . '/google/protobuf/src/Google/Protobuf/Internal/MapFieldIter.php', - 'Google\\Protobuf\\Internal\\Message' => $vendorDir . '/google/protobuf/src/Google/Protobuf/Internal/Message.php', - 'Google\\Protobuf\\Internal\\MessageBuilderContext' => $vendorDir . '/google/protobuf/src/Google/Protobuf/Internal/MessageBuilderContext.php', - 'Google\\Protobuf\\Internal\\MessageOptions' => $vendorDir . '/google/protobuf/src/Google/Protobuf/Internal/MessageOptions.php', - 'Google\\Protobuf\\Internal\\MethodDescriptorProto' => $vendorDir . '/google/protobuf/src/Google/Protobuf/Internal/MethodDescriptorProto.php', - 'Google\\Protobuf\\Internal\\MethodOptions' => $vendorDir . '/google/protobuf/src/Google/Protobuf/Internal/MethodOptions.php', - 'Google\\Protobuf\\Internal\\MethodOptions\\IdempotencyLevel' => $vendorDir . '/google/protobuf/src/Google/Protobuf/Internal/MethodOptions/IdempotencyLevel.php', - 'Google\\Protobuf\\Internal\\MethodOptions_IdempotencyLevel' => $vendorDir . '/google/protobuf/src/Google/Protobuf/Internal/MethodOptions_IdempotencyLevel.php', - 'Google\\Protobuf\\Internal\\OneofDescriptor' => $vendorDir . '/google/protobuf/src/Google/Protobuf/Internal/OneofDescriptor.php', - 'Google\\Protobuf\\Internal\\OneofDescriptorProto' => $vendorDir . '/google/protobuf/src/Google/Protobuf/Internal/OneofDescriptorProto.php', - 'Google\\Protobuf\\Internal\\OneofField' => $vendorDir . '/google/protobuf/src/Google/Protobuf/Internal/OneofField.php', - 'Google\\Protobuf\\Internal\\OneofOptions' => $vendorDir . '/google/protobuf/src/Google/Protobuf/Internal/OneofOptions.php', - 'Google\\Protobuf\\Internal\\RawInputStream' => $vendorDir . '/google/protobuf/src/Google/Protobuf/Internal/RawInputStream.php', - 'Google\\Protobuf\\Internal\\RepeatedField' => $vendorDir . '/google/protobuf/src/Google/Protobuf/Internal/RepeatedField.php', - 'Google\\Protobuf\\Internal\\RepeatedFieldIter' => $vendorDir . '/google/protobuf/src/Google/Protobuf/Internal/RepeatedFieldIter.php', - 'Google\\Protobuf\\Internal\\ServiceDescriptorProto' => $vendorDir . '/google/protobuf/src/Google/Protobuf/Internal/ServiceDescriptorProto.php', - 'Google\\Protobuf\\Internal\\ServiceOptions' => $vendorDir . '/google/protobuf/src/Google/Protobuf/Internal/ServiceOptions.php', - 'Google\\Protobuf\\Internal\\SourceCodeInfo' => $vendorDir . '/google/protobuf/src/Google/Protobuf/Internal/SourceCodeInfo.php', - 'Google\\Protobuf\\Internal\\SourceCodeInfo\\Location' => $vendorDir . '/google/protobuf/src/Google/Protobuf/Internal/SourceCodeInfo/Location.php', - 'Google\\Protobuf\\Internal\\SourceCodeInfo_Location' => $vendorDir . '/google/protobuf/src/Google/Protobuf/Internal/SourceCodeInfo_Location.php', - 'Google\\Protobuf\\Internal\\TimestampBase' => $vendorDir . '/google/protobuf/src/Google/Protobuf/Internal/TimestampBase.php', - 'Google\\Protobuf\\Internal\\UninterpretedOption' => $vendorDir . '/google/protobuf/src/Google/Protobuf/Internal/UninterpretedOption.php', - 'Google\\Protobuf\\Internal\\UninterpretedOption\\NamePart' => $vendorDir . '/google/protobuf/src/Google/Protobuf/Internal/UninterpretedOption/NamePart.php', - 'Google\\Protobuf\\Internal\\UninterpretedOption_NamePart' => $vendorDir . '/google/protobuf/src/Google/Protobuf/Internal/UninterpretedOption_NamePart.php', - 'Google\\Protobuf\\ListValue' => $vendorDir . '/google/protobuf/src/Google/Protobuf/ListValue.php', - 'Google\\Protobuf\\Method' => $vendorDir . '/google/protobuf/src/Google/Protobuf/Method.php', - 'Google\\Protobuf\\Mixin' => $vendorDir . '/google/protobuf/src/Google/Protobuf/Mixin.php', - 'Google\\Protobuf\\NullValue' => $vendorDir . '/google/protobuf/src/Google/Protobuf/NullValue.php', - 'Google\\Protobuf\\OneofDescriptor' => $vendorDir . '/google/protobuf/src/Google/Protobuf/OneofDescriptor.php', - 'Google\\Protobuf\\Option' => $vendorDir . '/google/protobuf/src/Google/Protobuf/Option.php', - 'Google\\Protobuf\\SourceContext' => $vendorDir . '/google/protobuf/src/Google/Protobuf/SourceContext.php', - 'Google\\Protobuf\\StringValue' => $vendorDir . '/google/protobuf/src/Google/Protobuf/StringValue.php', - 'Google\\Protobuf\\Struct' => $vendorDir . '/google/protobuf/src/Google/Protobuf/Struct.php', - 'Google\\Protobuf\\Syntax' => $vendorDir . '/google/protobuf/src/Google/Protobuf/Syntax.php', - 'Google\\Protobuf\\Timestamp' => $vendorDir . '/google/protobuf/src/Google/Protobuf/Timestamp.php', - 'Google\\Protobuf\\Type' => $vendorDir . '/google/protobuf/src/Google/Protobuf/Type.php', - 'Google\\Protobuf\\UInt32Value' => $vendorDir . '/google/protobuf/src/Google/Protobuf/UInt32Value.php', - 'Google\\Protobuf\\UInt64Value' => $vendorDir . '/google/protobuf/src/Google/Protobuf/UInt64Value.php', - 'Google\\Protobuf\\Value' => $vendorDir . '/google/protobuf/src/Google/Protobuf/Value.php', - 'GuzzleHttp\\BodySummarizer' => $vendorDir . '/guzzlehttp/guzzle/src/BodySummarizer.php', - 'GuzzleHttp\\BodySummarizerInterface' => $vendorDir . '/guzzlehttp/guzzle/src/BodySummarizerInterface.php', - 'GuzzleHttp\\Client' => $vendorDir . '/guzzlehttp/guzzle/src/Client.php', - 'GuzzleHttp\\ClientInterface' => $vendorDir . '/guzzlehttp/guzzle/src/ClientInterface.php', - 'GuzzleHttp\\ClientTrait' => $vendorDir . '/guzzlehttp/guzzle/src/ClientTrait.php', - 'GuzzleHttp\\Cookie\\CookieJar' => $vendorDir . '/guzzlehttp/guzzle/src/Cookie/CookieJar.php', - 'GuzzleHttp\\Cookie\\CookieJarInterface' => $vendorDir . '/guzzlehttp/guzzle/src/Cookie/CookieJarInterface.php', - 'GuzzleHttp\\Cookie\\FileCookieJar' => $vendorDir . '/guzzlehttp/guzzle/src/Cookie/FileCookieJar.php', - 'GuzzleHttp\\Cookie\\SessionCookieJar' => $vendorDir . '/guzzlehttp/guzzle/src/Cookie/SessionCookieJar.php', - 'GuzzleHttp\\Cookie\\SetCookie' => $vendorDir . '/guzzlehttp/guzzle/src/Cookie/SetCookie.php', - 'GuzzleHttp\\Exception\\BadResponseException' => $vendorDir . '/guzzlehttp/guzzle/src/Exception/BadResponseException.php', - 'GuzzleHttp\\Exception\\ClientException' => $vendorDir . '/guzzlehttp/guzzle/src/Exception/ClientException.php', - 'GuzzleHttp\\Exception\\ConnectException' => $vendorDir . '/guzzlehttp/guzzle/src/Exception/ConnectException.php', - 'GuzzleHttp\\Exception\\GuzzleException' => $vendorDir . '/guzzlehttp/guzzle/src/Exception/GuzzleException.php', - 'GuzzleHttp\\Exception\\InvalidArgumentException' => $vendorDir . '/guzzlehttp/guzzle/src/Exception/InvalidArgumentException.php', - 'GuzzleHttp\\Exception\\RequestException' => $vendorDir . '/guzzlehttp/guzzle/src/Exception/RequestException.php', - 'GuzzleHttp\\Exception\\ServerException' => $vendorDir . '/guzzlehttp/guzzle/src/Exception/ServerException.php', - 'GuzzleHttp\\Exception\\TooManyRedirectsException' => $vendorDir . '/guzzlehttp/guzzle/src/Exception/TooManyRedirectsException.php', - 'GuzzleHttp\\Exception\\TransferException' => $vendorDir . '/guzzlehttp/guzzle/src/Exception/TransferException.php', - 'GuzzleHttp\\HandlerStack' => $vendorDir . '/guzzlehttp/guzzle/src/HandlerStack.php', - 'GuzzleHttp\\Handler\\CurlFactory' => $vendorDir . '/guzzlehttp/guzzle/src/Handler/CurlFactory.php', - 'GuzzleHttp\\Handler\\CurlFactoryInterface' => $vendorDir . '/guzzlehttp/guzzle/src/Handler/CurlFactoryInterface.php', - 'GuzzleHttp\\Handler\\CurlHandler' => $vendorDir . '/guzzlehttp/guzzle/src/Handler/CurlHandler.php', - 'GuzzleHttp\\Handler\\CurlMultiHandler' => $vendorDir . '/guzzlehttp/guzzle/src/Handler/CurlMultiHandler.php', - 'GuzzleHttp\\Handler\\EasyHandle' => $vendorDir . '/guzzlehttp/guzzle/src/Handler/EasyHandle.php', - 'GuzzleHttp\\Handler\\HeaderProcessor' => $vendorDir . '/guzzlehttp/guzzle/src/Handler/HeaderProcessor.php', - 'GuzzleHttp\\Handler\\MockHandler' => $vendorDir . '/guzzlehttp/guzzle/src/Handler/MockHandler.php', - 'GuzzleHttp\\Handler\\Proxy' => $vendorDir . '/guzzlehttp/guzzle/src/Handler/Proxy.php', - 'GuzzleHttp\\Handler\\StreamHandler' => $vendorDir . '/guzzlehttp/guzzle/src/Handler/StreamHandler.php', - 'GuzzleHttp\\MessageFormatter' => $vendorDir . '/guzzlehttp/guzzle/src/MessageFormatter.php', - 'GuzzleHttp\\MessageFormatterInterface' => $vendorDir . '/guzzlehttp/guzzle/src/MessageFormatterInterface.php', - 'GuzzleHttp\\Middleware' => $vendorDir . '/guzzlehttp/guzzle/src/Middleware.php', - 'GuzzleHttp\\Pool' => $vendorDir . '/guzzlehttp/guzzle/src/Pool.php', - 'GuzzleHttp\\PrepareBodyMiddleware' => $vendorDir . '/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php', - 'GuzzleHttp\\Promise\\AggregateException' => $vendorDir . '/guzzlehttp/promises/src/AggregateException.php', - 'GuzzleHttp\\Promise\\CancellationException' => $vendorDir . '/guzzlehttp/promises/src/CancellationException.php', - 'GuzzleHttp\\Promise\\Coroutine' => $vendorDir . '/guzzlehttp/promises/src/Coroutine.php', - 'GuzzleHttp\\Promise\\Create' => $vendorDir . '/guzzlehttp/promises/src/Create.php', - 'GuzzleHttp\\Promise\\Each' => $vendorDir . '/guzzlehttp/promises/src/Each.php', - 'GuzzleHttp\\Promise\\EachPromise' => $vendorDir . '/guzzlehttp/promises/src/EachPromise.php', - 'GuzzleHttp\\Promise\\FulfilledPromise' => $vendorDir . '/guzzlehttp/promises/src/FulfilledPromise.php', - 'GuzzleHttp\\Promise\\Is' => $vendorDir . '/guzzlehttp/promises/src/Is.php', - 'GuzzleHttp\\Promise\\Promise' => $vendorDir . '/guzzlehttp/promises/src/Promise.php', - 'GuzzleHttp\\Promise\\PromiseInterface' => $vendorDir . '/guzzlehttp/promises/src/PromiseInterface.php', - 'GuzzleHttp\\Promise\\PromisorInterface' => $vendorDir . '/guzzlehttp/promises/src/PromisorInterface.php', - 'GuzzleHttp\\Promise\\RejectedPromise' => $vendorDir . '/guzzlehttp/promises/src/RejectedPromise.php', - 'GuzzleHttp\\Promise\\RejectionException' => $vendorDir . '/guzzlehttp/promises/src/RejectionException.php', - 'GuzzleHttp\\Promise\\TaskQueue' => $vendorDir . '/guzzlehttp/promises/src/TaskQueue.php', - 'GuzzleHttp\\Promise\\TaskQueueInterface' => $vendorDir . '/guzzlehttp/promises/src/TaskQueueInterface.php', - 'GuzzleHttp\\Promise\\Utils' => $vendorDir . '/guzzlehttp/promises/src/Utils.php', - 'GuzzleHttp\\Psr7\\AppendStream' => $vendorDir . '/guzzlehttp/psr7/src/AppendStream.php', - 'GuzzleHttp\\Psr7\\BufferStream' => $vendorDir . '/guzzlehttp/psr7/src/BufferStream.php', - 'GuzzleHttp\\Psr7\\CachingStream' => $vendorDir . '/guzzlehttp/psr7/src/CachingStream.php', - 'GuzzleHttp\\Psr7\\DroppingStream' => $vendorDir . '/guzzlehttp/psr7/src/DroppingStream.php', - 'GuzzleHttp\\Psr7\\Exception\\MalformedUriException' => $vendorDir . '/guzzlehttp/psr7/src/Exception/MalformedUriException.php', - 'GuzzleHttp\\Psr7\\FnStream' => $vendorDir . '/guzzlehttp/psr7/src/FnStream.php', - 'GuzzleHttp\\Psr7\\Header' => $vendorDir . '/guzzlehttp/psr7/src/Header.php', - 'GuzzleHttp\\Psr7\\HttpFactory' => $vendorDir . '/guzzlehttp/psr7/src/HttpFactory.php', - 'GuzzleHttp\\Psr7\\InflateStream' => $vendorDir . '/guzzlehttp/psr7/src/InflateStream.php', - 'GuzzleHttp\\Psr7\\LazyOpenStream' => $vendorDir . '/guzzlehttp/psr7/src/LazyOpenStream.php', - 'GuzzleHttp\\Psr7\\LimitStream' => $vendorDir . '/guzzlehttp/psr7/src/LimitStream.php', - 'GuzzleHttp\\Psr7\\Message' => $vendorDir . '/guzzlehttp/psr7/src/Message.php', - 'GuzzleHttp\\Psr7\\MessageTrait' => $vendorDir . '/guzzlehttp/psr7/src/MessageTrait.php', - 'GuzzleHttp\\Psr7\\MimeType' => $vendorDir . '/guzzlehttp/psr7/src/MimeType.php', - 'GuzzleHttp\\Psr7\\MultipartStream' => $vendorDir . '/guzzlehttp/psr7/src/MultipartStream.php', - 'GuzzleHttp\\Psr7\\NoSeekStream' => $vendorDir . '/guzzlehttp/psr7/src/NoSeekStream.php', - 'GuzzleHttp\\Psr7\\PumpStream' => $vendorDir . '/guzzlehttp/psr7/src/PumpStream.php', - 'GuzzleHttp\\Psr7\\Query' => $vendorDir . '/guzzlehttp/psr7/src/Query.php', - 'GuzzleHttp\\Psr7\\Request' => $vendorDir . '/guzzlehttp/psr7/src/Request.php', - 'GuzzleHttp\\Psr7\\Response' => $vendorDir . '/guzzlehttp/psr7/src/Response.php', - 'GuzzleHttp\\Psr7\\Rfc7230' => $vendorDir . '/guzzlehttp/psr7/src/Rfc7230.php', - 'GuzzleHttp\\Psr7\\ServerRequest' => $vendorDir . '/guzzlehttp/psr7/src/ServerRequest.php', - 'GuzzleHttp\\Psr7\\Stream' => $vendorDir . '/guzzlehttp/psr7/src/Stream.php', - 'GuzzleHttp\\Psr7\\StreamDecoratorTrait' => $vendorDir . '/guzzlehttp/psr7/src/StreamDecoratorTrait.php', - 'GuzzleHttp\\Psr7\\StreamWrapper' => $vendorDir . '/guzzlehttp/psr7/src/StreamWrapper.php', - 'GuzzleHttp\\Psr7\\UploadedFile' => $vendorDir . '/guzzlehttp/psr7/src/UploadedFile.php', - 'GuzzleHttp\\Psr7\\Uri' => $vendorDir . '/guzzlehttp/psr7/src/Uri.php', - 'GuzzleHttp\\Psr7\\UriComparator' => $vendorDir . '/guzzlehttp/psr7/src/UriComparator.php', - 'GuzzleHttp\\Psr7\\UriNormalizer' => $vendorDir . '/guzzlehttp/psr7/src/UriNormalizer.php', - 'GuzzleHttp\\Psr7\\UriResolver' => $vendorDir . '/guzzlehttp/psr7/src/UriResolver.php', - 'GuzzleHttp\\Psr7\\Utils' => $vendorDir . '/guzzlehttp/psr7/src/Utils.php', - 'GuzzleHttp\\RedirectMiddleware' => $vendorDir . '/guzzlehttp/guzzle/src/RedirectMiddleware.php', - 'GuzzleHttp\\RequestOptions' => $vendorDir . '/guzzlehttp/guzzle/src/RequestOptions.php', - 'GuzzleHttp\\RetryMiddleware' => $vendorDir . '/guzzlehttp/guzzle/src/RetryMiddleware.php', - 'GuzzleHttp\\TransferStats' => $vendorDir . '/guzzlehttp/guzzle/src/TransferStats.php', - 'GuzzleHttp\\Utils' => $vendorDir . '/guzzlehttp/guzzle/src/Utils.php', - 'Handler' => $baseDir . '/classes/Handler.php', - 'Handler_Administrative' => $baseDir . '/classes/Handler_Administrative.php', - 'Handler_Protected' => $baseDir . '/classes/Handler_Protected.php', - 'Handler_Public' => $baseDir . '/classes/Handler_Public.php', - 'Http\\Adapter\\Guzzle7\\Client' => $vendorDir . '/php-http/guzzle7-adapter/src/Client.php', - 'Http\\Adapter\\Guzzle7\\Exception\\UnexpectedValueException' => $vendorDir . '/php-http/guzzle7-adapter/src/Exception/UnexpectedValueException.php', - 'Http\\Adapter\\Guzzle7\\Promise' => $vendorDir . '/php-http/guzzle7-adapter/src/Promise.php', - 'Http\\Client\\Exception' => $vendorDir . '/php-http/httplug/src/Exception.php', - 'Http\\Client\\Exception\\HttpException' => $vendorDir . '/php-http/httplug/src/Exception/HttpException.php', - 'Http\\Client\\Exception\\NetworkException' => $vendorDir . '/php-http/httplug/src/Exception/NetworkException.php', - 'Http\\Client\\Exception\\RequestAwareTrait' => $vendorDir . '/php-http/httplug/src/Exception/RequestAwareTrait.php', - 'Http\\Client\\Exception\\RequestException' => $vendorDir . '/php-http/httplug/src/Exception/RequestException.php', - 'Http\\Client\\Exception\\TransferException' => $vendorDir . '/php-http/httplug/src/Exception/TransferException.php', - 'Http\\Client\\HttpAsyncClient' => $vendorDir . '/php-http/httplug/src/HttpAsyncClient.php', - 'Http\\Client\\HttpClient' => $vendorDir . '/php-http/httplug/src/HttpClient.php', - 'Http\\Client\\Promise\\HttpFulfilledPromise' => $vendorDir . '/php-http/httplug/src/Promise/HttpFulfilledPromise.php', - 'Http\\Client\\Promise\\HttpRejectedPromise' => $vendorDir . '/php-http/httplug/src/Promise/HttpRejectedPromise.php', - 'Http\\Discovery\\ClassDiscovery' => $vendorDir . '/php-http/discovery/src/ClassDiscovery.php', - 'Http\\Discovery\\Exception' => $vendorDir . '/php-http/discovery/src/Exception.php', - 'Http\\Discovery\\Exception\\ClassInstantiationFailedException' => $vendorDir . '/php-http/discovery/src/Exception/ClassInstantiationFailedException.php', - 'Http\\Discovery\\Exception\\DiscoveryFailedException' => $vendorDir . '/php-http/discovery/src/Exception/DiscoveryFailedException.php', - 'Http\\Discovery\\Exception\\NoCandidateFoundException' => $vendorDir . '/php-http/discovery/src/Exception/NoCandidateFoundException.php', - 'Http\\Discovery\\Exception\\NotFoundException' => $vendorDir . '/php-http/discovery/src/Exception/NotFoundException.php', - 'Http\\Discovery\\Exception\\PuliUnavailableException' => $vendorDir . '/php-http/discovery/src/Exception/PuliUnavailableException.php', - 'Http\\Discovery\\Exception\\StrategyUnavailableException' => $vendorDir . '/php-http/discovery/src/Exception/StrategyUnavailableException.php', - 'Http\\Discovery\\HttpAsyncClientDiscovery' => $vendorDir . '/php-http/discovery/src/HttpAsyncClientDiscovery.php', - 'Http\\Discovery\\HttpClientDiscovery' => $vendorDir . '/php-http/discovery/src/HttpClientDiscovery.php', - 'Http\\Discovery\\MessageFactoryDiscovery' => $vendorDir . '/php-http/discovery/src/MessageFactoryDiscovery.php', - 'Http\\Discovery\\NotFoundException' => $vendorDir . '/php-http/discovery/src/NotFoundException.php', - 'Http\\Discovery\\Psr17Factory' => $vendorDir . '/php-http/discovery/src/Psr17Factory.php', - 'Http\\Discovery\\Psr17FactoryDiscovery' => $vendorDir . '/php-http/discovery/src/Psr17FactoryDiscovery.php', - 'Http\\Discovery\\Psr18Client' => $vendorDir . '/php-http/discovery/src/Psr18Client.php', - 'Http\\Discovery\\Psr18ClientDiscovery' => $vendorDir . '/php-http/discovery/src/Psr18ClientDiscovery.php', - 'Http\\Discovery\\Strategy\\CommonClassesStrategy' => $vendorDir . '/php-http/discovery/src/Strategy/CommonClassesStrategy.php', - 'Http\\Discovery\\Strategy\\CommonPsr17ClassesStrategy' => $vendorDir . '/php-http/discovery/src/Strategy/CommonPsr17ClassesStrategy.php', - 'Http\\Discovery\\Strategy\\DiscoveryStrategy' => $vendorDir . '/php-http/discovery/src/Strategy/DiscoveryStrategy.php', - 'Http\\Discovery\\Strategy\\MockClientStrategy' => $vendorDir . '/php-http/discovery/src/Strategy/MockClientStrategy.php', - 'Http\\Discovery\\Strategy\\PuliBetaStrategy' => $vendorDir . '/php-http/discovery/src/Strategy/PuliBetaStrategy.php', - 'Http\\Discovery\\StreamFactoryDiscovery' => $vendorDir . '/php-http/discovery/src/StreamFactoryDiscovery.php', - 'Http\\Discovery\\UriFactoryDiscovery' => $vendorDir . '/php-http/discovery/src/UriFactoryDiscovery.php', - 'Http\\Promise\\FulfilledPromise' => $vendorDir . '/php-http/promise/src/FulfilledPromise.php', - 'Http\\Promise\\Promise' => $vendorDir . '/php-http/promise/src/Promise.php', - 'Http\\Promise\\RejectedPromise' => $vendorDir . '/php-http/promise/src/RejectedPromise.php', - 'IAuthModule' => $baseDir . '/classes/IAuthModule.php', - 'IAuthModule2' => $baseDir . '/classes/IAuthModule2.php', - 'ICatchall' => $baseDir . '/classes/ICatchall.php', - 'IHandler' => $baseDir . '/classes/IHandler.php', - 'IVirtualFeed' => $baseDir . '/classes/IVirtualFeed.php', 'IdiormMethodMissingException' => $vendorDir . '/j4mie/idiorm/idiorm.php', 'IdiormResultSet' => $vendorDir . '/j4mie/idiorm/idiorm.php', 'IdiormString' => $vendorDir . '/j4mie/idiorm/idiorm.php', 'IdiormStringException' => $vendorDir . '/j4mie/idiorm/idiorm.php', - 'Labels' => $baseDir . '/classes/Labels.php', - 'Logger' => $baseDir . '/classes/Logger.php', - 'Logger_Adapter' => $baseDir . '/classes/Logger_Adapter.php', - 'Logger_SQL' => $baseDir . '/classes/Logger_SQL.php', - 'Logger_Stdout' => $baseDir . '/classes/Logger_Stdout.php', - 'Logger_Syslog' => $baseDir . '/classes/Logger_Syslog.php', - 'Mailer' => $baseDir . '/classes/Mailer.php', - 'OPML' => $baseDir . '/classes/OPML.php', 'ORM' => $vendorDir . '/j4mie/idiorm/idiorm.php', - 'OTPHP\\Factory' => $vendorDir . '/spomky-labs/otphp/src/Factory.php', - 'OTPHP\\FactoryInterface' => $vendorDir . '/spomky-labs/otphp/src/FactoryInterface.php', - 'OTPHP\\HOTP' => $vendorDir . '/spomky-labs/otphp/src/HOTP.php', - 'OTPHP\\HOTPInterface' => $vendorDir . '/spomky-labs/otphp/src/HOTPInterface.php', - 'OTPHP\\OTP' => $vendorDir . '/spomky-labs/otphp/src/OTP.php', - 'OTPHP\\OTPInterface' => $vendorDir . '/spomky-labs/otphp/src/OTPInterface.php', - 'OTPHP\\ParameterTrait' => $vendorDir . '/spomky-labs/otphp/src/ParameterTrait.php', - 'OTPHP\\TOTP' => $vendorDir . '/spomky-labs/otphp/src/TOTP.php', - 'OTPHP\\TOTPInterface' => $vendorDir . '/spomky-labs/otphp/src/TOTPInterface.php', - 'OpenTelemetry\\API\\Baggage\\Baggage' => $vendorDir . '/open-telemetry/api/Baggage/Baggage.php', - 'OpenTelemetry\\API\\Baggage\\BaggageBuilder' => $vendorDir . '/open-telemetry/api/Baggage/BaggageBuilder.php', - 'OpenTelemetry\\API\\Baggage\\BaggageBuilderInterface' => $vendorDir . '/open-telemetry/api/Baggage/BaggageBuilderInterface.php', - 'OpenTelemetry\\API\\Baggage\\BaggageInterface' => $vendorDir . '/open-telemetry/api/Baggage/BaggageInterface.php', - 'OpenTelemetry\\API\\Baggage\\Entry' => $vendorDir . '/open-telemetry/api/Baggage/Entry.php', - 'OpenTelemetry\\API\\Baggage\\Metadata' => $vendorDir . '/open-telemetry/api/Baggage/Metadata.php', - 'OpenTelemetry\\API\\Baggage\\MetadataInterface' => $vendorDir . '/open-telemetry/api/Baggage/MetadataInterface.php', - 'OpenTelemetry\\API\\Baggage\\Propagation\\BaggagePropagator' => $vendorDir . '/open-telemetry/api/Baggage/Propagation/BaggagePropagator.php', - 'OpenTelemetry\\API\\Baggage\\Propagation\\Parser' => $vendorDir . '/open-telemetry/api/Baggage/Propagation/Parser.php', - 'OpenTelemetry\\API\\Behavior\\Internal\\LogWriterFactory' => $vendorDir . '/open-telemetry/api/Behavior/Internal/LogWriterFactory.php', - 'OpenTelemetry\\API\\Behavior\\Internal\\LogWriter\\ErrorLogWriter' => $vendorDir . '/open-telemetry/api/Behavior/Internal/LogWriter/ErrorLogWriter.php', - 'OpenTelemetry\\API\\Behavior\\Internal\\LogWriter\\Formatter' => $vendorDir . '/open-telemetry/api/Behavior/Internal/LogWriter/Formatter.php', - 'OpenTelemetry\\API\\Behavior\\Internal\\LogWriter\\LogWriterInterface' => $vendorDir . '/open-telemetry/api/Behavior/Internal/LogWriter/LogWriterInterface.php', - 'OpenTelemetry\\API\\Behavior\\Internal\\LogWriter\\NoopLogWriter' => $vendorDir . '/open-telemetry/api/Behavior/Internal/LogWriter/NoopLogWriter.php', - 'OpenTelemetry\\API\\Behavior\\Internal\\LogWriter\\Psr3LogWriter' => $vendorDir . '/open-telemetry/api/Behavior/Internal/LogWriter/Psr3LogWriter.php', - 'OpenTelemetry\\API\\Behavior\\Internal\\LogWriter\\StreamLogWriter' => $vendorDir . '/open-telemetry/api/Behavior/Internal/LogWriter/StreamLogWriter.php', - 'OpenTelemetry\\API\\Behavior\\Internal\\Logging' => $vendorDir . '/open-telemetry/api/Behavior/Internal/Logging.php', - 'OpenTelemetry\\API\\Behavior\\LogsMessagesTrait' => $vendorDir . '/open-telemetry/api/Behavior/LogsMessagesTrait.php', - 'OpenTelemetry\\API\\Globals' => $vendorDir . '/open-telemetry/api/Globals.php', - 'OpenTelemetry\\API\\Instrumentation\\CachedInstrumentation' => $vendorDir . '/open-telemetry/api/Instrumentation/CachedInstrumentation.php', - 'OpenTelemetry\\API\\Instrumentation\\ConfigurationResolver' => $vendorDir . '/open-telemetry/api/Instrumentation/ConfigurationResolver.php', - 'OpenTelemetry\\API\\Instrumentation\\ConfigurationResolverInterface' => $vendorDir . '/open-telemetry/api/Instrumentation/ConfigurationResolverInterface.php', - 'OpenTelemetry\\API\\Instrumentation\\Configurator' => $vendorDir . '/open-telemetry/api/Instrumentation/Configurator.php', - 'OpenTelemetry\\API\\Instrumentation\\ContextKeys' => $vendorDir . '/open-telemetry/api/Instrumentation/ContextKeys.php', - 'OpenTelemetry\\API\\Instrumentation\\InstrumentationInterface' => $vendorDir . '/open-telemetry/api/Instrumentation/InstrumentationInterface.php', - 'OpenTelemetry\\API\\Instrumentation\\InstrumentationTrait' => $vendorDir . '/open-telemetry/api/Instrumentation/InstrumentationTrait.php', - 'OpenTelemetry\\API\\LoggerHolder' => $vendorDir . '/open-telemetry/api/LoggerHolder.php', - 'OpenTelemetry\\API\\Logs\\EventLogger' => $vendorDir . '/open-telemetry/api/Logs/EventLogger.php', - 'OpenTelemetry\\API\\Logs\\EventLoggerInterface' => $vendorDir . '/open-telemetry/api/Logs/EventLoggerInterface.php', - 'OpenTelemetry\\API\\Logs\\LogRecord' => $vendorDir . '/open-telemetry/api/Logs/LogRecord.php', - 'OpenTelemetry\\API\\Logs\\LoggerInterface' => $vendorDir . '/open-telemetry/api/Logs/LoggerInterface.php', - 'OpenTelemetry\\API\\Logs\\LoggerProviderInterface' => $vendorDir . '/open-telemetry/api/Logs/LoggerProviderInterface.php', - 'OpenTelemetry\\API\\Logs\\Map\\Psr3' => $vendorDir . '/open-telemetry/api/Logs/Map/Psr3.php', - 'OpenTelemetry\\API\\Logs\\NoopLogger' => $vendorDir . '/open-telemetry/api/Logs/NoopLogger.php', - 'OpenTelemetry\\API\\Logs\\NoopLoggerProvider' => $vendorDir . '/open-telemetry/api/Logs/NoopLoggerProvider.php', - 'OpenTelemetry\\API\\Metrics\\CounterInterface' => $vendorDir . '/open-telemetry/api/Metrics/CounterInterface.php', - 'OpenTelemetry\\API\\Metrics\\HistogramInterface' => $vendorDir . '/open-telemetry/api/Metrics/HistogramInterface.php', - 'OpenTelemetry\\API\\Metrics\\MeterInterface' => $vendorDir . '/open-telemetry/api/Metrics/MeterInterface.php', - 'OpenTelemetry\\API\\Metrics\\MeterProviderInterface' => $vendorDir . '/open-telemetry/api/Metrics/MeterProviderInterface.php', - 'OpenTelemetry\\API\\Metrics\\Noop\\NoopCounter' => $vendorDir . '/open-telemetry/api/Metrics/Noop/NoopCounter.php', - 'OpenTelemetry\\API\\Metrics\\Noop\\NoopHistogram' => $vendorDir . '/open-telemetry/api/Metrics/Noop/NoopHistogram.php', - 'OpenTelemetry\\API\\Metrics\\Noop\\NoopMeter' => $vendorDir . '/open-telemetry/api/Metrics/Noop/NoopMeter.php', - 'OpenTelemetry\\API\\Metrics\\Noop\\NoopMeterProvider' => $vendorDir . '/open-telemetry/api/Metrics/Noop/NoopMeterProvider.php', - 'OpenTelemetry\\API\\Metrics\\Noop\\NoopObservableCallback' => $vendorDir . '/open-telemetry/api/Metrics/Noop/NoopObservableCallback.php', - 'OpenTelemetry\\API\\Metrics\\Noop\\NoopObservableCounter' => $vendorDir . '/open-telemetry/api/Metrics/Noop/NoopObservableCounter.php', - 'OpenTelemetry\\API\\Metrics\\Noop\\NoopObservableGauge' => $vendorDir . '/open-telemetry/api/Metrics/Noop/NoopObservableGauge.php', - 'OpenTelemetry\\API\\Metrics\\Noop\\NoopObservableUpDownCounter' => $vendorDir . '/open-telemetry/api/Metrics/Noop/NoopObservableUpDownCounter.php', - 'OpenTelemetry\\API\\Metrics\\Noop\\NoopUpDownCounter' => $vendorDir . '/open-telemetry/api/Metrics/Noop/NoopUpDownCounter.php', - 'OpenTelemetry\\API\\Metrics\\ObservableCallbackInterface' => $vendorDir . '/open-telemetry/api/Metrics/ObservableCallbackInterface.php', - 'OpenTelemetry\\API\\Metrics\\ObservableCounterInterface' => $vendorDir . '/open-telemetry/api/Metrics/ObservableCounterInterface.php', - 'OpenTelemetry\\API\\Metrics\\ObservableGaugeInterface' => $vendorDir . '/open-telemetry/api/Metrics/ObservableGaugeInterface.php', - 'OpenTelemetry\\API\\Metrics\\ObservableUpDownCounterInterface' => $vendorDir . '/open-telemetry/api/Metrics/ObservableUpDownCounterInterface.php', - 'OpenTelemetry\\API\\Metrics\\ObserverInterface' => $vendorDir . '/open-telemetry/api/Metrics/ObserverInterface.php', - 'OpenTelemetry\\API\\Metrics\\UpDownCounterInterface' => $vendorDir . '/open-telemetry/api/Metrics/UpDownCounterInterface.php', - 'OpenTelemetry\\API\\Signals' => $vendorDir . '/open-telemetry/api/Signals.php', - 'OpenTelemetry\\API\\Trace\\NonRecordingSpan' => $vendorDir . '/open-telemetry/api/Trace/NonRecordingSpan.php', - 'OpenTelemetry\\API\\Trace\\NoopSpanBuilder' => $vendorDir . '/open-telemetry/api/Trace/NoopSpanBuilder.php', - 'OpenTelemetry\\API\\Trace\\NoopTracer' => $vendorDir . '/open-telemetry/api/Trace/NoopTracer.php', - 'OpenTelemetry\\API\\Trace\\NoopTracerProvider' => $vendorDir . '/open-telemetry/api/Trace/NoopTracerProvider.php', - 'OpenTelemetry\\API\\Trace\\Propagation\\TraceContextPropagator' => $vendorDir . '/open-telemetry/api/Trace/Propagation/TraceContextPropagator.php', - 'OpenTelemetry\\API\\Trace\\Propagation\\TraceContextValidator' => $vendorDir . '/open-telemetry/api/Trace/Propagation/TraceContextValidator.php', - 'OpenTelemetry\\API\\Trace\\Span' => $vendorDir . '/open-telemetry/api/Trace/Span.php', - 'OpenTelemetry\\API\\Trace\\SpanBuilderInterface' => $vendorDir . '/open-telemetry/api/Trace/SpanBuilderInterface.php', - 'OpenTelemetry\\API\\Trace\\SpanContext' => $vendorDir . '/open-telemetry/api/Trace/SpanContext.php', - 'OpenTelemetry\\API\\Trace\\SpanContextInterface' => $vendorDir . '/open-telemetry/api/Trace/SpanContextInterface.php', - 'OpenTelemetry\\API\\Trace\\SpanContextValidator' => $vendorDir . '/open-telemetry/api/Trace/SpanContextValidator.php', - 'OpenTelemetry\\API\\Trace\\SpanInterface' => $vendorDir . '/open-telemetry/api/Trace/SpanInterface.php', - 'OpenTelemetry\\API\\Trace\\SpanKind' => $vendorDir . '/open-telemetry/api/Trace/SpanKind.php', - 'OpenTelemetry\\API\\Trace\\StatusCode' => $vendorDir . '/open-telemetry/api/Trace/StatusCode.php', - 'OpenTelemetry\\API\\Trace\\TraceFlags' => $vendorDir . '/open-telemetry/api/Trace/TraceFlags.php', - 'OpenTelemetry\\API\\Trace\\TraceState' => $vendorDir . '/open-telemetry/api/Trace/TraceState.php', - 'OpenTelemetry\\API\\Trace\\TraceStateInterface' => $vendorDir . '/open-telemetry/api/Trace/TraceStateInterface.php', - 'OpenTelemetry\\API\\Trace\\TracerInterface' => $vendorDir . '/open-telemetry/api/Trace/TracerInterface.php', - 'OpenTelemetry\\API\\Trace\\TracerProviderInterface' => $vendorDir . '/open-telemetry/api/Trace/TracerProviderInterface.php', - 'OpenTelemetry\\Context\\Context' => $vendorDir . '/open-telemetry/context/Context.php', - 'OpenTelemetry\\Context\\ContextInterface' => $vendorDir . '/open-telemetry/context/ContextInterface.php', - 'OpenTelemetry\\Context\\ContextKey' => $vendorDir . '/open-telemetry/context/ContextKey.php', - 'OpenTelemetry\\Context\\ContextKeyInterface' => $vendorDir . '/open-telemetry/context/ContextKeyInterface.php', - 'OpenTelemetry\\Context\\ContextKeys' => $vendorDir . '/open-telemetry/context/ContextKeys.php', - 'OpenTelemetry\\Context\\ContextStorage' => $vendorDir . '/open-telemetry/context/ContextStorage.php', - 'OpenTelemetry\\Context\\ContextStorageHead' => $vendorDir . '/open-telemetry/context/ContextStorageHead.php', - 'OpenTelemetry\\Context\\ContextStorageInterface' => $vendorDir . '/open-telemetry/context/ContextStorageInterface.php', - 'OpenTelemetry\\Context\\ContextStorageNode' => $vendorDir . '/open-telemetry/context/ContextStorageNode.php', - 'OpenTelemetry\\Context\\ContextStorageScopeInterface' => $vendorDir . '/open-telemetry/context/ContextStorageScopeInterface.php', - 'OpenTelemetry\\Context\\DebugScope' => $vendorDir . '/open-telemetry/context/DebugScope.php', - 'OpenTelemetry\\Context\\ExecutionContextAwareInterface' => $vendorDir . '/open-telemetry/context/ExecutionContextAwareInterface.php', - 'OpenTelemetry\\Context\\FiberBoundContextStorage' => $vendorDir . '/open-telemetry/context/FiberBoundContextStorage.php', - 'OpenTelemetry\\Context\\FiberBoundContextStorageScope' => $vendorDir . '/open-telemetry/context/FiberBoundContextStorageScope.php', - 'OpenTelemetry\\Context\\ImplicitContextKeyedInterface' => $vendorDir . '/open-telemetry/context/ImplicitContextKeyedInterface.php', - 'OpenTelemetry\\Context\\Propagation\\ArrayAccessGetterSetter' => $vendorDir . '/open-telemetry/context/Propagation/ArrayAccessGetterSetter.php', - 'OpenTelemetry\\Context\\Propagation\\MultiTextMapPropagator' => $vendorDir . '/open-telemetry/context/Propagation/MultiTextMapPropagator.php', - 'OpenTelemetry\\Context\\Propagation\\NoopTextMapPropagator' => $vendorDir . '/open-telemetry/context/Propagation/NoopTextMapPropagator.php', - 'OpenTelemetry\\Context\\Propagation\\PropagationGetterInterface' => $vendorDir . '/open-telemetry/context/Propagation/PropagationGetterInterface.php', - 'OpenTelemetry\\Context\\Propagation\\PropagationSetterInterface' => $vendorDir . '/open-telemetry/context/Propagation/PropagationSetterInterface.php', - 'OpenTelemetry\\Context\\Propagation\\SanitizeCombinedHeadersPropagationGetter' => $vendorDir . '/open-telemetry/context/Propagation/SanitizeCombinedHeadersPropagationGetter.php', - 'OpenTelemetry\\Context\\Propagation\\TextMapPropagatorInterface' => $vendorDir . '/open-telemetry/context/Propagation/TextMapPropagatorInterface.php', - 'OpenTelemetry\\Context\\ScopeInterface' => $vendorDir . '/open-telemetry/context/ScopeInterface.php', - 'OpenTelemetry\\Context\\ZendObserverFiber' => $vendorDir . '/open-telemetry/context/ZendObserverFiber.php', - 'OpenTelemetry\\Contrib\\Otlp\\AttributesConverter' => $vendorDir . '/open-telemetry/exporter-otlp/AttributesConverter.php', - 'OpenTelemetry\\Contrib\\Otlp\\ContentTypes' => $vendorDir . '/open-telemetry/exporter-otlp/ContentTypes.php', - 'OpenTelemetry\\Contrib\\Otlp\\HttpEndpointResolver' => $vendorDir . '/open-telemetry/exporter-otlp/HttpEndpointResolver.php', - 'OpenTelemetry\\Contrib\\Otlp\\HttpEndpointResolverInterface' => $vendorDir . '/open-telemetry/exporter-otlp/HttpEndpointResolverInterface.php', - 'OpenTelemetry\\Contrib\\Otlp\\LogsConverter' => $vendorDir . '/open-telemetry/exporter-otlp/LogsConverter.php', - 'OpenTelemetry\\Contrib\\Otlp\\LogsExporter' => $vendorDir . '/open-telemetry/exporter-otlp/LogsExporter.php', - 'OpenTelemetry\\Contrib\\Otlp\\LogsExporterFactory' => $vendorDir . '/open-telemetry/exporter-otlp/LogsExporterFactory.php', - 'OpenTelemetry\\Contrib\\Otlp\\MetricConverter' => $vendorDir . '/open-telemetry/exporter-otlp/MetricConverter.php', - 'OpenTelemetry\\Contrib\\Otlp\\MetricExporter' => $vendorDir . '/open-telemetry/exporter-otlp/MetricExporter.php', - 'OpenTelemetry\\Contrib\\Otlp\\MetricExporterFactory' => $vendorDir . '/open-telemetry/exporter-otlp/MetricExporterFactory.php', - 'OpenTelemetry\\Contrib\\Otlp\\OtlpHttpTransportFactory' => $vendorDir . '/open-telemetry/exporter-otlp/OtlpHttpTransportFactory.php', - 'OpenTelemetry\\Contrib\\Otlp\\OtlpUtil' => $vendorDir . '/open-telemetry/exporter-otlp/OtlpUtil.php', - 'OpenTelemetry\\Contrib\\Otlp\\ProtobufSerializer' => $vendorDir . '/open-telemetry/exporter-otlp/ProtobufSerializer.php', - 'OpenTelemetry\\Contrib\\Otlp\\Protocols' => $vendorDir . '/open-telemetry/exporter-otlp/Protocols.php', - 'OpenTelemetry\\Contrib\\Otlp\\SpanConverter' => $vendorDir . '/open-telemetry/exporter-otlp/SpanConverter.php', - 'OpenTelemetry\\Contrib\\Otlp\\SpanExporter' => $vendorDir . '/open-telemetry/exporter-otlp/SpanExporter.php', - 'OpenTelemetry\\Contrib\\Otlp\\SpanExporterFactory' => $vendorDir . '/open-telemetry/exporter-otlp/SpanExporterFactory.php', - 'OpenTelemetry\\SDK\\Common\\Adapter\\HttpDiscovery\\DependencyResolver' => $vendorDir . '/open-telemetry/sdk/Common/Adapter/HttpDiscovery/DependencyResolver.php', - 'OpenTelemetry\\SDK\\Common\\Adapter\\HttpDiscovery\\HttpPlugClientResolver' => $vendorDir . '/open-telemetry/sdk/Common/Adapter/HttpDiscovery/HttpPlugClientResolver.php', - 'OpenTelemetry\\SDK\\Common\\Adapter\\HttpDiscovery\\MessageFactoryResolver' => $vendorDir . '/open-telemetry/sdk/Common/Adapter/HttpDiscovery/MessageFactoryResolver.php', - 'OpenTelemetry\\SDK\\Common\\Adapter\\HttpDiscovery\\PsrClientResolver' => $vendorDir . '/open-telemetry/sdk/Common/Adapter/HttpDiscovery/PsrClientResolver.php', - 'OpenTelemetry\\SDK\\Common\\Attribute\\AttributeValidator' => $vendorDir . '/open-telemetry/sdk/Common/Attribute/AttributeValidator.php', - 'OpenTelemetry\\SDK\\Common\\Attribute\\AttributeValidatorInterface' => $vendorDir . '/open-telemetry/sdk/Common/Attribute/AttributeValidatorInterface.php', - 'OpenTelemetry\\SDK\\Common\\Attribute\\Attributes' => $vendorDir . '/open-telemetry/sdk/Common/Attribute/Attributes.php', - 'OpenTelemetry\\SDK\\Common\\Attribute\\AttributesBuilder' => $vendorDir . '/open-telemetry/sdk/Common/Attribute/AttributesBuilder.php', - 'OpenTelemetry\\SDK\\Common\\Attribute\\AttributesBuilderInterface' => $vendorDir . '/open-telemetry/sdk/Common/Attribute/AttributesBuilderInterface.php', - 'OpenTelemetry\\SDK\\Common\\Attribute\\AttributesFactory' => $vendorDir . '/open-telemetry/sdk/Common/Attribute/AttributesFactory.php', - 'OpenTelemetry\\SDK\\Common\\Attribute\\AttributesFactoryInterface' => $vendorDir . '/open-telemetry/sdk/Common/Attribute/AttributesFactoryInterface.php', - 'OpenTelemetry\\SDK\\Common\\Attribute\\AttributesInterface' => $vendorDir . '/open-telemetry/sdk/Common/Attribute/AttributesInterface.php', - 'OpenTelemetry\\SDK\\Common\\Attribute\\FilteredAttributesBuilder' => $vendorDir . '/open-telemetry/sdk/Common/Attribute/FilteredAttributesBuilder.php', - 'OpenTelemetry\\SDK\\Common\\Attribute\\FilteredAttributesFactory' => $vendorDir . '/open-telemetry/sdk/Common/Attribute/FilteredAttributesFactory.php', - 'OpenTelemetry\\SDK\\Common\\Attribute\\LogRecordAttributeValidator' => $vendorDir . '/open-telemetry/sdk/Common/Attribute/LogRecordAttributeValidator.php', - 'OpenTelemetry\\SDK\\Common\\Configuration\\Configuration' => $vendorDir . '/open-telemetry/sdk/Common/Configuration/Configuration.php', - 'OpenTelemetry\\SDK\\Common\\Configuration\\Defaults' => $vendorDir . '/open-telemetry/sdk/Common/Configuration/Defaults.php', - 'OpenTelemetry\\SDK\\Common\\Configuration\\KnownValues' => $vendorDir . '/open-telemetry/sdk/Common/Configuration/KnownValues.php', - 'OpenTelemetry\\SDK\\Common\\Configuration\\Parser\\BooleanParser' => $vendorDir . '/open-telemetry/sdk/Common/Configuration/Parser/BooleanParser.php', - 'OpenTelemetry\\SDK\\Common\\Configuration\\Parser\\ListParser' => $vendorDir . '/open-telemetry/sdk/Common/Configuration/Parser/ListParser.php', - 'OpenTelemetry\\SDK\\Common\\Configuration\\Parser\\MapParser' => $vendorDir . '/open-telemetry/sdk/Common/Configuration/Parser/MapParser.php', - 'OpenTelemetry\\SDK\\Common\\Configuration\\Parser\\RatioParser' => $vendorDir . '/open-telemetry/sdk/Common/Configuration/Parser/RatioParser.php', - 'OpenTelemetry\\SDK\\Common\\Configuration\\Resolver\\CompositeResolver' => $vendorDir . '/open-telemetry/sdk/Common/Configuration/Resolver/CompositeResolver.php', - 'OpenTelemetry\\SDK\\Common\\Configuration\\Resolver\\EnvironmentResolver' => $vendorDir . '/open-telemetry/sdk/Common/Configuration/Resolver/EnvironmentResolver.php', - 'OpenTelemetry\\SDK\\Common\\Configuration\\Resolver\\PhpIniAccessor' => $vendorDir . '/open-telemetry/sdk/Common/Configuration/Resolver/PhpIniAccessor.php', - 'OpenTelemetry\\SDK\\Common\\Configuration\\Resolver\\PhpIniResolver' => $vendorDir . '/open-telemetry/sdk/Common/Configuration/Resolver/PhpIniResolver.php', - 'OpenTelemetry\\SDK\\Common\\Configuration\\Resolver\\ResolverInterface' => $vendorDir . '/open-telemetry/sdk/Common/Configuration/Resolver/ResolverInterface.php', - 'OpenTelemetry\\SDK\\Common\\Configuration\\ValueTypes' => $vendorDir . '/open-telemetry/sdk/Common/Configuration/ValueTypes.php', - 'OpenTelemetry\\SDK\\Common\\Configuration\\VariableTypes' => $vendorDir . '/open-telemetry/sdk/Common/Configuration/VariableTypes.php', - 'OpenTelemetry\\SDK\\Common\\Configuration\\Variables' => $vendorDir . '/open-telemetry/sdk/Common/Configuration/Variables.php', - 'OpenTelemetry\\SDK\\Common\\Dev\\Compatibility\\Util' => $vendorDir . '/open-telemetry/sdk/Common/Dev/Compatibility/Util.php', - 'OpenTelemetry\\SDK\\Common\\Exception\\StackTraceFormatter' => $vendorDir . '/open-telemetry/sdk/Common/Exception/StackTraceFormatter.php', - 'OpenTelemetry\\SDK\\Common\\Export\\Http\\PsrTransport' => $vendorDir . '/open-telemetry/sdk/Common/Export/Http/PsrTransport.php', - 'OpenTelemetry\\SDK\\Common\\Export\\Http\\PsrTransportFactory' => $vendorDir . '/open-telemetry/sdk/Common/Export/Http/PsrTransportFactory.php', - 'OpenTelemetry\\SDK\\Common\\Export\\Http\\PsrUtils' => $vendorDir . '/open-telemetry/sdk/Common/Export/Http/PsrUtils.php', - 'OpenTelemetry\\SDK\\Common\\Export\\Stream\\StreamTransport' => $vendorDir . '/open-telemetry/sdk/Common/Export/Stream/StreamTransport.php', - 'OpenTelemetry\\SDK\\Common\\Export\\Stream\\StreamTransportFactory' => $vendorDir . '/open-telemetry/sdk/Common/Export/Stream/StreamTransportFactory.php', - 'OpenTelemetry\\SDK\\Common\\Export\\TransportFactoryInterface' => $vendorDir . '/open-telemetry/sdk/Common/Export/TransportFactoryInterface.php', - 'OpenTelemetry\\SDK\\Common\\Export\\TransportInterface' => $vendorDir . '/open-telemetry/sdk/Common/Export/TransportInterface.php', - 'OpenTelemetry\\SDK\\Common\\Future\\CancellationInterface' => $vendorDir . '/open-telemetry/sdk/Common/Future/CancellationInterface.php', - 'OpenTelemetry\\SDK\\Common\\Future\\CompletedFuture' => $vendorDir . '/open-telemetry/sdk/Common/Future/CompletedFuture.php', - 'OpenTelemetry\\SDK\\Common\\Future\\ErrorFuture' => $vendorDir . '/open-telemetry/sdk/Common/Future/ErrorFuture.php', - 'OpenTelemetry\\SDK\\Common\\Future\\FutureInterface' => $vendorDir . '/open-telemetry/sdk/Common/Future/FutureInterface.php', - 'OpenTelemetry\\SDK\\Common\\Future\\NullCancellation' => $vendorDir . '/open-telemetry/sdk/Common/Future/NullCancellation.php', - 'OpenTelemetry\\SDK\\Common\\Http\\DependencyResolverInterface' => $vendorDir . '/open-telemetry/sdk/Common/Http/DependencyResolverInterface.php', - 'OpenTelemetry\\SDK\\Common\\Http\\HttpPlug\\Client\\ResolverInterface' => $vendorDir . '/open-telemetry/sdk/Common/Http/HttpPlug/Client/ResolverInterface.php', - 'OpenTelemetry\\SDK\\Common\\Http\\Psr\\Client\\ResolverInterface' => $vendorDir . '/open-telemetry/sdk/Common/Http/Psr/Client/ResolverInterface.php', - 'OpenTelemetry\\SDK\\Common\\Http\\Psr\\Message\\FactoryResolverInterface' => $vendorDir . '/open-telemetry/sdk/Common/Http/Psr/Message/FactoryResolverInterface.php', - 'OpenTelemetry\\SDK\\Common\\Http\\Psr\\Message\\MessageFactory' => $vendorDir . '/open-telemetry/sdk/Common/Http/Psr/Message/MessageFactory.php', - 'OpenTelemetry\\SDK\\Common\\Http\\Psr\\Message\\MessageFactoryInterface' => $vendorDir . '/open-telemetry/sdk/Common/Http/Psr/Message/MessageFactoryInterface.php', - 'OpenTelemetry\\SDK\\Common\\Instrumentation\\InstrumentationScope' => $vendorDir . '/open-telemetry/sdk/Common/Instrumentation/InstrumentationScope.php', - 'OpenTelemetry\\SDK\\Common\\Instrumentation\\InstrumentationScopeFactory' => $vendorDir . '/open-telemetry/sdk/Common/Instrumentation/InstrumentationScopeFactory.php', - 'OpenTelemetry\\SDK\\Common\\Instrumentation\\InstrumentationScopeFactoryInterface' => $vendorDir . '/open-telemetry/sdk/Common/Instrumentation/InstrumentationScopeFactoryInterface.php', - 'OpenTelemetry\\SDK\\Common\\Instrumentation\\InstrumentationScopeInterface' => $vendorDir . '/open-telemetry/sdk/Common/Instrumentation/InstrumentationScopeInterface.php', - 'OpenTelemetry\\SDK\\Common\\Time\\ClockFactory' => $vendorDir . '/open-telemetry/sdk/Common/Time/ClockFactory.php', - 'OpenTelemetry\\SDK\\Common\\Time\\ClockFactoryInterface' => $vendorDir . '/open-telemetry/sdk/Common/Time/ClockFactoryInterface.php', - 'OpenTelemetry\\SDK\\Common\\Time\\ClockInterface' => $vendorDir . '/open-telemetry/sdk/Common/Time/ClockInterface.php', - 'OpenTelemetry\\SDK\\Common\\Time\\StopWatch' => $vendorDir . '/open-telemetry/sdk/Common/Time/StopWatch.php', - 'OpenTelemetry\\SDK\\Common\\Time\\StopWatchFactory' => $vendorDir . '/open-telemetry/sdk/Common/Time/StopWatchFactory.php', - 'OpenTelemetry\\SDK\\Common\\Time\\StopWatchFactoryInterface' => $vendorDir . '/open-telemetry/sdk/Common/Time/StopWatchFactoryInterface.php', - 'OpenTelemetry\\SDK\\Common\\Time\\StopWatchInterface' => $vendorDir . '/open-telemetry/sdk/Common/Time/StopWatchInterface.php', - 'OpenTelemetry\\SDK\\Common\\Time\\SystemClock' => $vendorDir . '/open-telemetry/sdk/Common/Time/SystemClock.php', - 'OpenTelemetry\\SDK\\Common\\Time\\Util' => $vendorDir . '/open-telemetry/sdk/Common/Time/Util.php', - 'OpenTelemetry\\SDK\\Common\\Util\\ClassConstantAccessor' => $vendorDir . '/open-telemetry/sdk/Common/Util/ClassConstantAccessor.php', - 'OpenTelemetry\\SDK\\Common\\Util\\ShutdownHandler' => $vendorDir . '/open-telemetry/sdk/Common/Util/ShutdownHandler.php', - 'OpenTelemetry\\SDK\\Common\\Util\\WeakMap' => $vendorDir . '/open-telemetry/sdk/Common/Util/WeakMap.php', - 'OpenTelemetry\\SDK\\Logs\\ExporterFactory' => $vendorDir . '/open-telemetry/sdk/Logs/ExporterFactory.php', - 'OpenTelemetry\\SDK\\Logs\\Exporter\\ConsoleExporter' => $vendorDir . '/open-telemetry/sdk/Logs/Exporter/ConsoleExporter.php', - 'OpenTelemetry\\SDK\\Logs\\Exporter\\ConsoleExporterFactory' => $vendorDir . '/open-telemetry/sdk/Logs/Exporter/ConsoleExporterFactory.php', - 'OpenTelemetry\\SDK\\Logs\\Exporter\\InMemoryExporter' => $vendorDir . '/open-telemetry/sdk/Logs/Exporter/InMemoryExporter.php', - 'OpenTelemetry\\SDK\\Logs\\Exporter\\InMemoryExporterFactory' => $vendorDir . '/open-telemetry/sdk/Logs/Exporter/InMemoryExporterFactory.php', - 'OpenTelemetry\\SDK\\Logs\\Exporter\\NoopExporter' => $vendorDir . '/open-telemetry/sdk/Logs/Exporter/NoopExporter.php', - 'OpenTelemetry\\SDK\\Logs\\LogRecordExporterFactoryInterface' => $vendorDir . '/open-telemetry/sdk/Logs/LogRecordExporterFactoryInterface.php', - 'OpenTelemetry\\SDK\\Logs\\LogRecordExporterInterface' => $vendorDir . '/open-telemetry/sdk/Logs/LogRecordExporterInterface.php', - 'OpenTelemetry\\SDK\\Logs\\LogRecordLimits' => $vendorDir . '/open-telemetry/sdk/Logs/LogRecordLimits.php', - 'OpenTelemetry\\SDK\\Logs\\LogRecordLimitsBuilder' => $vendorDir . '/open-telemetry/sdk/Logs/LogRecordLimitsBuilder.php', - 'OpenTelemetry\\SDK\\Logs\\LogRecordProcessorFactory' => $vendorDir . '/open-telemetry/sdk/Logs/LogRecordProcessorFactory.php', - 'OpenTelemetry\\SDK\\Logs\\LogRecordProcessorInterface' => $vendorDir . '/open-telemetry/sdk/Logs/LogRecordProcessorInterface.php', - 'OpenTelemetry\\SDK\\Logs\\Logger' => $vendorDir . '/open-telemetry/sdk/Logs/Logger.php', - 'OpenTelemetry\\SDK\\Logs\\LoggerProvider' => $vendorDir . '/open-telemetry/sdk/Logs/LoggerProvider.php', - 'OpenTelemetry\\SDK\\Logs\\LoggerProviderBuilder' => $vendorDir . '/open-telemetry/sdk/Logs/LoggerProviderBuilder.php', - 'OpenTelemetry\\SDK\\Logs\\LoggerProviderFactory' => $vendorDir . '/open-telemetry/sdk/Logs/LoggerProviderFactory.php', - 'OpenTelemetry\\SDK\\Logs\\LoggerProviderInterface' => $vendorDir . '/open-telemetry/sdk/Logs/LoggerProviderInterface.php', - 'OpenTelemetry\\SDK\\Logs\\LoggerSharedState' => $vendorDir . '/open-telemetry/sdk/Logs/LoggerSharedState.php', - 'OpenTelemetry\\SDK\\Logs\\NoopLoggerProvider' => $vendorDir . '/open-telemetry/sdk/Logs/NoopLoggerProvider.php', - 'OpenTelemetry\\SDK\\Logs\\Processor\\BatchLogRecordProcessor' => $vendorDir . '/open-telemetry/sdk/Logs/Processor/BatchLogRecordProcessor.php', - 'OpenTelemetry\\SDK\\Logs\\Processor\\MultiLogRecordProcessor' => $vendorDir . '/open-telemetry/sdk/Logs/Processor/MultiLogRecordProcessor.php', - 'OpenTelemetry\\SDK\\Logs\\Processor\\NoopLogRecordProcessor' => $vendorDir . '/open-telemetry/sdk/Logs/Processor/NoopLogRecordProcessor.php', - 'OpenTelemetry\\SDK\\Logs\\Processor\\SimpleLogRecordProcessor' => $vendorDir . '/open-telemetry/sdk/Logs/Processor/SimpleLogRecordProcessor.php', - 'OpenTelemetry\\SDK\\Logs\\PsrSeverityMapperInterface' => $vendorDir . '/open-telemetry/sdk/Logs/PsrSeverityMapperInterface.php', - 'OpenTelemetry\\SDK\\Logs\\ReadWriteLogRecord' => $vendorDir . '/open-telemetry/sdk/Logs/ReadWriteLogRecord.php', - 'OpenTelemetry\\SDK\\Logs\\ReadableLogRecord' => $vendorDir . '/open-telemetry/sdk/Logs/ReadableLogRecord.php', - 'OpenTelemetry\\SDK\\Logs\\SimplePsrFileLogger' => $vendorDir . '/open-telemetry/sdk/Logs/SimplePsrFileLogger.php', - 'OpenTelemetry\\SDK\\Metrics\\AggregationInterface' => $vendorDir . '/open-telemetry/sdk/Metrics/AggregationInterface.php', - 'OpenTelemetry\\SDK\\Metrics\\AggregationTemporalitySelectorInterface' => $vendorDir . '/open-telemetry/sdk/Metrics/AggregationTemporalitySelectorInterface.php', - 'OpenTelemetry\\SDK\\Metrics\\Aggregation\\ExplicitBucketHistogramAggregation' => $vendorDir . '/open-telemetry/sdk/Metrics/Aggregation/ExplicitBucketHistogramAggregation.php', - 'OpenTelemetry\\SDK\\Metrics\\Aggregation\\ExplicitBucketHistogramSummary' => $vendorDir . '/open-telemetry/sdk/Metrics/Aggregation/ExplicitBucketHistogramSummary.php', - 'OpenTelemetry\\SDK\\Metrics\\Aggregation\\LastValueAggregation' => $vendorDir . '/open-telemetry/sdk/Metrics/Aggregation/LastValueAggregation.php', - 'OpenTelemetry\\SDK\\Metrics\\Aggregation\\LastValueSummary' => $vendorDir . '/open-telemetry/sdk/Metrics/Aggregation/LastValueSummary.php', - 'OpenTelemetry\\SDK\\Metrics\\Aggregation\\SumAggregation' => $vendorDir . '/open-telemetry/sdk/Metrics/Aggregation/SumAggregation.php', - 'OpenTelemetry\\SDK\\Metrics\\Aggregation\\SumSummary' => $vendorDir . '/open-telemetry/sdk/Metrics/Aggregation/SumSummary.php', - 'OpenTelemetry\\SDK\\Metrics\\AttributeProcessorInterface' => $vendorDir . '/open-telemetry/sdk/Metrics/AttributeProcessorInterface.php', - 'OpenTelemetry\\SDK\\Metrics\\AttributeProcessor\\FilteredAttributeProcessor' => $vendorDir . '/open-telemetry/sdk/Metrics/AttributeProcessor/FilteredAttributeProcessor.php', - 'OpenTelemetry\\SDK\\Metrics\\AttributeProcessor\\IdentityAttributeProcessor' => $vendorDir . '/open-telemetry/sdk/Metrics/AttributeProcessor/IdentityAttributeProcessor.php', - 'OpenTelemetry\\SDK\\Metrics\\Counter' => $vendorDir . '/open-telemetry/sdk/Metrics/Counter.php', - 'OpenTelemetry\\SDK\\Metrics\\Data\\DataInterface' => $vendorDir . '/open-telemetry/sdk/Metrics/Data/DataInterface.php', - 'OpenTelemetry\\SDK\\Metrics\\Data\\Exemplar' => $vendorDir . '/open-telemetry/sdk/Metrics/Data/Exemplar.php', - 'OpenTelemetry\\SDK\\Metrics\\Data\\Gauge' => $vendorDir . '/open-telemetry/sdk/Metrics/Data/Gauge.php', - 'OpenTelemetry\\SDK\\Metrics\\Data\\Histogram' => $vendorDir . '/open-telemetry/sdk/Metrics/Data/Histogram.php', - 'OpenTelemetry\\SDK\\Metrics\\Data\\HistogramDataPoint' => $vendorDir . '/open-telemetry/sdk/Metrics/Data/HistogramDataPoint.php', - 'OpenTelemetry\\SDK\\Metrics\\Data\\Metric' => $vendorDir . '/open-telemetry/sdk/Metrics/Data/Metric.php', - 'OpenTelemetry\\SDK\\Metrics\\Data\\NumberDataPoint' => $vendorDir . '/open-telemetry/sdk/Metrics/Data/NumberDataPoint.php', - 'OpenTelemetry\\SDK\\Metrics\\Data\\Sum' => $vendorDir . '/open-telemetry/sdk/Metrics/Data/Sum.php', - 'OpenTelemetry\\SDK\\Metrics\\Data\\Temporality' => $vendorDir . '/open-telemetry/sdk/Metrics/Data/Temporality.php', - 'OpenTelemetry\\SDK\\Metrics\\DefaultAggregationProviderInterface' => $vendorDir . '/open-telemetry/sdk/Metrics/DefaultAggregationProviderInterface.php', - 'OpenTelemetry\\SDK\\Metrics\\DefaultAggregationProviderTrait' => $vendorDir . '/open-telemetry/sdk/Metrics/DefaultAggregationProviderTrait.php', - 'OpenTelemetry\\SDK\\Metrics\\Exemplar\\BucketEntry' => $vendorDir . '/open-telemetry/sdk/Metrics/Exemplar/BucketEntry.php', - 'OpenTelemetry\\SDK\\Metrics\\Exemplar\\BucketStorage' => $vendorDir . '/open-telemetry/sdk/Metrics/Exemplar/BucketStorage.php', - 'OpenTelemetry\\SDK\\Metrics\\Exemplar\\ExemplarFilterInterface' => $vendorDir . '/open-telemetry/sdk/Metrics/Exemplar/ExemplarFilterInterface.php', - 'OpenTelemetry\\SDK\\Metrics\\Exemplar\\ExemplarFilter\\AllExemplarFilter' => $vendorDir . '/open-telemetry/sdk/Metrics/Exemplar/ExemplarFilter/AllExemplarFilter.php', - 'OpenTelemetry\\SDK\\Metrics\\Exemplar\\ExemplarFilter\\NoneExemplarFilter' => $vendorDir . '/open-telemetry/sdk/Metrics/Exemplar/ExemplarFilter/NoneExemplarFilter.php', - 'OpenTelemetry\\SDK\\Metrics\\Exemplar\\ExemplarFilter\\WithSampledTraceExemplarFilter' => $vendorDir . '/open-telemetry/sdk/Metrics/Exemplar/ExemplarFilter/WithSampledTraceExemplarFilter.php', - 'OpenTelemetry\\SDK\\Metrics\\Exemplar\\ExemplarReservoirInterface' => $vendorDir . '/open-telemetry/sdk/Metrics/Exemplar/ExemplarReservoirInterface.php', - 'OpenTelemetry\\SDK\\Metrics\\Exemplar\\FilteredReservoir' => $vendorDir . '/open-telemetry/sdk/Metrics/Exemplar/FilteredReservoir.php', - 'OpenTelemetry\\SDK\\Metrics\\Exemplar\\FixedSizeReservoir' => $vendorDir . '/open-telemetry/sdk/Metrics/Exemplar/FixedSizeReservoir.php', - 'OpenTelemetry\\SDK\\Metrics\\Exemplar\\HistogramBucketReservoir' => $vendorDir . '/open-telemetry/sdk/Metrics/Exemplar/HistogramBucketReservoir.php', - 'OpenTelemetry\\SDK\\Metrics\\Exemplar\\NoopReservoir' => $vendorDir . '/open-telemetry/sdk/Metrics/Exemplar/NoopReservoir.php', - 'OpenTelemetry\\SDK\\Metrics\\Histogram' => $vendorDir . '/open-telemetry/sdk/Metrics/Histogram.php', - 'OpenTelemetry\\SDK\\Metrics\\Instrument' => $vendorDir . '/open-telemetry/sdk/Metrics/Instrument.php', - 'OpenTelemetry\\SDK\\Metrics\\InstrumentType' => $vendorDir . '/open-telemetry/sdk/Metrics/InstrumentType.php', - 'OpenTelemetry\\SDK\\Metrics\\Meter' => $vendorDir . '/open-telemetry/sdk/Metrics/Meter.php', - 'OpenTelemetry\\SDK\\Metrics\\MeterInstruments' => $vendorDir . '/open-telemetry/sdk/Metrics/MeterInstruments.php', - 'OpenTelemetry\\SDK\\Metrics\\MeterProvider' => $vendorDir . '/open-telemetry/sdk/Metrics/MeterProvider.php', - 'OpenTelemetry\\SDK\\Metrics\\MeterProviderBuilder' => $vendorDir . '/open-telemetry/sdk/Metrics/MeterProviderBuilder.php', - 'OpenTelemetry\\SDK\\Metrics\\MeterProviderFactory' => $vendorDir . '/open-telemetry/sdk/Metrics/MeterProviderFactory.php', - 'OpenTelemetry\\SDK\\Metrics\\MeterProviderInterface' => $vendorDir . '/open-telemetry/sdk/Metrics/MeterProviderInterface.php', - 'OpenTelemetry\\SDK\\Metrics\\MetricExporterFactoryInterface' => $vendorDir . '/open-telemetry/sdk/Metrics/MetricExporterFactoryInterface.php', - 'OpenTelemetry\\SDK\\Metrics\\MetricExporterInterface' => $vendorDir . '/open-telemetry/sdk/Metrics/MetricExporterInterface.php', - 'OpenTelemetry\\SDK\\Metrics\\MetricExporter\\ConsoleMetricExporter' => $vendorDir . '/open-telemetry/sdk/Metrics/MetricExporter/ConsoleMetricExporter.php', - 'OpenTelemetry\\SDK\\Metrics\\MetricExporter\\ConsoleMetricExporterFactory' => $vendorDir . '/open-telemetry/sdk/Metrics/MetricExporter/ConsoleMetricExporterFactory.php', - 'OpenTelemetry\\SDK\\Metrics\\MetricExporter\\InMemoryExporter' => $vendorDir . '/open-telemetry/sdk/Metrics/MetricExporter/InMemoryExporter.php', - 'OpenTelemetry\\SDK\\Metrics\\MetricExporter\\InMemoryExporterFactory' => $vendorDir . '/open-telemetry/sdk/Metrics/MetricExporter/InMemoryExporterFactory.php', - 'OpenTelemetry\\SDK\\Metrics\\MetricExporter\\NoopMetricExporter' => $vendorDir . '/open-telemetry/sdk/Metrics/MetricExporter/NoopMetricExporter.php', - 'OpenTelemetry\\SDK\\Metrics\\MetricExporter\\NoopMetricExporterFactory' => $vendorDir . '/open-telemetry/sdk/Metrics/MetricExporter/NoopMetricExporterFactory.php', - 'OpenTelemetry\\SDK\\Metrics\\MetricFactoryInterface' => $vendorDir . '/open-telemetry/sdk/Metrics/MetricFactoryInterface.php', - 'OpenTelemetry\\SDK\\Metrics\\MetricFactory\\StreamFactory' => $vendorDir . '/open-telemetry/sdk/Metrics/MetricFactory/StreamFactory.php', - 'OpenTelemetry\\SDK\\Metrics\\MetricFactory\\StreamMetricSource' => $vendorDir . '/open-telemetry/sdk/Metrics/MetricFactory/StreamMetricSource.php', - 'OpenTelemetry\\SDK\\Metrics\\MetricFactory\\StreamMetricSourceProvider' => $vendorDir . '/open-telemetry/sdk/Metrics/MetricFactory/StreamMetricSourceProvider.php', - 'OpenTelemetry\\SDK\\Metrics\\MetricMetadataInterface' => $vendorDir . '/open-telemetry/sdk/Metrics/MetricMetadataInterface.php', - 'OpenTelemetry\\SDK\\Metrics\\MetricReaderInterface' => $vendorDir . '/open-telemetry/sdk/Metrics/MetricReaderInterface.php', - 'OpenTelemetry\\SDK\\Metrics\\MetricReader\\ExportingReader' => $vendorDir . '/open-telemetry/sdk/Metrics/MetricReader/ExportingReader.php', - 'OpenTelemetry\\SDK\\Metrics\\MetricRegistrationInterface' => $vendorDir . '/open-telemetry/sdk/Metrics/MetricRegistrationInterface.php', - 'OpenTelemetry\\SDK\\Metrics\\MetricRegistration\\MultiRegistryRegistration' => $vendorDir . '/open-telemetry/sdk/Metrics/MetricRegistration/MultiRegistryRegistration.php', - 'OpenTelemetry\\SDK\\Metrics\\MetricRegistration\\RegistryRegistration' => $vendorDir . '/open-telemetry/sdk/Metrics/MetricRegistration/RegistryRegistration.php', - 'OpenTelemetry\\SDK\\Metrics\\MetricRegistry\\MetricCollectorInterface' => $vendorDir . '/open-telemetry/sdk/Metrics/MetricRegistry/MetricCollectorInterface.php', - 'OpenTelemetry\\SDK\\Metrics\\MetricRegistry\\MetricRegistry' => $vendorDir . '/open-telemetry/sdk/Metrics/MetricRegistry/MetricRegistry.php', - 'OpenTelemetry\\SDK\\Metrics\\MetricRegistry\\MetricRegistryInterface' => $vendorDir . '/open-telemetry/sdk/Metrics/MetricRegistry/MetricRegistryInterface.php', - 'OpenTelemetry\\SDK\\Metrics\\MetricRegistry\\MetricWriterInterface' => $vendorDir . '/open-telemetry/sdk/Metrics/MetricRegistry/MetricWriterInterface.php', - 'OpenTelemetry\\SDK\\Metrics\\MetricRegistry\\MultiObserver' => $vendorDir . '/open-telemetry/sdk/Metrics/MetricRegistry/MultiObserver.php', - 'OpenTelemetry\\SDK\\Metrics\\MetricRegistry\\NoopObserver' => $vendorDir . '/open-telemetry/sdk/Metrics/MetricRegistry/NoopObserver.php', - 'OpenTelemetry\\SDK\\Metrics\\MetricSourceInterface' => $vendorDir . '/open-telemetry/sdk/Metrics/MetricSourceInterface.php', - 'OpenTelemetry\\SDK\\Metrics\\MetricSourceProviderInterface' => $vendorDir . '/open-telemetry/sdk/Metrics/MetricSourceProviderInterface.php', - 'OpenTelemetry\\SDK\\Metrics\\MetricSourceRegistryInterface' => $vendorDir . '/open-telemetry/sdk/Metrics/MetricSourceRegistryInterface.php', - 'OpenTelemetry\\SDK\\Metrics\\NoopMeterProvider' => $vendorDir . '/open-telemetry/sdk/Metrics/NoopMeterProvider.php', - 'OpenTelemetry\\SDK\\Metrics\\ObservableCallback' => $vendorDir . '/open-telemetry/sdk/Metrics/ObservableCallback.php', - 'OpenTelemetry\\SDK\\Metrics\\ObservableCallbackDestructor' => $vendorDir . '/open-telemetry/sdk/Metrics/ObservableCallbackDestructor.php', - 'OpenTelemetry\\SDK\\Metrics\\ObservableCounter' => $vendorDir . '/open-telemetry/sdk/Metrics/ObservableCounter.php', - 'OpenTelemetry\\SDK\\Metrics\\ObservableGauge' => $vendorDir . '/open-telemetry/sdk/Metrics/ObservableGauge.php', - 'OpenTelemetry\\SDK\\Metrics\\ObservableInstrumentTrait' => $vendorDir . '/open-telemetry/sdk/Metrics/ObservableInstrumentTrait.php', - 'OpenTelemetry\\SDK\\Metrics\\ObservableUpDownCounter' => $vendorDir . '/open-telemetry/sdk/Metrics/ObservableUpDownCounter.php', - 'OpenTelemetry\\SDK\\Metrics\\PushMetricExporterInterface' => $vendorDir . '/open-telemetry/sdk/Metrics/PushMetricExporterInterface.php', - 'OpenTelemetry\\SDK\\Metrics\\ReferenceCounterInterface' => $vendorDir . '/open-telemetry/sdk/Metrics/ReferenceCounterInterface.php', - 'OpenTelemetry\\SDK\\Metrics\\StalenessHandlerFactoryInterface' => $vendorDir . '/open-telemetry/sdk/Metrics/StalenessHandlerFactoryInterface.php', - 'OpenTelemetry\\SDK\\Metrics\\StalenessHandlerInterface' => $vendorDir . '/open-telemetry/sdk/Metrics/StalenessHandlerInterface.php', - 'OpenTelemetry\\SDK\\Metrics\\StalenessHandler\\DelayedStalenessHandler' => $vendorDir . '/open-telemetry/sdk/Metrics/StalenessHandler/DelayedStalenessHandler.php', - 'OpenTelemetry\\SDK\\Metrics\\StalenessHandler\\DelayedStalenessHandlerFactory' => $vendorDir . '/open-telemetry/sdk/Metrics/StalenessHandler/DelayedStalenessHandlerFactory.php', - 'OpenTelemetry\\SDK\\Metrics\\StalenessHandler\\ImmediateStalenessHandler' => $vendorDir . '/open-telemetry/sdk/Metrics/StalenessHandler/ImmediateStalenessHandler.php', - 'OpenTelemetry\\SDK\\Metrics\\StalenessHandler\\ImmediateStalenessHandlerFactory' => $vendorDir . '/open-telemetry/sdk/Metrics/StalenessHandler/ImmediateStalenessHandlerFactory.php', - 'OpenTelemetry\\SDK\\Metrics\\StalenessHandler\\NoopStalenessHandler' => $vendorDir . '/open-telemetry/sdk/Metrics/StalenessHandler/NoopStalenessHandler.php', - 'OpenTelemetry\\SDK\\Metrics\\StalenessHandler\\NoopStalenessHandlerFactory' => $vendorDir . '/open-telemetry/sdk/Metrics/StalenessHandler/NoopStalenessHandlerFactory.php', - 'OpenTelemetry\\SDK\\Metrics\\Stream\\AsynchronousMetricStream' => $vendorDir . '/open-telemetry/sdk/Metrics/Stream/AsynchronousMetricStream.php', - 'OpenTelemetry\\SDK\\Metrics\\Stream\\Delta' => $vendorDir . '/open-telemetry/sdk/Metrics/Stream/Delta.php', - 'OpenTelemetry\\SDK\\Metrics\\Stream\\DeltaStorage' => $vendorDir . '/open-telemetry/sdk/Metrics/Stream/DeltaStorage.php', - 'OpenTelemetry\\SDK\\Metrics\\Stream\\Metric' => $vendorDir . '/open-telemetry/sdk/Metrics/Stream/Metric.php', - 'OpenTelemetry\\SDK\\Metrics\\Stream\\MetricAggregator' => $vendorDir . '/open-telemetry/sdk/Metrics/Stream/MetricAggregator.php', - 'OpenTelemetry\\SDK\\Metrics\\Stream\\MetricAggregatorFactory' => $vendorDir . '/open-telemetry/sdk/Metrics/Stream/MetricAggregatorFactory.php', - 'OpenTelemetry\\SDK\\Metrics\\Stream\\MetricAggregatorFactoryInterface' => $vendorDir . '/open-telemetry/sdk/Metrics/Stream/MetricAggregatorFactoryInterface.php', - 'OpenTelemetry\\SDK\\Metrics\\Stream\\MetricAggregatorInterface' => $vendorDir . '/open-telemetry/sdk/Metrics/Stream/MetricAggregatorInterface.php', - 'OpenTelemetry\\SDK\\Metrics\\Stream\\MetricCollectorInterface' => $vendorDir . '/open-telemetry/sdk/Metrics/Stream/MetricCollectorInterface.php', - 'OpenTelemetry\\SDK\\Metrics\\Stream\\MetricStreamInterface' => $vendorDir . '/open-telemetry/sdk/Metrics/Stream/MetricStreamInterface.php', - 'OpenTelemetry\\SDK\\Metrics\\Stream\\SynchronousMetricStream' => $vendorDir . '/open-telemetry/sdk/Metrics/Stream/SynchronousMetricStream.php', - 'OpenTelemetry\\SDK\\Metrics\\Stream\\WritableMetricStreamInterface' => $vendorDir . '/open-telemetry/sdk/Metrics/Stream/WritableMetricStreamInterface.php', - 'OpenTelemetry\\SDK\\Metrics\\UpDownCounter' => $vendorDir . '/open-telemetry/sdk/Metrics/UpDownCounter.php', - 'OpenTelemetry\\SDK\\Metrics\\ViewProjection' => $vendorDir . '/open-telemetry/sdk/Metrics/ViewProjection.php', - 'OpenTelemetry\\SDK\\Metrics\\ViewRegistryInterface' => $vendorDir . '/open-telemetry/sdk/Metrics/ViewRegistryInterface.php', - 'OpenTelemetry\\SDK\\Metrics\\View\\CriteriaViewRegistry' => $vendorDir . '/open-telemetry/sdk/Metrics/View/CriteriaViewRegistry.php', - 'OpenTelemetry\\SDK\\Metrics\\View\\SelectionCriteriaInterface' => $vendorDir . '/open-telemetry/sdk/Metrics/View/SelectionCriteriaInterface.php', - 'OpenTelemetry\\SDK\\Metrics\\View\\SelectionCriteria\\AllCriteria' => $vendorDir . '/open-telemetry/sdk/Metrics/View/SelectionCriteria/AllCriteria.php', - 'OpenTelemetry\\SDK\\Metrics\\View\\SelectionCriteria\\InstrumentNameCriteria' => $vendorDir . '/open-telemetry/sdk/Metrics/View/SelectionCriteria/InstrumentNameCriteria.php', - 'OpenTelemetry\\SDK\\Metrics\\View\\SelectionCriteria\\InstrumentTypeCriteria' => $vendorDir . '/open-telemetry/sdk/Metrics/View/SelectionCriteria/InstrumentTypeCriteria.php', - 'OpenTelemetry\\SDK\\Metrics\\View\\SelectionCriteria\\InstrumentationScopeNameCriteria' => $vendorDir . '/open-telemetry/sdk/Metrics/View/SelectionCriteria/InstrumentationScopeNameCriteria.php', - 'OpenTelemetry\\SDK\\Metrics\\View\\SelectionCriteria\\InstrumentationScopeSchemaUrlCriteria' => $vendorDir . '/open-telemetry/sdk/Metrics/View/SelectionCriteria/InstrumentationScopeSchemaUrlCriteria.php', - 'OpenTelemetry\\SDK\\Metrics\\View\\SelectionCriteria\\InstrumentationScopeVersionCriteria' => $vendorDir . '/open-telemetry/sdk/Metrics/View/SelectionCriteria/InstrumentationScopeVersionCriteria.php', - 'OpenTelemetry\\SDK\\Metrics\\View\\ViewTemplate' => $vendorDir . '/open-telemetry/sdk/Metrics/View/ViewTemplate.php', - 'OpenTelemetry\\SDK\\Propagation\\PropagatorFactory' => $vendorDir . '/open-telemetry/sdk/Propagation/PropagatorFactory.php', - 'OpenTelemetry\\SDK\\Registry' => $vendorDir . '/open-telemetry/sdk/Registry.php', - 'OpenTelemetry\\SDK\\Resource\\Detectors\\Composer' => $vendorDir . '/open-telemetry/sdk/Resource/Detectors/Composer.php', - 'OpenTelemetry\\SDK\\Resource\\Detectors\\Composite' => $vendorDir . '/open-telemetry/sdk/Resource/Detectors/Composite.php', - 'OpenTelemetry\\SDK\\Resource\\Detectors\\Constant' => $vendorDir . '/open-telemetry/sdk/Resource/Detectors/Constant.php', - 'OpenTelemetry\\SDK\\Resource\\Detectors\\Environment' => $vendorDir . '/open-telemetry/sdk/Resource/Detectors/Environment.php', - 'OpenTelemetry\\SDK\\Resource\\Detectors\\Host' => $vendorDir . '/open-telemetry/sdk/Resource/Detectors/Host.php', - 'OpenTelemetry\\SDK\\Resource\\Detectors\\OperatingSystem' => $vendorDir . '/open-telemetry/sdk/Resource/Detectors/OperatingSystem.php', - 'OpenTelemetry\\SDK\\Resource\\Detectors\\Process' => $vendorDir . '/open-telemetry/sdk/Resource/Detectors/Process.php', - 'OpenTelemetry\\SDK\\Resource\\Detectors\\ProcessRuntime' => $vendorDir . '/open-telemetry/sdk/Resource/Detectors/ProcessRuntime.php', - 'OpenTelemetry\\SDK\\Resource\\Detectors\\Sdk' => $vendorDir . '/open-telemetry/sdk/Resource/Detectors/Sdk.php', - 'OpenTelemetry\\SDK\\Resource\\Detectors\\SdkProvided' => $vendorDir . '/open-telemetry/sdk/Resource/Detectors/SdkProvided.php', - 'OpenTelemetry\\SDK\\Resource\\ResourceDetectorInterface' => $vendorDir . '/open-telemetry/sdk/Resource/ResourceDetectorInterface.php', - 'OpenTelemetry\\SDK\\Resource\\ResourceInfo' => $vendorDir . '/open-telemetry/sdk/Resource/ResourceInfo.php', - 'OpenTelemetry\\SDK\\Resource\\ResourceInfoFactory' => $vendorDir . '/open-telemetry/sdk/Resource/ResourceInfoFactory.php', - 'OpenTelemetry\\SDK\\Sdk' => $vendorDir . '/open-telemetry/sdk/Sdk.php', - 'OpenTelemetry\\SDK\\SdkAutoloader' => $vendorDir . '/open-telemetry/sdk/SdkAutoloader.php', - 'OpenTelemetry\\SDK\\SdkBuilder' => $vendorDir . '/open-telemetry/sdk/SdkBuilder.php', - 'OpenTelemetry\\SDK\\Trace\\Behavior\\LoggerAwareTrait' => $vendorDir . '/open-telemetry/sdk/Trace/Behavior/LoggerAwareTrait.php', - 'OpenTelemetry\\SDK\\Trace\\Behavior\\SpanExporterDecoratorTrait' => $vendorDir . '/open-telemetry/sdk/Trace/Behavior/SpanExporterDecoratorTrait.php', - 'OpenTelemetry\\SDK\\Trace\\Behavior\\SpanExporterTrait' => $vendorDir . '/open-telemetry/sdk/Trace/Behavior/SpanExporterTrait.php', - 'OpenTelemetry\\SDK\\Trace\\Behavior\\UsesSpanConverterTrait' => $vendorDir . '/open-telemetry/sdk/Trace/Behavior/UsesSpanConverterTrait.php', - 'OpenTelemetry\\SDK\\Trace\\Event' => $vendorDir . '/open-telemetry/sdk/Trace/Event.php', - 'OpenTelemetry\\SDK\\Trace\\EventInterface' => $vendorDir . '/open-telemetry/sdk/Trace/EventInterface.php', - 'OpenTelemetry\\SDK\\Trace\\ExporterFactory' => $vendorDir . '/open-telemetry/sdk/Trace/ExporterFactory.php', - 'OpenTelemetry\\SDK\\Trace\\IdGeneratorInterface' => $vendorDir . '/open-telemetry/sdk/Trace/IdGeneratorInterface.php', - 'OpenTelemetry\\SDK\\Trace\\ImmutableSpan' => $vendorDir . '/open-telemetry/sdk/Trace/ImmutableSpan.php', - 'OpenTelemetry\\SDK\\Trace\\Link' => $vendorDir . '/open-telemetry/sdk/Trace/Link.php', - 'OpenTelemetry\\SDK\\Trace\\LinkInterface' => $vendorDir . '/open-telemetry/sdk/Trace/LinkInterface.php', - 'OpenTelemetry\\SDK\\Trace\\NoopTracerProvider' => $vendorDir . '/open-telemetry/sdk/Trace/NoopTracerProvider.php', - 'OpenTelemetry\\SDK\\Trace\\RandomIdGenerator' => $vendorDir . '/open-telemetry/sdk/Trace/RandomIdGenerator.php', - 'OpenTelemetry\\SDK\\Trace\\ReadWriteSpanInterface' => $vendorDir . '/open-telemetry/sdk/Trace/ReadWriteSpanInterface.php', - 'OpenTelemetry\\SDK\\Trace\\ReadableSpanInterface' => $vendorDir . '/open-telemetry/sdk/Trace/ReadableSpanInterface.php', - 'OpenTelemetry\\SDK\\Trace\\SamplerFactory' => $vendorDir . '/open-telemetry/sdk/Trace/SamplerFactory.php', - 'OpenTelemetry\\SDK\\Trace\\SamplerInterface' => $vendorDir . '/open-telemetry/sdk/Trace/SamplerInterface.php', - 'OpenTelemetry\\SDK\\Trace\\Sampler\\AlwaysOffSampler' => $vendorDir . '/open-telemetry/sdk/Trace/Sampler/AlwaysOffSampler.php', - 'OpenTelemetry\\SDK\\Trace\\Sampler\\AlwaysOnSampler' => $vendorDir . '/open-telemetry/sdk/Trace/Sampler/AlwaysOnSampler.php', - 'OpenTelemetry\\SDK\\Trace\\Sampler\\ParentBased' => $vendorDir . '/open-telemetry/sdk/Trace/Sampler/ParentBased.php', - 'OpenTelemetry\\SDK\\Trace\\Sampler\\TraceIdRatioBasedSampler' => $vendorDir . '/open-telemetry/sdk/Trace/Sampler/TraceIdRatioBasedSampler.php', - 'OpenTelemetry\\SDK\\Trace\\SamplingResult' => $vendorDir . '/open-telemetry/sdk/Trace/SamplingResult.php', - 'OpenTelemetry\\SDK\\Trace\\Span' => $vendorDir . '/open-telemetry/sdk/Trace/Span.php', - 'OpenTelemetry\\SDK\\Trace\\SpanBuilder' => $vendorDir . '/open-telemetry/sdk/Trace/SpanBuilder.php', - 'OpenTelemetry\\SDK\\Trace\\SpanConverterInterface' => $vendorDir . '/open-telemetry/sdk/Trace/SpanConverterInterface.php', - 'OpenTelemetry\\SDK\\Trace\\SpanDataInterface' => $vendorDir . '/open-telemetry/sdk/Trace/SpanDataInterface.php', - 'OpenTelemetry\\SDK\\Trace\\SpanExporterInterface' => $vendorDir . '/open-telemetry/sdk/Trace/SpanExporterInterface.php', - 'OpenTelemetry\\SDK\\Trace\\SpanExporter\\AbstractDecorator' => $vendorDir . '/open-telemetry/sdk/Trace/SpanExporter/AbstractDecorator.php', - 'OpenTelemetry\\SDK\\Trace\\SpanExporter\\ConsoleSpanExporter' => $vendorDir . '/open-telemetry/sdk/Trace/SpanExporter/ConsoleSpanExporter.php', - 'OpenTelemetry\\SDK\\Trace\\SpanExporter\\ConsoleSpanExporterFactory' => $vendorDir . '/open-telemetry/sdk/Trace/SpanExporter/ConsoleSpanExporterFactory.php', - 'OpenTelemetry\\SDK\\Trace\\SpanExporter\\FriendlySpanConverter' => $vendorDir . '/open-telemetry/sdk/Trace/SpanExporter/FriendlySpanConverter.php', - 'OpenTelemetry\\SDK\\Trace\\SpanExporter\\InMemoryExporter' => $vendorDir . '/open-telemetry/sdk/Trace/SpanExporter/InMemoryExporter.php', - 'OpenTelemetry\\SDK\\Trace\\SpanExporter\\InMemorySpanExporterFactory' => $vendorDir . '/open-telemetry/sdk/Trace/SpanExporter/InMemorySpanExporterFactory.php', - 'OpenTelemetry\\SDK\\Trace\\SpanExporter\\LoggerDecorator' => $vendorDir . '/open-telemetry/sdk/Trace/SpanExporter/LoggerDecorator.php', - 'OpenTelemetry\\SDK\\Trace\\SpanExporter\\LoggerExporter' => $vendorDir . '/open-telemetry/sdk/Trace/SpanExporter/LoggerExporter.php', - 'OpenTelemetry\\SDK\\Trace\\SpanExporter\\NullSpanConverter' => $vendorDir . '/open-telemetry/sdk/Trace/SpanExporter/NullSpanConverter.php', - 'OpenTelemetry\\SDK\\Trace\\SpanExporter\\SpanExporterFactoryInterface' => $vendorDir . '/open-telemetry/sdk/Trace/SpanExporter/SpanExporterFactoryInterface.php', - 'OpenTelemetry\\SDK\\Trace\\SpanLimits' => $vendorDir . '/open-telemetry/sdk/Trace/SpanLimits.php', - 'OpenTelemetry\\SDK\\Trace\\SpanLimitsBuilder' => $vendorDir . '/open-telemetry/sdk/Trace/SpanLimitsBuilder.php', - 'OpenTelemetry\\SDK\\Trace\\SpanProcessorFactory' => $vendorDir . '/open-telemetry/sdk/Trace/SpanProcessorFactory.php', - 'OpenTelemetry\\SDK\\Trace\\SpanProcessorInterface' => $vendorDir . '/open-telemetry/sdk/Trace/SpanProcessorInterface.php', - 'OpenTelemetry\\SDK\\Trace\\SpanProcessor\\BatchSpanProcessor' => $vendorDir . '/open-telemetry/sdk/Trace/SpanProcessor/BatchSpanProcessor.php', - 'OpenTelemetry\\SDK\\Trace\\SpanProcessor\\BatchSpanProcessorBuilder' => $vendorDir . '/open-telemetry/sdk/Trace/SpanProcessor/BatchSpanProcessorBuilder.php', - 'OpenTelemetry\\SDK\\Trace\\SpanProcessor\\MultiSpanProcessor' => $vendorDir . '/open-telemetry/sdk/Trace/SpanProcessor/MultiSpanProcessor.php', - 'OpenTelemetry\\SDK\\Trace\\SpanProcessor\\NoopSpanProcessor' => $vendorDir . '/open-telemetry/sdk/Trace/SpanProcessor/NoopSpanProcessor.php', - 'OpenTelemetry\\SDK\\Trace\\SpanProcessor\\SimpleSpanProcessor' => $vendorDir . '/open-telemetry/sdk/Trace/SpanProcessor/SimpleSpanProcessor.php', - 'OpenTelemetry\\SDK\\Trace\\StatusData' => $vendorDir . '/open-telemetry/sdk/Trace/StatusData.php', - 'OpenTelemetry\\SDK\\Trace\\StatusDataInterface' => $vendorDir . '/open-telemetry/sdk/Trace/StatusDataInterface.php', - 'OpenTelemetry\\SDK\\Trace\\Tracer' => $vendorDir . '/open-telemetry/sdk/Trace/Tracer.php', - 'OpenTelemetry\\SDK\\Trace\\TracerProvider' => $vendorDir . '/open-telemetry/sdk/Trace/TracerProvider.php', - 'OpenTelemetry\\SDK\\Trace\\TracerProviderBuilder' => $vendorDir . '/open-telemetry/sdk/Trace/TracerProviderBuilder.php', - 'OpenTelemetry\\SDK\\Trace\\TracerProviderFactory' => $vendorDir . '/open-telemetry/sdk/Trace/TracerProviderFactory.php', - 'OpenTelemetry\\SDK\\Trace\\TracerProviderInterface' => $vendorDir . '/open-telemetry/sdk/Trace/TracerProviderInterface.php', - 'OpenTelemetry\\SDK\\Trace\\TracerSharedState' => $vendorDir . '/open-telemetry/sdk/Trace/TracerSharedState.php', - 'OpenTelemetry\\SemConv\\ResourceAttributes' => $vendorDir . '/open-telemetry/sem-conv/ResourceAttributes.php', - 'OpenTelemetry\\SemConv\\TraceAttributes' => $vendorDir . '/open-telemetry/sem-conv/TraceAttributes.php', - 'Opentelemetry\\Proto\\Collector\\Logs\\V1\\ExportLogsPartialSuccess' => $vendorDir . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Logs/V1/ExportLogsPartialSuccess.php', - 'Opentelemetry\\Proto\\Collector\\Logs\\V1\\ExportLogsServiceRequest' => $vendorDir . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Logs/V1/ExportLogsServiceRequest.php', - 'Opentelemetry\\Proto\\Collector\\Logs\\V1\\ExportLogsServiceResponse' => $vendorDir . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Logs/V1/ExportLogsServiceResponse.php', - 'Opentelemetry\\Proto\\Collector\\Logs\\V1\\LogsServiceClient' => $vendorDir . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Logs/V1/LogsServiceClient.php', - 'Opentelemetry\\Proto\\Collector\\Metrics\\V1\\ExportMetricsPartialSuccess' => $vendorDir . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Metrics/V1/ExportMetricsPartialSuccess.php', - 'Opentelemetry\\Proto\\Collector\\Metrics\\V1\\ExportMetricsServiceRequest' => $vendorDir . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Metrics/V1/ExportMetricsServiceRequest.php', - 'Opentelemetry\\Proto\\Collector\\Metrics\\V1\\ExportMetricsServiceResponse' => $vendorDir . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Metrics/V1/ExportMetricsServiceResponse.php', - 'Opentelemetry\\Proto\\Collector\\Metrics\\V1\\MetricsServiceClient' => $vendorDir . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Metrics/V1/MetricsServiceClient.php', - 'Opentelemetry\\Proto\\Collector\\Trace\\V1\\ExportTracePartialSuccess' => $vendorDir . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Trace/V1/ExportTracePartialSuccess.php', - 'Opentelemetry\\Proto\\Collector\\Trace\\V1\\ExportTraceServiceRequest' => $vendorDir . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Trace/V1/ExportTraceServiceRequest.php', - 'Opentelemetry\\Proto\\Collector\\Trace\\V1\\ExportTraceServiceResponse' => $vendorDir . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Trace/V1/ExportTraceServiceResponse.php', - 'Opentelemetry\\Proto\\Collector\\Trace\\V1\\TraceServiceClient' => $vendorDir . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Trace/V1/TraceServiceClient.php', - 'Opentelemetry\\Proto\\Common\\V1\\AnyValue' => $vendorDir . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Common/V1/AnyValue.php', - 'Opentelemetry\\Proto\\Common\\V1\\ArrayValue' => $vendorDir . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Common/V1/ArrayValue.php', - 'Opentelemetry\\Proto\\Common\\V1\\InstrumentationLibrary' => $vendorDir . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Common/V1/InstrumentationLibrary.php', - 'Opentelemetry\\Proto\\Common\\V1\\InstrumentationScope' => $vendorDir . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Common/V1/InstrumentationScope.php', - 'Opentelemetry\\Proto\\Common\\V1\\KeyValue' => $vendorDir . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Common/V1/KeyValue.php', - 'Opentelemetry\\Proto\\Common\\V1\\KeyValueList' => $vendorDir . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Common/V1/KeyValueList.php', - 'Opentelemetry\\Proto\\Common\\V1\\StringKeyValue' => $vendorDir . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Common/V1/StringKeyValue.php', - 'Opentelemetry\\Proto\\Logs\\V1\\InstrumentationLibraryLogs' => $vendorDir . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Logs/V1/InstrumentationLibraryLogs.php', - 'Opentelemetry\\Proto\\Logs\\V1\\LogRecord' => $vendorDir . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Logs/V1/LogRecord.php', - 'Opentelemetry\\Proto\\Logs\\V1\\LogRecordFlags' => $vendorDir . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Logs/V1/LogRecordFlags.php', - 'Opentelemetry\\Proto\\Logs\\V1\\LogsData' => $vendorDir . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Logs/V1/LogsData.php', - 'Opentelemetry\\Proto\\Logs\\V1\\ResourceLogs' => $vendorDir . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Logs/V1/ResourceLogs.php', - 'Opentelemetry\\Proto\\Logs\\V1\\ScopeLogs' => $vendorDir . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Logs/V1/ScopeLogs.php', - 'Opentelemetry\\Proto\\Logs\\V1\\SeverityNumber' => $vendorDir . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Logs/V1/SeverityNumber.php', - 'Opentelemetry\\Proto\\Metrics\\Experimental\\MetricConfigRequest' => $vendorDir . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/Experimental/MetricConfigRequest.php', - 'Opentelemetry\\Proto\\Metrics\\Experimental\\MetricConfigResponse' => $vendorDir . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/Experimental/MetricConfigResponse.php', - 'Opentelemetry\\Proto\\Metrics\\Experimental\\MetricConfigResponse\\Schedule' => $vendorDir . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/Experimental/MetricConfigResponse/Schedule.php', - 'Opentelemetry\\Proto\\Metrics\\Experimental\\MetricConfigResponse\\Schedule\\Pattern' => $vendorDir . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/Experimental/MetricConfigResponse/Schedule/Pattern.php', - 'Opentelemetry\\Proto\\Metrics\\Experimental\\MetricConfigResponse_Schedule' => $vendorDir . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/Experimental/MetricConfigResponse_Schedule.php', - 'Opentelemetry\\Proto\\Metrics\\Experimental\\MetricConfigResponse_Schedule_Pattern' => $vendorDir . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/Experimental/MetricConfigResponse_Schedule_Pattern.php', - 'Opentelemetry\\Proto\\Metrics\\V1\\AggregationTemporality' => $vendorDir . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/AggregationTemporality.php', - 'Opentelemetry\\Proto\\Metrics\\V1\\DataPointFlags' => $vendorDir . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/DataPointFlags.php', - 'Opentelemetry\\Proto\\Metrics\\V1\\Exemplar' => $vendorDir . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/Exemplar.php', - 'Opentelemetry\\Proto\\Metrics\\V1\\ExponentialHistogram' => $vendorDir . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/ExponentialHistogram.php', - 'Opentelemetry\\Proto\\Metrics\\V1\\ExponentialHistogramDataPoint' => $vendorDir . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/ExponentialHistogramDataPoint.php', - 'Opentelemetry\\Proto\\Metrics\\V1\\ExponentialHistogramDataPoint\\Buckets' => $vendorDir . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/ExponentialHistogramDataPoint/Buckets.php', - 'Opentelemetry\\Proto\\Metrics\\V1\\ExponentialHistogramDataPoint_Buckets' => $vendorDir . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/ExponentialHistogramDataPoint_Buckets.php', - 'Opentelemetry\\Proto\\Metrics\\V1\\Gauge' => $vendorDir . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/Gauge.php', - 'Opentelemetry\\Proto\\Metrics\\V1\\Histogram' => $vendorDir . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/Histogram.php', - 'Opentelemetry\\Proto\\Metrics\\V1\\HistogramDataPoint' => $vendorDir . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/HistogramDataPoint.php', - 'Opentelemetry\\Proto\\Metrics\\V1\\InstrumentationLibraryMetrics' => $vendorDir . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/InstrumentationLibraryMetrics.php', - 'Opentelemetry\\Proto\\Metrics\\V1\\IntDataPoint' => $vendorDir . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/IntDataPoint.php', - 'Opentelemetry\\Proto\\Metrics\\V1\\IntExemplar' => $vendorDir . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/IntExemplar.php', - 'Opentelemetry\\Proto\\Metrics\\V1\\IntGauge' => $vendorDir . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/IntGauge.php', - 'Opentelemetry\\Proto\\Metrics\\V1\\IntHistogram' => $vendorDir . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/IntHistogram.php', - 'Opentelemetry\\Proto\\Metrics\\V1\\IntHistogramDataPoint' => $vendorDir . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/IntHistogramDataPoint.php', - 'Opentelemetry\\Proto\\Metrics\\V1\\IntSum' => $vendorDir . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/IntSum.php', - 'Opentelemetry\\Proto\\Metrics\\V1\\Metric' => $vendorDir . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/Metric.php', - 'Opentelemetry\\Proto\\Metrics\\V1\\MetricsData' => $vendorDir . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/MetricsData.php', - 'Opentelemetry\\Proto\\Metrics\\V1\\NumberDataPoint' => $vendorDir . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/NumberDataPoint.php', - 'Opentelemetry\\Proto\\Metrics\\V1\\ResourceMetrics' => $vendorDir . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/ResourceMetrics.php', - 'Opentelemetry\\Proto\\Metrics\\V1\\ScopeMetrics' => $vendorDir . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/ScopeMetrics.php', - 'Opentelemetry\\Proto\\Metrics\\V1\\Sum' => $vendorDir . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/Sum.php', - 'Opentelemetry\\Proto\\Metrics\\V1\\Summary' => $vendorDir . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/Summary.php', - 'Opentelemetry\\Proto\\Metrics\\V1\\SummaryDataPoint' => $vendorDir . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/SummaryDataPoint.php', - 'Opentelemetry\\Proto\\Metrics\\V1\\SummaryDataPoint\\ValueAtQuantile' => $vendorDir . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/SummaryDataPoint/ValueAtQuantile.php', - 'Opentelemetry\\Proto\\Metrics\\V1\\SummaryDataPoint_ValueAtQuantile' => $vendorDir . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/SummaryDataPoint_ValueAtQuantile.php', - 'Opentelemetry\\Proto\\Resource\\V1\\Resource' => $vendorDir . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Resource/V1/Resource.php', - 'Opentelemetry\\Proto\\Trace\\V1\\ConstantSampler' => $vendorDir . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/ConstantSampler.php', - 'Opentelemetry\\Proto\\Trace\\V1\\ConstantSampler\\ConstantDecision' => $vendorDir . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/ConstantSampler/ConstantDecision.php', - 'Opentelemetry\\Proto\\Trace\\V1\\ConstantSampler_ConstantDecision' => $vendorDir . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/ConstantSampler_ConstantDecision.php', - 'Opentelemetry\\Proto\\Trace\\V1\\InstrumentationLibrarySpans' => $vendorDir . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/InstrumentationLibrarySpans.php', - 'Opentelemetry\\Proto\\Trace\\V1\\RateLimitingSampler' => $vendorDir . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/RateLimitingSampler.php', - 'Opentelemetry\\Proto\\Trace\\V1\\ResourceSpans' => $vendorDir . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/ResourceSpans.php', - 'Opentelemetry\\Proto\\Trace\\V1\\ScopeSpans' => $vendorDir . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/ScopeSpans.php', - 'Opentelemetry\\Proto\\Trace\\V1\\Span' => $vendorDir . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Span.php', - 'Opentelemetry\\Proto\\Trace\\V1\\Span\\Event' => $vendorDir . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Span/Event.php', - 'Opentelemetry\\Proto\\Trace\\V1\\Span\\Link' => $vendorDir . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Span/Link.php', - 'Opentelemetry\\Proto\\Trace\\V1\\Span\\SpanKind' => $vendorDir . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Span/SpanKind.php', - 'Opentelemetry\\Proto\\Trace\\V1\\Span_Event' => $vendorDir . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Span_Event.php', - 'Opentelemetry\\Proto\\Trace\\V1\\Span_Link' => $vendorDir . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Span_Link.php', - 'Opentelemetry\\Proto\\Trace\\V1\\Span_SpanKind' => $vendorDir . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Span_SpanKind.php', - 'Opentelemetry\\Proto\\Trace\\V1\\Status' => $vendorDir . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Status.php', - 'Opentelemetry\\Proto\\Trace\\V1\\Status\\DeprecatedStatusCode' => $vendorDir . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Status/DeprecatedStatusCode.php', - 'Opentelemetry\\Proto\\Trace\\V1\\Status\\StatusCode' => $vendorDir . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Status/StatusCode.php', - 'Opentelemetry\\Proto\\Trace\\V1\\Status_DeprecatedStatusCode' => $vendorDir . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Status_DeprecatedStatusCode.php', - 'Opentelemetry\\Proto\\Trace\\V1\\Status_StatusCode' => $vendorDir . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Status_StatusCode.php', - 'Opentelemetry\\Proto\\Trace\\V1\\TraceConfig' => $vendorDir . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/TraceConfig.php', - 'Opentelemetry\\Proto\\Trace\\V1\\TraceIdRatioBased' => $vendorDir . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/TraceIdRatioBased.php', - 'Opentelemetry\\Proto\\Trace\\V1\\TracesData' => $vendorDir . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/TracesData.php', 'PHPUnit\\Exception' => $vendorDir . '/phpunit/phpunit/src/Exception.php', 'PHPUnit\\Framework\\ActualValueIsNotAnObjectException' => $vendorDir . '/phpunit/phpunit/src/Framework/Exception/ActualValueIsNotAnObjectException.php', 'PHPUnit\\Framework\\Assert' => $vendorDir . '/phpunit/phpunit/src/Framework/Assert.php', @@ -1178,17 +359,6 @@ return array( 'PHPUnit\\Util\\Xml\\SuccessfulSchemaDetectionResult' => $vendorDir . '/phpunit/phpunit/src/Util/Xml/SuccessfulSchemaDetectionResult.php', 'PHPUnit\\Util\\Xml\\ValidationResult' => $vendorDir . '/phpunit/phpunit/src/Util/Xml/ValidationResult.php', 'PHPUnit\\Util\\Xml\\Validator' => $vendorDir . '/phpunit/phpunit/src/Util/Xml/Validator.php', - 'ParagonIE\\ConstantTime\\Base32' => $vendorDir . '/paragonie/constant_time_encoding/src/Base32.php', - 'ParagonIE\\ConstantTime\\Base32Hex' => $vendorDir . '/paragonie/constant_time_encoding/src/Base32Hex.php', - 'ParagonIE\\ConstantTime\\Base64' => $vendorDir . '/paragonie/constant_time_encoding/src/Base64.php', - 'ParagonIE\\ConstantTime\\Base64DotSlash' => $vendorDir . '/paragonie/constant_time_encoding/src/Base64DotSlash.php', - 'ParagonIE\\ConstantTime\\Base64DotSlashOrdered' => $vendorDir . '/paragonie/constant_time_encoding/src/Base64DotSlashOrdered.php', - 'ParagonIE\\ConstantTime\\Base64UrlSafe' => $vendorDir . '/paragonie/constant_time_encoding/src/Base64UrlSafe.php', - 'ParagonIE\\ConstantTime\\Binary' => $vendorDir . '/paragonie/constant_time_encoding/src/Binary.php', - 'ParagonIE\\ConstantTime\\EncoderInterface' => $vendorDir . '/paragonie/constant_time_encoding/src/EncoderInterface.php', - 'ParagonIE\\ConstantTime\\Encoding' => $vendorDir . '/paragonie/constant_time_encoding/src/Encoding.php', - 'ParagonIE\\ConstantTime\\Hex' => $vendorDir . '/paragonie/constant_time_encoding/src/Hex.php', - 'ParagonIE\\ConstantTime\\RFC4648' => $vendorDir . '/paragonie/constant_time_encoding/src/RFC4648.php', 'PharIo\\Manifest\\Application' => $vendorDir . '/phar-io/manifest/src/values/Application.php', 'PharIo\\Manifest\\ApplicationName' => $vendorDir . '/phar-io/manifest/src/values/ApplicationName.php', 'PharIo\\Manifest\\Author' => $vendorDir . '/phar-io/manifest/src/values/Author.php', @@ -1260,394 +430,6 @@ return array( 'PharIo\\Version\\VersionConstraintParser' => $vendorDir . '/phar-io/version/src/VersionConstraintParser.php', 'PharIo\\Version\\VersionConstraintValue' => $vendorDir . '/phar-io/version/src/VersionConstraintValue.php', 'PharIo\\Version\\VersionNumber' => $vendorDir . '/phar-io/version/src/VersionNumber.php', - 'PhpParser\\Builder' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Builder.php', - 'PhpParser\\BuilderFactory' => $vendorDir . '/nikic/php-parser/lib/PhpParser/BuilderFactory.php', - 'PhpParser\\BuilderHelpers' => $vendorDir . '/nikic/php-parser/lib/PhpParser/BuilderHelpers.php', - 'PhpParser\\Builder\\ClassConst' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Builder/ClassConst.php', - 'PhpParser\\Builder\\Class_' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Builder/Class_.php', - 'PhpParser\\Builder\\Declaration' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Builder/Declaration.php', - 'PhpParser\\Builder\\EnumCase' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Builder/EnumCase.php', - 'PhpParser\\Builder\\Enum_' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Builder/Enum_.php', - 'PhpParser\\Builder\\FunctionLike' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Builder/FunctionLike.php', - 'PhpParser\\Builder\\Function_' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Builder/Function_.php', - 'PhpParser\\Builder\\Interface_' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Builder/Interface_.php', - 'PhpParser\\Builder\\Method' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Builder/Method.php', - 'PhpParser\\Builder\\Namespace_' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Builder/Namespace_.php', - 'PhpParser\\Builder\\Param' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Builder/Param.php', - 'PhpParser\\Builder\\Property' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Builder/Property.php', - 'PhpParser\\Builder\\TraitUse' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Builder/TraitUse.php', - 'PhpParser\\Builder\\TraitUseAdaptation' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Builder/TraitUseAdaptation.php', - 'PhpParser\\Builder\\Trait_' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Builder/Trait_.php', - 'PhpParser\\Builder\\Use_' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Builder/Use_.php', - 'PhpParser\\Comment' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Comment.php', - 'PhpParser\\Comment\\Doc' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Comment/Doc.php', - 'PhpParser\\ConstExprEvaluationException' => $vendorDir . '/nikic/php-parser/lib/PhpParser/ConstExprEvaluationException.php', - 'PhpParser\\ConstExprEvaluator' => $vendorDir . '/nikic/php-parser/lib/PhpParser/ConstExprEvaluator.php', - 'PhpParser\\Error' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Error.php', - 'PhpParser\\ErrorHandler' => $vendorDir . '/nikic/php-parser/lib/PhpParser/ErrorHandler.php', - 'PhpParser\\ErrorHandler\\Collecting' => $vendorDir . '/nikic/php-parser/lib/PhpParser/ErrorHandler/Collecting.php', - 'PhpParser\\ErrorHandler\\Throwing' => $vendorDir . '/nikic/php-parser/lib/PhpParser/ErrorHandler/Throwing.php', - 'PhpParser\\Internal\\DiffElem' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Internal/DiffElem.php', - 'PhpParser\\Internal\\Differ' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Internal/Differ.php', - 'PhpParser\\Internal\\PrintableNewAnonClassNode' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Internal/PrintableNewAnonClassNode.php', - 'PhpParser\\Internal\\TokenStream' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Internal/TokenStream.php', - 'PhpParser\\JsonDecoder' => $vendorDir . '/nikic/php-parser/lib/PhpParser/JsonDecoder.php', - 'PhpParser\\Lexer' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Lexer.php', - 'PhpParser\\Lexer\\Emulative' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Lexer/Emulative.php', - 'PhpParser\\Lexer\\TokenEmulator\\AttributeEmulator' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Lexer/TokenEmulator/AttributeEmulator.php', - 'PhpParser\\Lexer\\TokenEmulator\\CoaleseEqualTokenEmulator' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Lexer/TokenEmulator/CoaleseEqualTokenEmulator.php', - 'PhpParser\\Lexer\\TokenEmulator\\EnumTokenEmulator' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Lexer/TokenEmulator/EnumTokenEmulator.php', - 'PhpParser\\Lexer\\TokenEmulator\\ExplicitOctalEmulator' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Lexer/TokenEmulator/ExplicitOctalEmulator.php', - 'PhpParser\\Lexer\\TokenEmulator\\FlexibleDocStringEmulator' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Lexer/TokenEmulator/FlexibleDocStringEmulator.php', - 'PhpParser\\Lexer\\TokenEmulator\\FnTokenEmulator' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Lexer/TokenEmulator/FnTokenEmulator.php', - 'PhpParser\\Lexer\\TokenEmulator\\KeywordEmulator' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Lexer/TokenEmulator/KeywordEmulator.php', - 'PhpParser\\Lexer\\TokenEmulator\\MatchTokenEmulator' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Lexer/TokenEmulator/MatchTokenEmulator.php', - 'PhpParser\\Lexer\\TokenEmulator\\NullsafeTokenEmulator' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Lexer/TokenEmulator/NullsafeTokenEmulator.php', - 'PhpParser\\Lexer\\TokenEmulator\\NumericLiteralSeparatorEmulator' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Lexer/TokenEmulator/NumericLiteralSeparatorEmulator.php', - 'PhpParser\\Lexer\\TokenEmulator\\ReadonlyTokenEmulator' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Lexer/TokenEmulator/ReadonlyTokenEmulator.php', - 'PhpParser\\Lexer\\TokenEmulator\\ReverseEmulator' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Lexer/TokenEmulator/ReverseEmulator.php', - 'PhpParser\\Lexer\\TokenEmulator\\TokenEmulator' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Lexer/TokenEmulator/TokenEmulator.php', - 'PhpParser\\NameContext' => $vendorDir . '/nikic/php-parser/lib/PhpParser/NameContext.php', - 'PhpParser\\Node' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node.php', - 'PhpParser\\NodeAbstract' => $vendorDir . '/nikic/php-parser/lib/PhpParser/NodeAbstract.php', - 'PhpParser\\NodeDumper' => $vendorDir . '/nikic/php-parser/lib/PhpParser/NodeDumper.php', - 'PhpParser\\NodeFinder' => $vendorDir . '/nikic/php-parser/lib/PhpParser/NodeFinder.php', - 'PhpParser\\NodeTraverser' => $vendorDir . '/nikic/php-parser/lib/PhpParser/NodeTraverser.php', - 'PhpParser\\NodeTraverserInterface' => $vendorDir . '/nikic/php-parser/lib/PhpParser/NodeTraverserInterface.php', - 'PhpParser\\NodeVisitor' => $vendorDir . '/nikic/php-parser/lib/PhpParser/NodeVisitor.php', - 'PhpParser\\NodeVisitorAbstract' => $vendorDir . '/nikic/php-parser/lib/PhpParser/NodeVisitorAbstract.php', - 'PhpParser\\NodeVisitor\\CloningVisitor' => $vendorDir . '/nikic/php-parser/lib/PhpParser/NodeVisitor/CloningVisitor.php', - 'PhpParser\\NodeVisitor\\FindingVisitor' => $vendorDir . '/nikic/php-parser/lib/PhpParser/NodeVisitor/FindingVisitor.php', - 'PhpParser\\NodeVisitor\\FirstFindingVisitor' => $vendorDir . '/nikic/php-parser/lib/PhpParser/NodeVisitor/FirstFindingVisitor.php', - 'PhpParser\\NodeVisitor\\NameResolver' => $vendorDir . '/nikic/php-parser/lib/PhpParser/NodeVisitor/NameResolver.php', - 'PhpParser\\NodeVisitor\\NodeConnectingVisitor' => $vendorDir . '/nikic/php-parser/lib/PhpParser/NodeVisitor/NodeConnectingVisitor.php', - 'PhpParser\\NodeVisitor\\ParentConnectingVisitor' => $vendorDir . '/nikic/php-parser/lib/PhpParser/NodeVisitor/ParentConnectingVisitor.php', - 'PhpParser\\Node\\Arg' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Arg.php', - 'PhpParser\\Node\\Attribute' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Attribute.php', - 'PhpParser\\Node\\AttributeGroup' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/AttributeGroup.php', - 'PhpParser\\Node\\ComplexType' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/ComplexType.php', - 'PhpParser\\Node\\Const_' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Const_.php', - 'PhpParser\\Node\\Expr' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Expr.php', - 'PhpParser\\Node\\Expr\\ArrayDimFetch' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Expr/ArrayDimFetch.php', - 'PhpParser\\Node\\Expr\\ArrayItem' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Expr/ArrayItem.php', - 'PhpParser\\Node\\Expr\\Array_' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Expr/Array_.php', - 'PhpParser\\Node\\Expr\\ArrowFunction' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Expr/ArrowFunction.php', - 'PhpParser\\Node\\Expr\\Assign' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Expr/Assign.php', - 'PhpParser\\Node\\Expr\\AssignOp' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Expr/AssignOp.php', - 'PhpParser\\Node\\Expr\\AssignOp\\BitwiseAnd' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Expr/AssignOp/BitwiseAnd.php', - 'PhpParser\\Node\\Expr\\AssignOp\\BitwiseOr' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Expr/AssignOp/BitwiseOr.php', - 'PhpParser\\Node\\Expr\\AssignOp\\BitwiseXor' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Expr/AssignOp/BitwiseXor.php', - 'PhpParser\\Node\\Expr\\AssignOp\\Coalesce' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Expr/AssignOp/Coalesce.php', - 'PhpParser\\Node\\Expr\\AssignOp\\Concat' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Expr/AssignOp/Concat.php', - 'PhpParser\\Node\\Expr\\AssignOp\\Div' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Expr/AssignOp/Div.php', - 'PhpParser\\Node\\Expr\\AssignOp\\Minus' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Expr/AssignOp/Minus.php', - 'PhpParser\\Node\\Expr\\AssignOp\\Mod' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Expr/AssignOp/Mod.php', - 'PhpParser\\Node\\Expr\\AssignOp\\Mul' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Expr/AssignOp/Mul.php', - 'PhpParser\\Node\\Expr\\AssignOp\\Plus' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Expr/AssignOp/Plus.php', - 'PhpParser\\Node\\Expr\\AssignOp\\Pow' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Expr/AssignOp/Pow.php', - 'PhpParser\\Node\\Expr\\AssignOp\\ShiftLeft' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Expr/AssignOp/ShiftLeft.php', - 'PhpParser\\Node\\Expr\\AssignOp\\ShiftRight' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Expr/AssignOp/ShiftRight.php', - 'PhpParser\\Node\\Expr\\AssignRef' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Expr/AssignRef.php', - 'PhpParser\\Node\\Expr\\BinaryOp' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp.php', - 'PhpParser\\Node\\Expr\\BinaryOp\\BitwiseAnd' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/BitwiseAnd.php', - 'PhpParser\\Node\\Expr\\BinaryOp\\BitwiseOr' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/BitwiseOr.php', - 'PhpParser\\Node\\Expr\\BinaryOp\\BitwiseXor' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/BitwiseXor.php', - 'PhpParser\\Node\\Expr\\BinaryOp\\BooleanAnd' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/BooleanAnd.php', - 'PhpParser\\Node\\Expr\\BinaryOp\\BooleanOr' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/BooleanOr.php', - 'PhpParser\\Node\\Expr\\BinaryOp\\Coalesce' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/Coalesce.php', - 'PhpParser\\Node\\Expr\\BinaryOp\\Concat' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/Concat.php', - 'PhpParser\\Node\\Expr\\BinaryOp\\Div' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/Div.php', - 'PhpParser\\Node\\Expr\\BinaryOp\\Equal' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/Equal.php', - 'PhpParser\\Node\\Expr\\BinaryOp\\Greater' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/Greater.php', - 'PhpParser\\Node\\Expr\\BinaryOp\\GreaterOrEqual' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/GreaterOrEqual.php', - 'PhpParser\\Node\\Expr\\BinaryOp\\Identical' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/Identical.php', - 'PhpParser\\Node\\Expr\\BinaryOp\\LogicalAnd' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/LogicalAnd.php', - 'PhpParser\\Node\\Expr\\BinaryOp\\LogicalOr' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/LogicalOr.php', - 'PhpParser\\Node\\Expr\\BinaryOp\\LogicalXor' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/LogicalXor.php', - 'PhpParser\\Node\\Expr\\BinaryOp\\Minus' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/Minus.php', - 'PhpParser\\Node\\Expr\\BinaryOp\\Mod' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/Mod.php', - 'PhpParser\\Node\\Expr\\BinaryOp\\Mul' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/Mul.php', - 'PhpParser\\Node\\Expr\\BinaryOp\\NotEqual' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/NotEqual.php', - 'PhpParser\\Node\\Expr\\BinaryOp\\NotIdentical' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/NotIdentical.php', - 'PhpParser\\Node\\Expr\\BinaryOp\\Plus' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/Plus.php', - 'PhpParser\\Node\\Expr\\BinaryOp\\Pow' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/Pow.php', - 'PhpParser\\Node\\Expr\\BinaryOp\\ShiftLeft' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/ShiftLeft.php', - 'PhpParser\\Node\\Expr\\BinaryOp\\ShiftRight' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/ShiftRight.php', - 'PhpParser\\Node\\Expr\\BinaryOp\\Smaller' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/Smaller.php', - 'PhpParser\\Node\\Expr\\BinaryOp\\SmallerOrEqual' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/SmallerOrEqual.php', - 'PhpParser\\Node\\Expr\\BinaryOp\\Spaceship' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/Spaceship.php', - 'PhpParser\\Node\\Expr\\BitwiseNot' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Expr/BitwiseNot.php', - 'PhpParser\\Node\\Expr\\BooleanNot' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Expr/BooleanNot.php', - 'PhpParser\\Node\\Expr\\CallLike' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Expr/CallLike.php', - 'PhpParser\\Node\\Expr\\Cast' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Expr/Cast.php', - 'PhpParser\\Node\\Expr\\Cast\\Array_' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Expr/Cast/Array_.php', - 'PhpParser\\Node\\Expr\\Cast\\Bool_' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Expr/Cast/Bool_.php', - 'PhpParser\\Node\\Expr\\Cast\\Double' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Expr/Cast/Double.php', - 'PhpParser\\Node\\Expr\\Cast\\Int_' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Expr/Cast/Int_.php', - 'PhpParser\\Node\\Expr\\Cast\\Object_' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Expr/Cast/Object_.php', - 'PhpParser\\Node\\Expr\\Cast\\String_' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Expr/Cast/String_.php', - 'PhpParser\\Node\\Expr\\Cast\\Unset_' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Expr/Cast/Unset_.php', - 'PhpParser\\Node\\Expr\\ClassConstFetch' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Expr/ClassConstFetch.php', - 'PhpParser\\Node\\Expr\\Clone_' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Expr/Clone_.php', - 'PhpParser\\Node\\Expr\\Closure' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Expr/Closure.php', - 'PhpParser\\Node\\Expr\\ClosureUse' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Expr/ClosureUse.php', - 'PhpParser\\Node\\Expr\\ConstFetch' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Expr/ConstFetch.php', - 'PhpParser\\Node\\Expr\\Empty_' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Expr/Empty_.php', - 'PhpParser\\Node\\Expr\\Error' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Expr/Error.php', - 'PhpParser\\Node\\Expr\\ErrorSuppress' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Expr/ErrorSuppress.php', - 'PhpParser\\Node\\Expr\\Eval_' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Expr/Eval_.php', - 'PhpParser\\Node\\Expr\\Exit_' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Expr/Exit_.php', - 'PhpParser\\Node\\Expr\\FuncCall' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Expr/FuncCall.php', - 'PhpParser\\Node\\Expr\\Include_' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Expr/Include_.php', - 'PhpParser\\Node\\Expr\\Instanceof_' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Expr/Instanceof_.php', - 'PhpParser\\Node\\Expr\\Isset_' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Expr/Isset_.php', - 'PhpParser\\Node\\Expr\\List_' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Expr/List_.php', - 'PhpParser\\Node\\Expr\\Match_' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Expr/Match_.php', - 'PhpParser\\Node\\Expr\\MethodCall' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Expr/MethodCall.php', - 'PhpParser\\Node\\Expr\\New_' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Expr/New_.php', - 'PhpParser\\Node\\Expr\\NullsafeMethodCall' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Expr/NullsafeMethodCall.php', - 'PhpParser\\Node\\Expr\\NullsafePropertyFetch' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Expr/NullsafePropertyFetch.php', - 'PhpParser\\Node\\Expr\\PostDec' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Expr/PostDec.php', - 'PhpParser\\Node\\Expr\\PostInc' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Expr/PostInc.php', - 'PhpParser\\Node\\Expr\\PreDec' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Expr/PreDec.php', - 'PhpParser\\Node\\Expr\\PreInc' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Expr/PreInc.php', - 'PhpParser\\Node\\Expr\\Print_' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Expr/Print_.php', - 'PhpParser\\Node\\Expr\\PropertyFetch' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Expr/PropertyFetch.php', - 'PhpParser\\Node\\Expr\\ShellExec' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Expr/ShellExec.php', - 'PhpParser\\Node\\Expr\\StaticCall' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Expr/StaticCall.php', - 'PhpParser\\Node\\Expr\\StaticPropertyFetch' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Expr/StaticPropertyFetch.php', - 'PhpParser\\Node\\Expr\\Ternary' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Expr/Ternary.php', - 'PhpParser\\Node\\Expr\\Throw_' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Expr/Throw_.php', - 'PhpParser\\Node\\Expr\\UnaryMinus' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Expr/UnaryMinus.php', - 'PhpParser\\Node\\Expr\\UnaryPlus' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Expr/UnaryPlus.php', - 'PhpParser\\Node\\Expr\\Variable' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Expr/Variable.php', - 'PhpParser\\Node\\Expr\\YieldFrom' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Expr/YieldFrom.php', - 'PhpParser\\Node\\Expr\\Yield_' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Expr/Yield_.php', - 'PhpParser\\Node\\FunctionLike' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/FunctionLike.php', - 'PhpParser\\Node\\Identifier' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Identifier.php', - 'PhpParser\\Node\\IntersectionType' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/IntersectionType.php', - 'PhpParser\\Node\\MatchArm' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/MatchArm.php', - 'PhpParser\\Node\\Name' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Name.php', - 'PhpParser\\Node\\Name\\FullyQualified' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Name/FullyQualified.php', - 'PhpParser\\Node\\Name\\Relative' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Name/Relative.php', - 'PhpParser\\Node\\NullableType' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/NullableType.php', - 'PhpParser\\Node\\Param' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Param.php', - 'PhpParser\\Node\\Scalar' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Scalar.php', - 'PhpParser\\Node\\Scalar\\DNumber' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Scalar/DNumber.php', - 'PhpParser\\Node\\Scalar\\Encapsed' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Scalar/Encapsed.php', - 'PhpParser\\Node\\Scalar\\EncapsedStringPart' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Scalar/EncapsedStringPart.php', - 'PhpParser\\Node\\Scalar\\LNumber' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Scalar/LNumber.php', - 'PhpParser\\Node\\Scalar\\MagicConst' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Scalar/MagicConst.php', - 'PhpParser\\Node\\Scalar\\MagicConst\\Class_' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Scalar/MagicConst/Class_.php', - 'PhpParser\\Node\\Scalar\\MagicConst\\Dir' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Scalar/MagicConst/Dir.php', - 'PhpParser\\Node\\Scalar\\MagicConst\\File' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Scalar/MagicConst/File.php', - 'PhpParser\\Node\\Scalar\\MagicConst\\Function_' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Scalar/MagicConst/Function_.php', - 'PhpParser\\Node\\Scalar\\MagicConst\\Line' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Scalar/MagicConst/Line.php', - 'PhpParser\\Node\\Scalar\\MagicConst\\Method' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Scalar/MagicConst/Method.php', - 'PhpParser\\Node\\Scalar\\MagicConst\\Namespace_' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Scalar/MagicConst/Namespace_.php', - 'PhpParser\\Node\\Scalar\\MagicConst\\Trait_' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Scalar/MagicConst/Trait_.php', - 'PhpParser\\Node\\Scalar\\String_' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Scalar/String_.php', - 'PhpParser\\Node\\Stmt' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Stmt.php', - 'PhpParser\\Node\\Stmt\\Break_' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Stmt/Break_.php', - 'PhpParser\\Node\\Stmt\\Case_' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Stmt/Case_.php', - 'PhpParser\\Node\\Stmt\\Catch_' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Stmt/Catch_.php', - 'PhpParser\\Node\\Stmt\\ClassConst' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Stmt/ClassConst.php', - 'PhpParser\\Node\\Stmt\\ClassLike' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Stmt/ClassLike.php', - 'PhpParser\\Node\\Stmt\\ClassMethod' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Stmt/ClassMethod.php', - 'PhpParser\\Node\\Stmt\\Class_' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Stmt/Class_.php', - 'PhpParser\\Node\\Stmt\\Const_' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Stmt/Const_.php', - 'PhpParser\\Node\\Stmt\\Continue_' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Stmt/Continue_.php', - 'PhpParser\\Node\\Stmt\\DeclareDeclare' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Stmt/DeclareDeclare.php', - 'PhpParser\\Node\\Stmt\\Declare_' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Stmt/Declare_.php', - 'PhpParser\\Node\\Stmt\\Do_' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Stmt/Do_.php', - 'PhpParser\\Node\\Stmt\\Echo_' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Stmt/Echo_.php', - 'PhpParser\\Node\\Stmt\\ElseIf_' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Stmt/ElseIf_.php', - 'PhpParser\\Node\\Stmt\\Else_' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Stmt/Else_.php', - 'PhpParser\\Node\\Stmt\\EnumCase' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Stmt/EnumCase.php', - 'PhpParser\\Node\\Stmt\\Enum_' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Stmt/Enum_.php', - 'PhpParser\\Node\\Stmt\\Expression' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Stmt/Expression.php', - 'PhpParser\\Node\\Stmt\\Finally_' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Stmt/Finally_.php', - 'PhpParser\\Node\\Stmt\\For_' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Stmt/For_.php', - 'PhpParser\\Node\\Stmt\\Foreach_' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Stmt/Foreach_.php', - 'PhpParser\\Node\\Stmt\\Function_' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Stmt/Function_.php', - 'PhpParser\\Node\\Stmt\\Global_' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Stmt/Global_.php', - 'PhpParser\\Node\\Stmt\\Goto_' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Stmt/Goto_.php', - 'PhpParser\\Node\\Stmt\\GroupUse' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Stmt/GroupUse.php', - 'PhpParser\\Node\\Stmt\\HaltCompiler' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Stmt/HaltCompiler.php', - 'PhpParser\\Node\\Stmt\\If_' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Stmt/If_.php', - 'PhpParser\\Node\\Stmt\\InlineHTML' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Stmt/InlineHTML.php', - 'PhpParser\\Node\\Stmt\\Interface_' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Stmt/Interface_.php', - 'PhpParser\\Node\\Stmt\\Label' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Stmt/Label.php', - 'PhpParser\\Node\\Stmt\\Namespace_' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Stmt/Namespace_.php', - 'PhpParser\\Node\\Stmt\\Nop' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Stmt/Nop.php', - 'PhpParser\\Node\\Stmt\\Property' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Stmt/Property.php', - 'PhpParser\\Node\\Stmt\\PropertyProperty' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Stmt/PropertyProperty.php', - 'PhpParser\\Node\\Stmt\\Return_' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Stmt/Return_.php', - 'PhpParser\\Node\\Stmt\\StaticVar' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Stmt/StaticVar.php', - 'PhpParser\\Node\\Stmt\\Static_' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Stmt/Static_.php', - 'PhpParser\\Node\\Stmt\\Switch_' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Stmt/Switch_.php', - 'PhpParser\\Node\\Stmt\\Throw_' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Stmt/Throw_.php', - 'PhpParser\\Node\\Stmt\\TraitUse' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Stmt/TraitUse.php', - 'PhpParser\\Node\\Stmt\\TraitUseAdaptation' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Stmt/TraitUseAdaptation.php', - 'PhpParser\\Node\\Stmt\\TraitUseAdaptation\\Alias' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Stmt/TraitUseAdaptation/Alias.php', - 'PhpParser\\Node\\Stmt\\TraitUseAdaptation\\Precedence' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Stmt/TraitUseAdaptation/Precedence.php', - 'PhpParser\\Node\\Stmt\\Trait_' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Stmt/Trait_.php', - 'PhpParser\\Node\\Stmt\\TryCatch' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Stmt/TryCatch.php', - 'PhpParser\\Node\\Stmt\\Unset_' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Stmt/Unset_.php', - 'PhpParser\\Node\\Stmt\\UseUse' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Stmt/UseUse.php', - 'PhpParser\\Node\\Stmt\\Use_' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Stmt/Use_.php', - 'PhpParser\\Node\\Stmt\\While_' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/Stmt/While_.php', - 'PhpParser\\Node\\UnionType' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/UnionType.php', - 'PhpParser\\Node\\VarLikeIdentifier' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/VarLikeIdentifier.php', - 'PhpParser\\Node\\VariadicPlaceholder' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Node/VariadicPlaceholder.php', - 'PhpParser\\Parser' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Parser.php', - 'PhpParser\\ParserAbstract' => $vendorDir . '/nikic/php-parser/lib/PhpParser/ParserAbstract.php', - 'PhpParser\\ParserFactory' => $vendorDir . '/nikic/php-parser/lib/PhpParser/ParserFactory.php', - 'PhpParser\\Parser\\Multiple' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Parser/Multiple.php', - 'PhpParser\\Parser\\Php5' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Parser/Php5.php', - 'PhpParser\\Parser\\Php7' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Parser/Php7.php', - 'PhpParser\\Parser\\Tokens' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Parser/Tokens.php', - 'PhpParser\\PrettyPrinterAbstract' => $vendorDir . '/nikic/php-parser/lib/PhpParser/PrettyPrinterAbstract.php', - 'PhpParser\\PrettyPrinter\\Standard' => $vendorDir . '/nikic/php-parser/lib/PhpParser/PrettyPrinter/Standard.php', - 'PhpToken' => $vendorDir . '/symfony/polyfill-php80/Resources/stubs/PhpToken.php', - 'Plugin' => $baseDir . '/classes/Plugin.php', - 'PluginHandler' => $baseDir . '/classes/PluginHandler.php', - 'PluginHost' => $baseDir . '/classes/PluginHost.php', - 'Pref_Feeds' => $baseDir . '/classes/Pref_Feeds.php', - 'Pref_Filters' => $baseDir . '/classes/Pref_Filters.php', - 'Pref_Labels' => $baseDir . '/classes/Pref_Labels.php', - 'Pref_Prefs' => $baseDir . '/classes/Pref_Prefs.php', - 'Pref_System' => $baseDir . '/classes/Pref_System.php', - 'Pref_Users' => $baseDir . '/classes/Pref_Users.php', - 'Prefs' => $baseDir . '/classes/Prefs.php', - 'Prophecy\\Argument' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Argument.php', - 'Prophecy\\Argument\\ArgumentsWildcard' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Argument/ArgumentsWildcard.php', - 'Prophecy\\Argument\\Token\\AnyValueToken' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Argument/Token/AnyValueToken.php', - 'Prophecy\\Argument\\Token\\AnyValuesToken' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Argument/Token/AnyValuesToken.php', - 'Prophecy\\Argument\\Token\\ApproximateValueToken' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Argument/Token/ApproximateValueToken.php', - 'Prophecy\\Argument\\Token\\ArrayCountToken' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Argument/Token/ArrayCountToken.php', - 'Prophecy\\Argument\\Token\\ArrayEntryToken' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Argument/Token/ArrayEntryToken.php', - 'Prophecy\\Argument\\Token\\ArrayEveryEntryToken' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Argument/Token/ArrayEveryEntryToken.php', - 'Prophecy\\Argument\\Token\\CallbackToken' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Argument/Token/CallbackToken.php', - 'Prophecy\\Argument\\Token\\ExactValueToken' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Argument/Token/ExactValueToken.php', - 'Prophecy\\Argument\\Token\\IdenticalValueToken' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Argument/Token/IdenticalValueToken.php', - 'Prophecy\\Argument\\Token\\InArrayToken' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Argument/Token/InArrayToken.php', - 'Prophecy\\Argument\\Token\\LogicalAndToken' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Argument/Token/LogicalAndToken.php', - 'Prophecy\\Argument\\Token\\LogicalNotToken' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Argument/Token/LogicalNotToken.php', - 'Prophecy\\Argument\\Token\\NotInArrayToken' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Argument/Token/NotInArrayToken.php', - 'Prophecy\\Argument\\Token\\ObjectStateToken' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Argument/Token/ObjectStateToken.php', - 'Prophecy\\Argument\\Token\\StringContainsToken' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Argument/Token/StringContainsToken.php', - 'Prophecy\\Argument\\Token\\TokenInterface' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Argument/Token/TokenInterface.php', - 'Prophecy\\Argument\\Token\\TypeToken' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Argument/Token/TypeToken.php', - 'Prophecy\\Call\\Call' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Call/Call.php', - 'Prophecy\\Call\\CallCenter' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Call/CallCenter.php', - 'Prophecy\\Comparator\\ClosureComparator' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Comparator/ClosureComparator.php', - 'Prophecy\\Comparator\\Factory' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Comparator/Factory.php', - 'Prophecy\\Comparator\\ProphecyComparator' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Comparator/ProphecyComparator.php', - 'Prophecy\\Doubler\\CachedDoubler' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Doubler/CachedDoubler.php', - 'Prophecy\\Doubler\\ClassPatch\\ClassPatchInterface' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Doubler/ClassPatch/ClassPatchInterface.php', - 'Prophecy\\Doubler\\ClassPatch\\DisableConstructorPatch' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Doubler/ClassPatch/DisableConstructorPatch.php', - 'Prophecy\\Doubler\\ClassPatch\\HhvmExceptionPatch' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Doubler/ClassPatch/HhvmExceptionPatch.php', - 'Prophecy\\Doubler\\ClassPatch\\KeywordPatch' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Doubler/ClassPatch/KeywordPatch.php', - 'Prophecy\\Doubler\\ClassPatch\\MagicCallPatch' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Doubler/ClassPatch/MagicCallPatch.php', - 'Prophecy\\Doubler\\ClassPatch\\ProphecySubjectPatch' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Doubler/ClassPatch/ProphecySubjectPatch.php', - 'Prophecy\\Doubler\\ClassPatch\\ReflectionClassNewInstancePatch' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Doubler/ClassPatch/ReflectionClassNewInstancePatch.php', - 'Prophecy\\Doubler\\ClassPatch\\SplFileInfoPatch' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Doubler/ClassPatch/SplFileInfoPatch.php', - 'Prophecy\\Doubler\\ClassPatch\\ThrowablePatch' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Doubler/ClassPatch/ThrowablePatch.php', - 'Prophecy\\Doubler\\ClassPatch\\TraversablePatch' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Doubler/ClassPatch/TraversablePatch.php', - 'Prophecy\\Doubler\\DoubleInterface' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Doubler/DoubleInterface.php', - 'Prophecy\\Doubler\\Doubler' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Doubler/Doubler.php', - 'Prophecy\\Doubler\\Generator\\ClassCodeGenerator' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Doubler/Generator/ClassCodeGenerator.php', - 'Prophecy\\Doubler\\Generator\\ClassCreator' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Doubler/Generator/ClassCreator.php', - 'Prophecy\\Doubler\\Generator\\ClassMirror' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Doubler/Generator/ClassMirror.php', - 'Prophecy\\Doubler\\Generator\\Node\\ArgumentNode' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Doubler/Generator/Node/ArgumentNode.php', - 'Prophecy\\Doubler\\Generator\\Node\\ArgumentTypeNode' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Doubler/Generator/Node/ArgumentTypeNode.php', - 'Prophecy\\Doubler\\Generator\\Node\\ClassNode' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Doubler/Generator/Node/ClassNode.php', - 'Prophecy\\Doubler\\Generator\\Node\\MethodNode' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Doubler/Generator/Node/MethodNode.php', - 'Prophecy\\Doubler\\Generator\\Node\\ReturnTypeNode' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Doubler/Generator/Node/ReturnTypeNode.php', - 'Prophecy\\Doubler\\Generator\\Node\\TypeNodeAbstract' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Doubler/Generator/Node/TypeNodeAbstract.php', - 'Prophecy\\Doubler\\Generator\\ReflectionInterface' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Doubler/Generator/ReflectionInterface.php', - 'Prophecy\\Doubler\\Generator\\TypeHintReference' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Doubler/Generator/TypeHintReference.php', - 'Prophecy\\Doubler\\LazyDouble' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Doubler/LazyDouble.php', - 'Prophecy\\Doubler\\NameGenerator' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Doubler/NameGenerator.php', - 'Prophecy\\Exception\\Call\\UnexpectedCallException' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Exception/Call/UnexpectedCallException.php', - 'Prophecy\\Exception\\Doubler\\ClassCreatorException' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Exception/Doubler/ClassCreatorException.php', - 'Prophecy\\Exception\\Doubler\\ClassMirrorException' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Exception/Doubler/ClassMirrorException.php', - 'Prophecy\\Exception\\Doubler\\ClassNotFoundException' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Exception/Doubler/ClassNotFoundException.php', - 'Prophecy\\Exception\\Doubler\\DoubleException' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Exception/Doubler/DoubleException.php', - 'Prophecy\\Exception\\Doubler\\DoublerException' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Exception/Doubler/DoublerException.php', - 'Prophecy\\Exception\\Doubler\\InterfaceNotFoundException' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Exception/Doubler/InterfaceNotFoundException.php', - 'Prophecy\\Exception\\Doubler\\MethodNotExtendableException' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Exception/Doubler/MethodNotExtendableException.php', - 'Prophecy\\Exception\\Doubler\\MethodNotFoundException' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Exception/Doubler/MethodNotFoundException.php', - 'Prophecy\\Exception\\Doubler\\ReturnByReferenceException' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Exception/Doubler/ReturnByReferenceException.php', - 'Prophecy\\Exception\\Exception' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Exception/Exception.php', - 'Prophecy\\Exception\\InvalidArgumentException' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Exception/InvalidArgumentException.php', - 'Prophecy\\Exception\\Prediction\\AggregateException' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Exception/Prediction/AggregateException.php', - 'Prophecy\\Exception\\Prediction\\FailedPredictionException' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Exception/Prediction/FailedPredictionException.php', - 'Prophecy\\Exception\\Prediction\\NoCallsException' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Exception/Prediction/NoCallsException.php', - 'Prophecy\\Exception\\Prediction\\PredictionException' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Exception/Prediction/PredictionException.php', - 'Prophecy\\Exception\\Prediction\\UnexpectedCallsCountException' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Exception/Prediction/UnexpectedCallsCountException.php', - 'Prophecy\\Exception\\Prediction\\UnexpectedCallsException' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Exception/Prediction/UnexpectedCallsException.php', - 'Prophecy\\Exception\\Prophecy\\MethodProphecyException' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Exception/Prophecy/MethodProphecyException.php', - 'Prophecy\\Exception\\Prophecy\\ObjectProphecyException' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Exception/Prophecy/ObjectProphecyException.php', - 'Prophecy\\Exception\\Prophecy\\ProphecyException' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Exception/Prophecy/ProphecyException.php', - 'Prophecy\\PhpDocumentor\\ClassAndInterfaceTagRetriever' => $vendorDir . '/phpspec/prophecy/src/Prophecy/PhpDocumentor/ClassAndInterfaceTagRetriever.php', - 'Prophecy\\PhpDocumentor\\ClassTagRetriever' => $vendorDir . '/phpspec/prophecy/src/Prophecy/PhpDocumentor/ClassTagRetriever.php', - 'Prophecy\\PhpDocumentor\\LegacyClassTagRetriever' => $vendorDir . '/phpspec/prophecy/src/Prophecy/PhpDocumentor/LegacyClassTagRetriever.php', - 'Prophecy\\PhpDocumentor\\MethodTagRetrieverInterface' => $vendorDir . '/phpspec/prophecy/src/Prophecy/PhpDocumentor/MethodTagRetrieverInterface.php', - 'Prophecy\\Prediction\\CallPrediction' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Prediction/CallPrediction.php', - 'Prophecy\\Prediction\\CallTimesPrediction' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Prediction/CallTimesPrediction.php', - 'Prophecy\\Prediction\\CallbackPrediction' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Prediction/CallbackPrediction.php', - 'Prophecy\\Prediction\\NoCallsPrediction' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Prediction/NoCallsPrediction.php', - 'Prophecy\\Prediction\\PredictionInterface' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Prediction/PredictionInterface.php', - 'Prophecy\\Promise\\CallbackPromise' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Promise/CallbackPromise.php', - 'Prophecy\\Promise\\PromiseInterface' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Promise/PromiseInterface.php', - 'Prophecy\\Promise\\ReturnArgumentPromise' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Promise/ReturnArgumentPromise.php', - 'Prophecy\\Promise\\ReturnPromise' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Promise/ReturnPromise.php', - 'Prophecy\\Promise\\ThrowPromise' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Promise/ThrowPromise.php', - 'Prophecy\\Prophecy\\MethodProphecy' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Prophecy/MethodProphecy.php', - 'Prophecy\\Prophecy\\ObjectProphecy' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Prophecy/ObjectProphecy.php', - 'Prophecy\\Prophecy\\ProphecyInterface' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Prophecy/ProphecyInterface.php', - 'Prophecy\\Prophecy\\ProphecySubjectInterface' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Prophecy/ProphecySubjectInterface.php', - 'Prophecy\\Prophecy\\Revealer' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Prophecy/Revealer.php', - 'Prophecy\\Prophecy\\RevealerInterface' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Prophecy/RevealerInterface.php', - 'Prophecy\\Prophet' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Prophet.php', - 'Prophecy\\Util\\ExportUtil' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Util/ExportUtil.php', - 'Prophecy\\Util\\StringUtil' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Util/StringUtil.php', - 'Psr\\Http\\Client\\ClientExceptionInterface' => $vendorDir . '/psr/http-client/src/ClientExceptionInterface.php', - 'Psr\\Http\\Client\\ClientInterface' => $vendorDir . '/psr/http-client/src/ClientInterface.php', - 'Psr\\Http\\Client\\NetworkExceptionInterface' => $vendorDir . '/psr/http-client/src/NetworkExceptionInterface.php', - 'Psr\\Http\\Client\\RequestExceptionInterface' => $vendorDir . '/psr/http-client/src/RequestExceptionInterface.php', - 'Psr\\Http\\Message\\MessageInterface' => $vendorDir . '/psr/http-message/src/MessageInterface.php', - 'Psr\\Http\\Message\\RequestFactoryInterface' => $vendorDir . '/psr/http-factory/src/RequestFactoryInterface.php', - 'Psr\\Http\\Message\\RequestInterface' => $vendorDir . '/psr/http-message/src/RequestInterface.php', - 'Psr\\Http\\Message\\ResponseFactoryInterface' => $vendorDir . '/psr/http-factory/src/ResponseFactoryInterface.php', - 'Psr\\Http\\Message\\ResponseInterface' => $vendorDir . '/psr/http-message/src/ResponseInterface.php', - 'Psr\\Http\\Message\\ServerRequestFactoryInterface' => $vendorDir . '/psr/http-factory/src/ServerRequestFactoryInterface.php', - 'Psr\\Http\\Message\\ServerRequestInterface' => $vendorDir . '/psr/http-message/src/ServerRequestInterface.php', - 'Psr\\Http\\Message\\StreamFactoryInterface' => $vendorDir . '/psr/http-factory/src/StreamFactoryInterface.php', - 'Psr\\Http\\Message\\StreamInterface' => $vendorDir . '/psr/http-message/src/StreamInterface.php', - 'Psr\\Http\\Message\\UploadedFileFactoryInterface' => $vendorDir . '/psr/http-factory/src/UploadedFileFactoryInterface.php', - 'Psr\\Http\\Message\\UploadedFileInterface' => $vendorDir . '/psr/http-message/src/UploadedFileInterface.php', - 'Psr\\Http\\Message\\UriFactoryInterface' => $vendorDir . '/psr/http-factory/src/UriFactoryInterface.php', - 'Psr\\Http\\Message\\UriInterface' => $vendorDir . '/psr/http-message/src/UriInterface.php', - 'Psr\\Log\\AbstractLogger' => $vendorDir . '/psr/log/src/AbstractLogger.php', - 'Psr\\Log\\InvalidArgumentException' => $vendorDir . '/psr/log/src/InvalidArgumentException.php', - 'Psr\\Log\\LogLevel' => $vendorDir . '/psr/log/src/LogLevel.php', - 'Psr\\Log\\LoggerAwareInterface' => $vendorDir . '/psr/log/src/LoggerAwareInterface.php', - 'Psr\\Log\\LoggerAwareTrait' => $vendorDir . '/psr/log/src/LoggerAwareTrait.php', - 'Psr\\Log\\LoggerInterface' => $vendorDir . '/psr/log/src/LoggerInterface.php', - 'Psr\\Log\\LoggerTrait' => $vendorDir . '/psr/log/src/LoggerTrait.php', - 'Psr\\Log\\NullLogger' => $vendorDir . '/psr/log/src/NullLogger.php', - 'RPC' => $baseDir . '/classes/RPC.php', - 'RSSUtils' => $baseDir . '/classes/RSSUtils.php', - 'Random\\BrokenRandomEngineError' => $vendorDir . '/symfony/polyfill-php82/Resources/stubs/Random/BrokenRandomEngineError.php', - 'Random\\CryptoSafeEngine' => $vendorDir . '/symfony/polyfill-php82/Resources/stubs/Random/CryptoSafeEngine.php', - 'Random\\Engine' => $vendorDir . '/symfony/polyfill-php82/Resources/stubs/Random/Engine.php', - 'Random\\Engine\\Secure' => $vendorDir . '/symfony/polyfill-php82/Resources/stubs/Random/Engine/Secure.php', - 'Random\\RandomError' => $vendorDir . '/symfony/polyfill-php82/Resources/stubs/Random/RandomError.php', - 'Random\\RandomException' => $vendorDir . '/symfony/polyfill-php82/Resources/stubs/Random/RandomException.php', - 'ReturnTypeWillChange' => $vendorDir . '/symfony/polyfill-php81/Resources/stubs/ReturnTypeWillChange.php', 'Safe\\DateTime' => $vendorDir . '/thecodingmachine/safe/lib/DateTime.php', 'Safe\\DateTimeImmutable' => $vendorDir . '/thecodingmachine/safe/lib/DateTimeImmutable.php', 'Safe\\Exceptions\\ApacheException' => $vendorDir . '/thecodingmachine/safe/generated/Exceptions/ApacheException.php', @@ -1735,7 +517,6 @@ return array( 'Safe\\Exceptions\\YazException' => $vendorDir . '/thecodingmachine/safe/generated/Exceptions/YazException.php', 'Safe\\Exceptions\\ZipException' => $vendorDir . '/thecodingmachine/safe/generated/Exceptions/ZipException.php', 'Safe\\Exceptions\\ZlibException' => $vendorDir . '/thecodingmachine/safe/generated/Exceptions/ZlibException.php', - 'Sanitizer' => $baseDir . '/classes/Sanitizer.php', 'SebastianBergmann\\CliParser\\AmbiguousOptionException' => $vendorDir . '/sebastian/cli-parser/src/exceptions/AmbiguousOptionException.php', 'SebastianBergmann\\CliParser\\Exception' => $vendorDir . '/sebastian/cli-parser/src/exceptions/Exception.php', 'SebastianBergmann\\CliParser\\OptionDoesNotAllowArgumentException' => $vendorDir . '/sebastian/cli-parser/src/exceptions/OptionDoesNotAllowArgumentException.php', @@ -1933,21 +714,6 @@ return array( 'SebastianBergmann\\Type\\UnknownType' => $vendorDir . '/sebastian/type/src/UnknownType.php', 'SebastianBergmann\\Type\\VoidType' => $vendorDir . '/sebastian/type/src/VoidType.php', 'SebastianBergmann\\Version' => $vendorDir . '/sebastian/version/src/Version.php', - 'SensitiveParameter' => $vendorDir . '/symfony/polyfill-php82/Resources/stubs/SensitiveParameter.php', - 'SensitiveParameterValue' => $vendorDir . '/symfony/polyfill-php82/Resources/stubs/SensitiveParameterValue.php', - 'Sessions' => $baseDir . '/classes/Sessions.php', - 'Soundasleep\\Html2Text' => $vendorDir . '/soundasleep/html2text/src/Html2Text.php', - 'Soundasleep\\Html2TextException' => $vendorDir . '/soundasleep/html2text/src/Html2TextException.php', - 'Stringable' => $vendorDir . '/symfony/polyfill-php80/Resources/stubs/Stringable.php', - 'Symfony\\Polyfill\\Mbstring\\Mbstring' => $vendorDir . '/symfony/polyfill-mbstring/Mbstring.php', - 'Symfony\\Polyfill\\Php80\\Php80' => $vendorDir . '/symfony/polyfill-php80/Php80.php', - 'Symfony\\Polyfill\\Php80\\PhpToken' => $vendorDir . '/symfony/polyfill-php80/PhpToken.php', - 'Symfony\\Polyfill\\Php81\\Php81' => $vendorDir . '/symfony/polyfill-php81/Php81.php', - 'Symfony\\Polyfill\\Php82\\NoDynamicProperties' => $vendorDir . '/symfony/polyfill-php82/NoDynamicProperties.php', - 'Symfony\\Polyfill\\Php82\\Php82' => $vendorDir . '/symfony/polyfill-php82/Php82.php', - 'Symfony\\Polyfill\\Php82\\Random\\Engine\\Secure' => $vendorDir . '/symfony/polyfill-php82/Random/Engine/Secure.php', - 'Symfony\\Polyfill\\Php82\\SensitiveParameterValue' => $vendorDir . '/symfony/polyfill-php82/SensitiveParameterValue.php', - 'Templator' => $baseDir . '/classes/Templator.php', 'TheSeer\\Tokenizer\\Exception' => $vendorDir . '/theseer/tokenizer/src/Exception.php', 'TheSeer\\Tokenizer\\NamespaceUri' => $vendorDir . '/theseer/tokenizer/src/NamespaceUri.php', 'TheSeer\\Tokenizer\\NamespaceUriException' => $vendorDir . '/theseer/tokenizer/src/NamespaceUriException.php', @@ -1956,134 +722,4 @@ return array( 'TheSeer\\Tokenizer\\TokenCollectionException' => $vendorDir . '/theseer/tokenizer/src/TokenCollectionException.php', 'TheSeer\\Tokenizer\\Tokenizer' => $vendorDir . '/theseer/tokenizer/src/Tokenizer.php', 'TheSeer\\Tokenizer\\XMLSerializer' => $vendorDir . '/theseer/tokenizer/src/XMLSerializer.php', - 'TimeHelper' => $baseDir . '/classes/TimeHelper.php', - 'Tracer' => $baseDir . '/classes/Tracer.php', - 'UnhandledMatchError' => $vendorDir . '/symfony/polyfill-php80/Resources/stubs/UnhandledMatchError.php', - 'UrlHelper' => $baseDir . '/classes/UrlHelper.php', - 'UserHelper' => $baseDir . '/classes/UserHelper.php', - 'ValueError' => $vendorDir . '/symfony/polyfill-php80/Resources/stubs/ValueError.php', - 'Webmozart\\Assert\\Assert' => $vendorDir . '/webmozart/assert/src/Assert.php', - 'Webmozart\\Assert\\InvalidArgumentException' => $vendorDir . '/webmozart/assert/src/InvalidArgumentException.php', - 'Webmozart\\Assert\\Mixin' => $vendorDir . '/webmozart/assert/src/Mixin.php', - 'chillerlan\\QRCode\\Data\\AlphaNum' => $vendorDir . '/chillerlan/php-qrcode/src/Data/AlphaNum.php', - 'chillerlan\\QRCode\\Data\\Byte' => $vendorDir . '/chillerlan/php-qrcode/src/Data/Byte.php', - 'chillerlan\\QRCode\\Data\\Kanji' => $vendorDir . '/chillerlan/php-qrcode/src/Data/Kanji.php', - 'chillerlan\\QRCode\\Data\\MaskPatternTester' => $vendorDir . '/chillerlan/php-qrcode/src/Data/MaskPatternTester.php', - 'chillerlan\\QRCode\\Data\\Number' => $vendorDir . '/chillerlan/php-qrcode/src/Data/Number.php', - 'chillerlan\\QRCode\\Data\\QRCodeDataException' => $vendorDir . '/chillerlan/php-qrcode/src/Data/QRCodeDataException.php', - 'chillerlan\\QRCode\\Data\\QRDataAbstract' => $vendorDir . '/chillerlan/php-qrcode/src/Data/QRDataAbstract.php', - 'chillerlan\\QRCode\\Data\\QRDataInterface' => $vendorDir . '/chillerlan/php-qrcode/src/Data/QRDataInterface.php', - 'chillerlan\\QRCode\\Data\\QRMatrix' => $vendorDir . '/chillerlan/php-qrcode/src/Data/QRMatrix.php', - 'chillerlan\\QRCode\\Helpers\\BitBuffer' => $vendorDir . '/chillerlan/php-qrcode/src/Helpers/BitBuffer.php', - 'chillerlan\\QRCode\\Helpers\\Polynomial' => $vendorDir . '/chillerlan/php-qrcode/src/Helpers/Polynomial.php', - 'chillerlan\\QRCode\\Output\\QRCodeOutputException' => $vendorDir . '/chillerlan/php-qrcode/src/Output/QRCodeOutputException.php', - 'chillerlan\\QRCode\\Output\\QRFpdf' => $vendorDir . '/chillerlan/php-qrcode/src/Output/QRFpdf.php', - 'chillerlan\\QRCode\\Output\\QRImage' => $vendorDir . '/chillerlan/php-qrcode/src/Output/QRImage.php', - 'chillerlan\\QRCode\\Output\\QRImagick' => $vendorDir . '/chillerlan/php-qrcode/src/Output/QRImagick.php', - 'chillerlan\\QRCode\\Output\\QRMarkup' => $vendorDir . '/chillerlan/php-qrcode/src/Output/QRMarkup.php', - 'chillerlan\\QRCode\\Output\\QROutputAbstract' => $vendorDir . '/chillerlan/php-qrcode/src/Output/QROutputAbstract.php', - 'chillerlan\\QRCode\\Output\\QROutputInterface' => $vendorDir . '/chillerlan/php-qrcode/src/Output/QROutputInterface.php', - 'chillerlan\\QRCode\\Output\\QRString' => $vendorDir . '/chillerlan/php-qrcode/src/Output/QRString.php', - 'chillerlan\\QRCode\\QRCode' => $vendorDir . '/chillerlan/php-qrcode/src/QRCode.php', - 'chillerlan\\QRCode\\QRCodeException' => $vendorDir . '/chillerlan/php-qrcode/src/QRCodeException.php', - 'chillerlan\\QRCode\\QROptions' => $vendorDir . '/chillerlan/php-qrcode/src/QROptions.php', - 'chillerlan\\QRCode\\QROptionsTrait' => $vendorDir . '/chillerlan/php-qrcode/src/QROptionsTrait.php', - 'chillerlan\\Settings\\SettingsContainerAbstract' => $vendorDir . '/chillerlan/php-settings-container/src/SettingsContainerAbstract.php', - 'chillerlan\\Settings\\SettingsContainerInterface' => $vendorDir . '/chillerlan/php-settings-container/src/SettingsContainerInterface.php', - 'phpDocumentor\\Reflection\\DocBlock' => $vendorDir . '/phpdocumentor/reflection-docblock/src/DocBlock.php', - 'phpDocumentor\\Reflection\\DocBlockFactory' => $vendorDir . '/phpdocumentor/reflection-docblock/src/DocBlockFactory.php', - 'phpDocumentor\\Reflection\\DocBlockFactoryInterface' => $vendorDir . '/phpdocumentor/reflection-docblock/src/DocBlockFactoryInterface.php', - 'phpDocumentor\\Reflection\\DocBlock\\Description' => $vendorDir . '/phpdocumentor/reflection-docblock/src/DocBlock/Description.php', - 'phpDocumentor\\Reflection\\DocBlock\\DescriptionFactory' => $vendorDir . '/phpdocumentor/reflection-docblock/src/DocBlock/DescriptionFactory.php', - 'phpDocumentor\\Reflection\\DocBlock\\ExampleFinder' => $vendorDir . '/phpdocumentor/reflection-docblock/src/DocBlock/ExampleFinder.php', - 'phpDocumentor\\Reflection\\DocBlock\\Serializer' => $vendorDir . '/phpdocumentor/reflection-docblock/src/DocBlock/Serializer.php', - 'phpDocumentor\\Reflection\\DocBlock\\StandardTagFactory' => $vendorDir . '/phpdocumentor/reflection-docblock/src/DocBlock/StandardTagFactory.php', - 'phpDocumentor\\Reflection\\DocBlock\\Tag' => $vendorDir . '/phpdocumentor/reflection-docblock/src/DocBlock/Tag.php', - 'phpDocumentor\\Reflection\\DocBlock\\TagFactory' => $vendorDir . '/phpdocumentor/reflection-docblock/src/DocBlock/TagFactory.php', - 'phpDocumentor\\Reflection\\DocBlock\\Tags\\Author' => $vendorDir . '/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Author.php', - 'phpDocumentor\\Reflection\\DocBlock\\Tags\\BaseTag' => $vendorDir . '/phpdocumentor/reflection-docblock/src/DocBlock/Tags/BaseTag.php', - 'phpDocumentor\\Reflection\\DocBlock\\Tags\\Covers' => $vendorDir . '/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Covers.php', - 'phpDocumentor\\Reflection\\DocBlock\\Tags\\Deprecated' => $vendorDir . '/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Deprecated.php', - 'phpDocumentor\\Reflection\\DocBlock\\Tags\\Example' => $vendorDir . '/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Example.php', - 'phpDocumentor\\Reflection\\DocBlock\\Tags\\Factory\\StaticMethod' => $vendorDir . '/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Factory/StaticMethod.php', - 'phpDocumentor\\Reflection\\DocBlock\\Tags\\Formatter' => $vendorDir . '/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Formatter.php', - 'phpDocumentor\\Reflection\\DocBlock\\Tags\\Formatter\\AlignFormatter' => $vendorDir . '/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Formatter/AlignFormatter.php', - 'phpDocumentor\\Reflection\\DocBlock\\Tags\\Formatter\\PassthroughFormatter' => $vendorDir . '/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Formatter/PassthroughFormatter.php', - 'phpDocumentor\\Reflection\\DocBlock\\Tags\\Generic' => $vendorDir . '/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Generic.php', - 'phpDocumentor\\Reflection\\DocBlock\\Tags\\InvalidTag' => $vendorDir . '/phpdocumentor/reflection-docblock/src/DocBlock/Tags/InvalidTag.php', - 'phpDocumentor\\Reflection\\DocBlock\\Tags\\Link' => $vendorDir . '/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Link.php', - 'phpDocumentor\\Reflection\\DocBlock\\Tags\\Method' => $vendorDir . '/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Method.php', - 'phpDocumentor\\Reflection\\DocBlock\\Tags\\Param' => $vendorDir . '/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Param.php', - 'phpDocumentor\\Reflection\\DocBlock\\Tags\\Property' => $vendorDir . '/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Property.php', - 'phpDocumentor\\Reflection\\DocBlock\\Tags\\PropertyRead' => $vendorDir . '/phpdocumentor/reflection-docblock/src/DocBlock/Tags/PropertyRead.php', - 'phpDocumentor\\Reflection\\DocBlock\\Tags\\PropertyWrite' => $vendorDir . '/phpdocumentor/reflection-docblock/src/DocBlock/Tags/PropertyWrite.php', - 'phpDocumentor\\Reflection\\DocBlock\\Tags\\Reference\\Fqsen' => $vendorDir . '/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Reference/Fqsen.php', - 'phpDocumentor\\Reflection\\DocBlock\\Tags\\Reference\\Reference' => $vendorDir . '/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Reference/Reference.php', - 'phpDocumentor\\Reflection\\DocBlock\\Tags\\Reference\\Url' => $vendorDir . '/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Reference/Url.php', - 'phpDocumentor\\Reflection\\DocBlock\\Tags\\Return_' => $vendorDir . '/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Return_.php', - 'phpDocumentor\\Reflection\\DocBlock\\Tags\\See' => $vendorDir . '/phpdocumentor/reflection-docblock/src/DocBlock/Tags/See.php', - 'phpDocumentor\\Reflection\\DocBlock\\Tags\\Since' => $vendorDir . '/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Since.php', - 'phpDocumentor\\Reflection\\DocBlock\\Tags\\Source' => $vendorDir . '/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Source.php', - 'phpDocumentor\\Reflection\\DocBlock\\Tags\\TagWithType' => $vendorDir . '/phpdocumentor/reflection-docblock/src/DocBlock/Tags/TagWithType.php', - 'phpDocumentor\\Reflection\\DocBlock\\Tags\\Throws' => $vendorDir . '/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Throws.php', - 'phpDocumentor\\Reflection\\DocBlock\\Tags\\Uses' => $vendorDir . '/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Uses.php', - 'phpDocumentor\\Reflection\\DocBlock\\Tags\\Var_' => $vendorDir . '/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Var_.php', - 'phpDocumentor\\Reflection\\DocBlock\\Tags\\Version' => $vendorDir . '/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Version.php', - 'phpDocumentor\\Reflection\\Element' => $vendorDir . '/phpdocumentor/reflection-common/src/Element.php', - 'phpDocumentor\\Reflection\\Exception\\PcreException' => $vendorDir . '/phpdocumentor/reflection-docblock/src/Exception/PcreException.php', - 'phpDocumentor\\Reflection\\File' => $vendorDir . '/phpdocumentor/reflection-common/src/File.php', - 'phpDocumentor\\Reflection\\Fqsen' => $vendorDir . '/phpdocumentor/reflection-common/src/Fqsen.php', - 'phpDocumentor\\Reflection\\FqsenResolver' => $vendorDir . '/phpdocumentor/type-resolver/src/FqsenResolver.php', - 'phpDocumentor\\Reflection\\Location' => $vendorDir . '/phpdocumentor/reflection-common/src/Location.php', - 'phpDocumentor\\Reflection\\Project' => $vendorDir . '/phpdocumentor/reflection-common/src/Project.php', - 'phpDocumentor\\Reflection\\ProjectFactory' => $vendorDir . '/phpdocumentor/reflection-common/src/ProjectFactory.php', - 'phpDocumentor\\Reflection\\PseudoType' => $vendorDir . '/phpdocumentor/type-resolver/src/PseudoType.php', - 'phpDocumentor\\Reflection\\PseudoTypes\\CallableString' => $vendorDir . '/phpdocumentor/type-resolver/src/PseudoTypes/CallableString.php', - 'phpDocumentor\\Reflection\\PseudoTypes\\False_' => $vendorDir . '/phpdocumentor/type-resolver/src/PseudoTypes/False_.php', - 'phpDocumentor\\Reflection\\PseudoTypes\\HtmlEscapedString' => $vendorDir . '/phpdocumentor/type-resolver/src/PseudoTypes/HtmlEscapedString.php', - 'phpDocumentor\\Reflection\\PseudoTypes\\IntegerRange' => $vendorDir . '/phpdocumentor/type-resolver/src/PseudoTypes/IntegerRange.php', - 'phpDocumentor\\Reflection\\PseudoTypes\\List_' => $vendorDir . '/phpdocumentor/type-resolver/src/PseudoTypes/List_.php', - 'phpDocumentor\\Reflection\\PseudoTypes\\LiteralString' => $vendorDir . '/phpdocumentor/type-resolver/src/PseudoTypes/LiteralString.php', - 'phpDocumentor\\Reflection\\PseudoTypes\\LowercaseString' => $vendorDir . '/phpdocumentor/type-resolver/src/PseudoTypes/LowercaseString.php', - 'phpDocumentor\\Reflection\\PseudoTypes\\NegativeInteger' => $vendorDir . '/phpdocumentor/type-resolver/src/PseudoTypes/NegativeInteger.php', - 'phpDocumentor\\Reflection\\PseudoTypes\\NonEmptyLowercaseString' => $vendorDir . '/phpdocumentor/type-resolver/src/PseudoTypes/NonEmptyLowercaseString.php', - 'phpDocumentor\\Reflection\\PseudoTypes\\NonEmptyString' => $vendorDir . '/phpdocumentor/type-resolver/src/PseudoTypes/NonEmptyString.php', - 'phpDocumentor\\Reflection\\PseudoTypes\\NumericString' => $vendorDir . '/phpdocumentor/type-resolver/src/PseudoTypes/NumericString.php', - 'phpDocumentor\\Reflection\\PseudoTypes\\Numeric_' => $vendorDir . '/phpdocumentor/type-resolver/src/PseudoTypes/Numeric_.php', - 'phpDocumentor\\Reflection\\PseudoTypes\\PositiveInteger' => $vendorDir . '/phpdocumentor/type-resolver/src/PseudoTypes/PositiveInteger.php', - 'phpDocumentor\\Reflection\\PseudoTypes\\TraitString' => $vendorDir . '/phpdocumentor/type-resolver/src/PseudoTypes/TraitString.php', - 'phpDocumentor\\Reflection\\PseudoTypes\\True_' => $vendorDir . '/phpdocumentor/type-resolver/src/PseudoTypes/True_.php', - 'phpDocumentor\\Reflection\\Type' => $vendorDir . '/phpdocumentor/type-resolver/src/Type.php', - 'phpDocumentor\\Reflection\\TypeResolver' => $vendorDir . '/phpdocumentor/type-resolver/src/TypeResolver.php', - 'phpDocumentor\\Reflection\\Types\\AbstractList' => $vendorDir . '/phpdocumentor/type-resolver/src/Types/AbstractList.php', - 'phpDocumentor\\Reflection\\Types\\AggregatedType' => $vendorDir . '/phpdocumentor/type-resolver/src/Types/AggregatedType.php', - 'phpDocumentor\\Reflection\\Types\\ArrayKey' => $vendorDir . '/phpdocumentor/type-resolver/src/Types/ArrayKey.php', - 'phpDocumentor\\Reflection\\Types\\Array_' => $vendorDir . '/phpdocumentor/type-resolver/src/Types/Array_.php', - 'phpDocumentor\\Reflection\\Types\\Boolean' => $vendorDir . '/phpdocumentor/type-resolver/src/Types/Boolean.php', - 'phpDocumentor\\Reflection\\Types\\Callable_' => $vendorDir . '/phpdocumentor/type-resolver/src/Types/Callable_.php', - 'phpDocumentor\\Reflection\\Types\\ClassString' => $vendorDir . '/phpdocumentor/type-resolver/src/Types/ClassString.php', - 'phpDocumentor\\Reflection\\Types\\Collection' => $vendorDir . '/phpdocumentor/type-resolver/src/Types/Collection.php', - 'phpDocumentor\\Reflection\\Types\\Compound' => $vendorDir . '/phpdocumentor/type-resolver/src/Types/Compound.php', - 'phpDocumentor\\Reflection\\Types\\Context' => $vendorDir . '/phpdocumentor/type-resolver/src/Types/Context.php', - 'phpDocumentor\\Reflection\\Types\\ContextFactory' => $vendorDir . '/phpdocumentor/type-resolver/src/Types/ContextFactory.php', - 'phpDocumentor\\Reflection\\Types\\Expression' => $vendorDir . '/phpdocumentor/type-resolver/src/Types/Expression.php', - 'phpDocumentor\\Reflection\\Types\\Float_' => $vendorDir . '/phpdocumentor/type-resolver/src/Types/Float_.php', - 'phpDocumentor\\Reflection\\Types\\Integer' => $vendorDir . '/phpdocumentor/type-resolver/src/Types/Integer.php', - 'phpDocumentor\\Reflection\\Types\\InterfaceString' => $vendorDir . '/phpdocumentor/type-resolver/src/Types/InterfaceString.php', - 'phpDocumentor\\Reflection\\Types\\Intersection' => $vendorDir . '/phpdocumentor/type-resolver/src/Types/Intersection.php', - 'phpDocumentor\\Reflection\\Types\\Iterable_' => $vendorDir . '/phpdocumentor/type-resolver/src/Types/Iterable_.php', - 'phpDocumentor\\Reflection\\Types\\Mixed_' => $vendorDir . '/phpdocumentor/type-resolver/src/Types/Mixed_.php', - 'phpDocumentor\\Reflection\\Types\\Never_' => $vendorDir . '/phpdocumentor/type-resolver/src/Types/Never_.php', - 'phpDocumentor\\Reflection\\Types\\Null_' => $vendorDir . '/phpdocumentor/type-resolver/src/Types/Null_.php', - 'phpDocumentor\\Reflection\\Types\\Nullable' => $vendorDir . '/phpdocumentor/type-resolver/src/Types/Nullable.php', - 'phpDocumentor\\Reflection\\Types\\Object_' => $vendorDir . '/phpdocumentor/type-resolver/src/Types/Object_.php', - 'phpDocumentor\\Reflection\\Types\\Parent_' => $vendorDir . '/phpdocumentor/type-resolver/src/Types/Parent_.php', - 'phpDocumentor\\Reflection\\Types\\Resource_' => $vendorDir . '/phpdocumentor/type-resolver/src/Types/Resource_.php', - 'phpDocumentor\\Reflection\\Types\\Scalar' => $vendorDir . '/phpdocumentor/type-resolver/src/Types/Scalar.php', - 'phpDocumentor\\Reflection\\Types\\Self_' => $vendorDir . '/phpdocumentor/type-resolver/src/Types/Self_.php', - 'phpDocumentor\\Reflection\\Types\\Static_' => $vendorDir . '/phpdocumentor/type-resolver/src/Types/Static_.php', - 'phpDocumentor\\Reflection\\Types\\String_' => $vendorDir . '/phpdocumentor/type-resolver/src/Types/String_.php', - 'phpDocumentor\\Reflection\\Types\\This' => $vendorDir . '/phpdocumentor/type-resolver/src/Types/This.php', - 'phpDocumentor\\Reflection\\Types\\Void_' => $vendorDir . '/phpdocumentor/type-resolver/src/Types/Void_.php', - 'phpDocumentor\\Reflection\\Utils' => $vendorDir . '/phpdocumentor/reflection-docblock/src/Utils.php', ); diff --git a/vendor/composer/autoload_files.php b/vendor/composer/autoload_files.php index 08f367718..6cdeb2c04 100644 --- a/vendor/composer/autoload_files.php +++ b/vendor/composer/autoload_files.php @@ -6,24 +6,11 @@ $vendorDir = dirname(__DIR__); $baseDir = dirname($vendorDir); return array( - 'a4a119a56e50fbb293281d9a48007e0e' => $vendorDir . '/symfony/polyfill-php80/bootstrap.php', - '23c18046f52bef3eea034657bafda50f' => $vendorDir . '/symfony/polyfill-php81/bootstrap.php', - '5897ea0ac4cccf14d323035e65887801' => $vendorDir . '/symfony/polyfill-php82/bootstrap.php', - '8e92226780215d0ec758aa7b73e0ede9' => $vendorDir . '/open-telemetry/context/fiber/initialize_fiber_handler.php', - 'c7b4a5d8b94d270f0f9a84f81e1dd63d' => $vendorDir . '/open-telemetry/api/Trace/functions.php', '7b11c4dc42b3b3023073cb14e519683c' => $vendorDir . '/ralouphie/getallheaders/src/getallheaders.php', '6e3fae29631ef280660b3cdad06f25a8' => $vendorDir . '/symfony/deprecation-contracts/function.php', - '0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => $vendorDir . '/symfony/polyfill-mbstring/bootstrap.php', 'a4ecaeafb8cfb009ad0e052c90355e98' => $vendorDir . '/beberlei/assert/lib/Assert/functions.php', '37a3dc5111fe8f707ab4c132ef1dbc62' => $vendorDir . '/guzzlehttp/guzzle/src/functions_include.php', '6124b4c8570aa390c21fafd04a26c69f' => $vendorDir . '/myclabs/deep-copy/src/DeepCopy/deep_copy.php', - 'c695cb998ba36e4bafc3d028efc7d113' => $vendorDir . '/open-telemetry/sdk/Common/Util/functions.php', - 'd991bdbfe253499825156f17c4a721db' => $vendorDir . '/open-telemetry/sdk/Logs/Exporter/_register.php', - '01d424d2624f29a2eef00b09eb00935e' => $vendorDir . '/open-telemetry/sdk/Metrics/MetricExporter/_register.php', - '063d0a0034c5e2149209c15208de47e4' => $vendorDir . '/open-telemetry/sdk/Propagation/_register.php', - '2cc49ecec7e065b3a5423e964c0275e6' => $vendorDir . '/open-telemetry/sdk/Trace/SpanExporter/_register.php', - '062120a429d7568eacd495a8c34fcf09' => $vendorDir . '/open-telemetry/sdk/Common/Dev/Compatibility/_load.php', - '88e3b63cfb48eb8ea316a8a85a5f5c5f' => $vendorDir . '/open-telemetry/sdk/_autoload.php', '51fcf4e06c07cc00c920b44bcd900e7a' => $vendorDir . '/thecodingmachine/safe/deprecated/apc.php', '288267919fedd3829a7732b5fb202197' => $vendorDir . '/thecodingmachine/safe/deprecated/array.php', 'a88cd08cfbf1600f7d5de6e587eee1fa' => $vendorDir . '/thecodingmachine/safe/deprecated/datetime.php', @@ -111,7 +98,6 @@ return array( '4af1dca6db8c527c6eed27bff85ff0e5' => $vendorDir . '/thecodingmachine/safe/generated/yaz.php', 'fe43ca06499ac37bc2dedd823af71eb5' => $vendorDir . '/thecodingmachine/safe/generated/zip.php', '356736db98a6834f0a886b8d509b0ecd' => $vendorDir . '/thecodingmachine/safe/generated/zlib.php', - '157bbd0180425c7142fbaf1b1646bec3' => $vendorDir . '/open-telemetry/exporter-otlp/_register.php', '9b38cf48e83f5d8f60375221cd213eee' => $vendorDir . '/phpstan/phpstan/bootstrap.php', 'ec07570ca5a812141189b1fa81503674' => $vendorDir . '/phpunit/phpunit/src/Framework/Assert/Functions.php', '1c27df0e838db1c8a6427db7c5db3db2' => $baseDir . '/include/functions.php', diff --git a/vendor/composer/autoload_psr4.php b/vendor/composer/autoload_psr4.php index b2097d7a5..ac5d6fed7 100644 --- a/vendor/composer/autoload_psr4.php +++ b/vendor/composer/autoload_psr4.php @@ -10,34 +10,19 @@ return array( 'chillerlan\\Settings\\' => array($vendorDir . '/chillerlan/php-settings-container/src'), 'chillerlan\\QRCode\\' => array($vendorDir . '/chillerlan/php-qrcode/src'), 'Webmozart\\Assert\\' => array($vendorDir . '/webmozart/assert/src'), - 'Symfony\\Polyfill\\Php82\\' => array($vendorDir . '/symfony/polyfill-php82'), - 'Symfony\\Polyfill\\Php81\\' => array($vendorDir . '/symfony/polyfill-php81'), - 'Symfony\\Polyfill\\Php80\\' => array($vendorDir . '/symfony/polyfill-php80'), - 'Symfony\\Polyfill\\Mbstring\\' => array($vendorDir . '/symfony/polyfill-mbstring'), 'Soundasleep\\' => array($vendorDir . '/soundasleep/html2text/src'), - 'Psr\\Log\\' => array($vendorDir . '/psr/log/src'), 'Psr\\Http\\Message\\' => array($vendorDir . '/psr/http-factory/src', $vendorDir . '/psr/http-message/src'), 'Psr\\Http\\Client\\' => array($vendorDir . '/psr/http-client/src'), 'Prophecy\\' => array($vendorDir . '/phpspec/prophecy/src/Prophecy'), 'PhpParser\\' => array($vendorDir . '/nikic/php-parser/lib/PhpParser'), 'ParagonIE\\ConstantTime\\' => array($vendorDir . '/paragonie/constant_time_encoding/src'), - 'Opentelemetry\\Proto\\' => array($vendorDir . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto'), - 'OpenTelemetry\\SemConv\\' => array($vendorDir . '/open-telemetry/sem-conv'), - 'OpenTelemetry\\SDK\\' => array($vendorDir . '/open-telemetry/sdk'), - 'OpenTelemetry\\Contrib\\Otlp\\' => array($vendorDir . '/open-telemetry/exporter-otlp'), - 'OpenTelemetry\\Context\\' => array($vendorDir . '/open-telemetry/context'), - 'OpenTelemetry\\API\\' => array($vendorDir . '/open-telemetry/api'), 'OTPHP\\' => array($vendorDir . '/spomky-labs/otphp/src'), 'Http\\Promise\\' => array($vendorDir . '/php-http/promise/src'), - 'Http\\Discovery\\' => array($vendorDir . '/php-http/discovery/src'), 'Http\\Client\\' => array($vendorDir . '/php-http/httplug/src'), 'Http\\Adapter\\Guzzle7\\' => array($vendorDir . '/php-http/guzzle7-adapter/src'), 'GuzzleHttp\\Psr7\\' => array($vendorDir . '/guzzlehttp/psr7/src'), 'GuzzleHttp\\Promise\\' => array($vendorDir . '/guzzlehttp/promises/src'), 'GuzzleHttp\\' => array($vendorDir . '/guzzlehttp/guzzle/src'), - 'Google\\Protobuf\\' => array($vendorDir . '/google/protobuf/src/Google/Protobuf'), - 'GPBMetadata\\Opentelemetry\\' => array($vendorDir . '/open-telemetry/gen-otlp-protobuf/GPBMetadata/Opentelemetry'), - 'GPBMetadata\\Google\\Protobuf\\' => array($vendorDir . '/google/protobuf/src/GPBMetadata/Google/Protobuf'), 'Doctrine\\Instantiator\\' => array($vendorDir . '/doctrine/instantiator/src/Doctrine/Instantiator'), 'DeepCopy\\' => array($vendorDir . '/myclabs/deep-copy/src/DeepCopy'), 'Assert\\' => array($vendorDir . '/beberlei/assert/lib/Assert'), diff --git a/vendor/composer/autoload_static.php b/vendor/composer/autoload_static.php index 01b876b58..8b8b47c3b 100644 --- a/vendor/composer/autoload_static.php +++ b/vendor/composer/autoload_static.php @@ -7,24 +7,11 @@ namespace Composer\Autoload; class ComposerStaticInit19fc2ff1c0f9a92279c7979386bb2056 { public static $files = array ( - 'a4a119a56e50fbb293281d9a48007e0e' => __DIR__ . '/..' . '/symfony/polyfill-php80/bootstrap.php', - '23c18046f52bef3eea034657bafda50f' => __DIR__ . '/..' . '/symfony/polyfill-php81/bootstrap.php', - '5897ea0ac4cccf14d323035e65887801' => __DIR__ . '/..' . '/symfony/polyfill-php82/bootstrap.php', - '8e92226780215d0ec758aa7b73e0ede9' => __DIR__ . '/..' . '/open-telemetry/context/fiber/initialize_fiber_handler.php', - 'c7b4a5d8b94d270f0f9a84f81e1dd63d' => __DIR__ . '/..' . '/open-telemetry/api/Trace/functions.php', '7b11c4dc42b3b3023073cb14e519683c' => __DIR__ . '/..' . '/ralouphie/getallheaders/src/getallheaders.php', '6e3fae29631ef280660b3cdad06f25a8' => __DIR__ . '/..' . '/symfony/deprecation-contracts/function.php', - '0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => __DIR__ . '/..' . '/symfony/polyfill-mbstring/bootstrap.php', 'a4ecaeafb8cfb009ad0e052c90355e98' => __DIR__ . '/..' . '/beberlei/assert/lib/Assert/functions.php', '37a3dc5111fe8f707ab4c132ef1dbc62' => __DIR__ . '/..' . '/guzzlehttp/guzzle/src/functions_include.php', '6124b4c8570aa390c21fafd04a26c69f' => __DIR__ . '/..' . '/myclabs/deep-copy/src/DeepCopy/deep_copy.php', - 'c695cb998ba36e4bafc3d028efc7d113' => __DIR__ . '/..' . '/open-telemetry/sdk/Common/Util/functions.php', - 'd991bdbfe253499825156f17c4a721db' => __DIR__ . '/..' . '/open-telemetry/sdk/Logs/Exporter/_register.php', - '01d424d2624f29a2eef00b09eb00935e' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/MetricExporter/_register.php', - '063d0a0034c5e2149209c15208de47e4' => __DIR__ . '/..' . '/open-telemetry/sdk/Propagation/_register.php', - '2cc49ecec7e065b3a5423e964c0275e6' => __DIR__ . '/..' . '/open-telemetry/sdk/Trace/SpanExporter/_register.php', - '062120a429d7568eacd495a8c34fcf09' => __DIR__ . '/..' . '/open-telemetry/sdk/Common/Dev/Compatibility/_load.php', - '88e3b63cfb48eb8ea316a8a85a5f5c5f' => __DIR__ . '/..' . '/open-telemetry/sdk/_autoload.php', '51fcf4e06c07cc00c920b44bcd900e7a' => __DIR__ . '/..' . '/thecodingmachine/safe/deprecated/apc.php', '288267919fedd3829a7732b5fb202197' => __DIR__ . '/..' . '/thecodingmachine/safe/deprecated/array.php', 'a88cd08cfbf1600f7d5de6e587eee1fa' => __DIR__ . '/..' . '/thecodingmachine/safe/deprecated/datetime.php', @@ -112,7 +99,6 @@ class ComposerStaticInit19fc2ff1c0f9a92279c7979386bb2056 '4af1dca6db8c527c6eed27bff85ff0e5' => __DIR__ . '/..' . '/thecodingmachine/safe/generated/yaz.php', 'fe43ca06499ac37bc2dedd823af71eb5' => __DIR__ . '/..' . '/thecodingmachine/safe/generated/zip.php', '356736db98a6834f0a886b8d509b0ecd' => __DIR__ . '/..' . '/thecodingmachine/safe/generated/zlib.php', - '157bbd0180425c7142fbaf1b1646bec3' => __DIR__ . '/..' . '/open-telemetry/exporter-otlp/_register.php', '9b38cf48e83f5d8f60375221cd213eee' => __DIR__ . '/..' . '/phpstan/phpstan/bootstrap.php', 'ec07570ca5a812141189b1fa81503674' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Assert/Functions.php', '1c27df0e838db1c8a6427db7c5db3db2' => __DIR__ . '/../..' . '/include/functions.php', @@ -134,15 +120,10 @@ class ComposerStaticInit19fc2ff1c0f9a92279c7979386bb2056 ), 'S' => array ( - 'Symfony\\Polyfill\\Php82\\' => 23, - 'Symfony\\Polyfill\\Php81\\' => 23, - 'Symfony\\Polyfill\\Php80\\' => 23, - 'Symfony\\Polyfill\\Mbstring\\' => 26, 'Soundasleep\\' => 12, ), 'P' => array ( - 'Psr\\Log\\' => 8, 'Psr\\Http\\Message\\' => 17, 'Psr\\Http\\Client\\' => 16, 'Prophecy\\' => 9, @@ -151,18 +132,11 @@ class ComposerStaticInit19fc2ff1c0f9a92279c7979386bb2056 ), 'O' => array ( - 'Opentelemetry\\Proto\\' => 20, - 'OpenTelemetry\\SemConv\\' => 22, - 'OpenTelemetry\\SDK\\' => 18, - 'OpenTelemetry\\Contrib\\Otlp\\' => 27, - 'OpenTelemetry\\Context\\' => 22, - 'OpenTelemetry\\API\\' => 18, 'OTPHP\\' => 6, ), 'H' => array ( 'Http\\Promise\\' => 13, - 'Http\\Discovery\\' => 15, 'Http\\Client\\' => 12, 'Http\\Adapter\\Guzzle7\\' => 21, ), @@ -171,9 +145,6 @@ class ComposerStaticInit19fc2ff1c0f9a92279c7979386bb2056 'GuzzleHttp\\Psr7\\' => 16, 'GuzzleHttp\\Promise\\' => 19, 'GuzzleHttp\\' => 11, - 'Google\\Protobuf\\' => 16, - 'GPBMetadata\\Opentelemetry\\' => 26, - 'GPBMetadata\\Google\\Protobuf\\' => 28, ), 'D' => array ( @@ -205,30 +176,10 @@ class ComposerStaticInit19fc2ff1c0f9a92279c7979386bb2056 array ( 0 => __DIR__ . '/..' . '/webmozart/assert/src', ), - 'Symfony\\Polyfill\\Php82\\' => - array ( - 0 => __DIR__ . '/..' . '/symfony/polyfill-php82', - ), - 'Symfony\\Polyfill\\Php81\\' => - array ( - 0 => __DIR__ . '/..' . '/symfony/polyfill-php81', - ), - 'Symfony\\Polyfill\\Php80\\' => - array ( - 0 => __DIR__ . '/..' . '/symfony/polyfill-php80', - ), - 'Symfony\\Polyfill\\Mbstring\\' => - array ( - 0 => __DIR__ . '/..' . '/symfony/polyfill-mbstring', - ), 'Soundasleep\\' => array ( 0 => __DIR__ . '/..' . '/soundasleep/html2text/src', ), - 'Psr\\Log\\' => - array ( - 0 => __DIR__ . '/..' . '/psr/log/src', - ), 'Psr\\Http\\Message\\' => array ( 0 => __DIR__ . '/..' . '/psr/http-factory/src', @@ -250,30 +201,6 @@ class ComposerStaticInit19fc2ff1c0f9a92279c7979386bb2056 array ( 0 => __DIR__ . '/..' . '/paragonie/constant_time_encoding/src', ), - 'Opentelemetry\\Proto\\' => - array ( - 0 => __DIR__ . '/..' . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto', - ), - 'OpenTelemetry\\SemConv\\' => - array ( - 0 => __DIR__ . '/..' . '/open-telemetry/sem-conv', - ), - 'OpenTelemetry\\SDK\\' => - array ( - 0 => __DIR__ . '/..' . '/open-telemetry/sdk', - ), - 'OpenTelemetry\\Contrib\\Otlp\\' => - array ( - 0 => __DIR__ . '/..' . '/open-telemetry/exporter-otlp', - ), - 'OpenTelemetry\\Context\\' => - array ( - 0 => __DIR__ . '/..' . '/open-telemetry/context', - ), - 'OpenTelemetry\\API\\' => - array ( - 0 => __DIR__ . '/..' . '/open-telemetry/api', - ), 'OTPHP\\' => array ( 0 => __DIR__ . '/..' . '/spomky-labs/otphp/src', @@ -282,10 +209,6 @@ class ComposerStaticInit19fc2ff1c0f9a92279c7979386bb2056 array ( 0 => __DIR__ . '/..' . '/php-http/promise/src', ), - 'Http\\Discovery\\' => - array ( - 0 => __DIR__ . '/..' . '/php-http/discovery/src', - ), 'Http\\Client\\' => array ( 0 => __DIR__ . '/..' . '/php-http/httplug/src', @@ -306,18 +229,6 @@ class ComposerStaticInit19fc2ff1c0f9a92279c7979386bb2056 array ( 0 => __DIR__ . '/..' . '/guzzlehttp/guzzle/src', ), - 'Google\\Protobuf\\' => - array ( - 0 => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf', - ), - 'GPBMetadata\\Opentelemetry\\' => - array ( - 0 => __DIR__ . '/..' . '/open-telemetry/gen-otlp-protobuf/GPBMetadata/Opentelemetry', - ), - 'GPBMetadata\\Google\\Protobuf\\' => - array ( - 0 => __DIR__ . '/..' . '/google/protobuf/src/GPBMetadata/Google/Protobuf', - ), 'Doctrine\\Instantiator\\' => array ( 0 => __DIR__ . '/..' . '/doctrine/instantiator/src/Doctrine/Instantiator', @@ -337,831 +248,12 @@ class ComposerStaticInit19fc2ff1c0f9a92279c7979386bb2056 ); public static $classMap = array ( - 'API' => __DIR__ . '/../..' . '/classes/API.php', - 'AllowDynamicProperties' => __DIR__ . '/..' . '/symfony/polyfill-php82/Resources/stubs/AllowDynamicProperties.php', - 'Article' => __DIR__ . '/../..' . '/classes/Article.php', - 'Assert\\Assert' => __DIR__ . '/..' . '/beberlei/assert/lib/Assert/Assert.php', - 'Assert\\Assertion' => __DIR__ . '/..' . '/beberlei/assert/lib/Assert/Assertion.php', - 'Assert\\AssertionChain' => __DIR__ . '/..' . '/beberlei/assert/lib/Assert/AssertionChain.php', - 'Assert\\AssertionFailedException' => __DIR__ . '/..' . '/beberlei/assert/lib/Assert/AssertionFailedException.php', - 'Assert\\InvalidArgumentException' => __DIR__ . '/..' . '/beberlei/assert/lib/Assert/InvalidArgumentException.php', - 'Assert\\LazyAssertion' => __DIR__ . '/..' . '/beberlei/assert/lib/Assert/LazyAssertion.php', - 'Assert\\LazyAssertionException' => __DIR__ . '/..' . '/beberlei/assert/lib/Assert/LazyAssertionException.php', - 'Attribute' => __DIR__ . '/..' . '/symfony/polyfill-php80/Resources/stubs/Attribute.php', - 'Auth_Base' => __DIR__ . '/../..' . '/classes/Auth_Base.php', - 'CURLStringFile' => __DIR__ . '/..' . '/symfony/polyfill-php81/Resources/stubs/CURLStringFile.php', - 'Cache_Adapter' => __DIR__ . '/../..' . '/classes/Cache_Adapter.php', - 'Cache_Local' => __DIR__ . '/../..' . '/classes/Cache_Local.php', 'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php', - 'Config' => __DIR__ . '/../..' . '/classes/Config.php', - 'Counters' => __DIR__ . '/../..' . '/classes/Counters.php', - 'Db' => __DIR__ . '/../..' . '/classes/Db.php', - 'Db_Migrations' => __DIR__ . '/../..' . '/classes/Db_Migrations.php', - 'Db_Prefs' => __DIR__ . '/../..' . '/classes/Db_Prefs.php', - 'Debug' => __DIR__ . '/../..' . '/classes/Debug.php', - 'DeepCopy\\DeepCopy' => __DIR__ . '/..' . '/myclabs/deep-copy/src/DeepCopy/DeepCopy.php', - 'DeepCopy\\Exception\\CloneException' => __DIR__ . '/..' . '/myclabs/deep-copy/src/DeepCopy/Exception/CloneException.php', - 'DeepCopy\\Exception\\PropertyException' => __DIR__ . '/..' . '/myclabs/deep-copy/src/DeepCopy/Exception/PropertyException.php', - 'DeepCopy\\Filter\\Doctrine\\DoctrineCollectionFilter' => __DIR__ . '/..' . '/myclabs/deep-copy/src/DeepCopy/Filter/Doctrine/DoctrineCollectionFilter.php', - 'DeepCopy\\Filter\\Doctrine\\DoctrineEmptyCollectionFilter' => __DIR__ . '/..' . '/myclabs/deep-copy/src/DeepCopy/Filter/Doctrine/DoctrineEmptyCollectionFilter.php', - 'DeepCopy\\Filter\\Doctrine\\DoctrineProxyFilter' => __DIR__ . '/..' . '/myclabs/deep-copy/src/DeepCopy/Filter/Doctrine/DoctrineProxyFilter.php', - 'DeepCopy\\Filter\\Filter' => __DIR__ . '/..' . '/myclabs/deep-copy/src/DeepCopy/Filter/Filter.php', - 'DeepCopy\\Filter\\KeepFilter' => __DIR__ . '/..' . '/myclabs/deep-copy/src/DeepCopy/Filter/KeepFilter.php', - 'DeepCopy\\Filter\\ReplaceFilter' => __DIR__ . '/..' . '/myclabs/deep-copy/src/DeepCopy/Filter/ReplaceFilter.php', - 'DeepCopy\\Filter\\SetNullFilter' => __DIR__ . '/..' . '/myclabs/deep-copy/src/DeepCopy/Filter/SetNullFilter.php', - 'DeepCopy\\Matcher\\Doctrine\\DoctrineProxyMatcher' => __DIR__ . '/..' . '/myclabs/deep-copy/src/DeepCopy/Matcher/Doctrine/DoctrineProxyMatcher.php', - 'DeepCopy\\Matcher\\Matcher' => __DIR__ . '/..' . '/myclabs/deep-copy/src/DeepCopy/Matcher/Matcher.php', - 'DeepCopy\\Matcher\\PropertyMatcher' => __DIR__ . '/..' . '/myclabs/deep-copy/src/DeepCopy/Matcher/PropertyMatcher.php', - 'DeepCopy\\Matcher\\PropertyNameMatcher' => __DIR__ . '/..' . '/myclabs/deep-copy/src/DeepCopy/Matcher/PropertyNameMatcher.php', - 'DeepCopy\\Matcher\\PropertyTypeMatcher' => __DIR__ . '/..' . '/myclabs/deep-copy/src/DeepCopy/Matcher/PropertyTypeMatcher.php', - 'DeepCopy\\Reflection\\ReflectionHelper' => __DIR__ . '/..' . '/myclabs/deep-copy/src/DeepCopy/Reflection/ReflectionHelper.php', - 'DeepCopy\\TypeFilter\\Date\\DateIntervalFilter' => __DIR__ . '/..' . '/myclabs/deep-copy/src/DeepCopy/TypeFilter/Date/DateIntervalFilter.php', - 'DeepCopy\\TypeFilter\\ReplaceFilter' => __DIR__ . '/..' . '/myclabs/deep-copy/src/DeepCopy/TypeFilter/ReplaceFilter.php', - 'DeepCopy\\TypeFilter\\ShallowCopyFilter' => __DIR__ . '/..' . '/myclabs/deep-copy/src/DeepCopy/TypeFilter/ShallowCopyFilter.php', - 'DeepCopy\\TypeFilter\\Spl\\ArrayObjectFilter' => __DIR__ . '/..' . '/myclabs/deep-copy/src/DeepCopy/TypeFilter/Spl/ArrayObjectFilter.php', - 'DeepCopy\\TypeFilter\\Spl\\SplDoublyLinkedList' => __DIR__ . '/..' . '/myclabs/deep-copy/src/DeepCopy/TypeFilter/Spl/SplDoublyLinkedList.php', - 'DeepCopy\\TypeFilter\\Spl\\SplDoublyLinkedListFilter' => __DIR__ . '/..' . '/myclabs/deep-copy/src/DeepCopy/TypeFilter/Spl/SplDoublyLinkedListFilter.php', - 'DeepCopy\\TypeFilter\\TypeFilter' => __DIR__ . '/..' . '/myclabs/deep-copy/src/DeepCopy/TypeFilter/TypeFilter.php', - 'DeepCopy\\TypeMatcher\\TypeMatcher' => __DIR__ . '/..' . '/myclabs/deep-copy/src/DeepCopy/TypeMatcher/TypeMatcher.php', - 'Digest' => __DIR__ . '/../..' . '/classes/Digest.php', - 'DiskCache' => __DIR__ . '/../..' . '/classes/DiskCache.php', - 'Doctrine\\Instantiator\\Exception\\ExceptionInterface' => __DIR__ . '/..' . '/doctrine/instantiator/src/Doctrine/Instantiator/Exception/ExceptionInterface.php', - 'Doctrine\\Instantiator\\Exception\\InvalidArgumentException' => __DIR__ . '/..' . '/doctrine/instantiator/src/Doctrine/Instantiator/Exception/InvalidArgumentException.php', - 'Doctrine\\Instantiator\\Exception\\UnexpectedValueException' => __DIR__ . '/..' . '/doctrine/instantiator/src/Doctrine/Instantiator/Exception/UnexpectedValueException.php', - 'Doctrine\\Instantiator\\Instantiator' => __DIR__ . '/..' . '/doctrine/instantiator/src/Doctrine/Instantiator/Instantiator.php', - 'Doctrine\\Instantiator\\InstantiatorInterface' => __DIR__ . '/..' . '/doctrine/instantiator/src/Doctrine/Instantiator/InstantiatorInterface.php', - 'Errors' => __DIR__ . '/../..' . '/classes/Errors.php', - 'FeedEnclosure' => __DIR__ . '/../..' . '/classes/FeedEnclosure.php', - 'FeedItem' => __DIR__ . '/../..' . '/classes/FeedItem.php', - 'FeedItem_Atom' => __DIR__ . '/../..' . '/classes/FeedItem_Atom.php', - 'FeedItem_Common' => __DIR__ . '/../..' . '/classes/FeedItem_Common.php', - 'FeedItem_RSS' => __DIR__ . '/../..' . '/classes/FeedItem_RSS.php', - 'FeedParser' => __DIR__ . '/../..' . '/classes/FeedParser.php', - 'Feeds' => __DIR__ . '/../..' . '/classes/Feeds.php', - 'GPBMetadata\\Google\\Protobuf\\Any' => __DIR__ . '/..' . '/google/protobuf/src/GPBMetadata/Google/Protobuf/Any.php', - 'GPBMetadata\\Google\\Protobuf\\Api' => __DIR__ . '/..' . '/google/protobuf/src/GPBMetadata/Google/Protobuf/Api.php', - 'GPBMetadata\\Google\\Protobuf\\Duration' => __DIR__ . '/..' . '/google/protobuf/src/GPBMetadata/Google/Protobuf/Duration.php', - 'GPBMetadata\\Google\\Protobuf\\FieldMask' => __DIR__ . '/..' . '/google/protobuf/src/GPBMetadata/Google/Protobuf/FieldMask.php', - 'GPBMetadata\\Google\\Protobuf\\GPBEmpty' => __DIR__ . '/..' . '/google/protobuf/src/GPBMetadata/Google/Protobuf/GPBEmpty.php', - 'GPBMetadata\\Google\\Protobuf\\Internal\\Descriptor' => __DIR__ . '/..' . '/google/protobuf/src/GPBMetadata/Google/Protobuf/Internal/Descriptor.php', - 'GPBMetadata\\Google\\Protobuf\\SourceContext' => __DIR__ . '/..' . '/google/protobuf/src/GPBMetadata/Google/Protobuf/SourceContext.php', - 'GPBMetadata\\Google\\Protobuf\\Struct' => __DIR__ . '/..' . '/google/protobuf/src/GPBMetadata/Google/Protobuf/Struct.php', - 'GPBMetadata\\Google\\Protobuf\\Timestamp' => __DIR__ . '/..' . '/google/protobuf/src/GPBMetadata/Google/Protobuf/Timestamp.php', - 'GPBMetadata\\Google\\Protobuf\\Type' => __DIR__ . '/..' . '/google/protobuf/src/GPBMetadata/Google/Protobuf/Type.php', - 'GPBMetadata\\Google\\Protobuf\\Wrappers' => __DIR__ . '/..' . '/google/protobuf/src/GPBMetadata/Google/Protobuf/Wrappers.php', - 'GPBMetadata\\Opentelemetry\\Proto\\Collector\\Logs\\V1\\LogsService' => __DIR__ . '/..' . '/open-telemetry/gen-otlp-protobuf/GPBMetadata/Opentelemetry/Proto/Collector/Logs/V1/LogsService.php', - 'GPBMetadata\\Opentelemetry\\Proto\\Collector\\Metrics\\V1\\MetricsService' => __DIR__ . '/..' . '/open-telemetry/gen-otlp-protobuf/GPBMetadata/Opentelemetry/Proto/Collector/Metrics/V1/MetricsService.php', - 'GPBMetadata\\Opentelemetry\\Proto\\Collector\\Trace\\V1\\TraceService' => __DIR__ . '/..' . '/open-telemetry/gen-otlp-protobuf/GPBMetadata/Opentelemetry/Proto/Collector/Trace/V1/TraceService.php', - 'GPBMetadata\\Opentelemetry\\Proto\\Common\\V1\\Common' => __DIR__ . '/..' . '/open-telemetry/gen-otlp-protobuf/GPBMetadata/Opentelemetry/Proto/Common/V1/Common.php', - 'GPBMetadata\\Opentelemetry\\Proto\\Logs\\V1\\Logs' => __DIR__ . '/..' . '/open-telemetry/gen-otlp-protobuf/GPBMetadata/Opentelemetry/Proto/Logs/V1/Logs.php', - 'GPBMetadata\\Opentelemetry\\Proto\\Metrics\\Experimental\\MetricsConfigService' => __DIR__ . '/..' . '/open-telemetry/gen-otlp-protobuf/GPBMetadata/Opentelemetry/Proto/Metrics/Experimental/MetricsConfigService.php', - 'GPBMetadata\\Opentelemetry\\Proto\\Metrics\\V1\\Metrics' => __DIR__ . '/..' . '/open-telemetry/gen-otlp-protobuf/GPBMetadata/Opentelemetry/Proto/Metrics/V1/Metrics.php', - 'GPBMetadata\\Opentelemetry\\Proto\\Resource\\V1\\Resource' => __DIR__ . '/..' . '/open-telemetry/gen-otlp-protobuf/GPBMetadata/Opentelemetry/Proto/Resource/V1/Resource.php', - 'GPBMetadata\\Opentelemetry\\Proto\\Trace\\V1\\Trace' => __DIR__ . '/..' . '/open-telemetry/gen-otlp-protobuf/GPBMetadata/Opentelemetry/Proto/Trace/V1/Trace.php', - 'GPBMetadata\\Opentelemetry\\Proto\\Trace\\V1\\TraceConfig' => __DIR__ . '/..' . '/open-telemetry/gen-otlp-protobuf/GPBMetadata/Opentelemetry/Proto/Trace/V1/TraceConfig.php', - 'Google\\Protobuf\\Any' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/Any.php', - 'Google\\Protobuf\\Api' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/Api.php', - 'Google\\Protobuf\\BoolValue' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/BoolValue.php', - 'Google\\Protobuf\\BytesValue' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/BytesValue.php', - 'Google\\Protobuf\\Descriptor' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/Descriptor.php', - 'Google\\Protobuf\\DescriptorPool' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/DescriptorPool.php', - 'Google\\Protobuf\\DoubleValue' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/DoubleValue.php', - 'Google\\Protobuf\\Duration' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/Duration.php', - 'Google\\Protobuf\\Enum' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/Enum.php', - 'Google\\Protobuf\\EnumDescriptor' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/EnumDescriptor.php', - 'Google\\Protobuf\\EnumValue' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/EnumValue.php', - 'Google\\Protobuf\\EnumValueDescriptor' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/EnumValueDescriptor.php', - 'Google\\Protobuf\\Field' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/Field.php', - 'Google\\Protobuf\\FieldDescriptor' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/FieldDescriptor.php', - 'Google\\Protobuf\\FieldMask' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/FieldMask.php', - 'Google\\Protobuf\\Field\\Cardinality' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/Field/Cardinality.php', - 'Google\\Protobuf\\Field\\Kind' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/Field/Kind.php', - 'Google\\Protobuf\\Field_Cardinality' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/Field_Cardinality.php', - 'Google\\Protobuf\\Field_Kind' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/Field_Kind.php', - 'Google\\Protobuf\\FloatValue' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/FloatValue.php', - 'Google\\Protobuf\\GPBEmpty' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/GPBEmpty.php', - 'Google\\Protobuf\\Int32Value' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/Int32Value.php', - 'Google\\Protobuf\\Int64Value' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/Int64Value.php', - 'Google\\Protobuf\\Internal\\AnyBase' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/Internal/AnyBase.php', - 'Google\\Protobuf\\Internal\\CodedInputStream' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/Internal/CodedInputStream.php', - 'Google\\Protobuf\\Internal\\CodedOutputStream' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/Internal/CodedOutputStream.php', - 'Google\\Protobuf\\Internal\\Descriptor' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/Internal/Descriptor.php', - 'Google\\Protobuf\\Internal\\DescriptorPool' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/Internal/DescriptorPool.php', - 'Google\\Protobuf\\Internal\\DescriptorProto' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/Internal/DescriptorProto.php', - 'Google\\Protobuf\\Internal\\DescriptorProto\\ExtensionRange' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/Internal/DescriptorProto/ExtensionRange.php', - 'Google\\Protobuf\\Internal\\DescriptorProto\\ReservedRange' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/Internal/DescriptorProto/ReservedRange.php', - 'Google\\Protobuf\\Internal\\DescriptorProto_ExtensionRange' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/Internal/DescriptorProto_ExtensionRange.php', - 'Google\\Protobuf\\Internal\\DescriptorProto_ReservedRange' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/Internal/DescriptorProto_ReservedRange.php', - 'Google\\Protobuf\\Internal\\EnumBuilderContext' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/Internal/EnumBuilderContext.php', - 'Google\\Protobuf\\Internal\\EnumDescriptor' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/Internal/EnumDescriptor.php', - 'Google\\Protobuf\\Internal\\EnumDescriptorProto' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/Internal/EnumDescriptorProto.php', - 'Google\\Protobuf\\Internal\\EnumDescriptorProto\\EnumReservedRange' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/Internal/EnumDescriptorProto/EnumReservedRange.php', - 'Google\\Protobuf\\Internal\\EnumDescriptorProto_EnumReservedRange' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/Internal/EnumDescriptorProto_EnumReservedRange.php', - 'Google\\Protobuf\\Internal\\EnumOptions' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/Internal/EnumOptions.php', - 'Google\\Protobuf\\Internal\\EnumValueDescriptorProto' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/Internal/EnumValueDescriptorProto.php', - 'Google\\Protobuf\\Internal\\EnumValueOptions' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/Internal/EnumValueOptions.php', - 'Google\\Protobuf\\Internal\\ExtensionRangeOptions' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/Internal/ExtensionRangeOptions.php', - 'Google\\Protobuf\\Internal\\FieldDescriptor' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/Internal/FieldDescriptor.php', - 'Google\\Protobuf\\Internal\\FieldDescriptorProto' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/Internal/FieldDescriptorProto.php', - 'Google\\Protobuf\\Internal\\FieldDescriptorProto\\Label' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/Internal/FieldDescriptorProto/Label.php', - 'Google\\Protobuf\\Internal\\FieldDescriptorProto\\Type' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/Internal/FieldDescriptorProto/Type.php', - 'Google\\Protobuf\\Internal\\FieldDescriptorProto_Label' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/Internal/FieldDescriptorProto_Label.php', - 'Google\\Protobuf\\Internal\\FieldDescriptorProto_Type' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/Internal/FieldDescriptorProto_Type.php', - 'Google\\Protobuf\\Internal\\FieldOptions' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/Internal/FieldOptions.php', - 'Google\\Protobuf\\Internal\\FieldOptions\\CType' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/Internal/FieldOptions/CType.php', - 'Google\\Protobuf\\Internal\\FieldOptions\\JSType' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/Internal/FieldOptions/JSType.php', - 'Google\\Protobuf\\Internal\\FieldOptions_CType' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/Internal/FieldOptions_CType.php', - 'Google\\Protobuf\\Internal\\FieldOptions_JSType' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/Internal/FieldOptions_JSType.php', - 'Google\\Protobuf\\Internal\\FileDescriptor' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/Internal/FileDescriptor.php', - 'Google\\Protobuf\\Internal\\FileDescriptorProto' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/Internal/FileDescriptorProto.php', - 'Google\\Protobuf\\Internal\\FileDescriptorSet' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/Internal/FileDescriptorSet.php', - 'Google\\Protobuf\\Internal\\FileOptions' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/Internal/FileOptions.php', - 'Google\\Protobuf\\Internal\\FileOptions\\OptimizeMode' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/Internal/FileOptions/OptimizeMode.php', - 'Google\\Protobuf\\Internal\\FileOptions_OptimizeMode' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/Internal/FileOptions_OptimizeMode.php', - 'Google\\Protobuf\\Internal\\GPBDecodeException' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/Internal/GPBDecodeException.php', - 'Google\\Protobuf\\Internal\\GPBJsonWire' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/Internal/GPBJsonWire.php', - 'Google\\Protobuf\\Internal\\GPBLabel' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/Internal/GPBLabel.php', - 'Google\\Protobuf\\Internal\\GPBType' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/Internal/GPBType.php', - 'Google\\Protobuf\\Internal\\GPBUtil' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/Internal/GPBUtil.php', - 'Google\\Protobuf\\Internal\\GPBWire' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/Internal/GPBWire.php', - 'Google\\Protobuf\\Internal\\GPBWireType' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/Internal/GPBWireType.php', - 'Google\\Protobuf\\Internal\\GeneratedCodeInfo' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/Internal/GeneratedCodeInfo.php', - 'Google\\Protobuf\\Internal\\GeneratedCodeInfo\\Annotation' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/Internal/GeneratedCodeInfo/Annotation.php', - 'Google\\Protobuf\\Internal\\GeneratedCodeInfo_Annotation' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/Internal/GeneratedCodeInfo_Annotation.php', - 'Google\\Protobuf\\Internal\\GetPublicDescriptorTrait' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/Internal/GetPublicDescriptorTrait.php', - 'Google\\Protobuf\\Internal\\HasPublicDescriptorTrait' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/Internal/HasPublicDescriptorTrait.php', - 'Google\\Protobuf\\Internal\\MapEntry' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/Internal/MapEntry.php', - 'Google\\Protobuf\\Internal\\MapField' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/Internal/MapField.php', - 'Google\\Protobuf\\Internal\\MapFieldIter' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/Internal/MapFieldIter.php', - 'Google\\Protobuf\\Internal\\Message' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/Internal/Message.php', - 'Google\\Protobuf\\Internal\\MessageBuilderContext' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/Internal/MessageBuilderContext.php', - 'Google\\Protobuf\\Internal\\MessageOptions' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/Internal/MessageOptions.php', - 'Google\\Protobuf\\Internal\\MethodDescriptorProto' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/Internal/MethodDescriptorProto.php', - 'Google\\Protobuf\\Internal\\MethodOptions' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/Internal/MethodOptions.php', - 'Google\\Protobuf\\Internal\\MethodOptions\\IdempotencyLevel' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/Internal/MethodOptions/IdempotencyLevel.php', - 'Google\\Protobuf\\Internal\\MethodOptions_IdempotencyLevel' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/Internal/MethodOptions_IdempotencyLevel.php', - 'Google\\Protobuf\\Internal\\OneofDescriptor' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/Internal/OneofDescriptor.php', - 'Google\\Protobuf\\Internal\\OneofDescriptorProto' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/Internal/OneofDescriptorProto.php', - 'Google\\Protobuf\\Internal\\OneofField' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/Internal/OneofField.php', - 'Google\\Protobuf\\Internal\\OneofOptions' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/Internal/OneofOptions.php', - 'Google\\Protobuf\\Internal\\RawInputStream' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/Internal/RawInputStream.php', - 'Google\\Protobuf\\Internal\\RepeatedField' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/Internal/RepeatedField.php', - 'Google\\Protobuf\\Internal\\RepeatedFieldIter' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/Internal/RepeatedFieldIter.php', - 'Google\\Protobuf\\Internal\\ServiceDescriptorProto' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/Internal/ServiceDescriptorProto.php', - 'Google\\Protobuf\\Internal\\ServiceOptions' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/Internal/ServiceOptions.php', - 'Google\\Protobuf\\Internal\\SourceCodeInfo' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/Internal/SourceCodeInfo.php', - 'Google\\Protobuf\\Internal\\SourceCodeInfo\\Location' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/Internal/SourceCodeInfo/Location.php', - 'Google\\Protobuf\\Internal\\SourceCodeInfo_Location' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/Internal/SourceCodeInfo_Location.php', - 'Google\\Protobuf\\Internal\\TimestampBase' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/Internal/TimestampBase.php', - 'Google\\Protobuf\\Internal\\UninterpretedOption' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/Internal/UninterpretedOption.php', - 'Google\\Protobuf\\Internal\\UninterpretedOption\\NamePart' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/Internal/UninterpretedOption/NamePart.php', - 'Google\\Protobuf\\Internal\\UninterpretedOption_NamePart' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/Internal/UninterpretedOption_NamePart.php', - 'Google\\Protobuf\\ListValue' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/ListValue.php', - 'Google\\Protobuf\\Method' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/Method.php', - 'Google\\Protobuf\\Mixin' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/Mixin.php', - 'Google\\Protobuf\\NullValue' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/NullValue.php', - 'Google\\Protobuf\\OneofDescriptor' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/OneofDescriptor.php', - 'Google\\Protobuf\\Option' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/Option.php', - 'Google\\Protobuf\\SourceContext' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/SourceContext.php', - 'Google\\Protobuf\\StringValue' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/StringValue.php', - 'Google\\Protobuf\\Struct' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/Struct.php', - 'Google\\Protobuf\\Syntax' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/Syntax.php', - 'Google\\Protobuf\\Timestamp' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/Timestamp.php', - 'Google\\Protobuf\\Type' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/Type.php', - 'Google\\Protobuf\\UInt32Value' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/UInt32Value.php', - 'Google\\Protobuf\\UInt64Value' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/UInt64Value.php', - 'Google\\Protobuf\\Value' => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf/Value.php', - 'GuzzleHttp\\BodySummarizer' => __DIR__ . '/..' . '/guzzlehttp/guzzle/src/BodySummarizer.php', - 'GuzzleHttp\\BodySummarizerInterface' => __DIR__ . '/..' . '/guzzlehttp/guzzle/src/BodySummarizerInterface.php', - 'GuzzleHttp\\Client' => __DIR__ . '/..' . '/guzzlehttp/guzzle/src/Client.php', - 'GuzzleHttp\\ClientInterface' => __DIR__ . '/..' . '/guzzlehttp/guzzle/src/ClientInterface.php', - 'GuzzleHttp\\ClientTrait' => __DIR__ . '/..' . '/guzzlehttp/guzzle/src/ClientTrait.php', - 'GuzzleHttp\\Cookie\\CookieJar' => __DIR__ . '/..' . '/guzzlehttp/guzzle/src/Cookie/CookieJar.php', - 'GuzzleHttp\\Cookie\\CookieJarInterface' => __DIR__ . '/..' . '/guzzlehttp/guzzle/src/Cookie/CookieJarInterface.php', - 'GuzzleHttp\\Cookie\\FileCookieJar' => __DIR__ . '/..' . '/guzzlehttp/guzzle/src/Cookie/FileCookieJar.php', - 'GuzzleHttp\\Cookie\\SessionCookieJar' => __DIR__ . '/..' . '/guzzlehttp/guzzle/src/Cookie/SessionCookieJar.php', - 'GuzzleHttp\\Cookie\\SetCookie' => __DIR__ . '/..' . '/guzzlehttp/guzzle/src/Cookie/SetCookie.php', - 'GuzzleHttp\\Exception\\BadResponseException' => __DIR__ . '/..' . '/guzzlehttp/guzzle/src/Exception/BadResponseException.php', - 'GuzzleHttp\\Exception\\ClientException' => __DIR__ . '/..' . '/guzzlehttp/guzzle/src/Exception/ClientException.php', - 'GuzzleHttp\\Exception\\ConnectException' => __DIR__ . '/..' . '/guzzlehttp/guzzle/src/Exception/ConnectException.php', - 'GuzzleHttp\\Exception\\GuzzleException' => __DIR__ . '/..' . '/guzzlehttp/guzzle/src/Exception/GuzzleException.php', - 'GuzzleHttp\\Exception\\InvalidArgumentException' => __DIR__ . '/..' . '/guzzlehttp/guzzle/src/Exception/InvalidArgumentException.php', - 'GuzzleHttp\\Exception\\RequestException' => __DIR__ . '/..' . '/guzzlehttp/guzzle/src/Exception/RequestException.php', - 'GuzzleHttp\\Exception\\ServerException' => __DIR__ . '/..' . '/guzzlehttp/guzzle/src/Exception/ServerException.php', - 'GuzzleHttp\\Exception\\TooManyRedirectsException' => __DIR__ . '/..' . '/guzzlehttp/guzzle/src/Exception/TooManyRedirectsException.php', - 'GuzzleHttp\\Exception\\TransferException' => __DIR__ . '/..' . '/guzzlehttp/guzzle/src/Exception/TransferException.php', - 'GuzzleHttp\\HandlerStack' => __DIR__ . '/..' . '/guzzlehttp/guzzle/src/HandlerStack.php', - 'GuzzleHttp\\Handler\\CurlFactory' => __DIR__ . '/..' . '/guzzlehttp/guzzle/src/Handler/CurlFactory.php', - 'GuzzleHttp\\Handler\\CurlFactoryInterface' => __DIR__ . '/..' . '/guzzlehttp/guzzle/src/Handler/CurlFactoryInterface.php', - 'GuzzleHttp\\Handler\\CurlHandler' => __DIR__ . '/..' . '/guzzlehttp/guzzle/src/Handler/CurlHandler.php', - 'GuzzleHttp\\Handler\\CurlMultiHandler' => __DIR__ . '/..' . '/guzzlehttp/guzzle/src/Handler/CurlMultiHandler.php', - 'GuzzleHttp\\Handler\\EasyHandle' => __DIR__ . '/..' . '/guzzlehttp/guzzle/src/Handler/EasyHandle.php', - 'GuzzleHttp\\Handler\\HeaderProcessor' => __DIR__ . '/..' . '/guzzlehttp/guzzle/src/Handler/HeaderProcessor.php', - 'GuzzleHttp\\Handler\\MockHandler' => __DIR__ . '/..' . '/guzzlehttp/guzzle/src/Handler/MockHandler.php', - 'GuzzleHttp\\Handler\\Proxy' => __DIR__ . '/..' . '/guzzlehttp/guzzle/src/Handler/Proxy.php', - 'GuzzleHttp\\Handler\\StreamHandler' => __DIR__ . '/..' . '/guzzlehttp/guzzle/src/Handler/StreamHandler.php', - 'GuzzleHttp\\MessageFormatter' => __DIR__ . '/..' . '/guzzlehttp/guzzle/src/MessageFormatter.php', - 'GuzzleHttp\\MessageFormatterInterface' => __DIR__ . '/..' . '/guzzlehttp/guzzle/src/MessageFormatterInterface.php', - 'GuzzleHttp\\Middleware' => __DIR__ . '/..' . '/guzzlehttp/guzzle/src/Middleware.php', - 'GuzzleHttp\\Pool' => __DIR__ . '/..' . '/guzzlehttp/guzzle/src/Pool.php', - 'GuzzleHttp\\PrepareBodyMiddleware' => __DIR__ . '/..' . '/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php', - 'GuzzleHttp\\Promise\\AggregateException' => __DIR__ . '/..' . '/guzzlehttp/promises/src/AggregateException.php', - 'GuzzleHttp\\Promise\\CancellationException' => __DIR__ . '/..' . '/guzzlehttp/promises/src/CancellationException.php', - 'GuzzleHttp\\Promise\\Coroutine' => __DIR__ . '/..' . '/guzzlehttp/promises/src/Coroutine.php', - 'GuzzleHttp\\Promise\\Create' => __DIR__ . '/..' . '/guzzlehttp/promises/src/Create.php', - 'GuzzleHttp\\Promise\\Each' => __DIR__ . '/..' . '/guzzlehttp/promises/src/Each.php', - 'GuzzleHttp\\Promise\\EachPromise' => __DIR__ . '/..' . '/guzzlehttp/promises/src/EachPromise.php', - 'GuzzleHttp\\Promise\\FulfilledPromise' => __DIR__ . '/..' . '/guzzlehttp/promises/src/FulfilledPromise.php', - 'GuzzleHttp\\Promise\\Is' => __DIR__ . '/..' . '/guzzlehttp/promises/src/Is.php', - 'GuzzleHttp\\Promise\\Promise' => __DIR__ . '/..' . '/guzzlehttp/promises/src/Promise.php', - 'GuzzleHttp\\Promise\\PromiseInterface' => __DIR__ . '/..' . '/guzzlehttp/promises/src/PromiseInterface.php', - 'GuzzleHttp\\Promise\\PromisorInterface' => __DIR__ . '/..' . '/guzzlehttp/promises/src/PromisorInterface.php', - 'GuzzleHttp\\Promise\\RejectedPromise' => __DIR__ . '/..' . '/guzzlehttp/promises/src/RejectedPromise.php', - 'GuzzleHttp\\Promise\\RejectionException' => __DIR__ . '/..' . '/guzzlehttp/promises/src/RejectionException.php', - 'GuzzleHttp\\Promise\\TaskQueue' => __DIR__ . '/..' . '/guzzlehttp/promises/src/TaskQueue.php', - 'GuzzleHttp\\Promise\\TaskQueueInterface' => __DIR__ . '/..' . '/guzzlehttp/promises/src/TaskQueueInterface.php', - 'GuzzleHttp\\Promise\\Utils' => __DIR__ . '/..' . '/guzzlehttp/promises/src/Utils.php', - 'GuzzleHttp\\Psr7\\AppendStream' => __DIR__ . '/..' . '/guzzlehttp/psr7/src/AppendStream.php', - 'GuzzleHttp\\Psr7\\BufferStream' => __DIR__ . '/..' . '/guzzlehttp/psr7/src/BufferStream.php', - 'GuzzleHttp\\Psr7\\CachingStream' => __DIR__ . '/..' . '/guzzlehttp/psr7/src/CachingStream.php', - 'GuzzleHttp\\Psr7\\DroppingStream' => __DIR__ . '/..' . '/guzzlehttp/psr7/src/DroppingStream.php', - 'GuzzleHttp\\Psr7\\Exception\\MalformedUriException' => __DIR__ . '/..' . '/guzzlehttp/psr7/src/Exception/MalformedUriException.php', - 'GuzzleHttp\\Psr7\\FnStream' => __DIR__ . '/..' . '/guzzlehttp/psr7/src/FnStream.php', - 'GuzzleHttp\\Psr7\\Header' => __DIR__ . '/..' . '/guzzlehttp/psr7/src/Header.php', - 'GuzzleHttp\\Psr7\\HttpFactory' => __DIR__ . '/..' . '/guzzlehttp/psr7/src/HttpFactory.php', - 'GuzzleHttp\\Psr7\\InflateStream' => __DIR__ . '/..' . '/guzzlehttp/psr7/src/InflateStream.php', - 'GuzzleHttp\\Psr7\\LazyOpenStream' => __DIR__ . '/..' . '/guzzlehttp/psr7/src/LazyOpenStream.php', - 'GuzzleHttp\\Psr7\\LimitStream' => __DIR__ . '/..' . '/guzzlehttp/psr7/src/LimitStream.php', - 'GuzzleHttp\\Psr7\\Message' => __DIR__ . '/..' . '/guzzlehttp/psr7/src/Message.php', - 'GuzzleHttp\\Psr7\\MessageTrait' => __DIR__ . '/..' . '/guzzlehttp/psr7/src/MessageTrait.php', - 'GuzzleHttp\\Psr7\\MimeType' => __DIR__ . '/..' . '/guzzlehttp/psr7/src/MimeType.php', - 'GuzzleHttp\\Psr7\\MultipartStream' => __DIR__ . '/..' . '/guzzlehttp/psr7/src/MultipartStream.php', - 'GuzzleHttp\\Psr7\\NoSeekStream' => __DIR__ . '/..' . '/guzzlehttp/psr7/src/NoSeekStream.php', - 'GuzzleHttp\\Psr7\\PumpStream' => __DIR__ . '/..' . '/guzzlehttp/psr7/src/PumpStream.php', - 'GuzzleHttp\\Psr7\\Query' => __DIR__ . '/..' . '/guzzlehttp/psr7/src/Query.php', - 'GuzzleHttp\\Psr7\\Request' => __DIR__ . '/..' . '/guzzlehttp/psr7/src/Request.php', - 'GuzzleHttp\\Psr7\\Response' => __DIR__ . '/..' . '/guzzlehttp/psr7/src/Response.php', - 'GuzzleHttp\\Psr7\\Rfc7230' => __DIR__ . '/..' . '/guzzlehttp/psr7/src/Rfc7230.php', - 'GuzzleHttp\\Psr7\\ServerRequest' => __DIR__ . '/..' . '/guzzlehttp/psr7/src/ServerRequest.php', - 'GuzzleHttp\\Psr7\\Stream' => __DIR__ . '/..' . '/guzzlehttp/psr7/src/Stream.php', - 'GuzzleHttp\\Psr7\\StreamDecoratorTrait' => __DIR__ . '/..' . '/guzzlehttp/psr7/src/StreamDecoratorTrait.php', - 'GuzzleHttp\\Psr7\\StreamWrapper' => __DIR__ . '/..' . '/guzzlehttp/psr7/src/StreamWrapper.php', - 'GuzzleHttp\\Psr7\\UploadedFile' => __DIR__ . '/..' . '/guzzlehttp/psr7/src/UploadedFile.php', - 'GuzzleHttp\\Psr7\\Uri' => __DIR__ . '/..' . '/guzzlehttp/psr7/src/Uri.php', - 'GuzzleHttp\\Psr7\\UriComparator' => __DIR__ . '/..' . '/guzzlehttp/psr7/src/UriComparator.php', - 'GuzzleHttp\\Psr7\\UriNormalizer' => __DIR__ . '/..' . '/guzzlehttp/psr7/src/UriNormalizer.php', - 'GuzzleHttp\\Psr7\\UriResolver' => __DIR__ . '/..' . '/guzzlehttp/psr7/src/UriResolver.php', - 'GuzzleHttp\\Psr7\\Utils' => __DIR__ . '/..' . '/guzzlehttp/psr7/src/Utils.php', - 'GuzzleHttp\\RedirectMiddleware' => __DIR__ . '/..' . '/guzzlehttp/guzzle/src/RedirectMiddleware.php', - 'GuzzleHttp\\RequestOptions' => __DIR__ . '/..' . '/guzzlehttp/guzzle/src/RequestOptions.php', - 'GuzzleHttp\\RetryMiddleware' => __DIR__ . '/..' . '/guzzlehttp/guzzle/src/RetryMiddleware.php', - 'GuzzleHttp\\TransferStats' => __DIR__ . '/..' . '/guzzlehttp/guzzle/src/TransferStats.php', - 'GuzzleHttp\\Utils' => __DIR__ . '/..' . '/guzzlehttp/guzzle/src/Utils.php', - 'Handler' => __DIR__ . '/../..' . '/classes/Handler.php', - 'Handler_Administrative' => __DIR__ . '/../..' . '/classes/Handler_Administrative.php', - 'Handler_Protected' => __DIR__ . '/../..' . '/classes/Handler_Protected.php', - 'Handler_Public' => __DIR__ . '/../..' . '/classes/Handler_Public.php', - 'Http\\Adapter\\Guzzle7\\Client' => __DIR__ . '/..' . '/php-http/guzzle7-adapter/src/Client.php', - 'Http\\Adapter\\Guzzle7\\Exception\\UnexpectedValueException' => __DIR__ . '/..' . '/php-http/guzzle7-adapter/src/Exception/UnexpectedValueException.php', - 'Http\\Adapter\\Guzzle7\\Promise' => __DIR__ . '/..' . '/php-http/guzzle7-adapter/src/Promise.php', - 'Http\\Client\\Exception' => __DIR__ . '/..' . '/php-http/httplug/src/Exception.php', - 'Http\\Client\\Exception\\HttpException' => __DIR__ . '/..' . '/php-http/httplug/src/Exception/HttpException.php', - 'Http\\Client\\Exception\\NetworkException' => __DIR__ . '/..' . '/php-http/httplug/src/Exception/NetworkException.php', - 'Http\\Client\\Exception\\RequestAwareTrait' => __DIR__ . '/..' . '/php-http/httplug/src/Exception/RequestAwareTrait.php', - 'Http\\Client\\Exception\\RequestException' => __DIR__ . '/..' . '/php-http/httplug/src/Exception/RequestException.php', - 'Http\\Client\\Exception\\TransferException' => __DIR__ . '/..' . '/php-http/httplug/src/Exception/TransferException.php', - 'Http\\Client\\HttpAsyncClient' => __DIR__ . '/..' . '/php-http/httplug/src/HttpAsyncClient.php', - 'Http\\Client\\HttpClient' => __DIR__ . '/..' . '/php-http/httplug/src/HttpClient.php', - 'Http\\Client\\Promise\\HttpFulfilledPromise' => __DIR__ . '/..' . '/php-http/httplug/src/Promise/HttpFulfilledPromise.php', - 'Http\\Client\\Promise\\HttpRejectedPromise' => __DIR__ . '/..' . '/php-http/httplug/src/Promise/HttpRejectedPromise.php', - 'Http\\Discovery\\ClassDiscovery' => __DIR__ . '/..' . '/php-http/discovery/src/ClassDiscovery.php', - 'Http\\Discovery\\Exception' => __DIR__ . '/..' . '/php-http/discovery/src/Exception.php', - 'Http\\Discovery\\Exception\\ClassInstantiationFailedException' => __DIR__ . '/..' . '/php-http/discovery/src/Exception/ClassInstantiationFailedException.php', - 'Http\\Discovery\\Exception\\DiscoveryFailedException' => __DIR__ . '/..' . '/php-http/discovery/src/Exception/DiscoveryFailedException.php', - 'Http\\Discovery\\Exception\\NoCandidateFoundException' => __DIR__ . '/..' . '/php-http/discovery/src/Exception/NoCandidateFoundException.php', - 'Http\\Discovery\\Exception\\NotFoundException' => __DIR__ . '/..' . '/php-http/discovery/src/Exception/NotFoundException.php', - 'Http\\Discovery\\Exception\\PuliUnavailableException' => __DIR__ . '/..' . '/php-http/discovery/src/Exception/PuliUnavailableException.php', - 'Http\\Discovery\\Exception\\StrategyUnavailableException' => __DIR__ . '/..' . '/php-http/discovery/src/Exception/StrategyUnavailableException.php', - 'Http\\Discovery\\HttpAsyncClientDiscovery' => __DIR__ . '/..' . '/php-http/discovery/src/HttpAsyncClientDiscovery.php', - 'Http\\Discovery\\HttpClientDiscovery' => __DIR__ . '/..' . '/php-http/discovery/src/HttpClientDiscovery.php', - 'Http\\Discovery\\MessageFactoryDiscovery' => __DIR__ . '/..' . '/php-http/discovery/src/MessageFactoryDiscovery.php', - 'Http\\Discovery\\NotFoundException' => __DIR__ . '/..' . '/php-http/discovery/src/NotFoundException.php', - 'Http\\Discovery\\Psr17Factory' => __DIR__ . '/..' . '/php-http/discovery/src/Psr17Factory.php', - 'Http\\Discovery\\Psr17FactoryDiscovery' => __DIR__ . '/..' . '/php-http/discovery/src/Psr17FactoryDiscovery.php', - 'Http\\Discovery\\Psr18Client' => __DIR__ . '/..' . '/php-http/discovery/src/Psr18Client.php', - 'Http\\Discovery\\Psr18ClientDiscovery' => __DIR__ . '/..' . '/php-http/discovery/src/Psr18ClientDiscovery.php', - 'Http\\Discovery\\Strategy\\CommonClassesStrategy' => __DIR__ . '/..' . '/php-http/discovery/src/Strategy/CommonClassesStrategy.php', - 'Http\\Discovery\\Strategy\\CommonPsr17ClassesStrategy' => __DIR__ . '/..' . '/php-http/discovery/src/Strategy/CommonPsr17ClassesStrategy.php', - 'Http\\Discovery\\Strategy\\DiscoveryStrategy' => __DIR__ . '/..' . '/php-http/discovery/src/Strategy/DiscoveryStrategy.php', - 'Http\\Discovery\\Strategy\\MockClientStrategy' => __DIR__ . '/..' . '/php-http/discovery/src/Strategy/MockClientStrategy.php', - 'Http\\Discovery\\Strategy\\PuliBetaStrategy' => __DIR__ . '/..' . '/php-http/discovery/src/Strategy/PuliBetaStrategy.php', - 'Http\\Discovery\\StreamFactoryDiscovery' => __DIR__ . '/..' . '/php-http/discovery/src/StreamFactoryDiscovery.php', - 'Http\\Discovery\\UriFactoryDiscovery' => __DIR__ . '/..' . '/php-http/discovery/src/UriFactoryDiscovery.php', - 'Http\\Promise\\FulfilledPromise' => __DIR__ . '/..' . '/php-http/promise/src/FulfilledPromise.php', - 'Http\\Promise\\Promise' => __DIR__ . '/..' . '/php-http/promise/src/Promise.php', - 'Http\\Promise\\RejectedPromise' => __DIR__ . '/..' . '/php-http/promise/src/RejectedPromise.php', - 'IAuthModule' => __DIR__ . '/../..' . '/classes/IAuthModule.php', - 'IAuthModule2' => __DIR__ . '/../..' . '/classes/IAuthModule2.php', - 'ICatchall' => __DIR__ . '/../..' . '/classes/ICatchall.php', - 'IHandler' => __DIR__ . '/../..' . '/classes/IHandler.php', - 'IVirtualFeed' => __DIR__ . '/../..' . '/classes/IVirtualFeed.php', 'IdiormMethodMissingException' => __DIR__ . '/..' . '/j4mie/idiorm/idiorm.php', 'IdiormResultSet' => __DIR__ . '/..' . '/j4mie/idiorm/idiorm.php', 'IdiormString' => __DIR__ . '/..' . '/j4mie/idiorm/idiorm.php', 'IdiormStringException' => __DIR__ . '/..' . '/j4mie/idiorm/idiorm.php', - 'Labels' => __DIR__ . '/../..' . '/classes/Labels.php', - 'Logger' => __DIR__ . '/../..' . '/classes/Logger.php', - 'Logger_Adapter' => __DIR__ . '/../..' . '/classes/Logger_Adapter.php', - 'Logger_SQL' => __DIR__ . '/../..' . '/classes/Logger_SQL.php', - 'Logger_Stdout' => __DIR__ . '/../..' . '/classes/Logger_Stdout.php', - 'Logger_Syslog' => __DIR__ . '/../..' . '/classes/Logger_Syslog.php', - 'Mailer' => __DIR__ . '/../..' . '/classes/Mailer.php', - 'OPML' => __DIR__ . '/../..' . '/classes/OPML.php', 'ORM' => __DIR__ . '/..' . '/j4mie/idiorm/idiorm.php', - 'OTPHP\\Factory' => __DIR__ . '/..' . '/spomky-labs/otphp/src/Factory.php', - 'OTPHP\\FactoryInterface' => __DIR__ . '/..' . '/spomky-labs/otphp/src/FactoryInterface.php', - 'OTPHP\\HOTP' => __DIR__ . '/..' . '/spomky-labs/otphp/src/HOTP.php', - 'OTPHP\\HOTPInterface' => __DIR__ . '/..' . '/spomky-labs/otphp/src/HOTPInterface.php', - 'OTPHP\\OTP' => __DIR__ . '/..' . '/spomky-labs/otphp/src/OTP.php', - 'OTPHP\\OTPInterface' => __DIR__ . '/..' . '/spomky-labs/otphp/src/OTPInterface.php', - 'OTPHP\\ParameterTrait' => __DIR__ . '/..' . '/spomky-labs/otphp/src/ParameterTrait.php', - 'OTPHP\\TOTP' => __DIR__ . '/..' . '/spomky-labs/otphp/src/TOTP.php', - 'OTPHP\\TOTPInterface' => __DIR__ . '/..' . '/spomky-labs/otphp/src/TOTPInterface.php', - 'OpenTelemetry\\API\\Baggage\\Baggage' => __DIR__ . '/..' . '/open-telemetry/api/Baggage/Baggage.php', - 'OpenTelemetry\\API\\Baggage\\BaggageBuilder' => __DIR__ . '/..' . '/open-telemetry/api/Baggage/BaggageBuilder.php', - 'OpenTelemetry\\API\\Baggage\\BaggageBuilderInterface' => __DIR__ . '/..' . '/open-telemetry/api/Baggage/BaggageBuilderInterface.php', - 'OpenTelemetry\\API\\Baggage\\BaggageInterface' => __DIR__ . '/..' . '/open-telemetry/api/Baggage/BaggageInterface.php', - 'OpenTelemetry\\API\\Baggage\\Entry' => __DIR__ . '/..' . '/open-telemetry/api/Baggage/Entry.php', - 'OpenTelemetry\\API\\Baggage\\Metadata' => __DIR__ . '/..' . '/open-telemetry/api/Baggage/Metadata.php', - 'OpenTelemetry\\API\\Baggage\\MetadataInterface' => __DIR__ . '/..' . '/open-telemetry/api/Baggage/MetadataInterface.php', - 'OpenTelemetry\\API\\Baggage\\Propagation\\BaggagePropagator' => __DIR__ . '/..' . '/open-telemetry/api/Baggage/Propagation/BaggagePropagator.php', - 'OpenTelemetry\\API\\Baggage\\Propagation\\Parser' => __DIR__ . '/..' . '/open-telemetry/api/Baggage/Propagation/Parser.php', - 'OpenTelemetry\\API\\Behavior\\Internal\\LogWriterFactory' => __DIR__ . '/..' . '/open-telemetry/api/Behavior/Internal/LogWriterFactory.php', - 'OpenTelemetry\\API\\Behavior\\Internal\\LogWriter\\ErrorLogWriter' => __DIR__ . '/..' . '/open-telemetry/api/Behavior/Internal/LogWriter/ErrorLogWriter.php', - 'OpenTelemetry\\API\\Behavior\\Internal\\LogWriter\\Formatter' => __DIR__ . '/..' . '/open-telemetry/api/Behavior/Internal/LogWriter/Formatter.php', - 'OpenTelemetry\\API\\Behavior\\Internal\\LogWriter\\LogWriterInterface' => __DIR__ . '/..' . '/open-telemetry/api/Behavior/Internal/LogWriter/LogWriterInterface.php', - 'OpenTelemetry\\API\\Behavior\\Internal\\LogWriter\\NoopLogWriter' => __DIR__ . '/..' . '/open-telemetry/api/Behavior/Internal/LogWriter/NoopLogWriter.php', - 'OpenTelemetry\\API\\Behavior\\Internal\\LogWriter\\Psr3LogWriter' => __DIR__ . '/..' . '/open-telemetry/api/Behavior/Internal/LogWriter/Psr3LogWriter.php', - 'OpenTelemetry\\API\\Behavior\\Internal\\LogWriter\\StreamLogWriter' => __DIR__ . '/..' . '/open-telemetry/api/Behavior/Internal/LogWriter/StreamLogWriter.php', - 'OpenTelemetry\\API\\Behavior\\Internal\\Logging' => __DIR__ . '/..' . '/open-telemetry/api/Behavior/Internal/Logging.php', - 'OpenTelemetry\\API\\Behavior\\LogsMessagesTrait' => __DIR__ . '/..' . '/open-telemetry/api/Behavior/LogsMessagesTrait.php', - 'OpenTelemetry\\API\\Globals' => __DIR__ . '/..' . '/open-telemetry/api/Globals.php', - 'OpenTelemetry\\API\\Instrumentation\\CachedInstrumentation' => __DIR__ . '/..' . '/open-telemetry/api/Instrumentation/CachedInstrumentation.php', - 'OpenTelemetry\\API\\Instrumentation\\ConfigurationResolver' => __DIR__ . '/..' . '/open-telemetry/api/Instrumentation/ConfigurationResolver.php', - 'OpenTelemetry\\API\\Instrumentation\\ConfigurationResolverInterface' => __DIR__ . '/..' . '/open-telemetry/api/Instrumentation/ConfigurationResolverInterface.php', - 'OpenTelemetry\\API\\Instrumentation\\Configurator' => __DIR__ . '/..' . '/open-telemetry/api/Instrumentation/Configurator.php', - 'OpenTelemetry\\API\\Instrumentation\\ContextKeys' => __DIR__ . '/..' . '/open-telemetry/api/Instrumentation/ContextKeys.php', - 'OpenTelemetry\\API\\Instrumentation\\InstrumentationInterface' => __DIR__ . '/..' . '/open-telemetry/api/Instrumentation/InstrumentationInterface.php', - 'OpenTelemetry\\API\\Instrumentation\\InstrumentationTrait' => __DIR__ . '/..' . '/open-telemetry/api/Instrumentation/InstrumentationTrait.php', - 'OpenTelemetry\\API\\LoggerHolder' => __DIR__ . '/..' . '/open-telemetry/api/LoggerHolder.php', - 'OpenTelemetry\\API\\Logs\\EventLogger' => __DIR__ . '/..' . '/open-telemetry/api/Logs/EventLogger.php', - 'OpenTelemetry\\API\\Logs\\EventLoggerInterface' => __DIR__ . '/..' . '/open-telemetry/api/Logs/EventLoggerInterface.php', - 'OpenTelemetry\\API\\Logs\\LogRecord' => __DIR__ . '/..' . '/open-telemetry/api/Logs/LogRecord.php', - 'OpenTelemetry\\API\\Logs\\LoggerInterface' => __DIR__ . '/..' . '/open-telemetry/api/Logs/LoggerInterface.php', - 'OpenTelemetry\\API\\Logs\\LoggerProviderInterface' => __DIR__ . '/..' . '/open-telemetry/api/Logs/LoggerProviderInterface.php', - 'OpenTelemetry\\API\\Logs\\Map\\Psr3' => __DIR__ . '/..' . '/open-telemetry/api/Logs/Map/Psr3.php', - 'OpenTelemetry\\API\\Logs\\NoopLogger' => __DIR__ . '/..' . '/open-telemetry/api/Logs/NoopLogger.php', - 'OpenTelemetry\\API\\Logs\\NoopLoggerProvider' => __DIR__ . '/..' . '/open-telemetry/api/Logs/NoopLoggerProvider.php', - 'OpenTelemetry\\API\\Metrics\\CounterInterface' => __DIR__ . '/..' . '/open-telemetry/api/Metrics/CounterInterface.php', - 'OpenTelemetry\\API\\Metrics\\HistogramInterface' => __DIR__ . '/..' . '/open-telemetry/api/Metrics/HistogramInterface.php', - 'OpenTelemetry\\API\\Metrics\\MeterInterface' => __DIR__ . '/..' . '/open-telemetry/api/Metrics/MeterInterface.php', - 'OpenTelemetry\\API\\Metrics\\MeterProviderInterface' => __DIR__ . '/..' . '/open-telemetry/api/Metrics/MeterProviderInterface.php', - 'OpenTelemetry\\API\\Metrics\\Noop\\NoopCounter' => __DIR__ . '/..' . '/open-telemetry/api/Metrics/Noop/NoopCounter.php', - 'OpenTelemetry\\API\\Metrics\\Noop\\NoopHistogram' => __DIR__ . '/..' . '/open-telemetry/api/Metrics/Noop/NoopHistogram.php', - 'OpenTelemetry\\API\\Metrics\\Noop\\NoopMeter' => __DIR__ . '/..' . '/open-telemetry/api/Metrics/Noop/NoopMeter.php', - 'OpenTelemetry\\API\\Metrics\\Noop\\NoopMeterProvider' => __DIR__ . '/..' . '/open-telemetry/api/Metrics/Noop/NoopMeterProvider.php', - 'OpenTelemetry\\API\\Metrics\\Noop\\NoopObservableCallback' => __DIR__ . '/..' . '/open-telemetry/api/Metrics/Noop/NoopObservableCallback.php', - 'OpenTelemetry\\API\\Metrics\\Noop\\NoopObservableCounter' => __DIR__ . '/..' . '/open-telemetry/api/Metrics/Noop/NoopObservableCounter.php', - 'OpenTelemetry\\API\\Metrics\\Noop\\NoopObservableGauge' => __DIR__ . '/..' . '/open-telemetry/api/Metrics/Noop/NoopObservableGauge.php', - 'OpenTelemetry\\API\\Metrics\\Noop\\NoopObservableUpDownCounter' => __DIR__ . '/..' . '/open-telemetry/api/Metrics/Noop/NoopObservableUpDownCounter.php', - 'OpenTelemetry\\API\\Metrics\\Noop\\NoopUpDownCounter' => __DIR__ . '/..' . '/open-telemetry/api/Metrics/Noop/NoopUpDownCounter.php', - 'OpenTelemetry\\API\\Metrics\\ObservableCallbackInterface' => __DIR__ . '/..' . '/open-telemetry/api/Metrics/ObservableCallbackInterface.php', - 'OpenTelemetry\\API\\Metrics\\ObservableCounterInterface' => __DIR__ . '/..' . '/open-telemetry/api/Metrics/ObservableCounterInterface.php', - 'OpenTelemetry\\API\\Metrics\\ObservableGaugeInterface' => __DIR__ . '/..' . '/open-telemetry/api/Metrics/ObservableGaugeInterface.php', - 'OpenTelemetry\\API\\Metrics\\ObservableUpDownCounterInterface' => __DIR__ . '/..' . '/open-telemetry/api/Metrics/ObservableUpDownCounterInterface.php', - 'OpenTelemetry\\API\\Metrics\\ObserverInterface' => __DIR__ . '/..' . '/open-telemetry/api/Metrics/ObserverInterface.php', - 'OpenTelemetry\\API\\Metrics\\UpDownCounterInterface' => __DIR__ . '/..' . '/open-telemetry/api/Metrics/UpDownCounterInterface.php', - 'OpenTelemetry\\API\\Signals' => __DIR__ . '/..' . '/open-telemetry/api/Signals.php', - 'OpenTelemetry\\API\\Trace\\NonRecordingSpan' => __DIR__ . '/..' . '/open-telemetry/api/Trace/NonRecordingSpan.php', - 'OpenTelemetry\\API\\Trace\\NoopSpanBuilder' => __DIR__ . '/..' . '/open-telemetry/api/Trace/NoopSpanBuilder.php', - 'OpenTelemetry\\API\\Trace\\NoopTracer' => __DIR__ . '/..' . '/open-telemetry/api/Trace/NoopTracer.php', - 'OpenTelemetry\\API\\Trace\\NoopTracerProvider' => __DIR__ . '/..' . '/open-telemetry/api/Trace/NoopTracerProvider.php', - 'OpenTelemetry\\API\\Trace\\Propagation\\TraceContextPropagator' => __DIR__ . '/..' . '/open-telemetry/api/Trace/Propagation/TraceContextPropagator.php', - 'OpenTelemetry\\API\\Trace\\Propagation\\TraceContextValidator' => __DIR__ . '/..' . '/open-telemetry/api/Trace/Propagation/TraceContextValidator.php', - 'OpenTelemetry\\API\\Trace\\Span' => __DIR__ . '/..' . '/open-telemetry/api/Trace/Span.php', - 'OpenTelemetry\\API\\Trace\\SpanBuilderInterface' => __DIR__ . '/..' . '/open-telemetry/api/Trace/SpanBuilderInterface.php', - 'OpenTelemetry\\API\\Trace\\SpanContext' => __DIR__ . '/..' . '/open-telemetry/api/Trace/SpanContext.php', - 'OpenTelemetry\\API\\Trace\\SpanContextInterface' => __DIR__ . '/..' . '/open-telemetry/api/Trace/SpanContextInterface.php', - 'OpenTelemetry\\API\\Trace\\SpanContextValidator' => __DIR__ . '/..' . '/open-telemetry/api/Trace/SpanContextValidator.php', - 'OpenTelemetry\\API\\Trace\\SpanInterface' => __DIR__ . '/..' . '/open-telemetry/api/Trace/SpanInterface.php', - 'OpenTelemetry\\API\\Trace\\SpanKind' => __DIR__ . '/..' . '/open-telemetry/api/Trace/SpanKind.php', - 'OpenTelemetry\\API\\Trace\\StatusCode' => __DIR__ . '/..' . '/open-telemetry/api/Trace/StatusCode.php', - 'OpenTelemetry\\API\\Trace\\TraceFlags' => __DIR__ . '/..' . '/open-telemetry/api/Trace/TraceFlags.php', - 'OpenTelemetry\\API\\Trace\\TraceState' => __DIR__ . '/..' . '/open-telemetry/api/Trace/TraceState.php', - 'OpenTelemetry\\API\\Trace\\TraceStateInterface' => __DIR__ . '/..' . '/open-telemetry/api/Trace/TraceStateInterface.php', - 'OpenTelemetry\\API\\Trace\\TracerInterface' => __DIR__ . '/..' . '/open-telemetry/api/Trace/TracerInterface.php', - 'OpenTelemetry\\API\\Trace\\TracerProviderInterface' => __DIR__ . '/..' . '/open-telemetry/api/Trace/TracerProviderInterface.php', - 'OpenTelemetry\\Context\\Context' => __DIR__ . '/..' . '/open-telemetry/context/Context.php', - 'OpenTelemetry\\Context\\ContextInterface' => __DIR__ . '/..' . '/open-telemetry/context/ContextInterface.php', - 'OpenTelemetry\\Context\\ContextKey' => __DIR__ . '/..' . '/open-telemetry/context/ContextKey.php', - 'OpenTelemetry\\Context\\ContextKeyInterface' => __DIR__ . '/..' . '/open-telemetry/context/ContextKeyInterface.php', - 'OpenTelemetry\\Context\\ContextKeys' => __DIR__ . '/..' . '/open-telemetry/context/ContextKeys.php', - 'OpenTelemetry\\Context\\ContextStorage' => __DIR__ . '/..' . '/open-telemetry/context/ContextStorage.php', - 'OpenTelemetry\\Context\\ContextStorageHead' => __DIR__ . '/..' . '/open-telemetry/context/ContextStorageHead.php', - 'OpenTelemetry\\Context\\ContextStorageInterface' => __DIR__ . '/..' . '/open-telemetry/context/ContextStorageInterface.php', - 'OpenTelemetry\\Context\\ContextStorageNode' => __DIR__ . '/..' . '/open-telemetry/context/ContextStorageNode.php', - 'OpenTelemetry\\Context\\ContextStorageScopeInterface' => __DIR__ . '/..' . '/open-telemetry/context/ContextStorageScopeInterface.php', - 'OpenTelemetry\\Context\\DebugScope' => __DIR__ . '/..' . '/open-telemetry/context/DebugScope.php', - 'OpenTelemetry\\Context\\ExecutionContextAwareInterface' => __DIR__ . '/..' . '/open-telemetry/context/ExecutionContextAwareInterface.php', - 'OpenTelemetry\\Context\\FiberBoundContextStorage' => __DIR__ . '/..' . '/open-telemetry/context/FiberBoundContextStorage.php', - 'OpenTelemetry\\Context\\FiberBoundContextStorageScope' => __DIR__ . '/..' . '/open-telemetry/context/FiberBoundContextStorageScope.php', - 'OpenTelemetry\\Context\\ImplicitContextKeyedInterface' => __DIR__ . '/..' . '/open-telemetry/context/ImplicitContextKeyedInterface.php', - 'OpenTelemetry\\Context\\Propagation\\ArrayAccessGetterSetter' => __DIR__ . '/..' . '/open-telemetry/context/Propagation/ArrayAccessGetterSetter.php', - 'OpenTelemetry\\Context\\Propagation\\MultiTextMapPropagator' => __DIR__ . '/..' . '/open-telemetry/context/Propagation/MultiTextMapPropagator.php', - 'OpenTelemetry\\Context\\Propagation\\NoopTextMapPropagator' => __DIR__ . '/..' . '/open-telemetry/context/Propagation/NoopTextMapPropagator.php', - 'OpenTelemetry\\Context\\Propagation\\PropagationGetterInterface' => __DIR__ . '/..' . '/open-telemetry/context/Propagation/PropagationGetterInterface.php', - 'OpenTelemetry\\Context\\Propagation\\PropagationSetterInterface' => __DIR__ . '/..' . '/open-telemetry/context/Propagation/PropagationSetterInterface.php', - 'OpenTelemetry\\Context\\Propagation\\SanitizeCombinedHeadersPropagationGetter' => __DIR__ . '/..' . '/open-telemetry/context/Propagation/SanitizeCombinedHeadersPropagationGetter.php', - 'OpenTelemetry\\Context\\Propagation\\TextMapPropagatorInterface' => __DIR__ . '/..' . '/open-telemetry/context/Propagation/TextMapPropagatorInterface.php', - 'OpenTelemetry\\Context\\ScopeInterface' => __DIR__ . '/..' . '/open-telemetry/context/ScopeInterface.php', - 'OpenTelemetry\\Context\\ZendObserverFiber' => __DIR__ . '/..' . '/open-telemetry/context/ZendObserverFiber.php', - 'OpenTelemetry\\Contrib\\Otlp\\AttributesConverter' => __DIR__ . '/..' . '/open-telemetry/exporter-otlp/AttributesConverter.php', - 'OpenTelemetry\\Contrib\\Otlp\\ContentTypes' => __DIR__ . '/..' . '/open-telemetry/exporter-otlp/ContentTypes.php', - 'OpenTelemetry\\Contrib\\Otlp\\HttpEndpointResolver' => __DIR__ . '/..' . '/open-telemetry/exporter-otlp/HttpEndpointResolver.php', - 'OpenTelemetry\\Contrib\\Otlp\\HttpEndpointResolverInterface' => __DIR__ . '/..' . '/open-telemetry/exporter-otlp/HttpEndpointResolverInterface.php', - 'OpenTelemetry\\Contrib\\Otlp\\LogsConverter' => __DIR__ . '/..' . '/open-telemetry/exporter-otlp/LogsConverter.php', - 'OpenTelemetry\\Contrib\\Otlp\\LogsExporter' => __DIR__ . '/..' . '/open-telemetry/exporter-otlp/LogsExporter.php', - 'OpenTelemetry\\Contrib\\Otlp\\LogsExporterFactory' => __DIR__ . '/..' . '/open-telemetry/exporter-otlp/LogsExporterFactory.php', - 'OpenTelemetry\\Contrib\\Otlp\\MetricConverter' => __DIR__ . '/..' . '/open-telemetry/exporter-otlp/MetricConverter.php', - 'OpenTelemetry\\Contrib\\Otlp\\MetricExporter' => __DIR__ . '/..' . '/open-telemetry/exporter-otlp/MetricExporter.php', - 'OpenTelemetry\\Contrib\\Otlp\\MetricExporterFactory' => __DIR__ . '/..' . '/open-telemetry/exporter-otlp/MetricExporterFactory.php', - 'OpenTelemetry\\Contrib\\Otlp\\OtlpHttpTransportFactory' => __DIR__ . '/..' . '/open-telemetry/exporter-otlp/OtlpHttpTransportFactory.php', - 'OpenTelemetry\\Contrib\\Otlp\\OtlpUtil' => __DIR__ . '/..' . '/open-telemetry/exporter-otlp/OtlpUtil.php', - 'OpenTelemetry\\Contrib\\Otlp\\ProtobufSerializer' => __DIR__ . '/..' . '/open-telemetry/exporter-otlp/ProtobufSerializer.php', - 'OpenTelemetry\\Contrib\\Otlp\\Protocols' => __DIR__ . '/..' . '/open-telemetry/exporter-otlp/Protocols.php', - 'OpenTelemetry\\Contrib\\Otlp\\SpanConverter' => __DIR__ . '/..' . '/open-telemetry/exporter-otlp/SpanConverter.php', - 'OpenTelemetry\\Contrib\\Otlp\\SpanExporter' => __DIR__ . '/..' . '/open-telemetry/exporter-otlp/SpanExporter.php', - 'OpenTelemetry\\Contrib\\Otlp\\SpanExporterFactory' => __DIR__ . '/..' . '/open-telemetry/exporter-otlp/SpanExporterFactory.php', - 'OpenTelemetry\\SDK\\Common\\Adapter\\HttpDiscovery\\DependencyResolver' => __DIR__ . '/..' . '/open-telemetry/sdk/Common/Adapter/HttpDiscovery/DependencyResolver.php', - 'OpenTelemetry\\SDK\\Common\\Adapter\\HttpDiscovery\\HttpPlugClientResolver' => __DIR__ . '/..' . '/open-telemetry/sdk/Common/Adapter/HttpDiscovery/HttpPlugClientResolver.php', - 'OpenTelemetry\\SDK\\Common\\Adapter\\HttpDiscovery\\MessageFactoryResolver' => __DIR__ . '/..' . '/open-telemetry/sdk/Common/Adapter/HttpDiscovery/MessageFactoryResolver.php', - 'OpenTelemetry\\SDK\\Common\\Adapter\\HttpDiscovery\\PsrClientResolver' => __DIR__ . '/..' . '/open-telemetry/sdk/Common/Adapter/HttpDiscovery/PsrClientResolver.php', - 'OpenTelemetry\\SDK\\Common\\Attribute\\AttributeValidator' => __DIR__ . '/..' . '/open-telemetry/sdk/Common/Attribute/AttributeValidator.php', - 'OpenTelemetry\\SDK\\Common\\Attribute\\AttributeValidatorInterface' => __DIR__ . '/..' . '/open-telemetry/sdk/Common/Attribute/AttributeValidatorInterface.php', - 'OpenTelemetry\\SDK\\Common\\Attribute\\Attributes' => __DIR__ . '/..' . '/open-telemetry/sdk/Common/Attribute/Attributes.php', - 'OpenTelemetry\\SDK\\Common\\Attribute\\AttributesBuilder' => __DIR__ . '/..' . '/open-telemetry/sdk/Common/Attribute/AttributesBuilder.php', - 'OpenTelemetry\\SDK\\Common\\Attribute\\AttributesBuilderInterface' => __DIR__ . '/..' . '/open-telemetry/sdk/Common/Attribute/AttributesBuilderInterface.php', - 'OpenTelemetry\\SDK\\Common\\Attribute\\AttributesFactory' => __DIR__ . '/..' . '/open-telemetry/sdk/Common/Attribute/AttributesFactory.php', - 'OpenTelemetry\\SDK\\Common\\Attribute\\AttributesFactoryInterface' => __DIR__ . '/..' . '/open-telemetry/sdk/Common/Attribute/AttributesFactoryInterface.php', - 'OpenTelemetry\\SDK\\Common\\Attribute\\AttributesInterface' => __DIR__ . '/..' . '/open-telemetry/sdk/Common/Attribute/AttributesInterface.php', - 'OpenTelemetry\\SDK\\Common\\Attribute\\FilteredAttributesBuilder' => __DIR__ . '/..' . '/open-telemetry/sdk/Common/Attribute/FilteredAttributesBuilder.php', - 'OpenTelemetry\\SDK\\Common\\Attribute\\FilteredAttributesFactory' => __DIR__ . '/..' . '/open-telemetry/sdk/Common/Attribute/FilteredAttributesFactory.php', - 'OpenTelemetry\\SDK\\Common\\Attribute\\LogRecordAttributeValidator' => __DIR__ . '/..' . '/open-telemetry/sdk/Common/Attribute/LogRecordAttributeValidator.php', - 'OpenTelemetry\\SDK\\Common\\Configuration\\Configuration' => __DIR__ . '/..' . '/open-telemetry/sdk/Common/Configuration/Configuration.php', - 'OpenTelemetry\\SDK\\Common\\Configuration\\Defaults' => __DIR__ . '/..' . '/open-telemetry/sdk/Common/Configuration/Defaults.php', - 'OpenTelemetry\\SDK\\Common\\Configuration\\KnownValues' => __DIR__ . '/..' . '/open-telemetry/sdk/Common/Configuration/KnownValues.php', - 'OpenTelemetry\\SDK\\Common\\Configuration\\Parser\\BooleanParser' => __DIR__ . '/..' . '/open-telemetry/sdk/Common/Configuration/Parser/BooleanParser.php', - 'OpenTelemetry\\SDK\\Common\\Configuration\\Parser\\ListParser' => __DIR__ . '/..' . '/open-telemetry/sdk/Common/Configuration/Parser/ListParser.php', - 'OpenTelemetry\\SDK\\Common\\Configuration\\Parser\\MapParser' => __DIR__ . '/..' . '/open-telemetry/sdk/Common/Configuration/Parser/MapParser.php', - 'OpenTelemetry\\SDK\\Common\\Configuration\\Parser\\RatioParser' => __DIR__ . '/..' . '/open-telemetry/sdk/Common/Configuration/Parser/RatioParser.php', - 'OpenTelemetry\\SDK\\Common\\Configuration\\Resolver\\CompositeResolver' => __DIR__ . '/..' . '/open-telemetry/sdk/Common/Configuration/Resolver/CompositeResolver.php', - 'OpenTelemetry\\SDK\\Common\\Configuration\\Resolver\\EnvironmentResolver' => __DIR__ . '/..' . '/open-telemetry/sdk/Common/Configuration/Resolver/EnvironmentResolver.php', - 'OpenTelemetry\\SDK\\Common\\Configuration\\Resolver\\PhpIniAccessor' => __DIR__ . '/..' . '/open-telemetry/sdk/Common/Configuration/Resolver/PhpIniAccessor.php', - 'OpenTelemetry\\SDK\\Common\\Configuration\\Resolver\\PhpIniResolver' => __DIR__ . '/..' . '/open-telemetry/sdk/Common/Configuration/Resolver/PhpIniResolver.php', - 'OpenTelemetry\\SDK\\Common\\Configuration\\Resolver\\ResolverInterface' => __DIR__ . '/..' . '/open-telemetry/sdk/Common/Configuration/Resolver/ResolverInterface.php', - 'OpenTelemetry\\SDK\\Common\\Configuration\\ValueTypes' => __DIR__ . '/..' . '/open-telemetry/sdk/Common/Configuration/ValueTypes.php', - 'OpenTelemetry\\SDK\\Common\\Configuration\\VariableTypes' => __DIR__ . '/..' . '/open-telemetry/sdk/Common/Configuration/VariableTypes.php', - 'OpenTelemetry\\SDK\\Common\\Configuration\\Variables' => __DIR__ . '/..' . '/open-telemetry/sdk/Common/Configuration/Variables.php', - 'OpenTelemetry\\SDK\\Common\\Dev\\Compatibility\\Util' => __DIR__ . '/..' . '/open-telemetry/sdk/Common/Dev/Compatibility/Util.php', - 'OpenTelemetry\\SDK\\Common\\Exception\\StackTraceFormatter' => __DIR__ . '/..' . '/open-telemetry/sdk/Common/Exception/StackTraceFormatter.php', - 'OpenTelemetry\\SDK\\Common\\Export\\Http\\PsrTransport' => __DIR__ . '/..' . '/open-telemetry/sdk/Common/Export/Http/PsrTransport.php', - 'OpenTelemetry\\SDK\\Common\\Export\\Http\\PsrTransportFactory' => __DIR__ . '/..' . '/open-telemetry/sdk/Common/Export/Http/PsrTransportFactory.php', - 'OpenTelemetry\\SDK\\Common\\Export\\Http\\PsrUtils' => __DIR__ . '/..' . '/open-telemetry/sdk/Common/Export/Http/PsrUtils.php', - 'OpenTelemetry\\SDK\\Common\\Export\\Stream\\StreamTransport' => __DIR__ . '/..' . '/open-telemetry/sdk/Common/Export/Stream/StreamTransport.php', - 'OpenTelemetry\\SDK\\Common\\Export\\Stream\\StreamTransportFactory' => __DIR__ . '/..' . '/open-telemetry/sdk/Common/Export/Stream/StreamTransportFactory.php', - 'OpenTelemetry\\SDK\\Common\\Export\\TransportFactoryInterface' => __DIR__ . '/..' . '/open-telemetry/sdk/Common/Export/TransportFactoryInterface.php', - 'OpenTelemetry\\SDK\\Common\\Export\\TransportInterface' => __DIR__ . '/..' . '/open-telemetry/sdk/Common/Export/TransportInterface.php', - 'OpenTelemetry\\SDK\\Common\\Future\\CancellationInterface' => __DIR__ . '/..' . '/open-telemetry/sdk/Common/Future/CancellationInterface.php', - 'OpenTelemetry\\SDK\\Common\\Future\\CompletedFuture' => __DIR__ . '/..' . '/open-telemetry/sdk/Common/Future/CompletedFuture.php', - 'OpenTelemetry\\SDK\\Common\\Future\\ErrorFuture' => __DIR__ . '/..' . '/open-telemetry/sdk/Common/Future/ErrorFuture.php', - 'OpenTelemetry\\SDK\\Common\\Future\\FutureInterface' => __DIR__ . '/..' . '/open-telemetry/sdk/Common/Future/FutureInterface.php', - 'OpenTelemetry\\SDK\\Common\\Future\\NullCancellation' => __DIR__ . '/..' . '/open-telemetry/sdk/Common/Future/NullCancellation.php', - 'OpenTelemetry\\SDK\\Common\\Http\\DependencyResolverInterface' => __DIR__ . '/..' . '/open-telemetry/sdk/Common/Http/DependencyResolverInterface.php', - 'OpenTelemetry\\SDK\\Common\\Http\\HttpPlug\\Client\\ResolverInterface' => __DIR__ . '/..' . '/open-telemetry/sdk/Common/Http/HttpPlug/Client/ResolverInterface.php', - 'OpenTelemetry\\SDK\\Common\\Http\\Psr\\Client\\ResolverInterface' => __DIR__ . '/..' . '/open-telemetry/sdk/Common/Http/Psr/Client/ResolverInterface.php', - 'OpenTelemetry\\SDK\\Common\\Http\\Psr\\Message\\FactoryResolverInterface' => __DIR__ . '/..' . '/open-telemetry/sdk/Common/Http/Psr/Message/FactoryResolverInterface.php', - 'OpenTelemetry\\SDK\\Common\\Http\\Psr\\Message\\MessageFactory' => __DIR__ . '/..' . '/open-telemetry/sdk/Common/Http/Psr/Message/MessageFactory.php', - 'OpenTelemetry\\SDK\\Common\\Http\\Psr\\Message\\MessageFactoryInterface' => __DIR__ . '/..' . '/open-telemetry/sdk/Common/Http/Psr/Message/MessageFactoryInterface.php', - 'OpenTelemetry\\SDK\\Common\\Instrumentation\\InstrumentationScope' => __DIR__ . '/..' . '/open-telemetry/sdk/Common/Instrumentation/InstrumentationScope.php', - 'OpenTelemetry\\SDK\\Common\\Instrumentation\\InstrumentationScopeFactory' => __DIR__ . '/..' . '/open-telemetry/sdk/Common/Instrumentation/InstrumentationScopeFactory.php', - 'OpenTelemetry\\SDK\\Common\\Instrumentation\\InstrumentationScopeFactoryInterface' => __DIR__ . '/..' . '/open-telemetry/sdk/Common/Instrumentation/InstrumentationScopeFactoryInterface.php', - 'OpenTelemetry\\SDK\\Common\\Instrumentation\\InstrumentationScopeInterface' => __DIR__ . '/..' . '/open-telemetry/sdk/Common/Instrumentation/InstrumentationScopeInterface.php', - 'OpenTelemetry\\SDK\\Common\\Time\\ClockFactory' => __DIR__ . '/..' . '/open-telemetry/sdk/Common/Time/ClockFactory.php', - 'OpenTelemetry\\SDK\\Common\\Time\\ClockFactoryInterface' => __DIR__ . '/..' . '/open-telemetry/sdk/Common/Time/ClockFactoryInterface.php', - 'OpenTelemetry\\SDK\\Common\\Time\\ClockInterface' => __DIR__ . '/..' . '/open-telemetry/sdk/Common/Time/ClockInterface.php', - 'OpenTelemetry\\SDK\\Common\\Time\\StopWatch' => __DIR__ . '/..' . '/open-telemetry/sdk/Common/Time/StopWatch.php', - 'OpenTelemetry\\SDK\\Common\\Time\\StopWatchFactory' => __DIR__ . '/..' . '/open-telemetry/sdk/Common/Time/StopWatchFactory.php', - 'OpenTelemetry\\SDK\\Common\\Time\\StopWatchFactoryInterface' => __DIR__ . '/..' . '/open-telemetry/sdk/Common/Time/StopWatchFactoryInterface.php', - 'OpenTelemetry\\SDK\\Common\\Time\\StopWatchInterface' => __DIR__ . '/..' . '/open-telemetry/sdk/Common/Time/StopWatchInterface.php', - 'OpenTelemetry\\SDK\\Common\\Time\\SystemClock' => __DIR__ . '/..' . '/open-telemetry/sdk/Common/Time/SystemClock.php', - 'OpenTelemetry\\SDK\\Common\\Time\\Util' => __DIR__ . '/..' . '/open-telemetry/sdk/Common/Time/Util.php', - 'OpenTelemetry\\SDK\\Common\\Util\\ClassConstantAccessor' => __DIR__ . '/..' . '/open-telemetry/sdk/Common/Util/ClassConstantAccessor.php', - 'OpenTelemetry\\SDK\\Common\\Util\\ShutdownHandler' => __DIR__ . '/..' . '/open-telemetry/sdk/Common/Util/ShutdownHandler.php', - 'OpenTelemetry\\SDK\\Common\\Util\\WeakMap' => __DIR__ . '/..' . '/open-telemetry/sdk/Common/Util/WeakMap.php', - 'OpenTelemetry\\SDK\\Logs\\ExporterFactory' => __DIR__ . '/..' . '/open-telemetry/sdk/Logs/ExporterFactory.php', - 'OpenTelemetry\\SDK\\Logs\\Exporter\\ConsoleExporter' => __DIR__ . '/..' . '/open-telemetry/sdk/Logs/Exporter/ConsoleExporter.php', - 'OpenTelemetry\\SDK\\Logs\\Exporter\\ConsoleExporterFactory' => __DIR__ . '/..' . '/open-telemetry/sdk/Logs/Exporter/ConsoleExporterFactory.php', - 'OpenTelemetry\\SDK\\Logs\\Exporter\\InMemoryExporter' => __DIR__ . '/..' . '/open-telemetry/sdk/Logs/Exporter/InMemoryExporter.php', - 'OpenTelemetry\\SDK\\Logs\\Exporter\\InMemoryExporterFactory' => __DIR__ . '/..' . '/open-telemetry/sdk/Logs/Exporter/InMemoryExporterFactory.php', - 'OpenTelemetry\\SDK\\Logs\\Exporter\\NoopExporter' => __DIR__ . '/..' . '/open-telemetry/sdk/Logs/Exporter/NoopExporter.php', - 'OpenTelemetry\\SDK\\Logs\\LogRecordExporterFactoryInterface' => __DIR__ . '/..' . '/open-telemetry/sdk/Logs/LogRecordExporterFactoryInterface.php', - 'OpenTelemetry\\SDK\\Logs\\LogRecordExporterInterface' => __DIR__ . '/..' . '/open-telemetry/sdk/Logs/LogRecordExporterInterface.php', - 'OpenTelemetry\\SDK\\Logs\\LogRecordLimits' => __DIR__ . '/..' . '/open-telemetry/sdk/Logs/LogRecordLimits.php', - 'OpenTelemetry\\SDK\\Logs\\LogRecordLimitsBuilder' => __DIR__ . '/..' . '/open-telemetry/sdk/Logs/LogRecordLimitsBuilder.php', - 'OpenTelemetry\\SDK\\Logs\\LogRecordProcessorFactory' => __DIR__ . '/..' . '/open-telemetry/sdk/Logs/LogRecordProcessorFactory.php', - 'OpenTelemetry\\SDK\\Logs\\LogRecordProcessorInterface' => __DIR__ . '/..' . '/open-telemetry/sdk/Logs/LogRecordProcessorInterface.php', - 'OpenTelemetry\\SDK\\Logs\\Logger' => __DIR__ . '/..' . '/open-telemetry/sdk/Logs/Logger.php', - 'OpenTelemetry\\SDK\\Logs\\LoggerProvider' => __DIR__ . '/..' . '/open-telemetry/sdk/Logs/LoggerProvider.php', - 'OpenTelemetry\\SDK\\Logs\\LoggerProviderBuilder' => __DIR__ . '/..' . '/open-telemetry/sdk/Logs/LoggerProviderBuilder.php', - 'OpenTelemetry\\SDK\\Logs\\LoggerProviderFactory' => __DIR__ . '/..' . '/open-telemetry/sdk/Logs/LoggerProviderFactory.php', - 'OpenTelemetry\\SDK\\Logs\\LoggerProviderInterface' => __DIR__ . '/..' . '/open-telemetry/sdk/Logs/LoggerProviderInterface.php', - 'OpenTelemetry\\SDK\\Logs\\LoggerSharedState' => __DIR__ . '/..' . '/open-telemetry/sdk/Logs/LoggerSharedState.php', - 'OpenTelemetry\\SDK\\Logs\\NoopLoggerProvider' => __DIR__ . '/..' . '/open-telemetry/sdk/Logs/NoopLoggerProvider.php', - 'OpenTelemetry\\SDK\\Logs\\Processor\\BatchLogRecordProcessor' => __DIR__ . '/..' . '/open-telemetry/sdk/Logs/Processor/BatchLogRecordProcessor.php', - 'OpenTelemetry\\SDK\\Logs\\Processor\\MultiLogRecordProcessor' => __DIR__ . '/..' . '/open-telemetry/sdk/Logs/Processor/MultiLogRecordProcessor.php', - 'OpenTelemetry\\SDK\\Logs\\Processor\\NoopLogRecordProcessor' => __DIR__ . '/..' . '/open-telemetry/sdk/Logs/Processor/NoopLogRecordProcessor.php', - 'OpenTelemetry\\SDK\\Logs\\Processor\\SimpleLogRecordProcessor' => __DIR__ . '/..' . '/open-telemetry/sdk/Logs/Processor/SimpleLogRecordProcessor.php', - 'OpenTelemetry\\SDK\\Logs\\PsrSeverityMapperInterface' => __DIR__ . '/..' . '/open-telemetry/sdk/Logs/PsrSeverityMapperInterface.php', - 'OpenTelemetry\\SDK\\Logs\\ReadWriteLogRecord' => __DIR__ . '/..' . '/open-telemetry/sdk/Logs/ReadWriteLogRecord.php', - 'OpenTelemetry\\SDK\\Logs\\ReadableLogRecord' => __DIR__ . '/..' . '/open-telemetry/sdk/Logs/ReadableLogRecord.php', - 'OpenTelemetry\\SDK\\Logs\\SimplePsrFileLogger' => __DIR__ . '/..' . '/open-telemetry/sdk/Logs/SimplePsrFileLogger.php', - 'OpenTelemetry\\SDK\\Metrics\\AggregationInterface' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/AggregationInterface.php', - 'OpenTelemetry\\SDK\\Metrics\\AggregationTemporalitySelectorInterface' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/AggregationTemporalitySelectorInterface.php', - 'OpenTelemetry\\SDK\\Metrics\\Aggregation\\ExplicitBucketHistogramAggregation' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/Aggregation/ExplicitBucketHistogramAggregation.php', - 'OpenTelemetry\\SDK\\Metrics\\Aggregation\\ExplicitBucketHistogramSummary' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/Aggregation/ExplicitBucketHistogramSummary.php', - 'OpenTelemetry\\SDK\\Metrics\\Aggregation\\LastValueAggregation' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/Aggregation/LastValueAggregation.php', - 'OpenTelemetry\\SDK\\Metrics\\Aggregation\\LastValueSummary' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/Aggregation/LastValueSummary.php', - 'OpenTelemetry\\SDK\\Metrics\\Aggregation\\SumAggregation' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/Aggregation/SumAggregation.php', - 'OpenTelemetry\\SDK\\Metrics\\Aggregation\\SumSummary' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/Aggregation/SumSummary.php', - 'OpenTelemetry\\SDK\\Metrics\\AttributeProcessorInterface' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/AttributeProcessorInterface.php', - 'OpenTelemetry\\SDK\\Metrics\\AttributeProcessor\\FilteredAttributeProcessor' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/AttributeProcessor/FilteredAttributeProcessor.php', - 'OpenTelemetry\\SDK\\Metrics\\AttributeProcessor\\IdentityAttributeProcessor' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/AttributeProcessor/IdentityAttributeProcessor.php', - 'OpenTelemetry\\SDK\\Metrics\\Counter' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/Counter.php', - 'OpenTelemetry\\SDK\\Metrics\\Data\\DataInterface' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/Data/DataInterface.php', - 'OpenTelemetry\\SDK\\Metrics\\Data\\Exemplar' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/Data/Exemplar.php', - 'OpenTelemetry\\SDK\\Metrics\\Data\\Gauge' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/Data/Gauge.php', - 'OpenTelemetry\\SDK\\Metrics\\Data\\Histogram' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/Data/Histogram.php', - 'OpenTelemetry\\SDK\\Metrics\\Data\\HistogramDataPoint' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/Data/HistogramDataPoint.php', - 'OpenTelemetry\\SDK\\Metrics\\Data\\Metric' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/Data/Metric.php', - 'OpenTelemetry\\SDK\\Metrics\\Data\\NumberDataPoint' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/Data/NumberDataPoint.php', - 'OpenTelemetry\\SDK\\Metrics\\Data\\Sum' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/Data/Sum.php', - 'OpenTelemetry\\SDK\\Metrics\\Data\\Temporality' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/Data/Temporality.php', - 'OpenTelemetry\\SDK\\Metrics\\DefaultAggregationProviderInterface' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/DefaultAggregationProviderInterface.php', - 'OpenTelemetry\\SDK\\Metrics\\DefaultAggregationProviderTrait' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/DefaultAggregationProviderTrait.php', - 'OpenTelemetry\\SDK\\Metrics\\Exemplar\\BucketEntry' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/Exemplar/BucketEntry.php', - 'OpenTelemetry\\SDK\\Metrics\\Exemplar\\BucketStorage' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/Exemplar/BucketStorage.php', - 'OpenTelemetry\\SDK\\Metrics\\Exemplar\\ExemplarFilterInterface' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/Exemplar/ExemplarFilterInterface.php', - 'OpenTelemetry\\SDK\\Metrics\\Exemplar\\ExemplarFilter\\AllExemplarFilter' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/Exemplar/ExemplarFilter/AllExemplarFilter.php', - 'OpenTelemetry\\SDK\\Metrics\\Exemplar\\ExemplarFilter\\NoneExemplarFilter' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/Exemplar/ExemplarFilter/NoneExemplarFilter.php', - 'OpenTelemetry\\SDK\\Metrics\\Exemplar\\ExemplarFilter\\WithSampledTraceExemplarFilter' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/Exemplar/ExemplarFilter/WithSampledTraceExemplarFilter.php', - 'OpenTelemetry\\SDK\\Metrics\\Exemplar\\ExemplarReservoirInterface' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/Exemplar/ExemplarReservoirInterface.php', - 'OpenTelemetry\\SDK\\Metrics\\Exemplar\\FilteredReservoir' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/Exemplar/FilteredReservoir.php', - 'OpenTelemetry\\SDK\\Metrics\\Exemplar\\FixedSizeReservoir' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/Exemplar/FixedSizeReservoir.php', - 'OpenTelemetry\\SDK\\Metrics\\Exemplar\\HistogramBucketReservoir' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/Exemplar/HistogramBucketReservoir.php', - 'OpenTelemetry\\SDK\\Metrics\\Exemplar\\NoopReservoir' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/Exemplar/NoopReservoir.php', - 'OpenTelemetry\\SDK\\Metrics\\Histogram' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/Histogram.php', - 'OpenTelemetry\\SDK\\Metrics\\Instrument' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/Instrument.php', - 'OpenTelemetry\\SDK\\Metrics\\InstrumentType' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/InstrumentType.php', - 'OpenTelemetry\\SDK\\Metrics\\Meter' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/Meter.php', - 'OpenTelemetry\\SDK\\Metrics\\MeterInstruments' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/MeterInstruments.php', - 'OpenTelemetry\\SDK\\Metrics\\MeterProvider' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/MeterProvider.php', - 'OpenTelemetry\\SDK\\Metrics\\MeterProviderBuilder' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/MeterProviderBuilder.php', - 'OpenTelemetry\\SDK\\Metrics\\MeterProviderFactory' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/MeterProviderFactory.php', - 'OpenTelemetry\\SDK\\Metrics\\MeterProviderInterface' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/MeterProviderInterface.php', - 'OpenTelemetry\\SDK\\Metrics\\MetricExporterFactoryInterface' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/MetricExporterFactoryInterface.php', - 'OpenTelemetry\\SDK\\Metrics\\MetricExporterInterface' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/MetricExporterInterface.php', - 'OpenTelemetry\\SDK\\Metrics\\MetricExporter\\ConsoleMetricExporter' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/MetricExporter/ConsoleMetricExporter.php', - 'OpenTelemetry\\SDK\\Metrics\\MetricExporter\\ConsoleMetricExporterFactory' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/MetricExporter/ConsoleMetricExporterFactory.php', - 'OpenTelemetry\\SDK\\Metrics\\MetricExporter\\InMemoryExporter' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/MetricExporter/InMemoryExporter.php', - 'OpenTelemetry\\SDK\\Metrics\\MetricExporter\\InMemoryExporterFactory' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/MetricExporter/InMemoryExporterFactory.php', - 'OpenTelemetry\\SDK\\Metrics\\MetricExporter\\NoopMetricExporter' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/MetricExporter/NoopMetricExporter.php', - 'OpenTelemetry\\SDK\\Metrics\\MetricExporter\\NoopMetricExporterFactory' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/MetricExporter/NoopMetricExporterFactory.php', - 'OpenTelemetry\\SDK\\Metrics\\MetricFactoryInterface' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/MetricFactoryInterface.php', - 'OpenTelemetry\\SDK\\Metrics\\MetricFactory\\StreamFactory' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/MetricFactory/StreamFactory.php', - 'OpenTelemetry\\SDK\\Metrics\\MetricFactory\\StreamMetricSource' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/MetricFactory/StreamMetricSource.php', - 'OpenTelemetry\\SDK\\Metrics\\MetricFactory\\StreamMetricSourceProvider' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/MetricFactory/StreamMetricSourceProvider.php', - 'OpenTelemetry\\SDK\\Metrics\\MetricMetadataInterface' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/MetricMetadataInterface.php', - 'OpenTelemetry\\SDK\\Metrics\\MetricReaderInterface' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/MetricReaderInterface.php', - 'OpenTelemetry\\SDK\\Metrics\\MetricReader\\ExportingReader' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/MetricReader/ExportingReader.php', - 'OpenTelemetry\\SDK\\Metrics\\MetricRegistrationInterface' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/MetricRegistrationInterface.php', - 'OpenTelemetry\\SDK\\Metrics\\MetricRegistration\\MultiRegistryRegistration' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/MetricRegistration/MultiRegistryRegistration.php', - 'OpenTelemetry\\SDK\\Metrics\\MetricRegistration\\RegistryRegistration' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/MetricRegistration/RegistryRegistration.php', - 'OpenTelemetry\\SDK\\Metrics\\MetricRegistry\\MetricCollectorInterface' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/MetricRegistry/MetricCollectorInterface.php', - 'OpenTelemetry\\SDK\\Metrics\\MetricRegistry\\MetricRegistry' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/MetricRegistry/MetricRegistry.php', - 'OpenTelemetry\\SDK\\Metrics\\MetricRegistry\\MetricRegistryInterface' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/MetricRegistry/MetricRegistryInterface.php', - 'OpenTelemetry\\SDK\\Metrics\\MetricRegistry\\MetricWriterInterface' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/MetricRegistry/MetricWriterInterface.php', - 'OpenTelemetry\\SDK\\Metrics\\MetricRegistry\\MultiObserver' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/MetricRegistry/MultiObserver.php', - 'OpenTelemetry\\SDK\\Metrics\\MetricRegistry\\NoopObserver' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/MetricRegistry/NoopObserver.php', - 'OpenTelemetry\\SDK\\Metrics\\MetricSourceInterface' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/MetricSourceInterface.php', - 'OpenTelemetry\\SDK\\Metrics\\MetricSourceProviderInterface' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/MetricSourceProviderInterface.php', - 'OpenTelemetry\\SDK\\Metrics\\MetricSourceRegistryInterface' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/MetricSourceRegistryInterface.php', - 'OpenTelemetry\\SDK\\Metrics\\NoopMeterProvider' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/NoopMeterProvider.php', - 'OpenTelemetry\\SDK\\Metrics\\ObservableCallback' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/ObservableCallback.php', - 'OpenTelemetry\\SDK\\Metrics\\ObservableCallbackDestructor' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/ObservableCallbackDestructor.php', - 'OpenTelemetry\\SDK\\Metrics\\ObservableCounter' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/ObservableCounter.php', - 'OpenTelemetry\\SDK\\Metrics\\ObservableGauge' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/ObservableGauge.php', - 'OpenTelemetry\\SDK\\Metrics\\ObservableInstrumentTrait' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/ObservableInstrumentTrait.php', - 'OpenTelemetry\\SDK\\Metrics\\ObservableUpDownCounter' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/ObservableUpDownCounter.php', - 'OpenTelemetry\\SDK\\Metrics\\PushMetricExporterInterface' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/PushMetricExporterInterface.php', - 'OpenTelemetry\\SDK\\Metrics\\ReferenceCounterInterface' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/ReferenceCounterInterface.php', - 'OpenTelemetry\\SDK\\Metrics\\StalenessHandlerFactoryInterface' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/StalenessHandlerFactoryInterface.php', - 'OpenTelemetry\\SDK\\Metrics\\StalenessHandlerInterface' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/StalenessHandlerInterface.php', - 'OpenTelemetry\\SDK\\Metrics\\StalenessHandler\\DelayedStalenessHandler' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/StalenessHandler/DelayedStalenessHandler.php', - 'OpenTelemetry\\SDK\\Metrics\\StalenessHandler\\DelayedStalenessHandlerFactory' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/StalenessHandler/DelayedStalenessHandlerFactory.php', - 'OpenTelemetry\\SDK\\Metrics\\StalenessHandler\\ImmediateStalenessHandler' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/StalenessHandler/ImmediateStalenessHandler.php', - 'OpenTelemetry\\SDK\\Metrics\\StalenessHandler\\ImmediateStalenessHandlerFactory' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/StalenessHandler/ImmediateStalenessHandlerFactory.php', - 'OpenTelemetry\\SDK\\Metrics\\StalenessHandler\\NoopStalenessHandler' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/StalenessHandler/NoopStalenessHandler.php', - 'OpenTelemetry\\SDK\\Metrics\\StalenessHandler\\NoopStalenessHandlerFactory' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/StalenessHandler/NoopStalenessHandlerFactory.php', - 'OpenTelemetry\\SDK\\Metrics\\Stream\\AsynchronousMetricStream' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/Stream/AsynchronousMetricStream.php', - 'OpenTelemetry\\SDK\\Metrics\\Stream\\Delta' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/Stream/Delta.php', - 'OpenTelemetry\\SDK\\Metrics\\Stream\\DeltaStorage' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/Stream/DeltaStorage.php', - 'OpenTelemetry\\SDK\\Metrics\\Stream\\Metric' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/Stream/Metric.php', - 'OpenTelemetry\\SDK\\Metrics\\Stream\\MetricAggregator' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/Stream/MetricAggregator.php', - 'OpenTelemetry\\SDK\\Metrics\\Stream\\MetricAggregatorFactory' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/Stream/MetricAggregatorFactory.php', - 'OpenTelemetry\\SDK\\Metrics\\Stream\\MetricAggregatorFactoryInterface' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/Stream/MetricAggregatorFactoryInterface.php', - 'OpenTelemetry\\SDK\\Metrics\\Stream\\MetricAggregatorInterface' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/Stream/MetricAggregatorInterface.php', - 'OpenTelemetry\\SDK\\Metrics\\Stream\\MetricCollectorInterface' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/Stream/MetricCollectorInterface.php', - 'OpenTelemetry\\SDK\\Metrics\\Stream\\MetricStreamInterface' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/Stream/MetricStreamInterface.php', - 'OpenTelemetry\\SDK\\Metrics\\Stream\\SynchronousMetricStream' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/Stream/SynchronousMetricStream.php', - 'OpenTelemetry\\SDK\\Metrics\\Stream\\WritableMetricStreamInterface' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/Stream/WritableMetricStreamInterface.php', - 'OpenTelemetry\\SDK\\Metrics\\UpDownCounter' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/UpDownCounter.php', - 'OpenTelemetry\\SDK\\Metrics\\ViewProjection' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/ViewProjection.php', - 'OpenTelemetry\\SDK\\Metrics\\ViewRegistryInterface' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/ViewRegistryInterface.php', - 'OpenTelemetry\\SDK\\Metrics\\View\\CriteriaViewRegistry' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/View/CriteriaViewRegistry.php', - 'OpenTelemetry\\SDK\\Metrics\\View\\SelectionCriteriaInterface' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/View/SelectionCriteriaInterface.php', - 'OpenTelemetry\\SDK\\Metrics\\View\\SelectionCriteria\\AllCriteria' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/View/SelectionCriteria/AllCriteria.php', - 'OpenTelemetry\\SDK\\Metrics\\View\\SelectionCriteria\\InstrumentNameCriteria' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/View/SelectionCriteria/InstrumentNameCriteria.php', - 'OpenTelemetry\\SDK\\Metrics\\View\\SelectionCriteria\\InstrumentTypeCriteria' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/View/SelectionCriteria/InstrumentTypeCriteria.php', - 'OpenTelemetry\\SDK\\Metrics\\View\\SelectionCriteria\\InstrumentationScopeNameCriteria' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/View/SelectionCriteria/InstrumentationScopeNameCriteria.php', - 'OpenTelemetry\\SDK\\Metrics\\View\\SelectionCriteria\\InstrumentationScopeSchemaUrlCriteria' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/View/SelectionCriteria/InstrumentationScopeSchemaUrlCriteria.php', - 'OpenTelemetry\\SDK\\Metrics\\View\\SelectionCriteria\\InstrumentationScopeVersionCriteria' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/View/SelectionCriteria/InstrumentationScopeVersionCriteria.php', - 'OpenTelemetry\\SDK\\Metrics\\View\\ViewTemplate' => __DIR__ . '/..' . '/open-telemetry/sdk/Metrics/View/ViewTemplate.php', - 'OpenTelemetry\\SDK\\Propagation\\PropagatorFactory' => __DIR__ . '/..' . '/open-telemetry/sdk/Propagation/PropagatorFactory.php', - 'OpenTelemetry\\SDK\\Registry' => __DIR__ . '/..' . '/open-telemetry/sdk/Registry.php', - 'OpenTelemetry\\SDK\\Resource\\Detectors\\Composer' => __DIR__ . '/..' . '/open-telemetry/sdk/Resource/Detectors/Composer.php', - 'OpenTelemetry\\SDK\\Resource\\Detectors\\Composite' => __DIR__ . '/..' . '/open-telemetry/sdk/Resource/Detectors/Composite.php', - 'OpenTelemetry\\SDK\\Resource\\Detectors\\Constant' => __DIR__ . '/..' . '/open-telemetry/sdk/Resource/Detectors/Constant.php', - 'OpenTelemetry\\SDK\\Resource\\Detectors\\Environment' => __DIR__ . '/..' . '/open-telemetry/sdk/Resource/Detectors/Environment.php', - 'OpenTelemetry\\SDK\\Resource\\Detectors\\Host' => __DIR__ . '/..' . '/open-telemetry/sdk/Resource/Detectors/Host.php', - 'OpenTelemetry\\SDK\\Resource\\Detectors\\OperatingSystem' => __DIR__ . '/..' . '/open-telemetry/sdk/Resource/Detectors/OperatingSystem.php', - 'OpenTelemetry\\SDK\\Resource\\Detectors\\Process' => __DIR__ . '/..' . '/open-telemetry/sdk/Resource/Detectors/Process.php', - 'OpenTelemetry\\SDK\\Resource\\Detectors\\ProcessRuntime' => __DIR__ . '/..' . '/open-telemetry/sdk/Resource/Detectors/ProcessRuntime.php', - 'OpenTelemetry\\SDK\\Resource\\Detectors\\Sdk' => __DIR__ . '/..' . '/open-telemetry/sdk/Resource/Detectors/Sdk.php', - 'OpenTelemetry\\SDK\\Resource\\Detectors\\SdkProvided' => __DIR__ . '/..' . '/open-telemetry/sdk/Resource/Detectors/SdkProvided.php', - 'OpenTelemetry\\SDK\\Resource\\ResourceDetectorInterface' => __DIR__ . '/..' . '/open-telemetry/sdk/Resource/ResourceDetectorInterface.php', - 'OpenTelemetry\\SDK\\Resource\\ResourceInfo' => __DIR__ . '/..' . '/open-telemetry/sdk/Resource/ResourceInfo.php', - 'OpenTelemetry\\SDK\\Resource\\ResourceInfoFactory' => __DIR__ . '/..' . '/open-telemetry/sdk/Resource/ResourceInfoFactory.php', - 'OpenTelemetry\\SDK\\Sdk' => __DIR__ . '/..' . '/open-telemetry/sdk/Sdk.php', - 'OpenTelemetry\\SDK\\SdkAutoloader' => __DIR__ . '/..' . '/open-telemetry/sdk/SdkAutoloader.php', - 'OpenTelemetry\\SDK\\SdkBuilder' => __DIR__ . '/..' . '/open-telemetry/sdk/SdkBuilder.php', - 'OpenTelemetry\\SDK\\Trace\\Behavior\\LoggerAwareTrait' => __DIR__ . '/..' . '/open-telemetry/sdk/Trace/Behavior/LoggerAwareTrait.php', - 'OpenTelemetry\\SDK\\Trace\\Behavior\\SpanExporterDecoratorTrait' => __DIR__ . '/..' . '/open-telemetry/sdk/Trace/Behavior/SpanExporterDecoratorTrait.php', - 'OpenTelemetry\\SDK\\Trace\\Behavior\\SpanExporterTrait' => __DIR__ . '/..' . '/open-telemetry/sdk/Trace/Behavior/SpanExporterTrait.php', - 'OpenTelemetry\\SDK\\Trace\\Behavior\\UsesSpanConverterTrait' => __DIR__ . '/..' . '/open-telemetry/sdk/Trace/Behavior/UsesSpanConverterTrait.php', - 'OpenTelemetry\\SDK\\Trace\\Event' => __DIR__ . '/..' . '/open-telemetry/sdk/Trace/Event.php', - 'OpenTelemetry\\SDK\\Trace\\EventInterface' => __DIR__ . '/..' . '/open-telemetry/sdk/Trace/EventInterface.php', - 'OpenTelemetry\\SDK\\Trace\\ExporterFactory' => __DIR__ . '/..' . '/open-telemetry/sdk/Trace/ExporterFactory.php', - 'OpenTelemetry\\SDK\\Trace\\IdGeneratorInterface' => __DIR__ . '/..' . '/open-telemetry/sdk/Trace/IdGeneratorInterface.php', - 'OpenTelemetry\\SDK\\Trace\\ImmutableSpan' => __DIR__ . '/..' . '/open-telemetry/sdk/Trace/ImmutableSpan.php', - 'OpenTelemetry\\SDK\\Trace\\Link' => __DIR__ . '/..' . '/open-telemetry/sdk/Trace/Link.php', - 'OpenTelemetry\\SDK\\Trace\\LinkInterface' => __DIR__ . '/..' . '/open-telemetry/sdk/Trace/LinkInterface.php', - 'OpenTelemetry\\SDK\\Trace\\NoopTracerProvider' => __DIR__ . '/..' . '/open-telemetry/sdk/Trace/NoopTracerProvider.php', - 'OpenTelemetry\\SDK\\Trace\\RandomIdGenerator' => __DIR__ . '/..' . '/open-telemetry/sdk/Trace/RandomIdGenerator.php', - 'OpenTelemetry\\SDK\\Trace\\ReadWriteSpanInterface' => __DIR__ . '/..' . '/open-telemetry/sdk/Trace/ReadWriteSpanInterface.php', - 'OpenTelemetry\\SDK\\Trace\\ReadableSpanInterface' => __DIR__ . '/..' . '/open-telemetry/sdk/Trace/ReadableSpanInterface.php', - 'OpenTelemetry\\SDK\\Trace\\SamplerFactory' => __DIR__ . '/..' . '/open-telemetry/sdk/Trace/SamplerFactory.php', - 'OpenTelemetry\\SDK\\Trace\\SamplerInterface' => __DIR__ . '/..' . '/open-telemetry/sdk/Trace/SamplerInterface.php', - 'OpenTelemetry\\SDK\\Trace\\Sampler\\AlwaysOffSampler' => __DIR__ . '/..' . '/open-telemetry/sdk/Trace/Sampler/AlwaysOffSampler.php', - 'OpenTelemetry\\SDK\\Trace\\Sampler\\AlwaysOnSampler' => __DIR__ . '/..' . '/open-telemetry/sdk/Trace/Sampler/AlwaysOnSampler.php', - 'OpenTelemetry\\SDK\\Trace\\Sampler\\ParentBased' => __DIR__ . '/..' . '/open-telemetry/sdk/Trace/Sampler/ParentBased.php', - 'OpenTelemetry\\SDK\\Trace\\Sampler\\TraceIdRatioBasedSampler' => __DIR__ . '/..' . '/open-telemetry/sdk/Trace/Sampler/TraceIdRatioBasedSampler.php', - 'OpenTelemetry\\SDK\\Trace\\SamplingResult' => __DIR__ . '/..' . '/open-telemetry/sdk/Trace/SamplingResult.php', - 'OpenTelemetry\\SDK\\Trace\\Span' => __DIR__ . '/..' . '/open-telemetry/sdk/Trace/Span.php', - 'OpenTelemetry\\SDK\\Trace\\SpanBuilder' => __DIR__ . '/..' . '/open-telemetry/sdk/Trace/SpanBuilder.php', - 'OpenTelemetry\\SDK\\Trace\\SpanConverterInterface' => __DIR__ . '/..' . '/open-telemetry/sdk/Trace/SpanConverterInterface.php', - 'OpenTelemetry\\SDK\\Trace\\SpanDataInterface' => __DIR__ . '/..' . '/open-telemetry/sdk/Trace/SpanDataInterface.php', - 'OpenTelemetry\\SDK\\Trace\\SpanExporterInterface' => __DIR__ . '/..' . '/open-telemetry/sdk/Trace/SpanExporterInterface.php', - 'OpenTelemetry\\SDK\\Trace\\SpanExporter\\AbstractDecorator' => __DIR__ . '/..' . '/open-telemetry/sdk/Trace/SpanExporter/AbstractDecorator.php', - 'OpenTelemetry\\SDK\\Trace\\SpanExporter\\ConsoleSpanExporter' => __DIR__ . '/..' . '/open-telemetry/sdk/Trace/SpanExporter/ConsoleSpanExporter.php', - 'OpenTelemetry\\SDK\\Trace\\SpanExporter\\ConsoleSpanExporterFactory' => __DIR__ . '/..' . '/open-telemetry/sdk/Trace/SpanExporter/ConsoleSpanExporterFactory.php', - 'OpenTelemetry\\SDK\\Trace\\SpanExporter\\FriendlySpanConverter' => __DIR__ . '/..' . '/open-telemetry/sdk/Trace/SpanExporter/FriendlySpanConverter.php', - 'OpenTelemetry\\SDK\\Trace\\SpanExporter\\InMemoryExporter' => __DIR__ . '/..' . '/open-telemetry/sdk/Trace/SpanExporter/InMemoryExporter.php', - 'OpenTelemetry\\SDK\\Trace\\SpanExporter\\InMemorySpanExporterFactory' => __DIR__ . '/..' . '/open-telemetry/sdk/Trace/SpanExporter/InMemorySpanExporterFactory.php', - 'OpenTelemetry\\SDK\\Trace\\SpanExporter\\LoggerDecorator' => __DIR__ . '/..' . '/open-telemetry/sdk/Trace/SpanExporter/LoggerDecorator.php', - 'OpenTelemetry\\SDK\\Trace\\SpanExporter\\LoggerExporter' => __DIR__ . '/..' . '/open-telemetry/sdk/Trace/SpanExporter/LoggerExporter.php', - 'OpenTelemetry\\SDK\\Trace\\SpanExporter\\NullSpanConverter' => __DIR__ . '/..' . '/open-telemetry/sdk/Trace/SpanExporter/NullSpanConverter.php', - 'OpenTelemetry\\SDK\\Trace\\SpanExporter\\SpanExporterFactoryInterface' => __DIR__ . '/..' . '/open-telemetry/sdk/Trace/SpanExporter/SpanExporterFactoryInterface.php', - 'OpenTelemetry\\SDK\\Trace\\SpanLimits' => __DIR__ . '/..' . '/open-telemetry/sdk/Trace/SpanLimits.php', - 'OpenTelemetry\\SDK\\Trace\\SpanLimitsBuilder' => __DIR__ . '/..' . '/open-telemetry/sdk/Trace/SpanLimitsBuilder.php', - 'OpenTelemetry\\SDK\\Trace\\SpanProcessorFactory' => __DIR__ . '/..' . '/open-telemetry/sdk/Trace/SpanProcessorFactory.php', - 'OpenTelemetry\\SDK\\Trace\\SpanProcessorInterface' => __DIR__ . '/..' . '/open-telemetry/sdk/Trace/SpanProcessorInterface.php', - 'OpenTelemetry\\SDK\\Trace\\SpanProcessor\\BatchSpanProcessor' => __DIR__ . '/..' . '/open-telemetry/sdk/Trace/SpanProcessor/BatchSpanProcessor.php', - 'OpenTelemetry\\SDK\\Trace\\SpanProcessor\\BatchSpanProcessorBuilder' => __DIR__ . '/..' . '/open-telemetry/sdk/Trace/SpanProcessor/BatchSpanProcessorBuilder.php', - 'OpenTelemetry\\SDK\\Trace\\SpanProcessor\\MultiSpanProcessor' => __DIR__ . '/..' . '/open-telemetry/sdk/Trace/SpanProcessor/MultiSpanProcessor.php', - 'OpenTelemetry\\SDK\\Trace\\SpanProcessor\\NoopSpanProcessor' => __DIR__ . '/..' . '/open-telemetry/sdk/Trace/SpanProcessor/NoopSpanProcessor.php', - 'OpenTelemetry\\SDK\\Trace\\SpanProcessor\\SimpleSpanProcessor' => __DIR__ . '/..' . '/open-telemetry/sdk/Trace/SpanProcessor/SimpleSpanProcessor.php', - 'OpenTelemetry\\SDK\\Trace\\StatusData' => __DIR__ . '/..' . '/open-telemetry/sdk/Trace/StatusData.php', - 'OpenTelemetry\\SDK\\Trace\\StatusDataInterface' => __DIR__ . '/..' . '/open-telemetry/sdk/Trace/StatusDataInterface.php', - 'OpenTelemetry\\SDK\\Trace\\Tracer' => __DIR__ . '/..' . '/open-telemetry/sdk/Trace/Tracer.php', - 'OpenTelemetry\\SDK\\Trace\\TracerProvider' => __DIR__ . '/..' . '/open-telemetry/sdk/Trace/TracerProvider.php', - 'OpenTelemetry\\SDK\\Trace\\TracerProviderBuilder' => __DIR__ . '/..' . '/open-telemetry/sdk/Trace/TracerProviderBuilder.php', - 'OpenTelemetry\\SDK\\Trace\\TracerProviderFactory' => __DIR__ . '/..' . '/open-telemetry/sdk/Trace/TracerProviderFactory.php', - 'OpenTelemetry\\SDK\\Trace\\TracerProviderInterface' => __DIR__ . '/..' . '/open-telemetry/sdk/Trace/TracerProviderInterface.php', - 'OpenTelemetry\\SDK\\Trace\\TracerSharedState' => __DIR__ . '/..' . '/open-telemetry/sdk/Trace/TracerSharedState.php', - 'OpenTelemetry\\SemConv\\ResourceAttributes' => __DIR__ . '/..' . '/open-telemetry/sem-conv/ResourceAttributes.php', - 'OpenTelemetry\\SemConv\\TraceAttributes' => __DIR__ . '/..' . '/open-telemetry/sem-conv/TraceAttributes.php', - 'Opentelemetry\\Proto\\Collector\\Logs\\V1\\ExportLogsPartialSuccess' => __DIR__ . '/..' . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Logs/V1/ExportLogsPartialSuccess.php', - 'Opentelemetry\\Proto\\Collector\\Logs\\V1\\ExportLogsServiceRequest' => __DIR__ . '/..' . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Logs/V1/ExportLogsServiceRequest.php', - 'Opentelemetry\\Proto\\Collector\\Logs\\V1\\ExportLogsServiceResponse' => __DIR__ . '/..' . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Logs/V1/ExportLogsServiceResponse.php', - 'Opentelemetry\\Proto\\Collector\\Logs\\V1\\LogsServiceClient' => __DIR__ . '/..' . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Logs/V1/LogsServiceClient.php', - 'Opentelemetry\\Proto\\Collector\\Metrics\\V1\\ExportMetricsPartialSuccess' => __DIR__ . '/..' . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Metrics/V1/ExportMetricsPartialSuccess.php', - 'Opentelemetry\\Proto\\Collector\\Metrics\\V1\\ExportMetricsServiceRequest' => __DIR__ . '/..' . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Metrics/V1/ExportMetricsServiceRequest.php', - 'Opentelemetry\\Proto\\Collector\\Metrics\\V1\\ExportMetricsServiceResponse' => __DIR__ . '/..' . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Metrics/V1/ExportMetricsServiceResponse.php', - 'Opentelemetry\\Proto\\Collector\\Metrics\\V1\\MetricsServiceClient' => __DIR__ . '/..' . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Metrics/V1/MetricsServiceClient.php', - 'Opentelemetry\\Proto\\Collector\\Trace\\V1\\ExportTracePartialSuccess' => __DIR__ . '/..' . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Trace/V1/ExportTracePartialSuccess.php', - 'Opentelemetry\\Proto\\Collector\\Trace\\V1\\ExportTraceServiceRequest' => __DIR__ . '/..' . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Trace/V1/ExportTraceServiceRequest.php', - 'Opentelemetry\\Proto\\Collector\\Trace\\V1\\ExportTraceServiceResponse' => __DIR__ . '/..' . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Trace/V1/ExportTraceServiceResponse.php', - 'Opentelemetry\\Proto\\Collector\\Trace\\V1\\TraceServiceClient' => __DIR__ . '/..' . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Trace/V1/TraceServiceClient.php', - 'Opentelemetry\\Proto\\Common\\V1\\AnyValue' => __DIR__ . '/..' . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Common/V1/AnyValue.php', - 'Opentelemetry\\Proto\\Common\\V1\\ArrayValue' => __DIR__ . '/..' . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Common/V1/ArrayValue.php', - 'Opentelemetry\\Proto\\Common\\V1\\InstrumentationLibrary' => __DIR__ . '/..' . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Common/V1/InstrumentationLibrary.php', - 'Opentelemetry\\Proto\\Common\\V1\\InstrumentationScope' => __DIR__ . '/..' . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Common/V1/InstrumentationScope.php', - 'Opentelemetry\\Proto\\Common\\V1\\KeyValue' => __DIR__ . '/..' . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Common/V1/KeyValue.php', - 'Opentelemetry\\Proto\\Common\\V1\\KeyValueList' => __DIR__ . '/..' . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Common/V1/KeyValueList.php', - 'Opentelemetry\\Proto\\Common\\V1\\StringKeyValue' => __DIR__ . '/..' . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Common/V1/StringKeyValue.php', - 'Opentelemetry\\Proto\\Logs\\V1\\InstrumentationLibraryLogs' => __DIR__ . '/..' . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Logs/V1/InstrumentationLibraryLogs.php', - 'Opentelemetry\\Proto\\Logs\\V1\\LogRecord' => __DIR__ . '/..' . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Logs/V1/LogRecord.php', - 'Opentelemetry\\Proto\\Logs\\V1\\LogRecordFlags' => __DIR__ . '/..' . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Logs/V1/LogRecordFlags.php', - 'Opentelemetry\\Proto\\Logs\\V1\\LogsData' => __DIR__ . '/..' . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Logs/V1/LogsData.php', - 'Opentelemetry\\Proto\\Logs\\V1\\ResourceLogs' => __DIR__ . '/..' . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Logs/V1/ResourceLogs.php', - 'Opentelemetry\\Proto\\Logs\\V1\\ScopeLogs' => __DIR__ . '/..' . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Logs/V1/ScopeLogs.php', - 'Opentelemetry\\Proto\\Logs\\V1\\SeverityNumber' => __DIR__ . '/..' . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Logs/V1/SeverityNumber.php', - 'Opentelemetry\\Proto\\Metrics\\Experimental\\MetricConfigRequest' => __DIR__ . '/..' . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/Experimental/MetricConfigRequest.php', - 'Opentelemetry\\Proto\\Metrics\\Experimental\\MetricConfigResponse' => __DIR__ . '/..' . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/Experimental/MetricConfigResponse.php', - 'Opentelemetry\\Proto\\Metrics\\Experimental\\MetricConfigResponse\\Schedule' => __DIR__ . '/..' . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/Experimental/MetricConfigResponse/Schedule.php', - 'Opentelemetry\\Proto\\Metrics\\Experimental\\MetricConfigResponse\\Schedule\\Pattern' => __DIR__ . '/..' . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/Experimental/MetricConfigResponse/Schedule/Pattern.php', - 'Opentelemetry\\Proto\\Metrics\\Experimental\\MetricConfigResponse_Schedule' => __DIR__ . '/..' . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/Experimental/MetricConfigResponse_Schedule.php', - 'Opentelemetry\\Proto\\Metrics\\Experimental\\MetricConfigResponse_Schedule_Pattern' => __DIR__ . '/..' . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/Experimental/MetricConfigResponse_Schedule_Pattern.php', - 'Opentelemetry\\Proto\\Metrics\\V1\\AggregationTemporality' => __DIR__ . '/..' . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/AggregationTemporality.php', - 'Opentelemetry\\Proto\\Metrics\\V1\\DataPointFlags' => __DIR__ . '/..' . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/DataPointFlags.php', - 'Opentelemetry\\Proto\\Metrics\\V1\\Exemplar' => __DIR__ . '/..' . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/Exemplar.php', - 'Opentelemetry\\Proto\\Metrics\\V1\\ExponentialHistogram' => __DIR__ . '/..' . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/ExponentialHistogram.php', - 'Opentelemetry\\Proto\\Metrics\\V1\\ExponentialHistogramDataPoint' => __DIR__ . '/..' . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/ExponentialHistogramDataPoint.php', - 'Opentelemetry\\Proto\\Metrics\\V1\\ExponentialHistogramDataPoint\\Buckets' => __DIR__ . '/..' . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/ExponentialHistogramDataPoint/Buckets.php', - 'Opentelemetry\\Proto\\Metrics\\V1\\ExponentialHistogramDataPoint_Buckets' => __DIR__ . '/..' . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/ExponentialHistogramDataPoint_Buckets.php', - 'Opentelemetry\\Proto\\Metrics\\V1\\Gauge' => __DIR__ . '/..' . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/Gauge.php', - 'Opentelemetry\\Proto\\Metrics\\V1\\Histogram' => __DIR__ . '/..' . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/Histogram.php', - 'Opentelemetry\\Proto\\Metrics\\V1\\HistogramDataPoint' => __DIR__ . '/..' . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/HistogramDataPoint.php', - 'Opentelemetry\\Proto\\Metrics\\V1\\InstrumentationLibraryMetrics' => __DIR__ . '/..' . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/InstrumentationLibraryMetrics.php', - 'Opentelemetry\\Proto\\Metrics\\V1\\IntDataPoint' => __DIR__ . '/..' . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/IntDataPoint.php', - 'Opentelemetry\\Proto\\Metrics\\V1\\IntExemplar' => __DIR__ . '/..' . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/IntExemplar.php', - 'Opentelemetry\\Proto\\Metrics\\V1\\IntGauge' => __DIR__ . '/..' . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/IntGauge.php', - 'Opentelemetry\\Proto\\Metrics\\V1\\IntHistogram' => __DIR__ . '/..' . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/IntHistogram.php', - 'Opentelemetry\\Proto\\Metrics\\V1\\IntHistogramDataPoint' => __DIR__ . '/..' . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/IntHistogramDataPoint.php', - 'Opentelemetry\\Proto\\Metrics\\V1\\IntSum' => __DIR__ . '/..' . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/IntSum.php', - 'Opentelemetry\\Proto\\Metrics\\V1\\Metric' => __DIR__ . '/..' . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/Metric.php', - 'Opentelemetry\\Proto\\Metrics\\V1\\MetricsData' => __DIR__ . '/..' . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/MetricsData.php', - 'Opentelemetry\\Proto\\Metrics\\V1\\NumberDataPoint' => __DIR__ . '/..' . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/NumberDataPoint.php', - 'Opentelemetry\\Proto\\Metrics\\V1\\ResourceMetrics' => __DIR__ . '/..' . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/ResourceMetrics.php', - 'Opentelemetry\\Proto\\Metrics\\V1\\ScopeMetrics' => __DIR__ . '/..' . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/ScopeMetrics.php', - 'Opentelemetry\\Proto\\Metrics\\V1\\Sum' => __DIR__ . '/..' . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/Sum.php', - 'Opentelemetry\\Proto\\Metrics\\V1\\Summary' => __DIR__ . '/..' . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/Summary.php', - 'Opentelemetry\\Proto\\Metrics\\V1\\SummaryDataPoint' => __DIR__ . '/..' . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/SummaryDataPoint.php', - 'Opentelemetry\\Proto\\Metrics\\V1\\SummaryDataPoint\\ValueAtQuantile' => __DIR__ . '/..' . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/SummaryDataPoint/ValueAtQuantile.php', - 'Opentelemetry\\Proto\\Metrics\\V1\\SummaryDataPoint_ValueAtQuantile' => __DIR__ . '/..' . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/SummaryDataPoint_ValueAtQuantile.php', - 'Opentelemetry\\Proto\\Resource\\V1\\Resource' => __DIR__ . '/..' . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Resource/V1/Resource.php', - 'Opentelemetry\\Proto\\Trace\\V1\\ConstantSampler' => __DIR__ . '/..' . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/ConstantSampler.php', - 'Opentelemetry\\Proto\\Trace\\V1\\ConstantSampler\\ConstantDecision' => __DIR__ . '/..' . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/ConstantSampler/ConstantDecision.php', - 'Opentelemetry\\Proto\\Trace\\V1\\ConstantSampler_ConstantDecision' => __DIR__ . '/..' . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/ConstantSampler_ConstantDecision.php', - 'Opentelemetry\\Proto\\Trace\\V1\\InstrumentationLibrarySpans' => __DIR__ . '/..' . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/InstrumentationLibrarySpans.php', - 'Opentelemetry\\Proto\\Trace\\V1\\RateLimitingSampler' => __DIR__ . '/..' . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/RateLimitingSampler.php', - 'Opentelemetry\\Proto\\Trace\\V1\\ResourceSpans' => __DIR__ . '/..' . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/ResourceSpans.php', - 'Opentelemetry\\Proto\\Trace\\V1\\ScopeSpans' => __DIR__ . '/..' . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/ScopeSpans.php', - 'Opentelemetry\\Proto\\Trace\\V1\\Span' => __DIR__ . '/..' . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Span.php', - 'Opentelemetry\\Proto\\Trace\\V1\\Span\\Event' => __DIR__ . '/..' . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Span/Event.php', - 'Opentelemetry\\Proto\\Trace\\V1\\Span\\Link' => __DIR__ . '/..' . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Span/Link.php', - 'Opentelemetry\\Proto\\Trace\\V1\\Span\\SpanKind' => __DIR__ . '/..' . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Span/SpanKind.php', - 'Opentelemetry\\Proto\\Trace\\V1\\Span_Event' => __DIR__ . '/..' . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Span_Event.php', - 'Opentelemetry\\Proto\\Trace\\V1\\Span_Link' => __DIR__ . '/..' . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Span_Link.php', - 'Opentelemetry\\Proto\\Trace\\V1\\Span_SpanKind' => __DIR__ . '/..' . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Span_SpanKind.php', - 'Opentelemetry\\Proto\\Trace\\V1\\Status' => __DIR__ . '/..' . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Status.php', - 'Opentelemetry\\Proto\\Trace\\V1\\Status\\DeprecatedStatusCode' => __DIR__ . '/..' . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Status/DeprecatedStatusCode.php', - 'Opentelemetry\\Proto\\Trace\\V1\\Status\\StatusCode' => __DIR__ . '/..' . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Status/StatusCode.php', - 'Opentelemetry\\Proto\\Trace\\V1\\Status_DeprecatedStatusCode' => __DIR__ . '/..' . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Status_DeprecatedStatusCode.php', - 'Opentelemetry\\Proto\\Trace\\V1\\Status_StatusCode' => __DIR__ . '/..' . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Status_StatusCode.php', - 'Opentelemetry\\Proto\\Trace\\V1\\TraceConfig' => __DIR__ . '/..' . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/TraceConfig.php', - 'Opentelemetry\\Proto\\Trace\\V1\\TraceIdRatioBased' => __DIR__ . '/..' . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/TraceIdRatioBased.php', - 'Opentelemetry\\Proto\\Trace\\V1\\TracesData' => __DIR__ . '/..' . '/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/TracesData.php', 'PHPUnit\\Exception' => __DIR__ . '/..' . '/phpunit/phpunit/src/Exception.php', 'PHPUnit\\Framework\\ActualValueIsNotAnObjectException' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Exception/ActualValueIsNotAnObjectException.php', 'PHPUnit\\Framework\\Assert' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Assert.php', @@ -1509,17 +601,6 @@ class ComposerStaticInit19fc2ff1c0f9a92279c7979386bb2056 'PHPUnit\\Util\\Xml\\SuccessfulSchemaDetectionResult' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/Xml/SuccessfulSchemaDetectionResult.php', 'PHPUnit\\Util\\Xml\\ValidationResult' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/Xml/ValidationResult.php', 'PHPUnit\\Util\\Xml\\Validator' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/Xml/Validator.php', - 'ParagonIE\\ConstantTime\\Base32' => __DIR__ . '/..' . '/paragonie/constant_time_encoding/src/Base32.php', - 'ParagonIE\\ConstantTime\\Base32Hex' => __DIR__ . '/..' . '/paragonie/constant_time_encoding/src/Base32Hex.php', - 'ParagonIE\\ConstantTime\\Base64' => __DIR__ . '/..' . '/paragonie/constant_time_encoding/src/Base64.php', - 'ParagonIE\\ConstantTime\\Base64DotSlash' => __DIR__ . '/..' . '/paragonie/constant_time_encoding/src/Base64DotSlash.php', - 'ParagonIE\\ConstantTime\\Base64DotSlashOrdered' => __DIR__ . '/..' . '/paragonie/constant_time_encoding/src/Base64DotSlashOrdered.php', - 'ParagonIE\\ConstantTime\\Base64UrlSafe' => __DIR__ . '/..' . '/paragonie/constant_time_encoding/src/Base64UrlSafe.php', - 'ParagonIE\\ConstantTime\\Binary' => __DIR__ . '/..' . '/paragonie/constant_time_encoding/src/Binary.php', - 'ParagonIE\\ConstantTime\\EncoderInterface' => __DIR__ . '/..' . '/paragonie/constant_time_encoding/src/EncoderInterface.php', - 'ParagonIE\\ConstantTime\\Encoding' => __DIR__ . '/..' . '/paragonie/constant_time_encoding/src/Encoding.php', - 'ParagonIE\\ConstantTime\\Hex' => __DIR__ . '/..' . '/paragonie/constant_time_encoding/src/Hex.php', - 'ParagonIE\\ConstantTime\\RFC4648' => __DIR__ . '/..' . '/paragonie/constant_time_encoding/src/RFC4648.php', 'PharIo\\Manifest\\Application' => __DIR__ . '/..' . '/phar-io/manifest/src/values/Application.php', 'PharIo\\Manifest\\ApplicationName' => __DIR__ . '/..' . '/phar-io/manifest/src/values/ApplicationName.php', 'PharIo\\Manifest\\Author' => __DIR__ . '/..' . '/phar-io/manifest/src/values/Author.php', @@ -1591,394 +672,6 @@ class ComposerStaticInit19fc2ff1c0f9a92279c7979386bb2056 'PharIo\\Version\\VersionConstraintParser' => __DIR__ . '/..' . '/phar-io/version/src/VersionConstraintParser.php', 'PharIo\\Version\\VersionConstraintValue' => __DIR__ . '/..' . '/phar-io/version/src/VersionConstraintValue.php', 'PharIo\\Version\\VersionNumber' => __DIR__ . '/..' . '/phar-io/version/src/VersionNumber.php', - 'PhpParser\\Builder' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Builder.php', - 'PhpParser\\BuilderFactory' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/BuilderFactory.php', - 'PhpParser\\BuilderHelpers' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/BuilderHelpers.php', - 'PhpParser\\Builder\\ClassConst' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Builder/ClassConst.php', - 'PhpParser\\Builder\\Class_' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Builder/Class_.php', - 'PhpParser\\Builder\\Declaration' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Builder/Declaration.php', - 'PhpParser\\Builder\\EnumCase' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Builder/EnumCase.php', - 'PhpParser\\Builder\\Enum_' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Builder/Enum_.php', - 'PhpParser\\Builder\\FunctionLike' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Builder/FunctionLike.php', - 'PhpParser\\Builder\\Function_' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Builder/Function_.php', - 'PhpParser\\Builder\\Interface_' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Builder/Interface_.php', - 'PhpParser\\Builder\\Method' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Builder/Method.php', - 'PhpParser\\Builder\\Namespace_' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Builder/Namespace_.php', - 'PhpParser\\Builder\\Param' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Builder/Param.php', - 'PhpParser\\Builder\\Property' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Builder/Property.php', - 'PhpParser\\Builder\\TraitUse' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Builder/TraitUse.php', - 'PhpParser\\Builder\\TraitUseAdaptation' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Builder/TraitUseAdaptation.php', - 'PhpParser\\Builder\\Trait_' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Builder/Trait_.php', - 'PhpParser\\Builder\\Use_' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Builder/Use_.php', - 'PhpParser\\Comment' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Comment.php', - 'PhpParser\\Comment\\Doc' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Comment/Doc.php', - 'PhpParser\\ConstExprEvaluationException' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/ConstExprEvaluationException.php', - 'PhpParser\\ConstExprEvaluator' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/ConstExprEvaluator.php', - 'PhpParser\\Error' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Error.php', - 'PhpParser\\ErrorHandler' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/ErrorHandler.php', - 'PhpParser\\ErrorHandler\\Collecting' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/ErrorHandler/Collecting.php', - 'PhpParser\\ErrorHandler\\Throwing' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/ErrorHandler/Throwing.php', - 'PhpParser\\Internal\\DiffElem' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Internal/DiffElem.php', - 'PhpParser\\Internal\\Differ' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Internal/Differ.php', - 'PhpParser\\Internal\\PrintableNewAnonClassNode' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Internal/PrintableNewAnonClassNode.php', - 'PhpParser\\Internal\\TokenStream' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Internal/TokenStream.php', - 'PhpParser\\JsonDecoder' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/JsonDecoder.php', - 'PhpParser\\Lexer' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Lexer.php', - 'PhpParser\\Lexer\\Emulative' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Lexer/Emulative.php', - 'PhpParser\\Lexer\\TokenEmulator\\AttributeEmulator' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Lexer/TokenEmulator/AttributeEmulator.php', - 'PhpParser\\Lexer\\TokenEmulator\\CoaleseEqualTokenEmulator' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Lexer/TokenEmulator/CoaleseEqualTokenEmulator.php', - 'PhpParser\\Lexer\\TokenEmulator\\EnumTokenEmulator' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Lexer/TokenEmulator/EnumTokenEmulator.php', - 'PhpParser\\Lexer\\TokenEmulator\\ExplicitOctalEmulator' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Lexer/TokenEmulator/ExplicitOctalEmulator.php', - 'PhpParser\\Lexer\\TokenEmulator\\FlexibleDocStringEmulator' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Lexer/TokenEmulator/FlexibleDocStringEmulator.php', - 'PhpParser\\Lexer\\TokenEmulator\\FnTokenEmulator' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Lexer/TokenEmulator/FnTokenEmulator.php', - 'PhpParser\\Lexer\\TokenEmulator\\KeywordEmulator' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Lexer/TokenEmulator/KeywordEmulator.php', - 'PhpParser\\Lexer\\TokenEmulator\\MatchTokenEmulator' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Lexer/TokenEmulator/MatchTokenEmulator.php', - 'PhpParser\\Lexer\\TokenEmulator\\NullsafeTokenEmulator' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Lexer/TokenEmulator/NullsafeTokenEmulator.php', - 'PhpParser\\Lexer\\TokenEmulator\\NumericLiteralSeparatorEmulator' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Lexer/TokenEmulator/NumericLiteralSeparatorEmulator.php', - 'PhpParser\\Lexer\\TokenEmulator\\ReadonlyTokenEmulator' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Lexer/TokenEmulator/ReadonlyTokenEmulator.php', - 'PhpParser\\Lexer\\TokenEmulator\\ReverseEmulator' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Lexer/TokenEmulator/ReverseEmulator.php', - 'PhpParser\\Lexer\\TokenEmulator\\TokenEmulator' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Lexer/TokenEmulator/TokenEmulator.php', - 'PhpParser\\NameContext' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/NameContext.php', - 'PhpParser\\Node' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node.php', - 'PhpParser\\NodeAbstract' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/NodeAbstract.php', - 'PhpParser\\NodeDumper' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/NodeDumper.php', - 'PhpParser\\NodeFinder' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/NodeFinder.php', - 'PhpParser\\NodeTraverser' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/NodeTraverser.php', - 'PhpParser\\NodeTraverserInterface' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/NodeTraverserInterface.php', - 'PhpParser\\NodeVisitor' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/NodeVisitor.php', - 'PhpParser\\NodeVisitorAbstract' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/NodeVisitorAbstract.php', - 'PhpParser\\NodeVisitor\\CloningVisitor' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/NodeVisitor/CloningVisitor.php', - 'PhpParser\\NodeVisitor\\FindingVisitor' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/NodeVisitor/FindingVisitor.php', - 'PhpParser\\NodeVisitor\\FirstFindingVisitor' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/NodeVisitor/FirstFindingVisitor.php', - 'PhpParser\\NodeVisitor\\NameResolver' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/NodeVisitor/NameResolver.php', - 'PhpParser\\NodeVisitor\\NodeConnectingVisitor' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/NodeVisitor/NodeConnectingVisitor.php', - 'PhpParser\\NodeVisitor\\ParentConnectingVisitor' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/NodeVisitor/ParentConnectingVisitor.php', - 'PhpParser\\Node\\Arg' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Arg.php', - 'PhpParser\\Node\\Attribute' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Attribute.php', - 'PhpParser\\Node\\AttributeGroup' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/AttributeGroup.php', - 'PhpParser\\Node\\ComplexType' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/ComplexType.php', - 'PhpParser\\Node\\Const_' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Const_.php', - 'PhpParser\\Node\\Expr' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Expr.php', - 'PhpParser\\Node\\Expr\\ArrayDimFetch' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Expr/ArrayDimFetch.php', - 'PhpParser\\Node\\Expr\\ArrayItem' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Expr/ArrayItem.php', - 'PhpParser\\Node\\Expr\\Array_' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Expr/Array_.php', - 'PhpParser\\Node\\Expr\\ArrowFunction' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Expr/ArrowFunction.php', - 'PhpParser\\Node\\Expr\\Assign' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Expr/Assign.php', - 'PhpParser\\Node\\Expr\\AssignOp' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Expr/AssignOp.php', - 'PhpParser\\Node\\Expr\\AssignOp\\BitwiseAnd' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Expr/AssignOp/BitwiseAnd.php', - 'PhpParser\\Node\\Expr\\AssignOp\\BitwiseOr' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Expr/AssignOp/BitwiseOr.php', - 'PhpParser\\Node\\Expr\\AssignOp\\BitwiseXor' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Expr/AssignOp/BitwiseXor.php', - 'PhpParser\\Node\\Expr\\AssignOp\\Coalesce' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Expr/AssignOp/Coalesce.php', - 'PhpParser\\Node\\Expr\\AssignOp\\Concat' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Expr/AssignOp/Concat.php', - 'PhpParser\\Node\\Expr\\AssignOp\\Div' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Expr/AssignOp/Div.php', - 'PhpParser\\Node\\Expr\\AssignOp\\Minus' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Expr/AssignOp/Minus.php', - 'PhpParser\\Node\\Expr\\AssignOp\\Mod' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Expr/AssignOp/Mod.php', - 'PhpParser\\Node\\Expr\\AssignOp\\Mul' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Expr/AssignOp/Mul.php', - 'PhpParser\\Node\\Expr\\AssignOp\\Plus' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Expr/AssignOp/Plus.php', - 'PhpParser\\Node\\Expr\\AssignOp\\Pow' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Expr/AssignOp/Pow.php', - 'PhpParser\\Node\\Expr\\AssignOp\\ShiftLeft' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Expr/AssignOp/ShiftLeft.php', - 'PhpParser\\Node\\Expr\\AssignOp\\ShiftRight' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Expr/AssignOp/ShiftRight.php', - 'PhpParser\\Node\\Expr\\AssignRef' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Expr/AssignRef.php', - 'PhpParser\\Node\\Expr\\BinaryOp' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp.php', - 'PhpParser\\Node\\Expr\\BinaryOp\\BitwiseAnd' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/BitwiseAnd.php', - 'PhpParser\\Node\\Expr\\BinaryOp\\BitwiseOr' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/BitwiseOr.php', - 'PhpParser\\Node\\Expr\\BinaryOp\\BitwiseXor' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/BitwiseXor.php', - 'PhpParser\\Node\\Expr\\BinaryOp\\BooleanAnd' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/BooleanAnd.php', - 'PhpParser\\Node\\Expr\\BinaryOp\\BooleanOr' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/BooleanOr.php', - 'PhpParser\\Node\\Expr\\BinaryOp\\Coalesce' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/Coalesce.php', - 'PhpParser\\Node\\Expr\\BinaryOp\\Concat' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/Concat.php', - 'PhpParser\\Node\\Expr\\BinaryOp\\Div' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/Div.php', - 'PhpParser\\Node\\Expr\\BinaryOp\\Equal' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/Equal.php', - 'PhpParser\\Node\\Expr\\BinaryOp\\Greater' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/Greater.php', - 'PhpParser\\Node\\Expr\\BinaryOp\\GreaterOrEqual' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/GreaterOrEqual.php', - 'PhpParser\\Node\\Expr\\BinaryOp\\Identical' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/Identical.php', - 'PhpParser\\Node\\Expr\\BinaryOp\\LogicalAnd' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/LogicalAnd.php', - 'PhpParser\\Node\\Expr\\BinaryOp\\LogicalOr' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/LogicalOr.php', - 'PhpParser\\Node\\Expr\\BinaryOp\\LogicalXor' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/LogicalXor.php', - 'PhpParser\\Node\\Expr\\BinaryOp\\Minus' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/Minus.php', - 'PhpParser\\Node\\Expr\\BinaryOp\\Mod' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/Mod.php', - 'PhpParser\\Node\\Expr\\BinaryOp\\Mul' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/Mul.php', - 'PhpParser\\Node\\Expr\\BinaryOp\\NotEqual' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/NotEqual.php', - 'PhpParser\\Node\\Expr\\BinaryOp\\NotIdentical' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/NotIdentical.php', - 'PhpParser\\Node\\Expr\\BinaryOp\\Plus' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/Plus.php', - 'PhpParser\\Node\\Expr\\BinaryOp\\Pow' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/Pow.php', - 'PhpParser\\Node\\Expr\\BinaryOp\\ShiftLeft' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/ShiftLeft.php', - 'PhpParser\\Node\\Expr\\BinaryOp\\ShiftRight' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/ShiftRight.php', - 'PhpParser\\Node\\Expr\\BinaryOp\\Smaller' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/Smaller.php', - 'PhpParser\\Node\\Expr\\BinaryOp\\SmallerOrEqual' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/SmallerOrEqual.php', - 'PhpParser\\Node\\Expr\\BinaryOp\\Spaceship' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/Spaceship.php', - 'PhpParser\\Node\\Expr\\BitwiseNot' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Expr/BitwiseNot.php', - 'PhpParser\\Node\\Expr\\BooleanNot' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Expr/BooleanNot.php', - 'PhpParser\\Node\\Expr\\CallLike' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Expr/CallLike.php', - 'PhpParser\\Node\\Expr\\Cast' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Expr/Cast.php', - 'PhpParser\\Node\\Expr\\Cast\\Array_' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Expr/Cast/Array_.php', - 'PhpParser\\Node\\Expr\\Cast\\Bool_' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Expr/Cast/Bool_.php', - 'PhpParser\\Node\\Expr\\Cast\\Double' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Expr/Cast/Double.php', - 'PhpParser\\Node\\Expr\\Cast\\Int_' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Expr/Cast/Int_.php', - 'PhpParser\\Node\\Expr\\Cast\\Object_' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Expr/Cast/Object_.php', - 'PhpParser\\Node\\Expr\\Cast\\String_' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Expr/Cast/String_.php', - 'PhpParser\\Node\\Expr\\Cast\\Unset_' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Expr/Cast/Unset_.php', - 'PhpParser\\Node\\Expr\\ClassConstFetch' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Expr/ClassConstFetch.php', - 'PhpParser\\Node\\Expr\\Clone_' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Expr/Clone_.php', - 'PhpParser\\Node\\Expr\\Closure' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Expr/Closure.php', - 'PhpParser\\Node\\Expr\\ClosureUse' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Expr/ClosureUse.php', - 'PhpParser\\Node\\Expr\\ConstFetch' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Expr/ConstFetch.php', - 'PhpParser\\Node\\Expr\\Empty_' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Expr/Empty_.php', - 'PhpParser\\Node\\Expr\\Error' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Expr/Error.php', - 'PhpParser\\Node\\Expr\\ErrorSuppress' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Expr/ErrorSuppress.php', - 'PhpParser\\Node\\Expr\\Eval_' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Expr/Eval_.php', - 'PhpParser\\Node\\Expr\\Exit_' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Expr/Exit_.php', - 'PhpParser\\Node\\Expr\\FuncCall' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Expr/FuncCall.php', - 'PhpParser\\Node\\Expr\\Include_' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Expr/Include_.php', - 'PhpParser\\Node\\Expr\\Instanceof_' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Expr/Instanceof_.php', - 'PhpParser\\Node\\Expr\\Isset_' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Expr/Isset_.php', - 'PhpParser\\Node\\Expr\\List_' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Expr/List_.php', - 'PhpParser\\Node\\Expr\\Match_' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Expr/Match_.php', - 'PhpParser\\Node\\Expr\\MethodCall' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Expr/MethodCall.php', - 'PhpParser\\Node\\Expr\\New_' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Expr/New_.php', - 'PhpParser\\Node\\Expr\\NullsafeMethodCall' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Expr/NullsafeMethodCall.php', - 'PhpParser\\Node\\Expr\\NullsafePropertyFetch' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Expr/NullsafePropertyFetch.php', - 'PhpParser\\Node\\Expr\\PostDec' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Expr/PostDec.php', - 'PhpParser\\Node\\Expr\\PostInc' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Expr/PostInc.php', - 'PhpParser\\Node\\Expr\\PreDec' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Expr/PreDec.php', - 'PhpParser\\Node\\Expr\\PreInc' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Expr/PreInc.php', - 'PhpParser\\Node\\Expr\\Print_' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Expr/Print_.php', - 'PhpParser\\Node\\Expr\\PropertyFetch' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Expr/PropertyFetch.php', - 'PhpParser\\Node\\Expr\\ShellExec' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Expr/ShellExec.php', - 'PhpParser\\Node\\Expr\\StaticCall' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Expr/StaticCall.php', - 'PhpParser\\Node\\Expr\\StaticPropertyFetch' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Expr/StaticPropertyFetch.php', - 'PhpParser\\Node\\Expr\\Ternary' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Expr/Ternary.php', - 'PhpParser\\Node\\Expr\\Throw_' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Expr/Throw_.php', - 'PhpParser\\Node\\Expr\\UnaryMinus' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Expr/UnaryMinus.php', - 'PhpParser\\Node\\Expr\\UnaryPlus' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Expr/UnaryPlus.php', - 'PhpParser\\Node\\Expr\\Variable' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Expr/Variable.php', - 'PhpParser\\Node\\Expr\\YieldFrom' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Expr/YieldFrom.php', - 'PhpParser\\Node\\Expr\\Yield_' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Expr/Yield_.php', - 'PhpParser\\Node\\FunctionLike' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/FunctionLike.php', - 'PhpParser\\Node\\Identifier' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Identifier.php', - 'PhpParser\\Node\\IntersectionType' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/IntersectionType.php', - 'PhpParser\\Node\\MatchArm' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/MatchArm.php', - 'PhpParser\\Node\\Name' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Name.php', - 'PhpParser\\Node\\Name\\FullyQualified' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Name/FullyQualified.php', - 'PhpParser\\Node\\Name\\Relative' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Name/Relative.php', - 'PhpParser\\Node\\NullableType' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/NullableType.php', - 'PhpParser\\Node\\Param' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Param.php', - 'PhpParser\\Node\\Scalar' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Scalar.php', - 'PhpParser\\Node\\Scalar\\DNumber' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Scalar/DNumber.php', - 'PhpParser\\Node\\Scalar\\Encapsed' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Scalar/Encapsed.php', - 'PhpParser\\Node\\Scalar\\EncapsedStringPart' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Scalar/EncapsedStringPart.php', - 'PhpParser\\Node\\Scalar\\LNumber' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Scalar/LNumber.php', - 'PhpParser\\Node\\Scalar\\MagicConst' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Scalar/MagicConst.php', - 'PhpParser\\Node\\Scalar\\MagicConst\\Class_' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Scalar/MagicConst/Class_.php', - 'PhpParser\\Node\\Scalar\\MagicConst\\Dir' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Scalar/MagicConst/Dir.php', - 'PhpParser\\Node\\Scalar\\MagicConst\\File' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Scalar/MagicConst/File.php', - 'PhpParser\\Node\\Scalar\\MagicConst\\Function_' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Scalar/MagicConst/Function_.php', - 'PhpParser\\Node\\Scalar\\MagicConst\\Line' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Scalar/MagicConst/Line.php', - 'PhpParser\\Node\\Scalar\\MagicConst\\Method' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Scalar/MagicConst/Method.php', - 'PhpParser\\Node\\Scalar\\MagicConst\\Namespace_' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Scalar/MagicConst/Namespace_.php', - 'PhpParser\\Node\\Scalar\\MagicConst\\Trait_' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Scalar/MagicConst/Trait_.php', - 'PhpParser\\Node\\Scalar\\String_' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Scalar/String_.php', - 'PhpParser\\Node\\Stmt' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Stmt.php', - 'PhpParser\\Node\\Stmt\\Break_' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Stmt/Break_.php', - 'PhpParser\\Node\\Stmt\\Case_' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Stmt/Case_.php', - 'PhpParser\\Node\\Stmt\\Catch_' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Stmt/Catch_.php', - 'PhpParser\\Node\\Stmt\\ClassConst' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Stmt/ClassConst.php', - 'PhpParser\\Node\\Stmt\\ClassLike' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Stmt/ClassLike.php', - 'PhpParser\\Node\\Stmt\\ClassMethod' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Stmt/ClassMethod.php', - 'PhpParser\\Node\\Stmt\\Class_' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Stmt/Class_.php', - 'PhpParser\\Node\\Stmt\\Const_' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Stmt/Const_.php', - 'PhpParser\\Node\\Stmt\\Continue_' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Stmt/Continue_.php', - 'PhpParser\\Node\\Stmt\\DeclareDeclare' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Stmt/DeclareDeclare.php', - 'PhpParser\\Node\\Stmt\\Declare_' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Stmt/Declare_.php', - 'PhpParser\\Node\\Stmt\\Do_' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Stmt/Do_.php', - 'PhpParser\\Node\\Stmt\\Echo_' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Stmt/Echo_.php', - 'PhpParser\\Node\\Stmt\\ElseIf_' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Stmt/ElseIf_.php', - 'PhpParser\\Node\\Stmt\\Else_' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Stmt/Else_.php', - 'PhpParser\\Node\\Stmt\\EnumCase' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Stmt/EnumCase.php', - 'PhpParser\\Node\\Stmt\\Enum_' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Stmt/Enum_.php', - 'PhpParser\\Node\\Stmt\\Expression' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Stmt/Expression.php', - 'PhpParser\\Node\\Stmt\\Finally_' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Stmt/Finally_.php', - 'PhpParser\\Node\\Stmt\\For_' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Stmt/For_.php', - 'PhpParser\\Node\\Stmt\\Foreach_' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Stmt/Foreach_.php', - 'PhpParser\\Node\\Stmt\\Function_' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Stmt/Function_.php', - 'PhpParser\\Node\\Stmt\\Global_' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Stmt/Global_.php', - 'PhpParser\\Node\\Stmt\\Goto_' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Stmt/Goto_.php', - 'PhpParser\\Node\\Stmt\\GroupUse' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Stmt/GroupUse.php', - 'PhpParser\\Node\\Stmt\\HaltCompiler' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Stmt/HaltCompiler.php', - 'PhpParser\\Node\\Stmt\\If_' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Stmt/If_.php', - 'PhpParser\\Node\\Stmt\\InlineHTML' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Stmt/InlineHTML.php', - 'PhpParser\\Node\\Stmt\\Interface_' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Stmt/Interface_.php', - 'PhpParser\\Node\\Stmt\\Label' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Stmt/Label.php', - 'PhpParser\\Node\\Stmt\\Namespace_' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Stmt/Namespace_.php', - 'PhpParser\\Node\\Stmt\\Nop' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Stmt/Nop.php', - 'PhpParser\\Node\\Stmt\\Property' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Stmt/Property.php', - 'PhpParser\\Node\\Stmt\\PropertyProperty' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Stmt/PropertyProperty.php', - 'PhpParser\\Node\\Stmt\\Return_' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Stmt/Return_.php', - 'PhpParser\\Node\\Stmt\\StaticVar' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Stmt/StaticVar.php', - 'PhpParser\\Node\\Stmt\\Static_' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Stmt/Static_.php', - 'PhpParser\\Node\\Stmt\\Switch_' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Stmt/Switch_.php', - 'PhpParser\\Node\\Stmt\\Throw_' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Stmt/Throw_.php', - 'PhpParser\\Node\\Stmt\\TraitUse' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Stmt/TraitUse.php', - 'PhpParser\\Node\\Stmt\\TraitUseAdaptation' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Stmt/TraitUseAdaptation.php', - 'PhpParser\\Node\\Stmt\\TraitUseAdaptation\\Alias' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Stmt/TraitUseAdaptation/Alias.php', - 'PhpParser\\Node\\Stmt\\TraitUseAdaptation\\Precedence' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Stmt/TraitUseAdaptation/Precedence.php', - 'PhpParser\\Node\\Stmt\\Trait_' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Stmt/Trait_.php', - 'PhpParser\\Node\\Stmt\\TryCatch' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Stmt/TryCatch.php', - 'PhpParser\\Node\\Stmt\\Unset_' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Stmt/Unset_.php', - 'PhpParser\\Node\\Stmt\\UseUse' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Stmt/UseUse.php', - 'PhpParser\\Node\\Stmt\\Use_' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Stmt/Use_.php', - 'PhpParser\\Node\\Stmt\\While_' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/Stmt/While_.php', - 'PhpParser\\Node\\UnionType' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/UnionType.php', - 'PhpParser\\Node\\VarLikeIdentifier' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/VarLikeIdentifier.php', - 'PhpParser\\Node\\VariadicPlaceholder' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Node/VariadicPlaceholder.php', - 'PhpParser\\Parser' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Parser.php', - 'PhpParser\\ParserAbstract' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/ParserAbstract.php', - 'PhpParser\\ParserFactory' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/ParserFactory.php', - 'PhpParser\\Parser\\Multiple' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Parser/Multiple.php', - 'PhpParser\\Parser\\Php5' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Parser/Php5.php', - 'PhpParser\\Parser\\Php7' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Parser/Php7.php', - 'PhpParser\\Parser\\Tokens' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Parser/Tokens.php', - 'PhpParser\\PrettyPrinterAbstract' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/PrettyPrinterAbstract.php', - 'PhpParser\\PrettyPrinter\\Standard' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/PrettyPrinter/Standard.php', - 'PhpToken' => __DIR__ . '/..' . '/symfony/polyfill-php80/Resources/stubs/PhpToken.php', - 'Plugin' => __DIR__ . '/../..' . '/classes/Plugin.php', - 'PluginHandler' => __DIR__ . '/../..' . '/classes/PluginHandler.php', - 'PluginHost' => __DIR__ . '/../..' . '/classes/PluginHost.php', - 'Pref_Feeds' => __DIR__ . '/../..' . '/classes/Pref_Feeds.php', - 'Pref_Filters' => __DIR__ . '/../..' . '/classes/Pref_Filters.php', - 'Pref_Labels' => __DIR__ . '/../..' . '/classes/Pref_Labels.php', - 'Pref_Prefs' => __DIR__ . '/../..' . '/classes/Pref_Prefs.php', - 'Pref_System' => __DIR__ . '/../..' . '/classes/Pref_System.php', - 'Pref_Users' => __DIR__ . '/../..' . '/classes/Pref_Users.php', - 'Prefs' => __DIR__ . '/../..' . '/classes/Prefs.php', - 'Prophecy\\Argument' => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy/Argument.php', - 'Prophecy\\Argument\\ArgumentsWildcard' => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy/Argument/ArgumentsWildcard.php', - 'Prophecy\\Argument\\Token\\AnyValueToken' => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy/Argument/Token/AnyValueToken.php', - 'Prophecy\\Argument\\Token\\AnyValuesToken' => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy/Argument/Token/AnyValuesToken.php', - 'Prophecy\\Argument\\Token\\ApproximateValueToken' => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy/Argument/Token/ApproximateValueToken.php', - 'Prophecy\\Argument\\Token\\ArrayCountToken' => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy/Argument/Token/ArrayCountToken.php', - 'Prophecy\\Argument\\Token\\ArrayEntryToken' => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy/Argument/Token/ArrayEntryToken.php', - 'Prophecy\\Argument\\Token\\ArrayEveryEntryToken' => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy/Argument/Token/ArrayEveryEntryToken.php', - 'Prophecy\\Argument\\Token\\CallbackToken' => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy/Argument/Token/CallbackToken.php', - 'Prophecy\\Argument\\Token\\ExactValueToken' => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy/Argument/Token/ExactValueToken.php', - 'Prophecy\\Argument\\Token\\IdenticalValueToken' => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy/Argument/Token/IdenticalValueToken.php', - 'Prophecy\\Argument\\Token\\InArrayToken' => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy/Argument/Token/InArrayToken.php', - 'Prophecy\\Argument\\Token\\LogicalAndToken' => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy/Argument/Token/LogicalAndToken.php', - 'Prophecy\\Argument\\Token\\LogicalNotToken' => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy/Argument/Token/LogicalNotToken.php', - 'Prophecy\\Argument\\Token\\NotInArrayToken' => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy/Argument/Token/NotInArrayToken.php', - 'Prophecy\\Argument\\Token\\ObjectStateToken' => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy/Argument/Token/ObjectStateToken.php', - 'Prophecy\\Argument\\Token\\StringContainsToken' => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy/Argument/Token/StringContainsToken.php', - 'Prophecy\\Argument\\Token\\TokenInterface' => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy/Argument/Token/TokenInterface.php', - 'Prophecy\\Argument\\Token\\TypeToken' => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy/Argument/Token/TypeToken.php', - 'Prophecy\\Call\\Call' => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy/Call/Call.php', - 'Prophecy\\Call\\CallCenter' => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy/Call/CallCenter.php', - 'Prophecy\\Comparator\\ClosureComparator' => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy/Comparator/ClosureComparator.php', - 'Prophecy\\Comparator\\Factory' => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy/Comparator/Factory.php', - 'Prophecy\\Comparator\\ProphecyComparator' => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy/Comparator/ProphecyComparator.php', - 'Prophecy\\Doubler\\CachedDoubler' => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy/Doubler/CachedDoubler.php', - 'Prophecy\\Doubler\\ClassPatch\\ClassPatchInterface' => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy/Doubler/ClassPatch/ClassPatchInterface.php', - 'Prophecy\\Doubler\\ClassPatch\\DisableConstructorPatch' => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy/Doubler/ClassPatch/DisableConstructorPatch.php', - 'Prophecy\\Doubler\\ClassPatch\\HhvmExceptionPatch' => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy/Doubler/ClassPatch/HhvmExceptionPatch.php', - 'Prophecy\\Doubler\\ClassPatch\\KeywordPatch' => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy/Doubler/ClassPatch/KeywordPatch.php', - 'Prophecy\\Doubler\\ClassPatch\\MagicCallPatch' => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy/Doubler/ClassPatch/MagicCallPatch.php', - 'Prophecy\\Doubler\\ClassPatch\\ProphecySubjectPatch' => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy/Doubler/ClassPatch/ProphecySubjectPatch.php', - 'Prophecy\\Doubler\\ClassPatch\\ReflectionClassNewInstancePatch' => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy/Doubler/ClassPatch/ReflectionClassNewInstancePatch.php', - 'Prophecy\\Doubler\\ClassPatch\\SplFileInfoPatch' => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy/Doubler/ClassPatch/SplFileInfoPatch.php', - 'Prophecy\\Doubler\\ClassPatch\\ThrowablePatch' => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy/Doubler/ClassPatch/ThrowablePatch.php', - 'Prophecy\\Doubler\\ClassPatch\\TraversablePatch' => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy/Doubler/ClassPatch/TraversablePatch.php', - 'Prophecy\\Doubler\\DoubleInterface' => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy/Doubler/DoubleInterface.php', - 'Prophecy\\Doubler\\Doubler' => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy/Doubler/Doubler.php', - 'Prophecy\\Doubler\\Generator\\ClassCodeGenerator' => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy/Doubler/Generator/ClassCodeGenerator.php', - 'Prophecy\\Doubler\\Generator\\ClassCreator' => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy/Doubler/Generator/ClassCreator.php', - 'Prophecy\\Doubler\\Generator\\ClassMirror' => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy/Doubler/Generator/ClassMirror.php', - 'Prophecy\\Doubler\\Generator\\Node\\ArgumentNode' => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy/Doubler/Generator/Node/ArgumentNode.php', - 'Prophecy\\Doubler\\Generator\\Node\\ArgumentTypeNode' => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy/Doubler/Generator/Node/ArgumentTypeNode.php', - 'Prophecy\\Doubler\\Generator\\Node\\ClassNode' => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy/Doubler/Generator/Node/ClassNode.php', - 'Prophecy\\Doubler\\Generator\\Node\\MethodNode' => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy/Doubler/Generator/Node/MethodNode.php', - 'Prophecy\\Doubler\\Generator\\Node\\ReturnTypeNode' => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy/Doubler/Generator/Node/ReturnTypeNode.php', - 'Prophecy\\Doubler\\Generator\\Node\\TypeNodeAbstract' => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy/Doubler/Generator/Node/TypeNodeAbstract.php', - 'Prophecy\\Doubler\\Generator\\ReflectionInterface' => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy/Doubler/Generator/ReflectionInterface.php', - 'Prophecy\\Doubler\\Generator\\TypeHintReference' => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy/Doubler/Generator/TypeHintReference.php', - 'Prophecy\\Doubler\\LazyDouble' => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy/Doubler/LazyDouble.php', - 'Prophecy\\Doubler\\NameGenerator' => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy/Doubler/NameGenerator.php', - 'Prophecy\\Exception\\Call\\UnexpectedCallException' => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy/Exception/Call/UnexpectedCallException.php', - 'Prophecy\\Exception\\Doubler\\ClassCreatorException' => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy/Exception/Doubler/ClassCreatorException.php', - 'Prophecy\\Exception\\Doubler\\ClassMirrorException' => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy/Exception/Doubler/ClassMirrorException.php', - 'Prophecy\\Exception\\Doubler\\ClassNotFoundException' => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy/Exception/Doubler/ClassNotFoundException.php', - 'Prophecy\\Exception\\Doubler\\DoubleException' => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy/Exception/Doubler/DoubleException.php', - 'Prophecy\\Exception\\Doubler\\DoublerException' => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy/Exception/Doubler/DoublerException.php', - 'Prophecy\\Exception\\Doubler\\InterfaceNotFoundException' => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy/Exception/Doubler/InterfaceNotFoundException.php', - 'Prophecy\\Exception\\Doubler\\MethodNotExtendableException' => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy/Exception/Doubler/MethodNotExtendableException.php', - 'Prophecy\\Exception\\Doubler\\MethodNotFoundException' => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy/Exception/Doubler/MethodNotFoundException.php', - 'Prophecy\\Exception\\Doubler\\ReturnByReferenceException' => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy/Exception/Doubler/ReturnByReferenceException.php', - 'Prophecy\\Exception\\Exception' => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy/Exception/Exception.php', - 'Prophecy\\Exception\\InvalidArgumentException' => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy/Exception/InvalidArgumentException.php', - 'Prophecy\\Exception\\Prediction\\AggregateException' => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy/Exception/Prediction/AggregateException.php', - 'Prophecy\\Exception\\Prediction\\FailedPredictionException' => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy/Exception/Prediction/FailedPredictionException.php', - 'Prophecy\\Exception\\Prediction\\NoCallsException' => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy/Exception/Prediction/NoCallsException.php', - 'Prophecy\\Exception\\Prediction\\PredictionException' => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy/Exception/Prediction/PredictionException.php', - 'Prophecy\\Exception\\Prediction\\UnexpectedCallsCountException' => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy/Exception/Prediction/UnexpectedCallsCountException.php', - 'Prophecy\\Exception\\Prediction\\UnexpectedCallsException' => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy/Exception/Prediction/UnexpectedCallsException.php', - 'Prophecy\\Exception\\Prophecy\\MethodProphecyException' => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy/Exception/Prophecy/MethodProphecyException.php', - 'Prophecy\\Exception\\Prophecy\\ObjectProphecyException' => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy/Exception/Prophecy/ObjectProphecyException.php', - 'Prophecy\\Exception\\Prophecy\\ProphecyException' => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy/Exception/Prophecy/ProphecyException.php', - 'Prophecy\\PhpDocumentor\\ClassAndInterfaceTagRetriever' => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy/PhpDocumentor/ClassAndInterfaceTagRetriever.php', - 'Prophecy\\PhpDocumentor\\ClassTagRetriever' => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy/PhpDocumentor/ClassTagRetriever.php', - 'Prophecy\\PhpDocumentor\\LegacyClassTagRetriever' => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy/PhpDocumentor/LegacyClassTagRetriever.php', - 'Prophecy\\PhpDocumentor\\MethodTagRetrieverInterface' => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy/PhpDocumentor/MethodTagRetrieverInterface.php', - 'Prophecy\\Prediction\\CallPrediction' => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy/Prediction/CallPrediction.php', - 'Prophecy\\Prediction\\CallTimesPrediction' => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy/Prediction/CallTimesPrediction.php', - 'Prophecy\\Prediction\\CallbackPrediction' => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy/Prediction/CallbackPrediction.php', - 'Prophecy\\Prediction\\NoCallsPrediction' => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy/Prediction/NoCallsPrediction.php', - 'Prophecy\\Prediction\\PredictionInterface' => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy/Prediction/PredictionInterface.php', - 'Prophecy\\Promise\\CallbackPromise' => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy/Promise/CallbackPromise.php', - 'Prophecy\\Promise\\PromiseInterface' => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy/Promise/PromiseInterface.php', - 'Prophecy\\Promise\\ReturnArgumentPromise' => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy/Promise/ReturnArgumentPromise.php', - 'Prophecy\\Promise\\ReturnPromise' => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy/Promise/ReturnPromise.php', - 'Prophecy\\Promise\\ThrowPromise' => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy/Promise/ThrowPromise.php', - 'Prophecy\\Prophecy\\MethodProphecy' => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy/Prophecy/MethodProphecy.php', - 'Prophecy\\Prophecy\\ObjectProphecy' => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy/Prophecy/ObjectProphecy.php', - 'Prophecy\\Prophecy\\ProphecyInterface' => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy/Prophecy/ProphecyInterface.php', - 'Prophecy\\Prophecy\\ProphecySubjectInterface' => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy/Prophecy/ProphecySubjectInterface.php', - 'Prophecy\\Prophecy\\Revealer' => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy/Prophecy/Revealer.php', - 'Prophecy\\Prophecy\\RevealerInterface' => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy/Prophecy/RevealerInterface.php', - 'Prophecy\\Prophet' => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy/Prophet.php', - 'Prophecy\\Util\\ExportUtil' => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy/Util/ExportUtil.php', - 'Prophecy\\Util\\StringUtil' => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy/Util/StringUtil.php', - 'Psr\\Http\\Client\\ClientExceptionInterface' => __DIR__ . '/..' . '/psr/http-client/src/ClientExceptionInterface.php', - 'Psr\\Http\\Client\\ClientInterface' => __DIR__ . '/..' . '/psr/http-client/src/ClientInterface.php', - 'Psr\\Http\\Client\\NetworkExceptionInterface' => __DIR__ . '/..' . '/psr/http-client/src/NetworkExceptionInterface.php', - 'Psr\\Http\\Client\\RequestExceptionInterface' => __DIR__ . '/..' . '/psr/http-client/src/RequestExceptionInterface.php', - 'Psr\\Http\\Message\\MessageInterface' => __DIR__ . '/..' . '/psr/http-message/src/MessageInterface.php', - 'Psr\\Http\\Message\\RequestFactoryInterface' => __DIR__ . '/..' . '/psr/http-factory/src/RequestFactoryInterface.php', - 'Psr\\Http\\Message\\RequestInterface' => __DIR__ . '/..' . '/psr/http-message/src/RequestInterface.php', - 'Psr\\Http\\Message\\ResponseFactoryInterface' => __DIR__ . '/..' . '/psr/http-factory/src/ResponseFactoryInterface.php', - 'Psr\\Http\\Message\\ResponseInterface' => __DIR__ . '/..' . '/psr/http-message/src/ResponseInterface.php', - 'Psr\\Http\\Message\\ServerRequestFactoryInterface' => __DIR__ . '/..' . '/psr/http-factory/src/ServerRequestFactoryInterface.php', - 'Psr\\Http\\Message\\ServerRequestInterface' => __DIR__ . '/..' . '/psr/http-message/src/ServerRequestInterface.php', - 'Psr\\Http\\Message\\StreamFactoryInterface' => __DIR__ . '/..' . '/psr/http-factory/src/StreamFactoryInterface.php', - 'Psr\\Http\\Message\\StreamInterface' => __DIR__ . '/..' . '/psr/http-message/src/StreamInterface.php', - 'Psr\\Http\\Message\\UploadedFileFactoryInterface' => __DIR__ . '/..' . '/psr/http-factory/src/UploadedFileFactoryInterface.php', - 'Psr\\Http\\Message\\UploadedFileInterface' => __DIR__ . '/..' . '/psr/http-message/src/UploadedFileInterface.php', - 'Psr\\Http\\Message\\UriFactoryInterface' => __DIR__ . '/..' . '/psr/http-factory/src/UriFactoryInterface.php', - 'Psr\\Http\\Message\\UriInterface' => __DIR__ . '/..' . '/psr/http-message/src/UriInterface.php', - 'Psr\\Log\\AbstractLogger' => __DIR__ . '/..' . '/psr/log/src/AbstractLogger.php', - 'Psr\\Log\\InvalidArgumentException' => __DIR__ . '/..' . '/psr/log/src/InvalidArgumentException.php', - 'Psr\\Log\\LogLevel' => __DIR__ . '/..' . '/psr/log/src/LogLevel.php', - 'Psr\\Log\\LoggerAwareInterface' => __DIR__ . '/..' . '/psr/log/src/LoggerAwareInterface.php', - 'Psr\\Log\\LoggerAwareTrait' => __DIR__ . '/..' . '/psr/log/src/LoggerAwareTrait.php', - 'Psr\\Log\\LoggerInterface' => __DIR__ . '/..' . '/psr/log/src/LoggerInterface.php', - 'Psr\\Log\\LoggerTrait' => __DIR__ . '/..' . '/psr/log/src/LoggerTrait.php', - 'Psr\\Log\\NullLogger' => __DIR__ . '/..' . '/psr/log/src/NullLogger.php', - 'RPC' => __DIR__ . '/../..' . '/classes/RPC.php', - 'RSSUtils' => __DIR__ . '/../..' . '/classes/RSSUtils.php', - 'Random\\BrokenRandomEngineError' => __DIR__ . '/..' . '/symfony/polyfill-php82/Resources/stubs/Random/BrokenRandomEngineError.php', - 'Random\\CryptoSafeEngine' => __DIR__ . '/..' . '/symfony/polyfill-php82/Resources/stubs/Random/CryptoSafeEngine.php', - 'Random\\Engine' => __DIR__ . '/..' . '/symfony/polyfill-php82/Resources/stubs/Random/Engine.php', - 'Random\\Engine\\Secure' => __DIR__ . '/..' . '/symfony/polyfill-php82/Resources/stubs/Random/Engine/Secure.php', - 'Random\\RandomError' => __DIR__ . '/..' . '/symfony/polyfill-php82/Resources/stubs/Random/RandomError.php', - 'Random\\RandomException' => __DIR__ . '/..' . '/symfony/polyfill-php82/Resources/stubs/Random/RandomException.php', - 'ReturnTypeWillChange' => __DIR__ . '/..' . '/symfony/polyfill-php81/Resources/stubs/ReturnTypeWillChange.php', 'Safe\\DateTime' => __DIR__ . '/..' . '/thecodingmachine/safe/lib/DateTime.php', 'Safe\\DateTimeImmutable' => __DIR__ . '/..' . '/thecodingmachine/safe/lib/DateTimeImmutable.php', 'Safe\\Exceptions\\ApacheException' => __DIR__ . '/..' . '/thecodingmachine/safe/generated/Exceptions/ApacheException.php', @@ -2066,7 +759,6 @@ class ComposerStaticInit19fc2ff1c0f9a92279c7979386bb2056 'Safe\\Exceptions\\YazException' => __DIR__ . '/..' . '/thecodingmachine/safe/generated/Exceptions/YazException.php', 'Safe\\Exceptions\\ZipException' => __DIR__ . '/..' . '/thecodingmachine/safe/generated/Exceptions/ZipException.php', 'Safe\\Exceptions\\ZlibException' => __DIR__ . '/..' . '/thecodingmachine/safe/generated/Exceptions/ZlibException.php', - 'Sanitizer' => __DIR__ . '/../..' . '/classes/Sanitizer.php', 'SebastianBergmann\\CliParser\\AmbiguousOptionException' => __DIR__ . '/..' . '/sebastian/cli-parser/src/exceptions/AmbiguousOptionException.php', 'SebastianBergmann\\CliParser\\Exception' => __DIR__ . '/..' . '/sebastian/cli-parser/src/exceptions/Exception.php', 'SebastianBergmann\\CliParser\\OptionDoesNotAllowArgumentException' => __DIR__ . '/..' . '/sebastian/cli-parser/src/exceptions/OptionDoesNotAllowArgumentException.php', @@ -2264,21 +956,6 @@ class ComposerStaticInit19fc2ff1c0f9a92279c7979386bb2056 'SebastianBergmann\\Type\\UnknownType' => __DIR__ . '/..' . '/sebastian/type/src/UnknownType.php', 'SebastianBergmann\\Type\\VoidType' => __DIR__ . '/..' . '/sebastian/type/src/VoidType.php', 'SebastianBergmann\\Version' => __DIR__ . '/..' . '/sebastian/version/src/Version.php', - 'SensitiveParameter' => __DIR__ . '/..' . '/symfony/polyfill-php82/Resources/stubs/SensitiveParameter.php', - 'SensitiveParameterValue' => __DIR__ . '/..' . '/symfony/polyfill-php82/Resources/stubs/SensitiveParameterValue.php', - 'Sessions' => __DIR__ . '/../..' . '/classes/Sessions.php', - 'Soundasleep\\Html2Text' => __DIR__ . '/..' . '/soundasleep/html2text/src/Html2Text.php', - 'Soundasleep\\Html2TextException' => __DIR__ . '/..' . '/soundasleep/html2text/src/Html2TextException.php', - 'Stringable' => __DIR__ . '/..' . '/symfony/polyfill-php80/Resources/stubs/Stringable.php', - 'Symfony\\Polyfill\\Mbstring\\Mbstring' => __DIR__ . '/..' . '/symfony/polyfill-mbstring/Mbstring.php', - 'Symfony\\Polyfill\\Php80\\Php80' => __DIR__ . '/..' . '/symfony/polyfill-php80/Php80.php', - 'Symfony\\Polyfill\\Php80\\PhpToken' => __DIR__ . '/..' . '/symfony/polyfill-php80/PhpToken.php', - 'Symfony\\Polyfill\\Php81\\Php81' => __DIR__ . '/..' . '/symfony/polyfill-php81/Php81.php', - 'Symfony\\Polyfill\\Php82\\NoDynamicProperties' => __DIR__ . '/..' . '/symfony/polyfill-php82/NoDynamicProperties.php', - 'Symfony\\Polyfill\\Php82\\Php82' => __DIR__ . '/..' . '/symfony/polyfill-php82/Php82.php', - 'Symfony\\Polyfill\\Php82\\Random\\Engine\\Secure' => __DIR__ . '/..' . '/symfony/polyfill-php82/Random/Engine/Secure.php', - 'Symfony\\Polyfill\\Php82\\SensitiveParameterValue' => __DIR__ . '/..' . '/symfony/polyfill-php82/SensitiveParameterValue.php', - 'Templator' => __DIR__ . '/../..' . '/classes/Templator.php', 'TheSeer\\Tokenizer\\Exception' => __DIR__ . '/..' . '/theseer/tokenizer/src/Exception.php', 'TheSeer\\Tokenizer\\NamespaceUri' => __DIR__ . '/..' . '/theseer/tokenizer/src/NamespaceUri.php', 'TheSeer\\Tokenizer\\NamespaceUriException' => __DIR__ . '/..' . '/theseer/tokenizer/src/NamespaceUriException.php', @@ -2287,136 +964,6 @@ class ComposerStaticInit19fc2ff1c0f9a92279c7979386bb2056 'TheSeer\\Tokenizer\\TokenCollectionException' => __DIR__ . '/..' . '/theseer/tokenizer/src/TokenCollectionException.php', 'TheSeer\\Tokenizer\\Tokenizer' => __DIR__ . '/..' . '/theseer/tokenizer/src/Tokenizer.php', 'TheSeer\\Tokenizer\\XMLSerializer' => __DIR__ . '/..' . '/theseer/tokenizer/src/XMLSerializer.php', - 'TimeHelper' => __DIR__ . '/../..' . '/classes/TimeHelper.php', - 'Tracer' => __DIR__ . '/../..' . '/classes/Tracer.php', - 'UnhandledMatchError' => __DIR__ . '/..' . '/symfony/polyfill-php80/Resources/stubs/UnhandledMatchError.php', - 'UrlHelper' => __DIR__ . '/../..' . '/classes/UrlHelper.php', - 'UserHelper' => __DIR__ . '/../..' . '/classes/UserHelper.php', - 'ValueError' => __DIR__ . '/..' . '/symfony/polyfill-php80/Resources/stubs/ValueError.php', - 'Webmozart\\Assert\\Assert' => __DIR__ . '/..' . '/webmozart/assert/src/Assert.php', - 'Webmozart\\Assert\\InvalidArgumentException' => __DIR__ . '/..' . '/webmozart/assert/src/InvalidArgumentException.php', - 'Webmozart\\Assert\\Mixin' => __DIR__ . '/..' . '/webmozart/assert/src/Mixin.php', - 'chillerlan\\QRCode\\Data\\AlphaNum' => __DIR__ . '/..' . '/chillerlan/php-qrcode/src/Data/AlphaNum.php', - 'chillerlan\\QRCode\\Data\\Byte' => __DIR__ . '/..' . '/chillerlan/php-qrcode/src/Data/Byte.php', - 'chillerlan\\QRCode\\Data\\Kanji' => __DIR__ . '/..' . '/chillerlan/php-qrcode/src/Data/Kanji.php', - 'chillerlan\\QRCode\\Data\\MaskPatternTester' => __DIR__ . '/..' . '/chillerlan/php-qrcode/src/Data/MaskPatternTester.php', - 'chillerlan\\QRCode\\Data\\Number' => __DIR__ . '/..' . '/chillerlan/php-qrcode/src/Data/Number.php', - 'chillerlan\\QRCode\\Data\\QRCodeDataException' => __DIR__ . '/..' . '/chillerlan/php-qrcode/src/Data/QRCodeDataException.php', - 'chillerlan\\QRCode\\Data\\QRDataAbstract' => __DIR__ . '/..' . '/chillerlan/php-qrcode/src/Data/QRDataAbstract.php', - 'chillerlan\\QRCode\\Data\\QRDataInterface' => __DIR__ . '/..' . '/chillerlan/php-qrcode/src/Data/QRDataInterface.php', - 'chillerlan\\QRCode\\Data\\QRMatrix' => __DIR__ . '/..' . '/chillerlan/php-qrcode/src/Data/QRMatrix.php', - 'chillerlan\\QRCode\\Helpers\\BitBuffer' => __DIR__ . '/..' . '/chillerlan/php-qrcode/src/Helpers/BitBuffer.php', - 'chillerlan\\QRCode\\Helpers\\Polynomial' => __DIR__ . '/..' . '/chillerlan/php-qrcode/src/Helpers/Polynomial.php', - 'chillerlan\\QRCode\\Output\\QRCodeOutputException' => __DIR__ . '/..' . '/chillerlan/php-qrcode/src/Output/QRCodeOutputException.php', - 'chillerlan\\QRCode\\Output\\QRFpdf' => __DIR__ . '/..' . '/chillerlan/php-qrcode/src/Output/QRFpdf.php', - 'chillerlan\\QRCode\\Output\\QRImage' => __DIR__ . '/..' . '/chillerlan/php-qrcode/src/Output/QRImage.php', - 'chillerlan\\QRCode\\Output\\QRImagick' => __DIR__ . '/..' . '/chillerlan/php-qrcode/src/Output/QRImagick.php', - 'chillerlan\\QRCode\\Output\\QRMarkup' => __DIR__ . '/..' . '/chillerlan/php-qrcode/src/Output/QRMarkup.php', - 'chillerlan\\QRCode\\Output\\QROutputAbstract' => __DIR__ . '/..' . '/chillerlan/php-qrcode/src/Output/QROutputAbstract.php', - 'chillerlan\\QRCode\\Output\\QROutputInterface' => __DIR__ . '/..' . '/chillerlan/php-qrcode/src/Output/QROutputInterface.php', - 'chillerlan\\QRCode\\Output\\QRString' => __DIR__ . '/..' . '/chillerlan/php-qrcode/src/Output/QRString.php', - 'chillerlan\\QRCode\\QRCode' => __DIR__ . '/..' . '/chillerlan/php-qrcode/src/QRCode.php', - 'chillerlan\\QRCode\\QRCodeException' => __DIR__ . '/..' . '/chillerlan/php-qrcode/src/QRCodeException.php', - 'chillerlan\\QRCode\\QROptions' => __DIR__ . '/..' . '/chillerlan/php-qrcode/src/QROptions.php', - 'chillerlan\\QRCode\\QROptionsTrait' => __DIR__ . '/..' . '/chillerlan/php-qrcode/src/QROptionsTrait.php', - 'chillerlan\\Settings\\SettingsContainerAbstract' => __DIR__ . '/..' . '/chillerlan/php-settings-container/src/SettingsContainerAbstract.php', - 'chillerlan\\Settings\\SettingsContainerInterface' => __DIR__ . '/..' . '/chillerlan/php-settings-container/src/SettingsContainerInterface.php', - 'phpDocumentor\\Reflection\\DocBlock' => __DIR__ . '/..' . '/phpdocumentor/reflection-docblock/src/DocBlock.php', - 'phpDocumentor\\Reflection\\DocBlockFactory' => __DIR__ . '/..' . '/phpdocumentor/reflection-docblock/src/DocBlockFactory.php', - 'phpDocumentor\\Reflection\\DocBlockFactoryInterface' => __DIR__ . '/..' . '/phpdocumentor/reflection-docblock/src/DocBlockFactoryInterface.php', - 'phpDocumentor\\Reflection\\DocBlock\\Description' => __DIR__ . '/..' . '/phpdocumentor/reflection-docblock/src/DocBlock/Description.php', - 'phpDocumentor\\Reflection\\DocBlock\\DescriptionFactory' => __DIR__ . '/..' . '/phpdocumentor/reflection-docblock/src/DocBlock/DescriptionFactory.php', - 'phpDocumentor\\Reflection\\DocBlock\\ExampleFinder' => __DIR__ . '/..' . '/phpdocumentor/reflection-docblock/src/DocBlock/ExampleFinder.php', - 'phpDocumentor\\Reflection\\DocBlock\\Serializer' => __DIR__ . '/..' . '/phpdocumentor/reflection-docblock/src/DocBlock/Serializer.php', - 'phpDocumentor\\Reflection\\DocBlock\\StandardTagFactory' => __DIR__ . '/..' . '/phpdocumentor/reflection-docblock/src/DocBlock/StandardTagFactory.php', - 'phpDocumentor\\Reflection\\DocBlock\\Tag' => __DIR__ . '/..' . '/phpdocumentor/reflection-docblock/src/DocBlock/Tag.php', - 'phpDocumentor\\Reflection\\DocBlock\\TagFactory' => __DIR__ . '/..' . '/phpdocumentor/reflection-docblock/src/DocBlock/TagFactory.php', - 'phpDocumentor\\Reflection\\DocBlock\\Tags\\Author' => __DIR__ . '/..' . '/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Author.php', - 'phpDocumentor\\Reflection\\DocBlock\\Tags\\BaseTag' => __DIR__ . '/..' . '/phpdocumentor/reflection-docblock/src/DocBlock/Tags/BaseTag.php', - 'phpDocumentor\\Reflection\\DocBlock\\Tags\\Covers' => __DIR__ . '/..' . '/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Covers.php', - 'phpDocumentor\\Reflection\\DocBlock\\Tags\\Deprecated' => __DIR__ . '/..' . '/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Deprecated.php', - 'phpDocumentor\\Reflection\\DocBlock\\Tags\\Example' => __DIR__ . '/..' . '/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Example.php', - 'phpDocumentor\\Reflection\\DocBlock\\Tags\\Factory\\StaticMethod' => __DIR__ . '/..' . '/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Factory/StaticMethod.php', - 'phpDocumentor\\Reflection\\DocBlock\\Tags\\Formatter' => __DIR__ . '/..' . '/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Formatter.php', - 'phpDocumentor\\Reflection\\DocBlock\\Tags\\Formatter\\AlignFormatter' => __DIR__ . '/..' . '/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Formatter/AlignFormatter.php', - 'phpDocumentor\\Reflection\\DocBlock\\Tags\\Formatter\\PassthroughFormatter' => __DIR__ . '/..' . '/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Formatter/PassthroughFormatter.php', - 'phpDocumentor\\Reflection\\DocBlock\\Tags\\Generic' => __DIR__ . '/..' . '/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Generic.php', - 'phpDocumentor\\Reflection\\DocBlock\\Tags\\InvalidTag' => __DIR__ . '/..' . '/phpdocumentor/reflection-docblock/src/DocBlock/Tags/InvalidTag.php', - 'phpDocumentor\\Reflection\\DocBlock\\Tags\\Link' => __DIR__ . '/..' . '/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Link.php', - 'phpDocumentor\\Reflection\\DocBlock\\Tags\\Method' => __DIR__ . '/..' . '/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Method.php', - 'phpDocumentor\\Reflection\\DocBlock\\Tags\\Param' => __DIR__ . '/..' . '/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Param.php', - 'phpDocumentor\\Reflection\\DocBlock\\Tags\\Property' => __DIR__ . '/..' . '/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Property.php', - 'phpDocumentor\\Reflection\\DocBlock\\Tags\\PropertyRead' => __DIR__ . '/..' . '/phpdocumentor/reflection-docblock/src/DocBlock/Tags/PropertyRead.php', - 'phpDocumentor\\Reflection\\DocBlock\\Tags\\PropertyWrite' => __DIR__ . '/..' . '/phpdocumentor/reflection-docblock/src/DocBlock/Tags/PropertyWrite.php', - 'phpDocumentor\\Reflection\\DocBlock\\Tags\\Reference\\Fqsen' => __DIR__ . '/..' . '/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Reference/Fqsen.php', - 'phpDocumentor\\Reflection\\DocBlock\\Tags\\Reference\\Reference' => __DIR__ . '/..' . '/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Reference/Reference.php', - 'phpDocumentor\\Reflection\\DocBlock\\Tags\\Reference\\Url' => __DIR__ . '/..' . '/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Reference/Url.php', - 'phpDocumentor\\Reflection\\DocBlock\\Tags\\Return_' => __DIR__ . '/..' . '/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Return_.php', - 'phpDocumentor\\Reflection\\DocBlock\\Tags\\See' => __DIR__ . '/..' . '/phpdocumentor/reflection-docblock/src/DocBlock/Tags/See.php', - 'phpDocumentor\\Reflection\\DocBlock\\Tags\\Since' => __DIR__ . '/..' . '/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Since.php', - 'phpDocumentor\\Reflection\\DocBlock\\Tags\\Source' => __DIR__ . '/..' . '/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Source.php', - 'phpDocumentor\\Reflection\\DocBlock\\Tags\\TagWithType' => __DIR__ . '/..' . '/phpdocumentor/reflection-docblock/src/DocBlock/Tags/TagWithType.php', - 'phpDocumentor\\Reflection\\DocBlock\\Tags\\Throws' => __DIR__ . '/..' . '/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Throws.php', - 'phpDocumentor\\Reflection\\DocBlock\\Tags\\Uses' => __DIR__ . '/..' . '/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Uses.php', - 'phpDocumentor\\Reflection\\DocBlock\\Tags\\Var_' => __DIR__ . '/..' . '/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Var_.php', - 'phpDocumentor\\Reflection\\DocBlock\\Tags\\Version' => __DIR__ . '/..' . '/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Version.php', - 'phpDocumentor\\Reflection\\Element' => __DIR__ . '/..' . '/phpdocumentor/reflection-common/src/Element.php', - 'phpDocumentor\\Reflection\\Exception\\PcreException' => __DIR__ . '/..' . '/phpdocumentor/reflection-docblock/src/Exception/PcreException.php', - 'phpDocumentor\\Reflection\\File' => __DIR__ . '/..' . '/phpdocumentor/reflection-common/src/File.php', - 'phpDocumentor\\Reflection\\Fqsen' => __DIR__ . '/..' . '/phpdocumentor/reflection-common/src/Fqsen.php', - 'phpDocumentor\\Reflection\\FqsenResolver' => __DIR__ . '/..' . '/phpdocumentor/type-resolver/src/FqsenResolver.php', - 'phpDocumentor\\Reflection\\Location' => __DIR__ . '/..' . '/phpdocumentor/reflection-common/src/Location.php', - 'phpDocumentor\\Reflection\\Project' => __DIR__ . '/..' . '/phpdocumentor/reflection-common/src/Project.php', - 'phpDocumentor\\Reflection\\ProjectFactory' => __DIR__ . '/..' . '/phpdocumentor/reflection-common/src/ProjectFactory.php', - 'phpDocumentor\\Reflection\\PseudoType' => __DIR__ . '/..' . '/phpdocumentor/type-resolver/src/PseudoType.php', - 'phpDocumentor\\Reflection\\PseudoTypes\\CallableString' => __DIR__ . '/..' . '/phpdocumentor/type-resolver/src/PseudoTypes/CallableString.php', - 'phpDocumentor\\Reflection\\PseudoTypes\\False_' => __DIR__ . '/..' . '/phpdocumentor/type-resolver/src/PseudoTypes/False_.php', - 'phpDocumentor\\Reflection\\PseudoTypes\\HtmlEscapedString' => __DIR__ . '/..' . '/phpdocumentor/type-resolver/src/PseudoTypes/HtmlEscapedString.php', - 'phpDocumentor\\Reflection\\PseudoTypes\\IntegerRange' => __DIR__ . '/..' . '/phpdocumentor/type-resolver/src/PseudoTypes/IntegerRange.php', - 'phpDocumentor\\Reflection\\PseudoTypes\\List_' => __DIR__ . '/..' . '/phpdocumentor/type-resolver/src/PseudoTypes/List_.php', - 'phpDocumentor\\Reflection\\PseudoTypes\\LiteralString' => __DIR__ . '/..' . '/phpdocumentor/type-resolver/src/PseudoTypes/LiteralString.php', - 'phpDocumentor\\Reflection\\PseudoTypes\\LowercaseString' => __DIR__ . '/..' . '/phpdocumentor/type-resolver/src/PseudoTypes/LowercaseString.php', - 'phpDocumentor\\Reflection\\PseudoTypes\\NegativeInteger' => __DIR__ . '/..' . '/phpdocumentor/type-resolver/src/PseudoTypes/NegativeInteger.php', - 'phpDocumentor\\Reflection\\PseudoTypes\\NonEmptyLowercaseString' => __DIR__ . '/..' . '/phpdocumentor/type-resolver/src/PseudoTypes/NonEmptyLowercaseString.php', - 'phpDocumentor\\Reflection\\PseudoTypes\\NonEmptyString' => __DIR__ . '/..' . '/phpdocumentor/type-resolver/src/PseudoTypes/NonEmptyString.php', - 'phpDocumentor\\Reflection\\PseudoTypes\\NumericString' => __DIR__ . '/..' . '/phpdocumentor/type-resolver/src/PseudoTypes/NumericString.php', - 'phpDocumentor\\Reflection\\PseudoTypes\\Numeric_' => __DIR__ . '/..' . '/phpdocumentor/type-resolver/src/PseudoTypes/Numeric_.php', - 'phpDocumentor\\Reflection\\PseudoTypes\\PositiveInteger' => __DIR__ . '/..' . '/phpdocumentor/type-resolver/src/PseudoTypes/PositiveInteger.php', - 'phpDocumentor\\Reflection\\PseudoTypes\\TraitString' => __DIR__ . '/..' . '/phpdocumentor/type-resolver/src/PseudoTypes/TraitString.php', - 'phpDocumentor\\Reflection\\PseudoTypes\\True_' => __DIR__ . '/..' . '/phpdocumentor/type-resolver/src/PseudoTypes/True_.php', - 'phpDocumentor\\Reflection\\Type' => __DIR__ . '/..' . '/phpdocumentor/type-resolver/src/Type.php', - 'phpDocumentor\\Reflection\\TypeResolver' => __DIR__ . '/..' . '/phpdocumentor/type-resolver/src/TypeResolver.php', - 'phpDocumentor\\Reflection\\Types\\AbstractList' => __DIR__ . '/..' . '/phpdocumentor/type-resolver/src/Types/AbstractList.php', - 'phpDocumentor\\Reflection\\Types\\AggregatedType' => __DIR__ . '/..' . '/phpdocumentor/type-resolver/src/Types/AggregatedType.php', - 'phpDocumentor\\Reflection\\Types\\ArrayKey' => __DIR__ . '/..' . '/phpdocumentor/type-resolver/src/Types/ArrayKey.php', - 'phpDocumentor\\Reflection\\Types\\Array_' => __DIR__ . '/..' . '/phpdocumentor/type-resolver/src/Types/Array_.php', - 'phpDocumentor\\Reflection\\Types\\Boolean' => __DIR__ . '/..' . '/phpdocumentor/type-resolver/src/Types/Boolean.php', - 'phpDocumentor\\Reflection\\Types\\Callable_' => __DIR__ . '/..' . '/phpdocumentor/type-resolver/src/Types/Callable_.php', - 'phpDocumentor\\Reflection\\Types\\ClassString' => __DIR__ . '/..' . '/phpdocumentor/type-resolver/src/Types/ClassString.php', - 'phpDocumentor\\Reflection\\Types\\Collection' => __DIR__ . '/..' . '/phpdocumentor/type-resolver/src/Types/Collection.php', - 'phpDocumentor\\Reflection\\Types\\Compound' => __DIR__ . '/..' . '/phpdocumentor/type-resolver/src/Types/Compound.php', - 'phpDocumentor\\Reflection\\Types\\Context' => __DIR__ . '/..' . '/phpdocumentor/type-resolver/src/Types/Context.php', - 'phpDocumentor\\Reflection\\Types\\ContextFactory' => __DIR__ . '/..' . '/phpdocumentor/type-resolver/src/Types/ContextFactory.php', - 'phpDocumentor\\Reflection\\Types\\Expression' => __DIR__ . '/..' . '/phpdocumentor/type-resolver/src/Types/Expression.php', - 'phpDocumentor\\Reflection\\Types\\Float_' => __DIR__ . '/..' . '/phpdocumentor/type-resolver/src/Types/Float_.php', - 'phpDocumentor\\Reflection\\Types\\Integer' => __DIR__ . '/..' . '/phpdocumentor/type-resolver/src/Types/Integer.php', - 'phpDocumentor\\Reflection\\Types\\InterfaceString' => __DIR__ . '/..' . '/phpdocumentor/type-resolver/src/Types/InterfaceString.php', - 'phpDocumentor\\Reflection\\Types\\Intersection' => __DIR__ . '/..' . '/phpdocumentor/type-resolver/src/Types/Intersection.php', - 'phpDocumentor\\Reflection\\Types\\Iterable_' => __DIR__ . '/..' . '/phpdocumentor/type-resolver/src/Types/Iterable_.php', - 'phpDocumentor\\Reflection\\Types\\Mixed_' => __DIR__ . '/..' . '/phpdocumentor/type-resolver/src/Types/Mixed_.php', - 'phpDocumentor\\Reflection\\Types\\Never_' => __DIR__ . '/..' . '/phpdocumentor/type-resolver/src/Types/Never_.php', - 'phpDocumentor\\Reflection\\Types\\Null_' => __DIR__ . '/..' . '/phpdocumentor/type-resolver/src/Types/Null_.php', - 'phpDocumentor\\Reflection\\Types\\Nullable' => __DIR__ . '/..' . '/phpdocumentor/type-resolver/src/Types/Nullable.php', - 'phpDocumentor\\Reflection\\Types\\Object_' => __DIR__ . '/..' . '/phpdocumentor/type-resolver/src/Types/Object_.php', - 'phpDocumentor\\Reflection\\Types\\Parent_' => __DIR__ . '/..' . '/phpdocumentor/type-resolver/src/Types/Parent_.php', - 'phpDocumentor\\Reflection\\Types\\Resource_' => __DIR__ . '/..' . '/phpdocumentor/type-resolver/src/Types/Resource_.php', - 'phpDocumentor\\Reflection\\Types\\Scalar' => __DIR__ . '/..' . '/phpdocumentor/type-resolver/src/Types/Scalar.php', - 'phpDocumentor\\Reflection\\Types\\Self_' => __DIR__ . '/..' . '/phpdocumentor/type-resolver/src/Types/Self_.php', - 'phpDocumentor\\Reflection\\Types\\Static_' => __DIR__ . '/..' . '/phpdocumentor/type-resolver/src/Types/Static_.php', - 'phpDocumentor\\Reflection\\Types\\String_' => __DIR__ . '/..' . '/phpdocumentor/type-resolver/src/Types/String_.php', - 'phpDocumentor\\Reflection\\Types\\This' => __DIR__ . '/..' . '/phpdocumentor/type-resolver/src/Types/This.php', - 'phpDocumentor\\Reflection\\Types\\Void_' => __DIR__ . '/..' . '/phpdocumentor/type-resolver/src/Types/Void_.php', - 'phpDocumentor\\Reflection\\Utils' => __DIR__ . '/..' . '/phpdocumentor/reflection-docblock/src/Utils.php', ); public static function getInitializer(ClassLoader $loader) diff --git a/vendor/composer/installed.json b/vendor/composer/installed.json index 429e6e42f..ef06aad7a 100644 --- a/vendor/composer/installed.json +++ b/vendor/composer/installed.json @@ -291,53 +291,6 @@ ], "install-path": "../doctrine/instantiator" }, - { - "name": "google/protobuf", - "version": "v3.24.4", - "version_normalized": "3.24.4.0", - "source": { - "type": "git", - "url": "https://github.com/protocolbuffers/protobuf-php.git", - "reference": "672d69e25f71b9364fdf1810eb8a8573defdc404" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/protocolbuffers/protobuf-php/zipball/672d69e25f71b9364fdf1810eb8a8573defdc404", - "reference": "672d69e25f71b9364fdf1810eb8a8573defdc404", - "shasum": "" - }, - "require": { - "php": ">=7.0.0" - }, - "require-dev": { - "phpunit/phpunit": ">=5.0.0" - }, - "suggest": { - "ext-bcmath": "Need to support JSON deserialization" - }, - "time": "2023-10-04T17:22:47+00:00", - "type": "library", - "installation-source": "dist", - "autoload": { - "psr-4": { - "Google\\Protobuf\\": "src/Google/Protobuf", - "GPBMetadata\\Google\\Protobuf\\": "src/GPBMetadata/Google/Protobuf" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "description": "proto library for PHP", - "homepage": "https://developers.google.com/protocol-buffers/", - "keywords": [ - "proto" - ], - "support": { - "source": "https://github.com/protocolbuffers/protobuf-php/tree/v3.24.4" - }, - "install-path": "../google/protobuf" - }, { "name": "guzzlehttp/guzzle", "version": "7.8.1", @@ -907,416 +860,6 @@ }, "install-path": "../nikic/php-parser" }, - { - "name": "open-telemetry/api", - "version": "1.0.0", - "version_normalized": "1.0.0.0", - "source": { - "type": "git", - "url": "https://github.com/opentelemetry-php/api.git", - "reference": "d577d732333d38a9a6c16936363ee25f1e3f1c3c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/opentelemetry-php/api/zipball/d577d732333d38a9a6c16936363ee25f1e3f1c3c", - "reference": "d577d732333d38a9a6c16936363ee25f1e3f1c3c", - "shasum": "" - }, - "require": { - "open-telemetry/context": "^1.0", - "php": "^7.4 || ^8.0", - "psr/log": "^1.1|^2.0|^3.0", - "symfony/polyfill-php80": "^1.26", - "symfony/polyfill-php81": "^1.26", - "symfony/polyfill-php82": "^1.26" - }, - "time": "2023-09-27T23:15:51+00:00", - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "1.0.x-dev" - } - }, - "installation-source": "dist", - "autoload": { - "files": [ - "Trace/functions.php" - ], - "psr-4": { - "OpenTelemetry\\API\\": "." - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "Apache-2.0" - ], - "authors": [ - { - "name": "opentelemetry-php contributors", - "homepage": "https://github.com/open-telemetry/opentelemetry-php/graphs/contributors" - } - ], - "description": "API for OpenTelemetry PHP.", - "keywords": [ - "Metrics", - "api", - "apm", - "logging", - "opentelemetry", - "otel", - "tracing" - ], - "support": { - "chat": "https://app.slack.com/client/T08PSQ7BQ/C01NFPCV44V", - "docs": "https://opentelemetry.io/docs/php", - "issues": "https://github.com/open-telemetry/opentelemetry-php/issues", - "source": "https://github.com/open-telemetry/opentelemetry-php" - }, - "install-path": "../open-telemetry/api" - }, - { - "name": "open-telemetry/context", - "version": "1.0.0", - "version_normalized": "1.0.0.0", - "source": { - "type": "git", - "url": "https://github.com/opentelemetry-php/context.git", - "reference": "99f3d54fa9f9ff67421774feeef5e5b1f209ea21" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/opentelemetry-php/context/zipball/99f3d54fa9f9ff67421774feeef5e5b1f209ea21", - "reference": "99f3d54fa9f9ff67421774feeef5e5b1f209ea21", - "shasum": "" - }, - "require": { - "php": "^7.4 || ^8.0", - "symfony/polyfill-php80": "^1.26", - "symfony/polyfill-php81": "^1.26", - "symfony/polyfill-php82": "^1.26" - }, - "suggest": { - "ext-ffi": "To allow context switching in Fibers" - }, - "time": "2023-09-05T03:38:44+00:00", - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "1.0.x-dev" - } - }, - "installation-source": "dist", - "autoload": { - "files": [ - "fiber/initialize_fiber_handler.php" - ], - "psr-4": { - "OpenTelemetry\\Context\\": "." - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "Apache-2.0" - ], - "authors": [ - { - "name": "opentelemetry-php contributors", - "homepage": "https://github.com/open-telemetry/opentelemetry-php/graphs/contributors" - } - ], - "description": "Context implementation for OpenTelemetry PHP.", - "keywords": [ - "Context", - "opentelemetry", - "otel" - ], - "support": { - "chat": "https://app.slack.com/client/T08PSQ7BQ/C01NFPCV44V", - "docs": "https://opentelemetry.io/docs/php", - "issues": "https://github.com/open-telemetry/opentelemetry-php/issues", - "source": "https://github.com/open-telemetry/opentelemetry-php" - }, - "install-path": "../open-telemetry/context" - }, - { - "name": "open-telemetry/exporter-otlp", - "version": "1.0.0", - "version_normalized": "1.0.0.0", - "source": { - "type": "git", - "url": "https://github.com/opentelemetry-php/exporter-otlp.git", - "reference": "756092bdff472ea49adb7843c74011606d065b36" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/opentelemetry-php/exporter-otlp/zipball/756092bdff472ea49adb7843c74011606d065b36", - "reference": "756092bdff472ea49adb7843c74011606d065b36", - "shasum": "" - }, - "require": { - "open-telemetry/api": "^1.0", - "open-telemetry/gen-otlp-protobuf": "^1.0", - "open-telemetry/sdk": "^1.0", - "php": "^7.4 || ^8.0", - "php-http/discovery": "^1.14" - }, - "time": "2023-10-13T00:48:23+00:00", - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "1.0.x-dev" - } - }, - "installation-source": "dist", - "autoload": { - "files": [ - "_register.php" - ], - "psr-4": { - "OpenTelemetry\\Contrib\\Otlp\\": "." - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "Apache-2.0" - ], - "authors": [ - { - "name": "opentelemetry-php contributors", - "homepage": "https://github.com/open-telemetry/opentelemetry-php/graphs/contributors" - } - ], - "description": "OTLP exporter for OpenTelemetry.", - "keywords": [ - "Metrics", - "exporter", - "gRPC", - "http", - "opentelemetry", - "otel", - "otlp", - "tracing" - ], - "support": { - "chat": "https://app.slack.com/client/T08PSQ7BQ/C01NFPCV44V", - "docs": "https://opentelemetry.io/docs/php", - "issues": "https://github.com/open-telemetry/opentelemetry-php/issues", - "source": "https://github.com/open-telemetry/opentelemetry-php" - }, - "install-path": "../open-telemetry/exporter-otlp" - }, - { - "name": "open-telemetry/gen-otlp-protobuf", - "version": "1.0.0", - "version_normalized": "1.0.0.0", - "source": { - "type": "git", - "url": "https://github.com/opentelemetry-php/gen-otlp-protobuf.git", - "reference": "30fe95f10c2ec1a577f78257c86fbbebe739ca5e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/opentelemetry-php/gen-otlp-protobuf/zipball/30fe95f10c2ec1a577f78257c86fbbebe739ca5e", - "reference": "30fe95f10c2ec1a577f78257c86fbbebe739ca5e", - "shasum": "" - }, - "require": { - "google/protobuf": "^3.3.0", - "php": "^7.4 || ^8.0" - }, - "suggest": { - "ext-protobuf": "For better performance, when dealing with the protobuf format" - }, - "time": "2023-09-05T03:38:44+00:00", - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "1.x-dev" - } - }, - "installation-source": "dist", - "autoload": { - "psr-4": { - "Opentelemetry\\Proto\\": "Opentelemetry/Proto/", - "GPBMetadata\\Opentelemetry\\": "GPBMetadata/Opentelemetry/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "Apache-2.0" - ], - "authors": [ - { - "name": "opentelemetry-php contributors", - "homepage": "https://github.com/open-telemetry/opentelemetry-php/graphs/contributors" - } - ], - "description": "PHP protobuf files for communication with OpenTelemetry OTLP collectors/servers.", - "keywords": [ - "Metrics", - "apm", - "gRPC", - "logging", - "opentelemetry", - "otel", - "otlp", - "protobuf", - "tracing" - ], - "support": { - "chat": "https://app.slack.com/client/T08PSQ7BQ/C01NFPCV44V", - "docs": "https://opentelemetry.io/docs/php", - "issues": "https://github.com/open-telemetry/opentelemetry-php/issues", - "source": "https://github.com/open-telemetry/opentelemetry-php" - }, - "install-path": "../open-telemetry/gen-otlp-protobuf" - }, - { - "name": "open-telemetry/sdk", - "version": "1.0.0", - "version_normalized": "1.0.0.0", - "source": { - "type": "git", - "url": "https://github.com/opentelemetry-php/sdk.git", - "reference": "1c6020b4f1b85fdd647538ee46f6c83360d7c11e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/opentelemetry-php/sdk/zipball/1c6020b4f1b85fdd647538ee46f6c83360d7c11e", - "reference": "1c6020b4f1b85fdd647538ee46f6c83360d7c11e", - "shasum": "" - }, - "require": { - "ext-json": "*", - "open-telemetry/api": "^1.0", - "open-telemetry/context": "^1.0", - "open-telemetry/sem-conv": "^1.0", - "php": "^7.4 || ^8.0", - "php-http/discovery": "^1.14", - "psr/http-client": "^1.0", - "psr/http-client-implementation": "^1.0", - "psr/http-factory-implementation": "^1.0", - "psr/http-message": "^1.0.1|^2.0", - "psr/log": "^1.1|^2.0|^3.0", - "symfony/polyfill-mbstring": "^1.23", - "symfony/polyfill-php80": "^1.26", - "symfony/polyfill-php81": "^1.26", - "symfony/polyfill-php82": "^1.26" - }, - "suggest": { - "ext-gmp": "To support unlimited number of synchronous metric readers", - "ext-mbstring": "To increase performance of string operations" - }, - "time": "2023-10-18T20:53:08+00:00", - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "1.0.x-dev" - } - }, - "installation-source": "dist", - "autoload": { - "files": [ - "Common/Util/functions.php", - "Logs/Exporter/_register.php", - "Metrics/MetricExporter/_register.php", - "Propagation/_register.php", - "Trace/SpanExporter/_register.php", - "Common/Dev/Compatibility/_load.php", - "_autoload.php" - ], - "psr-4": { - "OpenTelemetry\\SDK\\": "." - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "Apache-2.0" - ], - "authors": [ - { - "name": "opentelemetry-php contributors", - "homepage": "https://github.com/open-telemetry/opentelemetry-php/graphs/contributors" - } - ], - "description": "SDK for OpenTelemetry PHP.", - "keywords": [ - "Metrics", - "apm", - "logging", - "opentelemetry", - "otel", - "sdk", - "tracing" - ], - "support": { - "chat": "https://app.slack.com/client/T08PSQ7BQ/C01NFPCV44V", - "docs": "https://opentelemetry.io/docs/php", - "issues": "https://github.com/open-telemetry/opentelemetry-php/issues", - "source": "https://github.com/open-telemetry/opentelemetry-php" - }, - "install-path": "../open-telemetry/sdk" - }, - { - "name": "open-telemetry/sem-conv", - "version": "1.22.1", - "version_normalized": "1.22.1.0", - "source": { - "type": "git", - "url": "https://github.com/opentelemetry-php/sem-conv.git", - "reference": "e582b874ee89bec544f962db212b3966fe9310a7" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/opentelemetry-php/sem-conv/zipball/e582b874ee89bec544f962db212b3966fe9310a7", - "reference": "e582b874ee89bec544f962db212b3966fe9310a7", - "shasum": "" - }, - "require": { - "php": "^7.4 || ^8.0" - }, - "time": "2023-10-19T20:10:44+00:00", - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "1.x-dev" - } - }, - "installation-source": "dist", - "autoload": { - "psr-4": { - "OpenTelemetry\\SemConv\\": "." - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "Apache-2.0" - ], - "authors": [ - { - "name": "opentelemetry-php contributors", - "homepage": "https://github.com/open-telemetry/opentelemetry-php/graphs/contributors" - } - ], - "description": "Semantic conventions for OpenTelemetry PHP.", - "keywords": [ - "Metrics", - "apm", - "logging", - "opentelemetry", - "otel", - "semantic conventions", - "semconv", - "tracing" - ], - "support": { - "chat": "https://app.slack.com/client/T08PSQ7BQ/C01NFPCV44V", - "docs": "https://opentelemetry.io/docs/php", - "issues": "https://github.com/open-telemetry/opentelemetry-php/issues", - "source": "https://github.com/open-telemetry/opentelemetry-php" - }, - "install-path": "../open-telemetry/sem-conv" - }, { "name": "paragonie/constant_time_encoding", "version": "v2.6.3", @@ -1504,87 +1047,6 @@ }, "install-path": "../phar-io/version" }, - { - "name": "php-http/discovery", - "version": "1.19.1", - "version_normalized": "1.19.1.0", - "source": { - "type": "git", - "url": "https://github.com/php-http/discovery.git", - "reference": "57f3de01d32085fea20865f9b16fb0e69347c39e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-http/discovery/zipball/57f3de01d32085fea20865f9b16fb0e69347c39e", - "reference": "57f3de01d32085fea20865f9b16fb0e69347c39e", - "shasum": "" - }, - "require": { - "composer-plugin-api": "^1.0|^2.0", - "php": "^7.1 || ^8.0" - }, - "conflict": { - "nyholm/psr7": "<1.0", - "zendframework/zend-diactoros": "*" - }, - "provide": { - "php-http/async-client-implementation": "*", - "php-http/client-implementation": "*", - "psr/http-client-implementation": "*", - "psr/http-factory-implementation": "*", - "psr/http-message-implementation": "*" - }, - "require-dev": { - "composer/composer": "^1.0.2|^2.0", - "graham-campbell/phpspec-skip-example-extension": "^5.0", - "php-http/httplug": "^1.0 || ^2.0", - "php-http/message-factory": "^1.0", - "phpspec/phpspec": "^5.1 || ^6.1 || ^7.3", - "symfony/phpunit-bridge": "^6.2" - }, - "time": "2023-07-11T07:02:26+00:00", - "type": "composer-plugin", - "extra": { - "class": "Http\\Discovery\\Composer\\Plugin", - "plugin-optional": true - }, - "installation-source": "dist", - "autoload": { - "psr-4": { - "Http\\Discovery\\": "src/" - }, - "exclude-from-classmap": [ - "src/Composer/Plugin.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Márk Sági-Kazár", - "email": "mark.sagikazar@gmail.com" - } - ], - "description": "Finds and installs PSR-7, PSR-17, PSR-18 and HTTPlug implementations", - "homepage": "http://php-http.org", - "keywords": [ - "adapter", - "client", - "discovery", - "factory", - "http", - "message", - "psr17", - "psr7" - ], - "support": { - "issues": "https://github.com/php-http/discovery/issues", - "source": "https://github.com/php-http/discovery/tree/1.19.1" - }, - "install-path": "../php-http/discovery" - }, { "name": "php-http/guzzle7-adapter", "version": "1.0.0", @@ -2679,59 +2141,6 @@ }, "install-path": "../psr/http-message" }, - { - "name": "psr/log", - "version": "3.0.0", - "version_normalized": "3.0.0.0", - "source": { - "type": "git", - "url": "https://github.com/php-fig/log.git", - "reference": "fe5ea303b0887d5caefd3d431c3e61ad47037001" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/log/zipball/fe5ea303b0887d5caefd3d431c3e61ad47037001", - "reference": "fe5ea303b0887d5caefd3d431c3e61ad47037001", - "shasum": "" - }, - "require": { - "php": ">=8.0.0" - }, - "time": "2021-07-14T16:46:02+00:00", - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.x-dev" - } - }, - "installation-source": "dist", - "autoload": { - "psr-4": { - "Psr\\Log\\": "src" - } - }, - "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/3.0.0" - }, - "install-path": "../psr/log" - }, { "name": "ralouphie/getallheaders", "version": "3.0.3", @@ -3997,342 +3406,6 @@ ], "install-path": "../symfony/deprecation-contracts" }, - { - "name": "symfony/polyfill-mbstring", - "version": "v1.28.0", - "version_normalized": "1.28.0.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "42292d99c55abe617799667f454222c54c60e229" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/42292d99c55abe617799667f454222c54c60e229", - "reference": "42292d99c55abe617799667f454222c54c60e229", - "shasum": "" - }, - "require": { - "php": ">=7.1" - }, - "provide": { - "ext-mbstring": "*" - }, - "suggest": { - "ext-mbstring": "For best performance" - }, - "time": "2023-07-28T09:04:16+00:00", - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "1.28-dev" - }, - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" - } - }, - "installation-source": "dist", - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Mbstring\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for the Mbstring extension", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "mbstring", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.28.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "install-path": "../symfony/polyfill-mbstring" - }, - { - "name": "symfony/polyfill-php80", - "version": "v1.28.0", - "version_normalized": "1.28.0.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-php80.git", - "reference": "6caa57379c4aec19c0a12a38b59b26487dcfe4b5" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/6caa57379c4aec19c0a12a38b59b26487dcfe4b5", - "reference": "6caa57379c4aec19c0a12a38b59b26487dcfe4b5", - "shasum": "" - }, - "require": { - "php": ">=7.1" - }, - "time": "2023-01-26T09:26:14+00:00", - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "1.28-dev" - }, - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" - } - }, - "installation-source": "dist", - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Php80\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Ion Bazan", - "email": "ion.bazan@gmail.com" - }, - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill backporting some PHP 8.0+ features to lower PHP versions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-php80/tree/v1.28.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "install-path": "../symfony/polyfill-php80" - }, - { - "name": "symfony/polyfill-php81", - "version": "v1.28.0", - "version_normalized": "1.28.0.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-php81.git", - "reference": "7581cd600fa9fd681b797d00b02f068e2f13263b" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php81/zipball/7581cd600fa9fd681b797d00b02f068e2f13263b", - "reference": "7581cd600fa9fd681b797d00b02f068e2f13263b", - "shasum": "" - }, - "require": { - "php": ">=7.1" - }, - "time": "2023-01-26T09:26:14+00:00", - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "1.28-dev" - }, - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" - } - }, - "installation-source": "dist", - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Php81\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill backporting some PHP 8.1+ features to lower PHP versions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-php81/tree/v1.28.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "install-path": "../symfony/polyfill-php81" - }, - { - "name": "symfony/polyfill-php82", - "version": "v1.28.0", - "version_normalized": "1.28.0.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-php82.git", - "reference": "7716bea9c86776fb3362d6b52fe1fc9471056a49" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php82/zipball/7716bea9c86776fb3362d6b52fe1fc9471056a49", - "reference": "7716bea9c86776fb3362d6b52fe1fc9471056a49", - "shasum": "" - }, - "require": { - "php": ">=7.1" - }, - "time": "2023-08-25T17:27:25+00:00", - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "1.28-dev" - }, - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" - } - }, - "installation-source": "dist", - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Php82\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill backporting some PHP 8.2+ features to lower PHP versions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-php82/tree/v1.28.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "install-path": "../symfony/polyfill-php82" - }, { "name": "thecodingmachine/safe", "version": "v2.2.2", diff --git a/vendor/composer/installed.php b/vendor/composer/installed.php index dd4263db6..eece8200a 100644 --- a/vendor/composer/installed.php +++ b/vendor/composer/installed.php @@ -3,7 +3,7 @@ 'name' => '__root__', 'pretty_version' => 'dev-master', 'version' => 'dev-master', - 'reference' => 'd4ae6c67db8c966ab4998fda6df14072b103106b', + 'reference' => '8fcc68baf5b0ff964a0a4a045353462586e0e316', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), @@ -13,7 +13,7 @@ '__root__' => array( 'pretty_version' => 'dev-master', 'version' => 'dev-master', - 'reference' => 'd4ae6c67db8c966ab4998fda6df14072b103106b', + 'reference' => '8fcc68baf5b0ff964a0a4a045353462586e0e316', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), @@ -55,15 +55,6 @@ 'aliases' => array(), 'dev_requirement' => true, ), - 'google/protobuf' => array( - 'pretty_version' => 'v3.24.4', - 'version' => '3.24.4.0', - 'reference' => '672d69e25f71b9364fdf1810eb8a8573defdc404', - 'type' => 'library', - 'install_path' => __DIR__ . '/../google/protobuf', - 'aliases' => array(), - 'dev_requirement' => false, - ), 'guzzlehttp/guzzle' => array( 'pretty_version' => '7.8.1', 'version' => '7.8.1.0', @@ -129,60 +120,6 @@ 'aliases' => array(), 'dev_requirement' => true, ), - 'open-telemetry/api' => array( - 'pretty_version' => '1.0.0', - 'version' => '1.0.0.0', - 'reference' => 'd577d732333d38a9a6c16936363ee25f1e3f1c3c', - 'type' => 'library', - 'install_path' => __DIR__ . '/../open-telemetry/api', - 'aliases' => array(), - 'dev_requirement' => false, - ), - 'open-telemetry/context' => array( - 'pretty_version' => '1.0.0', - 'version' => '1.0.0.0', - 'reference' => '99f3d54fa9f9ff67421774feeef5e5b1f209ea21', - 'type' => 'library', - 'install_path' => __DIR__ . '/../open-telemetry/context', - 'aliases' => array(), - 'dev_requirement' => false, - ), - 'open-telemetry/exporter-otlp' => array( - 'pretty_version' => '1.0.0', - 'version' => '1.0.0.0', - 'reference' => '756092bdff472ea49adb7843c74011606d065b36', - 'type' => 'library', - 'install_path' => __DIR__ . '/../open-telemetry/exporter-otlp', - 'aliases' => array(), - 'dev_requirement' => false, - ), - 'open-telemetry/gen-otlp-protobuf' => array( - 'pretty_version' => '1.0.0', - 'version' => '1.0.0.0', - 'reference' => '30fe95f10c2ec1a577f78257c86fbbebe739ca5e', - 'type' => 'library', - 'install_path' => __DIR__ . '/../open-telemetry/gen-otlp-protobuf', - 'aliases' => array(), - 'dev_requirement' => false, - ), - 'open-telemetry/sdk' => array( - 'pretty_version' => '1.0.0', - 'version' => '1.0.0.0', - 'reference' => '1c6020b4f1b85fdd647538ee46f6c83360d7c11e', - 'type' => 'library', - 'install_path' => __DIR__ . '/../open-telemetry/sdk', - 'aliases' => array(), - 'dev_requirement' => false, - ), - 'open-telemetry/sem-conv' => array( - 'pretty_version' => '1.22.1', - 'version' => '1.22.1.0', - 'reference' => 'e582b874ee89bec544f962db212b3966fe9310a7', - 'type' => 'library', - 'install_path' => __DIR__ . '/../open-telemetry/sem-conv', - 'aliases' => array(), - 'dev_requirement' => false, - ), 'paragonie/constant_time_encoding' => array( 'pretty_version' => 'v2.6.3', 'version' => '2.6.3.0', @@ -213,26 +150,15 @@ 'php-http/async-client-implementation' => array( 'dev_requirement' => false, 'provided' => array( - 0 => '*', - 1 => '1.0', + 0 => '1.0', ), ), 'php-http/client-implementation' => array( 'dev_requirement' => false, 'provided' => array( - 0 => '*', - 1 => '1.0', + 0 => '1.0', ), ), - 'php-http/discovery' => array( - 'pretty_version' => '1.19.1', - 'version' => '1.19.1.0', - 'reference' => '57f3de01d32085fea20865f9b16fb0e69347c39e', - 'type' => 'composer-plugin', - 'install_path' => __DIR__ . '/../php-http/discovery', - 'aliases' => array(), - 'dev_requirement' => false, - ), 'php-http/guzzle7-adapter' => array( 'pretty_version' => '1.0.0', 'version' => '1.0.0.0', @@ -371,8 +297,7 @@ 'psr/http-client-implementation' => array( 'dev_requirement' => false, 'provided' => array( - 0 => '*', - 1 => '1.0', + 0 => '1.0', ), ), 'psr/http-factory' => array( @@ -388,7 +313,6 @@ 'dev_requirement' => false, 'provided' => array( 0 => '1.0', - 1 => '*', ), ), 'psr/http-message' => array( @@ -404,18 +328,8 @@ 'dev_requirement' => false, 'provided' => array( 0 => '1.0', - 1 => '*', ), ), - 'psr/log' => array( - 'pretty_version' => '3.0.0', - 'version' => '3.0.0.0', - 'reference' => 'fe5ea303b0887d5caefd3d431c3e61ad47037001', - 'type' => 'library', - 'install_path' => __DIR__ . '/../psr/log', - 'aliases' => array(), - 'dev_requirement' => false, - ), 'ralouphie/getallheaders' => array( 'pretty_version' => '3.0.3', 'version' => '3.0.3.0', @@ -596,42 +510,6 @@ 'aliases' => array(), 'dev_requirement' => false, ), - 'symfony/polyfill-mbstring' => array( - 'pretty_version' => 'v1.28.0', - 'version' => '1.28.0.0', - 'reference' => '42292d99c55abe617799667f454222c54c60e229', - 'type' => 'library', - 'install_path' => __DIR__ . '/../symfony/polyfill-mbstring', - 'aliases' => array(), - 'dev_requirement' => false, - ), - 'symfony/polyfill-php80' => array( - 'pretty_version' => 'v1.28.0', - 'version' => '1.28.0.0', - 'reference' => '6caa57379c4aec19c0a12a38b59b26487dcfe4b5', - 'type' => 'library', - 'install_path' => __DIR__ . '/../symfony/polyfill-php80', - 'aliases' => array(), - 'dev_requirement' => false, - ), - 'symfony/polyfill-php81' => array( - 'pretty_version' => 'v1.28.0', - 'version' => '1.28.0.0', - 'reference' => '7581cd600fa9fd681b797d00b02f068e2f13263b', - 'type' => 'library', - 'install_path' => __DIR__ . '/../symfony/polyfill-php81', - 'aliases' => array(), - 'dev_requirement' => false, - ), - 'symfony/polyfill-php82' => array( - 'pretty_version' => 'v1.28.0', - 'version' => '1.28.0.0', - 'reference' => '7716bea9c86776fb3362d6b52fe1fc9471056a49', - 'type' => 'library', - 'install_path' => __DIR__ . '/../symfony/polyfill-php82', - 'aliases' => array(), - 'dev_requirement' => false, - ), 'thecodingmachine/safe' => array( 'pretty_version' => 'v2.2.2', 'version' => '2.2.2.0', diff --git a/vendor/google/protobuf/LICENSE b/vendor/google/protobuf/LICENSE deleted file mode 100644 index ba32af4c2..000000000 --- a/vendor/google/protobuf/LICENSE +++ /dev/null @@ -1,29 +0,0 @@ -BSD 3-Clause License - -Copyright (c) 2019, Protocol Buffers -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - -* Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - -* Neither the name of the copyright holder nor the names of its - contributors may be used to endorse or promote products derived from - this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE -FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR -SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER -CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, -OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/vendor/google/protobuf/README.md b/vendor/google/protobuf/README.md deleted file mode 100644 index 3663050d4..000000000 --- a/vendor/google/protobuf/README.md +++ /dev/null @@ -1,2 +0,0 @@ -# protobuf-php -This repository contains only PHP files to support Composer installation. This repository is a mirror of [protobuf](https://github.com/protocolbuffers/protobuf). Any support requests, bug reports, or development contributions should be directed to that project. To install protobuf for PHP, please see https://github.com/protocolbuffers/protobuf/tree/master/php diff --git a/vendor/google/protobuf/composer.json b/vendor/google/protobuf/composer.json deleted file mode 100644 index 70af0a033..000000000 --- a/vendor/google/protobuf/composer.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "name": "google/protobuf", - "type": "library", - "description": "proto library for PHP", - "keywords": ["proto"], - "homepage": "https://developers.google.com/protocol-buffers/", - "license": "BSD-3-Clause", - "require": { - "php": ">=7.0.0" - }, - "require-dev": { - "phpunit/phpunit": ">=5.0.0" - }, - "suggest": { - "ext-bcmath": "Need to support JSON deserialization" - }, - "autoload": { - "psr-4": { - "Google\\Protobuf\\": "src/Google/Protobuf", - "GPBMetadata\\Google\\Protobuf\\": "src/GPBMetadata/Google/Protobuf" - } - } -} diff --git a/vendor/google/protobuf/src/GPBMetadata/Google/Protobuf/Any.php b/vendor/google/protobuf/src/GPBMetadata/Google/Protobuf/Any.php deleted file mode 100644 index fbce4bfdb..000000000 --- a/vendor/google/protobuf/src/GPBMetadata/Google/Protobuf/Any.php +++ /dev/null @@ -1,30 +0,0 @@ -internalAddGeneratedFile( - ' - -google/protobuf/any.protogoogle.protobuf"& -Any -type_url (  -value ( Bv -com.google.protobufBAnyProtoPZ,google.golang.org/protobuf/types/known/anypbGPBGoogle.Protobuf.WellKnownTypesbproto3' - , true); - - static::$is_initialized = true; - } -} - diff --git a/vendor/google/protobuf/src/GPBMetadata/Google/Protobuf/Api.php b/vendor/google/protobuf/src/GPBMetadata/Google/Protobuf/Api.php deleted file mode 100644 index 75e0ec631..000000000 --- a/vendor/google/protobuf/src/GPBMetadata/Google/Protobuf/Api.php +++ /dev/null @@ -1,48 +0,0 @@ -internalAddGeneratedFile( - ' - -google/protobuf/api.protogoogle.protobufgoogle/protobuf/type.proto" -Api -name ( ( -methods ( 2.google.protobuf.Method( -options ( 2.google.protobuf.Option -version ( 6 -source_context ( 2.google.protobuf.SourceContext& -mixins ( 2.google.protobuf.Mixin\' -syntax (2.google.protobuf.Syntax" -Method -name (  -request_type_url (  -request_streaming ( -response_type_url (  -response_streaming (( -options ( 2.google.protobuf.Option\' -syntax (2.google.protobuf.Syntax"# -Mixin -name (  -root ( Bv -com.google.protobufBApiProtoPZ,google.golang.org/protobuf/types/known/apipbGPBGoogle.Protobuf.WellKnownTypesbproto3' - , true); - - static::$is_initialized = true; - } -} - diff --git a/vendor/google/protobuf/src/GPBMetadata/Google/Protobuf/Duration.php b/vendor/google/protobuf/src/GPBMetadata/Google/Protobuf/Duration.php deleted file mode 100644 index 5d8023e4d..000000000 --- a/vendor/google/protobuf/src/GPBMetadata/Google/Protobuf/Duration.php +++ /dev/null @@ -1,30 +0,0 @@ -internalAddGeneratedFile( - ' - -google/protobuf/duration.protogoogle.protobuf"* -Duration -seconds ( -nanos (B -com.google.protobufB DurationProtoPZ1google.golang.org/protobuf/types/known/durationpbGPBGoogle.Protobuf.WellKnownTypesbproto3' - , true); - - static::$is_initialized = true; - } -} - diff --git a/vendor/google/protobuf/src/GPBMetadata/Google/Protobuf/FieldMask.php b/vendor/google/protobuf/src/GPBMetadata/Google/Protobuf/FieldMask.php deleted file mode 100644 index f31bcc001..000000000 --- a/vendor/google/protobuf/src/GPBMetadata/Google/Protobuf/FieldMask.php +++ /dev/null @@ -1,29 +0,0 @@ -internalAddGeneratedFile( - ' - - google/protobuf/field_mask.protogoogle.protobuf" - FieldMask -paths ( B -com.google.protobufBFieldMaskProtoPZ2google.golang.org/protobuf/types/known/fieldmaskpbGPBGoogle.Protobuf.WellKnownTypesbproto3' - , true); - - static::$is_initialized = true; - } -} - diff --git a/vendor/google/protobuf/src/GPBMetadata/Google/Protobuf/GPBEmpty.php b/vendor/google/protobuf/src/GPBMetadata/Google/Protobuf/GPBEmpty.php deleted file mode 100644 index 5e42536f2..000000000 --- a/vendor/google/protobuf/src/GPBMetadata/Google/Protobuf/GPBEmpty.php +++ /dev/null @@ -1,29 +0,0 @@ -internalAddGeneratedFile( - ' - -google/protobuf/empty.protogoogle.protobuf" -EmptyB} -com.google.protobufB -EmptyProtoPZ.google.golang.org/protobuf/types/known/emptypbGPBGoogle.Protobuf.WellKnownTypesbproto3' - , true); - - static::$is_initialized = true; - } -} - diff --git a/vendor/google/protobuf/src/GPBMetadata/Google/Protobuf/Internal/Descriptor.php b/vendor/google/protobuf/src/GPBMetadata/Google/Protobuf/Internal/Descriptor.php deleted file mode 100644 index 4247c0954..000000000 --- a/vendor/google/protobuf/src/GPBMetadata/Google/Protobuf/Internal/Descriptor.php +++ /dev/null @@ -1,282 +0,0 @@ -addMessage('google.protobuf.internal.FileDescriptorSet', \Google\Protobuf\Internal\FileDescriptorSet::class) - ->repeated('file', \Google\Protobuf\Internal\GPBType::MESSAGE, 1, 'google.protobuf.internal.FileDescriptorProto') - ->finalizeToPool(); - - $pool->addMessage('google.protobuf.internal.FileDescriptorProto', \Google\Protobuf\Internal\FileDescriptorProto::class) - ->optional('name', \Google\Protobuf\Internal\GPBType::STRING, 1) - ->optional('package', \Google\Protobuf\Internal\GPBType::STRING, 2) - ->repeated('dependency', \Google\Protobuf\Internal\GPBType::STRING, 3) - ->repeated('public_dependency', \Google\Protobuf\Internal\GPBType::INT32, 10) - ->repeated('weak_dependency', \Google\Protobuf\Internal\GPBType::INT32, 11) - ->repeated('message_type', \Google\Protobuf\Internal\GPBType::MESSAGE, 4, 'google.protobuf.internal.DescriptorProto') - ->repeated('enum_type', \Google\Protobuf\Internal\GPBType::MESSAGE, 5, 'google.protobuf.internal.EnumDescriptorProto') - ->repeated('service', \Google\Protobuf\Internal\GPBType::MESSAGE, 6, 'google.protobuf.internal.ServiceDescriptorProto') - ->repeated('extension', \Google\Protobuf\Internal\GPBType::MESSAGE, 7, 'google.protobuf.internal.FieldDescriptorProto') - ->optional('options', \Google\Protobuf\Internal\GPBType::MESSAGE, 8, 'google.protobuf.internal.FileOptions') - ->optional('source_code_info', \Google\Protobuf\Internal\GPBType::MESSAGE, 9, 'google.protobuf.internal.SourceCodeInfo') - ->optional('syntax', \Google\Protobuf\Internal\GPBType::STRING, 12) - ->optional('edition', \Google\Protobuf\Internal\GPBType::STRING, 13) - ->finalizeToPool(); - - $pool->addMessage('google.protobuf.internal.DescriptorProto', \Google\Protobuf\Internal\DescriptorProto::class) - ->optional('name', \Google\Protobuf\Internal\GPBType::STRING, 1) - ->repeated('field', \Google\Protobuf\Internal\GPBType::MESSAGE, 2, 'google.protobuf.internal.FieldDescriptorProto') - ->repeated('extension', \Google\Protobuf\Internal\GPBType::MESSAGE, 6, 'google.protobuf.internal.FieldDescriptorProto') - ->repeated('nested_type', \Google\Protobuf\Internal\GPBType::MESSAGE, 3, 'google.protobuf.internal.DescriptorProto') - ->repeated('enum_type', \Google\Protobuf\Internal\GPBType::MESSAGE, 4, 'google.protobuf.internal.EnumDescriptorProto') - ->repeated('extension_range', \Google\Protobuf\Internal\GPBType::MESSAGE, 5, 'google.protobuf.internal.DescriptorProto.ExtensionRange') - ->repeated('oneof_decl', \Google\Protobuf\Internal\GPBType::MESSAGE, 8, 'google.protobuf.internal.OneofDescriptorProto') - ->optional('options', \Google\Protobuf\Internal\GPBType::MESSAGE, 7, 'google.protobuf.internal.MessageOptions') - ->repeated('reserved_range', \Google\Protobuf\Internal\GPBType::MESSAGE, 9, 'google.protobuf.internal.DescriptorProto.ReservedRange') - ->repeated('reserved_name', \Google\Protobuf\Internal\GPBType::STRING, 10) - ->finalizeToPool(); - - $pool->addMessage('google.protobuf.internal.DescriptorProto.ExtensionRange', \Google\Protobuf\Internal\DescriptorProto\ExtensionRange::class) - ->optional('start', \Google\Protobuf\Internal\GPBType::INT32, 1) - ->optional('end', \Google\Protobuf\Internal\GPBType::INT32, 2) - ->optional('options', \Google\Protobuf\Internal\GPBType::MESSAGE, 3, 'google.protobuf.internal.ExtensionRangeOptions') - ->finalizeToPool(); - - $pool->addMessage('google.protobuf.internal.DescriptorProto.ReservedRange', \Google\Protobuf\Internal\DescriptorProto\ReservedRange::class) - ->optional('start', \Google\Protobuf\Internal\GPBType::INT32, 1) - ->optional('end', \Google\Protobuf\Internal\GPBType::INT32, 2) - ->finalizeToPool(); - - $pool->addMessage('google.protobuf.internal.ExtensionRangeOptions', \Google\Protobuf\Internal\ExtensionRangeOptions::class) - ->repeated('uninterpreted_option', \Google\Protobuf\Internal\GPBType::MESSAGE, 999, 'google.protobuf.internal.UninterpretedOption') - ->finalizeToPool(); - - $pool->addMessage('google.protobuf.internal.FieldDescriptorProto', \Google\Protobuf\Internal\FieldDescriptorProto::class) - ->optional('name', \Google\Protobuf\Internal\GPBType::STRING, 1) - ->optional('number', \Google\Protobuf\Internal\GPBType::INT32, 3) - ->optional('label', \Google\Protobuf\Internal\GPBType::ENUM, 4, 'google.protobuf.internal.FieldDescriptorProto.Label') - ->optional('type', \Google\Protobuf\Internal\GPBType::ENUM, 5, 'google.protobuf.internal.FieldDescriptorProto.Type') - ->optional('type_name', \Google\Protobuf\Internal\GPBType::STRING, 6) - ->optional('extendee', \Google\Protobuf\Internal\GPBType::STRING, 2) - ->optional('default_value', \Google\Protobuf\Internal\GPBType::STRING, 7) - ->optional('oneof_index', \Google\Protobuf\Internal\GPBType::INT32, 9) - ->optional('json_name', \Google\Protobuf\Internal\GPBType::STRING, 10) - ->optional('options', \Google\Protobuf\Internal\GPBType::MESSAGE, 8, 'google.protobuf.internal.FieldOptions') - ->optional('proto3_optional', \Google\Protobuf\Internal\GPBType::BOOL, 17) - ->finalizeToPool(); - - $pool->addEnum('google.protobuf.internal.FieldDescriptorProto.Type', \Google\Protobuf\Internal\Type::class) - ->value("TYPE_DOUBLE", 1) - ->value("TYPE_FLOAT", 2) - ->value("TYPE_INT64", 3) - ->value("TYPE_UINT64", 4) - ->value("TYPE_INT32", 5) - ->value("TYPE_FIXED64", 6) - ->value("TYPE_FIXED32", 7) - ->value("TYPE_BOOL", 8) - ->value("TYPE_STRING", 9) - ->value("TYPE_GROUP", 10) - ->value("TYPE_MESSAGE", 11) - ->value("TYPE_BYTES", 12) - ->value("TYPE_UINT32", 13) - ->value("TYPE_ENUM", 14) - ->value("TYPE_SFIXED32", 15) - ->value("TYPE_SFIXED64", 16) - ->value("TYPE_SINT32", 17) - ->value("TYPE_SINT64", 18) - ->finalizeToPool(); - - $pool->addEnum('google.protobuf.internal.FieldDescriptorProto.Label', \Google\Protobuf\Internal\Label::class) - ->value("LABEL_OPTIONAL", 1) - ->value("LABEL_REQUIRED", 2) - ->value("LABEL_REPEATED", 3) - ->finalizeToPool(); - - $pool->addMessage('google.protobuf.internal.OneofDescriptorProto', \Google\Protobuf\Internal\OneofDescriptorProto::class) - ->optional('name', \Google\Protobuf\Internal\GPBType::STRING, 1) - ->optional('options', \Google\Protobuf\Internal\GPBType::MESSAGE, 2, 'google.protobuf.internal.OneofOptions') - ->finalizeToPool(); - - $pool->addMessage('google.protobuf.internal.EnumDescriptorProto', \Google\Protobuf\Internal\EnumDescriptorProto::class) - ->optional('name', \Google\Protobuf\Internal\GPBType::STRING, 1) - ->repeated('value', \Google\Protobuf\Internal\GPBType::MESSAGE, 2, 'google.protobuf.internal.EnumValueDescriptorProto') - ->optional('options', \Google\Protobuf\Internal\GPBType::MESSAGE, 3, 'google.protobuf.internal.EnumOptions') - ->repeated('reserved_range', \Google\Protobuf\Internal\GPBType::MESSAGE, 4, 'google.protobuf.internal.EnumDescriptorProto.EnumReservedRange') - ->repeated('reserved_name', \Google\Protobuf\Internal\GPBType::STRING, 5) - ->finalizeToPool(); - - $pool->addMessage('google.protobuf.internal.EnumDescriptorProto.EnumReservedRange', \Google\Protobuf\Internal\EnumDescriptorProto\EnumReservedRange::class) - ->optional('start', \Google\Protobuf\Internal\GPBType::INT32, 1) - ->optional('end', \Google\Protobuf\Internal\GPBType::INT32, 2) - ->finalizeToPool(); - - $pool->addMessage('google.protobuf.internal.EnumValueDescriptorProto', \Google\Protobuf\Internal\EnumValueDescriptorProto::class) - ->optional('name', \Google\Protobuf\Internal\GPBType::STRING, 1) - ->optional('number', \Google\Protobuf\Internal\GPBType::INT32, 2) - ->optional('options', \Google\Protobuf\Internal\GPBType::MESSAGE, 3, 'google.protobuf.internal.EnumValueOptions') - ->finalizeToPool(); - - $pool->addMessage('google.protobuf.internal.ServiceDescriptorProto', \Google\Protobuf\Internal\ServiceDescriptorProto::class) - ->optional('name', \Google\Protobuf\Internal\GPBType::STRING, 1) - ->repeated('method', \Google\Protobuf\Internal\GPBType::MESSAGE, 2, 'google.protobuf.internal.MethodDescriptorProto') - ->optional('options', \Google\Protobuf\Internal\GPBType::MESSAGE, 3, 'google.protobuf.internal.ServiceOptions') - ->finalizeToPool(); - - $pool->addMessage('google.protobuf.internal.MethodDescriptorProto', \Google\Protobuf\Internal\MethodDescriptorProto::class) - ->optional('name', \Google\Protobuf\Internal\GPBType::STRING, 1) - ->optional('input_type', \Google\Protobuf\Internal\GPBType::STRING, 2) - ->optional('output_type', \Google\Protobuf\Internal\GPBType::STRING, 3) - ->optional('options', \Google\Protobuf\Internal\GPBType::MESSAGE, 4, 'google.protobuf.internal.MethodOptions') - ->optional('client_streaming', \Google\Protobuf\Internal\GPBType::BOOL, 5) - ->optional('server_streaming', \Google\Protobuf\Internal\GPBType::BOOL, 6) - ->finalizeToPool(); - - $pool->addMessage('google.protobuf.internal.FileOptions', \Google\Protobuf\Internal\FileOptions::class) - ->optional('java_package', \Google\Protobuf\Internal\GPBType::STRING, 1) - ->optional('java_outer_classname', \Google\Protobuf\Internal\GPBType::STRING, 8) - ->optional('java_multiple_files', \Google\Protobuf\Internal\GPBType::BOOL, 10) - ->optional('java_generate_equals_and_hash', \Google\Protobuf\Internal\GPBType::BOOL, 20) - ->optional('java_string_check_utf8', \Google\Protobuf\Internal\GPBType::BOOL, 27) - ->optional('optimize_for', \Google\Protobuf\Internal\GPBType::ENUM, 9, 'google.protobuf.internal.FileOptions.OptimizeMode') - ->optional('go_package', \Google\Protobuf\Internal\GPBType::STRING, 11) - ->optional('cc_generic_services', \Google\Protobuf\Internal\GPBType::BOOL, 16) - ->optional('java_generic_services', \Google\Protobuf\Internal\GPBType::BOOL, 17) - ->optional('py_generic_services', \Google\Protobuf\Internal\GPBType::BOOL, 18) - ->optional('php_generic_services', \Google\Protobuf\Internal\GPBType::BOOL, 42) - ->optional('deprecated', \Google\Protobuf\Internal\GPBType::BOOL, 23) - ->optional('cc_enable_arenas', \Google\Protobuf\Internal\GPBType::BOOL, 31) - ->optional('objc_class_prefix', \Google\Protobuf\Internal\GPBType::STRING, 36) - ->optional('csharp_namespace', \Google\Protobuf\Internal\GPBType::STRING, 37) - ->optional('swift_prefix', \Google\Protobuf\Internal\GPBType::STRING, 39) - ->optional('php_class_prefix', \Google\Protobuf\Internal\GPBType::STRING, 40) - ->optional('php_namespace', \Google\Protobuf\Internal\GPBType::STRING, 41) - ->optional('php_metadata_namespace', \Google\Protobuf\Internal\GPBType::STRING, 44) - ->optional('ruby_package', \Google\Protobuf\Internal\GPBType::STRING, 45) - ->repeated('uninterpreted_option', \Google\Protobuf\Internal\GPBType::MESSAGE, 999, 'google.protobuf.internal.UninterpretedOption') - ->finalizeToPool(); - - $pool->addEnum('google.protobuf.internal.FileOptions.OptimizeMode', \Google\Protobuf\Internal\OptimizeMode::class) - ->value("SPEED", 1) - ->value("CODE_SIZE", 2) - ->value("LITE_RUNTIME", 3) - ->finalizeToPool(); - - $pool->addMessage('google.protobuf.internal.MessageOptions', \Google\Protobuf\Internal\MessageOptions::class) - ->optional('message_set_wire_format', \Google\Protobuf\Internal\GPBType::BOOL, 1) - ->optional('no_standard_descriptor_accessor', \Google\Protobuf\Internal\GPBType::BOOL, 2) - ->optional('deprecated', \Google\Protobuf\Internal\GPBType::BOOL, 3) - ->optional('map_entry', \Google\Protobuf\Internal\GPBType::BOOL, 7) - ->optional('deprecated_legacy_json_field_conflicts', \Google\Protobuf\Internal\GPBType::BOOL, 11) - ->repeated('uninterpreted_option', \Google\Protobuf\Internal\GPBType::MESSAGE, 999, 'google.protobuf.internal.UninterpretedOption') - ->finalizeToPool(); - - $pool->addMessage('google.protobuf.internal.FieldOptions', \Google\Protobuf\Internal\FieldOptions::class) - ->optional('ctype', \Google\Protobuf\Internal\GPBType::ENUM, 1, 'google.protobuf.internal.FieldOptions.CType') - ->optional('packed', \Google\Protobuf\Internal\GPBType::BOOL, 2) - ->optional('jstype', \Google\Protobuf\Internal\GPBType::ENUM, 6, 'google.protobuf.internal.FieldOptions.JSType') - ->optional('lazy', \Google\Protobuf\Internal\GPBType::BOOL, 5) - ->optional('unverified_lazy', \Google\Protobuf\Internal\GPBType::BOOL, 15) - ->optional('deprecated', \Google\Protobuf\Internal\GPBType::BOOL, 3) - ->optional('weak', \Google\Protobuf\Internal\GPBType::BOOL, 10) - ->repeated('uninterpreted_option', \Google\Protobuf\Internal\GPBType::MESSAGE, 999, 'google.protobuf.internal.UninterpretedOption') - ->finalizeToPool(); - - $pool->addEnum('google.protobuf.internal.FieldOptions.CType', \Google\Protobuf\Internal\CType::class) - ->value("STRING", 0) - ->value("CORD", 1) - ->value("STRING_PIECE", 2) - ->finalizeToPool(); - - $pool->addEnum('google.protobuf.internal.FieldOptions.JSType', \Google\Protobuf\Internal\JSType::class) - ->value("JS_NORMAL", 0) - ->value("JS_STRING", 1) - ->value("JS_NUMBER", 2) - ->finalizeToPool(); - - $pool->addMessage('google.protobuf.internal.OneofOptions', \Google\Protobuf\Internal\OneofOptions::class) - ->repeated('uninterpreted_option', \Google\Protobuf\Internal\GPBType::MESSAGE, 999, 'google.protobuf.internal.UninterpretedOption') - ->finalizeToPool(); - - $pool->addMessage('google.protobuf.internal.EnumOptions', \Google\Protobuf\Internal\EnumOptions::class) - ->optional('allow_alias', \Google\Protobuf\Internal\GPBType::BOOL, 2) - ->optional('deprecated', \Google\Protobuf\Internal\GPBType::BOOL, 3) - ->optional('deprecated_legacy_json_field_conflicts', \Google\Protobuf\Internal\GPBType::BOOL, 6) - ->repeated('uninterpreted_option', \Google\Protobuf\Internal\GPBType::MESSAGE, 999, 'google.protobuf.internal.UninterpretedOption') - ->finalizeToPool(); - - $pool->addMessage('google.protobuf.internal.EnumValueOptions', \Google\Protobuf\Internal\EnumValueOptions::class) - ->optional('deprecated', \Google\Protobuf\Internal\GPBType::BOOL, 1) - ->repeated('uninterpreted_option', \Google\Protobuf\Internal\GPBType::MESSAGE, 999, 'google.protobuf.internal.UninterpretedOption') - ->finalizeToPool(); - - $pool->addMessage('google.protobuf.internal.ServiceOptions', \Google\Protobuf\Internal\ServiceOptions::class) - ->optional('deprecated', \Google\Protobuf\Internal\GPBType::BOOL, 33) - ->repeated('uninterpreted_option', \Google\Protobuf\Internal\GPBType::MESSAGE, 999, 'google.protobuf.internal.UninterpretedOption') - ->finalizeToPool(); - - $pool->addMessage('google.protobuf.internal.MethodOptions', \Google\Protobuf\Internal\MethodOptions::class) - ->optional('deprecated', \Google\Protobuf\Internal\GPBType::BOOL, 33) - ->optional('idempotency_level', \Google\Protobuf\Internal\GPBType::ENUM, 34, 'google.protobuf.internal.MethodOptions.IdempotencyLevel') - ->repeated('uninterpreted_option', \Google\Protobuf\Internal\GPBType::MESSAGE, 999, 'google.protobuf.internal.UninterpretedOption') - ->finalizeToPool(); - - $pool->addEnum('google.protobuf.internal.MethodOptions.IdempotencyLevel', \Google\Protobuf\Internal\IdempotencyLevel::class) - ->value("IDEMPOTENCY_UNKNOWN", 0) - ->value("NO_SIDE_EFFECTS", 1) - ->value("IDEMPOTENT", 2) - ->finalizeToPool(); - - $pool->addMessage('google.protobuf.internal.UninterpretedOption', \Google\Protobuf\Internal\UninterpretedOption::class) - ->repeated('name', \Google\Protobuf\Internal\GPBType::MESSAGE, 2, 'google.protobuf.internal.UninterpretedOption.NamePart') - ->optional('identifier_value', \Google\Protobuf\Internal\GPBType::STRING, 3) - ->optional('positive_int_value', \Google\Protobuf\Internal\GPBType::UINT64, 4) - ->optional('negative_int_value', \Google\Protobuf\Internal\GPBType::INT64, 5) - ->optional('double_value', \Google\Protobuf\Internal\GPBType::DOUBLE, 6) - ->optional('string_value', \Google\Protobuf\Internal\GPBType::BYTES, 7) - ->optional('aggregate_value', \Google\Protobuf\Internal\GPBType::STRING, 8) - ->finalizeToPool(); - - $pool->addMessage('google.protobuf.internal.UninterpretedOption.NamePart', \Google\Protobuf\Internal\UninterpretedOption\NamePart::class) - ->required('name_part', \Google\Protobuf\Internal\GPBType::STRING, 1) - ->required('is_extension', \Google\Protobuf\Internal\GPBType::BOOL, 2) - ->finalizeToPool(); - - $pool->addMessage('google.protobuf.internal.SourceCodeInfo', \Google\Protobuf\Internal\SourceCodeInfo::class) - ->repeated('location', \Google\Protobuf\Internal\GPBType::MESSAGE, 1, 'google.protobuf.internal.SourceCodeInfo.Location') - ->finalizeToPool(); - - $pool->addMessage('google.protobuf.internal.SourceCodeInfo.Location', \Google\Protobuf\Internal\SourceCodeInfo\Location::class) - ->repeated('path', \Google\Protobuf\Internal\GPBType::INT32, 1) - ->repeated('span', \Google\Protobuf\Internal\GPBType::INT32, 2) - ->optional('leading_comments', \Google\Protobuf\Internal\GPBType::STRING, 3) - ->optional('trailing_comments', \Google\Protobuf\Internal\GPBType::STRING, 4) - ->repeated('leading_detached_comments', \Google\Protobuf\Internal\GPBType::STRING, 6) - ->finalizeToPool(); - - $pool->addMessage('google.protobuf.internal.GeneratedCodeInfo', \Google\Protobuf\Internal\GeneratedCodeInfo::class) - ->repeated('annotation', \Google\Protobuf\Internal\GPBType::MESSAGE, 1, 'google.protobuf.internal.GeneratedCodeInfo.Annotation') - ->finalizeToPool(); - - $pool->addMessage('google.protobuf.internal.GeneratedCodeInfo.Annotation', \Google\Protobuf\Internal\GeneratedCodeInfo\Annotation::class) - ->repeated('path', \Google\Protobuf\Internal\GPBType::INT32, 1) - ->optional('source_file', \Google\Protobuf\Internal\GPBType::STRING, 2) - ->optional('begin', \Google\Protobuf\Internal\GPBType::INT32, 3) - ->optional('end', \Google\Protobuf\Internal\GPBType::INT32, 4) - ->finalizeToPool(); - - $pool->finish(); - static::$is_initialized = true; - } -} - diff --git a/vendor/google/protobuf/src/GPBMetadata/Google/Protobuf/SourceContext.php b/vendor/google/protobuf/src/GPBMetadata/Google/Protobuf/SourceContext.php deleted file mode 100644 index 797732d9f..000000000 --- a/vendor/google/protobuf/src/GPBMetadata/Google/Protobuf/SourceContext.php +++ /dev/null @@ -1,29 +0,0 @@ -internalAddGeneratedFile( - ' - -$google/protobuf/source_context.protogoogle.protobuf"" - SourceContext - file_name ( B -com.google.protobufBSourceContextProtoPZ6google.golang.org/protobuf/types/known/sourcecontextpbGPBGoogle.Protobuf.WellKnownTypesbproto3' - , true); - - static::$is_initialized = true; - } -} - diff --git a/vendor/google/protobuf/src/GPBMetadata/Google/Protobuf/Struct.php b/vendor/google/protobuf/src/GPBMetadata/Google/Protobuf/Struct.php deleted file mode 100644 index 888a81ade..000000000 Binary files a/vendor/google/protobuf/src/GPBMetadata/Google/Protobuf/Struct.php and /dev/null differ diff --git a/vendor/google/protobuf/src/GPBMetadata/Google/Protobuf/Timestamp.php b/vendor/google/protobuf/src/GPBMetadata/Google/Protobuf/Timestamp.php deleted file mode 100644 index 09437271a..000000000 --- a/vendor/google/protobuf/src/GPBMetadata/Google/Protobuf/Timestamp.php +++ /dev/null @@ -1,30 +0,0 @@ -internalAddGeneratedFile( - ' - -google/protobuf/timestamp.protogoogle.protobuf"+ - Timestamp -seconds ( -nanos (B -com.google.protobufBTimestampProtoPZ2google.golang.org/protobuf/types/known/timestamppbGPBGoogle.Protobuf.WellKnownTypesbproto3' - , true); - - static::$is_initialized = true; - } -} - diff --git a/vendor/google/protobuf/src/GPBMetadata/Google/Protobuf/Type.php b/vendor/google/protobuf/src/GPBMetadata/Google/Protobuf/Type.php deleted file mode 100644 index 7d0bfbb53..000000000 Binary files a/vendor/google/protobuf/src/GPBMetadata/Google/Protobuf/Type.php and /dev/null differ diff --git a/vendor/google/protobuf/src/GPBMetadata/Google/Protobuf/Wrappers.php b/vendor/google/protobuf/src/GPBMetadata/Google/Protobuf/Wrappers.php deleted file mode 100644 index e7ea1a3b9..000000000 --- a/vendor/google/protobuf/src/GPBMetadata/Google/Protobuf/Wrappers.php +++ /dev/null @@ -1,49 +0,0 @@ -internalAddGeneratedFile( - ' - -google/protobuf/wrappers.protogoogle.protobuf" - DoubleValue -value (" - -FloatValue -value (" - -Int64Value -value (" - UInt64Value -value (" - -Int32Value -value (" - UInt32Value -value ( " - BoolValue -value (" - StringValue -value ( " - -BytesValue -value ( B -com.google.protobufB WrappersProtoPZ1google.golang.org/protobuf/types/known/wrapperspbGPBGoogle.Protobuf.WellKnownTypesbproto3' - , true); - - static::$is_initialized = true; - } -} - diff --git a/vendor/google/protobuf/src/Google/Protobuf/Any.php b/vendor/google/protobuf/src/Google/Protobuf/Any.php deleted file mode 100644 index feea41aad..000000000 --- a/vendor/google/protobuf/src/Google/Protobuf/Any.php +++ /dev/null @@ -1,257 +0,0 @@ -, - * "lastName": - * } - * If the embedded message type is well-known and has a custom JSON - * representation, that representation will be embedded adding a field - * `value` which holds the custom JSON in addition to the `@type` - * field. Example (for message [google.protobuf.Duration][]): - * { - * "@type": "type.googleapis.com/google.protobuf.Duration", - * "value": "1.212s" - * } - * - * Generated from protobuf message google.protobuf.Any - */ -class Any extends \Google\Protobuf\Internal\AnyBase -{ - /** - * A URL/resource name that uniquely identifies the type of the serialized - * protocol buffer message. This string must contain at least - * one "/" character. The last segment of the URL's path must represent - * the fully qualified name of the type (as in - * `path/google.protobuf.Duration`). The name should be in a canonical form - * (e.g., leading "." is not accepted). - * In practice, teams usually precompile into the binary all types that they - * expect it to use in the context of Any. However, for URLs which use the - * scheme `http`, `https`, or no scheme, one can optionally set up a type - * server that maps type URLs to message definitions as follows: - * * If no scheme is provided, `https` is assumed. - * * An HTTP GET on the URL must yield a [google.protobuf.Type][] - * value in binary format, or produce an error. - * * Applications are allowed to cache lookup results based on the - * URL, or have them precompiled into a binary to avoid any - * lookup. Therefore, binary compatibility needs to be preserved - * on changes to types. (Use versioned type names to manage - * breaking changes.) - * Note: this functionality is not currently available in the official - * protobuf release, and it is not used for type URLs beginning with - * type.googleapis.com. - * Schemes other than `http`, `https` (or the empty scheme) might be - * used with implementation specific semantics. - * - * Generated from protobuf field string type_url = 1; - */ - protected $type_url = ''; - /** - * Must be a valid serialized protocol buffer of the above specified type. - * - * Generated from protobuf field bytes value = 2; - */ - protected $value = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $type_url - * A URL/resource name that uniquely identifies the type of the serialized - * protocol buffer message. This string must contain at least - * one "/" character. The last segment of the URL's path must represent - * the fully qualified name of the type (as in - * `path/google.protobuf.Duration`). The name should be in a canonical form - * (e.g., leading "." is not accepted). - * In practice, teams usually precompile into the binary all types that they - * expect it to use in the context of Any. However, for URLs which use the - * scheme `http`, `https`, or no scheme, one can optionally set up a type - * server that maps type URLs to message definitions as follows: - * * If no scheme is provided, `https` is assumed. - * * An HTTP GET on the URL must yield a [google.protobuf.Type][] - * value in binary format, or produce an error. - * * Applications are allowed to cache lookup results based on the - * URL, or have them precompiled into a binary to avoid any - * lookup. Therefore, binary compatibility needs to be preserved - * on changes to types. (Use versioned type names to manage - * breaking changes.) - * Note: this functionality is not currently available in the official - * protobuf release, and it is not used for type URLs beginning with - * type.googleapis.com. - * Schemes other than `http`, `https` (or the empty scheme) might be - * used with implementation specific semantics. - * @type string $value - * Must be a valid serialized protocol buffer of the above specified type. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Protobuf\Any::initOnce(); - parent::__construct($data); - } - - /** - * A URL/resource name that uniquely identifies the type of the serialized - * protocol buffer message. This string must contain at least - * one "/" character. The last segment of the URL's path must represent - * the fully qualified name of the type (as in - * `path/google.protobuf.Duration`). The name should be in a canonical form - * (e.g., leading "." is not accepted). - * In practice, teams usually precompile into the binary all types that they - * expect it to use in the context of Any. However, for URLs which use the - * scheme `http`, `https`, or no scheme, one can optionally set up a type - * server that maps type URLs to message definitions as follows: - * * If no scheme is provided, `https` is assumed. - * * An HTTP GET on the URL must yield a [google.protobuf.Type][] - * value in binary format, or produce an error. - * * Applications are allowed to cache lookup results based on the - * URL, or have them precompiled into a binary to avoid any - * lookup. Therefore, binary compatibility needs to be preserved - * on changes to types. (Use versioned type names to manage - * breaking changes.) - * Note: this functionality is not currently available in the official - * protobuf release, and it is not used for type URLs beginning with - * type.googleapis.com. - * Schemes other than `http`, `https` (or the empty scheme) might be - * used with implementation specific semantics. - * - * Generated from protobuf field string type_url = 1; - * @return string - */ - public function getTypeUrl() - { - return $this->type_url; - } - - /** - * A URL/resource name that uniquely identifies the type of the serialized - * protocol buffer message. This string must contain at least - * one "/" character. The last segment of the URL's path must represent - * the fully qualified name of the type (as in - * `path/google.protobuf.Duration`). The name should be in a canonical form - * (e.g., leading "." is not accepted). - * In practice, teams usually precompile into the binary all types that they - * expect it to use in the context of Any. However, for URLs which use the - * scheme `http`, `https`, or no scheme, one can optionally set up a type - * server that maps type URLs to message definitions as follows: - * * If no scheme is provided, `https` is assumed. - * * An HTTP GET on the URL must yield a [google.protobuf.Type][] - * value in binary format, or produce an error. - * * Applications are allowed to cache lookup results based on the - * URL, or have them precompiled into a binary to avoid any - * lookup. Therefore, binary compatibility needs to be preserved - * on changes to types. (Use versioned type names to manage - * breaking changes.) - * Note: this functionality is not currently available in the official - * protobuf release, and it is not used for type URLs beginning with - * type.googleapis.com. - * Schemes other than `http`, `https` (or the empty scheme) might be - * used with implementation specific semantics. - * - * Generated from protobuf field string type_url = 1; - * @param string $var - * @return $this - */ - public function setTypeUrl($var) - { - GPBUtil::checkString($var, True); - $this->type_url = $var; - - return $this; - } - - /** - * Must be a valid serialized protocol buffer of the above specified type. - * - * Generated from protobuf field bytes value = 2; - * @return string - */ - public function getValue() - { - return $this->value; - } - - /** - * Must be a valid serialized protocol buffer of the above specified type. - * - * Generated from protobuf field bytes value = 2; - * @param string $var - * @return $this - */ - public function setValue($var) - { - GPBUtil::checkString($var, False); - $this->value = $var; - - return $this; - } - -} - diff --git a/vendor/google/protobuf/src/Google/Protobuf/Api.php b/vendor/google/protobuf/src/Google/Protobuf/Api.php deleted file mode 100644 index 3784263cb..000000000 --- a/vendor/google/protobuf/src/Google/Protobuf/Api.php +++ /dev/null @@ -1,360 +0,0 @@ -google.protobuf.Api - */ -class Api extends \Google\Protobuf\Internal\Message -{ - /** - * The fully qualified name of this interface, including package name - * followed by the interface's simple name. - * - * Generated from protobuf field string name = 1; - */ - protected $name = ''; - /** - * The methods of this interface, in unspecified order. - * - * Generated from protobuf field repeated .google.protobuf.Method methods = 2; - */ - private $methods; - /** - * Any metadata attached to the interface. - * - * Generated from protobuf field repeated .google.protobuf.Option options = 3; - */ - private $options; - /** - * A version string for this interface. If specified, must have the form - * `major-version.minor-version`, as in `1.10`. If the minor version is - * omitted, it defaults to zero. If the entire version field is empty, the - * major version is derived from the package name, as outlined below. If the - * field is not empty, the version in the package name will be verified to be - * consistent with what is provided here. - * The versioning schema uses [semantic - * versioning](http://semver.org) where the major version number - * indicates a breaking change and the minor version an additive, - * non-breaking change. Both version numbers are signals to users - * what to expect from different versions, and should be carefully - * chosen based on the product plan. - * The major version is also reflected in the package name of the - * interface, which must end in `v`, as in - * `google.feature.v1`. For major versions 0 and 1, the suffix can - * be omitted. Zero major versions must only be used for - * experimental, non-GA interfaces. - * - * Generated from protobuf field string version = 4; - */ - protected $version = ''; - /** - * Source context for the protocol buffer service represented by this - * message. - * - * Generated from protobuf field .google.protobuf.SourceContext source_context = 5; - */ - protected $source_context = null; - /** - * Included interfaces. See [Mixin][]. - * - * Generated from protobuf field repeated .google.protobuf.Mixin mixins = 6; - */ - private $mixins; - /** - * The source syntax of the service. - * - * Generated from protobuf field .google.protobuf.Syntax syntax = 7; - */ - protected $syntax = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * The fully qualified name of this interface, including package name - * followed by the interface's simple name. - * @type array<\Google\Protobuf\Method>|\Google\Protobuf\Internal\RepeatedField $methods - * The methods of this interface, in unspecified order. - * @type array<\Google\Protobuf\Option>|\Google\Protobuf\Internal\RepeatedField $options - * Any metadata attached to the interface. - * @type string $version - * A version string for this interface. If specified, must have the form - * `major-version.minor-version`, as in `1.10`. If the minor version is - * omitted, it defaults to zero. If the entire version field is empty, the - * major version is derived from the package name, as outlined below. If the - * field is not empty, the version in the package name will be verified to be - * consistent with what is provided here. - * The versioning schema uses [semantic - * versioning](http://semver.org) where the major version number - * indicates a breaking change and the minor version an additive, - * non-breaking change. Both version numbers are signals to users - * what to expect from different versions, and should be carefully - * chosen based on the product plan. - * The major version is also reflected in the package name of the - * interface, which must end in `v`, as in - * `google.feature.v1`. For major versions 0 and 1, the suffix can - * be omitted. Zero major versions must only be used for - * experimental, non-GA interfaces. - * @type \Google\Protobuf\SourceContext $source_context - * Source context for the protocol buffer service represented by this - * message. - * @type array<\Google\Protobuf\Mixin>|\Google\Protobuf\Internal\RepeatedField $mixins - * Included interfaces. See [Mixin][]. - * @type int $syntax - * The source syntax of the service. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Protobuf\Api::initOnce(); - parent::__construct($data); - } - - /** - * The fully qualified name of this interface, including package name - * followed by the interface's simple name. - * - * Generated from protobuf field string name = 1; - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * The fully qualified name of this interface, including package name - * followed by the interface's simple name. - * - * Generated from protobuf field string name = 1; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * The methods of this interface, in unspecified order. - * - * Generated from protobuf field repeated .google.protobuf.Method methods = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getMethods() - { - return $this->methods; - } - - /** - * The methods of this interface, in unspecified order. - * - * Generated from protobuf field repeated .google.protobuf.Method methods = 2; - * @param array<\Google\Protobuf\Method>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setMethods($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Protobuf\Method::class); - $this->methods = $arr; - - return $this; - } - - /** - * Any metadata attached to the interface. - * - * Generated from protobuf field repeated .google.protobuf.Option options = 3; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getOptions() - { - return $this->options; - } - - /** - * Any metadata attached to the interface. - * - * Generated from protobuf field repeated .google.protobuf.Option options = 3; - * @param array<\Google\Protobuf\Option>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setOptions($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Protobuf\Option::class); - $this->options = $arr; - - return $this; - } - - /** - * A version string for this interface. If specified, must have the form - * `major-version.minor-version`, as in `1.10`. If the minor version is - * omitted, it defaults to zero. If the entire version field is empty, the - * major version is derived from the package name, as outlined below. If the - * field is not empty, the version in the package name will be verified to be - * consistent with what is provided here. - * The versioning schema uses [semantic - * versioning](http://semver.org) where the major version number - * indicates a breaking change and the minor version an additive, - * non-breaking change. Both version numbers are signals to users - * what to expect from different versions, and should be carefully - * chosen based on the product plan. - * The major version is also reflected in the package name of the - * interface, which must end in `v`, as in - * `google.feature.v1`. For major versions 0 and 1, the suffix can - * be omitted. Zero major versions must only be used for - * experimental, non-GA interfaces. - * - * Generated from protobuf field string version = 4; - * @return string - */ - public function getVersion() - { - return $this->version; - } - - /** - * A version string for this interface. If specified, must have the form - * `major-version.minor-version`, as in `1.10`. If the minor version is - * omitted, it defaults to zero. If the entire version field is empty, the - * major version is derived from the package name, as outlined below. If the - * field is not empty, the version in the package name will be verified to be - * consistent with what is provided here. - * The versioning schema uses [semantic - * versioning](http://semver.org) where the major version number - * indicates a breaking change and the minor version an additive, - * non-breaking change. Both version numbers are signals to users - * what to expect from different versions, and should be carefully - * chosen based on the product plan. - * The major version is also reflected in the package name of the - * interface, which must end in `v`, as in - * `google.feature.v1`. For major versions 0 and 1, the suffix can - * be omitted. Zero major versions must only be used for - * experimental, non-GA interfaces. - * - * Generated from protobuf field string version = 4; - * @param string $var - * @return $this - */ - public function setVersion($var) - { - GPBUtil::checkString($var, True); - $this->version = $var; - - return $this; - } - - /** - * Source context for the protocol buffer service represented by this - * message. - * - * Generated from protobuf field .google.protobuf.SourceContext source_context = 5; - * @return \Google\Protobuf\SourceContext|null - */ - public function getSourceContext() - { - return $this->source_context; - } - - public function hasSourceContext() - { - return isset($this->source_context); - } - - public function clearSourceContext() - { - unset($this->source_context); - } - - /** - * Source context for the protocol buffer service represented by this - * message. - * - * Generated from protobuf field .google.protobuf.SourceContext source_context = 5; - * @param \Google\Protobuf\SourceContext $var - * @return $this - */ - public function setSourceContext($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\SourceContext::class); - $this->source_context = $var; - - return $this; - } - - /** - * Included interfaces. See [Mixin][]. - * - * Generated from protobuf field repeated .google.protobuf.Mixin mixins = 6; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getMixins() - { - return $this->mixins; - } - - /** - * Included interfaces. See [Mixin][]. - * - * Generated from protobuf field repeated .google.protobuf.Mixin mixins = 6; - * @param array<\Google\Protobuf\Mixin>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setMixins($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Protobuf\Mixin::class); - $this->mixins = $arr; - - return $this; - } - - /** - * The source syntax of the service. - * - * Generated from protobuf field .google.protobuf.Syntax syntax = 7; - * @return int - */ - public function getSyntax() - { - return $this->syntax; - } - - /** - * The source syntax of the service. - * - * Generated from protobuf field .google.protobuf.Syntax syntax = 7; - * @param int $var - * @return $this - */ - public function setSyntax($var) - { - GPBUtil::checkEnum($var, \Google\Protobuf\Syntax::class); - $this->syntax = $var; - - return $this; - } - -} - diff --git a/vendor/google/protobuf/src/Google/Protobuf/BoolValue.php b/vendor/google/protobuf/src/Google/Protobuf/BoolValue.php deleted file mode 100644 index ecdbf4dcc..000000000 --- a/vendor/google/protobuf/src/Google/Protobuf/BoolValue.php +++ /dev/null @@ -1,68 +0,0 @@ -google.protobuf.BoolValue - */ -class BoolValue extends \Google\Protobuf\Internal\Message -{ - /** - * The bool value. - * - * Generated from protobuf field bool value = 1; - */ - protected $value = false; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type bool $value - * The bool value. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Protobuf\Wrappers::initOnce(); - parent::__construct($data); - } - - /** - * The bool value. - * - * Generated from protobuf field bool value = 1; - * @return bool - */ - public function getValue() - { - return $this->value; - } - - /** - * The bool value. - * - * Generated from protobuf field bool value = 1; - * @param bool $var - * @return $this - */ - public function setValue($var) - { - GPBUtil::checkBool($var); - $this->value = $var; - - return $this; - } - -} - diff --git a/vendor/google/protobuf/src/Google/Protobuf/BytesValue.php b/vendor/google/protobuf/src/Google/Protobuf/BytesValue.php deleted file mode 100644 index 1582e14ac..000000000 --- a/vendor/google/protobuf/src/Google/Protobuf/BytesValue.php +++ /dev/null @@ -1,68 +0,0 @@ -google.protobuf.BytesValue - */ -class BytesValue extends \Google\Protobuf\Internal\Message -{ - /** - * The bytes value. - * - * Generated from protobuf field bytes value = 1; - */ - protected $value = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $value - * The bytes value. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Protobuf\Wrappers::initOnce(); - parent::__construct($data); - } - - /** - * The bytes value. - * - * Generated from protobuf field bytes value = 1; - * @return string - */ - public function getValue() - { - return $this->value; - } - - /** - * The bytes value. - * - * Generated from protobuf field bytes value = 1; - * @param string $var - * @return $this - */ - public function setValue($var) - { - GPBUtil::checkString($var, False); - $this->value = $var; - - return $this; - } - -} - diff --git a/vendor/google/protobuf/src/Google/Protobuf/Descriptor.php b/vendor/google/protobuf/src/Google/Protobuf/Descriptor.php deleted file mode 100644 index 36436e2b7..000000000 --- a/vendor/google/protobuf/src/Google/Protobuf/Descriptor.php +++ /dev/null @@ -1,108 +0,0 @@ -internal_desc = $internal_desc; - } - - /** - * @return string Full protobuf message name - */ - public function getFullName() - { - return trim($this->internal_desc->getFullName(), "."); - } - - /** - * @return string PHP class name - */ - public function getClass() - { - return $this->internal_desc->getClass(); - } - - /** - * @param int $index Must be >= 0 and < getFieldCount() - * @return FieldDescriptor - */ - public function getField($index) - { - return $this->getPublicDescriptor($this->internal_desc->getFieldByIndex($index)); - } - - /** - * @return int Number of fields in message - */ - public function getFieldCount() - { - return count($this->internal_desc->getField()); - } - - /** - * @param int $index Must be >= 0 and < getOneofDeclCount() - * @return OneofDescriptor - */ - public function getOneofDecl($index) - { - return $this->getPublicDescriptor($this->internal_desc->getOneofDecl()[$index]); - } - - /** - * @return int Number of oneofs in message - */ - public function getOneofDeclCount() - { - return count($this->internal_desc->getOneofDecl()); - } - - /** - * @return int Number of real oneofs in message - */ - public function getRealOneofDeclCount() - { - return $this->internal_desc->getRealOneofDeclCount(); - } -} diff --git a/vendor/google/protobuf/src/Google/Protobuf/DescriptorPool.php b/vendor/google/protobuf/src/Google/Protobuf/DescriptorPool.php deleted file mode 100644 index 119f0e2e6..000000000 --- a/vendor/google/protobuf/src/Google/Protobuf/DescriptorPool.php +++ /dev/null @@ -1,76 +0,0 @@ -internal_pool = $internal_pool; - } - - /** - * @param string $className A fully qualified protobuf class name - * @return Descriptor - */ - public function getDescriptorByClassName($className) - { - $desc = $this->internal_pool->getDescriptorByClassName($className); - return is_null($desc) ? null : $desc->getPublicDescriptor(); - } - - /** - * @param string $className A fully qualified protobuf class name - * @return EnumDescriptor - */ - public function getEnumDescriptorByClassName($className) - { - $desc = $this->internal_pool->getEnumDescriptorByClassName($className); - return is_null($desc) ? null : $desc->getPublicDescriptor(); - } -} diff --git a/vendor/google/protobuf/src/Google/Protobuf/DoubleValue.php b/vendor/google/protobuf/src/Google/Protobuf/DoubleValue.php deleted file mode 100644 index b72399f46..000000000 --- a/vendor/google/protobuf/src/Google/Protobuf/DoubleValue.php +++ /dev/null @@ -1,68 +0,0 @@ -google.protobuf.DoubleValue - */ -class DoubleValue extends \Google\Protobuf\Internal\Message -{ - /** - * The double value. - * - * Generated from protobuf field double value = 1; - */ - protected $value = 0.0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type float $value - * The double value. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Protobuf\Wrappers::initOnce(); - parent::__construct($data); - } - - /** - * The double value. - * - * Generated from protobuf field double value = 1; - * @return float - */ - public function getValue() - { - return $this->value; - } - - /** - * The double value. - * - * Generated from protobuf field double value = 1; - * @param float $var - * @return $this - */ - public function setValue($var) - { - GPBUtil::checkDouble($var); - $this->value = $var; - - return $this; - } - -} - diff --git a/vendor/google/protobuf/src/Google/Protobuf/Duration.php b/vendor/google/protobuf/src/Google/Protobuf/Duration.php deleted file mode 100644 index 531cd50b5..000000000 --- a/vendor/google/protobuf/src/Google/Protobuf/Duration.php +++ /dev/null @@ -1,173 +0,0 @@ - 0) { - * duration.seconds += 1; - * duration.nanos -= 1000000000; - * } else if (duration.seconds > 0 && duration.nanos < 0) { - * duration.seconds -= 1; - * duration.nanos += 1000000000; - * } - * Example 2: Compute Timestamp from Timestamp + Duration in pseudo code. - * Timestamp start = ...; - * Duration duration = ...; - * Timestamp end = ...; - * end.seconds = start.seconds + duration.seconds; - * end.nanos = start.nanos + duration.nanos; - * if (end.nanos < 0) { - * end.seconds -= 1; - * end.nanos += 1000000000; - * } else if (end.nanos >= 1000000000) { - * end.seconds += 1; - * end.nanos -= 1000000000; - * } - * Example 3: Compute Duration from datetime.timedelta in Python. - * td = datetime.timedelta(days=3, minutes=10) - * duration = Duration() - * duration.FromTimedelta(td) - * # JSON Mapping - * In JSON format, the Duration type is encoded as a string rather than an - * object, where the string ends in the suffix "s" (indicating seconds) and - * is preceded by the number of seconds, with nanoseconds expressed as - * fractional seconds. For example, 3 seconds with 0 nanoseconds should be - * encoded in JSON format as "3s", while 3 seconds and 1 nanosecond should - * be expressed in JSON format as "3.000000001s", and 3 seconds and 1 - * microsecond should be expressed in JSON format as "3.000001s". - * - * Generated from protobuf message google.protobuf.Duration - */ -class Duration extends \Google\Protobuf\Internal\Message -{ - /** - * Signed seconds of the span of time. Must be from -315,576,000,000 - * to +315,576,000,000 inclusive. Note: these bounds are computed from: - * 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years - * - * Generated from protobuf field int64 seconds = 1; - */ - protected $seconds = 0; - /** - * Signed fractions of a second at nanosecond resolution of the span - * of time. Durations less than one second are represented with a 0 - * `seconds` field and a positive or negative `nanos` field. For durations - * of one second or more, a non-zero value for the `nanos` field must be - * of the same sign as the `seconds` field. Must be from -999,999,999 - * to +999,999,999 inclusive. - * - * Generated from protobuf field int32 nanos = 2; - */ - protected $nanos = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $seconds - * Signed seconds of the span of time. Must be from -315,576,000,000 - * to +315,576,000,000 inclusive. Note: these bounds are computed from: - * 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years - * @type int $nanos - * Signed fractions of a second at nanosecond resolution of the span - * of time. Durations less than one second are represented with a 0 - * `seconds` field and a positive or negative `nanos` field. For durations - * of one second or more, a non-zero value for the `nanos` field must be - * of the same sign as the `seconds` field. Must be from -999,999,999 - * to +999,999,999 inclusive. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Protobuf\Duration::initOnce(); - parent::__construct($data); - } - - /** - * Signed seconds of the span of time. Must be from -315,576,000,000 - * to +315,576,000,000 inclusive. Note: these bounds are computed from: - * 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years - * - * Generated from protobuf field int64 seconds = 1; - * @return int|string - */ - public function getSeconds() - { - return $this->seconds; - } - - /** - * Signed seconds of the span of time. Must be from -315,576,000,000 - * to +315,576,000,000 inclusive. Note: these bounds are computed from: - * 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years - * - * Generated from protobuf field int64 seconds = 1; - * @param int|string $var - * @return $this - */ - public function setSeconds($var) - { - GPBUtil::checkInt64($var); - $this->seconds = $var; - - return $this; - } - - /** - * Signed fractions of a second at nanosecond resolution of the span - * of time. Durations less than one second are represented with a 0 - * `seconds` field and a positive or negative `nanos` field. For durations - * of one second or more, a non-zero value for the `nanos` field must be - * of the same sign as the `seconds` field. Must be from -999,999,999 - * to +999,999,999 inclusive. - * - * Generated from protobuf field int32 nanos = 2; - * @return int - */ - public function getNanos() - { - return $this->nanos; - } - - /** - * Signed fractions of a second at nanosecond resolution of the span - * of time. Durations less than one second are represented with a 0 - * `seconds` field and a positive or negative `nanos` field. For durations - * of one second or more, a non-zero value for the `nanos` field must be - * of the same sign as the `seconds` field. Must be from -999,999,999 - * to +999,999,999 inclusive. - * - * Generated from protobuf field int32 nanos = 2; - * @param int $var - * @return $this - */ - public function setNanos($var) - { - GPBUtil::checkInt32($var); - $this->nanos = $var; - - return $this; - } - -} - diff --git a/vendor/google/protobuf/src/Google/Protobuf/Enum.php b/vendor/google/protobuf/src/Google/Protobuf/Enum.php deleted file mode 100644 index 185e54e03..000000000 --- a/vendor/google/protobuf/src/Google/Protobuf/Enum.php +++ /dev/null @@ -1,213 +0,0 @@ -google.protobuf.Enum - */ -class Enum extends \Google\Protobuf\Internal\Message -{ - /** - * Enum type name. - * - * Generated from protobuf field string name = 1; - */ - protected $name = ''; - /** - * Enum value definitions. - * - * Generated from protobuf field repeated .google.protobuf.EnumValue enumvalue = 2; - */ - private $enumvalue; - /** - * Protocol buffer options. - * - * Generated from protobuf field repeated .google.protobuf.Option options = 3; - */ - private $options; - /** - * The source context. - * - * Generated from protobuf field .google.protobuf.SourceContext source_context = 4; - */ - protected $source_context = null; - /** - * The source syntax. - * - * Generated from protobuf field .google.protobuf.Syntax syntax = 5; - */ - protected $syntax = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Enum type name. - * @type array<\Google\Protobuf\EnumValue>|\Google\Protobuf\Internal\RepeatedField $enumvalue - * Enum value definitions. - * @type array<\Google\Protobuf\Option>|\Google\Protobuf\Internal\RepeatedField $options - * Protocol buffer options. - * @type \Google\Protobuf\SourceContext $source_context - * The source context. - * @type int $syntax - * The source syntax. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Protobuf\Type::initOnce(); - parent::__construct($data); - } - - /** - * Enum type name. - * - * Generated from protobuf field string name = 1; - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Enum type name. - * - * Generated from protobuf field string name = 1; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * Enum value definitions. - * - * Generated from protobuf field repeated .google.protobuf.EnumValue enumvalue = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getEnumvalue() - { - return $this->enumvalue; - } - - /** - * Enum value definitions. - * - * Generated from protobuf field repeated .google.protobuf.EnumValue enumvalue = 2; - * @param array<\Google\Protobuf\EnumValue>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setEnumvalue($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Protobuf\EnumValue::class); - $this->enumvalue = $arr; - - return $this; - } - - /** - * Protocol buffer options. - * - * Generated from protobuf field repeated .google.protobuf.Option options = 3; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getOptions() - { - return $this->options; - } - - /** - * Protocol buffer options. - * - * Generated from protobuf field repeated .google.protobuf.Option options = 3; - * @param array<\Google\Protobuf\Option>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setOptions($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Protobuf\Option::class); - $this->options = $arr; - - return $this; - } - - /** - * The source context. - * - * Generated from protobuf field .google.protobuf.SourceContext source_context = 4; - * @return \Google\Protobuf\SourceContext|null - */ - public function getSourceContext() - { - return $this->source_context; - } - - public function hasSourceContext() - { - return isset($this->source_context); - } - - public function clearSourceContext() - { - unset($this->source_context); - } - - /** - * The source context. - * - * Generated from protobuf field .google.protobuf.SourceContext source_context = 4; - * @param \Google\Protobuf\SourceContext $var - * @return $this - */ - public function setSourceContext($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\SourceContext::class); - $this->source_context = $var; - - return $this; - } - - /** - * The source syntax. - * - * Generated from protobuf field .google.protobuf.Syntax syntax = 5; - * @return int - */ - public function getSyntax() - { - return $this->syntax; - } - - /** - * The source syntax. - * - * Generated from protobuf field .google.protobuf.Syntax syntax = 5; - * @param int $var - * @return $this - */ - public function setSyntax($var) - { - GPBUtil::checkEnum($var, \Google\Protobuf\Syntax::class); - $this->syntax = $var; - - return $this; - } - -} - diff --git a/vendor/google/protobuf/src/Google/Protobuf/EnumDescriptor.php b/vendor/google/protobuf/src/Google/Protobuf/EnumDescriptor.php deleted file mode 100644 index a8b56c0d4..000000000 --- a/vendor/google/protobuf/src/Google/Protobuf/EnumDescriptor.php +++ /dev/null @@ -1,79 +0,0 @@ -internal_desc = $internal_desc; - } - - /** - * @return string Full protobuf message name - */ - public function getFullName() - { - return $this->internal_desc->getFullName(); - } - - /** - * @return string PHP class name - */ - public function getClass() - { - return $this->internal_desc->getClass(); - } - - /** - * @param int $index Must be >= 0 and < getValueCount() - * @return EnumValueDescriptor - */ - public function getValue($index) - { - return $this->internal_desc->getValueDescriptorByIndex($index); - } - - /** - * @return int Number of values in enum - */ - public function getValueCount() - { - return $this->internal_desc->getValueCount(); - } -} diff --git a/vendor/google/protobuf/src/Google/Protobuf/EnumValue.php b/vendor/google/protobuf/src/Google/Protobuf/EnumValue.php deleted file mode 100644 index 93c20f967..000000000 --- a/vendor/google/protobuf/src/Google/Protobuf/EnumValue.php +++ /dev/null @@ -1,135 +0,0 @@ -google.protobuf.EnumValue - */ -class EnumValue extends \Google\Protobuf\Internal\Message -{ - /** - * Enum value name. - * - * Generated from protobuf field string name = 1; - */ - protected $name = ''; - /** - * Enum value number. - * - * Generated from protobuf field int32 number = 2; - */ - protected $number = 0; - /** - * Protocol buffer options. - * - * Generated from protobuf field repeated .google.protobuf.Option options = 3; - */ - private $options; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Enum value name. - * @type int $number - * Enum value number. - * @type array<\Google\Protobuf\Option>|\Google\Protobuf\Internal\RepeatedField $options - * Protocol buffer options. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Protobuf\Type::initOnce(); - parent::__construct($data); - } - - /** - * Enum value name. - * - * Generated from protobuf field string name = 1; - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Enum value name. - * - * Generated from protobuf field string name = 1; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * Enum value number. - * - * Generated from protobuf field int32 number = 2; - * @return int - */ - public function getNumber() - { - return $this->number; - } - - /** - * Enum value number. - * - * Generated from protobuf field int32 number = 2; - * @param int $var - * @return $this - */ - public function setNumber($var) - { - GPBUtil::checkInt32($var); - $this->number = $var; - - return $this; - } - - /** - * Protocol buffer options. - * - * Generated from protobuf field repeated .google.protobuf.Option options = 3; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getOptions() - { - return $this->options; - } - - /** - * Protocol buffer options. - * - * Generated from protobuf field repeated .google.protobuf.Option options = 3; - * @param array<\Google\Protobuf\Option>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setOptions($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Protobuf\Option::class); - $this->options = $arr; - - return $this; - } - -} - diff --git a/vendor/google/protobuf/src/Google/Protobuf/EnumValueDescriptor.php b/vendor/google/protobuf/src/Google/Protobuf/EnumValueDescriptor.php deleted file mode 100644 index e76e19971..000000000 --- a/vendor/google/protobuf/src/Google/Protobuf/EnumValueDescriptor.php +++ /dev/null @@ -1,64 +0,0 @@ -name = $name; - $this->number = $number; - } - - /** - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * @return int - */ - public function getNumber() - { - return $this->number; - } -} diff --git a/vendor/google/protobuf/src/Google/Protobuf/Field.php b/vendor/google/protobuf/src/Google/Protobuf/Field.php deleted file mode 100644 index ddae570c2..000000000 --- a/vendor/google/protobuf/src/Google/Protobuf/Field.php +++ /dev/null @@ -1,381 +0,0 @@ -google.protobuf.Field - */ -class Field extends \Google\Protobuf\Internal\Message -{ - /** - * The field type. - * - * Generated from protobuf field .google.protobuf.Field.Kind kind = 1; - */ - protected $kind = 0; - /** - * The field cardinality. - * - * Generated from protobuf field .google.protobuf.Field.Cardinality cardinality = 2; - */ - protected $cardinality = 0; - /** - * The field number. - * - * Generated from protobuf field int32 number = 3; - */ - protected $number = 0; - /** - * The field name. - * - * Generated from protobuf field string name = 4; - */ - protected $name = ''; - /** - * The field type URL, without the scheme, for message or enumeration - * types. Example: `"type.googleapis.com/google.protobuf.Timestamp"`. - * - * Generated from protobuf field string type_url = 6; - */ - protected $type_url = ''; - /** - * The index of the field type in `Type.oneofs`, for message or enumeration - * types. The first type has index 1; zero means the type is not in the list. - * - * Generated from protobuf field int32 oneof_index = 7; - */ - protected $oneof_index = 0; - /** - * Whether to use alternative packed wire representation. - * - * Generated from protobuf field bool packed = 8; - */ - protected $packed = false; - /** - * The protocol buffer options. - * - * Generated from protobuf field repeated .google.protobuf.Option options = 9; - */ - private $options; - /** - * The field JSON name. - * - * Generated from protobuf field string json_name = 10; - */ - protected $json_name = ''; - /** - * The string value of the default value of this field. Proto2 syntax only. - * - * Generated from protobuf field string default_value = 11; - */ - protected $default_value = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $kind - * The field type. - * @type int $cardinality - * The field cardinality. - * @type int $number - * The field number. - * @type string $name - * The field name. - * @type string $type_url - * The field type URL, without the scheme, for message or enumeration - * types. Example: `"type.googleapis.com/google.protobuf.Timestamp"`. - * @type int $oneof_index - * The index of the field type in `Type.oneofs`, for message or enumeration - * types. The first type has index 1; zero means the type is not in the list. - * @type bool $packed - * Whether to use alternative packed wire representation. - * @type array<\Google\Protobuf\Option>|\Google\Protobuf\Internal\RepeatedField $options - * The protocol buffer options. - * @type string $json_name - * The field JSON name. - * @type string $default_value - * The string value of the default value of this field. Proto2 syntax only. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Protobuf\Type::initOnce(); - parent::__construct($data); - } - - /** - * The field type. - * - * Generated from protobuf field .google.protobuf.Field.Kind kind = 1; - * @return int - */ - public function getKind() - { - return $this->kind; - } - - /** - * The field type. - * - * Generated from protobuf field .google.protobuf.Field.Kind kind = 1; - * @param int $var - * @return $this - */ - public function setKind($var) - { - GPBUtil::checkEnum($var, \Google\Protobuf\Field\Kind::class); - $this->kind = $var; - - return $this; - } - - /** - * The field cardinality. - * - * Generated from protobuf field .google.protobuf.Field.Cardinality cardinality = 2; - * @return int - */ - public function getCardinality() - { - return $this->cardinality; - } - - /** - * The field cardinality. - * - * Generated from protobuf field .google.protobuf.Field.Cardinality cardinality = 2; - * @param int $var - * @return $this - */ - public function setCardinality($var) - { - GPBUtil::checkEnum($var, \Google\Protobuf\Field\Cardinality::class); - $this->cardinality = $var; - - return $this; - } - - /** - * The field number. - * - * Generated from protobuf field int32 number = 3; - * @return int - */ - public function getNumber() - { - return $this->number; - } - - /** - * The field number. - * - * Generated from protobuf field int32 number = 3; - * @param int $var - * @return $this - */ - public function setNumber($var) - { - GPBUtil::checkInt32($var); - $this->number = $var; - - return $this; - } - - /** - * The field name. - * - * Generated from protobuf field string name = 4; - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * The field name. - * - * Generated from protobuf field string name = 4; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * The field type URL, without the scheme, for message or enumeration - * types. Example: `"type.googleapis.com/google.protobuf.Timestamp"`. - * - * Generated from protobuf field string type_url = 6; - * @return string - */ - public function getTypeUrl() - { - return $this->type_url; - } - - /** - * The field type URL, without the scheme, for message or enumeration - * types. Example: `"type.googleapis.com/google.protobuf.Timestamp"`. - * - * Generated from protobuf field string type_url = 6; - * @param string $var - * @return $this - */ - public function setTypeUrl($var) - { - GPBUtil::checkString($var, True); - $this->type_url = $var; - - return $this; - } - - /** - * The index of the field type in `Type.oneofs`, for message or enumeration - * types. The first type has index 1; zero means the type is not in the list. - * - * Generated from protobuf field int32 oneof_index = 7; - * @return int - */ - public function getOneofIndex() - { - return $this->oneof_index; - } - - /** - * The index of the field type in `Type.oneofs`, for message or enumeration - * types. The first type has index 1; zero means the type is not in the list. - * - * Generated from protobuf field int32 oneof_index = 7; - * @param int $var - * @return $this - */ - public function setOneofIndex($var) - { - GPBUtil::checkInt32($var); - $this->oneof_index = $var; - - return $this; - } - - /** - * Whether to use alternative packed wire representation. - * - * Generated from protobuf field bool packed = 8; - * @return bool - */ - public function getPacked() - { - return $this->packed; - } - - /** - * Whether to use alternative packed wire representation. - * - * Generated from protobuf field bool packed = 8; - * @param bool $var - * @return $this - */ - public function setPacked($var) - { - GPBUtil::checkBool($var); - $this->packed = $var; - - return $this; - } - - /** - * The protocol buffer options. - * - * Generated from protobuf field repeated .google.protobuf.Option options = 9; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getOptions() - { - return $this->options; - } - - /** - * The protocol buffer options. - * - * Generated from protobuf field repeated .google.protobuf.Option options = 9; - * @param array<\Google\Protobuf\Option>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setOptions($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Protobuf\Option::class); - $this->options = $arr; - - return $this; - } - - /** - * The field JSON name. - * - * Generated from protobuf field string json_name = 10; - * @return string - */ - public function getJsonName() - { - return $this->json_name; - } - - /** - * The field JSON name. - * - * Generated from protobuf field string json_name = 10; - * @param string $var - * @return $this - */ - public function setJsonName($var) - { - GPBUtil::checkString($var, True); - $this->json_name = $var; - - return $this; - } - - /** - * The string value of the default value of this field. Proto2 syntax only. - * - * Generated from protobuf field string default_value = 11; - * @return string - */ - public function getDefaultValue() - { - return $this->default_value; - } - - /** - * The string value of the default value of this field. Proto2 syntax only. - * - * Generated from protobuf field string default_value = 11; - * @param string $var - * @return $this - */ - public function setDefaultValue($var) - { - GPBUtil::checkString($var, True); - $this->default_value = $var; - - return $this; - } - -} - diff --git a/vendor/google/protobuf/src/Google/Protobuf/Field/Cardinality.php b/vendor/google/protobuf/src/Google/Protobuf/Field/Cardinality.php deleted file mode 100644 index a42219957..000000000 --- a/vendor/google/protobuf/src/Google/Protobuf/Field/Cardinality.php +++ /dev/null @@ -1,71 +0,0 @@ -google.protobuf.Field.Cardinality - */ -class Cardinality -{ - /** - * For fields with unknown cardinality. - * - * Generated from protobuf enum CARDINALITY_UNKNOWN = 0; - */ - const CARDINALITY_UNKNOWN = 0; - /** - * For optional fields. - * - * Generated from protobuf enum CARDINALITY_OPTIONAL = 1; - */ - const CARDINALITY_OPTIONAL = 1; - /** - * For required fields. Proto2 syntax only. - * - * Generated from protobuf enum CARDINALITY_REQUIRED = 2; - */ - const CARDINALITY_REQUIRED = 2; - /** - * For repeated fields. - * - * Generated from protobuf enum CARDINALITY_REPEATED = 3; - */ - const CARDINALITY_REPEATED = 3; - - private static $valueToName = [ - self::CARDINALITY_UNKNOWN => 'CARDINALITY_UNKNOWN', - self::CARDINALITY_OPTIONAL => 'CARDINALITY_OPTIONAL', - self::CARDINALITY_REQUIRED => 'CARDINALITY_REQUIRED', - self::CARDINALITY_REPEATED => 'CARDINALITY_REPEATED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Cardinality::class, \Google\Protobuf\Field_Cardinality::class); - diff --git a/vendor/google/protobuf/src/Google/Protobuf/Field/Kind.php b/vendor/google/protobuf/src/Google/Protobuf/Field/Kind.php deleted file mode 100644 index 2d8dd77c1..000000000 --- a/vendor/google/protobuf/src/Google/Protobuf/Field/Kind.php +++ /dev/null @@ -1,176 +0,0 @@ -google.protobuf.Field.Kind - */ -class Kind -{ - /** - * Field type unknown. - * - * Generated from protobuf enum TYPE_UNKNOWN = 0; - */ - const TYPE_UNKNOWN = 0; - /** - * Field type double. - * - * Generated from protobuf enum TYPE_DOUBLE = 1; - */ - const TYPE_DOUBLE = 1; - /** - * Field type float. - * - * Generated from protobuf enum TYPE_FLOAT = 2; - */ - const TYPE_FLOAT = 2; - /** - * Field type int64. - * - * Generated from protobuf enum TYPE_INT64 = 3; - */ - const TYPE_INT64 = 3; - /** - * Field type uint64. - * - * Generated from protobuf enum TYPE_UINT64 = 4; - */ - const TYPE_UINT64 = 4; - /** - * Field type int32. - * - * Generated from protobuf enum TYPE_INT32 = 5; - */ - const TYPE_INT32 = 5; - /** - * Field type fixed64. - * - * Generated from protobuf enum TYPE_FIXED64 = 6; - */ - const TYPE_FIXED64 = 6; - /** - * Field type fixed32. - * - * Generated from protobuf enum TYPE_FIXED32 = 7; - */ - const TYPE_FIXED32 = 7; - /** - * Field type bool. - * - * Generated from protobuf enum TYPE_BOOL = 8; - */ - const TYPE_BOOL = 8; - /** - * Field type string. - * - * Generated from protobuf enum TYPE_STRING = 9; - */ - const TYPE_STRING = 9; - /** - * Field type group. Proto2 syntax only, and deprecated. - * - * Generated from protobuf enum TYPE_GROUP = 10; - */ - const TYPE_GROUP = 10; - /** - * Field type message. - * - * Generated from protobuf enum TYPE_MESSAGE = 11; - */ - const TYPE_MESSAGE = 11; - /** - * Field type bytes. - * - * Generated from protobuf enum TYPE_BYTES = 12; - */ - const TYPE_BYTES = 12; - /** - * Field type uint32. - * - * Generated from protobuf enum TYPE_UINT32 = 13; - */ - const TYPE_UINT32 = 13; - /** - * Field type enum. - * - * Generated from protobuf enum TYPE_ENUM = 14; - */ - const TYPE_ENUM = 14; - /** - * Field type sfixed32. - * - * Generated from protobuf enum TYPE_SFIXED32 = 15; - */ - const TYPE_SFIXED32 = 15; - /** - * Field type sfixed64. - * - * Generated from protobuf enum TYPE_SFIXED64 = 16; - */ - const TYPE_SFIXED64 = 16; - /** - * Field type sint32. - * - * Generated from protobuf enum TYPE_SINT32 = 17; - */ - const TYPE_SINT32 = 17; - /** - * Field type sint64. - * - * Generated from protobuf enum TYPE_SINT64 = 18; - */ - const TYPE_SINT64 = 18; - - private static $valueToName = [ - self::TYPE_UNKNOWN => 'TYPE_UNKNOWN', - self::TYPE_DOUBLE => 'TYPE_DOUBLE', - self::TYPE_FLOAT => 'TYPE_FLOAT', - self::TYPE_INT64 => 'TYPE_INT64', - self::TYPE_UINT64 => 'TYPE_UINT64', - self::TYPE_INT32 => 'TYPE_INT32', - self::TYPE_FIXED64 => 'TYPE_FIXED64', - self::TYPE_FIXED32 => 'TYPE_FIXED32', - self::TYPE_BOOL => 'TYPE_BOOL', - self::TYPE_STRING => 'TYPE_STRING', - self::TYPE_GROUP => 'TYPE_GROUP', - self::TYPE_MESSAGE => 'TYPE_MESSAGE', - self::TYPE_BYTES => 'TYPE_BYTES', - self::TYPE_UINT32 => 'TYPE_UINT32', - self::TYPE_ENUM => 'TYPE_ENUM', - self::TYPE_SFIXED32 => 'TYPE_SFIXED32', - self::TYPE_SFIXED64 => 'TYPE_SFIXED64', - self::TYPE_SINT32 => 'TYPE_SINT32', - self::TYPE_SINT64 => 'TYPE_SINT64', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Kind::class, \Google\Protobuf\Field_Kind::class); - diff --git a/vendor/google/protobuf/src/Google/Protobuf/FieldDescriptor.php b/vendor/google/protobuf/src/Google/Protobuf/FieldDescriptor.php deleted file mode 100644 index ac919a24a..000000000 --- a/vendor/google/protobuf/src/Google/Protobuf/FieldDescriptor.php +++ /dev/null @@ -1,144 +0,0 @@ -internal_desc = $internal_desc; - } - - /** - * @return string Field name - */ - public function getName() - { - return $this->internal_desc->getName(); - } - - /** - * @return int Protobuf field number - */ - public function getNumber() - { - return $this->internal_desc->getNumber(); - } - - /** - * @return int - */ - public function getLabel() - { - return $this->internal_desc->getLabel(); - } - - /** - * @return int - */ - public function getType() - { - return $this->internal_desc->getType(); - } - - /** - * @return OneofDescriptor - */ - public function getContainingOneof() - { - return $this->getPublicDescriptor($this->internal_desc->getContainingOneof()); - } - - /** - * Gets the field's containing oneof, only if non-synthetic. - * - * @return null|OneofDescriptor - */ - public function getRealContainingOneof() - { - return $this->getPublicDescriptor($this->internal_desc->getRealContainingOneof()); - } - - /** - * @return boolean - */ - public function hasOptionalKeyword() - { - return $this->internal_desc->hasOptionalKeyword(); - } - - /** - * @return Descriptor Returns a descriptor for the field type if the field type is a message, otherwise throws \Exception - * @throws \Exception - */ - public function getMessageType() - { - if ($this->getType() == GPBType::MESSAGE) { - return $this->getPublicDescriptor($this->internal_desc->getMessageType()); - } else { - throw new \Exception("Cannot get message type for non-message field '" . $this->getName() . "'"); - } - } - - /** - * @return EnumDescriptor Returns an enum descriptor if the field type is an enum, otherwise throws \Exception - * @throws \Exception - */ - public function getEnumType() - { - if ($this->getType() == GPBType::ENUM) { - return $this->getPublicDescriptor($this->internal_desc->getEnumType()); - } else { - throw new \Exception("Cannot get enum type for non-enum field '" . $this->getName() . "'"); - } - } - - /** - * @return boolean - */ - public function isMap() - { - return $this->internal_desc->isMap(); - } -} diff --git a/vendor/google/protobuf/src/Google/Protobuf/FieldMask.php b/vendor/google/protobuf/src/Google/Protobuf/FieldMask.php deleted file mode 100644 index a8e5243f8..000000000 --- a/vendor/google/protobuf/src/Google/Protobuf/FieldMask.php +++ /dev/null @@ -1,217 +0,0 @@ -google.protobuf.FieldMask - */ -class FieldMask extends \Google\Protobuf\Internal\Message -{ - /** - * The set of field mask paths. - * - * Generated from protobuf field repeated string paths = 1; - */ - private $paths; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array|\Google\Protobuf\Internal\RepeatedField $paths - * The set of field mask paths. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Protobuf\FieldMask::initOnce(); - parent::__construct($data); - } - - /** - * The set of field mask paths. - * - * Generated from protobuf field repeated string paths = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getPaths() - { - return $this->paths; - } - - /** - * The set of field mask paths. - * - * Generated from protobuf field repeated string paths = 1; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setPaths($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->paths = $arr; - - return $this; - } - -} - diff --git a/vendor/google/protobuf/src/Google/Protobuf/Field_Cardinality.php b/vendor/google/protobuf/src/Google/Protobuf/Field_Cardinality.php deleted file mode 100644 index dff8f8931..000000000 --- a/vendor/google/protobuf/src/Google/Protobuf/Field_Cardinality.php +++ /dev/null @@ -1,16 +0,0 @@ -google.protobuf.FloatValue - */ -class FloatValue extends \Google\Protobuf\Internal\Message -{ - /** - * The float value. - * - * Generated from protobuf field float value = 1; - */ - protected $value = 0.0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type float $value - * The float value. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Protobuf\Wrappers::initOnce(); - parent::__construct($data); - } - - /** - * The float value. - * - * Generated from protobuf field float value = 1; - * @return float - */ - public function getValue() - { - return $this->value; - } - - /** - * The float value. - * - * Generated from protobuf field float value = 1; - * @param float $var - * @return $this - */ - public function setValue($var) - { - GPBUtil::checkFloat($var); - $this->value = $var; - - return $this; - } - -} - diff --git a/vendor/google/protobuf/src/Google/Protobuf/GPBEmpty.php b/vendor/google/protobuf/src/Google/Protobuf/GPBEmpty.php deleted file mode 100644 index 4db69238b..000000000 --- a/vendor/google/protobuf/src/Google/Protobuf/GPBEmpty.php +++ /dev/null @@ -1,38 +0,0 @@ -google.protobuf.Empty - */ -class GPBEmpty extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Protobuf\GPBEmpty::initOnce(); - parent::__construct($data); - } - -} - diff --git a/vendor/google/protobuf/src/Google/Protobuf/Int32Value.php b/vendor/google/protobuf/src/Google/Protobuf/Int32Value.php deleted file mode 100644 index cfd73cdc9..000000000 --- a/vendor/google/protobuf/src/Google/Protobuf/Int32Value.php +++ /dev/null @@ -1,68 +0,0 @@ -google.protobuf.Int32Value - */ -class Int32Value extends \Google\Protobuf\Internal\Message -{ - /** - * The int32 value. - * - * Generated from protobuf field int32 value = 1; - */ - protected $value = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $value - * The int32 value. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Protobuf\Wrappers::initOnce(); - parent::__construct($data); - } - - /** - * The int32 value. - * - * Generated from protobuf field int32 value = 1; - * @return int - */ - public function getValue() - { - return $this->value; - } - - /** - * The int32 value. - * - * Generated from protobuf field int32 value = 1; - * @param int $var - * @return $this - */ - public function setValue($var) - { - GPBUtil::checkInt32($var); - $this->value = $var; - - return $this; - } - -} - diff --git a/vendor/google/protobuf/src/Google/Protobuf/Int64Value.php b/vendor/google/protobuf/src/Google/Protobuf/Int64Value.php deleted file mode 100644 index 143474fcd..000000000 --- a/vendor/google/protobuf/src/Google/Protobuf/Int64Value.php +++ /dev/null @@ -1,68 +0,0 @@ -google.protobuf.Int64Value - */ -class Int64Value extends \Google\Protobuf\Internal\Message -{ - /** - * The int64 value. - * - * Generated from protobuf field int64 value = 1; - */ - protected $value = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $value - * The int64 value. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Protobuf\Wrappers::initOnce(); - parent::__construct($data); - } - - /** - * The int64 value. - * - * Generated from protobuf field int64 value = 1; - * @return int|string - */ - public function getValue() - { - return $this->value; - } - - /** - * The int64 value. - * - * Generated from protobuf field int64 value = 1; - * @param int|string $var - * @return $this - */ - public function setValue($var) - { - GPBUtil::checkInt64($var); - $this->value = $var; - - return $this; - } - -} - diff --git a/vendor/google/protobuf/src/Google/Protobuf/Internal/AnyBase.php b/vendor/google/protobuf/src/Google/Protobuf/Internal/AnyBase.php deleted file mode 100644 index 5e9ab5705..000000000 --- a/vendor/google/protobuf/src/Google/Protobuf/Internal/AnyBase.php +++ /dev/null @@ -1,86 +0,0 @@ -type_url, 0, $url_prifix_len) != - GPBUtil::TYPE_URL_PREFIX) { - throw new \Exception( - "Type url needs to be type.googleapis.com/fully-qulified"); - } - $fully_qualifed_name = - substr($this->type_url, $url_prifix_len); - - // Create message according to fully qualified name. - $pool = \Google\Protobuf\Internal\DescriptorPool::getGeneratedPool(); - $desc = $pool->getDescriptorByProtoName($fully_qualifed_name); - if (is_null($desc)) { - throw new \Exception("Class ".$fully_qualifed_name - ." hasn't been added to descriptor pool"); - } - $klass = $desc->getClass(); - $msg = new $klass(); - - // Merge data into message. - $msg->mergeFromString($this->value); - return $msg; - } - - /** - * The type_url will be created according to the given message’s type and - * the value is encoded data from the given message.. - * @param Message $msg A proto message. - */ - public function pack($msg) - { - if (!$msg instanceof Message) { - trigger_error("Given parameter is not a message instance.", - E_USER_ERROR); - return; - } - - // Set value using serialized message. - $this->value = $msg->serializeToString(); - - // Set type url. - $pool = \Google\Protobuf\Internal\DescriptorPool::getGeneratedPool(); - $desc = $pool->getDescriptorByClassName(get_class($msg)); - $fully_qualifed_name = $desc->getFullName(); - $this->type_url = GPBUtil::TYPE_URL_PREFIX . $fully_qualifed_name; - } - - /** - * This method returns whether the type_url in any_message is corresponded - * to the given class. - * @param string $klass The fully qualified PHP class name of a proto message type. - */ - public function is($klass) - { - $pool = \Google\Protobuf\Internal\DescriptorPool::getGeneratedPool(); - $desc = $pool->getDescriptorByClassName($klass); - $fully_qualifed_name = $desc->getFullName(); - $type_url = GPBUtil::TYPE_URL_PREFIX . $fully_qualifed_name; - return $this->type_url === $type_url; - } -} diff --git a/vendor/google/protobuf/src/Google/Protobuf/Internal/CodedInputStream.php b/vendor/google/protobuf/src/Google/Protobuf/Internal/CodedInputStream.php deleted file mode 100644 index a33fec2f6..000000000 --- a/vendor/google/protobuf/src/Google/Protobuf/Internal/CodedInputStream.php +++ /dev/null @@ -1,381 +0,0 @@ -buffer = $buffer; - $this->buffer_size_after_limit = 0; - $this->buffer_end = $end; - $this->current = $start; - $this->current_limit = $end; - $this->legitimate_message_end = false; - $this->recursion_budget = self::DEFAULT_RECURSION_LIMIT; - $this->recursion_limit = self::DEFAULT_RECURSION_LIMIT; - $this->total_bytes_limit = self::DEFAULT_TOTAL_BYTES_LIMIT; - $this->total_bytes_read = $end - $start; - } - - private function advance($amount) - { - $this->current += $amount; - } - - public function bufferSize() - { - return $this->buffer_end - $this->current; - } - - public function current() - { - return $this->total_bytes_read - - ($this->buffer_end - $this->current + - $this->buffer_size_after_limit); - } - - public function substr($start, $end) - { - return substr($this->buffer, $start, $end - $start); - } - - private function recomputeBufferLimits() - { - $this->buffer_end += $this->buffer_size_after_limit; - $closest_limit = min($this->current_limit, $this->total_bytes_limit); - if ($closest_limit < $this->total_bytes_read) { - // The limit position is in the current buffer. We must adjust the - // buffer size accordingly. - $this->buffer_size_after_limit = $this->total_bytes_read - - $closest_limit; - $this->buffer_end -= $this->buffer_size_after_limit; - } else { - $this->buffer_size_after_limit = 0; - } - } - - private function consumedEntireMessage() - { - return $this->legitimate_message_end; - } - - /** - * Read uint32 into $var. Advance buffer with consumed bytes. If the - * contained varint is larger than 32 bits, discard the high order bits. - * @param $var - */ - public function readVarint32(&$var) - { - if (!$this->readVarint64($var)) { - return false; - } - - if (PHP_INT_SIZE == 4) { - $var = bcmod($var, 4294967296); - } else { - $var &= 0xFFFFFFFF; - } - - // Convert large uint32 to int32. - if ($var > 0x7FFFFFFF) { - if (PHP_INT_SIZE === 8) { - $var = $var | (0xFFFFFFFF << 32); - } else { - $var = bcsub($var, 4294967296); - } - } - - $var = intval($var); - return true; - } - - /** - * Read Uint64 into $var. Advance buffer with consumed bytes. - * @param $var - */ - public function readVarint64(&$var) - { - $count = 0; - - if (PHP_INT_SIZE == 4) { - $high = 0; - $low = 0; - $b = 0; - - do { - if ($this->current === $this->buffer_end) { - return false; - } - if ($count === self::MAX_VARINT_BYTES) { - return false; - } - $b = ord($this->buffer[$this->current]); - $bits = 7 * $count; - if ($bits >= 32) { - $high |= (($b & 0x7F) << ($bits - 32)); - } else if ($bits > 25){ - // $bits is 28 in this case. - $low |= (($b & 0x7F) << 28); - $high = ($b & 0x7F) >> 4; - } else { - $low |= (($b & 0x7F) << $bits); - } - - $this->advance(1); - $count += 1; - } while ($b & 0x80); - - $var = GPBUtil::combineInt32ToInt64($high, $low); - if (bccomp($var, 0) < 0) { - $var = bcadd($var, "18446744073709551616"); - } - } else { - $result = 0; - $shift = 0; - - do { - if ($this->current === $this->buffer_end) { - return false; - } - if ($count === self::MAX_VARINT_BYTES) { - return false; - } - - $byte = ord($this->buffer[$this->current]); - $result |= ($byte & 0x7f) << $shift; - $shift += 7; - $this->advance(1); - $count += 1; - } while ($byte > 0x7f); - - $var = $result; - } - - return true; - } - - /** - * Read int into $var. If the result is larger than the largest integer, $var - * will be -1. Advance buffer with consumed bytes. - * @param $var - */ - public function readVarintSizeAsInt(&$var) - { - if (!$this->readVarint64($var)) { - return false; - } - $var = (int)$var; - return true; - } - - /** - * Read 32-bit unsigned integer to $var. If the buffer has less than 4 bytes, - * return false. Advance buffer with consumed bytes. - * @param $var - */ - public function readLittleEndian32(&$var) - { - $data = null; - if (!$this->readRaw(4, $data)) { - return false; - } - $var = unpack('V', $data); - $var = $var[1]; - return true; - } - - /** - * Read 64-bit unsigned integer to $var. If the buffer has less than 8 bytes, - * return false. Advance buffer with consumed bytes. - * @param $var - */ - public function readLittleEndian64(&$var) - { - $data = null; - if (!$this->readRaw(4, $data)) { - return false; - } - $low = unpack('V', $data)[1]; - if (!$this->readRaw(4, $data)) { - return false; - } - $high = unpack('V', $data)[1]; - if (PHP_INT_SIZE == 4) { - $var = GPBUtil::combineInt32ToInt64($high, $low); - } else { - $var = ($high << 32) | $low; - } - return true; - } - - /** - * Read tag into $var. Advance buffer with consumed bytes. - */ - public function readTag() - { - if ($this->current === $this->buffer_end) { - // Make sure that it failed due to EOF, not because we hit - // total_bytes_limit, which, unlike normal limits, is not a valid - // place to end a message. - $current_position = $this->total_bytes_read - - $this->buffer_size_after_limit; - if ($current_position >= $this->total_bytes_limit) { - // Hit total_bytes_limit_. But if we also hit the normal limit, - // we're still OK. - $this->legitimate_message_end = - ($this->current_limit === $this->total_bytes_limit); - } else { - $this->legitimate_message_end = true; - } - return 0; - } - - $result = 0; - // The largest tag is 2^29 - 1, which can be represented by int32. - $success = $this->readVarint32($result); - if ($success) { - return $result; - } else { - return 0; - } - } - - public function readRaw($size, &$buffer) - { - $current_buffer_size = 0; - if ($this->bufferSize() < $size) { - return false; - } - - if ($size === 0) { - $buffer = ""; - } else { - $buffer = substr($this->buffer, $this->current, $size); - $this->advance($size); - } - - return true; - } - - /* Places a limit on the number of bytes that the stream may read, starting - * from the current position. Once the stream hits this limit, it will act - * like the end of the input has been reached until popLimit() is called. - * - * As the names imply, the stream conceptually has a stack of limits. The - * shortest limit on the stack is always enforced, even if it is not the top - * limit. - * - * The value returned by pushLimit() is opaque to the caller, and must be - * passed unchanged to the corresponding call to popLimit(). - * - * @param integer $byte_limit - * @throws \Exception Fail to push limit. - */ - public function pushLimit($byte_limit) - { - // Current position relative to the beginning of the stream. - $current_position = $this->current(); - $old_limit = $this->current_limit; - - // security: byte_limit is possibly evil, so check for negative values - // and overflow. - if ($byte_limit >= 0 && - $byte_limit <= PHP_INT_MAX - $current_position && - $byte_limit <= $this->current_limit - $current_position) { - $this->current_limit = $current_position + $byte_limit; - $this->recomputeBufferLimits(); - } else { - throw new GPBDecodeException("Fail to push limit."); - } - - return $old_limit; - } - - /* The limit passed in is actually the *old* limit, which we returned from - * PushLimit(). - * - * @param integer $byte_limit - */ - public function popLimit($byte_limit) - { - $this->current_limit = $byte_limit; - $this->recomputeBufferLimits(); - // We may no longer be at a legitimate message end. ReadTag() needs to - // be called again to find out. - $this->legitimate_message_end = false; - } - - public function incrementRecursionDepthAndPushLimit( - $byte_limit, &$old_limit, &$recursion_budget) - { - $old_limit = $this->pushLimit($byte_limit); - $recursion_limit = --$this->recursion_limit; - } - - public function decrementRecursionDepthAndPopLimit($byte_limit) - { - $result = $this->consumedEntireMessage(); - $this->popLimit($byte_limit); - ++$this->recursion_budget; - return $result; - } - - public function bytesUntilLimit() - { - if ($this->current_limit === PHP_INT_MAX) { - return -1; - } - return $this->current_limit - $this->current; - } -} diff --git a/vendor/google/protobuf/src/Google/Protobuf/Internal/CodedOutputStream.php b/vendor/google/protobuf/src/Google/Protobuf/Internal/CodedOutputStream.php deleted file mode 100644 index f75e9c662..000000000 --- a/vendor/google/protobuf/src/Google/Protobuf/Internal/CodedOutputStream.php +++ /dev/null @@ -1,159 +0,0 @@ -current = 0; - $this->buffer_size = $size; - $this->buffer = str_repeat(chr(0), $this->buffer_size); - } - - public function getData() - { - return $this->buffer; - } - - public function writeVarint32($value, $trim) - { - $bytes = str_repeat(chr(0), self::MAX_VARINT64_BYTES); - $size = self::writeVarintToArray($value, $bytes, $trim); - return $this->writeRaw($bytes, $size); - } - - public function writeVarint64($value) - { - $bytes = str_repeat(chr(0), self::MAX_VARINT64_BYTES); - $size = self::writeVarintToArray($value, $bytes); - return $this->writeRaw($bytes, $size); - } - - public function writeLittleEndian32($value) - { - $bytes = str_repeat(chr(0), 4); - $size = self::writeLittleEndian32ToArray($value, $bytes); - return $this->writeRaw($bytes, $size); - } - - public function writeLittleEndian64($value) - { - $bytes = str_repeat(chr(0), 8); - $size = self::writeLittleEndian64ToArray($value, $bytes); - return $this->writeRaw($bytes, $size); - } - - public function writeTag($tag) - { - return $this->writeVarint32($tag, true); - } - - public function writeRaw($data, $size) - { - if ($this->buffer_size < $size) { - trigger_error("Output stream doesn't have enough buffer."); - return false; - } - - for ($i = 0; $i < $size; $i++) { - $this->buffer[$this->current] = $data[$i]; - $this->current++; - $this->buffer_size--; - } - return true; - } - - public static function writeVarintToArray($value, &$buffer, $trim = false) - { - $current = 0; - - $high = 0; - $low = 0; - if (PHP_INT_SIZE == 4) { - GPBUtil::divideInt64ToInt32($value, $high, $low, $trim); - } else { - $low = $value; - } - - while (($low >= 0x80 || $low < 0) || $high != 0) { - $buffer[$current] = chr($low | 0x80); - $value = ($value >> 7) & ~(0x7F << ((PHP_INT_SIZE << 3) - 7)); - $carry = ($high & 0x7F) << ((PHP_INT_SIZE << 3) - 7); - $high = ($high >> 7) & ~(0x7F << ((PHP_INT_SIZE << 3) - 7)); - $low = (($low >> 7) & ~(0x7F << ((PHP_INT_SIZE << 3) - 7)) | $carry); - $current++; - } - $buffer[$current] = chr($low); - return $current + 1; - } - - private static function writeLittleEndian32ToArray($value, &$buffer) - { - $buffer[0] = chr($value & 0x000000FF); - $buffer[1] = chr(($value >> 8) & 0x000000FF); - $buffer[2] = chr(($value >> 16) & 0x000000FF); - $buffer[3] = chr(($value >> 24) & 0x000000FF); - return 4; - } - - private static function writeLittleEndian64ToArray($value, &$buffer) - { - $high = 0; - $low = 0; - if (PHP_INT_SIZE == 4) { - GPBUtil::divideInt64ToInt32($value, $high, $low); - } else { - $low = $value & 0xFFFFFFFF; - $high = ($value >> 32) & 0xFFFFFFFF; - } - - $buffer[0] = chr($low & 0x000000FF); - $buffer[1] = chr(($low >> 8) & 0x000000FF); - $buffer[2] = chr(($low >> 16) & 0x000000FF); - $buffer[3] = chr(($low >> 24) & 0x000000FF); - $buffer[4] = chr($high & 0x000000FF); - $buffer[5] = chr(($high >> 8) & 0x000000FF); - $buffer[6] = chr(($high >> 16) & 0x000000FF); - $buffer[7] = chr(($high >> 24) & 0x000000FF); - return 8; - } - -} diff --git a/vendor/google/protobuf/src/Google/Protobuf/Internal/Descriptor.php b/vendor/google/protobuf/src/Google/Protobuf/Internal/Descriptor.php deleted file mode 100644 index 51a34d6bc..000000000 --- a/vendor/google/protobuf/src/Google/Protobuf/Internal/Descriptor.php +++ /dev/null @@ -1,236 +0,0 @@ -public_desc = new \Google\Protobuf\Descriptor($this); - } - - public function addOneofDecl($oneof) - { - $this->oneof_decl[] = $oneof; - } - - public function getOneofDecl() - { - return $this->oneof_decl; - } - - public function setFullName($full_name) - { - $this->full_name = $full_name; - } - - public function getFullName() - { - return $this->full_name; - } - - public function addField($field) - { - $this->field[$field->getNumber()] = $field; - $this->json_to_field[$field->getJsonName()] = $field; - $this->name_to_field[$field->getName()] = $field; - $this->index_to_field[] = $field; - } - - public function getField() - { - return $this->field; - } - - public function addNestedType($desc) - { - $this->nested_type[] = $desc; - } - - public function getNestedType() - { - return $this->nested_type; - } - - public function addEnumType($desc) - { - $this->enum_type[] = $desc; - } - - public function getEnumType() - { - return $this->enum_type; - } - - public function getFieldByNumber($number) - { - if (!isset($this->field[$number])) { - return NULL; - } else { - return $this->field[$number]; - } - } - - public function getFieldByJsonName($json_name) - { - if (!isset($this->json_to_field[$json_name])) { - return NULL; - } else { - return $this->json_to_field[$json_name]; - } - } - - public function getFieldByName($name) - { - if (!isset($this->name_to_field[$name])) { - return NULL; - } else { - return $this->name_to_field[$name]; - } - } - - public function getFieldByIndex($index) - { - if (count($this->index_to_field) <= $index) { - return NULL; - } else { - return $this->index_to_field[$index]; - } - } - - public function setClass($klass) - { - $this->klass = $klass; - } - - public function getClass() - { - return $this->klass; - } - - public function setLegacyClass($klass) - { - $this->legacy_klass = $klass; - } - - public function getLegacyClass() - { - return $this->legacy_klass; - } - - public function setPreviouslyUnreservedClass($klass) - { - $this->previous_klass = $klass; - } - - public function getPreviouslyUnreservedClass() - { - return $this->previous_klass; - } - - public function setOptions($options) - { - $this->options = $options; - } - - public function getOptions() - { - return $this->options; - } - - public static function buildFromProto($proto, $file_proto, $containing) - { - $desc = new Descriptor(); - - $message_name_without_package = ""; - $classname = ""; - $legacy_classname = ""; - $previous_classname = ""; - $fullname = ""; - GPBUtil::getFullClassName( - $proto, - $containing, - $file_proto, - $message_name_without_package, - $classname, - $legacy_classname, - $fullname, - $previous_classname); - $desc->setFullName($fullname); - $desc->setClass($classname); - $desc->setLegacyClass($legacy_classname); - $desc->setPreviouslyUnreservedClass($previous_classname); - $desc->setOptions($proto->getOptions()); - - foreach ($proto->getField() as $field_proto) { - $desc->addField(FieldDescriptor::buildFromProto($field_proto)); - } - - // Handle nested types. - foreach ($proto->getNestedType() as $nested_proto) { - $desc->addNestedType(Descriptor::buildFromProto( - $nested_proto, $file_proto, $message_name_without_package)); - } - - // Handle nested enum. - foreach ($proto->getEnumType() as $enum_proto) { - $desc->addEnumType(EnumDescriptor::buildFromProto( - $enum_proto, $file_proto, $message_name_without_package)); - } - - // Handle oneof fields. - $index = 0; - foreach ($proto->getOneofDecl() as $oneof_proto) { - $desc->addOneofDecl( - OneofDescriptor::buildFromProto($oneof_proto, $desc, $index)); - $index++; - } - - return $desc; - } -} diff --git a/vendor/google/protobuf/src/Google/Protobuf/Internal/DescriptorPool.php b/vendor/google/protobuf/src/Google/Protobuf/Internal/DescriptorPool.php deleted file mode 100644 index 1be00e2ff..000000000 --- a/vendor/google/protobuf/src/Google/Protobuf/Internal/DescriptorPool.php +++ /dev/null @@ -1,194 +0,0 @@ -mergeFromString($data); - - foreach($files->getFile() as $file_proto) { - $file = FileDescriptor::buildFromProto($file_proto); - - foreach ($file->getMessageType() as $desc) { - $this->addDescriptor($desc); - } - unset($desc); - - foreach ($file->getEnumType() as $desc) { - $this->addEnumDescriptor($desc); - } - unset($desc); - - foreach ($file->getMessageType() as $desc) { - $this->crossLink($desc); - } - unset($desc); - } - } - - public function addMessage($name, $klass) - { - return new MessageBuilderContext($name, $klass, $this); - } - - public function addEnum($name, $klass) - { - return new EnumBuilderContext($name, $klass, $this); - } - - public function addDescriptor($descriptor) - { - $this->proto_to_class[$descriptor->getFullName()] = - $descriptor->getClass(); - $this->class_to_desc[$descriptor->getClass()] = $descriptor; - $this->class_to_desc[$descriptor->getLegacyClass()] = $descriptor; - $this->class_to_desc[$descriptor->getPreviouslyUnreservedClass()] = $descriptor; - foreach ($descriptor->getNestedType() as $nested_type) { - $this->addDescriptor($nested_type); - } - foreach ($descriptor->getEnumType() as $enum_type) { - $this->addEnumDescriptor($enum_type); - } - } - - public function addEnumDescriptor($descriptor) - { - $this->proto_to_class[$descriptor->getFullName()] = - $descriptor->getClass(); - $this->class_to_enum_desc[$descriptor->getClass()] = $descriptor; - $this->class_to_enum_desc[$descriptor->getLegacyClass()] = $descriptor; - } - - public function getDescriptorByClassName($klass) - { - if (isset($this->class_to_desc[$klass])) { - return $this->class_to_desc[$klass]; - } else { - return null; - } - } - - public function getEnumDescriptorByClassName($klass) - { - if (isset($this->class_to_enum_desc[$klass])) { - return $this->class_to_enum_desc[$klass]; - } else { - return null; - } - } - - public function getDescriptorByProtoName($proto) - { - if (isset($this->proto_to_class[$proto])) { - $klass = $this->proto_to_class[$proto]; - return $this->class_to_desc[$klass]; - } else { - return null; - } - } - - public function getEnumDescriptorByProtoName($proto) - { - $klass = $this->proto_to_class[$proto]; - return $this->class_to_enum_desc[$klass]; - } - - private function crossLink(Descriptor $desc) - { - foreach ($desc->getField() as $field) { - switch ($field->getType()) { - case GPBType::MESSAGE: - $proto = $field->getMessageType(); - if ($proto[0] == '.') { - $proto = substr($proto, 1); - } - $subdesc = $this->getDescriptorByProtoName($proto); - if (is_null($subdesc)) { - trigger_error( - 'proto not added: ' . $proto - . " for " . $desc->getFullName(), E_USER_ERROR); - } - $field->setMessageType($subdesc); - break; - case GPBType::ENUM: - $proto = $field->getEnumType(); - if ($proto[0] == '.') { - $proto = substr($proto, 1); - } - $field->setEnumType( - $this->getEnumDescriptorByProtoName($proto)); - break; - default: - break; - } - } - unset($field); - - foreach ($desc->getNestedType() as $nested_type) { - $this->crossLink($nested_type); - } - unset($nested_type); - } - - public function finish() - { - foreach ($this->class_to_desc as $klass => $desc) { - $this->crossLink($desc); - } - unset($desc); - } -} diff --git a/vendor/google/protobuf/src/Google/Protobuf/Internal/DescriptorProto.php b/vendor/google/protobuf/src/Google/Protobuf/Internal/DescriptorProto.php deleted file mode 100644 index 2937c5a7c..000000000 --- a/vendor/google/protobuf/src/Google/Protobuf/Internal/DescriptorProto.php +++ /dev/null @@ -1,336 +0,0 @@ -google.protobuf.DescriptorProto - */ -class DescriptorProto extends \Google\Protobuf\Internal\Message -{ - /** - * Generated from protobuf field optional string name = 1; - */ - protected $name = null; - /** - * Generated from protobuf field repeated .google.protobuf.FieldDescriptorProto field = 2; - */ - private $field; - /** - * Generated from protobuf field repeated .google.protobuf.FieldDescriptorProto extension = 6; - */ - private $extension; - /** - * Generated from protobuf field repeated .google.protobuf.DescriptorProto nested_type = 3; - */ - private $nested_type; - /** - * Generated from protobuf field repeated .google.protobuf.EnumDescriptorProto enum_type = 4; - */ - private $enum_type; - /** - * Generated from protobuf field repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5; - */ - private $extension_range; - /** - * Generated from protobuf field repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8; - */ - private $oneof_decl; - /** - * Generated from protobuf field optional .google.protobuf.MessageOptions options = 7; - */ - protected $options = null; - /** - * Generated from protobuf field repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9; - */ - private $reserved_range; - /** - * Reserved field names, which may not be used by fields in the same message. - * A given name may only be reserved once. - * - * Generated from protobuf field repeated string reserved_name = 10; - */ - private $reserved_name; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * @type array<\Google\Protobuf\Internal\FieldDescriptorProto>|\Google\Protobuf\Internal\RepeatedField $field - * @type array<\Google\Protobuf\Internal\FieldDescriptorProto>|\Google\Protobuf\Internal\RepeatedField $extension - * @type array<\Google\Protobuf\Internal\DescriptorProto>|\Google\Protobuf\Internal\RepeatedField $nested_type - * @type array<\Google\Protobuf\Internal\EnumDescriptorProto>|\Google\Protobuf\Internal\RepeatedField $enum_type - * @type array<\Google\Protobuf\Internal\DescriptorProto\ExtensionRange>|\Google\Protobuf\Internal\RepeatedField $extension_range - * @type array<\Google\Protobuf\Internal\OneofDescriptorProto>|\Google\Protobuf\Internal\RepeatedField $oneof_decl - * @type \Google\Protobuf\Internal\MessageOptions $options - * @type array<\Google\Protobuf\Internal\DescriptorProto\ReservedRange>|\Google\Protobuf\Internal\RepeatedField $reserved_range - * @type array|\Google\Protobuf\Internal\RepeatedField $reserved_name - * Reserved field names, which may not be used by fields in the same message. - * A given name may only be reserved once. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Protobuf\Internal\Descriptor::initOnce(); - parent::__construct($data); - } - - /** - * Generated from protobuf field optional string name = 1; - * @return string - */ - public function getName() - { - return isset($this->name) ? $this->name : ''; - } - - public function hasName() - { - return isset($this->name); - } - - public function clearName() - { - unset($this->name); - } - - /** - * Generated from protobuf field optional string name = 1; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * Generated from protobuf field repeated .google.protobuf.FieldDescriptorProto field = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getField() - { - return $this->field; - } - - /** - * Generated from protobuf field repeated .google.protobuf.FieldDescriptorProto field = 2; - * @param array<\Google\Protobuf\Internal\FieldDescriptorProto>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setField($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Protobuf\Internal\FieldDescriptorProto::class); - $this->field = $arr; - - return $this; - } - - /** - * Generated from protobuf field repeated .google.protobuf.FieldDescriptorProto extension = 6; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getExtension() - { - return $this->extension; - } - - /** - * Generated from protobuf field repeated .google.protobuf.FieldDescriptorProto extension = 6; - * @param array<\Google\Protobuf\Internal\FieldDescriptorProto>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setExtension($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Protobuf\Internal\FieldDescriptorProto::class); - $this->extension = $arr; - - return $this; - } - - /** - * Generated from protobuf field repeated .google.protobuf.DescriptorProto nested_type = 3; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getNestedType() - { - return $this->nested_type; - } - - /** - * Generated from protobuf field repeated .google.protobuf.DescriptorProto nested_type = 3; - * @param array<\Google\Protobuf\Internal\DescriptorProto>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setNestedType($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Protobuf\Internal\DescriptorProto::class); - $this->nested_type = $arr; - - return $this; - } - - /** - * Generated from protobuf field repeated .google.protobuf.EnumDescriptorProto enum_type = 4; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getEnumType() - { - return $this->enum_type; - } - - /** - * Generated from protobuf field repeated .google.protobuf.EnumDescriptorProto enum_type = 4; - * @param array<\Google\Protobuf\Internal\EnumDescriptorProto>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setEnumType($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Protobuf\Internal\EnumDescriptorProto::class); - $this->enum_type = $arr; - - return $this; - } - - /** - * Generated from protobuf field repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getExtensionRange() - { - return $this->extension_range; - } - - /** - * Generated from protobuf field repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5; - * @param array<\Google\Protobuf\Internal\DescriptorProto\ExtensionRange>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setExtensionRange($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Protobuf\Internal\DescriptorProto\ExtensionRange::class); - $this->extension_range = $arr; - - return $this; - } - - /** - * Generated from protobuf field repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getOneofDecl() - { - return $this->oneof_decl; - } - - /** - * Generated from protobuf field repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8; - * @param array<\Google\Protobuf\Internal\OneofDescriptorProto>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setOneofDecl($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Protobuf\Internal\OneofDescriptorProto::class); - $this->oneof_decl = $arr; - - return $this; - } - - /** - * Generated from protobuf field optional .google.protobuf.MessageOptions options = 7; - * @return \Google\Protobuf\Internal\MessageOptions|null - */ - public function getOptions() - { - return $this->options; - } - - public function hasOptions() - { - return isset($this->options); - } - - public function clearOptions() - { - unset($this->options); - } - - /** - * Generated from protobuf field optional .google.protobuf.MessageOptions options = 7; - * @param \Google\Protobuf\Internal\MessageOptions $var - * @return $this - */ - public function setOptions($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Internal\MessageOptions::class); - $this->options = $var; - - return $this; - } - - /** - * Generated from protobuf field repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getReservedRange() - { - return $this->reserved_range; - } - - /** - * Generated from protobuf field repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9; - * @param array<\Google\Protobuf\Internal\DescriptorProto\ReservedRange>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setReservedRange($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Protobuf\Internal\DescriptorProto\ReservedRange::class); - $this->reserved_range = $arr; - - return $this; - } - - /** - * Reserved field names, which may not be used by fields in the same message. - * A given name may only be reserved once. - * - * Generated from protobuf field repeated string reserved_name = 10; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getReservedName() - { - return $this->reserved_name; - } - - /** - * Reserved field names, which may not be used by fields in the same message. - * A given name may only be reserved once. - * - * Generated from protobuf field repeated string reserved_name = 10; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setReservedName($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->reserved_name = $arr; - - return $this; - } - -} - diff --git a/vendor/google/protobuf/src/Google/Protobuf/Internal/DescriptorProto/ExtensionRange.php b/vendor/google/protobuf/src/Google/Protobuf/Internal/DescriptorProto/ExtensionRange.php deleted file mode 100644 index 43c33c4a9..000000000 --- a/vendor/google/protobuf/src/Google/Protobuf/Internal/DescriptorProto/ExtensionRange.php +++ /dev/null @@ -1,161 +0,0 @@ -google.protobuf.DescriptorProto.ExtensionRange - */ -class ExtensionRange extends \Google\Protobuf\Internal\Message -{ - /** - * Inclusive. - * - * Generated from protobuf field optional int32 start = 1; - */ - protected $start = null; - /** - * Exclusive. - * - * Generated from protobuf field optional int32 end = 2; - */ - protected $end = null; - /** - * Generated from protobuf field optional .google.protobuf.ExtensionRangeOptions options = 3; - */ - protected $options = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $start - * Inclusive. - * @type int $end - * Exclusive. - * @type \Google\Protobuf\Internal\ExtensionRangeOptions $options - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Protobuf\Internal\Descriptor::initOnce(); - parent::__construct($data); - } - - /** - * Inclusive. - * - * Generated from protobuf field optional int32 start = 1; - * @return int - */ - public function getStart() - { - return isset($this->start) ? $this->start : 0; - } - - public function hasStart() - { - return isset($this->start); - } - - public function clearStart() - { - unset($this->start); - } - - /** - * Inclusive. - * - * Generated from protobuf field optional int32 start = 1; - * @param int $var - * @return $this - */ - public function setStart($var) - { - GPBUtil::checkInt32($var); - $this->start = $var; - - return $this; - } - - /** - * Exclusive. - * - * Generated from protobuf field optional int32 end = 2; - * @return int - */ - public function getEnd() - { - return isset($this->end) ? $this->end : 0; - } - - public function hasEnd() - { - return isset($this->end); - } - - public function clearEnd() - { - unset($this->end); - } - - /** - * Exclusive. - * - * Generated from protobuf field optional int32 end = 2; - * @param int $var - * @return $this - */ - public function setEnd($var) - { - GPBUtil::checkInt32($var); - $this->end = $var; - - return $this; - } - - /** - * Generated from protobuf field optional .google.protobuf.ExtensionRangeOptions options = 3; - * @return \Google\Protobuf\Internal\ExtensionRangeOptions|null - */ - public function getOptions() - { - return $this->options; - } - - public function hasOptions() - { - return isset($this->options); - } - - public function clearOptions() - { - unset($this->options); - } - - /** - * Generated from protobuf field optional .google.protobuf.ExtensionRangeOptions options = 3; - * @param \Google\Protobuf\Internal\ExtensionRangeOptions $var - * @return $this - */ - public function setOptions($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Internal\ExtensionRangeOptions::class); - $this->options = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ExtensionRange::class, \Google\Protobuf\Internal\DescriptorProto_ExtensionRange::class); - diff --git a/vendor/google/protobuf/src/Google/Protobuf/Internal/DescriptorProto/ReservedRange.php b/vendor/google/protobuf/src/Google/Protobuf/Internal/DescriptorProto/ReservedRange.php deleted file mode 100644 index f099cc345..000000000 --- a/vendor/google/protobuf/src/Google/Protobuf/Internal/DescriptorProto/ReservedRange.php +++ /dev/null @@ -1,128 +0,0 @@ -google.protobuf.DescriptorProto.ReservedRange - */ -class ReservedRange extends \Google\Protobuf\Internal\Message -{ - /** - * Inclusive. - * - * Generated from protobuf field optional int32 start = 1; - */ - protected $start = null; - /** - * Exclusive. - * - * Generated from protobuf field optional int32 end = 2; - */ - protected $end = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $start - * Inclusive. - * @type int $end - * Exclusive. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Protobuf\Internal\Descriptor::initOnce(); - parent::__construct($data); - } - - /** - * Inclusive. - * - * Generated from protobuf field optional int32 start = 1; - * @return int - */ - public function getStart() - { - return isset($this->start) ? $this->start : 0; - } - - public function hasStart() - { - return isset($this->start); - } - - public function clearStart() - { - unset($this->start); - } - - /** - * Inclusive. - * - * Generated from protobuf field optional int32 start = 1; - * @param int $var - * @return $this - */ - public function setStart($var) - { - GPBUtil::checkInt32($var); - $this->start = $var; - - return $this; - } - - /** - * Exclusive. - * - * Generated from protobuf field optional int32 end = 2; - * @return int - */ - public function getEnd() - { - return isset($this->end) ? $this->end : 0; - } - - public function hasEnd() - { - return isset($this->end); - } - - public function clearEnd() - { - unset($this->end); - } - - /** - * Exclusive. - * - * Generated from protobuf field optional int32 end = 2; - * @param int $var - * @return $this - */ - public function setEnd($var) - { - GPBUtil::checkInt32($var); - $this->end = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ReservedRange::class, \Google\Protobuf\Internal\DescriptorProto_ReservedRange::class); - diff --git a/vendor/google/protobuf/src/Google/Protobuf/Internal/DescriptorProto_ExtensionRange.php b/vendor/google/protobuf/src/Google/Protobuf/Internal/DescriptorProto_ExtensionRange.php deleted file mode 100644 index c928fbe5b..000000000 --- a/vendor/google/protobuf/src/Google/Protobuf/Internal/DescriptorProto_ExtensionRange.php +++ /dev/null @@ -1,16 +0,0 @@ -descriptor = new EnumDescriptor(); - $this->descriptor->setFullName($full_name); - $this->descriptor->setClass($klass); - $this->pool = $pool; - } - - public function value($name, $number) - { - $value = new EnumValueDescriptor($name, $number); - $this->descriptor->addValue($number, $value); - return $this; - } - - public function finalizeToPool() - { - $this->pool->addEnumDescriptor($this->descriptor); - } -} diff --git a/vendor/google/protobuf/src/Google/Protobuf/Internal/EnumDescriptor.php b/vendor/google/protobuf/src/Google/Protobuf/Internal/EnumDescriptor.php deleted file mode 100644 index 383f53b13..000000000 --- a/vendor/google/protobuf/src/Google/Protobuf/Internal/EnumDescriptor.php +++ /dev/null @@ -1,116 +0,0 @@ -public_desc = new \Google\Protobuf\EnumDescriptor($this); - } - - public function setFullName($full_name) - { - $this->full_name = $full_name; - } - - public function getFullName() - { - return $this->full_name; - } - - public function addValue($number, $value) - { - $this->value[$number] = $value; - $this->name_to_value[$value->getName()] = $value; - $this->value_descriptor[] = new EnumValueDescriptor($value->getName(), $number); - } - - public function getValueByNumber($number) - { - if (isset($this->value[$number])) { - return $this->value[$number]; - } - return null; - } - - public function getValueByName($name) - { - if (isset($this->name_to_value[$name])) { - return $this->name_to_value[$name]; - } - return null; - } - - public function getValueDescriptorByIndex($index) - { - if (isset($this->value_descriptor[$index])) { - return $this->value_descriptor[$index]; - } - return null; - } - - public function getValueCount() - { - return count($this->value); - } - - public function setClass($klass) - { - $this->klass = $klass; - } - - public function getClass() - { - return $this->klass; - } - - public function setLegacyClass($klass) - { - $this->legacy_klass = $klass; - } - - public function getLegacyClass() - { - return $this->legacy_klass; - } - - public static function buildFromProto($proto, $file_proto, $containing) - { - $desc = new EnumDescriptor(); - - $enum_name_without_package = ""; - $classname = ""; - $legacy_classname = ""; - $fullname = ""; - GPBUtil::getFullClassName( - $proto, - $containing, - $file_proto, - $enum_name_without_package, - $classname, - $legacy_classname, - $fullname, - $unused_previous_classname); - $desc->setFullName($fullname); - $desc->setClass($classname); - $desc->setLegacyClass($legacy_classname); - $values = $proto->getValue(); - foreach ($values as $value) { - $desc->addValue($value->getNumber(), $value); - } - - return $desc; - } -} diff --git a/vendor/google/protobuf/src/Google/Protobuf/Internal/EnumDescriptorProto.php b/vendor/google/protobuf/src/Google/Protobuf/Internal/EnumDescriptorProto.php deleted file mode 100644 index cb2a42ae3..000000000 --- a/vendor/google/protobuf/src/Google/Protobuf/Internal/EnumDescriptorProto.php +++ /dev/null @@ -1,216 +0,0 @@ -google.protobuf.EnumDescriptorProto - */ -class EnumDescriptorProto extends \Google\Protobuf\Internal\Message -{ - /** - * Generated from protobuf field optional string name = 1; - */ - protected $name = null; - /** - * Generated from protobuf field repeated .google.protobuf.EnumValueDescriptorProto value = 2; - */ - private $value; - /** - * Generated from protobuf field optional .google.protobuf.EnumOptions options = 3; - */ - protected $options = null; - /** - * Range of reserved numeric values. Reserved numeric values may not be used - * by enum values in the same enum declaration. Reserved ranges may not - * overlap. - * - * Generated from protobuf field repeated .google.protobuf.EnumDescriptorProto.EnumReservedRange reserved_range = 4; - */ - private $reserved_range; - /** - * Reserved enum value names, which may not be reused. A given name may only - * be reserved once. - * - * Generated from protobuf field repeated string reserved_name = 5; - */ - private $reserved_name; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * @type array<\Google\Protobuf\Internal\EnumValueDescriptorProto>|\Google\Protobuf\Internal\RepeatedField $value - * @type \Google\Protobuf\Internal\EnumOptions $options - * @type array<\Google\Protobuf\Internal\EnumDescriptorProto\EnumReservedRange>|\Google\Protobuf\Internal\RepeatedField $reserved_range - * Range of reserved numeric values. Reserved numeric values may not be used - * by enum values in the same enum declaration. Reserved ranges may not - * overlap. - * @type array|\Google\Protobuf\Internal\RepeatedField $reserved_name - * Reserved enum value names, which may not be reused. A given name may only - * be reserved once. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Protobuf\Internal\Descriptor::initOnce(); - parent::__construct($data); - } - - /** - * Generated from protobuf field optional string name = 1; - * @return string - */ - public function getName() - { - return isset($this->name) ? $this->name : ''; - } - - public function hasName() - { - return isset($this->name); - } - - public function clearName() - { - unset($this->name); - } - - /** - * Generated from protobuf field optional string name = 1; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * Generated from protobuf field repeated .google.protobuf.EnumValueDescriptorProto value = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getValue() - { - return $this->value; - } - - /** - * Generated from protobuf field repeated .google.protobuf.EnumValueDescriptorProto value = 2; - * @param array<\Google\Protobuf\Internal\EnumValueDescriptorProto>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setValue($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Protobuf\Internal\EnumValueDescriptorProto::class); - $this->value = $arr; - - return $this; - } - - /** - * Generated from protobuf field optional .google.protobuf.EnumOptions options = 3; - * @return \Google\Protobuf\Internal\EnumOptions|null - */ - public function getOptions() - { - return $this->options; - } - - public function hasOptions() - { - return isset($this->options); - } - - public function clearOptions() - { - unset($this->options); - } - - /** - * Generated from protobuf field optional .google.protobuf.EnumOptions options = 3; - * @param \Google\Protobuf\Internal\EnumOptions $var - * @return $this - */ - public function setOptions($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Internal\EnumOptions::class); - $this->options = $var; - - return $this; - } - - /** - * Range of reserved numeric values. Reserved numeric values may not be used - * by enum values in the same enum declaration. Reserved ranges may not - * overlap. - * - * Generated from protobuf field repeated .google.protobuf.EnumDescriptorProto.EnumReservedRange reserved_range = 4; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getReservedRange() - { - return $this->reserved_range; - } - - /** - * Range of reserved numeric values. Reserved numeric values may not be used - * by enum values in the same enum declaration. Reserved ranges may not - * overlap. - * - * Generated from protobuf field repeated .google.protobuf.EnumDescriptorProto.EnumReservedRange reserved_range = 4; - * @param array<\Google\Protobuf\Internal\EnumDescriptorProto\EnumReservedRange>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setReservedRange($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Protobuf\Internal\EnumDescriptorProto\EnumReservedRange::class); - $this->reserved_range = $arr; - - return $this; - } - - /** - * Reserved enum value names, which may not be reused. A given name may only - * be reserved once. - * - * Generated from protobuf field repeated string reserved_name = 5; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getReservedName() - { - return $this->reserved_name; - } - - /** - * Reserved enum value names, which may not be reused. A given name may only - * be reserved once. - * - * Generated from protobuf field repeated string reserved_name = 5; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setReservedName($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->reserved_name = $arr; - - return $this; - } - -} - diff --git a/vendor/google/protobuf/src/Google/Protobuf/Internal/EnumDescriptorProto/EnumReservedRange.php b/vendor/google/protobuf/src/Google/Protobuf/Internal/EnumDescriptorProto/EnumReservedRange.php deleted file mode 100644 index 7282fccb0..000000000 --- a/vendor/google/protobuf/src/Google/Protobuf/Internal/EnumDescriptorProto/EnumReservedRange.php +++ /dev/null @@ -1,130 +0,0 @@ -google.protobuf.EnumDescriptorProto.EnumReservedRange - */ -class EnumReservedRange extends \Google\Protobuf\Internal\Message -{ - /** - * Inclusive. - * - * Generated from protobuf field optional int32 start = 1; - */ - protected $start = null; - /** - * Inclusive. - * - * Generated from protobuf field optional int32 end = 2; - */ - protected $end = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $start - * Inclusive. - * @type int $end - * Inclusive. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Protobuf\Internal\Descriptor::initOnce(); - parent::__construct($data); - } - - /** - * Inclusive. - * - * Generated from protobuf field optional int32 start = 1; - * @return int - */ - public function getStart() - { - return isset($this->start) ? $this->start : 0; - } - - public function hasStart() - { - return isset($this->start); - } - - public function clearStart() - { - unset($this->start); - } - - /** - * Inclusive. - * - * Generated from protobuf field optional int32 start = 1; - * @param int $var - * @return $this - */ - public function setStart($var) - { - GPBUtil::checkInt32($var); - $this->start = $var; - - return $this; - } - - /** - * Inclusive. - * - * Generated from protobuf field optional int32 end = 2; - * @return int - */ - public function getEnd() - { - return isset($this->end) ? $this->end : 0; - } - - public function hasEnd() - { - return isset($this->end); - } - - public function clearEnd() - { - unset($this->end); - } - - /** - * Inclusive. - * - * Generated from protobuf field optional int32 end = 2; - * @param int $var - * @return $this - */ - public function setEnd($var) - { - GPBUtil::checkInt32($var); - $this->end = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(EnumReservedRange::class, \Google\Protobuf\Internal\EnumDescriptorProto_EnumReservedRange::class); - diff --git a/vendor/google/protobuf/src/Google/Protobuf/Internal/EnumDescriptorProto_EnumReservedRange.php b/vendor/google/protobuf/src/Google/Protobuf/Internal/EnumDescriptorProto_EnumReservedRange.php deleted file mode 100644 index b1b59ed91..000000000 --- a/vendor/google/protobuf/src/Google/Protobuf/Internal/EnumDescriptorProto_EnumReservedRange.php +++ /dev/null @@ -1,16 +0,0 @@ -google.protobuf.EnumOptions - */ -class EnumOptions extends \Google\Protobuf\Internal\Message -{ - /** - * Set this option to true to allow mapping different tag names to the same - * value. - * - * Generated from protobuf field optional bool allow_alias = 2; - */ - protected $allow_alias = null; - /** - * Is this enum deprecated? - * Depending on the target platform, this can emit Deprecated annotations - * for the enum, or it will be completely ignored; in the very least, this - * is a formalization for deprecating enums. - * - * Generated from protobuf field optional bool deprecated = 3 [default = false]; - */ - protected $deprecated = null; - /** - * Enable the legacy handling of JSON field name conflicts. This lowercases - * and strips underscored from the fields before comparison in proto3 only. - * The new behavior takes `json_name` into account and applies to proto2 as - * well. - * TODO(b/261750190) Remove this legacy behavior once downstream teams have - * had time to migrate. - * - * Generated from protobuf field optional bool deprecated_legacy_json_field_conflicts = 6 [deprecated = true]; - * @deprecated - */ - protected $deprecated_legacy_json_field_conflicts = null; - /** - * The parser stores options it doesn't recognize here. See above. - * - * Generated from protobuf field repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; - */ - private $uninterpreted_option; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type bool $allow_alias - * Set this option to true to allow mapping different tag names to the same - * value. - * @type bool $deprecated - * Is this enum deprecated? - * Depending on the target platform, this can emit Deprecated annotations - * for the enum, or it will be completely ignored; in the very least, this - * is a formalization for deprecating enums. - * @type bool $deprecated_legacy_json_field_conflicts - * Enable the legacy handling of JSON field name conflicts. This lowercases - * and strips underscored from the fields before comparison in proto3 only. - * The new behavior takes `json_name` into account and applies to proto2 as - * well. - * TODO(b/261750190) Remove this legacy behavior once downstream teams have - * had time to migrate. - * @type array<\Google\Protobuf\Internal\UninterpretedOption>|\Google\Protobuf\Internal\RepeatedField $uninterpreted_option - * The parser stores options it doesn't recognize here. See above. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Protobuf\Internal\Descriptor::initOnce(); - parent::__construct($data); - } - - /** - * Set this option to true to allow mapping different tag names to the same - * value. - * - * Generated from protobuf field optional bool allow_alias = 2; - * @return bool - */ - public function getAllowAlias() - { - return isset($this->allow_alias) ? $this->allow_alias : false; - } - - public function hasAllowAlias() - { - return isset($this->allow_alias); - } - - public function clearAllowAlias() - { - unset($this->allow_alias); - } - - /** - * Set this option to true to allow mapping different tag names to the same - * value. - * - * Generated from protobuf field optional bool allow_alias = 2; - * @param bool $var - * @return $this - */ - public function setAllowAlias($var) - { - GPBUtil::checkBool($var); - $this->allow_alias = $var; - - return $this; - } - - /** - * Is this enum deprecated? - * Depending on the target platform, this can emit Deprecated annotations - * for the enum, or it will be completely ignored; in the very least, this - * is a formalization for deprecating enums. - * - * Generated from protobuf field optional bool deprecated = 3 [default = false]; - * @return bool - */ - public function getDeprecated() - { - return isset($this->deprecated) ? $this->deprecated : false; - } - - public function hasDeprecated() - { - return isset($this->deprecated); - } - - public function clearDeprecated() - { - unset($this->deprecated); - } - - /** - * Is this enum deprecated? - * Depending on the target platform, this can emit Deprecated annotations - * for the enum, or it will be completely ignored; in the very least, this - * is a formalization for deprecating enums. - * - * Generated from protobuf field optional bool deprecated = 3 [default = false]; - * @param bool $var - * @return $this - */ - public function setDeprecated($var) - { - GPBUtil::checkBool($var); - $this->deprecated = $var; - - return $this; - } - - /** - * Enable the legacy handling of JSON field name conflicts. This lowercases - * and strips underscored from the fields before comparison in proto3 only. - * The new behavior takes `json_name` into account and applies to proto2 as - * well. - * TODO(b/261750190) Remove this legacy behavior once downstream teams have - * had time to migrate. - * - * Generated from protobuf field optional bool deprecated_legacy_json_field_conflicts = 6 [deprecated = true]; - * @return bool - * @deprecated - */ - public function getDeprecatedLegacyJsonFieldConflicts() - { - @trigger_error('deprecated_legacy_json_field_conflicts is deprecated.', E_USER_DEPRECATED); - return isset($this->deprecated_legacy_json_field_conflicts) ? $this->deprecated_legacy_json_field_conflicts : false; - } - - public function hasDeprecatedLegacyJsonFieldConflicts() - { - @trigger_error('deprecated_legacy_json_field_conflicts is deprecated.', E_USER_DEPRECATED); - return isset($this->deprecated_legacy_json_field_conflicts); - } - - public function clearDeprecatedLegacyJsonFieldConflicts() - { - @trigger_error('deprecated_legacy_json_field_conflicts is deprecated.', E_USER_DEPRECATED); - unset($this->deprecated_legacy_json_field_conflicts); - } - - /** - * Enable the legacy handling of JSON field name conflicts. This lowercases - * and strips underscored from the fields before comparison in proto3 only. - * The new behavior takes `json_name` into account and applies to proto2 as - * well. - * TODO(b/261750190) Remove this legacy behavior once downstream teams have - * had time to migrate. - * - * Generated from protobuf field optional bool deprecated_legacy_json_field_conflicts = 6 [deprecated = true]; - * @param bool $var - * @return $this - * @deprecated - */ - public function setDeprecatedLegacyJsonFieldConflicts($var) - { - @trigger_error('deprecated_legacy_json_field_conflicts is deprecated.', E_USER_DEPRECATED); - GPBUtil::checkBool($var); - $this->deprecated_legacy_json_field_conflicts = $var; - - return $this; - } - - /** - * The parser stores options it doesn't recognize here. See above. - * - * Generated from protobuf field repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getUninterpretedOption() - { - return $this->uninterpreted_option; - } - - /** - * The parser stores options it doesn't recognize here. See above. - * - * Generated from protobuf field repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; - * @param array<\Google\Protobuf\Internal\UninterpretedOption>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setUninterpretedOption($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Protobuf\Internal\UninterpretedOption::class); - $this->uninterpreted_option = $arr; - - return $this; - } - -} - diff --git a/vendor/google/protobuf/src/Google/Protobuf/Internal/EnumValueDescriptorProto.php b/vendor/google/protobuf/src/Google/Protobuf/Internal/EnumValueDescriptorProto.php deleted file mode 100644 index 0feaea6f1..000000000 --- a/vendor/google/protobuf/src/Google/Protobuf/Internal/EnumValueDescriptorProto.php +++ /dev/null @@ -1,146 +0,0 @@ -google.protobuf.EnumValueDescriptorProto - */ -class EnumValueDescriptorProto extends \Google\Protobuf\Internal\Message -{ - /** - * Generated from protobuf field optional string name = 1; - */ - protected $name = null; - /** - * Generated from protobuf field optional int32 number = 2; - */ - protected $number = null; - /** - * Generated from protobuf field optional .google.protobuf.EnumValueOptions options = 3; - */ - protected $options = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * @type int $number - * @type \Google\Protobuf\Internal\EnumValueOptions $options - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Protobuf\Internal\Descriptor::initOnce(); - parent::__construct($data); - } - - /** - * Generated from protobuf field optional string name = 1; - * @return string - */ - public function getName() - { - return isset($this->name) ? $this->name : ''; - } - - public function hasName() - { - return isset($this->name); - } - - public function clearName() - { - unset($this->name); - } - - /** - * Generated from protobuf field optional string name = 1; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * Generated from protobuf field optional int32 number = 2; - * @return int - */ - public function getNumber() - { - return isset($this->number) ? $this->number : 0; - } - - public function hasNumber() - { - return isset($this->number); - } - - public function clearNumber() - { - unset($this->number); - } - - /** - * Generated from protobuf field optional int32 number = 2; - * @param int $var - * @return $this - */ - public function setNumber($var) - { - GPBUtil::checkInt32($var); - $this->number = $var; - - return $this; - } - - /** - * Generated from protobuf field optional .google.protobuf.EnumValueOptions options = 3; - * @return \Google\Protobuf\Internal\EnumValueOptions|null - */ - public function getOptions() - { - return $this->options; - } - - public function hasOptions() - { - return isset($this->options); - } - - public function clearOptions() - { - unset($this->options); - } - - /** - * Generated from protobuf field optional .google.protobuf.EnumValueOptions options = 3; - * @param \Google\Protobuf\Internal\EnumValueOptions $var - * @return $this - */ - public function setOptions($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Internal\EnumValueOptions::class); - $this->options = $var; - - return $this; - } - -} - diff --git a/vendor/google/protobuf/src/Google/Protobuf/Internal/EnumValueOptions.php b/vendor/google/protobuf/src/Google/Protobuf/Internal/EnumValueOptions.php deleted file mode 100644 index 2db7fceea..000000000 --- a/vendor/google/protobuf/src/Google/Protobuf/Internal/EnumValueOptions.php +++ /dev/null @@ -1,123 +0,0 @@ -google.protobuf.EnumValueOptions - */ -class EnumValueOptions extends \Google\Protobuf\Internal\Message -{ - /** - * Is this enum value deprecated? - * Depending on the target platform, this can emit Deprecated annotations - * for the enum value, or it will be completely ignored; in the very least, - * this is a formalization for deprecating enum values. - * - * Generated from protobuf field optional bool deprecated = 1 [default = false]; - */ - protected $deprecated = null; - /** - * The parser stores options it doesn't recognize here. See above. - * - * Generated from protobuf field repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; - */ - private $uninterpreted_option; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type bool $deprecated - * Is this enum value deprecated? - * Depending on the target platform, this can emit Deprecated annotations - * for the enum value, or it will be completely ignored; in the very least, - * this is a formalization for deprecating enum values. - * @type array<\Google\Protobuf\Internal\UninterpretedOption>|\Google\Protobuf\Internal\RepeatedField $uninterpreted_option - * The parser stores options it doesn't recognize here. See above. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Protobuf\Internal\Descriptor::initOnce(); - parent::__construct($data); - } - - /** - * Is this enum value deprecated? - * Depending on the target platform, this can emit Deprecated annotations - * for the enum value, or it will be completely ignored; in the very least, - * this is a formalization for deprecating enum values. - * - * Generated from protobuf field optional bool deprecated = 1 [default = false]; - * @return bool - */ - public function getDeprecated() - { - return isset($this->deprecated) ? $this->deprecated : false; - } - - public function hasDeprecated() - { - return isset($this->deprecated); - } - - public function clearDeprecated() - { - unset($this->deprecated); - } - - /** - * Is this enum value deprecated? - * Depending on the target platform, this can emit Deprecated annotations - * for the enum value, or it will be completely ignored; in the very least, - * this is a formalization for deprecating enum values. - * - * Generated from protobuf field optional bool deprecated = 1 [default = false]; - * @param bool $var - * @return $this - */ - public function setDeprecated($var) - { - GPBUtil::checkBool($var); - $this->deprecated = $var; - - return $this; - } - - /** - * The parser stores options it doesn't recognize here. See above. - * - * Generated from protobuf field repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getUninterpretedOption() - { - return $this->uninterpreted_option; - } - - /** - * The parser stores options it doesn't recognize here. See above. - * - * Generated from protobuf field repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; - * @param array<\Google\Protobuf\Internal\UninterpretedOption>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setUninterpretedOption($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Protobuf\Internal\UninterpretedOption::class); - $this->uninterpreted_option = $arr; - - return $this; - } - -} - diff --git a/vendor/google/protobuf/src/Google/Protobuf/Internal/ExtensionRangeOptions.php b/vendor/google/protobuf/src/Google/Protobuf/Internal/ExtensionRangeOptions.php deleted file mode 100644 index 245173c3d..000000000 --- a/vendor/google/protobuf/src/Google/Protobuf/Internal/ExtensionRangeOptions.php +++ /dev/null @@ -1,67 +0,0 @@ -google.protobuf.ExtensionRangeOptions - */ -class ExtensionRangeOptions extends \Google\Protobuf\Internal\Message -{ - /** - * The parser stores options it doesn't recognize here. See above. - * - * Generated from protobuf field repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; - */ - private $uninterpreted_option; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Protobuf\Internal\UninterpretedOption>|\Google\Protobuf\Internal\RepeatedField $uninterpreted_option - * The parser stores options it doesn't recognize here. See above. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Protobuf\Internal\Descriptor::initOnce(); - parent::__construct($data); - } - - /** - * The parser stores options it doesn't recognize here. See above. - * - * Generated from protobuf field repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getUninterpretedOption() - { - return $this->uninterpreted_option; - } - - /** - * The parser stores options it doesn't recognize here. See above. - * - * Generated from protobuf field repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; - * @param array<\Google\Protobuf\Internal\UninterpretedOption>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setUninterpretedOption($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Protobuf\Internal\UninterpretedOption::class); - $this->uninterpreted_option = $arr; - - return $this; - } - -} - diff --git a/vendor/google/protobuf/src/Google/Protobuf/Internal/FieldDescriptor.php b/vendor/google/protobuf/src/Google/Protobuf/Internal/FieldDescriptor.php deleted file mode 100644 index 3a9a73b72..000000000 --- a/vendor/google/protobuf/src/Google/Protobuf/Internal/FieldDescriptor.php +++ /dev/null @@ -1,326 +0,0 @@ -public_desc = new \Google\Protobuf\FieldDescriptor($this); - } - - public function setOneofIndex($index) - { - $this->oneof_index = $index; - } - - public function getOneofIndex() - { - return $this->oneof_index; - } - - public function setName($name) - { - $this->name = $name; - } - - public function getName() - { - return $this->name; - } - - public function setJsonName($json_name) - { - $this->json_name = $json_name; - } - - public function getJsonName() - { - return $this->json_name; - } - - public function setSetter($setter) - { - $this->setter = $setter; - } - - public function getSetter() - { - return $this->setter; - } - - public function setGetter($getter) - { - $this->getter = $getter; - } - - public function getGetter() - { - return $this->getter; - } - - public function setNumber($number) - { - $this->number = $number; - } - - public function getNumber() - { - return $this->number; - } - - public function setLabel($label) - { - $this->label = $label; - } - - public function getLabel() - { - return $this->label; - } - - public function isRepeated() - { - return $this->label === GPBLabel::REPEATED; - } - - public function setType($type) - { - $this->type = $type; - } - - public function getType() - { - return $this->type; - } - - public function setMessageType($message_type) - { - $this->message_type = $message_type; - } - - public function getMessageType() - { - return $this->message_type; - } - - public function setEnumType($enum_type) - { - $this->enum_type = $enum_type; - } - - public function getEnumType() - { - return $this->enum_type; - } - - public function setPacked($packed) - { - $this->packed = $packed; - } - - public function getPacked() - { - return $this->packed; - } - - public function getProto3Optional() - { - return $this->proto3_optional; - } - - public function setProto3Optional($proto3_optional) - { - $this->proto3_optional = $proto3_optional; - } - - public function getContainingOneof() - { - return $this->containing_oneof; - } - - public function setContainingOneof($containing_oneof) - { - $this->containing_oneof = $containing_oneof; - } - - public function getRealContainingOneof() - { - return !is_null($this->containing_oneof) && !$this->containing_oneof->isSynthetic() - ? $this->containing_oneof : null; - } - - public function isPackable() - { - return $this->isRepeated() && self::isTypePackable($this->type); - } - - public function isMap() - { - return $this->getType() == GPBType::MESSAGE && - !is_null($this->getMessageType()->getOptions()) && - $this->getMessageType()->getOptions()->getMapEntry(); - } - - public function isTimestamp() - { - return $this->getType() == GPBType::MESSAGE && - $this->getMessageType()->getClass() === "Google\Protobuf\Timestamp"; - } - - public function isWrapperType() - { - if ($this->getType() == GPBType::MESSAGE) { - $class = $this->getMessageType()->getClass(); - return in_array($class, [ - "Google\Protobuf\DoubleValue", - "Google\Protobuf\FloatValue", - "Google\Protobuf\Int64Value", - "Google\Protobuf\UInt64Value", - "Google\Protobuf\Int32Value", - "Google\Protobuf\UInt32Value", - "Google\Protobuf\BoolValue", - "Google\Protobuf\StringValue", - "Google\Protobuf\BytesValue", - ]); - } - return false; - } - - private static function isTypePackable($field_type) - { - return ($field_type !== GPBType::STRING && - $field_type !== GPBType::GROUP && - $field_type !== GPBType::MESSAGE && - $field_type !== GPBType::BYTES); - } - - /** - * @param FieldDescriptorProto $proto - * @return FieldDescriptor - */ - public static function getFieldDescriptor($proto) - { - $type_name = null; - $type = $proto->getType(); - switch ($type) { - case GPBType::MESSAGE: - case GPBType::GROUP: - case GPBType::ENUM: - $type_name = $proto->getTypeName(); - break; - default: - break; - } - - $oneof_index = $proto->hasOneofIndex() ? $proto->getOneofIndex() : -1; - // TODO: once proto2 is supported, this default should be false - // for proto2. - if ($proto->getLabel() === GPBLabel::REPEATED && - $proto->getType() !== GPBType::MESSAGE && - $proto->getType() !== GPBType::GROUP && - $proto->getType() !== GPBType::STRING && - $proto->getType() !== GPBType::BYTES) { - $packed = true; - } else { - $packed = false; - } - $options = $proto->getOptions(); - if ($options !== null) { - $packed = $options->getPacked(); - } - - $field = new FieldDescriptor(); - $field->setName($proto->getName()); - - if ($proto->hasJsonName()) { - $json_name = $proto->getJsonName(); - } else { - $proto_name = $proto->getName(); - $json_name = implode('', array_map('ucwords', explode('_', $proto_name))); - if ($proto_name[0] !== "_" && !ctype_upper($proto_name[0])) { - $json_name = lcfirst($json_name); - } - } - $field->setJsonName($json_name); - - $camel_name = implode('', array_map('ucwords', explode('_', $proto->getName()))); - $field->setGetter('get' . $camel_name); - $field->setSetter('set' . $camel_name); - $field->setType($proto->getType()); - $field->setNumber($proto->getNumber()); - $field->setLabel($proto->getLabel()); - $field->setPacked($packed); - $field->setOneofIndex($oneof_index); - $field->setProto3Optional($proto->getProto3Optional()); - - // At this time, the message/enum type may have not been added to pool. - // So we use the type name as place holder and will replace it with the - // actual descriptor in cross building. - switch ($type) { - case GPBType::MESSAGE: - $field->setMessageType($type_name); - break; - case GPBType::ENUM: - $field->setEnumType($type_name); - break; - default: - break; - } - - return $field; - } - - public static function buildFromProto($proto) - { - return FieldDescriptor::getFieldDescriptor($proto); - } -} diff --git a/vendor/google/protobuf/src/Google/Protobuf/Internal/FieldDescriptorProto.php b/vendor/google/protobuf/src/Google/Protobuf/Internal/FieldDescriptorProto.php deleted file mode 100644 index 5e99bff17..000000000 --- a/vendor/google/protobuf/src/Google/Protobuf/Internal/FieldDescriptorProto.php +++ /dev/null @@ -1,611 +0,0 @@ -google.protobuf.FieldDescriptorProto - */ -class FieldDescriptorProto extends \Google\Protobuf\Internal\Message -{ - /** - * Generated from protobuf field optional string name = 1; - */ - protected $name = null; - /** - * Generated from protobuf field optional int32 number = 3; - */ - protected $number = null; - /** - * Generated from protobuf field optional .google.protobuf.FieldDescriptorProto.Label label = 4; - */ - protected $label = null; - /** - * If type_name is set, this need not be set. If both this and type_name - * are set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP. - * - * Generated from protobuf field optional .google.protobuf.FieldDescriptorProto.Type type = 5; - */ - protected $type = null; - /** - * For message and enum types, this is the name of the type. If the name - * starts with a '.', it is fully-qualified. Otherwise, C++-like scoping - * rules are used to find the type (i.e. first the nested types within this - * message are searched, then within the parent, on up to the root - * namespace). - * - * Generated from protobuf field optional string type_name = 6; - */ - protected $type_name = null; - /** - * For extensions, this is the name of the type being extended. It is - * resolved in the same manner as type_name. - * - * Generated from protobuf field optional string extendee = 2; - */ - protected $extendee = null; - /** - * For numeric types, contains the original text representation of the value. - * For booleans, "true" or "false". - * For strings, contains the default text contents (not escaped in any way). - * For bytes, contains the C escaped value. All bytes >= 128 are escaped. - * - * Generated from protobuf field optional string default_value = 7; - */ - protected $default_value = null; - /** - * If set, gives the index of a oneof in the containing type's oneof_decl - * list. This field is a member of that oneof. - * - * Generated from protobuf field optional int32 oneof_index = 9; - */ - protected $oneof_index = null; - /** - * JSON name of this field. The value is set by protocol compiler. If the - * user has set a "json_name" option on this field, that option's value - * will be used. Otherwise, it's deduced from the field's name by converting - * it to camelCase. - * - * Generated from protobuf field optional string json_name = 10; - */ - protected $json_name = null; - /** - * Generated from protobuf field optional .google.protobuf.FieldOptions options = 8; - */ - protected $options = null; - /** - * If true, this is a proto3 "optional". When a proto3 field is optional, it - * tracks presence regardless of field type. - * When proto3_optional is true, this field must be belong to a oneof to - * signal to old proto3 clients that presence is tracked for this field. This - * oneof is known as a "synthetic" oneof, and this field must be its sole - * member (each proto3 optional field gets its own synthetic oneof). Synthetic - * oneofs exist in the descriptor only, and do not generate any API. Synthetic - * oneofs must be ordered after all "real" oneofs. - * For message fields, proto3_optional doesn't create any semantic change, - * since non-repeated message fields always track presence. However it still - * indicates the semantic detail of whether the user wrote "optional" or not. - * This can be useful for round-tripping the .proto file. For consistency we - * give message fields a synthetic oneof also, even though it is not required - * to track presence. This is especially important because the parser can't - * tell if a field is a message or an enum, so it must always create a - * synthetic oneof. - * Proto2 optional fields do not set this flag, because they already indicate - * optional with `LABEL_OPTIONAL`. - * - * Generated from protobuf field optional bool proto3_optional = 17; - */ - protected $proto3_optional = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * @type int $number - * @type int $label - * @type int $type - * If type_name is set, this need not be set. If both this and type_name - * are set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP. - * @type string $type_name - * For message and enum types, this is the name of the type. If the name - * starts with a '.', it is fully-qualified. Otherwise, C++-like scoping - * rules are used to find the type (i.e. first the nested types within this - * message are searched, then within the parent, on up to the root - * namespace). - * @type string $extendee - * For extensions, this is the name of the type being extended. It is - * resolved in the same manner as type_name. - * @type string $default_value - * For numeric types, contains the original text representation of the value. - * For booleans, "true" or "false". - * For strings, contains the default text contents (not escaped in any way). - * For bytes, contains the C escaped value. All bytes >= 128 are escaped. - * @type int $oneof_index - * If set, gives the index of a oneof in the containing type's oneof_decl - * list. This field is a member of that oneof. - * @type string $json_name - * JSON name of this field. The value is set by protocol compiler. If the - * user has set a "json_name" option on this field, that option's value - * will be used. Otherwise, it's deduced from the field's name by converting - * it to camelCase. - * @type \Google\Protobuf\Internal\FieldOptions $options - * @type bool $proto3_optional - * If true, this is a proto3 "optional". When a proto3 field is optional, it - * tracks presence regardless of field type. - * When proto3_optional is true, this field must be belong to a oneof to - * signal to old proto3 clients that presence is tracked for this field. This - * oneof is known as a "synthetic" oneof, and this field must be its sole - * member (each proto3 optional field gets its own synthetic oneof). Synthetic - * oneofs exist in the descriptor only, and do not generate any API. Synthetic - * oneofs must be ordered after all "real" oneofs. - * For message fields, proto3_optional doesn't create any semantic change, - * since non-repeated message fields always track presence. However it still - * indicates the semantic detail of whether the user wrote "optional" or not. - * This can be useful for round-tripping the .proto file. For consistency we - * give message fields a synthetic oneof also, even though it is not required - * to track presence. This is especially important because the parser can't - * tell if a field is a message or an enum, so it must always create a - * synthetic oneof. - * Proto2 optional fields do not set this flag, because they already indicate - * optional with `LABEL_OPTIONAL`. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Protobuf\Internal\Descriptor::initOnce(); - parent::__construct($data); - } - - /** - * Generated from protobuf field optional string name = 1; - * @return string - */ - public function getName() - { - return isset($this->name) ? $this->name : ''; - } - - public function hasName() - { - return isset($this->name); - } - - public function clearName() - { - unset($this->name); - } - - /** - * Generated from protobuf field optional string name = 1; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * Generated from protobuf field optional int32 number = 3; - * @return int - */ - public function getNumber() - { - return isset($this->number) ? $this->number : 0; - } - - public function hasNumber() - { - return isset($this->number); - } - - public function clearNumber() - { - unset($this->number); - } - - /** - * Generated from protobuf field optional int32 number = 3; - * @param int $var - * @return $this - */ - public function setNumber($var) - { - GPBUtil::checkInt32($var); - $this->number = $var; - - return $this; - } - - /** - * Generated from protobuf field optional .google.protobuf.FieldDescriptorProto.Label label = 4; - * @return int - */ - public function getLabel() - { - return isset($this->label) ? $this->label : 0; - } - - public function hasLabel() - { - return isset($this->label); - } - - public function clearLabel() - { - unset($this->label); - } - - /** - * Generated from protobuf field optional .google.protobuf.FieldDescriptorProto.Label label = 4; - * @param int $var - * @return $this - */ - public function setLabel($var) - { - GPBUtil::checkEnum($var, \Google\Protobuf\Internal\FieldDescriptorProto\Label::class); - $this->label = $var; - - return $this; - } - - /** - * If type_name is set, this need not be set. If both this and type_name - * are set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP. - * - * Generated from protobuf field optional .google.protobuf.FieldDescriptorProto.Type type = 5; - * @return int - */ - public function getType() - { - return isset($this->type) ? $this->type : 0; - } - - public function hasType() - { - return isset($this->type); - } - - public function clearType() - { - unset($this->type); - } - - /** - * If type_name is set, this need not be set. If both this and type_name - * are set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP. - * - * Generated from protobuf field optional .google.protobuf.FieldDescriptorProto.Type type = 5; - * @param int $var - * @return $this - */ - public function setType($var) - { - GPBUtil::checkEnum($var, \Google\Protobuf\Internal\FieldDescriptorProto\Type::class); - $this->type = $var; - - return $this; - } - - /** - * For message and enum types, this is the name of the type. If the name - * starts with a '.', it is fully-qualified. Otherwise, C++-like scoping - * rules are used to find the type (i.e. first the nested types within this - * message are searched, then within the parent, on up to the root - * namespace). - * - * Generated from protobuf field optional string type_name = 6; - * @return string - */ - public function getTypeName() - { - return isset($this->type_name) ? $this->type_name : ''; - } - - public function hasTypeName() - { - return isset($this->type_name); - } - - public function clearTypeName() - { - unset($this->type_name); - } - - /** - * For message and enum types, this is the name of the type. If the name - * starts with a '.', it is fully-qualified. Otherwise, C++-like scoping - * rules are used to find the type (i.e. first the nested types within this - * message are searched, then within the parent, on up to the root - * namespace). - * - * Generated from protobuf field optional string type_name = 6; - * @param string $var - * @return $this - */ - public function setTypeName($var) - { - GPBUtil::checkString($var, True); - $this->type_name = $var; - - return $this; - } - - /** - * For extensions, this is the name of the type being extended. It is - * resolved in the same manner as type_name. - * - * Generated from protobuf field optional string extendee = 2; - * @return string - */ - public function getExtendee() - { - return isset($this->extendee) ? $this->extendee : ''; - } - - public function hasExtendee() - { - return isset($this->extendee); - } - - public function clearExtendee() - { - unset($this->extendee); - } - - /** - * For extensions, this is the name of the type being extended. It is - * resolved in the same manner as type_name. - * - * Generated from protobuf field optional string extendee = 2; - * @param string $var - * @return $this - */ - public function setExtendee($var) - { - GPBUtil::checkString($var, True); - $this->extendee = $var; - - return $this; - } - - /** - * For numeric types, contains the original text representation of the value. - * For booleans, "true" or "false". - * For strings, contains the default text contents (not escaped in any way). - * For bytes, contains the C escaped value. All bytes >= 128 are escaped. - * - * Generated from protobuf field optional string default_value = 7; - * @return string - */ - public function getDefaultValue() - { - return isset($this->default_value) ? $this->default_value : ''; - } - - public function hasDefaultValue() - { - return isset($this->default_value); - } - - public function clearDefaultValue() - { - unset($this->default_value); - } - - /** - * For numeric types, contains the original text representation of the value. - * For booleans, "true" or "false". - * For strings, contains the default text contents (not escaped in any way). - * For bytes, contains the C escaped value. All bytes >= 128 are escaped. - * - * Generated from protobuf field optional string default_value = 7; - * @param string $var - * @return $this - */ - public function setDefaultValue($var) - { - GPBUtil::checkString($var, True); - $this->default_value = $var; - - return $this; - } - - /** - * If set, gives the index of a oneof in the containing type's oneof_decl - * list. This field is a member of that oneof. - * - * Generated from protobuf field optional int32 oneof_index = 9; - * @return int - */ - public function getOneofIndex() - { - return isset($this->oneof_index) ? $this->oneof_index : 0; - } - - public function hasOneofIndex() - { - return isset($this->oneof_index); - } - - public function clearOneofIndex() - { - unset($this->oneof_index); - } - - /** - * If set, gives the index of a oneof in the containing type's oneof_decl - * list. This field is a member of that oneof. - * - * Generated from protobuf field optional int32 oneof_index = 9; - * @param int $var - * @return $this - */ - public function setOneofIndex($var) - { - GPBUtil::checkInt32($var); - $this->oneof_index = $var; - - return $this; - } - - /** - * JSON name of this field. The value is set by protocol compiler. If the - * user has set a "json_name" option on this field, that option's value - * will be used. Otherwise, it's deduced from the field's name by converting - * it to camelCase. - * - * Generated from protobuf field optional string json_name = 10; - * @return string - */ - public function getJsonName() - { - return isset($this->json_name) ? $this->json_name : ''; - } - - public function hasJsonName() - { - return isset($this->json_name); - } - - public function clearJsonName() - { - unset($this->json_name); - } - - /** - * JSON name of this field. The value is set by protocol compiler. If the - * user has set a "json_name" option on this field, that option's value - * will be used. Otherwise, it's deduced from the field's name by converting - * it to camelCase. - * - * Generated from protobuf field optional string json_name = 10; - * @param string $var - * @return $this - */ - public function setJsonName($var) - { - GPBUtil::checkString($var, True); - $this->json_name = $var; - - return $this; - } - - /** - * Generated from protobuf field optional .google.protobuf.FieldOptions options = 8; - * @return \Google\Protobuf\Internal\FieldOptions|null - */ - public function getOptions() - { - return $this->options; - } - - public function hasOptions() - { - return isset($this->options); - } - - public function clearOptions() - { - unset($this->options); - } - - /** - * Generated from protobuf field optional .google.protobuf.FieldOptions options = 8; - * @param \Google\Protobuf\Internal\FieldOptions $var - * @return $this - */ - public function setOptions($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Internal\FieldOptions::class); - $this->options = $var; - - return $this; - } - - /** - * If true, this is a proto3 "optional". When a proto3 field is optional, it - * tracks presence regardless of field type. - * When proto3_optional is true, this field must be belong to a oneof to - * signal to old proto3 clients that presence is tracked for this field. This - * oneof is known as a "synthetic" oneof, and this field must be its sole - * member (each proto3 optional field gets its own synthetic oneof). Synthetic - * oneofs exist in the descriptor only, and do not generate any API. Synthetic - * oneofs must be ordered after all "real" oneofs. - * For message fields, proto3_optional doesn't create any semantic change, - * since non-repeated message fields always track presence. However it still - * indicates the semantic detail of whether the user wrote "optional" or not. - * This can be useful for round-tripping the .proto file. For consistency we - * give message fields a synthetic oneof also, even though it is not required - * to track presence. This is especially important because the parser can't - * tell if a field is a message or an enum, so it must always create a - * synthetic oneof. - * Proto2 optional fields do not set this flag, because they already indicate - * optional with `LABEL_OPTIONAL`. - * - * Generated from protobuf field optional bool proto3_optional = 17; - * @return bool - */ - public function getProto3Optional() - { - return isset($this->proto3_optional) ? $this->proto3_optional : false; - } - - public function hasProto3Optional() - { - return isset($this->proto3_optional); - } - - public function clearProto3Optional() - { - unset($this->proto3_optional); - } - - /** - * If true, this is a proto3 "optional". When a proto3 field is optional, it - * tracks presence regardless of field type. - * When proto3_optional is true, this field must be belong to a oneof to - * signal to old proto3 clients that presence is tracked for this field. This - * oneof is known as a "synthetic" oneof, and this field must be its sole - * member (each proto3 optional field gets its own synthetic oneof). Synthetic - * oneofs exist in the descriptor only, and do not generate any API. Synthetic - * oneofs must be ordered after all "real" oneofs. - * For message fields, proto3_optional doesn't create any semantic change, - * since non-repeated message fields always track presence. However it still - * indicates the semantic detail of whether the user wrote "optional" or not. - * This can be useful for round-tripping the .proto file. For consistency we - * give message fields a synthetic oneof also, even though it is not required - * to track presence. This is especially important because the parser can't - * tell if a field is a message or an enum, so it must always create a - * synthetic oneof. - * Proto2 optional fields do not set this flag, because they already indicate - * optional with `LABEL_OPTIONAL`. - * - * Generated from protobuf field optional bool proto3_optional = 17; - * @param bool $var - * @return $this - */ - public function setProto3Optional($var) - { - GPBUtil::checkBool($var); - $this->proto3_optional = $var; - - return $this; - } - -} - diff --git a/vendor/google/protobuf/src/Google/Protobuf/Internal/FieldDescriptorProto/Label.php b/vendor/google/protobuf/src/Google/Protobuf/Internal/FieldDescriptorProto/Label.php deleted file mode 100644 index a54b228f1..000000000 --- a/vendor/google/protobuf/src/Google/Protobuf/Internal/FieldDescriptorProto/Label.php +++ /dev/null @@ -1,58 +0,0 @@ -google.protobuf.FieldDescriptorProto.Label - */ -class Label -{ - /** - * 0 is reserved for errors - * - * Generated from protobuf enum LABEL_OPTIONAL = 1; - */ - const LABEL_OPTIONAL = 1; - /** - * Generated from protobuf enum LABEL_REQUIRED = 2; - */ - const LABEL_REQUIRED = 2; - /** - * Generated from protobuf enum LABEL_REPEATED = 3; - */ - const LABEL_REPEATED = 3; - - private static $valueToName = [ - self::LABEL_OPTIONAL => 'LABEL_OPTIONAL', - self::LABEL_REQUIRED => 'LABEL_REQUIRED', - self::LABEL_REPEATED => 'LABEL_REPEATED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Label::class, \Google\Protobuf\Internal\FieldDescriptorProto_Label::class); - diff --git a/vendor/google/protobuf/src/Google/Protobuf/Internal/FieldDescriptorProto/Type.php b/vendor/google/protobuf/src/Google/Protobuf/Internal/FieldDescriptorProto/Type.php deleted file mode 100644 index 6072e9990..000000000 --- a/vendor/google/protobuf/src/Google/Protobuf/Internal/FieldDescriptorProto/Type.php +++ /dev/null @@ -1,153 +0,0 @@ -google.protobuf.FieldDescriptorProto.Type - */ -class Type -{ - /** - * 0 is reserved for errors. - * Order is weird for historical reasons. - * - * Generated from protobuf enum TYPE_DOUBLE = 1; - */ - const TYPE_DOUBLE = 1; - /** - * Generated from protobuf enum TYPE_FLOAT = 2; - */ - const TYPE_FLOAT = 2; - /** - * Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT64 if - * negative values are likely. - * - * Generated from protobuf enum TYPE_INT64 = 3; - */ - const TYPE_INT64 = 3; - /** - * Generated from protobuf enum TYPE_UINT64 = 4; - */ - const TYPE_UINT64 = 4; - /** - * Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT32 if - * negative values are likely. - * - * Generated from protobuf enum TYPE_INT32 = 5; - */ - const TYPE_INT32 = 5; - /** - * Generated from protobuf enum TYPE_FIXED64 = 6; - */ - const TYPE_FIXED64 = 6; - /** - * Generated from protobuf enum TYPE_FIXED32 = 7; - */ - const TYPE_FIXED32 = 7; - /** - * Generated from protobuf enum TYPE_BOOL = 8; - */ - const TYPE_BOOL = 8; - /** - * Generated from protobuf enum TYPE_STRING = 9; - */ - const TYPE_STRING = 9; - /** - * Tag-delimited aggregate. - * Group type is deprecated and not supported in proto3. However, Proto3 - * implementations should still be able to parse the group wire format and - * treat group fields as unknown fields. - * - * Generated from protobuf enum TYPE_GROUP = 10; - */ - const TYPE_GROUP = 10; - /** - * Length-delimited aggregate. - * - * Generated from protobuf enum TYPE_MESSAGE = 11; - */ - const TYPE_MESSAGE = 11; - /** - * New in version 2. - * - * Generated from protobuf enum TYPE_BYTES = 12; - */ - const TYPE_BYTES = 12; - /** - * Generated from protobuf enum TYPE_UINT32 = 13; - */ - const TYPE_UINT32 = 13; - /** - * Generated from protobuf enum TYPE_ENUM = 14; - */ - const TYPE_ENUM = 14; - /** - * Generated from protobuf enum TYPE_SFIXED32 = 15; - */ - const TYPE_SFIXED32 = 15; - /** - * Generated from protobuf enum TYPE_SFIXED64 = 16; - */ - const TYPE_SFIXED64 = 16; - /** - * Uses ZigZag encoding. - * - * Generated from protobuf enum TYPE_SINT32 = 17; - */ - const TYPE_SINT32 = 17; - /** - * Uses ZigZag encoding. - * - * Generated from protobuf enum TYPE_SINT64 = 18; - */ - const TYPE_SINT64 = 18; - - private static $valueToName = [ - self::TYPE_DOUBLE => 'TYPE_DOUBLE', - self::TYPE_FLOAT => 'TYPE_FLOAT', - self::TYPE_INT64 => 'TYPE_INT64', - self::TYPE_UINT64 => 'TYPE_UINT64', - self::TYPE_INT32 => 'TYPE_INT32', - self::TYPE_FIXED64 => 'TYPE_FIXED64', - self::TYPE_FIXED32 => 'TYPE_FIXED32', - self::TYPE_BOOL => 'TYPE_BOOL', - self::TYPE_STRING => 'TYPE_STRING', - self::TYPE_GROUP => 'TYPE_GROUP', - self::TYPE_MESSAGE => 'TYPE_MESSAGE', - self::TYPE_BYTES => 'TYPE_BYTES', - self::TYPE_UINT32 => 'TYPE_UINT32', - self::TYPE_ENUM => 'TYPE_ENUM', - self::TYPE_SFIXED32 => 'TYPE_SFIXED32', - self::TYPE_SFIXED64 => 'TYPE_SFIXED64', - self::TYPE_SINT32 => 'TYPE_SINT32', - self::TYPE_SINT64 => 'TYPE_SINT64', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Type::class, \Google\Protobuf\Internal\FieldDescriptorProto_Type::class); - diff --git a/vendor/google/protobuf/src/Google/Protobuf/Internal/FieldDescriptorProto_Label.php b/vendor/google/protobuf/src/Google/Protobuf/Internal/FieldDescriptorProto_Label.php deleted file mode 100644 index 218a846e1..000000000 --- a/vendor/google/protobuf/src/Google/Protobuf/Internal/FieldDescriptorProto_Label.php +++ /dev/null @@ -1,16 +0,0 @@ -google.protobuf.FieldOptions - */ -class FieldOptions extends \Google\Protobuf\Internal\Message -{ - /** - * The ctype option instructs the C++ code generator to use a different - * representation of the field than it normally would. See the specific - * options below. This option is not yet implemented in the open source - * release -- sorry, we'll try to include it in a future version! - * - * Generated from protobuf field optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING]; - */ - protected $ctype = null; - /** - * The packed option can be enabled for repeated primitive fields to enable - * a more efficient representation on the wire. Rather than repeatedly - * writing the tag and type for each element, the entire array is encoded as - * a single length-delimited blob. In proto3, only explicit setting it to - * false will avoid using packed encoding. - * - * Generated from protobuf field optional bool packed = 2; - */ - protected $packed = null; - /** - * The jstype option determines the JavaScript type used for values of the - * field. The option is permitted only for 64 bit integral and fixed types - * (int64, uint64, sint64, fixed64, sfixed64). A field with jstype JS_STRING - * is represented as JavaScript string, which avoids loss of precision that - * can happen when a large value is converted to a floating point JavaScript. - * Specifying JS_NUMBER for the jstype causes the generated JavaScript code to - * use the JavaScript "number" type. The behavior of the default option - * JS_NORMAL is implementation dependent. - * This option is an enum to permit additional types to be added, e.g. - * goog.math.Integer. - * - * Generated from protobuf field optional .google.protobuf.FieldOptions.JSType jstype = 6 [default = JS_NORMAL]; - */ - protected $jstype = null; - /** - * Should this field be parsed lazily? Lazy applies only to message-type - * fields. It means that when the outer message is initially parsed, the - * inner message's contents will not be parsed but instead stored in encoded - * form. The inner message will actually be parsed when it is first accessed. - * This is only a hint. Implementations are free to choose whether to use - * eager or lazy parsing regardless of the value of this option. However, - * setting this option true suggests that the protocol author believes that - * using lazy parsing on this field is worth the additional bookkeeping - * overhead typically needed to implement it. - * This option does not affect the public interface of any generated code; - * all method signatures remain the same. Furthermore, thread-safety of the - * interface is not affected by this option; const methods remain safe to - * call from multiple threads concurrently, while non-const methods continue - * to require exclusive access. - * Note that implementations may choose not to check required fields within - * a lazy sub-message. That is, calling IsInitialized() on the outer message - * may return true even if the inner message has missing required fields. - * This is necessary because otherwise the inner message would have to be - * parsed in order to perform the check, defeating the purpose of lazy - * parsing. An implementation which chooses not to check required fields - * must be consistent about it. That is, for any particular sub-message, the - * implementation must either *always* check its required fields, or *never* - * check its required fields, regardless of whether or not the message has - * been parsed. - * As of May 2022, lazy verifies the contents of the byte stream during - * parsing. An invalid byte stream will cause the overall parsing to fail. - * - * Generated from protobuf field optional bool lazy = 5 [default = false]; - */ - protected $lazy = null; - /** - * unverified_lazy does no correctness checks on the byte stream. This should - * only be used where lazy with verification is prohibitive for performance - * reasons. - * - * Generated from protobuf field optional bool unverified_lazy = 15 [default = false]; - */ - protected $unverified_lazy = null; - /** - * Is this field deprecated? - * Depending on the target platform, this can emit Deprecated annotations - * for accessors, or it will be completely ignored; in the very least, this - * is a formalization for deprecating fields. - * - * Generated from protobuf field optional bool deprecated = 3 [default = false]; - */ - protected $deprecated = null; - /** - * For Google-internal migration only. Do not use. - * - * Generated from protobuf field optional bool weak = 10 [default = false]; - */ - protected $weak = null; - /** - * The parser stores options it doesn't recognize here. See above. - * - * Generated from protobuf field repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; - */ - private $uninterpreted_option; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $ctype - * The ctype option instructs the C++ code generator to use a different - * representation of the field than it normally would. See the specific - * options below. This option is not yet implemented in the open source - * release -- sorry, we'll try to include it in a future version! - * @type bool $packed - * The packed option can be enabled for repeated primitive fields to enable - * a more efficient representation on the wire. Rather than repeatedly - * writing the tag and type for each element, the entire array is encoded as - * a single length-delimited blob. In proto3, only explicit setting it to - * false will avoid using packed encoding. - * @type int $jstype - * The jstype option determines the JavaScript type used for values of the - * field. The option is permitted only for 64 bit integral and fixed types - * (int64, uint64, sint64, fixed64, sfixed64). A field with jstype JS_STRING - * is represented as JavaScript string, which avoids loss of precision that - * can happen when a large value is converted to a floating point JavaScript. - * Specifying JS_NUMBER for the jstype causes the generated JavaScript code to - * use the JavaScript "number" type. The behavior of the default option - * JS_NORMAL is implementation dependent. - * This option is an enum to permit additional types to be added, e.g. - * goog.math.Integer. - * @type bool $lazy - * Should this field be parsed lazily? Lazy applies only to message-type - * fields. It means that when the outer message is initially parsed, the - * inner message's contents will not be parsed but instead stored in encoded - * form. The inner message will actually be parsed when it is first accessed. - * This is only a hint. Implementations are free to choose whether to use - * eager or lazy parsing regardless of the value of this option. However, - * setting this option true suggests that the protocol author believes that - * using lazy parsing on this field is worth the additional bookkeeping - * overhead typically needed to implement it. - * This option does not affect the public interface of any generated code; - * all method signatures remain the same. Furthermore, thread-safety of the - * interface is not affected by this option; const methods remain safe to - * call from multiple threads concurrently, while non-const methods continue - * to require exclusive access. - * Note that implementations may choose not to check required fields within - * a lazy sub-message. That is, calling IsInitialized() on the outer message - * may return true even if the inner message has missing required fields. - * This is necessary because otherwise the inner message would have to be - * parsed in order to perform the check, defeating the purpose of lazy - * parsing. An implementation which chooses not to check required fields - * must be consistent about it. That is, for any particular sub-message, the - * implementation must either *always* check its required fields, or *never* - * check its required fields, regardless of whether or not the message has - * been parsed. - * As of May 2022, lazy verifies the contents of the byte stream during - * parsing. An invalid byte stream will cause the overall parsing to fail. - * @type bool $unverified_lazy - * unverified_lazy does no correctness checks on the byte stream. This should - * only be used where lazy with verification is prohibitive for performance - * reasons. - * @type bool $deprecated - * Is this field deprecated? - * Depending on the target platform, this can emit Deprecated annotations - * for accessors, or it will be completely ignored; in the very least, this - * is a formalization for deprecating fields. - * @type bool $weak - * For Google-internal migration only. Do not use. - * @type array<\Google\Protobuf\Internal\UninterpretedOption>|\Google\Protobuf\Internal\RepeatedField $uninterpreted_option - * The parser stores options it doesn't recognize here. See above. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Protobuf\Internal\Descriptor::initOnce(); - parent::__construct($data); - } - - /** - * The ctype option instructs the C++ code generator to use a different - * representation of the field than it normally would. See the specific - * options below. This option is not yet implemented in the open source - * release -- sorry, we'll try to include it in a future version! - * - * Generated from protobuf field optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING]; - * @return int - */ - public function getCtype() - { - return isset($this->ctype) ? $this->ctype : 0; - } - - public function hasCtype() - { - return isset($this->ctype); - } - - public function clearCtype() - { - unset($this->ctype); - } - - /** - * The ctype option instructs the C++ code generator to use a different - * representation of the field than it normally would. See the specific - * options below. This option is not yet implemented in the open source - * release -- sorry, we'll try to include it in a future version! - * - * Generated from protobuf field optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING]; - * @param int $var - * @return $this - */ - public function setCtype($var) - { - GPBUtil::checkEnum($var, \Google\Protobuf\Internal\FieldOptions\CType::class); - $this->ctype = $var; - - return $this; - } - - /** - * The packed option can be enabled for repeated primitive fields to enable - * a more efficient representation on the wire. Rather than repeatedly - * writing the tag and type for each element, the entire array is encoded as - * a single length-delimited blob. In proto3, only explicit setting it to - * false will avoid using packed encoding. - * - * Generated from protobuf field optional bool packed = 2; - * @return bool - */ - public function getPacked() - { - return isset($this->packed) ? $this->packed : false; - } - - public function hasPacked() - { - return isset($this->packed); - } - - public function clearPacked() - { - unset($this->packed); - } - - /** - * The packed option can be enabled for repeated primitive fields to enable - * a more efficient representation on the wire. Rather than repeatedly - * writing the tag and type for each element, the entire array is encoded as - * a single length-delimited blob. In proto3, only explicit setting it to - * false will avoid using packed encoding. - * - * Generated from protobuf field optional bool packed = 2; - * @param bool $var - * @return $this - */ - public function setPacked($var) - { - GPBUtil::checkBool($var); - $this->packed = $var; - - return $this; - } - - /** - * The jstype option determines the JavaScript type used for values of the - * field. The option is permitted only for 64 bit integral and fixed types - * (int64, uint64, sint64, fixed64, sfixed64). A field with jstype JS_STRING - * is represented as JavaScript string, which avoids loss of precision that - * can happen when a large value is converted to a floating point JavaScript. - * Specifying JS_NUMBER for the jstype causes the generated JavaScript code to - * use the JavaScript "number" type. The behavior of the default option - * JS_NORMAL is implementation dependent. - * This option is an enum to permit additional types to be added, e.g. - * goog.math.Integer. - * - * Generated from protobuf field optional .google.protobuf.FieldOptions.JSType jstype = 6 [default = JS_NORMAL]; - * @return int - */ - public function getJstype() - { - return isset($this->jstype) ? $this->jstype : 0; - } - - public function hasJstype() - { - return isset($this->jstype); - } - - public function clearJstype() - { - unset($this->jstype); - } - - /** - * The jstype option determines the JavaScript type used for values of the - * field. The option is permitted only for 64 bit integral and fixed types - * (int64, uint64, sint64, fixed64, sfixed64). A field with jstype JS_STRING - * is represented as JavaScript string, which avoids loss of precision that - * can happen when a large value is converted to a floating point JavaScript. - * Specifying JS_NUMBER for the jstype causes the generated JavaScript code to - * use the JavaScript "number" type. The behavior of the default option - * JS_NORMAL is implementation dependent. - * This option is an enum to permit additional types to be added, e.g. - * goog.math.Integer. - * - * Generated from protobuf field optional .google.protobuf.FieldOptions.JSType jstype = 6 [default = JS_NORMAL]; - * @param int $var - * @return $this - */ - public function setJstype($var) - { - GPBUtil::checkEnum($var, \Google\Protobuf\Internal\FieldOptions\JSType::class); - $this->jstype = $var; - - return $this; - } - - /** - * Should this field be parsed lazily? Lazy applies only to message-type - * fields. It means that when the outer message is initially parsed, the - * inner message's contents will not be parsed but instead stored in encoded - * form. The inner message will actually be parsed when it is first accessed. - * This is only a hint. Implementations are free to choose whether to use - * eager or lazy parsing regardless of the value of this option. However, - * setting this option true suggests that the protocol author believes that - * using lazy parsing on this field is worth the additional bookkeeping - * overhead typically needed to implement it. - * This option does not affect the public interface of any generated code; - * all method signatures remain the same. Furthermore, thread-safety of the - * interface is not affected by this option; const methods remain safe to - * call from multiple threads concurrently, while non-const methods continue - * to require exclusive access. - * Note that implementations may choose not to check required fields within - * a lazy sub-message. That is, calling IsInitialized() on the outer message - * may return true even if the inner message has missing required fields. - * This is necessary because otherwise the inner message would have to be - * parsed in order to perform the check, defeating the purpose of lazy - * parsing. An implementation which chooses not to check required fields - * must be consistent about it. That is, for any particular sub-message, the - * implementation must either *always* check its required fields, or *never* - * check its required fields, regardless of whether or not the message has - * been parsed. - * As of May 2022, lazy verifies the contents of the byte stream during - * parsing. An invalid byte stream will cause the overall parsing to fail. - * - * Generated from protobuf field optional bool lazy = 5 [default = false]; - * @return bool - */ - public function getLazy() - { - return isset($this->lazy) ? $this->lazy : false; - } - - public function hasLazy() - { - return isset($this->lazy); - } - - public function clearLazy() - { - unset($this->lazy); - } - - /** - * Should this field be parsed lazily? Lazy applies only to message-type - * fields. It means that when the outer message is initially parsed, the - * inner message's contents will not be parsed but instead stored in encoded - * form. The inner message will actually be parsed when it is first accessed. - * This is only a hint. Implementations are free to choose whether to use - * eager or lazy parsing regardless of the value of this option. However, - * setting this option true suggests that the protocol author believes that - * using lazy parsing on this field is worth the additional bookkeeping - * overhead typically needed to implement it. - * This option does not affect the public interface of any generated code; - * all method signatures remain the same. Furthermore, thread-safety of the - * interface is not affected by this option; const methods remain safe to - * call from multiple threads concurrently, while non-const methods continue - * to require exclusive access. - * Note that implementations may choose not to check required fields within - * a lazy sub-message. That is, calling IsInitialized() on the outer message - * may return true even if the inner message has missing required fields. - * This is necessary because otherwise the inner message would have to be - * parsed in order to perform the check, defeating the purpose of lazy - * parsing. An implementation which chooses not to check required fields - * must be consistent about it. That is, for any particular sub-message, the - * implementation must either *always* check its required fields, or *never* - * check its required fields, regardless of whether or not the message has - * been parsed. - * As of May 2022, lazy verifies the contents of the byte stream during - * parsing. An invalid byte stream will cause the overall parsing to fail. - * - * Generated from protobuf field optional bool lazy = 5 [default = false]; - * @param bool $var - * @return $this - */ - public function setLazy($var) - { - GPBUtil::checkBool($var); - $this->lazy = $var; - - return $this; - } - - /** - * unverified_lazy does no correctness checks on the byte stream. This should - * only be used where lazy with verification is prohibitive for performance - * reasons. - * - * Generated from protobuf field optional bool unverified_lazy = 15 [default = false]; - * @return bool - */ - public function getUnverifiedLazy() - { - return isset($this->unverified_lazy) ? $this->unverified_lazy : false; - } - - public function hasUnverifiedLazy() - { - return isset($this->unverified_lazy); - } - - public function clearUnverifiedLazy() - { - unset($this->unverified_lazy); - } - - /** - * unverified_lazy does no correctness checks on the byte stream. This should - * only be used where lazy with verification is prohibitive for performance - * reasons. - * - * Generated from protobuf field optional bool unverified_lazy = 15 [default = false]; - * @param bool $var - * @return $this - */ - public function setUnverifiedLazy($var) - { - GPBUtil::checkBool($var); - $this->unverified_lazy = $var; - - return $this; - } - - /** - * Is this field deprecated? - * Depending on the target platform, this can emit Deprecated annotations - * for accessors, or it will be completely ignored; in the very least, this - * is a formalization for deprecating fields. - * - * Generated from protobuf field optional bool deprecated = 3 [default = false]; - * @return bool - */ - public function getDeprecated() - { - return isset($this->deprecated) ? $this->deprecated : false; - } - - public function hasDeprecated() - { - return isset($this->deprecated); - } - - public function clearDeprecated() - { - unset($this->deprecated); - } - - /** - * Is this field deprecated? - * Depending on the target platform, this can emit Deprecated annotations - * for accessors, or it will be completely ignored; in the very least, this - * is a formalization for deprecating fields. - * - * Generated from protobuf field optional bool deprecated = 3 [default = false]; - * @param bool $var - * @return $this - */ - public function setDeprecated($var) - { - GPBUtil::checkBool($var); - $this->deprecated = $var; - - return $this; - } - - /** - * For Google-internal migration only. Do not use. - * - * Generated from protobuf field optional bool weak = 10 [default = false]; - * @return bool - */ - public function getWeak() - { - return isset($this->weak) ? $this->weak : false; - } - - public function hasWeak() - { - return isset($this->weak); - } - - public function clearWeak() - { - unset($this->weak); - } - - /** - * For Google-internal migration only. Do not use. - * - * Generated from protobuf field optional bool weak = 10 [default = false]; - * @param bool $var - * @return $this - */ - public function setWeak($var) - { - GPBUtil::checkBool($var); - $this->weak = $var; - - return $this; - } - - /** - * The parser stores options it doesn't recognize here. See above. - * - * Generated from protobuf field repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getUninterpretedOption() - { - return $this->uninterpreted_option; - } - - /** - * The parser stores options it doesn't recognize here. See above. - * - * Generated from protobuf field repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; - * @param array<\Google\Protobuf\Internal\UninterpretedOption>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setUninterpretedOption($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Protobuf\Internal\UninterpretedOption::class); - $this->uninterpreted_option = $arr; - - return $this; - } - -} - diff --git a/vendor/google/protobuf/src/Google/Protobuf/Internal/FieldOptions/CType.php b/vendor/google/protobuf/src/Google/Protobuf/Internal/FieldOptions/CType.php deleted file mode 100644 index ba9eb4adb..000000000 --- a/vendor/google/protobuf/src/Google/Protobuf/Internal/FieldOptions/CType.php +++ /dev/null @@ -1,58 +0,0 @@ -google.protobuf.FieldOptions.CType - */ -class CType -{ - /** - * Default mode. - * - * Generated from protobuf enum STRING = 0; - */ - const STRING = 0; - /** - * Generated from protobuf enum CORD = 1; - */ - const CORD = 1; - /** - * Generated from protobuf enum STRING_PIECE = 2; - */ - const STRING_PIECE = 2; - - private static $valueToName = [ - self::STRING => 'STRING', - self::CORD => 'CORD', - self::STRING_PIECE => 'STRING_PIECE', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(CType::class, \Google\Protobuf\Internal\FieldOptions_CType::class); - diff --git a/vendor/google/protobuf/src/Google/Protobuf/Internal/FieldOptions/JSType.php b/vendor/google/protobuf/src/Google/Protobuf/Internal/FieldOptions/JSType.php deleted file mode 100644 index 175a4330b..000000000 --- a/vendor/google/protobuf/src/Google/Protobuf/Internal/FieldOptions/JSType.php +++ /dev/null @@ -1,62 +0,0 @@ -google.protobuf.FieldOptions.JSType - */ -class JSType -{ - /** - * Use the default type. - * - * Generated from protobuf enum JS_NORMAL = 0; - */ - const JS_NORMAL = 0; - /** - * Use JavaScript strings. - * - * Generated from protobuf enum JS_STRING = 1; - */ - const JS_STRING = 1; - /** - * Use JavaScript numbers. - * - * Generated from protobuf enum JS_NUMBER = 2; - */ - const JS_NUMBER = 2; - - private static $valueToName = [ - self::JS_NORMAL => 'JS_NORMAL', - self::JS_STRING => 'JS_STRING', - self::JS_NUMBER => 'JS_NUMBER', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(JSType::class, \Google\Protobuf\Internal\FieldOptions_JSType::class); - diff --git a/vendor/google/protobuf/src/Google/Protobuf/Internal/FieldOptions_CType.php b/vendor/google/protobuf/src/Google/Protobuf/Internal/FieldOptions_CType.php deleted file mode 100644 index 4d18783ee..000000000 --- a/vendor/google/protobuf/src/Google/Protobuf/Internal/FieldOptions_CType.php +++ /dev/null @@ -1,16 +0,0 @@ -package = $package; - } - - public function getPackage() - { - return $this->package; - } - - public function getMessageType() - { - return $this->message_type; - } - - public function addMessageType($desc) - { - $this->message_type[] = $desc; - } - - public function getEnumType() - { - return $this->enum_type; - } - - public function addEnumType($desc) - { - $this->enum_type[]= $desc; - } - - public static function buildFromProto($proto) - { - $file = new FileDescriptor(); - $file->setPackage($proto->getPackage()); - foreach ($proto->getMessageType() as $message_proto) { - $file->addMessageType(Descriptor::buildFromProto( - $message_proto, $proto, "")); - } - foreach ($proto->getEnumType() as $enum_proto) { - $file->addEnumType( - EnumDescriptor::buildFromProto( - $enum_proto, - $proto, - "")); - } - return $file; - } -} diff --git a/vendor/google/protobuf/src/Google/Protobuf/Internal/FileDescriptorProto.php b/vendor/google/protobuf/src/Google/Protobuf/Internal/FileDescriptorProto.php deleted file mode 100644 index d4c7f6bb8..000000000 --- a/vendor/google/protobuf/src/Google/Protobuf/Internal/FileDescriptorProto.php +++ /dev/null @@ -1,533 +0,0 @@ -google.protobuf.FileDescriptorProto - */ -class FileDescriptorProto extends \Google\Protobuf\Internal\Message -{ - /** - * file name, relative to root of source tree - * - * Generated from protobuf field optional string name = 1; - */ - protected $name = null; - /** - * e.g. "foo", "foo.bar", etc. - * - * Generated from protobuf field optional string package = 2; - */ - protected $package = null; - /** - * Names of files imported by this file. - * - * Generated from protobuf field repeated string dependency = 3; - */ - private $dependency; - /** - * Indexes of the public imported files in the dependency list above. - * - * Generated from protobuf field repeated int32 public_dependency = 10; - */ - private $public_dependency; - /** - * Indexes of the weak imported files in the dependency list. - * For Google-internal migration only. Do not use. - * - * Generated from protobuf field repeated int32 weak_dependency = 11; - */ - private $weak_dependency; - /** - * All top-level definitions in this file. - * - * Generated from protobuf field repeated .google.protobuf.DescriptorProto message_type = 4; - */ - private $message_type; - /** - * Generated from protobuf field repeated .google.protobuf.EnumDescriptorProto enum_type = 5; - */ - private $enum_type; - /** - * Generated from protobuf field repeated .google.protobuf.ServiceDescriptorProto service = 6; - */ - private $service; - /** - * Generated from protobuf field repeated .google.protobuf.FieldDescriptorProto extension = 7; - */ - private $extension; - /** - * Generated from protobuf field optional .google.protobuf.FileOptions options = 8; - */ - protected $options = null; - /** - * This field contains optional information about the original source code. - * You may safely remove this entire field without harming runtime - * functionality of the descriptors -- the information is needed only by - * development tools. - * - * Generated from protobuf field optional .google.protobuf.SourceCodeInfo source_code_info = 9; - */ - protected $source_code_info = null; - /** - * The syntax of the proto file. - * The supported values are "proto2", "proto3", and "editions". - * If `edition` is present, this value must be "editions". - * - * Generated from protobuf field optional string syntax = 12; - */ - protected $syntax = null; - /** - * The edition of the proto file, which is an opaque string. - * - * Generated from protobuf field optional string edition = 13; - */ - protected $edition = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * file name, relative to root of source tree - * @type string $package - * e.g. "foo", "foo.bar", etc. - * @type array|\Google\Protobuf\Internal\RepeatedField $dependency - * Names of files imported by this file. - * @type array|\Google\Protobuf\Internal\RepeatedField $public_dependency - * Indexes of the public imported files in the dependency list above. - * @type array|\Google\Protobuf\Internal\RepeatedField $weak_dependency - * Indexes of the weak imported files in the dependency list. - * For Google-internal migration only. Do not use. - * @type array<\Google\Protobuf\Internal\DescriptorProto>|\Google\Protobuf\Internal\RepeatedField $message_type - * All top-level definitions in this file. - * @type array<\Google\Protobuf\Internal\EnumDescriptorProto>|\Google\Protobuf\Internal\RepeatedField $enum_type - * @type array<\Google\Protobuf\Internal\ServiceDescriptorProto>|\Google\Protobuf\Internal\RepeatedField $service - * @type array<\Google\Protobuf\Internal\FieldDescriptorProto>|\Google\Protobuf\Internal\RepeatedField $extension - * @type \Google\Protobuf\Internal\FileOptions $options - * @type \Google\Protobuf\Internal\SourceCodeInfo $source_code_info - * This field contains optional information about the original source code. - * You may safely remove this entire field without harming runtime - * functionality of the descriptors -- the information is needed only by - * development tools. - * @type string $syntax - * The syntax of the proto file. - * The supported values are "proto2", "proto3", and "editions". - * If `edition` is present, this value must be "editions". - * @type string $edition - * The edition of the proto file, which is an opaque string. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Protobuf\Internal\Descriptor::initOnce(); - parent::__construct($data); - } - - /** - * file name, relative to root of source tree - * - * Generated from protobuf field optional string name = 1; - * @return string - */ - public function getName() - { - return isset($this->name) ? $this->name : ''; - } - - public function hasName() - { - return isset($this->name); - } - - public function clearName() - { - unset($this->name); - } - - /** - * file name, relative to root of source tree - * - * Generated from protobuf field optional string name = 1; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * e.g. "foo", "foo.bar", etc. - * - * Generated from protobuf field optional string package = 2; - * @return string - */ - public function getPackage() - { - return isset($this->package) ? $this->package : ''; - } - - public function hasPackage() - { - return isset($this->package); - } - - public function clearPackage() - { - unset($this->package); - } - - /** - * e.g. "foo", "foo.bar", etc. - * - * Generated from protobuf field optional string package = 2; - * @param string $var - * @return $this - */ - public function setPackage($var) - { - GPBUtil::checkString($var, True); - $this->package = $var; - - return $this; - } - - /** - * Names of files imported by this file. - * - * Generated from protobuf field repeated string dependency = 3; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getDependency() - { - return $this->dependency; - } - - /** - * Names of files imported by this file. - * - * Generated from protobuf field repeated string dependency = 3; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setDependency($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->dependency = $arr; - - return $this; - } - - /** - * Indexes of the public imported files in the dependency list above. - * - * Generated from protobuf field repeated int32 public_dependency = 10; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getPublicDependency() - { - return $this->public_dependency; - } - - /** - * Indexes of the public imported files in the dependency list above. - * - * Generated from protobuf field repeated int32 public_dependency = 10; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setPublicDependency($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::INT32); - $this->public_dependency = $arr; - - return $this; - } - - /** - * Indexes of the weak imported files in the dependency list. - * For Google-internal migration only. Do not use. - * - * Generated from protobuf field repeated int32 weak_dependency = 11; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getWeakDependency() - { - return $this->weak_dependency; - } - - /** - * Indexes of the weak imported files in the dependency list. - * For Google-internal migration only. Do not use. - * - * Generated from protobuf field repeated int32 weak_dependency = 11; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setWeakDependency($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::INT32); - $this->weak_dependency = $arr; - - return $this; - } - - /** - * All top-level definitions in this file. - * - * Generated from protobuf field repeated .google.protobuf.DescriptorProto message_type = 4; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getMessageType() - { - return $this->message_type; - } - - /** - * All top-level definitions in this file. - * - * Generated from protobuf field repeated .google.protobuf.DescriptorProto message_type = 4; - * @param array<\Google\Protobuf\Internal\DescriptorProto>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setMessageType($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Protobuf\Internal\DescriptorProto::class); - $this->message_type = $arr; - - return $this; - } - - /** - * Generated from protobuf field repeated .google.protobuf.EnumDescriptorProto enum_type = 5; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getEnumType() - { - return $this->enum_type; - } - - /** - * Generated from protobuf field repeated .google.protobuf.EnumDescriptorProto enum_type = 5; - * @param array<\Google\Protobuf\Internal\EnumDescriptorProto>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setEnumType($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Protobuf\Internal\EnumDescriptorProto::class); - $this->enum_type = $arr; - - return $this; - } - - /** - * Generated from protobuf field repeated .google.protobuf.ServiceDescriptorProto service = 6; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getService() - { - return $this->service; - } - - /** - * Generated from protobuf field repeated .google.protobuf.ServiceDescriptorProto service = 6; - * @param array<\Google\Protobuf\Internal\ServiceDescriptorProto>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setService($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Protobuf\Internal\ServiceDescriptorProto::class); - $this->service = $arr; - - return $this; - } - - /** - * Generated from protobuf field repeated .google.protobuf.FieldDescriptorProto extension = 7; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getExtension() - { - return $this->extension; - } - - /** - * Generated from protobuf field repeated .google.protobuf.FieldDescriptorProto extension = 7; - * @param array<\Google\Protobuf\Internal\FieldDescriptorProto>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setExtension($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Protobuf\Internal\FieldDescriptorProto::class); - $this->extension = $arr; - - return $this; - } - - /** - * Generated from protobuf field optional .google.protobuf.FileOptions options = 8; - * @return \Google\Protobuf\Internal\FileOptions|null - */ - public function getOptions() - { - return $this->options; - } - - public function hasOptions() - { - return isset($this->options); - } - - public function clearOptions() - { - unset($this->options); - } - - /** - * Generated from protobuf field optional .google.protobuf.FileOptions options = 8; - * @param \Google\Protobuf\Internal\FileOptions $var - * @return $this - */ - public function setOptions($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Internal\FileOptions::class); - $this->options = $var; - - return $this; - } - - /** - * This field contains optional information about the original source code. - * You may safely remove this entire field without harming runtime - * functionality of the descriptors -- the information is needed only by - * development tools. - * - * Generated from protobuf field optional .google.protobuf.SourceCodeInfo source_code_info = 9; - * @return \Google\Protobuf\Internal\SourceCodeInfo|null - */ - public function getSourceCodeInfo() - { - return $this->source_code_info; - } - - public function hasSourceCodeInfo() - { - return isset($this->source_code_info); - } - - public function clearSourceCodeInfo() - { - unset($this->source_code_info); - } - - /** - * This field contains optional information about the original source code. - * You may safely remove this entire field without harming runtime - * functionality of the descriptors -- the information is needed only by - * development tools. - * - * Generated from protobuf field optional .google.protobuf.SourceCodeInfo source_code_info = 9; - * @param \Google\Protobuf\Internal\SourceCodeInfo $var - * @return $this - */ - public function setSourceCodeInfo($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Internal\SourceCodeInfo::class); - $this->source_code_info = $var; - - return $this; - } - - /** - * The syntax of the proto file. - * The supported values are "proto2", "proto3", and "editions". - * If `edition` is present, this value must be "editions". - * - * Generated from protobuf field optional string syntax = 12; - * @return string - */ - public function getSyntax() - { - return isset($this->syntax) ? $this->syntax : ''; - } - - public function hasSyntax() - { - return isset($this->syntax); - } - - public function clearSyntax() - { - unset($this->syntax); - } - - /** - * The syntax of the proto file. - * The supported values are "proto2", "proto3", and "editions". - * If `edition` is present, this value must be "editions". - * - * Generated from protobuf field optional string syntax = 12; - * @param string $var - * @return $this - */ - public function setSyntax($var) - { - GPBUtil::checkString($var, True); - $this->syntax = $var; - - return $this; - } - - /** - * The edition of the proto file, which is an opaque string. - * - * Generated from protobuf field optional string edition = 13; - * @return string - */ - public function getEdition() - { - return isset($this->edition) ? $this->edition : ''; - } - - public function hasEdition() - { - return isset($this->edition); - } - - public function clearEdition() - { - unset($this->edition); - } - - /** - * The edition of the proto file, which is an opaque string. - * - * Generated from protobuf field optional string edition = 13; - * @param string $var - * @return $this - */ - public function setEdition($var) - { - GPBUtil::checkString($var, True); - $this->edition = $var; - - return $this; - } - -} - diff --git a/vendor/google/protobuf/src/Google/Protobuf/Internal/FileDescriptorSet.php b/vendor/google/protobuf/src/Google/Protobuf/Internal/FileDescriptorSet.php deleted file mode 100644 index 1dae6fb3e..000000000 --- a/vendor/google/protobuf/src/Google/Protobuf/Internal/FileDescriptorSet.php +++ /dev/null @@ -1,63 +0,0 @@ -google.protobuf.FileDescriptorSet - */ -class FileDescriptorSet extends \Google\Protobuf\Internal\Message -{ - /** - * Generated from protobuf field repeated .google.protobuf.FileDescriptorProto file = 1; - */ - private $file; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Protobuf\Internal\FileDescriptorProto>|\Google\Protobuf\Internal\RepeatedField $file - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Protobuf\Internal\Descriptor::initOnce(); - parent::__construct($data); - } - - /** - * Generated from protobuf field repeated .google.protobuf.FileDescriptorProto file = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getFile() - { - return $this->file; - } - - /** - * Generated from protobuf field repeated .google.protobuf.FileDescriptorProto file = 1; - * @param array<\Google\Protobuf\Internal\FileDescriptorProto>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setFile($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Protobuf\Internal\FileDescriptorProto::class); - $this->file = $arr; - - return $this; - } - -} - diff --git a/vendor/google/protobuf/src/Google/Protobuf/Internal/FileOptions.php b/vendor/google/protobuf/src/Google/Protobuf/Internal/FileOptions.php deleted file mode 100644 index 43931be80..000000000 --- a/vendor/google/protobuf/src/Google/Protobuf/Internal/FileOptions.php +++ /dev/null @@ -1,1106 +0,0 @@ -google.protobuf.FileOptions - */ -class FileOptions extends \Google\Protobuf\Internal\Message -{ - /** - * Sets the Java package where classes generated from this .proto will be - * placed. By default, the proto package is used, but this is often - * inappropriate because proto packages do not normally start with backwards - * domain names. - * - * Generated from protobuf field optional string java_package = 1; - */ - protected $java_package = null; - /** - * Controls the name of the wrapper Java class generated for the .proto file. - * That class will always contain the .proto file's getDescriptor() method as - * well as any top-level extensions defined in the .proto file. - * If java_multiple_files is disabled, then all the other classes from the - * .proto file will be nested inside the single wrapper outer class. - * - * Generated from protobuf field optional string java_outer_classname = 8; - */ - protected $java_outer_classname = null; - /** - * If enabled, then the Java code generator will generate a separate .java - * file for each top-level message, enum, and service defined in the .proto - * file. Thus, these types will *not* be nested inside the wrapper class - * named by java_outer_classname. However, the wrapper class will still be - * generated to contain the file's getDescriptor() method as well as any - * top-level extensions defined in the file. - * - * Generated from protobuf field optional bool java_multiple_files = 10 [default = false]; - */ - protected $java_multiple_files = null; - /** - * This option does nothing. - * - * Generated from protobuf field optional bool java_generate_equals_and_hash = 20 [deprecated = true]; - * @deprecated - */ - protected $java_generate_equals_and_hash = null; - /** - * If set true, then the Java2 code generator will generate code that - * throws an exception whenever an attempt is made to assign a non-UTF-8 - * byte sequence to a string field. - * Message reflection will do the same. - * However, an extension field still accepts non-UTF-8 byte sequences. - * This option has no effect on when used with the lite runtime. - * - * Generated from protobuf field optional bool java_string_check_utf8 = 27 [default = false]; - */ - protected $java_string_check_utf8 = null; - /** - * Generated from protobuf field optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED]; - */ - protected $optimize_for = null; - /** - * Sets the Go package where structs generated from this .proto will be - * placed. If omitted, the Go package will be derived from the following: - * - The basename of the package import path, if provided. - * - Otherwise, the package statement in the .proto file, if present. - * - Otherwise, the basename of the .proto file, without extension. - * - * Generated from protobuf field optional string go_package = 11; - */ - protected $go_package = null; - /** - * Should generic services be generated in each language? "Generic" services - * are not specific to any particular RPC system. They are generated by the - * main code generators in each language (without additional plugins). - * Generic services were the only kind of service generation supported by - * early versions of google.protobuf. - * Generic services are now considered deprecated in favor of using plugins - * that generate code specific to your particular RPC system. Therefore, - * these default to false. Old code which depends on generic services should - * explicitly set them to true. - * - * Generated from protobuf field optional bool cc_generic_services = 16 [default = false]; - */ - protected $cc_generic_services = null; - /** - * Generated from protobuf field optional bool java_generic_services = 17 [default = false]; - */ - protected $java_generic_services = null; - /** - * Generated from protobuf field optional bool py_generic_services = 18 [default = false]; - */ - protected $py_generic_services = null; - /** - * Generated from protobuf field optional bool php_generic_services = 42 [default = false]; - */ - protected $php_generic_services = null; - /** - * Is this file deprecated? - * Depending on the target platform, this can emit Deprecated annotations - * for everything in the file, or it will be completely ignored; in the very - * least, this is a formalization for deprecating files. - * - * Generated from protobuf field optional bool deprecated = 23 [default = false]; - */ - protected $deprecated = null; - /** - * Enables the use of arenas for the proto messages in this file. This applies - * only to generated classes for C++. - * - * Generated from protobuf field optional bool cc_enable_arenas = 31 [default = true]; - */ - protected $cc_enable_arenas = null; - /** - * Sets the objective c class prefix which is prepended to all objective c - * generated classes from this .proto. There is no default. - * - * Generated from protobuf field optional string objc_class_prefix = 36; - */ - protected $objc_class_prefix = null; - /** - * Namespace for generated classes; defaults to the package. - * - * Generated from protobuf field optional string csharp_namespace = 37; - */ - protected $csharp_namespace = null; - /** - * By default Swift generators will take the proto package and CamelCase it - * replacing '.' with underscore and use that to prefix the types/symbols - * defined. When this options is provided, they will use this value instead - * to prefix the types/symbols defined. - * - * Generated from protobuf field optional string swift_prefix = 39; - */ - protected $swift_prefix = null; - /** - * Sets the php class prefix which is prepended to all php generated classes - * from this .proto. Default is empty. - * - * Generated from protobuf field optional string php_class_prefix = 40; - */ - protected $php_class_prefix = null; - /** - * Use this option to change the namespace of php generated classes. Default - * is empty. When this option is empty, the package name will be used for - * determining the namespace. - * - * Generated from protobuf field optional string php_namespace = 41; - */ - protected $php_namespace = null; - /** - * Use this option to change the namespace of php generated metadata classes. - * Default is empty. When this option is empty, the proto file name will be - * used for determining the namespace. - * - * Generated from protobuf field optional string php_metadata_namespace = 44; - */ - protected $php_metadata_namespace = null; - /** - * Use this option to change the package of ruby generated classes. Default - * is empty. When this option is not set, the package name will be used for - * determining the ruby package. - * - * Generated from protobuf field optional string ruby_package = 45; - */ - protected $ruby_package = null; - /** - * The parser stores options it doesn't recognize here. - * See the documentation for the "Options" section above. - * - * Generated from protobuf field repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; - */ - private $uninterpreted_option; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $java_package - * Sets the Java package where classes generated from this .proto will be - * placed. By default, the proto package is used, but this is often - * inappropriate because proto packages do not normally start with backwards - * domain names. - * @type string $java_outer_classname - * Controls the name of the wrapper Java class generated for the .proto file. - * That class will always contain the .proto file's getDescriptor() method as - * well as any top-level extensions defined in the .proto file. - * If java_multiple_files is disabled, then all the other classes from the - * .proto file will be nested inside the single wrapper outer class. - * @type bool $java_multiple_files - * If enabled, then the Java code generator will generate a separate .java - * file for each top-level message, enum, and service defined in the .proto - * file. Thus, these types will *not* be nested inside the wrapper class - * named by java_outer_classname. However, the wrapper class will still be - * generated to contain the file's getDescriptor() method as well as any - * top-level extensions defined in the file. - * @type bool $java_generate_equals_and_hash - * This option does nothing. - * @type bool $java_string_check_utf8 - * If set true, then the Java2 code generator will generate code that - * throws an exception whenever an attempt is made to assign a non-UTF-8 - * byte sequence to a string field. - * Message reflection will do the same. - * However, an extension field still accepts non-UTF-8 byte sequences. - * This option has no effect on when used with the lite runtime. - * @type int $optimize_for - * @type string $go_package - * Sets the Go package where structs generated from this .proto will be - * placed. If omitted, the Go package will be derived from the following: - * - The basename of the package import path, if provided. - * - Otherwise, the package statement in the .proto file, if present. - * - Otherwise, the basename of the .proto file, without extension. - * @type bool $cc_generic_services - * Should generic services be generated in each language? "Generic" services - * are not specific to any particular RPC system. They are generated by the - * main code generators in each language (without additional plugins). - * Generic services were the only kind of service generation supported by - * early versions of google.protobuf. - * Generic services are now considered deprecated in favor of using plugins - * that generate code specific to your particular RPC system. Therefore, - * these default to false. Old code which depends on generic services should - * explicitly set them to true. - * @type bool $java_generic_services - * @type bool $py_generic_services - * @type bool $php_generic_services - * @type bool $deprecated - * Is this file deprecated? - * Depending on the target platform, this can emit Deprecated annotations - * for everything in the file, or it will be completely ignored; in the very - * least, this is a formalization for deprecating files. - * @type bool $cc_enable_arenas - * Enables the use of arenas for the proto messages in this file. This applies - * only to generated classes for C++. - * @type string $objc_class_prefix - * Sets the objective c class prefix which is prepended to all objective c - * generated classes from this .proto. There is no default. - * @type string $csharp_namespace - * Namespace for generated classes; defaults to the package. - * @type string $swift_prefix - * By default Swift generators will take the proto package and CamelCase it - * replacing '.' with underscore and use that to prefix the types/symbols - * defined. When this options is provided, they will use this value instead - * to prefix the types/symbols defined. - * @type string $php_class_prefix - * Sets the php class prefix which is prepended to all php generated classes - * from this .proto. Default is empty. - * @type string $php_namespace - * Use this option to change the namespace of php generated classes. Default - * is empty. When this option is empty, the package name will be used for - * determining the namespace. - * @type string $php_metadata_namespace - * Use this option to change the namespace of php generated metadata classes. - * Default is empty. When this option is empty, the proto file name will be - * used for determining the namespace. - * @type string $ruby_package - * Use this option to change the package of ruby generated classes. Default - * is empty. When this option is not set, the package name will be used for - * determining the ruby package. - * @type array<\Google\Protobuf\Internal\UninterpretedOption>|\Google\Protobuf\Internal\RepeatedField $uninterpreted_option - * The parser stores options it doesn't recognize here. - * See the documentation for the "Options" section above. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Protobuf\Internal\Descriptor::initOnce(); - parent::__construct($data); - } - - /** - * Sets the Java package where classes generated from this .proto will be - * placed. By default, the proto package is used, but this is often - * inappropriate because proto packages do not normally start with backwards - * domain names. - * - * Generated from protobuf field optional string java_package = 1; - * @return string - */ - public function getJavaPackage() - { - return isset($this->java_package) ? $this->java_package : ''; - } - - public function hasJavaPackage() - { - return isset($this->java_package); - } - - public function clearJavaPackage() - { - unset($this->java_package); - } - - /** - * Sets the Java package where classes generated from this .proto will be - * placed. By default, the proto package is used, but this is often - * inappropriate because proto packages do not normally start with backwards - * domain names. - * - * Generated from protobuf field optional string java_package = 1; - * @param string $var - * @return $this - */ - public function setJavaPackage($var) - { - GPBUtil::checkString($var, True); - $this->java_package = $var; - - return $this; - } - - /** - * Controls the name of the wrapper Java class generated for the .proto file. - * That class will always contain the .proto file's getDescriptor() method as - * well as any top-level extensions defined in the .proto file. - * If java_multiple_files is disabled, then all the other classes from the - * .proto file will be nested inside the single wrapper outer class. - * - * Generated from protobuf field optional string java_outer_classname = 8; - * @return string - */ - public function getJavaOuterClassname() - { - return isset($this->java_outer_classname) ? $this->java_outer_classname : ''; - } - - public function hasJavaOuterClassname() - { - return isset($this->java_outer_classname); - } - - public function clearJavaOuterClassname() - { - unset($this->java_outer_classname); - } - - /** - * Controls the name of the wrapper Java class generated for the .proto file. - * That class will always contain the .proto file's getDescriptor() method as - * well as any top-level extensions defined in the .proto file. - * If java_multiple_files is disabled, then all the other classes from the - * .proto file will be nested inside the single wrapper outer class. - * - * Generated from protobuf field optional string java_outer_classname = 8; - * @param string $var - * @return $this - */ - public function setJavaOuterClassname($var) - { - GPBUtil::checkString($var, True); - $this->java_outer_classname = $var; - - return $this; - } - - /** - * If enabled, then the Java code generator will generate a separate .java - * file for each top-level message, enum, and service defined in the .proto - * file. Thus, these types will *not* be nested inside the wrapper class - * named by java_outer_classname. However, the wrapper class will still be - * generated to contain the file's getDescriptor() method as well as any - * top-level extensions defined in the file. - * - * Generated from protobuf field optional bool java_multiple_files = 10 [default = false]; - * @return bool - */ - public function getJavaMultipleFiles() - { - return isset($this->java_multiple_files) ? $this->java_multiple_files : false; - } - - public function hasJavaMultipleFiles() - { - return isset($this->java_multiple_files); - } - - public function clearJavaMultipleFiles() - { - unset($this->java_multiple_files); - } - - /** - * If enabled, then the Java code generator will generate a separate .java - * file for each top-level message, enum, and service defined in the .proto - * file. Thus, these types will *not* be nested inside the wrapper class - * named by java_outer_classname. However, the wrapper class will still be - * generated to contain the file's getDescriptor() method as well as any - * top-level extensions defined in the file. - * - * Generated from protobuf field optional bool java_multiple_files = 10 [default = false]; - * @param bool $var - * @return $this - */ - public function setJavaMultipleFiles($var) - { - GPBUtil::checkBool($var); - $this->java_multiple_files = $var; - - return $this; - } - - /** - * This option does nothing. - * - * Generated from protobuf field optional bool java_generate_equals_and_hash = 20 [deprecated = true]; - * @return bool - * @deprecated - */ - public function getJavaGenerateEqualsAndHash() - { - @trigger_error('java_generate_equals_and_hash is deprecated.', E_USER_DEPRECATED); - return isset($this->java_generate_equals_and_hash) ? $this->java_generate_equals_and_hash : false; - } - - public function hasJavaGenerateEqualsAndHash() - { - @trigger_error('java_generate_equals_and_hash is deprecated.', E_USER_DEPRECATED); - return isset($this->java_generate_equals_and_hash); - } - - public function clearJavaGenerateEqualsAndHash() - { - @trigger_error('java_generate_equals_and_hash is deprecated.', E_USER_DEPRECATED); - unset($this->java_generate_equals_and_hash); - } - - /** - * This option does nothing. - * - * Generated from protobuf field optional bool java_generate_equals_and_hash = 20 [deprecated = true]; - * @param bool $var - * @return $this - * @deprecated - */ - public function setJavaGenerateEqualsAndHash($var) - { - @trigger_error('java_generate_equals_and_hash is deprecated.', E_USER_DEPRECATED); - GPBUtil::checkBool($var); - $this->java_generate_equals_and_hash = $var; - - return $this; - } - - /** - * If set true, then the Java2 code generator will generate code that - * throws an exception whenever an attempt is made to assign a non-UTF-8 - * byte sequence to a string field. - * Message reflection will do the same. - * However, an extension field still accepts non-UTF-8 byte sequences. - * This option has no effect on when used with the lite runtime. - * - * Generated from protobuf field optional bool java_string_check_utf8 = 27 [default = false]; - * @return bool - */ - public function getJavaStringCheckUtf8() - { - return isset($this->java_string_check_utf8) ? $this->java_string_check_utf8 : false; - } - - public function hasJavaStringCheckUtf8() - { - return isset($this->java_string_check_utf8); - } - - public function clearJavaStringCheckUtf8() - { - unset($this->java_string_check_utf8); - } - - /** - * If set true, then the Java2 code generator will generate code that - * throws an exception whenever an attempt is made to assign a non-UTF-8 - * byte sequence to a string field. - * Message reflection will do the same. - * However, an extension field still accepts non-UTF-8 byte sequences. - * This option has no effect on when used with the lite runtime. - * - * Generated from protobuf field optional bool java_string_check_utf8 = 27 [default = false]; - * @param bool $var - * @return $this - */ - public function setJavaStringCheckUtf8($var) - { - GPBUtil::checkBool($var); - $this->java_string_check_utf8 = $var; - - return $this; - } - - /** - * Generated from protobuf field optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED]; - * @return int - */ - public function getOptimizeFor() - { - return isset($this->optimize_for) ? $this->optimize_for : 0; - } - - public function hasOptimizeFor() - { - return isset($this->optimize_for); - } - - public function clearOptimizeFor() - { - unset($this->optimize_for); - } - - /** - * Generated from protobuf field optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED]; - * @param int $var - * @return $this - */ - public function setOptimizeFor($var) - { - GPBUtil::checkEnum($var, \Google\Protobuf\Internal\FileOptions\OptimizeMode::class); - $this->optimize_for = $var; - - return $this; - } - - /** - * Sets the Go package where structs generated from this .proto will be - * placed. If omitted, the Go package will be derived from the following: - * - The basename of the package import path, if provided. - * - Otherwise, the package statement in the .proto file, if present. - * - Otherwise, the basename of the .proto file, without extension. - * - * Generated from protobuf field optional string go_package = 11; - * @return string - */ - public function getGoPackage() - { - return isset($this->go_package) ? $this->go_package : ''; - } - - public function hasGoPackage() - { - return isset($this->go_package); - } - - public function clearGoPackage() - { - unset($this->go_package); - } - - /** - * Sets the Go package where structs generated from this .proto will be - * placed. If omitted, the Go package will be derived from the following: - * - The basename of the package import path, if provided. - * - Otherwise, the package statement in the .proto file, if present. - * - Otherwise, the basename of the .proto file, without extension. - * - * Generated from protobuf field optional string go_package = 11; - * @param string $var - * @return $this - */ - public function setGoPackage($var) - { - GPBUtil::checkString($var, True); - $this->go_package = $var; - - return $this; - } - - /** - * Should generic services be generated in each language? "Generic" services - * are not specific to any particular RPC system. They are generated by the - * main code generators in each language (without additional plugins). - * Generic services were the only kind of service generation supported by - * early versions of google.protobuf. - * Generic services are now considered deprecated in favor of using plugins - * that generate code specific to your particular RPC system. Therefore, - * these default to false. Old code which depends on generic services should - * explicitly set them to true. - * - * Generated from protobuf field optional bool cc_generic_services = 16 [default = false]; - * @return bool - */ - public function getCcGenericServices() - { - return isset($this->cc_generic_services) ? $this->cc_generic_services : false; - } - - public function hasCcGenericServices() - { - return isset($this->cc_generic_services); - } - - public function clearCcGenericServices() - { - unset($this->cc_generic_services); - } - - /** - * Should generic services be generated in each language? "Generic" services - * are not specific to any particular RPC system. They are generated by the - * main code generators in each language (without additional plugins). - * Generic services were the only kind of service generation supported by - * early versions of google.protobuf. - * Generic services are now considered deprecated in favor of using plugins - * that generate code specific to your particular RPC system. Therefore, - * these default to false. Old code which depends on generic services should - * explicitly set them to true. - * - * Generated from protobuf field optional bool cc_generic_services = 16 [default = false]; - * @param bool $var - * @return $this - */ - public function setCcGenericServices($var) - { - GPBUtil::checkBool($var); - $this->cc_generic_services = $var; - - return $this; - } - - /** - * Generated from protobuf field optional bool java_generic_services = 17 [default = false]; - * @return bool - */ - public function getJavaGenericServices() - { - return isset($this->java_generic_services) ? $this->java_generic_services : false; - } - - public function hasJavaGenericServices() - { - return isset($this->java_generic_services); - } - - public function clearJavaGenericServices() - { - unset($this->java_generic_services); - } - - /** - * Generated from protobuf field optional bool java_generic_services = 17 [default = false]; - * @param bool $var - * @return $this - */ - public function setJavaGenericServices($var) - { - GPBUtil::checkBool($var); - $this->java_generic_services = $var; - - return $this; - } - - /** - * Generated from protobuf field optional bool py_generic_services = 18 [default = false]; - * @return bool - */ - public function getPyGenericServices() - { - return isset($this->py_generic_services) ? $this->py_generic_services : false; - } - - public function hasPyGenericServices() - { - return isset($this->py_generic_services); - } - - public function clearPyGenericServices() - { - unset($this->py_generic_services); - } - - /** - * Generated from protobuf field optional bool py_generic_services = 18 [default = false]; - * @param bool $var - * @return $this - */ - public function setPyGenericServices($var) - { - GPBUtil::checkBool($var); - $this->py_generic_services = $var; - - return $this; - } - - /** - * Generated from protobuf field optional bool php_generic_services = 42 [default = false]; - * @return bool - */ - public function getPhpGenericServices() - { - return isset($this->php_generic_services) ? $this->php_generic_services : false; - } - - public function hasPhpGenericServices() - { - return isset($this->php_generic_services); - } - - public function clearPhpGenericServices() - { - unset($this->php_generic_services); - } - - /** - * Generated from protobuf field optional bool php_generic_services = 42 [default = false]; - * @param bool $var - * @return $this - */ - public function setPhpGenericServices($var) - { - GPBUtil::checkBool($var); - $this->php_generic_services = $var; - - return $this; - } - - /** - * Is this file deprecated? - * Depending on the target platform, this can emit Deprecated annotations - * for everything in the file, or it will be completely ignored; in the very - * least, this is a formalization for deprecating files. - * - * Generated from protobuf field optional bool deprecated = 23 [default = false]; - * @return bool - */ - public function getDeprecated() - { - return isset($this->deprecated) ? $this->deprecated : false; - } - - public function hasDeprecated() - { - return isset($this->deprecated); - } - - public function clearDeprecated() - { - unset($this->deprecated); - } - - /** - * Is this file deprecated? - * Depending on the target platform, this can emit Deprecated annotations - * for everything in the file, or it will be completely ignored; in the very - * least, this is a formalization for deprecating files. - * - * Generated from protobuf field optional bool deprecated = 23 [default = false]; - * @param bool $var - * @return $this - */ - public function setDeprecated($var) - { - GPBUtil::checkBool($var); - $this->deprecated = $var; - - return $this; - } - - /** - * Enables the use of arenas for the proto messages in this file. This applies - * only to generated classes for C++. - * - * Generated from protobuf field optional bool cc_enable_arenas = 31 [default = true]; - * @return bool - */ - public function getCcEnableArenas() - { - return isset($this->cc_enable_arenas) ? $this->cc_enable_arenas : false; - } - - public function hasCcEnableArenas() - { - return isset($this->cc_enable_arenas); - } - - public function clearCcEnableArenas() - { - unset($this->cc_enable_arenas); - } - - /** - * Enables the use of arenas for the proto messages in this file. This applies - * only to generated classes for C++. - * - * Generated from protobuf field optional bool cc_enable_arenas = 31 [default = true]; - * @param bool $var - * @return $this - */ - public function setCcEnableArenas($var) - { - GPBUtil::checkBool($var); - $this->cc_enable_arenas = $var; - - return $this; - } - - /** - * Sets the objective c class prefix which is prepended to all objective c - * generated classes from this .proto. There is no default. - * - * Generated from protobuf field optional string objc_class_prefix = 36; - * @return string - */ - public function getObjcClassPrefix() - { - return isset($this->objc_class_prefix) ? $this->objc_class_prefix : ''; - } - - public function hasObjcClassPrefix() - { - return isset($this->objc_class_prefix); - } - - public function clearObjcClassPrefix() - { - unset($this->objc_class_prefix); - } - - /** - * Sets the objective c class prefix which is prepended to all objective c - * generated classes from this .proto. There is no default. - * - * Generated from protobuf field optional string objc_class_prefix = 36; - * @param string $var - * @return $this - */ - public function setObjcClassPrefix($var) - { - GPBUtil::checkString($var, True); - $this->objc_class_prefix = $var; - - return $this; - } - - /** - * Namespace for generated classes; defaults to the package. - * - * Generated from protobuf field optional string csharp_namespace = 37; - * @return string - */ - public function getCsharpNamespace() - { - return isset($this->csharp_namespace) ? $this->csharp_namespace : ''; - } - - public function hasCsharpNamespace() - { - return isset($this->csharp_namespace); - } - - public function clearCsharpNamespace() - { - unset($this->csharp_namespace); - } - - /** - * Namespace for generated classes; defaults to the package. - * - * Generated from protobuf field optional string csharp_namespace = 37; - * @param string $var - * @return $this - */ - public function setCsharpNamespace($var) - { - GPBUtil::checkString($var, True); - $this->csharp_namespace = $var; - - return $this; - } - - /** - * By default Swift generators will take the proto package and CamelCase it - * replacing '.' with underscore and use that to prefix the types/symbols - * defined. When this options is provided, they will use this value instead - * to prefix the types/symbols defined. - * - * Generated from protobuf field optional string swift_prefix = 39; - * @return string - */ - public function getSwiftPrefix() - { - return isset($this->swift_prefix) ? $this->swift_prefix : ''; - } - - public function hasSwiftPrefix() - { - return isset($this->swift_prefix); - } - - public function clearSwiftPrefix() - { - unset($this->swift_prefix); - } - - /** - * By default Swift generators will take the proto package and CamelCase it - * replacing '.' with underscore and use that to prefix the types/symbols - * defined. When this options is provided, they will use this value instead - * to prefix the types/symbols defined. - * - * Generated from protobuf field optional string swift_prefix = 39; - * @param string $var - * @return $this - */ - public function setSwiftPrefix($var) - { - GPBUtil::checkString($var, True); - $this->swift_prefix = $var; - - return $this; - } - - /** - * Sets the php class prefix which is prepended to all php generated classes - * from this .proto. Default is empty. - * - * Generated from protobuf field optional string php_class_prefix = 40; - * @return string - */ - public function getPhpClassPrefix() - { - return isset($this->php_class_prefix) ? $this->php_class_prefix : ''; - } - - public function hasPhpClassPrefix() - { - return isset($this->php_class_prefix); - } - - public function clearPhpClassPrefix() - { - unset($this->php_class_prefix); - } - - /** - * Sets the php class prefix which is prepended to all php generated classes - * from this .proto. Default is empty. - * - * Generated from protobuf field optional string php_class_prefix = 40; - * @param string $var - * @return $this - */ - public function setPhpClassPrefix($var) - { - GPBUtil::checkString($var, True); - $this->php_class_prefix = $var; - - return $this; - } - - /** - * Use this option to change the namespace of php generated classes. Default - * is empty. When this option is empty, the package name will be used for - * determining the namespace. - * - * Generated from protobuf field optional string php_namespace = 41; - * @return string - */ - public function getPhpNamespace() - { - return isset($this->php_namespace) ? $this->php_namespace : ''; - } - - public function hasPhpNamespace() - { - return isset($this->php_namespace); - } - - public function clearPhpNamespace() - { - unset($this->php_namespace); - } - - /** - * Use this option to change the namespace of php generated classes. Default - * is empty. When this option is empty, the package name will be used for - * determining the namespace. - * - * Generated from protobuf field optional string php_namespace = 41; - * @param string $var - * @return $this - */ - public function setPhpNamespace($var) - { - GPBUtil::checkString($var, True); - $this->php_namespace = $var; - - return $this; - } - - /** - * Use this option to change the namespace of php generated metadata classes. - * Default is empty. When this option is empty, the proto file name will be - * used for determining the namespace. - * - * Generated from protobuf field optional string php_metadata_namespace = 44; - * @return string - */ - public function getPhpMetadataNamespace() - { - return isset($this->php_metadata_namespace) ? $this->php_metadata_namespace : ''; - } - - public function hasPhpMetadataNamespace() - { - return isset($this->php_metadata_namespace); - } - - public function clearPhpMetadataNamespace() - { - unset($this->php_metadata_namespace); - } - - /** - * Use this option to change the namespace of php generated metadata classes. - * Default is empty. When this option is empty, the proto file name will be - * used for determining the namespace. - * - * Generated from protobuf field optional string php_metadata_namespace = 44; - * @param string $var - * @return $this - */ - public function setPhpMetadataNamespace($var) - { - GPBUtil::checkString($var, True); - $this->php_metadata_namespace = $var; - - return $this; - } - - /** - * Use this option to change the package of ruby generated classes. Default - * is empty. When this option is not set, the package name will be used for - * determining the ruby package. - * - * Generated from protobuf field optional string ruby_package = 45; - * @return string - */ - public function getRubyPackage() - { - return isset($this->ruby_package) ? $this->ruby_package : ''; - } - - public function hasRubyPackage() - { - return isset($this->ruby_package); - } - - public function clearRubyPackage() - { - unset($this->ruby_package); - } - - /** - * Use this option to change the package of ruby generated classes. Default - * is empty. When this option is not set, the package name will be used for - * determining the ruby package. - * - * Generated from protobuf field optional string ruby_package = 45; - * @param string $var - * @return $this - */ - public function setRubyPackage($var) - { - GPBUtil::checkString($var, True); - $this->ruby_package = $var; - - return $this; - } - - /** - * The parser stores options it doesn't recognize here. - * See the documentation for the "Options" section above. - * - * Generated from protobuf field repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getUninterpretedOption() - { - return $this->uninterpreted_option; - } - - /** - * The parser stores options it doesn't recognize here. - * See the documentation for the "Options" section above. - * - * Generated from protobuf field repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; - * @param array<\Google\Protobuf\Internal\UninterpretedOption>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setUninterpretedOption($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Protobuf\Internal\UninterpretedOption::class); - $this->uninterpreted_option = $arr; - - return $this; - } - -} - diff --git a/vendor/google/protobuf/src/Google/Protobuf/Internal/FileOptions/OptimizeMode.php b/vendor/google/protobuf/src/Google/Protobuf/Internal/FileOptions/OptimizeMode.php deleted file mode 100644 index 0df27b533..000000000 --- a/vendor/google/protobuf/src/Google/Protobuf/Internal/FileOptions/OptimizeMode.php +++ /dev/null @@ -1,64 +0,0 @@ -google.protobuf.FileOptions.OptimizeMode - */ -class OptimizeMode -{ - /** - * Generate complete code for parsing, serialization, - * - * Generated from protobuf enum SPEED = 1; - */ - const SPEED = 1; - /** - * etc. - * - * Generated from protobuf enum CODE_SIZE = 2; - */ - const CODE_SIZE = 2; - /** - * Generate code using MessageLite and the lite runtime. - * - * Generated from protobuf enum LITE_RUNTIME = 3; - */ - const LITE_RUNTIME = 3; - - private static $valueToName = [ - self::SPEED => 'SPEED', - self::CODE_SIZE => 'CODE_SIZE', - self::LITE_RUNTIME => 'LITE_RUNTIME', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(OptimizeMode::class, \Google\Protobuf\Internal\FileOptions_OptimizeMode::class); - diff --git a/vendor/google/protobuf/src/Google/Protobuf/Internal/FileOptions_OptimizeMode.php b/vendor/google/protobuf/src/Google/Protobuf/Internal/FileOptions_OptimizeMode.php deleted file mode 100644 index 8926e63ba..000000000 --- a/vendor/google/protobuf/src/Google/Protobuf/Internal/FileOptions_OptimizeMode.php +++ /dev/null @@ -1,16 +0,0 @@ -writeRaw("\"", 1); - $field_name = GPBJsonWire::formatFieldName($field); - $output->writeRaw($field_name, strlen($field_name)); - $output->writeRaw("\":", 2); - } - return static::serializeFieldValueToStream( - $value, - $field, - $output, - !$has_field_name); - } - - public static function serializeFieldValueToStream( - $values, - $field, - &$output, - $is_well_known = false) - { - if ($field->isMap()) { - $output->writeRaw("{", 1); - $first = true; - $map_entry = $field->getMessageType(); - $key_field = $map_entry->getFieldByNumber(1); - $value_field = $map_entry->getFieldByNumber(2); - - switch ($key_field->getType()) { - case GPBType::STRING: - case GPBType::SFIXED64: - case GPBType::INT64: - case GPBType::SINT64: - case GPBType::FIXED64: - case GPBType::UINT64: - $additional_quote = false; - break; - default: - $additional_quote = true; - } - - foreach ($values as $key => $value) { - if ($first) { - $first = false; - } else { - $output->writeRaw(",", 1); - } - if ($additional_quote) { - $output->writeRaw("\"", 1); - } - if (!static::serializeSingularFieldValueToStream( - $key, - $key_field, - $output, - $is_well_known)) { - return false; - } - if ($additional_quote) { - $output->writeRaw("\"", 1); - } - $output->writeRaw(":", 1); - if (!static::serializeSingularFieldValueToStream( - $value, - $value_field, - $output, - $is_well_known)) { - return false; - } - } - $output->writeRaw("}", 1); - return true; - } elseif ($field->isRepeated()) { - $output->writeRaw("[", 1); - $first = true; - foreach ($values as $value) { - if ($first) { - $first = false; - } else { - $output->writeRaw(",", 1); - } - if (!static::serializeSingularFieldValueToStream( - $value, - $field, - $output, - $is_well_known)) { - return false; - } - } - $output->writeRaw("]", 1); - return true; - } else { - return static::serializeSingularFieldValueToStream( - $values, - $field, - $output, - $is_well_known); - } - } - - private static function serializeSingularFieldValueToStream( - $value, - $field, - &$output, $is_well_known = false) - { - switch ($field->getType()) { - case GPBType::SFIXED32: - case GPBType::SINT32: - case GPBType::INT32: - $str_value = strval($value); - $output->writeRaw($str_value, strlen($str_value)); - break; - case GPBType::FIXED32: - case GPBType::UINT32: - if ($value < 0) { - $value = bcadd($value, "4294967296"); - } - $str_value = strval($value); - $output->writeRaw($str_value, strlen($str_value)); - break; - case GPBType::FIXED64: - case GPBType::UINT64: - if ($value < 0) { - $value = bcadd($value, "18446744073709551616"); - } - // Intentional fall through. - case GPBType::SFIXED64: - case GPBType::INT64: - case GPBType::SINT64: - $output->writeRaw("\"", 1); - $str_value = strval($value); - $output->writeRaw($str_value, strlen($str_value)); - $output->writeRaw("\"", 1); - break; - case GPBType::FLOAT: - if (is_nan($value)) { - $str_value = "\"NaN\""; - } elseif ($value === INF) { - $str_value = "\"Infinity\""; - } elseif ($value === -INF) { - $str_value = "\"-Infinity\""; - } else { - $str_value = sprintf("%.8g", $value); - } - $output->writeRaw($str_value, strlen($str_value)); - break; - case GPBType::DOUBLE: - if (is_nan($value)) { - $str_value = "\"NaN\""; - } elseif ($value === INF) { - $str_value = "\"Infinity\""; - } elseif ($value === -INF) { - $str_value = "\"-Infinity\""; - } else { - $str_value = sprintf("%.17g", $value); - } - $output->writeRaw($str_value, strlen($str_value)); - break; - case GPBType::ENUM: - $enum_desc = $field->getEnumType(); - if ($enum_desc->getClass() === "Google\Protobuf\NullValue") { - $output->writeRaw("null", 4); - break; - } - $enum_value_desc = $enum_desc->getValueByNumber($value); - if (!is_null($enum_value_desc)) { - $str_value = $enum_value_desc->getName(); - $output->writeRaw("\"", 1); - $output->writeRaw($str_value, strlen($str_value)); - $output->writeRaw("\"", 1); - } else { - $str_value = strval($value); - $output->writeRaw($str_value, strlen($str_value)); - } - break; - case GPBType::BOOL: - if ($value) { - $output->writeRaw("true", 4); - } else { - $output->writeRaw("false", 5); - } - break; - case GPBType::BYTES: - $bytes_value = base64_encode($value); - $output->writeRaw("\"", 1); - $output->writeRaw($bytes_value, strlen($bytes_value)); - $output->writeRaw("\"", 1); - break; - case GPBType::STRING: - $value = json_encode($value, JSON_UNESCAPED_UNICODE); - $output->writeRaw($value, strlen($value)); - break; - // case GPBType::GROUP: - // echo "GROUP\xA"; - // trigger_error("Not implemented.", E_ERROR); - // break; - case GPBType::MESSAGE: - $value->serializeToJsonStream($output); - break; - default: - user_error("Unsupported type."); - return false; - } - return true; - } - - private static function formatFieldName($field) - { - return $field->getJsonName(); - } - - // Used for escaping control chars in strings. - private static $k_control_char_limit = 0x20; - - private static function jsonNiceEscape($c) - { - switch ($c) { - case '"': return "\\\""; - case '\\': return "\\\\"; - case '/': return "\\/"; - case '\b': return "\\b"; - case '\f': return "\\f"; - case '\n': return "\\n"; - case '\r': return "\\r"; - case '\t': return "\\t"; - default: return NULL; - } - } - - private static function isJsonEscaped($c) - { - // See RFC 4627. - return $c < chr($k_control_char_limit) || $c === "\"" || $c === "\\"; - } - - public static function escapedJson($value) - { - $escaped_value = ""; - $unescaped_run = ""; - for ($i = 0; $i < strlen($value); $i++) { - $c = $value[$i]; - // Handle escaping. - if (static::isJsonEscaped($c)) { - // Use a "nice" escape, like \n, if one exists for this - // character. - $escape = static::jsonNiceEscape($c); - if (is_null($escape)) { - $escape = "\\u00" . bin2hex($c); - } - if ($unescaped_run !== "") { - $escaped_value .= $unescaped_run; - $unescaped_run = ""; - } - $escaped_value .= $escape; - } else { - if ($unescaped_run === "") { - $unescaped_run .= $c; - } - } - } - $escaped_value .= $unescaped_run; - return $escaped_value; - } - -} diff --git a/vendor/google/protobuf/src/Google/Protobuf/Internal/GPBLabel.php b/vendor/google/protobuf/src/Google/Protobuf/Internal/GPBLabel.php deleted file mode 100644 index 0fb238415..000000000 --- a/vendor/google/protobuf/src/Google/Protobuf/Internal/GPBLabel.php +++ /dev/null @@ -1,40 +0,0 @@ - 0) { - $high = (int) bcsub($high, 4294967296); - } else { - $high = (int) $high; - } - if (bccomp($low, 2147483647) > 0) { - $low = (int) bcsub($low, 4294967296); - } else { - $low = (int) $low; - } - - if ($isNeg) { - $high = ~$high; - $low = ~$low; - $low++; - if (!$low) { - $high = (int)($high + 1); - } - } - - if ($trim) { - $high = 0; - } - } - - public static function checkString(&$var, $check_utf8) - { - if (is_array($var) || is_object($var)) { - throw new \InvalidArgumentException("Expect string."); - } - if (!is_string($var)) { - $var = strval($var); - } - if ($check_utf8 && !preg_match('//u', $var)) { - throw new \Exception("Expect utf-8 encoding."); - } - } - - public static function checkEnum(&$var) - { - static::checkInt32($var); - } - - public static function checkInt32(&$var) - { - if (is_numeric($var)) { - $var = intval($var); - } else { - throw new \Exception("Expect integer."); - } - } - - public static function checkUint32(&$var) - { - if (is_numeric($var)) { - if (PHP_INT_SIZE === 8) { - $var = intval($var); - $var |= ((-(($var >> 31) & 0x1)) & ~0xFFFFFFFF); - } else { - if (bccomp($var, 0x7FFFFFFF) > 0) { - $var = bcsub($var, "4294967296"); - } - $var = (int) $var; - } - } else { - throw new \Exception("Expect integer."); - } - } - - public static function checkInt64(&$var) - { - if (is_numeric($var)) { - if (PHP_INT_SIZE == 8) { - $var = intval($var); - } else { - if (is_float($var) || - is_integer($var) || - (is_string($var) && - bccomp($var, "9223372036854774784") < 0)) { - $var = number_format($var, 0, ".", ""); - } - } - } else { - throw new \Exception("Expect integer."); - } - } - - public static function checkUint64(&$var) - { - if (is_numeric($var)) { - if (PHP_INT_SIZE == 8) { - $var = intval($var); - } else { - $var = number_format($var, 0, ".", ""); - } - } else { - throw new \Exception("Expect integer."); - } - } - - public static function checkFloat(&$var) - { - if (is_float($var) || is_numeric($var)) { - $var = unpack("f", pack("f", $var))[1]; - } else { - throw new \Exception("Expect float."); - } - } - - public static function checkDouble(&$var) - { - if (is_float($var) || is_numeric($var)) { - $var = floatval($var); - } else { - throw new \Exception("Expect float."); - } - } - - public static function checkBool(&$var) - { - if (is_array($var) || is_object($var)) { - throw new \Exception("Expect boolean."); - } - $var = boolval($var); - } - - public static function checkMessage(&$var, $klass, $newClass = null) - { - if (!$var instanceof $klass && !is_null($var)) { - throw new \Exception("Expect $klass."); - } - } - - public static function checkRepeatedField(&$var, $type, $klass = null) - { - if (!$var instanceof RepeatedField && !is_array($var)) { - throw new \Exception("Expect array."); - } - if (is_array($var)) { - $tmp = new RepeatedField($type, $klass); - foreach ($var as $value) { - $tmp[] = $value; - } - return $tmp; - } else { - if ($var->getType() != $type) { - throw new \Exception( - "Expect repeated field of different type."); - } - if ($var->getType() === GPBType::MESSAGE && - $var->getClass() !== $klass && - $var->getLegacyClass() !== $klass) { - throw new \Exception( - "Expect repeated field of " . $klass . "."); - } - return $var; - } - } - - public static function checkMapField(&$var, $key_type, $value_type, $klass = null) - { - if (!$var instanceof MapField && !is_array($var)) { - throw new \Exception("Expect dict."); - } - if (is_array($var)) { - $tmp = new MapField($key_type, $value_type, $klass); - foreach ($var as $key => $value) { - $tmp[$key] = $value; - } - return $tmp; - } else { - if ($var->getKeyType() != $key_type) { - throw new \Exception("Expect map field of key type."); - } - if ($var->getValueType() != $value_type) { - throw new \Exception("Expect map field of value type."); - } - if ($var->getValueType() === GPBType::MESSAGE && - $var->getValueClass() !== $klass && - $var->getLegacyValueClass() !== $klass) { - throw new \Exception( - "Expect map field of " . $klass . "."); - } - return $var; - } - } - - public static function Int64($value) - { - return new Int64($value); - } - - public static function Uint64($value) - { - return new Uint64($value); - } - - public static function getClassNamePrefix( - $classname, - $file_proto) - { - $option = $file_proto->getOptions(); - $prefix = is_null($option) ? "" : $option->getPhpClassPrefix(); - if ($prefix !== "") { - return $prefix; - } - - $reserved_words = array( - "abstract"=>0, "and"=>0, "array"=>0, "as"=>0, "break"=>0, - "callable"=>0, "case"=>0, "catch"=>0, "class"=>0, "clone"=>0, - "const"=>0, "continue"=>0, "declare"=>0, "default"=>0, "die"=>0, - "do"=>0, "echo"=>0, "else"=>0, "elseif"=>0, "empty"=>0, - "enddeclare"=>0, "endfor"=>0, "endforeach"=>0, "endif"=>0, - "endswitch"=>0, "endwhile"=>0, "eval"=>0, "exit"=>0, "extends"=>0, - "final"=>0, "finally"=>0, "fn"=>0, "for"=>0, "foreach"=>0, - "function"=>0, "global"=>0, "goto"=>0, "if"=>0, "implements"=>0, - "include"=>0, "include_once"=>0, "instanceof"=>0, "insteadof"=>0, - "interface"=>0, "isset"=>0, "list"=>0, "match"=>0, "namespace"=>0, - "new"=>0, "or"=>0, "parent"=>0, "print"=>0, "private"=>0, - "protected"=>0,"public"=>0, "readonly" => 0,"require"=>0, - "require_once"=>0,"return"=>0, "self"=>0, "static"=>0, "switch"=>0, - "throw"=>0,"trait"=>0, "try"=>0,"unset"=>0, "use"=>0, "var"=>0, - "while"=>0,"xor"=>0, "yield"=>0, "int"=>0, "float"=>0, "bool"=>0, - "string"=>0,"true"=>0, "false"=>0, "null"=>0, "void"=>0, - "iterable"=>0 - ); - - if (array_key_exists(strtolower($classname), $reserved_words)) { - if ($file_proto->getPackage() === "google.protobuf") { - return "GPB"; - } else { - return "PB"; - } - } - - return ""; - } - - private static function getPreviouslyUnreservedClassNamePrefix( - $classname, - $file_proto) - { - $previously_unreserved_words = array( - "readonly"=>0 - ); - - if (array_key_exists(strtolower($classname), $previously_unreserved_words)) { - $option = $file_proto->getOptions(); - $prefix = is_null($option) ? "" : $option->getPhpClassPrefix(); - if ($prefix !== "") { - return $prefix; - } - - return ""; - } - - return self::getClassNamePrefix($classname, $file_proto); - } - - public static function getLegacyClassNameWithoutPackage( - $name, - $file_proto) - { - $classname = implode('_', explode('.', $name)); - return static::getClassNamePrefix($classname, $file_proto) . $classname; - } - - public static function getClassNameWithoutPackage( - $name, - $file_proto) - { - $parts = explode('.', $name); - foreach ($parts as $i => $part) { - $parts[$i] = static::getClassNamePrefix($parts[$i], $file_proto) . $parts[$i]; - } - return implode('\\', $parts); - } - - private static function getPreviouslyUnreservedClassNameWithoutPackage( - $name, - $file_proto) - { - $parts = explode('.', $name); - foreach ($parts as $i => $part) { - $parts[$i] = static::getPreviouslyUnreservedClassNamePrefix($parts[$i], $file_proto) . $parts[$i]; - } - return implode('\\', $parts); - } - - public static function getFullClassName( - $proto, - $containing, - $file_proto, - &$message_name_without_package, - &$classname, - &$legacy_classname, - &$fullname, - &$previous_classname) - { - // Full name needs to start with '.'. - $message_name_without_package = $proto->getName(); - if ($containing !== "") { - $message_name_without_package = - $containing . "." . $message_name_without_package; - } - - $package = $file_proto->getPackage(); - if ($package === "") { - $fullname = $message_name_without_package; - } else { - $fullname = $package . "." . $message_name_without_package; - } - - $class_name_without_package = - static::getClassNameWithoutPackage($message_name_without_package, $file_proto); - $legacy_class_name_without_package = - static::getLegacyClassNameWithoutPackage( - $message_name_without_package, $file_proto); - $previous_class_name_without_package = - static::getPreviouslyUnreservedClassNameWithoutPackage( - $message_name_without_package, $file_proto); - - $option = $file_proto->getOptions(); - if (!is_null($option) && $option->hasPhpNamespace()) { - $namespace = $option->getPhpNamespace(); - if ($namespace !== "") { - $classname = $namespace . "\\" . $class_name_without_package; - $legacy_classname = - $namespace . "\\" . $legacy_class_name_without_package; - $previous_classname = - $namespace . "\\" . $previous_class_name_without_package; - return; - } else { - $classname = $class_name_without_package; - $legacy_classname = $legacy_class_name_without_package; - $previous_classname = $previous_class_name_without_package; - return; - } - } - - if ($package === "") { - $classname = $class_name_without_package; - $legacy_classname = $legacy_class_name_without_package; - $previous_classname = $previous_class_name_without_package; - } else { - $parts = array_map('ucwords', explode('.', $package)); - foreach ($parts as $i => $part) { - $parts[$i] = self::getClassNamePrefix($part, $file_proto).$part; - } - $classname = - implode('\\', $parts) . - "\\".self::getClassNamePrefix($class_name_without_package,$file_proto). - $class_name_without_package; - $legacy_classname = - implode('\\', array_map('ucwords', explode('.', $package))). - "\\".$legacy_class_name_without_package; - $previous_classname = - implode('\\', array_map('ucwords', explode('.', $package))). - "\\".self::getPreviouslyUnreservedClassNamePrefix( - $previous_class_name_without_package, $file_proto). - $previous_class_name_without_package; - } - } - - public static function combineInt32ToInt64($high, $low) - { - $isNeg = $high < 0; - if ($isNeg) { - $high = ~$high; - $low = ~$low; - $low++; - if (!$low) { - $high = (int) ($high + 1); - } - } - $result = bcadd(bcmul($high, 4294967296), $low); - if ($low < 0) { - $result = bcadd($result, 4294967296); - } - if ($isNeg) { - $result = bcsub(0, $result); - } - return $result; - } - - public static function parseTimestamp($timestamp) - { - // prevent parsing timestamps containing with the non-existent year "0000" - // DateTime::createFromFormat parses without failing but as a nonsensical date - if (substr($timestamp, 0, 4) === "0000") { - throw new \Exception("Year cannot be zero."); - } - // prevent parsing timestamps ending with a lowercase z - if (substr($timestamp, -1, 1) === "z") { - throw new \Exception("Timezone cannot be a lowercase z."); - } - - $nanoseconds = 0; - $periodIndex = strpos($timestamp, "."); - if ($periodIndex !== false) { - $nanosecondsLength = 0; - // find the next non-numeric character in the timestamp to calculate - // the length of the nanoseconds text - for ($i = $periodIndex + 1, $length = strlen($timestamp); $i < $length; $i++) { - if (!is_numeric($timestamp[$i])) { - $nanosecondsLength = $i - ($periodIndex + 1); - break; - } - } - if ($nanosecondsLength % 3 !== 0) { - throw new \Exception("Nanoseconds must be disible by 3."); - } - if ($nanosecondsLength > 9) { - throw new \Exception("Nanoseconds must be in the range of 0 to 999,999,999 nanoseconds."); - } - if ($nanosecondsLength > 0) { - $nanoseconds = substr($timestamp, $periodIndex + 1, $nanosecondsLength); - $nanoseconds = intval($nanoseconds); - - // remove the nanoseconds and preceding period from the timestamp - $date = substr($timestamp, 0, $periodIndex); - $timezone = substr($timestamp, $periodIndex + $nanosecondsLength + 1); - $timestamp = $date.$timezone; - } - } - - $date = \DateTime::createFromFormat(\DateTime::RFC3339, $timestamp, new \DateTimeZone("UTC")); - if ($date === false) { - throw new \Exception("Invalid RFC 3339 timestamp."); - } - - $value = new \Google\Protobuf\Timestamp(); - $seconds = $date->format("U"); - $value->setSeconds($seconds); - $value->setNanos($nanoseconds); - return $value; - } - - public static function formatTimestamp($value) - { - if (bccomp($value->getSeconds(), "253402300800") != -1) { - throw new GPBDecodeException("Duration number too large."); - } - if (bccomp($value->getSeconds(), "-62135596801") != 1) { - throw new GPBDecodeException("Duration number too small."); - } - $nanoseconds = static::getNanosecondsForTimestamp($value->getNanos()); - if (!empty($nanoseconds)) { - $nanoseconds = ".".$nanoseconds; - } - $date = new \DateTime('@'.$value->getSeconds(), new \DateTimeZone("UTC")); - return $date->format("Y-m-d\TH:i:s".$nanoseconds."\Z"); - } - - public static function parseDuration($value) - { - if (strlen($value) < 2 || substr($value, -1) !== "s") { - throw new GPBDecodeException("Missing s after duration string"); - } - $number = substr($value, 0, -1); - if (bccomp($number, "315576000001") != -1) { - throw new GPBDecodeException("Duration number too large."); - } - if (bccomp($number, "-315576000001") != 1) { - throw new GPBDecodeException("Duration number too small."); - } - $pos = strrpos($number, "."); - if ($pos !== false) { - $seconds = substr($number, 0, $pos); - if (bccomp($seconds, 0) < 0) { - $nanos = bcmul("0" . substr($number, $pos), -1000000000); - } else { - $nanos = bcmul("0" . substr($number, $pos), 1000000000); - } - } else { - $seconds = $number; - $nanos = 0; - } - $duration = new Duration(); - $duration->setSeconds($seconds); - $duration->setNanos($nanos); - return $duration; - } - - public static function formatDuration($value) - { - if (bccomp($value->getSeconds(), '315576000001') != -1) { - throw new GPBDecodeException('Duration number too large.'); - } - if (bccomp($value->getSeconds(), '-315576000001') != 1) { - throw new GPBDecodeException('Duration number too small.'); - } - - $nanos = $value->getNanos(); - if ($nanos === 0) { - return (string) $value->getSeconds(); - } - - if ($nanos % 1000000 === 0) { - $digits = 3; - } elseif ($nanos % 1000 === 0) { - $digits = 6; - } else { - $digits = 9; - } - - $nanos = bcdiv($nanos, '1000000000', $digits); - return bcadd($value->getSeconds(), $nanos, $digits); - } - - public static function parseFieldMask($paths_string) - { - $field_mask = new FieldMask(); - if (strlen($paths_string) === 0) { - return $field_mask; - } - $path_strings = explode(",", $paths_string); - $paths = $field_mask->getPaths(); - foreach($path_strings as &$path_string) { - $field_strings = explode(".", $path_string); - foreach($field_strings as &$field_string) { - $field_string = camel2underscore($field_string); - } - $path_string = implode(".", $field_strings); - $paths[] = $path_string; - } - return $field_mask; - } - - public static function formatFieldMask($field_mask) - { - $converted_paths = []; - foreach($field_mask->getPaths() as $path) { - $fields = explode('.', $path); - $converted_path = []; - foreach ($fields as $field) { - $segments = explode('_', $field); - $start = true; - $converted_segments = ""; - foreach($segments as $segment) { - if (!$start) { - $converted = ucfirst($segment); - } else { - $converted = $segment; - $start = false; - } - $converted_segments .= $converted; - } - $converted_path []= $converted_segments; - } - $converted_path = implode(".", $converted_path); - $converted_paths []= $converted_path; - } - return implode(",", $converted_paths); - } - - public static function getNanosecondsForTimestamp($nanoseconds) - { - if ($nanoseconds == 0) { - return ''; - } - if ($nanoseconds % static::NANOS_PER_MILLISECOND == 0) { - return sprintf('%03d', $nanoseconds / static::NANOS_PER_MILLISECOND); - } - if ($nanoseconds % static::NANOS_PER_MICROSECOND == 0) { - return sprintf('%06d', $nanoseconds / static::NANOS_PER_MICROSECOND); - } - return sprintf('%09d', $nanoseconds); - } - - public static function hasSpecialJsonMapping($msg) - { - return is_a($msg, 'Google\Protobuf\Any') || - is_a($msg, "Google\Protobuf\ListValue") || - is_a($msg, "Google\Protobuf\Struct") || - is_a($msg, "Google\Protobuf\Value") || - is_a($msg, "Google\Protobuf\Duration") || - is_a($msg, "Google\Protobuf\Timestamp") || - is_a($msg, "Google\Protobuf\FieldMask") || - static::hasJsonValue($msg); - } - - public static function hasJsonValue($msg) - { - return is_a($msg, "Google\Protobuf\DoubleValue") || - is_a($msg, "Google\Protobuf\FloatValue") || - is_a($msg, "Google\Protobuf\Int64Value") || - is_a($msg, "Google\Protobuf\UInt64Value") || - is_a($msg, "Google\Protobuf\Int32Value") || - is_a($msg, "Google\Protobuf\UInt32Value") || - is_a($msg, "Google\Protobuf\BoolValue") || - is_a($msg, "Google\Protobuf\StringValue") || - is_a($msg, "Google\Protobuf\BytesValue"); - } -} diff --git a/vendor/google/protobuf/src/Google/Protobuf/Internal/GPBWire.php b/vendor/google/protobuf/src/Google/Protobuf/Internal/GPBWire.php deleted file mode 100644 index 034f5df92..000000000 --- a/vendor/google/protobuf/src/Google/Protobuf/Internal/GPBWire.php +++ /dev/null @@ -1,622 +0,0 @@ -> self::TAG_TYPE_BITS) & 0x1fffffff; - } - - public static function getTagWireType($tag) - { - return $tag & 0x7; - } - - public static function getWireType($type) - { - switch ($type) { - case GPBType::FLOAT: - case GPBType::FIXED32: - case GPBType::SFIXED32: - return self::WIRETYPE_FIXED32; - case GPBType::DOUBLE: - case GPBType::FIXED64: - case GPBType::SFIXED64: - return self::WIRETYPE_FIXED64; - case GPBType::UINT32: - case GPBType::UINT64: - case GPBType::INT32: - case GPBType::INT64: - case GPBType::SINT32: - case GPBType::SINT64: - case GPBType::ENUM: - case GPBType::BOOL: - return self::WIRETYPE_VARINT; - case GPBType::STRING: - case GPBType::BYTES: - case GPBType::MESSAGE: - return self::WIRETYPE_LENGTH_DELIMITED; - case GPBType::GROUP: - user_error("Unsupported type."); - return 0; - default: - user_error("Unsupported type."); - return 0; - } - } - - // ZigZag Transform: Encodes signed integers so that they can be effectively - // used with varint encoding. - // - // varint operates on unsigned integers, encoding smaller numbers into fewer - // bytes. If you try to use it on a signed integer, it will treat this - // number as a very large unsigned integer, which means that even small - // signed numbers like -1 will take the maximum number of bytes (10) to - // encode. zigZagEncode() maps signed integers to unsigned in such a way - // that those with a small absolute value will have smaller encoded values, - // making them appropriate for encoding using varint. - // - // int32 -> uint32 - // ------------------------- - // 0 -> 0 - // -1 -> 1 - // 1 -> 2 - // -2 -> 3 - // ... -> ... - // 2147483647 -> 4294967294 - // -2147483648 -> 4294967295 - // - // >> encode >> - // << decode << - public static function zigZagEncode32($int32) - { - if (PHP_INT_SIZE == 8) { - $trim_int32 = $int32 & 0xFFFFFFFF; - return (($trim_int32 << 1) ^ ($int32 << 32 >> 63)) & 0xFFFFFFFF; - } else { - return ($int32 << 1) ^ ($int32 >> 31); - } - } - - public static function zigZagDecode32($uint32) - { - // Fill high 32 bits. - if (PHP_INT_SIZE === 8) { - $uint32 |= ($uint32 & 0xFFFFFFFF); - } - - $int32 = (($uint32 >> 1) & 0x7FFFFFFF) ^ (-($uint32 & 1)); - - return $int32; - } - - public static function zigZagEncode64($int64) - { - if (PHP_INT_SIZE == 4) { - if (bccomp($int64, 0) >= 0) { - return bcmul($int64, 2); - } else { - return bcsub(bcmul(bcsub(0, $int64), 2), 1); - } - } else { - return ((int)$int64 << 1) ^ ((int)$int64 >> 63); - } - } - - public static function zigZagDecode64($uint64) - { - if (PHP_INT_SIZE == 4) { - if (bcmod($uint64, 2) == 0) { - return bcdiv($uint64, 2, 0); - } else { - return bcsub(0, bcdiv(bcadd($uint64, 1), 2, 0)); - } - } else { - return (($uint64 >> 1) & 0x7FFFFFFFFFFFFFFF) ^ (-($uint64 & 1)); - } - } - - public static function readInt32(&$input, &$value) - { - return $input->readVarint32($value); - } - - public static function readInt64(&$input, &$value) - { - $success = $input->readVarint64($value); - if (PHP_INT_SIZE == 4 && bccomp($value, "9223372036854775807") > 0) { - $value = bcsub($value, "18446744073709551616"); - } - return $success; - } - - public static function readUint32(&$input, &$value) - { - return self::readInt32($input, $value); - } - - public static function readUint64(&$input, &$value) - { - return self::readInt64($input, $value); - } - - public static function readSint32(&$input, &$value) - { - if (!$input->readVarint32($value)) { - return false; - } - $value = GPBWire::zigZagDecode32($value); - return true; - } - - public static function readSint64(&$input, &$value) - { - if (!$input->readVarint64($value)) { - return false; - } - $value = GPBWire::zigZagDecode64($value); - return true; - } - - public static function readFixed32(&$input, &$value) - { - return $input->readLittleEndian32($value); - } - - public static function readFixed64(&$input, &$value) - { - return $input->readLittleEndian64($value); - } - - public static function readSfixed32(&$input, &$value) - { - if (!self::readFixed32($input, $value)) { - return false; - } - if (PHP_INT_SIZE === 8) { - $value |= (-($value >> 31) << 32); - } - return true; - } - - public static function readSfixed64(&$input, &$value) - { - $success = $input->readLittleEndian64($value); - if (PHP_INT_SIZE == 4 && bccomp($value, "9223372036854775807") > 0) { - $value = bcsub($value, "18446744073709551616"); - } - return $success; - } - - public static function readFloat(&$input, &$value) - { - $data = null; - if (!$input->readRaw(4, $data)) { - return false; - } - $value = unpack('f', $data)[1]; - return true; - } - - public static function readDouble(&$input, &$value) - { - $data = null; - if (!$input->readRaw(8, $data)) { - return false; - } - $value = unpack('d', $data)[1]; - return true; - } - - public static function readBool(&$input, &$value) - { - if (!$input->readVarint64($value)) { - return false; - } - if ($value == 0) { - $value = false; - } else { - $value = true; - } - return true; - } - - public static function readString(&$input, &$value) - { - $length = 0; - return $input->readVarintSizeAsInt($length) && $input->readRaw($length, $value); - } - - public static function readMessage(&$input, &$message) - { - $length = 0; - if (!$input->readVarintSizeAsInt($length)) { - return false; - } - $old_limit = 0; - $recursion_limit = 0; - $input->incrementRecursionDepthAndPushLimit( - $length, - $old_limit, - $recursion_limit); - if ($recursion_limit < 0 || !$message->parseFromStream($input)) { - return false; - } - return $input->decrementRecursionDepthAndPopLimit($old_limit); - } - - public static function writeTag(&$output, $tag) - { - return $output->writeTag($tag); - } - - public static function writeInt32(&$output, $value) - { - return $output->writeVarint32($value, false); - } - - public static function writeInt64(&$output, $value) - { - return $output->writeVarint64($value); - } - - public static function writeUint32(&$output, $value) - { - return $output->writeVarint32($value, true); - } - - public static function writeUint64(&$output, $value) - { - return $output->writeVarint64($value); - } - - public static function writeSint32(&$output, $value) - { - $value = GPBWire::zigZagEncode32($value); - return $output->writeVarint32($value, true); - } - - public static function writeSint64(&$output, $value) - { - $value = GPBWire::zigZagEncode64($value); - return $output->writeVarint64($value); - } - - public static function writeFixed32(&$output, $value) - { - return $output->writeLittleEndian32($value); - } - - public static function writeFixed64(&$output, $value) - { - return $output->writeLittleEndian64($value); - } - - public static function writeSfixed32(&$output, $value) - { - return $output->writeLittleEndian32($value); - } - - public static function writeSfixed64(&$output, $value) - { - return $output->writeLittleEndian64($value); - } - - public static function writeBool(&$output, $value) - { - if ($value) { - return $output->writeVarint32(1, true); - } else { - return $output->writeVarint32(0, true); - } - } - - public static function writeFloat(&$output, $value) - { - $data = pack("f", $value); - return $output->writeRaw($data, 4); - } - - public static function writeDouble(&$output, $value) - { - $data = pack("d", $value); - return $output->writeRaw($data, 8); - } - - public static function writeString(&$output, $value) - { - return self::writeBytes($output, $value); - } - - public static function writeBytes(&$output, $value) - { - $size = strlen($value); - if (!$output->writeVarint32($size, true)) { - return false; - } - return $output->writeRaw($value, $size); - } - - public static function writeMessage(&$output, $value) - { - $size = $value->byteSize(); - if (!$output->writeVarint32($size, true)) { - return false; - } - return $value->serializeToStream($output); - } - - public static function makeTag($number, $type) - { - return ($number << 3) | self::getWireType($type); - } - - public static function tagSize($field) - { - $tag = self::makeTag($field->getNumber(), $field->getType()); - return self::varint32Size($tag); - } - - public static function varint32Size($value, $sign_extended = false) - { - if ($value < 0) { - if ($sign_extended) { - return 10; - } else { - return 5; - } - } - if ($value < (1 << 7)) { - return 1; - } - if ($value < (1 << 14)) { - return 2; - } - if ($value < (1 << 21)) { - return 3; - } - if ($value < (1 << 28)) { - return 4; - } - return 5; - } - - public static function sint32Size($value) - { - $value = self::zigZagEncode32($value); - return self::varint32Size($value); - } - - public static function sint64Size($value) - { - $value = self::zigZagEncode64($value); - return self::varint64Size($value); - } - - public static function varint64Size($value) - { - if (PHP_INT_SIZE == 4) { - if (bccomp($value, 0) < 0 || - bccomp($value, "9223372036854775807") > 0) { - return 10; - } - if (bccomp($value, 1 << 7) < 0) { - return 1; - } - if (bccomp($value, 1 << 14) < 0) { - return 2; - } - if (bccomp($value, 1 << 21) < 0) { - return 3; - } - if (bccomp($value, 1 << 28) < 0) { - return 4; - } - if (bccomp($value, '34359738368') < 0) { - return 5; - } - if (bccomp($value, '4398046511104') < 0) { - return 6; - } - if (bccomp($value, '562949953421312') < 0) { - return 7; - } - if (bccomp($value, '72057594037927936') < 0) { - return 8; - } - return 9; - } else { - if ($value < 0) { - return 10; - } - if ($value < (1 << 7)) { - return 1; - } - if ($value < (1 << 14)) { - return 2; - } - if ($value < (1 << 21)) { - return 3; - } - if ($value < (1 << 28)) { - return 4; - } - if ($value < (1 << 35)) { - return 5; - } - if ($value < (1 << 42)) { - return 6; - } - if ($value < (1 << 49)) { - return 7; - } - if ($value < (1 << 56)) { - return 8; - } - return 9; - } - } - - public static function serializeFieldToStream( - $value, - $field, - $need_tag, - &$output) - { - if ($need_tag) { - if (!GPBWire::writeTag( - $output, - self::makeTag( - $field->getNumber(), - $field->getType()))) { - return false; - } - } - switch ($field->getType()) { - case GPBType::DOUBLE: - if (!GPBWire::writeDouble($output, $value)) { - return false; - } - break; - case GPBType::FLOAT: - if (!GPBWire::writeFloat($output, $value)) { - return false; - } - break; - case GPBType::INT64: - if (!GPBWire::writeInt64($output, $value)) { - return false; - } - break; - case GPBType::UINT64: - if (!GPBWire::writeUint64($output, $value)) { - return false; - } - break; - case GPBType::INT32: - if (!GPBWire::writeInt32($output, $value)) { - return false; - } - break; - case GPBType::FIXED32: - if (!GPBWire::writeFixed32($output, $value)) { - return false; - } - break; - case GPBType::FIXED64: - if (!GPBWire::writeFixed64($output, $value)) { - return false; - } - break; - case GPBType::BOOL: - if (!GPBWire::writeBool($output, $value)) { - return false; - } - break; - case GPBType::STRING: - if (!GPBWire::writeString($output, $value)) { - return false; - } - break; - // case GPBType::GROUP: - // echo "GROUP\xA"; - // trigger_error("Not implemented.", E_ERROR); - // break; - case GPBType::MESSAGE: - if (!GPBWire::writeMessage($output, $value)) { - return false; - } - break; - case GPBType::BYTES: - if (!GPBWire::writeBytes($output, $value)) { - return false; - } - break; - case GPBType::UINT32: - if (PHP_INT_SIZE === 8 && $value < 0) { - $value += 4294967296; - } - if (!GPBWire::writeUint32($output, $value)) { - return false; - } - break; - case GPBType::ENUM: - if (!GPBWire::writeInt32($output, $value)) { - return false; - } - break; - case GPBType::SFIXED32: - if (!GPBWire::writeSfixed32($output, $value)) { - return false; - } - break; - case GPBType::SFIXED64: - if (!GPBWire::writeSfixed64($output, $value)) { - return false; - } - break; - case GPBType::SINT32: - if (!GPBWire::writeSint32($output, $value)) { - return false; - } - break; - case GPBType::SINT64: - if (!GPBWire::writeSint64($output, $value)) { - return false; - } - break; - default: - user_error("Unsupported type."); - return false; - } - - return true; - } -} diff --git a/vendor/google/protobuf/src/Google/Protobuf/Internal/GPBWireType.php b/vendor/google/protobuf/src/Google/Protobuf/Internal/GPBWireType.php deleted file mode 100644 index c1ad370e0..000000000 --- a/vendor/google/protobuf/src/Google/Protobuf/Internal/GPBWireType.php +++ /dev/null @@ -1,43 +0,0 @@ -google.protobuf.GeneratedCodeInfo - */ -class GeneratedCodeInfo extends \Google\Protobuf\Internal\Message -{ - /** - * An Annotation connects some span of text in generated code to an element - * of its generating .proto file. - * - * Generated from protobuf field repeated .google.protobuf.GeneratedCodeInfo.Annotation annotation = 1; - */ - private $annotation; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Protobuf\Internal\GeneratedCodeInfo\Annotation>|\Google\Protobuf\Internal\RepeatedField $annotation - * An Annotation connects some span of text in generated code to an element - * of its generating .proto file. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Protobuf\Internal\Descriptor::initOnce(); - parent::__construct($data); - } - - /** - * An Annotation connects some span of text in generated code to an element - * of its generating .proto file. - * - * Generated from protobuf field repeated .google.protobuf.GeneratedCodeInfo.Annotation annotation = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getAnnotation() - { - return $this->annotation; - } - - /** - * An Annotation connects some span of text in generated code to an element - * of its generating .proto file. - * - * Generated from protobuf field repeated .google.protobuf.GeneratedCodeInfo.Annotation annotation = 1; - * @param array<\Google\Protobuf\Internal\GeneratedCodeInfo\Annotation>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setAnnotation($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Protobuf\Internal\GeneratedCodeInfo\Annotation::class); - $this->annotation = $arr; - - return $this; - } - -} - diff --git a/vendor/google/protobuf/src/Google/Protobuf/Internal/GeneratedCodeInfo/Annotation.php b/vendor/google/protobuf/src/Google/Protobuf/Internal/GeneratedCodeInfo/Annotation.php deleted file mode 100644 index b1ef4ee95..000000000 --- a/vendor/google/protobuf/src/Google/Protobuf/Internal/GeneratedCodeInfo/Annotation.php +++ /dev/null @@ -1,255 +0,0 @@ -google.protobuf.GeneratedCodeInfo.Annotation - */ -class Annotation extends \Google\Protobuf\Internal\Message -{ - /** - * Identifies the element in the original source .proto file. This field - * is formatted the same as SourceCodeInfo.Location.path. - * - * Generated from protobuf field repeated int32 path = 1 [packed = true]; - */ - private $path; - /** - * Identifies the filesystem path to the original source .proto. - * - * Generated from protobuf field optional string source_file = 2; - */ - protected $source_file = null; - /** - * Identifies the starting offset in bytes in the generated code - * that relates to the identified object. - * - * Generated from protobuf field optional int32 begin = 3; - */ - protected $begin = null; - /** - * Identifies the ending offset in bytes in the generated code that - * relates to the identified object. The end offset should be one past - * the last relevant byte (so the length of the text = end - begin). - * - * Generated from protobuf field optional int32 end = 4; - */ - protected $end = null; - /** - * Generated from protobuf field optional .google.protobuf.GeneratedCodeInfo.Annotation.Semantic semantic = 5; - */ - protected $semantic = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array|\Google\Protobuf\Internal\RepeatedField $path - * Identifies the element in the original source .proto file. This field - * is formatted the same as SourceCodeInfo.Location.path. - * @type string $source_file - * Identifies the filesystem path to the original source .proto. - * @type int $begin - * Identifies the starting offset in bytes in the generated code - * that relates to the identified object. - * @type int $end - * Identifies the ending offset in bytes in the generated code that - * relates to the identified object. The end offset should be one past - * the last relevant byte (so the length of the text = end - begin). - * @type int $semantic - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Protobuf\Internal\Descriptor::initOnce(); - parent::__construct($data); - } - - /** - * Identifies the element in the original source .proto file. This field - * is formatted the same as SourceCodeInfo.Location.path. - * - * Generated from protobuf field repeated int32 path = 1 [packed = true]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getPath() - { - return $this->path; - } - - /** - * Identifies the element in the original source .proto file. This field - * is formatted the same as SourceCodeInfo.Location.path. - * - * Generated from protobuf field repeated int32 path = 1 [packed = true]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setPath($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::INT32); - $this->path = $arr; - - return $this; - } - - /** - * Identifies the filesystem path to the original source .proto. - * - * Generated from protobuf field optional string source_file = 2; - * @return string - */ - public function getSourceFile() - { - return isset($this->source_file) ? $this->source_file : ''; - } - - public function hasSourceFile() - { - return isset($this->source_file); - } - - public function clearSourceFile() - { - unset($this->source_file); - } - - /** - * Identifies the filesystem path to the original source .proto. - * - * Generated from protobuf field optional string source_file = 2; - * @param string $var - * @return $this - */ - public function setSourceFile($var) - { - GPBUtil::checkString($var, True); - $this->source_file = $var; - - return $this; - } - - /** - * Identifies the starting offset in bytes in the generated code - * that relates to the identified object. - * - * Generated from protobuf field optional int32 begin = 3; - * @return int - */ - public function getBegin() - { - return isset($this->begin) ? $this->begin : 0; - } - - public function hasBegin() - { - return isset($this->begin); - } - - public function clearBegin() - { - unset($this->begin); - } - - /** - * Identifies the starting offset in bytes in the generated code - * that relates to the identified object. - * - * Generated from protobuf field optional int32 begin = 3; - * @param int $var - * @return $this - */ - public function setBegin($var) - { - GPBUtil::checkInt32($var); - $this->begin = $var; - - return $this; - } - - /** - * Identifies the ending offset in bytes in the generated code that - * relates to the identified object. The end offset should be one past - * the last relevant byte (so the length of the text = end - begin). - * - * Generated from protobuf field optional int32 end = 4; - * @return int - */ - public function getEnd() - { - return isset($this->end) ? $this->end : 0; - } - - public function hasEnd() - { - return isset($this->end); - } - - public function clearEnd() - { - unset($this->end); - } - - /** - * Identifies the ending offset in bytes in the generated code that - * relates to the identified object. The end offset should be one past - * the last relevant byte (so the length of the text = end - begin). - * - * Generated from protobuf field optional int32 end = 4; - * @param int $var - * @return $this - */ - public function setEnd($var) - { - GPBUtil::checkInt32($var); - $this->end = $var; - - return $this; - } - - /** - * Generated from protobuf field optional .google.protobuf.GeneratedCodeInfo.Annotation.Semantic semantic = 5; - * @return int - */ - public function getSemantic() - { - return isset($this->semantic) ? $this->semantic : 0; - } - - public function hasSemantic() - { - return isset($this->semantic); - } - - public function clearSemantic() - { - unset($this->semantic); - } - - /** - * Generated from protobuf field optional .google.protobuf.GeneratedCodeInfo.Annotation.Semantic semantic = 5; - * @param int $var - * @return $this - */ - public function setSemantic($var) - { - GPBUtil::checkEnum($var, \Google\Protobuf\Internal\GeneratedCodeInfo\Annotation\Semantic::class); - $this->semantic = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Annotation::class, \Google\Protobuf\Internal\GeneratedCodeInfo_Annotation::class); - diff --git a/vendor/google/protobuf/src/Google/Protobuf/Internal/GeneratedCodeInfo_Annotation.php b/vendor/google/protobuf/src/Google/Protobuf/Internal/GeneratedCodeInfo_Annotation.php deleted file mode 100644 index e36f1e573..000000000 --- a/vendor/google/protobuf/src/Google/Protobuf/Internal/GeneratedCodeInfo_Annotation.php +++ /dev/null @@ -1,16 +0,0 @@ -getPublicDescriptor(); - } -} diff --git a/vendor/google/protobuf/src/Google/Protobuf/Internal/HasPublicDescriptorTrait.php b/vendor/google/protobuf/src/Google/Protobuf/Internal/HasPublicDescriptorTrait.php deleted file mode 100644 index ed5d1660b..000000000 --- a/vendor/google/protobuf/src/Google/Protobuf/Internal/HasPublicDescriptorTrait.php +++ /dev/null @@ -1,43 +0,0 @@ -public_desc; - } -} diff --git a/vendor/google/protobuf/src/Google/Protobuf/Internal/MapEntry.php b/vendor/google/protobuf/src/Google/Protobuf/Internal/MapEntry.php deleted file mode 100644 index e89481f0a..000000000 --- a/vendor/google/protobuf/src/Google/Protobuf/Internal/MapEntry.php +++ /dev/null @@ -1,71 +0,0 @@ -getFieldByNumber(2); - if ($value_field->getType() == GPBType::MESSAGE) { - $klass = $value_field->getMessageType()->getClass(); - $value = new $klass; - $this->setValue($value); - } - } - - public function setKey($key) { - $this->key = $key; - } - - public function getKey() { - return $this->key; - } - - public function setValue($value) { - $this->value = $value; - } - - public function getValue() { - return $this->value; - } -} diff --git a/vendor/google/protobuf/src/Google/Protobuf/Internal/MapField.php b/vendor/google/protobuf/src/Google/Protobuf/Internal/MapField.php deleted file mode 100644 index d413c6d90..000000000 --- a/vendor/google/protobuf/src/Google/Protobuf/Internal/MapField.php +++ /dev/null @@ -1,298 +0,0 @@ -container = []; - $this->key_type = $key_type; - $this->value_type = $value_type; - $this->klass = $klass; - - if ($this->value_type == GPBType::MESSAGE) { - $pool = DescriptorPool::getGeneratedPool(); - $desc = $pool->getDescriptorByClassName($klass); - if ($desc == NULL) { - new $klass; // No msg class instance has been created before. - $desc = $pool->getDescriptorByClassName($klass); - } - $this->klass = $desc->getClass(); - $this->legacy_klass = $desc->getLegacyClass(); - } - } - - /** - * @ignore - */ - public function getKeyType() - { - return $this->key_type; - } - - /** - * @ignore - */ - public function getValueType() - { - return $this->value_type; - } - - /** - * @ignore - */ - public function getValueClass() - { - return $this->klass; - } - - /** - * @ignore - */ - public function getLegacyValueClass() - { - return $this->legacy_klass; - } - - /** - * Return the element at the given key. - * - * This will also be called for: $ele = $arr[$key] - * - * @param int|string $key The key of the element to be fetched. - * @return object The stored element at given key. - * @throws \ErrorException Invalid type for index. - * @throws \ErrorException Non-existing index. - * @todo need to add return type mixed (require update php version to 8.0) - */ - #[\ReturnTypeWillChange] - public function offsetGet($key) - { - return $this->container[$key]; - } - - /** - * Assign the element at the given key. - * - * This will also be called for: $arr[$key] = $value - * - * @param int|string $key The key of the element to be fetched. - * @param object $value The element to be assigned. - * @return void - * @throws \ErrorException Invalid type for key. - * @throws \ErrorException Invalid type for value. - * @throws \ErrorException Non-existing key. - * @todo need to add return type void (require update php version to 7.1) - */ - #[\ReturnTypeWillChange] - public function offsetSet($key, $value) - { - $this->checkKey($this->key_type, $key); - - switch ($this->value_type) { - case GPBType::SFIXED32: - case GPBType::SINT32: - case GPBType::INT32: - case GPBType::ENUM: - GPBUtil::checkInt32($value); - break; - case GPBType::FIXED32: - case GPBType::UINT32: - GPBUtil::checkUint32($value); - break; - case GPBType::SFIXED64: - case GPBType::SINT64: - case GPBType::INT64: - GPBUtil::checkInt64($value); - break; - case GPBType::FIXED64: - case GPBType::UINT64: - GPBUtil::checkUint64($value); - break; - case GPBType::FLOAT: - GPBUtil::checkFloat($value); - break; - case GPBType::DOUBLE: - GPBUtil::checkDouble($value); - break; - case GPBType::BOOL: - GPBUtil::checkBool($value); - break; - case GPBType::STRING: - GPBUtil::checkString($value, true); - break; - case GPBType::MESSAGE: - if (is_null($value)) { - trigger_error("Map element cannot be null.", E_USER_ERROR); - } - GPBUtil::checkMessage($value, $this->klass); - break; - default: - break; - } - - $this->container[$key] = $value; - } - - /** - * Remove the element at the given key. - * - * This will also be called for: unset($arr) - * - * @param int|string $key The key of the element to be removed. - * @return void - * @throws \ErrorException Invalid type for key. - * @todo need to add return type void (require update php version to 7.1) - */ - #[\ReturnTypeWillChange] - public function offsetUnset($key) - { - $this->checkKey($this->key_type, $key); - unset($this->container[$key]); - } - - /** - * Check the existence of the element at the given key. - * - * This will also be called for: isset($arr) - * - * @param int|string $key The key of the element to be removed. - * @return bool True if the element at the given key exists. - * @throws \ErrorException Invalid type for key. - */ - public function offsetExists($key): bool - { - $this->checkKey($this->key_type, $key); - return isset($this->container[$key]); - } - - /** - * @ignore - */ - public function getIterator(): Traversable - { - return new MapFieldIter($this->container, $this->key_type); - } - - /** - * Return the number of stored elements. - * - * This will also be called for: count($arr) - * - * @return integer The number of stored elements. - */ - public function count(): int - { - return count($this->container); - } - - /** - * @ignore - */ - private function checkKey($key_type, &$key) - { - switch ($key_type) { - case GPBType::SFIXED32: - case GPBType::SINT32: - case GPBType::INT32: - GPBUtil::checkInt32($key); - break; - case GPBType::FIXED32: - case GPBType::UINT32: - GPBUtil::checkUint32($key); - break; - case GPBType::SFIXED64: - case GPBType::SINT64: - case GPBType::INT64: - GPBUtil::checkInt64($key); - break; - case GPBType::FIXED64: - case GPBType::UINT64: - GPBUtil::checkUint64($key); - break; - case GPBType::BOOL: - GPBUtil::checkBool($key); - break; - case GPBType::STRING: - GPBUtil::checkString($key, true); - break; - default: - trigger_error( - "Given type cannot be map key.", - E_USER_ERROR); - break; - } - } -} diff --git a/vendor/google/protobuf/src/Google/Protobuf/Internal/MapFieldIter.php b/vendor/google/protobuf/src/Google/Protobuf/Internal/MapFieldIter.php deleted file mode 100644 index a56d27e2e..000000000 --- a/vendor/google/protobuf/src/Google/Protobuf/Internal/MapFieldIter.php +++ /dev/null @@ -1,146 +0,0 @@ -container = $container; - $this->key_type = $key_type; - } - - /** - * Reset the status of the iterator - * - * @return void - * @todo need to add return type void (require update php version to 7.1) - */ - #[\ReturnTypeWillChange] - public function rewind() - { - reset($this->container); - } - - /** - * Return the element at the current position. - * - * @return object The element at the current position. - * @todo need to add return type mixed (require update php version to 8.0) - */ - #[\ReturnTypeWillChange] - public function current() - { - return current($this->container); - } - - /** - * Return the current key. - * - * @return object The current key. - * @todo need to add return type mixed (require update php version to 8.0) - */ - #[\ReturnTypeWillChange] - public function key() - { - $key = key($this->container); - switch ($this->key_type) { - case GPBType::INT64: - case GPBType::UINT64: - case GPBType::FIXED64: - case GPBType::SFIXED64: - case GPBType::SINT64: - if (PHP_INT_SIZE === 8) { - return $key; - } - // Intentionally fall through - case GPBType::STRING: - // PHP associative array stores int string as int for key. - return strval($key); - case GPBType::BOOL: - // PHP associative array stores bool as integer for key. - return boolval($key); - default: - return $key; - } - } - - /** - * Move to the next position. - * - * @return void - * @todo need to add return type void (require update php version to 7.1) - */ - #[\ReturnTypeWillChange] - public function next() - { - next($this->container); - } - - /** - * Check whether there are more elements to iterate. - * - * @return bool True if there are more elements to iterate. - */ - public function valid(): bool - { - return key($this->container) !== null; - } -} diff --git a/vendor/google/protobuf/src/Google/Protobuf/Internal/Message.php b/vendor/google/protobuf/src/Google/Protobuf/Internal/Message.php deleted file mode 100644 index 357f16d69..000000000 --- a/vendor/google/protobuf/src/Google/Protobuf/Internal/Message.php +++ /dev/null @@ -1,2040 +0,0 @@ -initWithDescriptor($data); - } else { - $this->initWithGeneratedPool(); - if (is_array($data)) { - $this->mergeFromArray($data); - } else if (!empty($data)) { - throw new \InvalidArgumentException( - 'Message constructor must be an array or null.' - ); - } - } - } - - /** - * @ignore - */ - private function initWithGeneratedPool() - { - $pool = DescriptorPool::getGeneratedPool(); - $this->desc = $pool->getDescriptorByClassName(get_class($this)); - if (is_null($this->desc)) { - throw new \InvalidArgumentException( - get_class($this) ." is not found in descriptor pool. " . - 'Only generated classes may derive from Message.'); - } - foreach ($this->desc->getField() as $field) { - $setter = $field->getSetter(); - if ($field->isMap()) { - $message_type = $field->getMessageType(); - $key_field = $message_type->getFieldByNumber(1); - $value_field = $message_type->getFieldByNumber(2); - switch ($value_field->getType()) { - case GPBType::MESSAGE: - case GPBType::GROUP: - $map_field = new MapField( - $key_field->getType(), - $value_field->getType(), - $value_field->getMessageType()->getClass()); - $this->$setter($map_field); - break; - case GPBType::ENUM: - $map_field = new MapField( - $key_field->getType(), - $value_field->getType(), - $value_field->getEnumType()->getClass()); - $this->$setter($map_field); - break; - default: - $map_field = new MapField( - $key_field->getType(), - $value_field->getType()); - $this->$setter($map_field); - break; - } - } else if ($field->getLabel() === GPBLabel::REPEATED) { - switch ($field->getType()) { - case GPBType::MESSAGE: - case GPBType::GROUP: - $repeated_field = new RepeatedField( - $field->getType(), - $field->getMessageType()->getClass()); - $this->$setter($repeated_field); - break; - case GPBType::ENUM: - $repeated_field = new RepeatedField( - $field->getType(), - $field->getEnumType()->getClass()); - $this->$setter($repeated_field); - break; - default: - $repeated_field = new RepeatedField($field->getType()); - $this->$setter($repeated_field); - break; - } - } else if ($field->getOneofIndex() !== -1) { - $oneof = $this->desc->getOneofDecl()[$field->getOneofIndex()]; - $oneof_name = $oneof->getName(); - $this->$oneof_name = new OneofField($oneof); - } else if ($field->getLabel() === GPBLabel::OPTIONAL && - PHP_INT_SIZE == 4) { - switch ($field->getType()) { - case GPBType::INT64: - case GPBType::UINT64: - case GPBType::FIXED64: - case GPBType::SFIXED64: - case GPBType::SINT64: - $this->$setter("0"); - } - } - } - } - - /** - * @ignore - */ - private function initWithDescriptor(Descriptor $desc) - { - $this->desc = $desc; - foreach ($desc->getField() as $field) { - $setter = $field->getSetter(); - $defaultValue = $this->defaultValue($field); - $this->$setter($defaultValue); - } - } - - protected function readWrapperValue($member) - { - $field = $this->desc->getFieldByName($member); - $oneof_index = $field->getOneofIndex(); - if ($oneof_index === -1) { - $wrapper = $this->$member; - } else { - $wrapper = $this->readOneof($field->getNumber()); - } - - if (is_null($wrapper)) { - return NULL; - } else { - return $wrapper->getValue(); - } - } - - protected function writeWrapperValue($member, $value) - { - $field = $this->desc->getFieldByName($member); - $wrapped_value = $value; - if (!is_null($value)) { - $desc = $field->getMessageType(); - $klass = $desc->getClass(); - $wrapped_value = new $klass; - $wrapped_value->setValue($value); - } - - $oneof_index = $field->getOneofIndex(); - if ($oneof_index === -1) { - $this->$member = $wrapped_value; - } else { - $this->writeOneof($field->getNumber(), $wrapped_value); - } - } - - protected function readOneof($number) - { - $field = $this->desc->getFieldByNumber($number); - $oneof = $this->desc->getOneofDecl()[$field->getOneofIndex()]; - $oneof_name = $oneof->getName(); - $oneof_field = $this->$oneof_name; - if ($number === $oneof_field->getNumber()) { - return $oneof_field->getValue(); - } else { - return $this->defaultValue($field); - } - } - - protected function hasOneof($number) - { - $field = $this->desc->getFieldByNumber($number); - $oneof = $this->desc->getOneofDecl()[$field->getOneofIndex()]; - $oneof_name = $oneof->getName(); - $oneof_field = $this->$oneof_name; - return $number === $oneof_field->getNumber(); - } - - protected function writeOneof($number, $value) - { - $field = $this->desc->getFieldByNumber($number); - $oneof = $this->desc->getOneofDecl()[$field->getOneofIndex()]; - $oneof_name = $oneof->getName(); - if ($value === null) { - $this->$oneof_name = new OneofField($oneof); - } else { - $oneof_field = $this->$oneof_name; - $oneof_field->setValue($value); - $oneof_field->setFieldName($field->getName()); - $oneof_field->setNumber($number); - } - } - - protected function whichOneof($oneof_name) - { - $oneof_field = $this->$oneof_name; - $number = $oneof_field->getNumber(); - if ($number == 0) { - return ""; - } - $field = $this->desc->getFieldByNumber($number); - return $field->getName(); - } - - /** - * @ignore - */ - private function defaultValue($field) - { - $value = null; - - switch ($field->getType()) { - case GPBType::DOUBLE: - case GPBType::FLOAT: - return 0.0; - case GPBType::UINT32: - case GPBType::INT32: - case GPBType::FIXED32: - case GPBType::SFIXED32: - case GPBType::SINT32: - case GPBType::ENUM: - return 0; - case GPBType::INT64: - case GPBType::UINT64: - case GPBType::FIXED64: - case GPBType::SFIXED64: - case GPBType::SINT64: - if (PHP_INT_SIZE === 4) { - return '0'; - } else { - return 0; - } - case GPBType::BOOL: - return false; - case GPBType::STRING: - case GPBType::BYTES: - return ""; - case GPBType::GROUP: - case GPBType::MESSAGE: - return null; - default: - user_error("Unsupported type."); - return false; - } - } - - /** - * @ignore - */ - private function skipField($input, $tag) - { - $number = GPBWire::getTagFieldNumber($tag); - if ($number === 0) { - throw new GPBDecodeException("Illegal field number zero."); - } - - $start = $input->current(); - switch (GPBWire::getTagWireType($tag)) { - case GPBWireType::VARINT: - $uint64 = 0; - if (!$input->readVarint64($uint64)) { - throw new GPBDecodeException( - "Unexpected EOF inside varint."); - } - break; - case GPBWireType::FIXED64: - $uint64 = 0; - if (!$input->readLittleEndian64($uint64)) { - throw new GPBDecodeException( - "Unexpected EOF inside fixed64."); - } - break; - case GPBWireType::FIXED32: - $uint32 = 0; - if (!$input->readLittleEndian32($uint32)) { - throw new GPBDecodeException( - "Unexpected EOF inside fixed32."); - } - break; - case GPBWireType::LENGTH_DELIMITED: - $length = 0; - if (!$input->readVarint32($length)) { - throw new GPBDecodeException( - "Unexpected EOF inside length."); - } - $data = NULL; - if (!$input->readRaw($length, $data)) { - throw new GPBDecodeException( - "Unexpected EOF inside length delimited data."); - } - break; - case GPBWireType::START_GROUP: - case GPBWireType::END_GROUP: - throw new GPBDecodeException("Unexpected wire type."); - default: - throw new GPBDecodeException("Unexpected wire type."); - } - $end = $input->current(); - - $bytes = str_repeat(chr(0), CodedOutputStream::MAX_VARINT64_BYTES); - $size = CodedOutputStream::writeVarintToArray($tag, $bytes, true); - $this->unknown .= substr($bytes, 0, $size) . $input->substr($start, $end); - } - - /** - * @ignore - */ - private static function parseFieldFromStreamNoTag($input, $field, &$value) - { - switch ($field->getType()) { - case GPBType::DOUBLE: - if (!GPBWire::readDouble($input, $value)) { - throw new GPBDecodeException( - "Unexpected EOF inside double field."); - } - break; - case GPBType::FLOAT: - if (!GPBWire::readFloat($input, $value)) { - throw new GPBDecodeException( - "Unexpected EOF inside float field."); - } - break; - case GPBType::INT64: - if (!GPBWire::readInt64($input, $value)) { - throw new GPBDecodeException( - "Unexpected EOF inside int64 field."); - } - break; - case GPBType::UINT64: - if (!GPBWire::readUint64($input, $value)) { - throw new GPBDecodeException( - "Unexpected EOF inside uint64 field."); - } - break; - case GPBType::INT32: - if (!GPBWire::readInt32($input, $value)) { - throw new GPBDecodeException( - "Unexpected EOF inside int32 field."); - } - break; - case GPBType::FIXED64: - if (!GPBWire::readFixed64($input, $value)) { - throw new GPBDecodeException( - "Unexpected EOF inside fixed64 field."); - } - break; - case GPBType::FIXED32: - if (!GPBWire::readFixed32($input, $value)) { - throw new GPBDecodeException( - "Unexpected EOF inside fixed32 field."); - } - break; - case GPBType::BOOL: - if (!GPBWire::readBool($input, $value)) { - throw new GPBDecodeException( - "Unexpected EOF inside bool field."); - } - break; - case GPBType::STRING: - // TODO(teboring): Add utf-8 check. - if (!GPBWire::readString($input, $value)) { - throw new GPBDecodeException( - "Unexpected EOF inside string field."); - } - break; - case GPBType::GROUP: - trigger_error("Not implemented.", E_USER_ERROR); - break; - case GPBType::MESSAGE: - if ($field->isMap()) { - $value = new MapEntry($field->getMessageType()); - } else { - $klass = $field->getMessageType()->getClass(); - $value = new $klass; - } - if (!GPBWire::readMessage($input, $value)) { - throw new GPBDecodeException( - "Unexpected EOF inside message."); - } - break; - case GPBType::BYTES: - if (!GPBWire::readString($input, $value)) { - throw new GPBDecodeException( - "Unexpected EOF inside bytes field."); - } - break; - case GPBType::UINT32: - if (!GPBWire::readUint32($input, $value)) { - throw new GPBDecodeException( - "Unexpected EOF inside uint32 field."); - } - break; - case GPBType::ENUM: - // TODO(teboring): Check unknown enum value. - if (!GPBWire::readInt32($input, $value)) { - throw new GPBDecodeException( - "Unexpected EOF inside enum field."); - } - break; - case GPBType::SFIXED32: - if (!GPBWire::readSfixed32($input, $value)) { - throw new GPBDecodeException( - "Unexpected EOF inside sfixed32 field."); - } - break; - case GPBType::SFIXED64: - if (!GPBWire::readSfixed64($input, $value)) { - throw new GPBDecodeException( - "Unexpected EOF inside sfixed64 field."); - } - break; - case GPBType::SINT32: - if (!GPBWire::readSint32($input, $value)) { - throw new GPBDecodeException( - "Unexpected EOF inside sint32 field."); - } - break; - case GPBType::SINT64: - if (!GPBWire::readSint64($input, $value)) { - throw new GPBDecodeException( - "Unexpected EOF inside sint64 field."); - } - break; - default: - user_error("Unsupported type."); - return false; - } - return true; - } - - /** - * @ignore - */ - private function parseFieldFromStream($tag, $input, $field) - { - $value = null; - - if (is_null($field)) { - $value_format = GPBWire::UNKNOWN; - } elseif (GPBWire::getTagWireType($tag) === - GPBWire::getWireType($field->getType())) { - $value_format = GPBWire::NORMAL_FORMAT; - } elseif ($field->isPackable() && - GPBWire::getTagWireType($tag) === - GPBWire::WIRETYPE_LENGTH_DELIMITED) { - $value_format = GPBWire::PACKED_FORMAT; - } else { - // the wire type doesn't match. Put it in our unknown field set. - $value_format = GPBWire::UNKNOWN; - } - - if ($value_format === GPBWire::UNKNOWN) { - $this->skipField($input, $tag); - return; - } elseif ($value_format === GPBWire::NORMAL_FORMAT) { - self::parseFieldFromStreamNoTag($input, $field, $value); - } elseif ($value_format === GPBWire::PACKED_FORMAT) { - $length = 0; - if (!GPBWire::readInt32($input, $length)) { - throw new GPBDecodeException( - "Unexpected EOF inside packed length."); - } - $limit = $input->pushLimit($length); - $getter = $field->getGetter(); - while ($input->bytesUntilLimit() > 0) { - self::parseFieldFromStreamNoTag($input, $field, $value); - $this->appendHelper($field, $value); - } - $input->popLimit($limit); - return; - } else { - return; - } - - if ($field->isMap()) { - $this->kvUpdateHelper($field, $value->getKey(), $value->getValue()); - } else if ($field->isRepeated()) { - $this->appendHelper($field, $value); - } else { - $setter = $field->getSetter(); - $this->$setter($value); - } - } - - /** - * Clear all containing fields. - * @return null - */ - public function clear() - { - $this->unknown = ""; - foreach ($this->desc->getField() as $field) { - $setter = $field->getSetter(); - if ($field->isMap()) { - $message_type = $field->getMessageType(); - $key_field = $message_type->getFieldByNumber(1); - $value_field = $message_type->getFieldByNumber(2); - switch ($value_field->getType()) { - case GPBType::MESSAGE: - case GPBType::GROUP: - $map_field = new MapField( - $key_field->getType(), - $value_field->getType(), - $value_field->getMessageType()->getClass()); - $this->$setter($map_field); - break; - case GPBType::ENUM: - $map_field = new MapField( - $key_field->getType(), - $value_field->getType(), - $value_field->getEnumType()->getClass()); - $this->$setter($map_field); - break; - default: - $map_field = new MapField( - $key_field->getType(), - $value_field->getType()); - $this->$setter($map_field); - break; - } - } else if ($field->getLabel() === GPBLabel::REPEATED) { - switch ($field->getType()) { - case GPBType::MESSAGE: - case GPBType::GROUP: - $repeated_field = new RepeatedField( - $field->getType(), - $field->getMessageType()->getClass()); - $this->$setter($repeated_field); - break; - case GPBType::ENUM: - $repeated_field = new RepeatedField( - $field->getType(), - $field->getEnumType()->getClass()); - $this->$setter($repeated_field); - break; - default: - $repeated_field = new RepeatedField($field->getType()); - $this->$setter($repeated_field); - break; - } - } else if ($field->getOneofIndex() !== -1) { - $oneof = $this->desc->getOneofDecl()[$field->getOneofIndex()]; - $oneof_name = $oneof->getName(); - $this->$oneof_name = new OneofField($oneof); - } else if ($field->getLabel() === GPBLabel::OPTIONAL) { - switch ($field->getType()) { - case GPBType::DOUBLE : - case GPBType::FLOAT : - $this->$setter(0.0); - break; - case GPBType::INT32 : - case GPBType::FIXED32 : - case GPBType::UINT32 : - case GPBType::SFIXED32 : - case GPBType::SINT32 : - case GPBType::ENUM : - $this->$setter(0); - break; - case GPBType::BOOL : - $this->$setter(false); - break; - case GPBType::STRING : - case GPBType::BYTES : - $this->$setter(""); - break; - case GPBType::GROUP : - case GPBType::MESSAGE : - $null = null; - $this->$setter($null); - break; - } - if (PHP_INT_SIZE == 4) { - switch ($field->getType()) { - case GPBType::INT64: - case GPBType::UINT64: - case GPBType::FIXED64: - case GPBType::SFIXED64: - case GPBType::SINT64: - $this->$setter("0"); - } - } else { - switch ($field->getType()) { - case GPBType::INT64: - case GPBType::UINT64: - case GPBType::FIXED64: - case GPBType::SFIXED64: - case GPBType::SINT64: - $this->$setter(0); - } - } - } - } - } - - /** - * Clear all unknown fields previously parsed. - * @return null - */ - public function discardUnknownFields() - { - $this->unknown = ""; - foreach ($this->desc->getField() as $field) { - if ($field->getType() != GPBType::MESSAGE) { - continue; - } - if ($field->isMap()) { - $value_field = $field->getMessageType()->getFieldByNumber(2); - if ($value_field->getType() != GPBType::MESSAGE) { - continue; - } - $getter = $field->getGetter(); - $map = $this->$getter(); - foreach ($map as $key => $value) { - $value->discardUnknownFields(); - } - } else if ($field->getLabel() === GPBLabel::REPEATED) { - $getter = $field->getGetter(); - $arr = $this->$getter(); - foreach ($arr as $sub) { - $sub->discardUnknownFields(); - } - } else if ($field->getLabel() === GPBLabel::OPTIONAL) { - $getter = $field->getGetter(); - $sub = $this->$getter(); - if (!is_null($sub)) { - $sub->discardUnknownFields(); - } - } - } - } - - /** - * Merges the contents of the specified message into current message. - * - * This method merges the contents of the specified message into the - * current message. Singular fields that are set in the specified message - * overwrite the corresponding fields in the current message. Repeated - * fields are appended. Map fields key-value pairs are overwritten. - * Singular/Oneof sub-messages are recursively merged. All overwritten - * sub-messages are deep-copied. - * - * @param object $msg Protobuf message to be merged from. - * @return null - */ - public function mergeFrom($msg) - { - if (get_class($this) !== get_class($msg)) { - user_error("Cannot merge messages with different class."); - return; - } - - foreach ($this->desc->getField() as $field) { - $setter = $field->getSetter(); - $getter = $field->getGetter(); - if ($field->isMap()) { - if (count($msg->$getter()) != 0) { - $value_field = $field->getMessageType()->getFieldByNumber(2); - foreach ($msg->$getter() as $key => $value) { - if ($value_field->getType() == GPBType::MESSAGE) { - $klass = $value_field->getMessageType()->getClass(); - $copy = new $klass; - $copy->mergeFrom($value); - - $this->kvUpdateHelper($field, $key, $copy); - } else { - $this->kvUpdateHelper($field, $key, $value); - } - } - } - } else if ($field->getLabel() === GPBLabel::REPEATED) { - if (count($msg->$getter()) != 0) { - foreach ($msg->$getter() as $tmp) { - if ($field->getType() == GPBType::MESSAGE) { - $klass = $field->getMessageType()->getClass(); - $copy = new $klass; - $copy->mergeFrom($tmp); - $this->appendHelper($field, $copy); - } else { - $this->appendHelper($field, $tmp); - } - } - } - } else if ($field->getLabel() === GPBLabel::OPTIONAL) { - if($msg->$getter() !== $this->defaultValue($field)) { - $tmp = $msg->$getter(); - if ($field->getType() == GPBType::MESSAGE) { - if (is_null($this->$getter())) { - $klass = $field->getMessageType()->getClass(); - $new_msg = new $klass; - $this->$setter($new_msg); - } - $this->$getter()->mergeFrom($tmp); - } else { - $this->$setter($tmp); - } - } - } - } - } - - /** - * Parses a protocol buffer contained in a string. - * - * This function takes a string in the (non-human-readable) binary wire - * format, matching the encoding output by serializeToString(). - * See mergeFrom() for merging behavior, if the field is already set in the - * specified message. - * - * @param string $data Binary protobuf data. - * @return null - * @throws \Exception Invalid data. - */ - public function mergeFromString($data) - { - $input = new CodedInputStream($data); - $this->parseFromStream($input); - } - - /** - * Parses a json string to protobuf message. - * - * This function takes a string in the json wire format, matching the - * encoding output by serializeToJsonString(). - * See mergeFrom() for merging behavior, if the field is already set in the - * specified message. - * - * @param string $data Json protobuf data. - * @param bool $ignore_unknown - * @return null - * @throws \Exception Invalid data. - */ - public function mergeFromJsonString($data, $ignore_unknown = false) - { - $input = new RawInputStream($data); - $this->parseFromJsonStream($input, $ignore_unknown); - } - - /** - * @ignore - */ - public function parseFromStream($input) - { - while (true) { - $tag = $input->readTag(); - // End of input. This is a valid place to end, so return true. - if ($tag === 0) { - return true; - } - - $number = GPBWire::getTagFieldNumber($tag); - $field = $this->desc->getFieldByNumber($number); - - $this->parseFieldFromStream($tag, $input, $field); - } - } - - private function convertJsonValueToProtoValue( - $value, - $field, - $ignore_unknown, - $is_map_key = false) - { - switch ($field->getType()) { - case GPBType::MESSAGE: - $klass = $field->getMessageType()->getClass(); - $submsg = new $klass; - - if (is_a($submsg, "Google\Protobuf\Duration")) { - if (is_null($value)) { - return $this->defaultValue($field); - } else if (!is_string($value)) { - throw new GPBDecodeException("Expect string."); - } - return GPBUtil::parseDuration($value); - } else if ($field->isTimestamp()) { - if (is_null($value)) { - return $this->defaultValue($field); - } else if (!is_string($value)) { - throw new GPBDecodeException("Expect string."); - } - try { - $timestamp = GPBUtil::parseTimestamp($value); - } catch (\Exception $e) { - throw new GPBDecodeException( - "Invalid RFC 3339 timestamp: ".$e->getMessage()); - } - - $submsg->setSeconds($timestamp->getSeconds()); - $submsg->setNanos($timestamp->getNanos()); - } else if (is_a($submsg, "Google\Protobuf\FieldMask")) { - if (is_null($value)) { - return $this->defaultValue($field); - } - try { - return GPBUtil::parseFieldMask($value); - } catch (\Exception $e) { - throw new GPBDecodeException( - "Invalid FieldMask: ".$e->getMessage()); - } - } else { - if (is_null($value) && - !is_a($submsg, "Google\Protobuf\Value")) { - return $this->defaultValue($field); - } - if (GPBUtil::hasSpecialJsonMapping($submsg)) { - } elseif (!is_object($value) && !is_array($value)) { - throw new GPBDecodeException("Expect message."); - } - $submsg->mergeFromJsonArray($value, $ignore_unknown); - } - return $submsg; - case GPBType::ENUM: - if (is_null($value)) { - return $this->defaultValue($field); - } - if (is_integer($value)) { - return $value; - } - $enum_value = $field->getEnumType()->getValueByName($value); - if (!is_null($enum_value)) { - return $enum_value->getNumber(); - } else if ($ignore_unknown) { - return $this->defaultValue($field); - } else { - throw new GPBDecodeException( - "Enum field only accepts integer or enum value name"); - } - case GPBType::STRING: - if (is_null($value)) { - return $this->defaultValue($field); - } - if (is_numeric($value)) { - return strval($value); - } - if (!is_string($value)) { - throw new GPBDecodeException( - "String field only accepts string value"); - } - return $value; - case GPBType::BYTES: - if (is_null($value)) { - return $this->defaultValue($field); - } - if (!is_string($value)) { - throw new GPBDecodeException( - "Byte field only accepts string value"); - } - $proto_value = base64_decode($value, true); - if ($proto_value === false) { - throw new GPBDecodeException("Invalid base64 characters"); - } - return $proto_value; - case GPBType::BOOL: - if (is_null($value)) { - return $this->defaultValue($field); - } - if ($is_map_key) { - if ($value === "true") { - return true; - } - if ($value === "false") { - return false; - } - throw new GPBDecodeException( - "Bool field only accepts bool value"); - } - if (!is_bool($value)) { - throw new GPBDecodeException( - "Bool field only accepts bool value"); - } - return $value; - case GPBType::FLOAT: - case GPBType::DOUBLE: - if (is_null($value)) { - return $this->defaultValue($field); - } - if ($value === "Infinity") { - return INF; - } - if ($value === "-Infinity") { - return -INF; - } - if ($value === "NaN") { - return NAN; - } - return $value; - case GPBType::INT32: - case GPBType::SINT32: - case GPBType::SFIXED32: - if (is_null($value)) { - return $this->defaultValue($field); - } - if (!is_numeric($value)) { - throw new GPBDecodeException( - "Invalid data type for int32 field"); - } - if (is_string($value) && trim($value) !== $value) { - throw new GPBDecodeException( - "Invalid data type for int32 field"); - } - if (bccomp($value, "2147483647") > 0) { - throw new GPBDecodeException( - "Int32 too large"); - } - if (bccomp($value, "-2147483648") < 0) { - throw new GPBDecodeException( - "Int32 too small"); - } - return $value; - case GPBType::UINT32: - case GPBType::FIXED32: - if (is_null($value)) { - return $this->defaultValue($field); - } - if (!is_numeric($value)) { - throw new GPBDecodeException( - "Invalid data type for uint32 field"); - } - if (is_string($value) && trim($value) !== $value) { - throw new GPBDecodeException( - "Invalid data type for int32 field"); - } - if (bccomp($value, 4294967295) > 0) { - throw new GPBDecodeException( - "Uint32 too large"); - } - return $value; - case GPBType::INT64: - case GPBType::SINT64: - case GPBType::SFIXED64: - if (is_null($value)) { - return $this->defaultValue($field); - } - if (!is_numeric($value)) { - throw new GPBDecodeException( - "Invalid data type for int64 field"); - } - if (is_string($value) && trim($value) !== $value) { - throw new GPBDecodeException( - "Invalid data type for int64 field"); - } - if (bccomp($value, "9223372036854775807") > 0) { - throw new GPBDecodeException( - "Int64 too large"); - } - if (bccomp($value, "-9223372036854775808") < 0) { - throw new GPBDecodeException( - "Int64 too small"); - } - return $value; - case GPBType::UINT64: - case GPBType::FIXED64: - if (is_null($value)) { - return $this->defaultValue($field); - } - if (!is_numeric($value)) { - throw new GPBDecodeException( - "Invalid data type for int64 field"); - } - if (is_string($value) && trim($value) !== $value) { - throw new GPBDecodeException( - "Invalid data type for int64 field"); - } - if (bccomp($value, "18446744073709551615") > 0) { - throw new GPBDecodeException( - "Uint64 too large"); - } - if (bccomp($value, "9223372036854775807") > 0) { - $value = bcsub($value, "18446744073709551616"); - } - return $value; - default: - return $value; - } - } - - /** - * Populates the message from a user-supplied PHP array. Array keys - * correspond to Message properties and nested message properties. - * - * Example: - * ``` - * $message->mergeFromArray([ - * 'name' => 'This is a message name', - * 'interval' => [ - * 'startTime' => time() - 60, - * 'endTime' => time(), - * ] - * ]); - * ``` - * - * This method will trigger an error if it is passed data that cannot - * be converted to the correct type. For example, a StringValue field - * must receive data that is either a string or a StringValue object. - * - * @param array $array An array containing message properties and values. - * @return null - */ - protected function mergeFromArray(array $array) - { - // Just call the setters for the field names - foreach ($array as $key => $value) { - $field = $this->desc->getFieldByName($key); - if (is_null($field)) { - throw new \UnexpectedValueException( - 'Invalid message property: ' . $key); - } - $setter = $field->getSetter(); - if ($field->isMap()) { - $valueField = $field->getMessageType()->getFieldByName('value'); - if (!is_null($valueField) && $valueField->isWrapperType()) { - self::normalizeArrayElementsToMessageType($value, $valueField->getMessageType()->getClass()); - } - } elseif ($field->isWrapperType()) { - $class = $field->getMessageType()->getClass(); - if ($field->isRepeated()) { - self::normalizeArrayElementsToMessageType($value, $class); - } else { - self::normalizeToMessageType($value, $class); - } - } - $this->$setter($value); - } - } - - /** - * Tries to normalize the elements in $value into a provided protobuf - * wrapper type $class. If $value is any type other than array, we do - * not do any conversion, and instead rely on the existing protobuf - * type checking. If $value is an array, we process each element and - * try to convert it to an instance of $class. - * - * @param mixed $value The array of values to normalize. - * @param string $class The expected wrapper class name - */ - private static function normalizeArrayElementsToMessageType(&$value, $class) - { - if (!is_array($value)) { - // In the case that $value is not an array, we do not want to - // attempt any conversion. Note that this includes the cases - // when $value is a RepeatedField of MapField. In those cases, - // we do not need to convert the elements, as they should - // already be the correct types. - return; - } else { - // Normalize each element in the array. - foreach ($value as $key => &$elementValue) { - self::normalizeToMessageType($elementValue, $class); - } - } - } - - /** - * Tries to normalize $value into a provided protobuf wrapper type $class. - * If $value is any type other than an object, we attempt to construct an - * instance of $class and assign $value to it using the setValue method - * shared by all wrapper types. - * - * This method will raise an error if it receives a type that cannot be - * assigned to the wrapper type via setValue. - * - * @param mixed $value The value to normalize. - * @param string $class The expected wrapper class name - */ - private static function normalizeToMessageType(&$value, $class) - { - if (is_null($value) || is_object($value)) { - // This handles the case that $value is an instance of $class. We - // choose not to do any more strict checking here, relying on the - // existing type checking done by GPBUtil. - return; - } else { - // Try to instantiate $class and set the value - try { - $msg = new $class; - $msg->setValue($value); - $value = $msg; - return; - } catch (\Exception $exception) { - trigger_error( - "Error normalizing value to type '$class': " . $exception->getMessage(), - E_USER_ERROR - ); - } - } - } - - protected function mergeFromJsonArray($array, $ignore_unknown) - { - if (is_a($this, "Google\Protobuf\Any")) { - $this->clear(); - $this->setTypeUrl($array["@type"]); - $msg = $this->unpack(); - if (GPBUtil::hasSpecialJsonMapping($msg)) { - $msg->mergeFromJsonArray($array["value"], $ignore_unknown); - } else { - unset($array["@type"]); - $msg->mergeFromJsonArray($array, $ignore_unknown); - } - $this->setValue($msg->serializeToString()); - return; - } - if (is_a($this, "Google\Protobuf\DoubleValue") || - is_a($this, "Google\Protobuf\FloatValue") || - is_a($this, "Google\Protobuf\Int64Value") || - is_a($this, "Google\Protobuf\UInt64Value") || - is_a($this, "Google\Protobuf\Int32Value") || - is_a($this, "Google\Protobuf\UInt32Value") || - is_a($this, "Google\Protobuf\BoolValue") || - is_a($this, "Google\Protobuf\StringValue")) { - $this->setValue($array); - return; - } - if (is_a($this, "Google\Protobuf\BytesValue")) { - $this->setValue(base64_decode($array)); - return; - } - if (is_a($this, "Google\Protobuf\Duration")) { - $this->mergeFrom(GPBUtil::parseDuration($array)); - return; - } - if (is_a($this, "Google\Protobuf\FieldMask")) { - $this->mergeFrom(GPBUtil::parseFieldMask($array)); - return; - } - if (is_a($this, "Google\Protobuf\Timestamp")) { - $this->mergeFrom(GPBUtil::parseTimestamp($array)); - return; - } - if (is_a($this, "Google\Protobuf\Struct")) { - $fields = $this->getFields(); - foreach($array as $key => $value) { - $v = new Value(); - $v->mergeFromJsonArray($value, $ignore_unknown); - $fields[$key] = $v; - } - return; - } - if (is_a($this, "Google\Protobuf\Value")) { - if (is_bool($array)) { - $this->setBoolValue($array); - } elseif (is_string($array)) { - $this->setStringValue($array); - } elseif (is_null($array)) { - $this->setNullValue(0); - } elseif (is_double($array) || is_integer($array)) { - $this->setNumberValue($array); - } elseif (is_array($array)) { - if (array_values($array) !== $array) { - // Associative array - $struct_value = $this->getStructValue(); - if (is_null($struct_value)) { - $struct_value = new Struct(); - $this->setStructValue($struct_value); - } - foreach ($array as $key => $v) { - $value = new Value(); - $value->mergeFromJsonArray($v, $ignore_unknown); - $values = $struct_value->getFields(); - $values[$key]= $value; - } - } else { - // Array - $list_value = $this->getListValue(); - if (is_null($list_value)) { - $list_value = new ListValue(); - $this->setListValue($list_value); - } - foreach ($array as $v) { - $value = new Value(); - $value->mergeFromJsonArray($v, $ignore_unknown); - $values = $list_value->getValues(); - $values[]= $value; - } - } - } else { - throw new GPBDecodeException("Invalid type for Value."); - } - return; - } - $this->mergeFromArrayJsonImpl($array, $ignore_unknown); - } - - private function mergeFromArrayJsonImpl($array, $ignore_unknown) - { - foreach ($array as $key => $value) { - $field = $this->desc->getFieldByJsonName($key); - if (is_null($field)) { - $field = $this->desc->getFieldByName($key); - if (is_null($field)) { - if ($ignore_unknown) { - continue; - } else { - throw new GPBDecodeException( - $key . ' is unknown.' - ); - } - } - } - if ($field->isMap()) { - if (is_null($value)) { - continue; - } - $key_field = $field->getMessageType()->getFieldByNumber(1); - $value_field = $field->getMessageType()->getFieldByNumber(2); - foreach ($value as $tmp_key => $tmp_value) { - if (is_null($tmp_value)) { - throw new \Exception( - "Map value field element cannot be null."); - } - $proto_key = $this->convertJsonValueToProtoValue( - $tmp_key, - $key_field, - $ignore_unknown, - true); - $proto_value = $this->convertJsonValueToProtoValue( - $tmp_value, - $value_field, - $ignore_unknown); - self::kvUpdateHelper($field, $proto_key, $proto_value); - } - } else if ($field->isRepeated()) { - if (is_null($value)) { - continue; - } - foreach ($value as $tmp) { - if (is_null($tmp)) { - throw new \Exception( - "Repeated field elements cannot be null."); - } - $proto_value = $this->convertJsonValueToProtoValue( - $tmp, - $field, - $ignore_unknown); - self::appendHelper($field, $proto_value); - } - } else { - $setter = $field->getSetter(); - $proto_value = $this->convertJsonValueToProtoValue( - $value, - $field, - $ignore_unknown); - if ($field->getType() === GPBType::MESSAGE) { - if (is_null($proto_value)) { - continue; - } - $getter = $field->getGetter(); - $submsg = $this->$getter(); - if (!is_null($submsg)) { - $submsg->mergeFrom($proto_value); - continue; - } - } - $this->$setter($proto_value); - } - } - } - - /** - * @ignore - */ - public function parseFromJsonStream($input, $ignore_unknown) - { - $array = json_decode($input->getData(), true, 512, JSON_BIGINT_AS_STRING); - if ($this instanceof \Google\Protobuf\ListValue) { - $array = ["values"=>$array]; - } - if (is_null($array)) { - if ($this instanceof \Google\Protobuf\Value) { - $this->setNullValue(\Google\Protobuf\NullValue::NULL_VALUE); - return; - } else { - throw new GPBDecodeException( - "Cannot decode json string: " . $input->getData()); - } - } - try { - $this->mergeFromJsonArray($array, $ignore_unknown); - } catch (\Exception $e) { - throw new GPBDecodeException($e->getMessage()); - } - } - - /** - * @ignore - */ - private function serializeSingularFieldToStream($field, &$output) - { - if (!$this->existField($field)) { - return true; - } - $getter = $field->getGetter(); - $value = $this->$getter(); - if (!GPBWire::serializeFieldToStream($value, $field, true, $output)) { - return false; - } - return true; - } - - /** - * @ignore - */ - private function serializeRepeatedFieldToStream($field, &$output) - { - $getter = $field->getGetter(); - $values = $this->$getter(); - $count = count($values); - if ($count === 0) { - return true; - } - - $packed = $field->getPacked(); - if ($packed) { - if (!GPBWire::writeTag( - $output, - GPBWire::makeTag($field->getNumber(), GPBType::STRING))) { - return false; - } - $size = 0; - foreach ($values as $value) { - $size += $this->fieldDataOnlyByteSize($field, $value); - } - if (!$output->writeVarint32($size, true)) { - return false; - } - } - - foreach ($values as $value) { - if (!GPBWire::serializeFieldToStream( - $value, - $field, - !$packed, - $output)) { - return false; - } - } - return true; - } - - /** - * @ignore - */ - private function serializeMapFieldToStream($field, $output) - { - $getter = $field->getGetter(); - $values = $this->$getter(); - $count = count($values); - if ($count === 0) { - return true; - } - - foreach ($values as $key => $value) { - $map_entry = new MapEntry($field->getMessageType()); - $map_entry->setKey($key); - $map_entry->setValue($value); - if (!GPBWire::serializeFieldToStream( - $map_entry, - $field, - true, - $output)) { - return false; - } - } - return true; - } - - /** - * @ignore - */ - private function serializeFieldToStream(&$output, $field) - { - if ($field->isMap()) { - return $this->serializeMapFieldToStream($field, $output); - } elseif ($field->isRepeated()) { - return $this->serializeRepeatedFieldToStream($field, $output); - } else { - return $this->serializeSingularFieldToStream($field, $output); - } - } - - /** - * @ignore - */ - private function serializeFieldToJsonStream(&$output, $field) - { - $getter = $field->getGetter(); - $values = $this->$getter(); - return GPBJsonWire::serializeFieldToStream( - $values, $field, $output, !GPBUtil::hasSpecialJsonMapping($this)); - } - - /** - * @ignore - */ - public function serializeToStream(&$output) - { - $fields = $this->desc->getField(); - foreach ($fields as $field) { - if (!$this->serializeFieldToStream($output, $field)) { - return false; - } - } - $output->writeRaw($this->unknown, strlen($this->unknown)); - return true; - } - - /** - * @ignore - */ - public function serializeToJsonStream(&$output) - { - if (is_a($this, 'Google\Protobuf\Any')) { - $output->writeRaw("{", 1); - $type_field = $this->desc->getFieldByNumber(1); - $value_msg = $this->unpack(); - - // Serialize type url. - $output->writeRaw("\"@type\":", 8); - $output->writeRaw("\"", 1); - $output->writeRaw($this->getTypeUrl(), strlen($this->getTypeUrl())); - $output->writeRaw("\"", 1); - - // Serialize value - if (GPBUtil::hasSpecialJsonMapping($value_msg)) { - $output->writeRaw(",\"value\":", 9); - $value_msg->serializeToJsonStream($output); - } else { - $value_fields = $value_msg->desc->getField(); - foreach ($value_fields as $field) { - if ($value_msg->existField($field)) { - $output->writeRaw(",", 1); - if (!$value_msg->serializeFieldToJsonStream($output, $field)) { - return false; - } - } - } - } - - $output->writeRaw("}", 1); - } elseif (is_a($this, 'Google\Protobuf\FieldMask')) { - $field_mask = GPBUtil::formatFieldMask($this); - $output->writeRaw("\"", 1); - $output->writeRaw($field_mask, strlen($field_mask)); - $output->writeRaw("\"", 1); - } elseif (is_a($this, 'Google\Protobuf\Duration')) { - $duration = GPBUtil::formatDuration($this) . "s"; - $output->writeRaw("\"", 1); - $output->writeRaw($duration, strlen($duration)); - $output->writeRaw("\"", 1); - } elseif (get_class($this) === 'Google\Protobuf\Timestamp') { - $timestamp = GPBUtil::formatTimestamp($this); - $timestamp = json_encode($timestamp); - $output->writeRaw($timestamp, strlen($timestamp)); - } elseif (get_class($this) === 'Google\Protobuf\ListValue') { - $field = $this->desc->getField()[1]; - if (!$this->existField($field)) { - $output->writeRaw("[]", 2); - } else { - if (!$this->serializeFieldToJsonStream($output, $field)) { - return false; - } - } - } elseif (get_class($this) === 'Google\Protobuf\Struct') { - $field = $this->desc->getField()[1]; - if (!$this->existField($field)) { - $output->writeRaw("{}", 2); - } else { - if (!$this->serializeFieldToJsonStream($output, $field)) { - return false; - } - } - } else { - if (!GPBUtil::hasSpecialJsonMapping($this)) { - $output->writeRaw("{", 1); - } - $fields = $this->desc->getField(); - $first = true; - foreach ($fields as $field) { - if ($this->existField($field) || - GPBUtil::hasJsonValue($this)) { - if ($first) { - $first = false; - } else { - $output->writeRaw(",", 1); - } - if (!$this->serializeFieldToJsonStream($output, $field)) { - return false; - } - } - } - if (!GPBUtil::hasSpecialJsonMapping($this)) { - $output->writeRaw("}", 1); - } - } - return true; - } - - /** - * Serialize the message to string. - * @return string Serialized binary protobuf data. - */ - public function serializeToString() - { - $output = new CodedOutputStream($this->byteSize()); - $this->serializeToStream($output); - return $output->getData(); - } - - /** - * Serialize the message to json string. - * @return string Serialized json protobuf data. - */ - public function serializeToJsonString() - { - $output = new CodedOutputStream($this->jsonByteSize()); - $this->serializeToJsonStream($output); - return $output->getData(); - } - - /** - * @ignore - */ - private function existField($field) - { - $getter = $field->getGetter(); - $hazzer = "has" . substr($getter, 3); - - if (method_exists($this, $hazzer)) { - return $this->$hazzer(); - } else if ($field->getOneofIndex() !== -1) { - // For old generated code, which does not have hazzers for oneof - // fields. - $oneof = $this->desc->getOneofDecl()[$field->getOneofIndex()]; - $oneof_name = $oneof->getName(); - return $this->$oneof_name->getNumber() === $field->getNumber(); - } - - $values = $this->$getter(); - if ($field->isMap()) { - return count($values) !== 0; - } elseif ($field->isRepeated()) { - return count($values) !== 0; - } else { - return $values !== $this->defaultValue($field); - } - } - - /** - * @ignore - */ - private function repeatedFieldDataOnlyByteSize($field) - { - $size = 0; - - $getter = $field->getGetter(); - $values = $this->$getter(); - $count = count($values); - if ($count !== 0) { - $size += $count * GPBWire::tagSize($field); - foreach ($values as $value) { - $size += $this->singularFieldDataOnlyByteSize($field); - } - } - } - - /** - * @ignore - */ - private function fieldDataOnlyByteSize($field, $value) - { - $size = 0; - - switch ($field->getType()) { - case GPBType::BOOL: - $size += 1; - break; - case GPBType::FLOAT: - case GPBType::FIXED32: - case GPBType::SFIXED32: - $size += 4; - break; - case GPBType::DOUBLE: - case GPBType::FIXED64: - case GPBType::SFIXED64: - $size += 8; - break; - case GPBType::INT32: - case GPBType::ENUM: - $size += GPBWire::varint32Size($value, true); - break; - case GPBType::UINT32: - $size += GPBWire::varint32Size($value); - break; - case GPBType::UINT64: - case GPBType::INT64: - $size += GPBWire::varint64Size($value); - break; - case GPBType::SINT32: - $size += GPBWire::sint32Size($value); - break; - case GPBType::SINT64: - $size += GPBWire::sint64Size($value); - break; - case GPBType::STRING: - case GPBType::BYTES: - $size += strlen($value); - $size += GPBWire::varint32Size($size); - break; - case GPBType::MESSAGE: - $size += $value->byteSize(); - $size += GPBWire::varint32Size($size); - break; - case GPBType::GROUP: - // TODO(teboring): Add support. - user_error("Unsupported type."); - break; - default: - user_error("Unsupported type."); - return 0; - } - - return $size; - } - - /** - * @ignore - */ - private function fieldDataOnlyJsonByteSize($field, $value) - { - $size = 0; - - switch ($field->getType()) { - case GPBType::SFIXED32: - case GPBType::SINT32: - case GPBType::INT32: - $size += strlen(strval($value)); - break; - case GPBType::FIXED32: - case GPBType::UINT32: - if ($value < 0) { - $value = bcadd($value, "4294967296"); - } - $size += strlen(strval($value)); - break; - case GPBType::FIXED64: - case GPBType::UINT64: - if ($value < 0) { - $value = bcadd($value, "18446744073709551616"); - } - // Intentional fall through. - case GPBType::SFIXED64: - case GPBType::INT64: - case GPBType::SINT64: - $size += 2; // size for "" - $size += strlen(strval($value)); - break; - case GPBType::FLOAT: - if (is_nan($value)) { - $size += strlen("NaN") + 2; - } elseif ($value === INF) { - $size += strlen("Infinity") + 2; - } elseif ($value === -INF) { - $size += strlen("-Infinity") + 2; - } else { - $size += strlen(sprintf("%.8g", $value)); - } - break; - case GPBType::DOUBLE: - if (is_nan($value)) { - $size += strlen("NaN") + 2; - } elseif ($value === INF) { - $size += strlen("Infinity") + 2; - } elseif ($value === -INF) { - $size += strlen("-Infinity") + 2; - } else { - $size += strlen(sprintf("%.17g", $value)); - } - break; - case GPBType::ENUM: - $enum_desc = $field->getEnumType(); - if ($enum_desc->getClass() === "Google\Protobuf\NullValue") { - $size += 4; - break; - } - $enum_value_desc = $enum_desc->getValueByNumber($value); - if (!is_null($enum_value_desc)) { - $size += 2; // size for "" - $size += strlen($enum_value_desc->getName()); - } else { - $str_value = strval($value); - $size += strlen($str_value); - } - break; - case GPBType::BOOL: - if ($value) { - $size += 4; - } else { - $size += 5; - } - break; - case GPBType::STRING: - $value = json_encode($value, JSON_UNESCAPED_UNICODE); - $size += strlen($value); - break; - case GPBType::BYTES: - # if (is_a($this, "Google\Protobuf\BytesValue")) { - # $size += strlen(json_encode($value)); - # } else { - # $size += strlen(base64_encode($value)); - # $size += 2; // size for \"\" - # } - $size += strlen(base64_encode($value)); - $size += 2; // size for \"\" - break; - case GPBType::MESSAGE: - $size += $value->jsonByteSize(); - break; -# case GPBType::GROUP: -# // TODO(teboring): Add support. -# user_error("Unsupported type."); -# break; - default: - user_error("Unsupported type " . $field->getType()); - return 0; - } - - return $size; - } - - /** - * @ignore - */ - private function fieldByteSize($field) - { - $size = 0; - if ($field->isMap()) { - $getter = $field->getGetter(); - $values = $this->$getter(); - $count = count($values); - if ($count !== 0) { - $size += $count * GPBWire::tagSize($field); - $message_type = $field->getMessageType(); - $key_field = $message_type->getFieldByNumber(1); - $value_field = $message_type->getFieldByNumber(2); - foreach ($values as $key => $value) { - $data_size = 0; - if ($key != $this->defaultValue($key_field)) { - $data_size += $this->fieldDataOnlyByteSize( - $key_field, - $key); - $data_size += GPBWire::tagSize($key_field); - } - if ($value != $this->defaultValue($value_field)) { - $data_size += $this->fieldDataOnlyByteSize( - $value_field, - $value); - $data_size += GPBWire::tagSize($value_field); - } - $size += GPBWire::varint32Size($data_size) + $data_size; - } - } - } elseif ($field->isRepeated()) { - $getter = $field->getGetter(); - $values = $this->$getter(); - $count = count($values); - if ($count !== 0) { - if ($field->getPacked()) { - $data_size = 0; - foreach ($values as $value) { - $data_size += $this->fieldDataOnlyByteSize($field, $value); - } - $size += GPBWire::tagSize($field); - $size += GPBWire::varint32Size($data_size); - $size += $data_size; - } else { - $size += $count * GPBWire::tagSize($field); - foreach ($values as $value) { - $size += $this->fieldDataOnlyByteSize($field, $value); - } - } - } - } elseif ($this->existField($field)) { - $size += GPBWire::tagSize($field); - $getter = $field->getGetter(); - $value = $this->$getter(); - $size += $this->fieldDataOnlyByteSize($field, $value); - } - return $size; - } - - /** - * @ignore - */ - private function fieldJsonByteSize($field) - { - $size = 0; - - if ($field->isMap()) { - $getter = $field->getGetter(); - $values = $this->$getter(); - $count = count($values); - if ($count !== 0) { - if (!GPBUtil::hasSpecialJsonMapping($this)) { - $size += 3; // size for "\"\":". - $size += strlen($field->getJsonName()); // size for field name - } - $size += 2; // size for "{}". - $size += $count - 1; // size for commas - $getter = $field->getGetter(); - $map_entry = $field->getMessageType(); - $key_field = $map_entry->getFieldByNumber(1); - $value_field = $map_entry->getFieldByNumber(2); - switch ($key_field->getType()) { - case GPBType::STRING: - case GPBType::SFIXED64: - case GPBType::INT64: - case GPBType::SINT64: - case GPBType::FIXED64: - case GPBType::UINT64: - $additional_quote = false; - break; - default: - $additional_quote = true; - } - foreach ($values as $key => $value) { - if ($additional_quote) { - $size += 2; // size for "" - } - $size += $this->fieldDataOnlyJsonByteSize($key_field, $key); - $size += $this->fieldDataOnlyJsonByteSize($value_field, $value); - $size += 1; // size for : - } - } - } elseif ($field->isRepeated()) { - $getter = $field->getGetter(); - $values = $this->$getter(); - $count = count($values); - if ($count !== 0) { - if (!GPBUtil::hasSpecialJsonMapping($this)) { - $size += 3; // size for "\"\":". - $size += strlen($field->getJsonName()); // size for field name - } - $size += 2; // size for "[]". - $size += $count - 1; // size for commas - $getter = $field->getGetter(); - foreach ($values as $value) { - $size += $this->fieldDataOnlyJsonByteSize($field, $value); - } - } - } elseif ($this->existField($field) || GPBUtil::hasJsonValue($this)) { - if (!GPBUtil::hasSpecialJsonMapping($this)) { - $size += 3; // size for "\"\":". - $size += strlen($field->getJsonName()); // size for field name - } - $getter = $field->getGetter(); - $value = $this->$getter(); - $size += $this->fieldDataOnlyJsonByteSize($field, $value); - } - return $size; - } - - /** - * @ignore - */ - public function byteSize() - { - $size = 0; - - $fields = $this->desc->getField(); - foreach ($fields as $field) { - $size += $this->fieldByteSize($field); - } - $size += strlen($this->unknown); - return $size; - } - - private function appendHelper($field, $append_value) - { - $getter = $field->getGetter(); - $setter = $field->getSetter(); - - $field_arr_value = $this->$getter(); - $field_arr_value[] = $append_value; - - if (!is_object($field_arr_value)) { - $this->$setter($field_arr_value); - } - } - - private function kvUpdateHelper($field, $update_key, $update_value) - { - $getter = $field->getGetter(); - $setter = $field->getSetter(); - - $field_arr_value = $this->$getter(); - $field_arr_value[$update_key] = $update_value; - - if (!is_object($field_arr_value)) { - $this->$setter($field_arr_value); - } - } - - /** - * @ignore - */ - public function jsonByteSize() - { - $size = 0; - if (is_a($this, 'Google\Protobuf\Any')) { - // Size for "{}". - $size += 2; - - // Size for "\"@type\":". - $size += 8; - - // Size for url. +2 for "" /. - $size += strlen($this->getTypeUrl()) + 2; - - $value_msg = $this->unpack(); - if (GPBUtil::hasSpecialJsonMapping($value_msg)) { - // Size for "\",value\":". - $size += 9; - $size += $value_msg->jsonByteSize(); - } else { - $value_size = $value_msg->jsonByteSize(); - // size === 2 it's empty message {} which is not serialized inside any - if ($value_size !== 2) { - // Size for value. +1 for comma, -2 for "{}". - $size += $value_size -1; - } - } - } elseif (get_class($this) === 'Google\Protobuf\FieldMask') { - $field_mask = GPBUtil::formatFieldMask($this); - $size += strlen($field_mask) + 2; // 2 for "" - } elseif (get_class($this) === 'Google\Protobuf\Duration') { - $duration = GPBUtil::formatDuration($this) . "s"; - $size += strlen($duration) + 2; // 2 for "" - } elseif (get_class($this) === 'Google\Protobuf\Timestamp') { - $timestamp = GPBUtil::formatTimestamp($this); - $timestamp = json_encode($timestamp); - $size += strlen($timestamp); - } elseif (get_class($this) === 'Google\Protobuf\ListValue') { - $field = $this->desc->getField()[1]; - if ($this->existField($field)) { - $field_size = $this->fieldJsonByteSize($field); - $size += $field_size; - } else { - // Size for "[]". - $size += 2; - } - } elseif (get_class($this) === 'Google\Protobuf\Struct') { - $field = $this->desc->getField()[1]; - if ($this->existField($field)) { - $field_size = $this->fieldJsonByteSize($field); - $size += $field_size; - } else { - // Size for "{}". - $size += 2; - } - } else { - if (!GPBUtil::hasSpecialJsonMapping($this)) { - // Size for "{}". - $size += 2; - } - - $fields = $this->desc->getField(); - $count = 0; - foreach ($fields as $field) { - $field_size = $this->fieldJsonByteSize($field); - $size += $field_size; - if ($field_size != 0) { - $count++; - } - } - // size for comma - $size += $count > 0 ? ($count - 1) : 0; - } - return $size; - } -} diff --git a/vendor/google/protobuf/src/Google/Protobuf/Internal/MessageBuilderContext.php b/vendor/google/protobuf/src/Google/Protobuf/Internal/MessageBuilderContext.php deleted file mode 100644 index 2724d2673..000000000 --- a/vendor/google/protobuf/src/Google/Protobuf/Internal/MessageBuilderContext.php +++ /dev/null @@ -1,120 +0,0 @@ -descriptor = new Descriptor(); - $this->descriptor->setFullName($full_name); - $this->descriptor->setClass($klass); - $this->pool = $pool; - } - - private function getFieldDescriptor($name, $label, $type, - $number, $type_name = null) - { - $field = new FieldDescriptor(); - $field->setName($name); - $camel_name = implode('', array_map('ucwords', explode('_', $name))); - $field->setGetter('get' . $camel_name); - $field->setSetter('set' . $camel_name); - $field->setType($type); - $field->setNumber($number); - $field->setLabel($label); - - // At this time, the message/enum type may have not been added to pool. - // So we use the type name as place holder and will replace it with the - // actual descriptor in cross building. - switch ($type) { - case GPBType::MESSAGE: - $field->setMessageType($type_name); - break; - case GPBType::ENUM: - $field->setEnumType($type_name); - break; - default: - break; - } - - return $field; - } - - public function optional($name, $type, $number, $type_name = null) - { - $this->descriptor->addField($this->getFieldDescriptor( - $name, - GPBLabel::OPTIONAL, - $type, - $number, - $type_name)); - return $this; - } - - public function repeated($name, $type, $number, $type_name = null) - { - $this->descriptor->addField($this->getFieldDescriptor( - $name, - GPBLabel::REPEATED, - $type, - $number, - $type_name)); - return $this; - } - - public function required($name, $type, $number, $type_name = null) - { - $this->descriptor->addField($this->getFieldDescriptor( - $name, - GPBLabel::REQUIRED, - $type, - $number, - $type_name)); - return $this; - } - - public function finalizeToPool() - { - $this->pool->addDescriptor($this->descriptor); - } -} diff --git a/vendor/google/protobuf/src/Google/Protobuf/Internal/MessageOptions.php b/vendor/google/protobuf/src/Google/Protobuf/Internal/MessageOptions.php deleted file mode 100644 index f09e8de16..000000000 --- a/vendor/google/protobuf/src/Google/Protobuf/Internal/MessageOptions.php +++ /dev/null @@ -1,466 +0,0 @@ -google.protobuf.MessageOptions - */ -class MessageOptions extends \Google\Protobuf\Internal\Message -{ - /** - * Set true to use the old proto1 MessageSet wire format for extensions. - * This is provided for backwards-compatibility with the MessageSet wire - * format. You should not use this for any other reason: It's less - * efficient, has fewer features, and is more complicated. - * The message must be defined exactly as follows: - * message Foo { - * option message_set_wire_format = true; - * extensions 4 to max; - * } - * Note that the message cannot have any defined fields; MessageSets only - * have extensions. - * All extensions of your type must be singular messages; e.g. they cannot - * be int32s, enums, or repeated messages. - * Because this is an option, the above two restrictions are not enforced by - * the protocol compiler. - * - * Generated from protobuf field optional bool message_set_wire_format = 1 [default = false]; - */ - protected $message_set_wire_format = null; - /** - * Disables the generation of the standard "descriptor()" accessor, which can - * conflict with a field of the same name. This is meant to make migration - * from proto1 easier; new code should avoid fields named "descriptor". - * - * Generated from protobuf field optional bool no_standard_descriptor_accessor = 2 [default = false]; - */ - protected $no_standard_descriptor_accessor = null; - /** - * Is this message deprecated? - * Depending on the target platform, this can emit Deprecated annotations - * for the message, or it will be completely ignored; in the very least, - * this is a formalization for deprecating messages. - * - * Generated from protobuf field optional bool deprecated = 3 [default = false]; - */ - protected $deprecated = null; - /** - * NOTE: Do not set the option in .proto files. Always use the maps syntax - * instead. The option should only be implicitly set by the proto compiler - * parser. - * Whether the message is an automatically generated map entry type for the - * maps field. - * For maps fields: - * map map_field = 1; - * The parsed descriptor looks like: - * message MapFieldEntry { - * option map_entry = true; - * optional KeyType key = 1; - * optional ValueType value = 2; - * } - * repeated MapFieldEntry map_field = 1; - * Implementations may choose not to generate the map_entry=true message, but - * use a native map in the target language to hold the keys and values. - * The reflection APIs in such implementations still need to work as - * if the field is a repeated message field. - * - * Generated from protobuf field optional bool map_entry = 7; - */ - protected $map_entry = null; - /** - * Enable the legacy handling of JSON field name conflicts. This lowercases - * and strips underscored from the fields before comparison in proto3 only. - * The new behavior takes `json_name` into account and applies to proto2 as - * well. - * This should only be used as a temporary measure against broken builds due - * to the change in behavior for JSON field name conflicts. - * TODO(b/261750190) This is legacy behavior we plan to remove once downstream - * teams have had time to migrate. - * - * Generated from protobuf field optional bool deprecated_legacy_json_field_conflicts = 11 [deprecated = true]; - * @deprecated - */ - protected $deprecated_legacy_json_field_conflicts = null; - /** - * The parser stores options it doesn't recognize here. See above. - * - * Generated from protobuf field repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; - */ - private $uninterpreted_option; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type bool $message_set_wire_format - * Set true to use the old proto1 MessageSet wire format for extensions. - * This is provided for backwards-compatibility with the MessageSet wire - * format. You should not use this for any other reason: It's less - * efficient, has fewer features, and is more complicated. - * The message must be defined exactly as follows: - * message Foo { - * option message_set_wire_format = true; - * extensions 4 to max; - * } - * Note that the message cannot have any defined fields; MessageSets only - * have extensions. - * All extensions of your type must be singular messages; e.g. they cannot - * be int32s, enums, or repeated messages. - * Because this is an option, the above two restrictions are not enforced by - * the protocol compiler. - * @type bool $no_standard_descriptor_accessor - * Disables the generation of the standard "descriptor()" accessor, which can - * conflict with a field of the same name. This is meant to make migration - * from proto1 easier; new code should avoid fields named "descriptor". - * @type bool $deprecated - * Is this message deprecated? - * Depending on the target platform, this can emit Deprecated annotations - * for the message, or it will be completely ignored; in the very least, - * this is a formalization for deprecating messages. - * @type bool $map_entry - * NOTE: Do not set the option in .proto files. Always use the maps syntax - * instead. The option should only be implicitly set by the proto compiler - * parser. - * Whether the message is an automatically generated map entry type for the - * maps field. - * For maps fields: - * map map_field = 1; - * The parsed descriptor looks like: - * message MapFieldEntry { - * option map_entry = true; - * optional KeyType key = 1; - * optional ValueType value = 2; - * } - * repeated MapFieldEntry map_field = 1; - * Implementations may choose not to generate the map_entry=true message, but - * use a native map in the target language to hold the keys and values. - * The reflection APIs in such implementations still need to work as - * if the field is a repeated message field. - * @type bool $deprecated_legacy_json_field_conflicts - * Enable the legacy handling of JSON field name conflicts. This lowercases - * and strips underscored from the fields before comparison in proto3 only. - * The new behavior takes `json_name` into account and applies to proto2 as - * well. - * This should only be used as a temporary measure against broken builds due - * to the change in behavior for JSON field name conflicts. - * TODO(b/261750190) This is legacy behavior we plan to remove once downstream - * teams have had time to migrate. - * @type array<\Google\Protobuf\Internal\UninterpretedOption>|\Google\Protobuf\Internal\RepeatedField $uninterpreted_option - * The parser stores options it doesn't recognize here. See above. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Protobuf\Internal\Descriptor::initOnce(); - parent::__construct($data); - } - - /** - * Set true to use the old proto1 MessageSet wire format for extensions. - * This is provided for backwards-compatibility with the MessageSet wire - * format. You should not use this for any other reason: It's less - * efficient, has fewer features, and is more complicated. - * The message must be defined exactly as follows: - * message Foo { - * option message_set_wire_format = true; - * extensions 4 to max; - * } - * Note that the message cannot have any defined fields; MessageSets only - * have extensions. - * All extensions of your type must be singular messages; e.g. they cannot - * be int32s, enums, or repeated messages. - * Because this is an option, the above two restrictions are not enforced by - * the protocol compiler. - * - * Generated from protobuf field optional bool message_set_wire_format = 1 [default = false]; - * @return bool - */ - public function getMessageSetWireFormat() - { - return isset($this->message_set_wire_format) ? $this->message_set_wire_format : false; - } - - public function hasMessageSetWireFormat() - { - return isset($this->message_set_wire_format); - } - - public function clearMessageSetWireFormat() - { - unset($this->message_set_wire_format); - } - - /** - * Set true to use the old proto1 MessageSet wire format for extensions. - * This is provided for backwards-compatibility with the MessageSet wire - * format. You should not use this for any other reason: It's less - * efficient, has fewer features, and is more complicated. - * The message must be defined exactly as follows: - * message Foo { - * option message_set_wire_format = true; - * extensions 4 to max; - * } - * Note that the message cannot have any defined fields; MessageSets only - * have extensions. - * All extensions of your type must be singular messages; e.g. they cannot - * be int32s, enums, or repeated messages. - * Because this is an option, the above two restrictions are not enforced by - * the protocol compiler. - * - * Generated from protobuf field optional bool message_set_wire_format = 1 [default = false]; - * @param bool $var - * @return $this - */ - public function setMessageSetWireFormat($var) - { - GPBUtil::checkBool($var); - $this->message_set_wire_format = $var; - - return $this; - } - - /** - * Disables the generation of the standard "descriptor()" accessor, which can - * conflict with a field of the same name. This is meant to make migration - * from proto1 easier; new code should avoid fields named "descriptor". - * - * Generated from protobuf field optional bool no_standard_descriptor_accessor = 2 [default = false]; - * @return bool - */ - public function getNoStandardDescriptorAccessor() - { - return isset($this->no_standard_descriptor_accessor) ? $this->no_standard_descriptor_accessor : false; - } - - public function hasNoStandardDescriptorAccessor() - { - return isset($this->no_standard_descriptor_accessor); - } - - public function clearNoStandardDescriptorAccessor() - { - unset($this->no_standard_descriptor_accessor); - } - - /** - * Disables the generation of the standard "descriptor()" accessor, which can - * conflict with a field of the same name. This is meant to make migration - * from proto1 easier; new code should avoid fields named "descriptor". - * - * Generated from protobuf field optional bool no_standard_descriptor_accessor = 2 [default = false]; - * @param bool $var - * @return $this - */ - public function setNoStandardDescriptorAccessor($var) - { - GPBUtil::checkBool($var); - $this->no_standard_descriptor_accessor = $var; - - return $this; - } - - /** - * Is this message deprecated? - * Depending on the target platform, this can emit Deprecated annotations - * for the message, or it will be completely ignored; in the very least, - * this is a formalization for deprecating messages. - * - * Generated from protobuf field optional bool deprecated = 3 [default = false]; - * @return bool - */ - public function getDeprecated() - { - return isset($this->deprecated) ? $this->deprecated : false; - } - - public function hasDeprecated() - { - return isset($this->deprecated); - } - - public function clearDeprecated() - { - unset($this->deprecated); - } - - /** - * Is this message deprecated? - * Depending on the target platform, this can emit Deprecated annotations - * for the message, or it will be completely ignored; in the very least, - * this is a formalization for deprecating messages. - * - * Generated from protobuf field optional bool deprecated = 3 [default = false]; - * @param bool $var - * @return $this - */ - public function setDeprecated($var) - { - GPBUtil::checkBool($var); - $this->deprecated = $var; - - return $this; - } - - /** - * NOTE: Do not set the option in .proto files. Always use the maps syntax - * instead. The option should only be implicitly set by the proto compiler - * parser. - * Whether the message is an automatically generated map entry type for the - * maps field. - * For maps fields: - * map map_field = 1; - * The parsed descriptor looks like: - * message MapFieldEntry { - * option map_entry = true; - * optional KeyType key = 1; - * optional ValueType value = 2; - * } - * repeated MapFieldEntry map_field = 1; - * Implementations may choose not to generate the map_entry=true message, but - * use a native map in the target language to hold the keys and values. - * The reflection APIs in such implementations still need to work as - * if the field is a repeated message field. - * - * Generated from protobuf field optional bool map_entry = 7; - * @return bool - */ - public function getMapEntry() - { - return isset($this->map_entry) ? $this->map_entry : false; - } - - public function hasMapEntry() - { - return isset($this->map_entry); - } - - public function clearMapEntry() - { - unset($this->map_entry); - } - - /** - * NOTE: Do not set the option in .proto files. Always use the maps syntax - * instead. The option should only be implicitly set by the proto compiler - * parser. - * Whether the message is an automatically generated map entry type for the - * maps field. - * For maps fields: - * map map_field = 1; - * The parsed descriptor looks like: - * message MapFieldEntry { - * option map_entry = true; - * optional KeyType key = 1; - * optional ValueType value = 2; - * } - * repeated MapFieldEntry map_field = 1; - * Implementations may choose not to generate the map_entry=true message, but - * use a native map in the target language to hold the keys and values. - * The reflection APIs in such implementations still need to work as - * if the field is a repeated message field. - * - * Generated from protobuf field optional bool map_entry = 7; - * @param bool $var - * @return $this - */ - public function setMapEntry($var) - { - GPBUtil::checkBool($var); - $this->map_entry = $var; - - return $this; - } - - /** - * Enable the legacy handling of JSON field name conflicts. This lowercases - * and strips underscored from the fields before comparison in proto3 only. - * The new behavior takes `json_name` into account and applies to proto2 as - * well. - * This should only be used as a temporary measure against broken builds due - * to the change in behavior for JSON field name conflicts. - * TODO(b/261750190) This is legacy behavior we plan to remove once downstream - * teams have had time to migrate. - * - * Generated from protobuf field optional bool deprecated_legacy_json_field_conflicts = 11 [deprecated = true]; - * @return bool - * @deprecated - */ - public function getDeprecatedLegacyJsonFieldConflicts() - { - @trigger_error('deprecated_legacy_json_field_conflicts is deprecated.', E_USER_DEPRECATED); - return isset($this->deprecated_legacy_json_field_conflicts) ? $this->deprecated_legacy_json_field_conflicts : false; - } - - public function hasDeprecatedLegacyJsonFieldConflicts() - { - @trigger_error('deprecated_legacy_json_field_conflicts is deprecated.', E_USER_DEPRECATED); - return isset($this->deprecated_legacy_json_field_conflicts); - } - - public function clearDeprecatedLegacyJsonFieldConflicts() - { - @trigger_error('deprecated_legacy_json_field_conflicts is deprecated.', E_USER_DEPRECATED); - unset($this->deprecated_legacy_json_field_conflicts); - } - - /** - * Enable the legacy handling of JSON field name conflicts. This lowercases - * and strips underscored from the fields before comparison in proto3 only. - * The new behavior takes `json_name` into account and applies to proto2 as - * well. - * This should only be used as a temporary measure against broken builds due - * to the change in behavior for JSON field name conflicts. - * TODO(b/261750190) This is legacy behavior we plan to remove once downstream - * teams have had time to migrate. - * - * Generated from protobuf field optional bool deprecated_legacy_json_field_conflicts = 11 [deprecated = true]; - * @param bool $var - * @return $this - * @deprecated - */ - public function setDeprecatedLegacyJsonFieldConflicts($var) - { - @trigger_error('deprecated_legacy_json_field_conflicts is deprecated.', E_USER_DEPRECATED); - GPBUtil::checkBool($var); - $this->deprecated_legacy_json_field_conflicts = $var; - - return $this; - } - - /** - * The parser stores options it doesn't recognize here. See above. - * - * Generated from protobuf field repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getUninterpretedOption() - { - return $this->uninterpreted_option; - } - - /** - * The parser stores options it doesn't recognize here. See above. - * - * Generated from protobuf field repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; - * @param array<\Google\Protobuf\Internal\UninterpretedOption>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setUninterpretedOption($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Protobuf\Internal\UninterpretedOption::class); - $this->uninterpreted_option = $arr; - - return $this; - } - -} - diff --git a/vendor/google/protobuf/src/Google/Protobuf/Internal/MethodDescriptorProto.php b/vendor/google/protobuf/src/Google/Protobuf/Internal/MethodDescriptorProto.php deleted file mode 100644 index 96efb02d2..000000000 --- a/vendor/google/protobuf/src/Google/Protobuf/Internal/MethodDescriptorProto.php +++ /dev/null @@ -1,282 +0,0 @@ -google.protobuf.MethodDescriptorProto - */ -class MethodDescriptorProto extends \Google\Protobuf\Internal\Message -{ - /** - * Generated from protobuf field optional string name = 1; - */ - protected $name = null; - /** - * Input and output type names. These are resolved in the same way as - * FieldDescriptorProto.type_name, but must refer to a message type. - * - * Generated from protobuf field optional string input_type = 2; - */ - protected $input_type = null; - /** - * Generated from protobuf field optional string output_type = 3; - */ - protected $output_type = null; - /** - * Generated from protobuf field optional .google.protobuf.MethodOptions options = 4; - */ - protected $options = null; - /** - * Identifies if client streams multiple client messages - * - * Generated from protobuf field optional bool client_streaming = 5 [default = false]; - */ - protected $client_streaming = null; - /** - * Identifies if server streams multiple server messages - * - * Generated from protobuf field optional bool server_streaming = 6 [default = false]; - */ - protected $server_streaming = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * @type string $input_type - * Input and output type names. These are resolved in the same way as - * FieldDescriptorProto.type_name, but must refer to a message type. - * @type string $output_type - * @type \Google\Protobuf\Internal\MethodOptions $options - * @type bool $client_streaming - * Identifies if client streams multiple client messages - * @type bool $server_streaming - * Identifies if server streams multiple server messages - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Protobuf\Internal\Descriptor::initOnce(); - parent::__construct($data); - } - - /** - * Generated from protobuf field optional string name = 1; - * @return string - */ - public function getName() - { - return isset($this->name) ? $this->name : ''; - } - - public function hasName() - { - return isset($this->name); - } - - public function clearName() - { - unset($this->name); - } - - /** - * Generated from protobuf field optional string name = 1; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * Input and output type names. These are resolved in the same way as - * FieldDescriptorProto.type_name, but must refer to a message type. - * - * Generated from protobuf field optional string input_type = 2; - * @return string - */ - public function getInputType() - { - return isset($this->input_type) ? $this->input_type : ''; - } - - public function hasInputType() - { - return isset($this->input_type); - } - - public function clearInputType() - { - unset($this->input_type); - } - - /** - * Input and output type names. These are resolved in the same way as - * FieldDescriptorProto.type_name, but must refer to a message type. - * - * Generated from protobuf field optional string input_type = 2; - * @param string $var - * @return $this - */ - public function setInputType($var) - { - GPBUtil::checkString($var, True); - $this->input_type = $var; - - return $this; - } - - /** - * Generated from protobuf field optional string output_type = 3; - * @return string - */ - public function getOutputType() - { - return isset($this->output_type) ? $this->output_type : ''; - } - - public function hasOutputType() - { - return isset($this->output_type); - } - - public function clearOutputType() - { - unset($this->output_type); - } - - /** - * Generated from protobuf field optional string output_type = 3; - * @param string $var - * @return $this - */ - public function setOutputType($var) - { - GPBUtil::checkString($var, True); - $this->output_type = $var; - - return $this; - } - - /** - * Generated from protobuf field optional .google.protobuf.MethodOptions options = 4; - * @return \Google\Protobuf\Internal\MethodOptions|null - */ - public function getOptions() - { - return $this->options; - } - - public function hasOptions() - { - return isset($this->options); - } - - public function clearOptions() - { - unset($this->options); - } - - /** - * Generated from protobuf field optional .google.protobuf.MethodOptions options = 4; - * @param \Google\Protobuf\Internal\MethodOptions $var - * @return $this - */ - public function setOptions($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Internal\MethodOptions::class); - $this->options = $var; - - return $this; - } - - /** - * Identifies if client streams multiple client messages - * - * Generated from protobuf field optional bool client_streaming = 5 [default = false]; - * @return bool - */ - public function getClientStreaming() - { - return isset($this->client_streaming) ? $this->client_streaming : false; - } - - public function hasClientStreaming() - { - return isset($this->client_streaming); - } - - public function clearClientStreaming() - { - unset($this->client_streaming); - } - - /** - * Identifies if client streams multiple client messages - * - * Generated from protobuf field optional bool client_streaming = 5 [default = false]; - * @param bool $var - * @return $this - */ - public function setClientStreaming($var) - { - GPBUtil::checkBool($var); - $this->client_streaming = $var; - - return $this; - } - - /** - * Identifies if server streams multiple server messages - * - * Generated from protobuf field optional bool server_streaming = 6 [default = false]; - * @return bool - */ - public function getServerStreaming() - { - return isset($this->server_streaming) ? $this->server_streaming : false; - } - - public function hasServerStreaming() - { - return isset($this->server_streaming); - } - - public function clearServerStreaming() - { - unset($this->server_streaming); - } - - /** - * Identifies if server streams multiple server messages - * - * Generated from protobuf field optional bool server_streaming = 6 [default = false]; - * @param bool $var - * @return $this - */ - public function setServerStreaming($var) - { - GPBUtil::checkBool($var); - $this->server_streaming = $var; - - return $this; - } - -} - diff --git a/vendor/google/protobuf/src/Google/Protobuf/Internal/MethodOptions.php b/vendor/google/protobuf/src/Google/Protobuf/Internal/MethodOptions.php deleted file mode 100644 index 87af45167..000000000 --- a/vendor/google/protobuf/src/Google/Protobuf/Internal/MethodOptions.php +++ /dev/null @@ -1,160 +0,0 @@ -google.protobuf.MethodOptions - */ -class MethodOptions extends \Google\Protobuf\Internal\Message -{ - /** - * Is this method deprecated? - * Depending on the target platform, this can emit Deprecated annotations - * for the method, or it will be completely ignored; in the very least, - * this is a formalization for deprecating methods. - * - * Generated from protobuf field optional bool deprecated = 33 [default = false]; - */ - protected $deprecated = null; - /** - * Generated from protobuf field optional .google.protobuf.MethodOptions.IdempotencyLevel idempotency_level = 34 [default = IDEMPOTENCY_UNKNOWN]; - */ - protected $idempotency_level = null; - /** - * The parser stores options it doesn't recognize here. See above. - * - * Generated from protobuf field repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; - */ - private $uninterpreted_option; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type bool $deprecated - * Is this method deprecated? - * Depending on the target platform, this can emit Deprecated annotations - * for the method, or it will be completely ignored; in the very least, - * this is a formalization for deprecating methods. - * @type int $idempotency_level - * @type array<\Google\Protobuf\Internal\UninterpretedOption>|\Google\Protobuf\Internal\RepeatedField $uninterpreted_option - * The parser stores options it doesn't recognize here. See above. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Protobuf\Internal\Descriptor::initOnce(); - parent::__construct($data); - } - - /** - * Is this method deprecated? - * Depending on the target platform, this can emit Deprecated annotations - * for the method, or it will be completely ignored; in the very least, - * this is a formalization for deprecating methods. - * - * Generated from protobuf field optional bool deprecated = 33 [default = false]; - * @return bool - */ - public function getDeprecated() - { - return isset($this->deprecated) ? $this->deprecated : false; - } - - public function hasDeprecated() - { - return isset($this->deprecated); - } - - public function clearDeprecated() - { - unset($this->deprecated); - } - - /** - * Is this method deprecated? - * Depending on the target platform, this can emit Deprecated annotations - * for the method, or it will be completely ignored; in the very least, - * this is a formalization for deprecating methods. - * - * Generated from protobuf field optional bool deprecated = 33 [default = false]; - * @param bool $var - * @return $this - */ - public function setDeprecated($var) - { - GPBUtil::checkBool($var); - $this->deprecated = $var; - - return $this; - } - - /** - * Generated from protobuf field optional .google.protobuf.MethodOptions.IdempotencyLevel idempotency_level = 34 [default = IDEMPOTENCY_UNKNOWN]; - * @return int - */ - public function getIdempotencyLevel() - { - return isset($this->idempotency_level) ? $this->idempotency_level : 0; - } - - public function hasIdempotencyLevel() - { - return isset($this->idempotency_level); - } - - public function clearIdempotencyLevel() - { - unset($this->idempotency_level); - } - - /** - * Generated from protobuf field optional .google.protobuf.MethodOptions.IdempotencyLevel idempotency_level = 34 [default = IDEMPOTENCY_UNKNOWN]; - * @param int $var - * @return $this - */ - public function setIdempotencyLevel($var) - { - GPBUtil::checkEnum($var, \Google\Protobuf\Internal\MethodOptions\IdempotencyLevel::class); - $this->idempotency_level = $var; - - return $this; - } - - /** - * The parser stores options it doesn't recognize here. See above. - * - * Generated from protobuf field repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getUninterpretedOption() - { - return $this->uninterpreted_option; - } - - /** - * The parser stores options it doesn't recognize here. See above. - * - * Generated from protobuf field repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; - * @param array<\Google\Protobuf\Internal\UninterpretedOption>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setUninterpretedOption($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Protobuf\Internal\UninterpretedOption::class); - $this->uninterpreted_option = $arr; - - return $this; - } - -} - diff --git a/vendor/google/protobuf/src/Google/Protobuf/Internal/MethodOptions/IdempotencyLevel.php b/vendor/google/protobuf/src/Google/Protobuf/Internal/MethodOptions/IdempotencyLevel.php deleted file mode 100644 index ce3c062c6..000000000 --- a/vendor/google/protobuf/src/Google/Protobuf/Internal/MethodOptions/IdempotencyLevel.php +++ /dev/null @@ -1,64 +0,0 @@ -google.protobuf.MethodOptions.IdempotencyLevel - */ -class IdempotencyLevel -{ - /** - * Generated from protobuf enum IDEMPOTENCY_UNKNOWN = 0; - */ - const IDEMPOTENCY_UNKNOWN = 0; - /** - * implies idempotent - * - * Generated from protobuf enum NO_SIDE_EFFECTS = 1; - */ - const NO_SIDE_EFFECTS = 1; - /** - * idempotent, but may have side effects - * - * Generated from protobuf enum IDEMPOTENT = 2; - */ - const IDEMPOTENT = 2; - - private static $valueToName = [ - self::IDEMPOTENCY_UNKNOWN => 'IDEMPOTENCY_UNKNOWN', - self::NO_SIDE_EFFECTS => 'NO_SIDE_EFFECTS', - self::IDEMPOTENT => 'IDEMPOTENT', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(IdempotencyLevel::class, \Google\Protobuf\Internal\MethodOptions_IdempotencyLevel::class); - diff --git a/vendor/google/protobuf/src/Google/Protobuf/Internal/MethodOptions_IdempotencyLevel.php b/vendor/google/protobuf/src/Google/Protobuf/Internal/MethodOptions_IdempotencyLevel.php deleted file mode 100644 index a29131145..000000000 --- a/vendor/google/protobuf/src/Google/Protobuf/Internal/MethodOptions_IdempotencyLevel.php +++ /dev/null @@ -1,16 +0,0 @@ -public_desc = new \Google\Protobuf\OneofDescriptor($this); - } - - public function setName($name) - { - $this->name = $name; - } - - public function getName() - { - return $this->name; - } - - public function addField(FieldDescriptor $field) - { - $this->fields[] = $field; - } - - public function getFields() - { - return $this->fields; - } - - public function isSynthetic() - { - return !is_null($this->fields) && count($this->fields) === 1 - && $this->fields[0]->getProto3Optional(); - } - - public static function buildFromProto($oneof_proto, $desc, $index) - { - $oneof = new OneofDescriptor(); - $oneof->setName($oneof_proto->getName()); - foreach ($desc->getField() as $field) { - /** @var FieldDescriptor $field */ - if ($field->getOneofIndex() == $index) { - $oneof->addField($field); - $field->setContainingOneof($oneof); - } - } - return $oneof; - } -} diff --git a/vendor/google/protobuf/src/Google/Protobuf/Internal/OneofDescriptorProto.php b/vendor/google/protobuf/src/Google/Protobuf/Internal/OneofDescriptorProto.php deleted file mode 100644 index 3cb9f25c2..000000000 --- a/vendor/google/protobuf/src/Google/Protobuf/Internal/OneofDescriptorProto.php +++ /dev/null @@ -1,109 +0,0 @@ -google.protobuf.OneofDescriptorProto - */ -class OneofDescriptorProto extends \Google\Protobuf\Internal\Message -{ - /** - * Generated from protobuf field optional string name = 1; - */ - protected $name = null; - /** - * Generated from protobuf field optional .google.protobuf.OneofOptions options = 2; - */ - protected $options = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * @type \Google\Protobuf\Internal\OneofOptions $options - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Protobuf\Internal\Descriptor::initOnce(); - parent::__construct($data); - } - - /** - * Generated from protobuf field optional string name = 1; - * @return string - */ - public function getName() - { - return isset($this->name) ? $this->name : ''; - } - - public function hasName() - { - return isset($this->name); - } - - public function clearName() - { - unset($this->name); - } - - /** - * Generated from protobuf field optional string name = 1; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * Generated from protobuf field optional .google.protobuf.OneofOptions options = 2; - * @return \Google\Protobuf\Internal\OneofOptions|null - */ - public function getOptions() - { - return $this->options; - } - - public function hasOptions() - { - return isset($this->options); - } - - public function clearOptions() - { - unset($this->options); - } - - /** - * Generated from protobuf field optional .google.protobuf.OneofOptions options = 2; - * @param \Google\Protobuf\Internal\OneofOptions $var - * @return $this - */ - public function setOptions($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Internal\OneofOptions::class); - $this->options = $var; - - return $this; - } - -} - diff --git a/vendor/google/protobuf/src/Google/Protobuf/Internal/OneofField.php b/vendor/google/protobuf/src/Google/Protobuf/Internal/OneofField.php deleted file mode 100644 index 2c689e836..000000000 --- a/vendor/google/protobuf/src/Google/Protobuf/Internal/OneofField.php +++ /dev/null @@ -1,77 +0,0 @@ -desc = $desc; - } - - public function setValue($value) - { - $this->value = $value; - } - - public function getValue() - { - return $this->value; - } - - public function setFieldName($field_name) - { - $this->field_name = $field_name; - } - - public function getFieldName() - { - return $this->field_name; - } - - public function setNumber($number) - { - $this->number = $number; - } - - public function getNumber() - { - return $this->number; - } -} diff --git a/vendor/google/protobuf/src/Google/Protobuf/Internal/OneofOptions.php b/vendor/google/protobuf/src/Google/Protobuf/Internal/OneofOptions.php deleted file mode 100644 index b44d19457..000000000 --- a/vendor/google/protobuf/src/Google/Protobuf/Internal/OneofOptions.php +++ /dev/null @@ -1,67 +0,0 @@ -google.protobuf.OneofOptions - */ -class OneofOptions extends \Google\Protobuf\Internal\Message -{ - /** - * The parser stores options it doesn't recognize here. See above. - * - * Generated from protobuf field repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; - */ - private $uninterpreted_option; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Protobuf\Internal\UninterpretedOption>|\Google\Protobuf\Internal\RepeatedField $uninterpreted_option - * The parser stores options it doesn't recognize here. See above. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Protobuf\Internal\Descriptor::initOnce(); - parent::__construct($data); - } - - /** - * The parser stores options it doesn't recognize here. See above. - * - * Generated from protobuf field repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getUninterpretedOption() - { - return $this->uninterpreted_option; - } - - /** - * The parser stores options it doesn't recognize here. See above. - * - * Generated from protobuf field repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; - * @param array<\Google\Protobuf\Internal\UninterpretedOption>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setUninterpretedOption($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Protobuf\Internal\UninterpretedOption::class); - $this->uninterpreted_option = $arr; - - return $this; - } - -} - diff --git a/vendor/google/protobuf/src/Google/Protobuf/Internal/RawInputStream.php b/vendor/google/protobuf/src/Google/Protobuf/Internal/RawInputStream.php deleted file mode 100644 index 4e7ed5cb4..000000000 --- a/vendor/google/protobuf/src/Google/Protobuf/Internal/RawInputStream.php +++ /dev/null @@ -1,50 +0,0 @@ -buffer = $buffer; - } - - public function getData() - { - return $this->buffer; - } - -} diff --git a/vendor/google/protobuf/src/Google/Protobuf/Internal/RepeatedField.php b/vendor/google/protobuf/src/Google/Protobuf/Internal/RepeatedField.php deleted file mode 100644 index f6ecd1c84..000000000 --- a/vendor/google/protobuf/src/Google/Protobuf/Internal/RepeatedField.php +++ /dev/null @@ -1,264 +0,0 @@ -container = []; - $this->type = $type; - if ($this->type == GPBType::MESSAGE) { - $pool = DescriptorPool::getGeneratedPool(); - $desc = $pool->getDescriptorByClassName($klass); - if ($desc == NULL) { - new $klass; // No msg class instance has been created before. - $desc = $pool->getDescriptorByClassName($klass); - } - $this->klass = $desc->getClass(); - $this->legacy_klass = $desc->getLegacyClass(); - } - } - - /** - * @ignore - */ - public function getType() - { - return $this->type; - } - - /** - * @ignore - */ - public function getClass() - { - return $this->klass; - } - - /** - * @ignore - */ - public function getLegacyClass() - { - return $this->legacy_klass; - } - - /** - * Return the element at the given index. - * - * This will also be called for: $ele = $arr[0] - * - * @param integer $offset The index of the element to be fetched. - * @return mixed The stored element at given index. - * @throws \ErrorException Invalid type for index. - * @throws \ErrorException Non-existing index. - * @todo need to add return type mixed (require update php version to 8.0) - */ - #[\ReturnTypeWillChange] - public function offsetGet($offset) - { - return $this->container[$offset]; - } - - /** - * Assign the element at the given index. - * - * This will also be called for: $arr []= $ele and $arr[0] = ele - * - * @param int|null $offset The index of the element to be assigned. - * @param mixed $value The element to be assigned. - * @return void - * @throws \ErrorException Invalid type for index. - * @throws \ErrorException Non-existing index. - * @throws \ErrorException Incorrect type of the element. - * @todo need to add return type void (require update php version to 7.1) - */ - #[\ReturnTypeWillChange] - public function offsetSet($offset, $value) - { - switch ($this->type) { - case GPBType::SFIXED32: - case GPBType::SINT32: - case GPBType::INT32: - case GPBType::ENUM: - GPBUtil::checkInt32($value); - break; - case GPBType::FIXED32: - case GPBType::UINT32: - GPBUtil::checkUint32($value); - break; - case GPBType::SFIXED64: - case GPBType::SINT64: - case GPBType::INT64: - GPBUtil::checkInt64($value); - break; - case GPBType::FIXED64: - case GPBType::UINT64: - GPBUtil::checkUint64($value); - break; - case GPBType::FLOAT: - GPBUtil::checkFloat($value); - break; - case GPBType::DOUBLE: - GPBUtil::checkDouble($value); - break; - case GPBType::BOOL: - GPBUtil::checkBool($value); - break; - case GPBType::BYTES: - GPBUtil::checkString($value, false); - break; - case GPBType::STRING: - GPBUtil::checkString($value, true); - break; - case GPBType::MESSAGE: - if (is_null($value)) { - throw new \TypeError("RepeatedField element cannot be null."); - } - GPBUtil::checkMessage($value, $this->klass); - break; - default: - break; - } - if (is_null($offset)) { - $this->container[] = $value; - } else { - $count = count($this->container); - if (!is_numeric($offset) || $offset < 0 || $offset >= $count) { - trigger_error( - "Cannot modify element at the given index", - E_USER_ERROR); - return; - } - $this->container[$offset] = $value; - } - } - - /** - * Remove the element at the given index. - * - * This will also be called for: unset($arr) - * - * @param integer $offset The index of the element to be removed. - * @return void - * @throws \ErrorException Invalid type for index. - * @throws \ErrorException The element to be removed is not at the end of the - * RepeatedField. - * @todo need to add return type void (require update php version to 7.1) - */ - #[\ReturnTypeWillChange] - public function offsetUnset($offset) - { - $count = count($this->container); - if (!is_numeric($offset) || $count === 0 || $offset < 0 || $offset >= $count) { - trigger_error( - "Cannot remove element at the given index", - E_USER_ERROR); - return; - } - array_splice($this->container, $offset, 1); - } - - /** - * Check the existence of the element at the given index. - * - * This will also be called for: isset($arr) - * - * @param integer $offset The index of the element to be removed. - * @return bool True if the element at the given offset exists. - * @throws \ErrorException Invalid type for index. - */ - public function offsetExists($offset): bool - { - return isset($this->container[$offset]); - } - - /** - * @ignore - */ - public function getIterator(): Traversable - { - return new RepeatedFieldIter($this->container); - } - - /** - * Return the number of stored elements. - * - * This will also be called for: count($arr) - * - * @return integer The number of stored elements. - */ - public function count(): int - { - return count($this->container); - } -} diff --git a/vendor/google/protobuf/src/Google/Protobuf/Internal/RepeatedFieldIter.php b/vendor/google/protobuf/src/Google/Protobuf/Internal/RepeatedFieldIter.php deleted file mode 100644 index 2b541862a..000000000 --- a/vendor/google/protobuf/src/Google/Protobuf/Internal/RepeatedFieldIter.php +++ /dev/null @@ -1,125 +0,0 @@ -position = 0; - $this->container = $container; - } - - /** - * Reset the status of the iterator - * - * @return void - * @todo need to add return type void (require update php version to 7.1) - */ - #[\ReturnTypeWillChange] - public function rewind() - { - $this->position = 0; - } - - /** - * Return the element at the current position. - * - * @return object The element at the current position. - * @todo need to add return type mixed (require update php version to 8.0) - */ - #[\ReturnTypeWillChange] - public function current() - { - return $this->container[$this->position]; - } - - /** - * Return the current position. - * - * @return integer The current position. - * @todo need to add return type mixed (require update php version to 8.0) - */ - #[\ReturnTypeWillChange] - public function key() - { - return $this->position; - } - - /** - * Move to the next position. - * - * @return void - * @todo need to add return type void (require update php version to 7.1) - */ - #[\ReturnTypeWillChange] - public function next() - { - ++$this->position; - } - - /** - * Check whether there are more elements to iterate. - * - * @return bool True if there are more elements to iterate. - */ - public function valid(): bool - { - return isset($this->container[$this->position]); - } -} diff --git a/vendor/google/protobuf/src/Google/Protobuf/Internal/ServiceDescriptorProto.php b/vendor/google/protobuf/src/Google/Protobuf/Internal/ServiceDescriptorProto.php deleted file mode 100644 index e322e2abf..000000000 --- a/vendor/google/protobuf/src/Google/Protobuf/Internal/ServiceDescriptorProto.php +++ /dev/null @@ -1,136 +0,0 @@ -google.protobuf.ServiceDescriptorProto - */ -class ServiceDescriptorProto extends \Google\Protobuf\Internal\Message -{ - /** - * Generated from protobuf field optional string name = 1; - */ - protected $name = null; - /** - * Generated from protobuf field repeated .google.protobuf.MethodDescriptorProto method = 2; - */ - private $method; - /** - * Generated from protobuf field optional .google.protobuf.ServiceOptions options = 3; - */ - protected $options = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * @type array<\Google\Protobuf\Internal\MethodDescriptorProto>|\Google\Protobuf\Internal\RepeatedField $method - * @type \Google\Protobuf\Internal\ServiceOptions $options - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Protobuf\Internal\Descriptor::initOnce(); - parent::__construct($data); - } - - /** - * Generated from protobuf field optional string name = 1; - * @return string - */ - public function getName() - { - return isset($this->name) ? $this->name : ''; - } - - public function hasName() - { - return isset($this->name); - } - - public function clearName() - { - unset($this->name); - } - - /** - * Generated from protobuf field optional string name = 1; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * Generated from protobuf field repeated .google.protobuf.MethodDescriptorProto method = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getMethod() - { - return $this->method; - } - - /** - * Generated from protobuf field repeated .google.protobuf.MethodDescriptorProto method = 2; - * @param array<\Google\Protobuf\Internal\MethodDescriptorProto>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setMethod($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Protobuf\Internal\MethodDescriptorProto::class); - $this->method = $arr; - - return $this; - } - - /** - * Generated from protobuf field optional .google.protobuf.ServiceOptions options = 3; - * @return \Google\Protobuf\Internal\ServiceOptions|null - */ - public function getOptions() - { - return $this->options; - } - - public function hasOptions() - { - return isset($this->options); - } - - public function clearOptions() - { - unset($this->options); - } - - /** - * Generated from protobuf field optional .google.protobuf.ServiceOptions options = 3; - * @param \Google\Protobuf\Internal\ServiceOptions $var - * @return $this - */ - public function setOptions($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Internal\ServiceOptions::class); - $this->options = $var; - - return $this; - } - -} - diff --git a/vendor/google/protobuf/src/Google/Protobuf/Internal/ServiceOptions.php b/vendor/google/protobuf/src/Google/Protobuf/Internal/ServiceOptions.php deleted file mode 100644 index 8ac27ee80..000000000 --- a/vendor/google/protobuf/src/Google/Protobuf/Internal/ServiceOptions.php +++ /dev/null @@ -1,123 +0,0 @@ -google.protobuf.ServiceOptions - */ -class ServiceOptions extends \Google\Protobuf\Internal\Message -{ - /** - * Is this service deprecated? - * Depending on the target platform, this can emit Deprecated annotations - * for the service, or it will be completely ignored; in the very least, - * this is a formalization for deprecating services. - * - * Generated from protobuf field optional bool deprecated = 33 [default = false]; - */ - protected $deprecated = null; - /** - * The parser stores options it doesn't recognize here. See above. - * - * Generated from protobuf field repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; - */ - private $uninterpreted_option; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type bool $deprecated - * Is this service deprecated? - * Depending on the target platform, this can emit Deprecated annotations - * for the service, or it will be completely ignored; in the very least, - * this is a formalization for deprecating services. - * @type array<\Google\Protobuf\Internal\UninterpretedOption>|\Google\Protobuf\Internal\RepeatedField $uninterpreted_option - * The parser stores options it doesn't recognize here. See above. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Protobuf\Internal\Descriptor::initOnce(); - parent::__construct($data); - } - - /** - * Is this service deprecated? - * Depending on the target platform, this can emit Deprecated annotations - * for the service, or it will be completely ignored; in the very least, - * this is a formalization for deprecating services. - * - * Generated from protobuf field optional bool deprecated = 33 [default = false]; - * @return bool - */ - public function getDeprecated() - { - return isset($this->deprecated) ? $this->deprecated : false; - } - - public function hasDeprecated() - { - return isset($this->deprecated); - } - - public function clearDeprecated() - { - unset($this->deprecated); - } - - /** - * Is this service deprecated? - * Depending on the target platform, this can emit Deprecated annotations - * for the service, or it will be completely ignored; in the very least, - * this is a formalization for deprecating services. - * - * Generated from protobuf field optional bool deprecated = 33 [default = false]; - * @param bool $var - * @return $this - */ - public function setDeprecated($var) - { - GPBUtil::checkBool($var); - $this->deprecated = $var; - - return $this; - } - - /** - * The parser stores options it doesn't recognize here. See above. - * - * Generated from protobuf field repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getUninterpretedOption() - { - return $this->uninterpreted_option; - } - - /** - * The parser stores options it doesn't recognize here. See above. - * - * Generated from protobuf field repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; - * @param array<\Google\Protobuf\Internal\UninterpretedOption>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setUninterpretedOption($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Protobuf\Internal\UninterpretedOption::class); - $this->uninterpreted_option = $arr; - - return $this; - } - -} - diff --git a/vendor/google/protobuf/src/Google/Protobuf/Internal/SourceCodeInfo.php b/vendor/google/protobuf/src/Google/Protobuf/Internal/SourceCodeInfo.php deleted file mode 100644 index 0005bc669..000000000 --- a/vendor/google/protobuf/src/Google/Protobuf/Internal/SourceCodeInfo.php +++ /dev/null @@ -1,230 +0,0 @@ -google.protobuf.SourceCodeInfo - */ -class SourceCodeInfo extends \Google\Protobuf\Internal\Message -{ - /** - * A Location identifies a piece of source code in a .proto file which - * corresponds to a particular definition. This information is intended - * to be useful to IDEs, code indexers, documentation generators, and similar - * tools. - * For example, say we have a file like: - * message Foo { - * optional string foo = 1; - * } - * Let's look at just the field definition: - * optional string foo = 1; - * ^ ^^ ^^ ^ ^^^ - * a bc de f ghi - * We have the following locations: - * span path represents - * [a,i) [ 4, 0, 2, 0 ] The whole field definition. - * [a,b) [ 4, 0, 2, 0, 4 ] The label (optional). - * [c,d) [ 4, 0, 2, 0, 5 ] The type (string). - * [e,f) [ 4, 0, 2, 0, 1 ] The name (foo). - * [g,h) [ 4, 0, 2, 0, 3 ] The number (1). - * Notes: - * - A location may refer to a repeated field itself (i.e. not to any - * particular index within it). This is used whenever a set of elements are - * logically enclosed in a single code segment. For example, an entire - * extend block (possibly containing multiple extension definitions) will - * have an outer location whose path refers to the "extensions" repeated - * field without an index. - * - Multiple locations may have the same path. This happens when a single - * logical declaration is spread out across multiple places. The most - * obvious example is the "extend" block again -- there may be multiple - * extend blocks in the same scope, each of which will have the same path. - * - A location's span is not always a subset of its parent's span. For - * example, the "extendee" of an extension declaration appears at the - * beginning of the "extend" block and is shared by all extensions within - * the block. - * - Just because a location's span is a subset of some other location's span - * does not mean that it is a descendant. For example, a "group" defines - * both a type and a field in a single declaration. Thus, the locations - * corresponding to the type and field and their components will overlap. - * - Code which tries to interpret locations should probably be designed to - * ignore those that it doesn't understand, as more types of locations could - * be recorded in the future. - * - * Generated from protobuf field repeated .google.protobuf.SourceCodeInfo.Location location = 1; - */ - private $location; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Protobuf\Internal\SourceCodeInfo\Location>|\Google\Protobuf\Internal\RepeatedField $location - * A Location identifies a piece of source code in a .proto file which - * corresponds to a particular definition. This information is intended - * to be useful to IDEs, code indexers, documentation generators, and similar - * tools. - * For example, say we have a file like: - * message Foo { - * optional string foo = 1; - * } - * Let's look at just the field definition: - * optional string foo = 1; - * ^ ^^ ^^ ^ ^^^ - * a bc de f ghi - * We have the following locations: - * span path represents - * [a,i) [ 4, 0, 2, 0 ] The whole field definition. - * [a,b) [ 4, 0, 2, 0, 4 ] The label (optional). - * [c,d) [ 4, 0, 2, 0, 5 ] The type (string). - * [e,f) [ 4, 0, 2, 0, 1 ] The name (foo). - * [g,h) [ 4, 0, 2, 0, 3 ] The number (1). - * Notes: - * - A location may refer to a repeated field itself (i.e. not to any - * particular index within it). This is used whenever a set of elements are - * logically enclosed in a single code segment. For example, an entire - * extend block (possibly containing multiple extension definitions) will - * have an outer location whose path refers to the "extensions" repeated - * field without an index. - * - Multiple locations may have the same path. This happens when a single - * logical declaration is spread out across multiple places. The most - * obvious example is the "extend" block again -- there may be multiple - * extend blocks in the same scope, each of which will have the same path. - * - A location's span is not always a subset of its parent's span. For - * example, the "extendee" of an extension declaration appears at the - * beginning of the "extend" block and is shared by all extensions within - * the block. - * - Just because a location's span is a subset of some other location's span - * does not mean that it is a descendant. For example, a "group" defines - * both a type and a field in a single declaration. Thus, the locations - * corresponding to the type and field and their components will overlap. - * - Code which tries to interpret locations should probably be designed to - * ignore those that it doesn't understand, as more types of locations could - * be recorded in the future. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Protobuf\Internal\Descriptor::initOnce(); - parent::__construct($data); - } - - /** - * A Location identifies a piece of source code in a .proto file which - * corresponds to a particular definition. This information is intended - * to be useful to IDEs, code indexers, documentation generators, and similar - * tools. - * For example, say we have a file like: - * message Foo { - * optional string foo = 1; - * } - * Let's look at just the field definition: - * optional string foo = 1; - * ^ ^^ ^^ ^ ^^^ - * a bc de f ghi - * We have the following locations: - * span path represents - * [a,i) [ 4, 0, 2, 0 ] The whole field definition. - * [a,b) [ 4, 0, 2, 0, 4 ] The label (optional). - * [c,d) [ 4, 0, 2, 0, 5 ] The type (string). - * [e,f) [ 4, 0, 2, 0, 1 ] The name (foo). - * [g,h) [ 4, 0, 2, 0, 3 ] The number (1). - * Notes: - * - A location may refer to a repeated field itself (i.e. not to any - * particular index within it). This is used whenever a set of elements are - * logically enclosed in a single code segment. For example, an entire - * extend block (possibly containing multiple extension definitions) will - * have an outer location whose path refers to the "extensions" repeated - * field without an index. - * - Multiple locations may have the same path. This happens when a single - * logical declaration is spread out across multiple places. The most - * obvious example is the "extend" block again -- there may be multiple - * extend blocks in the same scope, each of which will have the same path. - * - A location's span is not always a subset of its parent's span. For - * example, the "extendee" of an extension declaration appears at the - * beginning of the "extend" block and is shared by all extensions within - * the block. - * - Just because a location's span is a subset of some other location's span - * does not mean that it is a descendant. For example, a "group" defines - * both a type and a field in a single declaration. Thus, the locations - * corresponding to the type and field and their components will overlap. - * - Code which tries to interpret locations should probably be designed to - * ignore those that it doesn't understand, as more types of locations could - * be recorded in the future. - * - * Generated from protobuf field repeated .google.protobuf.SourceCodeInfo.Location location = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getLocation() - { - return $this->location; - } - - /** - * A Location identifies a piece of source code in a .proto file which - * corresponds to a particular definition. This information is intended - * to be useful to IDEs, code indexers, documentation generators, and similar - * tools. - * For example, say we have a file like: - * message Foo { - * optional string foo = 1; - * } - * Let's look at just the field definition: - * optional string foo = 1; - * ^ ^^ ^^ ^ ^^^ - * a bc de f ghi - * We have the following locations: - * span path represents - * [a,i) [ 4, 0, 2, 0 ] The whole field definition. - * [a,b) [ 4, 0, 2, 0, 4 ] The label (optional). - * [c,d) [ 4, 0, 2, 0, 5 ] The type (string). - * [e,f) [ 4, 0, 2, 0, 1 ] The name (foo). - * [g,h) [ 4, 0, 2, 0, 3 ] The number (1). - * Notes: - * - A location may refer to a repeated field itself (i.e. not to any - * particular index within it). This is used whenever a set of elements are - * logically enclosed in a single code segment. For example, an entire - * extend block (possibly containing multiple extension definitions) will - * have an outer location whose path refers to the "extensions" repeated - * field without an index. - * - Multiple locations may have the same path. This happens when a single - * logical declaration is spread out across multiple places. The most - * obvious example is the "extend" block again -- there may be multiple - * extend blocks in the same scope, each of which will have the same path. - * - A location's span is not always a subset of its parent's span. For - * example, the "extendee" of an extension declaration appears at the - * beginning of the "extend" block and is shared by all extensions within - * the block. - * - Just because a location's span is a subset of some other location's span - * does not mean that it is a descendant. For example, a "group" defines - * both a type and a field in a single declaration. Thus, the locations - * corresponding to the type and field and their components will overlap. - * - Code which tries to interpret locations should probably be designed to - * ignore those that it doesn't understand, as more types of locations could - * be recorded in the future. - * - * Generated from protobuf field repeated .google.protobuf.SourceCodeInfo.Location location = 1; - * @param array<\Google\Protobuf\Internal\SourceCodeInfo\Location>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setLocation($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Protobuf\Internal\SourceCodeInfo\Location::class); - $this->location = $arr; - - return $this; - } - -} - diff --git a/vendor/google/protobuf/src/Google/Protobuf/Internal/SourceCodeInfo/Location.php b/vendor/google/protobuf/src/Google/Protobuf/Internal/SourceCodeInfo/Location.php deleted file mode 100644 index 032be3921..000000000 --- a/vendor/google/protobuf/src/Google/Protobuf/Internal/SourceCodeInfo/Location.php +++ /dev/null @@ -1,448 +0,0 @@ -google.protobuf.SourceCodeInfo.Location - */ -class Location extends \Google\Protobuf\Internal\Message -{ - /** - * Identifies which part of the FileDescriptorProto was defined at this - * location. - * Each element is a field number or an index. They form a path from - * the root FileDescriptorProto to the place where the definition occurs. - * For example, this path: - * [ 4, 3, 2, 7, 1 ] - * refers to: - * file.message_type(3) // 4, 3 - * .field(7) // 2, 7 - * .name() // 1 - * This is because FileDescriptorProto.message_type has field number 4: - * repeated DescriptorProto message_type = 4; - * and DescriptorProto.field has field number 2: - * repeated FieldDescriptorProto field = 2; - * and FieldDescriptorProto.name has field number 1: - * optional string name = 1; - * Thus, the above path gives the location of a field name. If we removed - * the last element: - * [ 4, 3, 2, 7 ] - * this path refers to the whole field declaration (from the beginning - * of the label to the terminating semicolon). - * - * Generated from protobuf field repeated int32 path = 1 [packed = true]; - */ - private $path; - /** - * Always has exactly three or four elements: start line, start column, - * end line (optional, otherwise assumed same as start line), end column. - * These are packed into a single field for efficiency. Note that line - * and column numbers are zero-based -- typically you will want to add - * 1 to each before displaying to a user. - * - * Generated from protobuf field repeated int32 span = 2 [packed = true]; - */ - private $span; - /** - * If this SourceCodeInfo represents a complete declaration, these are any - * comments appearing before and after the declaration which appear to be - * attached to the declaration. - * A series of line comments appearing on consecutive lines, with no other - * tokens appearing on those lines, will be treated as a single comment. - * leading_detached_comments will keep paragraphs of comments that appear - * before (but not connected to) the current element. Each paragraph, - * separated by empty lines, will be one comment element in the repeated - * field. - * Only the comment content is provided; comment markers (e.g. //) are - * stripped out. For block comments, leading whitespace and an asterisk - * will be stripped from the beginning of each line other than the first. - * Newlines are included in the output. - * Examples: - * optional int32 foo = 1; // Comment attached to foo. - * // Comment attached to bar. - * optional int32 bar = 2; - * optional string baz = 3; - * // Comment attached to baz. - * // Another line attached to baz. - * // Comment attached to moo. - * // - * // Another line attached to moo. - * optional double moo = 4; - * // Detached comment for corge. This is not leading or trailing comments - * // to moo or corge because there are blank lines separating it from - * // both. - * // Detached comment for corge paragraph 2. - * optional string corge = 5; - * /* Block comment attached - * * to corge. Leading asterisks - * * will be removed. */ - * /* Block comment attached to - * * grault. */ - * optional int32 grault = 6; - * // ignored detached comments. - * - * Generated from protobuf field optional string leading_comments = 3; - */ - protected $leading_comments = null; - /** - * Generated from protobuf field optional string trailing_comments = 4; - */ - protected $trailing_comments = null; - /** - * Generated from protobuf field repeated string leading_detached_comments = 6; - */ - private $leading_detached_comments; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array|\Google\Protobuf\Internal\RepeatedField $path - * Identifies which part of the FileDescriptorProto was defined at this - * location. - * Each element is a field number or an index. They form a path from - * the root FileDescriptorProto to the place where the definition occurs. - * For example, this path: - * [ 4, 3, 2, 7, 1 ] - * refers to: - * file.message_type(3) // 4, 3 - * .field(7) // 2, 7 - * .name() // 1 - * This is because FileDescriptorProto.message_type has field number 4: - * repeated DescriptorProto message_type = 4; - * and DescriptorProto.field has field number 2: - * repeated FieldDescriptorProto field = 2; - * and FieldDescriptorProto.name has field number 1: - * optional string name = 1; - * Thus, the above path gives the location of a field name. If we removed - * the last element: - * [ 4, 3, 2, 7 ] - * this path refers to the whole field declaration (from the beginning - * of the label to the terminating semicolon). - * @type array|\Google\Protobuf\Internal\RepeatedField $span - * Always has exactly three or four elements: start line, start column, - * end line (optional, otherwise assumed same as start line), end column. - * These are packed into a single field for efficiency. Note that line - * and column numbers are zero-based -- typically you will want to add - * 1 to each before displaying to a user. - * @type string $leading_comments - * If this SourceCodeInfo represents a complete declaration, these are any - * comments appearing before and after the declaration which appear to be - * attached to the declaration. - * A series of line comments appearing on consecutive lines, with no other - * tokens appearing on those lines, will be treated as a single comment. - * leading_detached_comments will keep paragraphs of comments that appear - * before (but not connected to) the current element. Each paragraph, - * separated by empty lines, will be one comment element in the repeated - * field. - * Only the comment content is provided; comment markers (e.g. //) are - * stripped out. For block comments, leading whitespace and an asterisk - * will be stripped from the beginning of each line other than the first. - * Newlines are included in the output. - * Examples: - * optional int32 foo = 1; // Comment attached to foo. - * // Comment attached to bar. - * optional int32 bar = 2; - * optional string baz = 3; - * // Comment attached to baz. - * // Another line attached to baz. - * // Comment attached to moo. - * // - * // Another line attached to moo. - * optional double moo = 4; - * // Detached comment for corge. This is not leading or trailing comments - * // to moo or corge because there are blank lines separating it from - * // both. - * // Detached comment for corge paragraph 2. - * optional string corge = 5; - * /* Block comment attached - * * to corge. Leading asterisks - * * will be removed. */ - * /* Block comment attached to - * * grault. */ - * optional int32 grault = 6; - * // ignored detached comments. - * @type string $trailing_comments - * @type array|\Google\Protobuf\Internal\RepeatedField $leading_detached_comments - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Protobuf\Internal\Descriptor::initOnce(); - parent::__construct($data); - } - - /** - * Identifies which part of the FileDescriptorProto was defined at this - * location. - * Each element is a field number or an index. They form a path from - * the root FileDescriptorProto to the place where the definition occurs. - * For example, this path: - * [ 4, 3, 2, 7, 1 ] - * refers to: - * file.message_type(3) // 4, 3 - * .field(7) // 2, 7 - * .name() // 1 - * This is because FileDescriptorProto.message_type has field number 4: - * repeated DescriptorProto message_type = 4; - * and DescriptorProto.field has field number 2: - * repeated FieldDescriptorProto field = 2; - * and FieldDescriptorProto.name has field number 1: - * optional string name = 1; - * Thus, the above path gives the location of a field name. If we removed - * the last element: - * [ 4, 3, 2, 7 ] - * this path refers to the whole field declaration (from the beginning - * of the label to the terminating semicolon). - * - * Generated from protobuf field repeated int32 path = 1 [packed = true]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getPath() - { - return $this->path; - } - - /** - * Identifies which part of the FileDescriptorProto was defined at this - * location. - * Each element is a field number or an index. They form a path from - * the root FileDescriptorProto to the place where the definition occurs. - * For example, this path: - * [ 4, 3, 2, 7, 1 ] - * refers to: - * file.message_type(3) // 4, 3 - * .field(7) // 2, 7 - * .name() // 1 - * This is because FileDescriptorProto.message_type has field number 4: - * repeated DescriptorProto message_type = 4; - * and DescriptorProto.field has field number 2: - * repeated FieldDescriptorProto field = 2; - * and FieldDescriptorProto.name has field number 1: - * optional string name = 1; - * Thus, the above path gives the location of a field name. If we removed - * the last element: - * [ 4, 3, 2, 7 ] - * this path refers to the whole field declaration (from the beginning - * of the label to the terminating semicolon). - * - * Generated from protobuf field repeated int32 path = 1 [packed = true]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setPath($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::INT32); - $this->path = $arr; - - return $this; - } - - /** - * Always has exactly three or four elements: start line, start column, - * end line (optional, otherwise assumed same as start line), end column. - * These are packed into a single field for efficiency. Note that line - * and column numbers are zero-based -- typically you will want to add - * 1 to each before displaying to a user. - * - * Generated from protobuf field repeated int32 span = 2 [packed = true]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getSpan() - { - return $this->span; - } - - /** - * Always has exactly three or four elements: start line, start column, - * end line (optional, otherwise assumed same as start line), end column. - * These are packed into a single field for efficiency. Note that line - * and column numbers are zero-based -- typically you will want to add - * 1 to each before displaying to a user. - * - * Generated from protobuf field repeated int32 span = 2 [packed = true]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setSpan($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::INT32); - $this->span = $arr; - - return $this; - } - - /** - * If this SourceCodeInfo represents a complete declaration, these are any - * comments appearing before and after the declaration which appear to be - * attached to the declaration. - * A series of line comments appearing on consecutive lines, with no other - * tokens appearing on those lines, will be treated as a single comment. - * leading_detached_comments will keep paragraphs of comments that appear - * before (but not connected to) the current element. Each paragraph, - * separated by empty lines, will be one comment element in the repeated - * field. - * Only the comment content is provided; comment markers (e.g. //) are - * stripped out. For block comments, leading whitespace and an asterisk - * will be stripped from the beginning of each line other than the first. - * Newlines are included in the output. - * Examples: - * optional int32 foo = 1; // Comment attached to foo. - * // Comment attached to bar. - * optional int32 bar = 2; - * optional string baz = 3; - * // Comment attached to baz. - * // Another line attached to baz. - * // Comment attached to moo. - * // - * // Another line attached to moo. - * optional double moo = 4; - * // Detached comment for corge. This is not leading or trailing comments - * // to moo or corge because there are blank lines separating it from - * // both. - * // Detached comment for corge paragraph 2. - * optional string corge = 5; - * /* Block comment attached - * * to corge. Leading asterisks - * * will be removed. */ - * /* Block comment attached to - * * grault. */ - * optional int32 grault = 6; - * // ignored detached comments. - * - * Generated from protobuf field optional string leading_comments = 3; - * @return string - */ - public function getLeadingComments() - { - return isset($this->leading_comments) ? $this->leading_comments : ''; - } - - public function hasLeadingComments() - { - return isset($this->leading_comments); - } - - public function clearLeadingComments() - { - unset($this->leading_comments); - } - - /** - * If this SourceCodeInfo represents a complete declaration, these are any - * comments appearing before and after the declaration which appear to be - * attached to the declaration. - * A series of line comments appearing on consecutive lines, with no other - * tokens appearing on those lines, will be treated as a single comment. - * leading_detached_comments will keep paragraphs of comments that appear - * before (but not connected to) the current element. Each paragraph, - * separated by empty lines, will be one comment element in the repeated - * field. - * Only the comment content is provided; comment markers (e.g. //) are - * stripped out. For block comments, leading whitespace and an asterisk - * will be stripped from the beginning of each line other than the first. - * Newlines are included in the output. - * Examples: - * optional int32 foo = 1; // Comment attached to foo. - * // Comment attached to bar. - * optional int32 bar = 2; - * optional string baz = 3; - * // Comment attached to baz. - * // Another line attached to baz. - * // Comment attached to moo. - * // - * // Another line attached to moo. - * optional double moo = 4; - * // Detached comment for corge. This is not leading or trailing comments - * // to moo or corge because there are blank lines separating it from - * // both. - * // Detached comment for corge paragraph 2. - * optional string corge = 5; - * /* Block comment attached - * * to corge. Leading asterisks - * * will be removed. */ - * /* Block comment attached to - * * grault. */ - * optional int32 grault = 6; - * // ignored detached comments. - * - * Generated from protobuf field optional string leading_comments = 3; - * @param string $var - * @return $this - */ - public function setLeadingComments($var) - { - GPBUtil::checkString($var, True); - $this->leading_comments = $var; - - return $this; - } - - /** - * Generated from protobuf field optional string trailing_comments = 4; - * @return string - */ - public function getTrailingComments() - { - return isset($this->trailing_comments) ? $this->trailing_comments : ''; - } - - public function hasTrailingComments() - { - return isset($this->trailing_comments); - } - - public function clearTrailingComments() - { - unset($this->trailing_comments); - } - - /** - * Generated from protobuf field optional string trailing_comments = 4; - * @param string $var - * @return $this - */ - public function setTrailingComments($var) - { - GPBUtil::checkString($var, True); - $this->trailing_comments = $var; - - return $this; - } - - /** - * Generated from protobuf field repeated string leading_detached_comments = 6; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getLeadingDetachedComments() - { - return $this->leading_detached_comments; - } - - /** - * Generated from protobuf field repeated string leading_detached_comments = 6; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setLeadingDetachedComments($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->leading_detached_comments = $arr; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Location::class, \Google\Protobuf\Internal\SourceCodeInfo_Location::class); - diff --git a/vendor/google/protobuf/src/Google/Protobuf/Internal/SourceCodeInfo_Location.php b/vendor/google/protobuf/src/Google/Protobuf/Internal/SourceCodeInfo_Location.php deleted file mode 100644 index 1346492d2..000000000 --- a/vendor/google/protobuf/src/Google/Protobuf/Internal/SourceCodeInfo_Location.php +++ /dev/null @@ -1,16 +0,0 @@ -seconds = $datetime->getTimestamp(); - $this->nanos = 1000 * $datetime->format('u'); - } - - /** - * Converts Timestamp to PHP DateTime. - * - * @return \DateTime $datetime - */ - public function toDateTime() - { - $time = sprintf('%s.%06d', $this->seconds, $this->nanos / 1000); - return \DateTime::createFromFormat('U.u', $time); - } -} diff --git a/vendor/google/protobuf/src/Google/Protobuf/Internal/UninterpretedOption.php b/vendor/google/protobuf/src/Google/Protobuf/Internal/UninterpretedOption.php deleted file mode 100644 index a1cdca573..000000000 --- a/vendor/google/protobuf/src/Google/Protobuf/Internal/UninterpretedOption.php +++ /dev/null @@ -1,300 +0,0 @@ -google.protobuf.UninterpretedOption - */ -class UninterpretedOption extends \Google\Protobuf\Internal\Message -{ - /** - * Generated from protobuf field repeated .google.protobuf.UninterpretedOption.NamePart name = 2; - */ - private $name; - /** - * The value of the uninterpreted option, in whatever type the tokenizer - * identified it as during parsing. Exactly one of these should be set. - * - * Generated from protobuf field optional string identifier_value = 3; - */ - protected $identifier_value = null; - /** - * Generated from protobuf field optional uint64 positive_int_value = 4; - */ - protected $positive_int_value = null; - /** - * Generated from protobuf field optional int64 negative_int_value = 5; - */ - protected $negative_int_value = null; - /** - * Generated from protobuf field optional double double_value = 6; - */ - protected $double_value = null; - /** - * Generated from protobuf field optional bytes string_value = 7; - */ - protected $string_value = null; - /** - * Generated from protobuf field optional string aggregate_value = 8; - */ - protected $aggregate_value = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Protobuf\Internal\UninterpretedOption\NamePart>|\Google\Protobuf\Internal\RepeatedField $name - * @type string $identifier_value - * The value of the uninterpreted option, in whatever type the tokenizer - * identified it as during parsing. Exactly one of these should be set. - * @type int|string $positive_int_value - * @type int|string $negative_int_value - * @type float $double_value - * @type string $string_value - * @type string $aggregate_value - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Protobuf\Internal\Descriptor::initOnce(); - parent::__construct($data); - } - - /** - * Generated from protobuf field repeated .google.protobuf.UninterpretedOption.NamePart name = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getName() - { - return $this->name; - } - - /** - * Generated from protobuf field repeated .google.protobuf.UninterpretedOption.NamePart name = 2; - * @param array<\Google\Protobuf\Internal\UninterpretedOption\NamePart>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setName($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Protobuf\Internal\UninterpretedOption\NamePart::class); - $this->name = $arr; - - return $this; - } - - /** - * The value of the uninterpreted option, in whatever type the tokenizer - * identified it as during parsing. Exactly one of these should be set. - * - * Generated from protobuf field optional string identifier_value = 3; - * @return string - */ - public function getIdentifierValue() - { - return isset($this->identifier_value) ? $this->identifier_value : ''; - } - - public function hasIdentifierValue() - { - return isset($this->identifier_value); - } - - public function clearIdentifierValue() - { - unset($this->identifier_value); - } - - /** - * The value of the uninterpreted option, in whatever type the tokenizer - * identified it as during parsing. Exactly one of these should be set. - * - * Generated from protobuf field optional string identifier_value = 3; - * @param string $var - * @return $this - */ - public function setIdentifierValue($var) - { - GPBUtil::checkString($var, True); - $this->identifier_value = $var; - - return $this; - } - - /** - * Generated from protobuf field optional uint64 positive_int_value = 4; - * @return int|string - */ - public function getPositiveIntValue() - { - return isset($this->positive_int_value) ? $this->positive_int_value : 0; - } - - public function hasPositiveIntValue() - { - return isset($this->positive_int_value); - } - - public function clearPositiveIntValue() - { - unset($this->positive_int_value); - } - - /** - * Generated from protobuf field optional uint64 positive_int_value = 4; - * @param int|string $var - * @return $this - */ - public function setPositiveIntValue($var) - { - GPBUtil::checkUint64($var); - $this->positive_int_value = $var; - - return $this; - } - - /** - * Generated from protobuf field optional int64 negative_int_value = 5; - * @return int|string - */ - public function getNegativeIntValue() - { - return isset($this->negative_int_value) ? $this->negative_int_value : 0; - } - - public function hasNegativeIntValue() - { - return isset($this->negative_int_value); - } - - public function clearNegativeIntValue() - { - unset($this->negative_int_value); - } - - /** - * Generated from protobuf field optional int64 negative_int_value = 5; - * @param int|string $var - * @return $this - */ - public function setNegativeIntValue($var) - { - GPBUtil::checkInt64($var); - $this->negative_int_value = $var; - - return $this; - } - - /** - * Generated from protobuf field optional double double_value = 6; - * @return float - */ - public function getDoubleValue() - { - return isset($this->double_value) ? $this->double_value : 0.0; - } - - public function hasDoubleValue() - { - return isset($this->double_value); - } - - public function clearDoubleValue() - { - unset($this->double_value); - } - - /** - * Generated from protobuf field optional double double_value = 6; - * @param float $var - * @return $this - */ - public function setDoubleValue($var) - { - GPBUtil::checkDouble($var); - $this->double_value = $var; - - return $this; - } - - /** - * Generated from protobuf field optional bytes string_value = 7; - * @return string - */ - public function getStringValue() - { - return isset($this->string_value) ? $this->string_value : ''; - } - - public function hasStringValue() - { - return isset($this->string_value); - } - - public function clearStringValue() - { - unset($this->string_value); - } - - /** - * Generated from protobuf field optional bytes string_value = 7; - * @param string $var - * @return $this - */ - public function setStringValue($var) - { - GPBUtil::checkString($var, False); - $this->string_value = $var; - - return $this; - } - - /** - * Generated from protobuf field optional string aggregate_value = 8; - * @return string - */ - public function getAggregateValue() - { - return isset($this->aggregate_value) ? $this->aggregate_value : ''; - } - - public function hasAggregateValue() - { - return isset($this->aggregate_value); - } - - public function clearAggregateValue() - { - unset($this->aggregate_value); - } - - /** - * Generated from protobuf field optional string aggregate_value = 8; - * @param string $var - * @return $this - */ - public function setAggregateValue($var) - { - GPBUtil::checkString($var, True); - $this->aggregate_value = $var; - - return $this; - } - -} - diff --git a/vendor/google/protobuf/src/Google/Protobuf/Internal/UninterpretedOption/NamePart.php b/vendor/google/protobuf/src/Google/Protobuf/Internal/UninterpretedOption/NamePart.php deleted file mode 100644 index 2debf83a6..000000000 --- a/vendor/google/protobuf/src/Google/Protobuf/Internal/UninterpretedOption/NamePart.php +++ /dev/null @@ -1,116 +0,0 @@ -google.protobuf.UninterpretedOption.NamePart - */ -class NamePart extends \Google\Protobuf\Internal\Message -{ - /** - * Generated from protobuf field required string name_part = 1; - */ - protected $name_part = null; - /** - * Generated from protobuf field required bool is_extension = 2; - */ - protected $is_extension = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name_part - * @type bool $is_extension - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Protobuf\Internal\Descriptor::initOnce(); - parent::__construct($data); - } - - /** - * Generated from protobuf field required string name_part = 1; - * @return string - */ - public function getNamePart() - { - return isset($this->name_part) ? $this->name_part : ''; - } - - public function hasNamePart() - { - return isset($this->name_part); - } - - public function clearNamePart() - { - unset($this->name_part); - } - - /** - * Generated from protobuf field required string name_part = 1; - * @param string $var - * @return $this - */ - public function setNamePart($var) - { - GPBUtil::checkString($var, True); - $this->name_part = $var; - - return $this; - } - - /** - * Generated from protobuf field required bool is_extension = 2; - * @return bool - */ - public function getIsExtension() - { - return isset($this->is_extension) ? $this->is_extension : false; - } - - public function hasIsExtension() - { - return isset($this->is_extension); - } - - public function clearIsExtension() - { - unset($this->is_extension); - } - - /** - * Generated from protobuf field required bool is_extension = 2; - * @param bool $var - * @return $this - */ - public function setIsExtension($var) - { - GPBUtil::checkBool($var); - $this->is_extension = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(NamePart::class, \Google\Protobuf\Internal\UninterpretedOption_NamePart::class); - diff --git a/vendor/google/protobuf/src/Google/Protobuf/Internal/UninterpretedOption_NamePart.php b/vendor/google/protobuf/src/Google/Protobuf/Internal/UninterpretedOption_NamePart.php deleted file mode 100644 index 9750eb010..000000000 --- a/vendor/google/protobuf/src/Google/Protobuf/Internal/UninterpretedOption_NamePart.php +++ /dev/null @@ -1,16 +0,0 @@ -google.protobuf.ListValue - */ -class ListValue extends \Google\Protobuf\Internal\Message -{ - /** - * Repeated field of dynamically typed values. - * - * Generated from protobuf field repeated .google.protobuf.Value values = 1; - */ - private $values; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Protobuf\Value>|\Google\Protobuf\Internal\RepeatedField $values - * Repeated field of dynamically typed values. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Protobuf\Struct::initOnce(); - parent::__construct($data); - } - - /** - * Repeated field of dynamically typed values. - * - * Generated from protobuf field repeated .google.protobuf.Value values = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getValues() - { - return $this->values; - } - - /** - * Repeated field of dynamically typed values. - * - * Generated from protobuf field repeated .google.protobuf.Value values = 1; - * @param array<\Google\Protobuf\Value>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setValues($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Protobuf\Value::class); - $this->values = $arr; - - return $this; - } - -} - diff --git a/vendor/google/protobuf/src/Google/Protobuf/Method.php b/vendor/google/protobuf/src/Google/Protobuf/Method.php deleted file mode 100644 index eda00bf61..000000000 --- a/vendor/google/protobuf/src/Google/Protobuf/Method.php +++ /dev/null @@ -1,271 +0,0 @@ -google.protobuf.Method - */ -class Method extends \Google\Protobuf\Internal\Message -{ - /** - * The simple name of this method. - * - * Generated from protobuf field string name = 1; - */ - protected $name = ''; - /** - * A URL of the input message type. - * - * Generated from protobuf field string request_type_url = 2; - */ - protected $request_type_url = ''; - /** - * If true, the request is streamed. - * - * Generated from protobuf field bool request_streaming = 3; - */ - protected $request_streaming = false; - /** - * The URL of the output message type. - * - * Generated from protobuf field string response_type_url = 4; - */ - protected $response_type_url = ''; - /** - * If true, the response is streamed. - * - * Generated from protobuf field bool response_streaming = 5; - */ - protected $response_streaming = false; - /** - * Any metadata attached to the method. - * - * Generated from protobuf field repeated .google.protobuf.Option options = 6; - */ - private $options; - /** - * The source syntax of this method. - * - * Generated from protobuf field .google.protobuf.Syntax syntax = 7; - */ - protected $syntax = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * The simple name of this method. - * @type string $request_type_url - * A URL of the input message type. - * @type bool $request_streaming - * If true, the request is streamed. - * @type string $response_type_url - * The URL of the output message type. - * @type bool $response_streaming - * If true, the response is streamed. - * @type array<\Google\Protobuf\Option>|\Google\Protobuf\Internal\RepeatedField $options - * Any metadata attached to the method. - * @type int $syntax - * The source syntax of this method. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Protobuf\Api::initOnce(); - parent::__construct($data); - } - - /** - * The simple name of this method. - * - * Generated from protobuf field string name = 1; - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * The simple name of this method. - * - * Generated from protobuf field string name = 1; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * A URL of the input message type. - * - * Generated from protobuf field string request_type_url = 2; - * @return string - */ - public function getRequestTypeUrl() - { - return $this->request_type_url; - } - - /** - * A URL of the input message type. - * - * Generated from protobuf field string request_type_url = 2; - * @param string $var - * @return $this - */ - public function setRequestTypeUrl($var) - { - GPBUtil::checkString($var, True); - $this->request_type_url = $var; - - return $this; - } - - /** - * If true, the request is streamed. - * - * Generated from protobuf field bool request_streaming = 3; - * @return bool - */ - public function getRequestStreaming() - { - return $this->request_streaming; - } - - /** - * If true, the request is streamed. - * - * Generated from protobuf field bool request_streaming = 3; - * @param bool $var - * @return $this - */ - public function setRequestStreaming($var) - { - GPBUtil::checkBool($var); - $this->request_streaming = $var; - - return $this; - } - - /** - * The URL of the output message type. - * - * Generated from protobuf field string response_type_url = 4; - * @return string - */ - public function getResponseTypeUrl() - { - return $this->response_type_url; - } - - /** - * The URL of the output message type. - * - * Generated from protobuf field string response_type_url = 4; - * @param string $var - * @return $this - */ - public function setResponseTypeUrl($var) - { - GPBUtil::checkString($var, True); - $this->response_type_url = $var; - - return $this; - } - - /** - * If true, the response is streamed. - * - * Generated from protobuf field bool response_streaming = 5; - * @return bool - */ - public function getResponseStreaming() - { - return $this->response_streaming; - } - - /** - * If true, the response is streamed. - * - * Generated from protobuf field bool response_streaming = 5; - * @param bool $var - * @return $this - */ - public function setResponseStreaming($var) - { - GPBUtil::checkBool($var); - $this->response_streaming = $var; - - return $this; - } - - /** - * Any metadata attached to the method. - * - * Generated from protobuf field repeated .google.protobuf.Option options = 6; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getOptions() - { - return $this->options; - } - - /** - * Any metadata attached to the method. - * - * Generated from protobuf field repeated .google.protobuf.Option options = 6; - * @param array<\Google\Protobuf\Option>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setOptions($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Protobuf\Option::class); - $this->options = $arr; - - return $this; - } - - /** - * The source syntax of this method. - * - * Generated from protobuf field .google.protobuf.Syntax syntax = 7; - * @return int - */ - public function getSyntax() - { - return $this->syntax; - } - - /** - * The source syntax of this method. - * - * Generated from protobuf field .google.protobuf.Syntax syntax = 7; - * @param int $var - * @return $this - */ - public function setSyntax($var) - { - GPBUtil::checkEnum($var, \Google\Protobuf\Syntax::class); - $this->syntax = $var; - - return $this; - } - -} - diff --git a/vendor/google/protobuf/src/Google/Protobuf/Mixin.php b/vendor/google/protobuf/src/Google/Protobuf/Mixin.php deleted file mode 100644 index 4f7bf844c..000000000 --- a/vendor/google/protobuf/src/Google/Protobuf/Mixin.php +++ /dev/null @@ -1,166 +0,0 @@ -google.protobuf.Mixin - */ -class Mixin extends \Google\Protobuf\Internal\Message -{ - /** - * The fully qualified name of the interface which is included. - * - * Generated from protobuf field string name = 1; - */ - protected $name = ''; - /** - * If non-empty specifies a path under which inherited HTTP paths - * are rooted. - * - * Generated from protobuf field string root = 2; - */ - protected $root = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * The fully qualified name of the interface which is included. - * @type string $root - * If non-empty specifies a path under which inherited HTTP paths - * are rooted. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Protobuf\Api::initOnce(); - parent::__construct($data); - } - - /** - * The fully qualified name of the interface which is included. - * - * Generated from protobuf field string name = 1; - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * The fully qualified name of the interface which is included. - * - * Generated from protobuf field string name = 1; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * If non-empty specifies a path under which inherited HTTP paths - * are rooted. - * - * Generated from protobuf field string root = 2; - * @return string - */ - public function getRoot() - { - return $this->root; - } - - /** - * If non-empty specifies a path under which inherited HTTP paths - * are rooted. - * - * Generated from protobuf field string root = 2; - * @param string $var - * @return $this - */ - public function setRoot($var) - { - GPBUtil::checkString($var, True); - $this->root = $var; - - return $this; - } - -} - diff --git a/vendor/google/protobuf/src/Google/Protobuf/NullValue.php b/vendor/google/protobuf/src/Google/Protobuf/NullValue.php deleted file mode 100644 index 61569f8a3..000000000 --- a/vendor/google/protobuf/src/Google/Protobuf/NullValue.php +++ /dev/null @@ -1,49 +0,0 @@ -google.protobuf.NullValue - */ -class NullValue -{ - /** - * Null value. - * - * Generated from protobuf enum NULL_VALUE = 0; - */ - const NULL_VALUE = 0; - - private static $valueToName = [ - self::NULL_VALUE => 'NULL_VALUE', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - diff --git a/vendor/google/protobuf/src/Google/Protobuf/OneofDescriptor.php b/vendor/google/protobuf/src/Google/Protobuf/OneofDescriptor.php deleted file mode 100644 index 66ffbd5ca..000000000 --- a/vendor/google/protobuf/src/Google/Protobuf/OneofDescriptor.php +++ /dev/null @@ -1,87 +0,0 @@ -internal_desc = $internal_desc; - } - - /** - * @return string The name of the oneof - */ - public function getName() - { - return $this->internal_desc->getName(); - } - - /** - * @param int $index Must be >= 0 and < getFieldCount() - * @return FieldDescriptor - */ - public function getField($index) - { - if ( - is_null($this->internal_desc->getFields()) - || !isset($this->internal_desc->getFields()[$index]) - ) { - return null; - } - return $this->getPublicDescriptor($this->internal_desc->getFields()[$index]); - } - - /** - * @return int Number of fields in the oneof - */ - public function getFieldCount() - { - return count($this->internal_desc->getFields()); - } - - public function isSynthetic() - { - return $this->internal_desc->isSynthetic(); - } -} diff --git a/vendor/google/protobuf/src/Google/Protobuf/Option.php b/vendor/google/protobuf/src/Google/Protobuf/Option.php deleted file mode 100644 index 31249e513..000000000 --- a/vendor/google/protobuf/src/Google/Protobuf/Option.php +++ /dev/null @@ -1,136 +0,0 @@ -google.protobuf.Option - */ -class Option extends \Google\Protobuf\Internal\Message -{ - /** - * The option's name. For protobuf built-in options (options defined in - * descriptor.proto), this is the short name. For example, `"map_entry"`. - * For custom options, it should be the fully-qualified name. For example, - * `"google.api.http"`. - * - * Generated from protobuf field string name = 1; - */ - protected $name = ''; - /** - * The option's value packed in an Any message. If the value is a primitive, - * the corresponding wrapper type defined in google/protobuf/wrappers.proto - * should be used. If the value is an enum, it should be stored as an int32 - * value using the google.protobuf.Int32Value type. - * - * Generated from protobuf field .google.protobuf.Any value = 2; - */ - protected $value = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * The option's name. For protobuf built-in options (options defined in - * descriptor.proto), this is the short name. For example, `"map_entry"`. - * For custom options, it should be the fully-qualified name. For example, - * `"google.api.http"`. - * @type \Google\Protobuf\Any $value - * The option's value packed in an Any message. If the value is a primitive, - * the corresponding wrapper type defined in google/protobuf/wrappers.proto - * should be used. If the value is an enum, it should be stored as an int32 - * value using the google.protobuf.Int32Value type. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Protobuf\Type::initOnce(); - parent::__construct($data); - } - - /** - * The option's name. For protobuf built-in options (options defined in - * descriptor.proto), this is the short name. For example, `"map_entry"`. - * For custom options, it should be the fully-qualified name. For example, - * `"google.api.http"`. - * - * Generated from protobuf field string name = 1; - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * The option's name. For protobuf built-in options (options defined in - * descriptor.proto), this is the short name. For example, `"map_entry"`. - * For custom options, it should be the fully-qualified name. For example, - * `"google.api.http"`. - * - * Generated from protobuf field string name = 1; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * The option's value packed in an Any message. If the value is a primitive, - * the corresponding wrapper type defined in google/protobuf/wrappers.proto - * should be used. If the value is an enum, it should be stored as an int32 - * value using the google.protobuf.Int32Value type. - * - * Generated from protobuf field .google.protobuf.Any value = 2; - * @return \Google\Protobuf\Any|null - */ - public function getValue() - { - return $this->value; - } - - public function hasValue() - { - return isset($this->value); - } - - public function clearValue() - { - unset($this->value); - } - - /** - * The option's value packed in an Any message. If the value is a primitive, - * the corresponding wrapper type defined in google/protobuf/wrappers.proto - * should be used. If the value is an enum, it should be stored as an int32 - * value using the google.protobuf.Int32Value type. - * - * Generated from protobuf field .google.protobuf.Any value = 2; - * @param \Google\Protobuf\Any $var - * @return $this - */ - public function setValue($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Any::class); - $this->value = $var; - - return $this; - } - -} - diff --git a/vendor/google/protobuf/src/Google/Protobuf/SourceContext.php b/vendor/google/protobuf/src/Google/Protobuf/SourceContext.php deleted file mode 100644 index 8b3ea1122..000000000 --- a/vendor/google/protobuf/src/Google/Protobuf/SourceContext.php +++ /dev/null @@ -1,72 +0,0 @@ -google.protobuf.SourceContext - */ -class SourceContext extends \Google\Protobuf\Internal\Message -{ - /** - * The path-qualified name of the .proto file that contained the associated - * protobuf element. For example: `"google/protobuf/source_context.proto"`. - * - * Generated from protobuf field string file_name = 1; - */ - protected $file_name = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $file_name - * The path-qualified name of the .proto file that contained the associated - * protobuf element. For example: `"google/protobuf/source_context.proto"`. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Protobuf\SourceContext::initOnce(); - parent::__construct($data); - } - - /** - * The path-qualified name of the .proto file that contained the associated - * protobuf element. For example: `"google/protobuf/source_context.proto"`. - * - * Generated from protobuf field string file_name = 1; - * @return string - */ - public function getFileName() - { - return $this->file_name; - } - - /** - * The path-qualified name of the .proto file that contained the associated - * protobuf element. For example: `"google/protobuf/source_context.proto"`. - * - * Generated from protobuf field string file_name = 1; - * @param string $var - * @return $this - */ - public function setFileName($var) - { - GPBUtil::checkString($var, True); - $this->file_name = $var; - - return $this; - } - -} - diff --git a/vendor/google/protobuf/src/Google/Protobuf/StringValue.php b/vendor/google/protobuf/src/Google/Protobuf/StringValue.php deleted file mode 100644 index ad98316b2..000000000 --- a/vendor/google/protobuf/src/Google/Protobuf/StringValue.php +++ /dev/null @@ -1,68 +0,0 @@ -google.protobuf.StringValue - */ -class StringValue extends \Google\Protobuf\Internal\Message -{ - /** - * The string value. - * - * Generated from protobuf field string value = 1; - */ - protected $value = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $value - * The string value. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Protobuf\Wrappers::initOnce(); - parent::__construct($data); - } - - /** - * The string value. - * - * Generated from protobuf field string value = 1; - * @return string - */ - public function getValue() - { - return $this->value; - } - - /** - * The string value. - * - * Generated from protobuf field string value = 1; - * @param string $var - * @return $this - */ - public function setValue($var) - { - GPBUtil::checkString($var, True); - $this->value = $var; - - return $this; - } - -} - diff --git a/vendor/google/protobuf/src/Google/Protobuf/Struct.php b/vendor/google/protobuf/src/Google/Protobuf/Struct.php deleted file mode 100644 index 0456541cb..000000000 --- a/vendor/google/protobuf/src/Google/Protobuf/Struct.php +++ /dev/null @@ -1,73 +0,0 @@ -google.protobuf.Struct - */ -class Struct extends \Google\Protobuf\Internal\Message -{ - /** - * Unordered map of dynamically typed values. - * - * Generated from protobuf field map fields = 1; - */ - private $fields; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array|\Google\Protobuf\Internal\MapField $fields - * Unordered map of dynamically typed values. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Protobuf\Struct::initOnce(); - parent::__construct($data); - } - - /** - * Unordered map of dynamically typed values. - * - * Generated from protobuf field map fields = 1; - * @return \Google\Protobuf\Internal\MapField - */ - public function getFields() - { - return $this->fields; - } - - /** - * Unordered map of dynamically typed values. - * - * Generated from protobuf field map fields = 1; - * @param array|\Google\Protobuf\Internal\MapField $var - * @return $this - */ - public function setFields($var) - { - $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Protobuf\Value::class); - $this->fields = $arr; - - return $this; - } - -} - diff --git a/vendor/google/protobuf/src/Google/Protobuf/Syntax.php b/vendor/google/protobuf/src/Google/Protobuf/Syntax.php deleted file mode 100644 index 10952bfd4..000000000 --- a/vendor/google/protobuf/src/Google/Protobuf/Syntax.php +++ /dev/null @@ -1,54 +0,0 @@ -google.protobuf.Syntax - */ -class Syntax -{ - /** - * Syntax `proto2`. - * - * Generated from protobuf enum SYNTAX_PROTO2 = 0; - */ - const SYNTAX_PROTO2 = 0; - /** - * Syntax `proto3`. - * - * Generated from protobuf enum SYNTAX_PROTO3 = 1; - */ - const SYNTAX_PROTO3 = 1; - - private static $valueToName = [ - self::SYNTAX_PROTO2 => 'SYNTAX_PROTO2', - self::SYNTAX_PROTO3 => 'SYNTAX_PROTO3', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - diff --git a/vendor/google/protobuf/src/Google/Protobuf/Timestamp.php b/vendor/google/protobuf/src/Google/Protobuf/Timestamp.php deleted file mode 100644 index a12f48520..000000000 --- a/vendor/google/protobuf/src/Google/Protobuf/Timestamp.php +++ /dev/null @@ -1,186 +0,0 @@ -google.protobuf.Timestamp - */ -class Timestamp extends \Google\Protobuf\Internal\TimestampBase -{ - /** - * Represents seconds of UTC time since Unix epoch - * 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to - * 9999-12-31T23:59:59Z inclusive. - * - * Generated from protobuf field int64 seconds = 1; - */ - protected $seconds = 0; - /** - * Non-negative fractions of a second at nanosecond resolution. Negative - * second values with fractions must still have non-negative nanos values - * that count forward in time. Must be from 0 to 999,999,999 - * inclusive. - * - * Generated from protobuf field int32 nanos = 2; - */ - protected $nanos = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $seconds - * Represents seconds of UTC time since Unix epoch - * 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to - * 9999-12-31T23:59:59Z inclusive. - * @type int $nanos - * Non-negative fractions of a second at nanosecond resolution. Negative - * second values with fractions must still have non-negative nanos values - * that count forward in time. Must be from 0 to 999,999,999 - * inclusive. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Protobuf\Timestamp::initOnce(); - parent::__construct($data); - } - - /** - * Represents seconds of UTC time since Unix epoch - * 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to - * 9999-12-31T23:59:59Z inclusive. - * - * Generated from protobuf field int64 seconds = 1; - * @return int|string - */ - public function getSeconds() - { - return $this->seconds; - } - - /** - * Represents seconds of UTC time since Unix epoch - * 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to - * 9999-12-31T23:59:59Z inclusive. - * - * Generated from protobuf field int64 seconds = 1; - * @param int|string $var - * @return $this - */ - public function setSeconds($var) - { - GPBUtil::checkInt64($var); - $this->seconds = $var; - - return $this; - } - - /** - * Non-negative fractions of a second at nanosecond resolution. Negative - * second values with fractions must still have non-negative nanos values - * that count forward in time. Must be from 0 to 999,999,999 - * inclusive. - * - * Generated from protobuf field int32 nanos = 2; - * @return int - */ - public function getNanos() - { - return $this->nanos; - } - - /** - * Non-negative fractions of a second at nanosecond resolution. Negative - * second values with fractions must still have non-negative nanos values - * that count forward in time. Must be from 0 to 999,999,999 - * inclusive. - * - * Generated from protobuf field int32 nanos = 2; - * @param int $var - * @return $this - */ - public function setNanos($var) - { - GPBUtil::checkInt32($var); - $this->nanos = $var; - - return $this; - } - -} - diff --git a/vendor/google/protobuf/src/Google/Protobuf/Type.php b/vendor/google/protobuf/src/Google/Protobuf/Type.php deleted file mode 100644 index d4af7dfec..000000000 --- a/vendor/google/protobuf/src/Google/Protobuf/Type.php +++ /dev/null @@ -1,247 +0,0 @@ -google.protobuf.Type - */ -class Type extends \Google\Protobuf\Internal\Message -{ - /** - * The fully qualified message name. - * - * Generated from protobuf field string name = 1; - */ - protected $name = ''; - /** - * The list of fields. - * - * Generated from protobuf field repeated .google.protobuf.Field fields = 2; - */ - private $fields; - /** - * The list of types appearing in `oneof` definitions in this type. - * - * Generated from protobuf field repeated string oneofs = 3; - */ - private $oneofs; - /** - * The protocol buffer options. - * - * Generated from protobuf field repeated .google.protobuf.Option options = 4; - */ - private $options; - /** - * The source context. - * - * Generated from protobuf field .google.protobuf.SourceContext source_context = 5; - */ - protected $source_context = null; - /** - * The source syntax. - * - * Generated from protobuf field .google.protobuf.Syntax syntax = 6; - */ - protected $syntax = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * The fully qualified message name. - * @type array<\Google\Protobuf\Field>|\Google\Protobuf\Internal\RepeatedField $fields - * The list of fields. - * @type array|\Google\Protobuf\Internal\RepeatedField $oneofs - * The list of types appearing in `oneof` definitions in this type. - * @type array<\Google\Protobuf\Option>|\Google\Protobuf\Internal\RepeatedField $options - * The protocol buffer options. - * @type \Google\Protobuf\SourceContext $source_context - * The source context. - * @type int $syntax - * The source syntax. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Protobuf\Type::initOnce(); - parent::__construct($data); - } - - /** - * The fully qualified message name. - * - * Generated from protobuf field string name = 1; - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * The fully qualified message name. - * - * Generated from protobuf field string name = 1; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * The list of fields. - * - * Generated from protobuf field repeated .google.protobuf.Field fields = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getFields() - { - return $this->fields; - } - - /** - * The list of fields. - * - * Generated from protobuf field repeated .google.protobuf.Field fields = 2; - * @param array<\Google\Protobuf\Field>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setFields($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Protobuf\Field::class); - $this->fields = $arr; - - return $this; - } - - /** - * The list of types appearing in `oneof` definitions in this type. - * - * Generated from protobuf field repeated string oneofs = 3; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getOneofs() - { - return $this->oneofs; - } - - /** - * The list of types appearing in `oneof` definitions in this type. - * - * Generated from protobuf field repeated string oneofs = 3; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setOneofs($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->oneofs = $arr; - - return $this; - } - - /** - * The protocol buffer options. - * - * Generated from protobuf field repeated .google.protobuf.Option options = 4; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getOptions() - { - return $this->options; - } - - /** - * The protocol buffer options. - * - * Generated from protobuf field repeated .google.protobuf.Option options = 4; - * @param array<\Google\Protobuf\Option>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setOptions($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Protobuf\Option::class); - $this->options = $arr; - - return $this; - } - - /** - * The source context. - * - * Generated from protobuf field .google.protobuf.SourceContext source_context = 5; - * @return \Google\Protobuf\SourceContext|null - */ - public function getSourceContext() - { - return $this->source_context; - } - - public function hasSourceContext() - { - return isset($this->source_context); - } - - public function clearSourceContext() - { - unset($this->source_context); - } - - /** - * The source context. - * - * Generated from protobuf field .google.protobuf.SourceContext source_context = 5; - * @param \Google\Protobuf\SourceContext $var - * @return $this - */ - public function setSourceContext($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\SourceContext::class); - $this->source_context = $var; - - return $this; - } - - /** - * The source syntax. - * - * Generated from protobuf field .google.protobuf.Syntax syntax = 6; - * @return int - */ - public function getSyntax() - { - return $this->syntax; - } - - /** - * The source syntax. - * - * Generated from protobuf field .google.protobuf.Syntax syntax = 6; - * @param int $var - * @return $this - */ - public function setSyntax($var) - { - GPBUtil::checkEnum($var, \Google\Protobuf\Syntax::class); - $this->syntax = $var; - - return $this; - } - -} - diff --git a/vendor/google/protobuf/src/Google/Protobuf/UInt32Value.php b/vendor/google/protobuf/src/Google/Protobuf/UInt32Value.php deleted file mode 100644 index ae5fc5b42..000000000 --- a/vendor/google/protobuf/src/Google/Protobuf/UInt32Value.php +++ /dev/null @@ -1,68 +0,0 @@ -google.protobuf.UInt32Value - */ -class UInt32Value extends \Google\Protobuf\Internal\Message -{ - /** - * The uint32 value. - * - * Generated from protobuf field uint32 value = 1; - */ - protected $value = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $value - * The uint32 value. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Protobuf\Wrappers::initOnce(); - parent::__construct($data); - } - - /** - * The uint32 value. - * - * Generated from protobuf field uint32 value = 1; - * @return int - */ - public function getValue() - { - return $this->value; - } - - /** - * The uint32 value. - * - * Generated from protobuf field uint32 value = 1; - * @param int $var - * @return $this - */ - public function setValue($var) - { - GPBUtil::checkUint32($var); - $this->value = $var; - - return $this; - } - -} - diff --git a/vendor/google/protobuf/src/Google/Protobuf/UInt64Value.php b/vendor/google/protobuf/src/Google/Protobuf/UInt64Value.php deleted file mode 100644 index aa9686726..000000000 --- a/vendor/google/protobuf/src/Google/Protobuf/UInt64Value.php +++ /dev/null @@ -1,68 +0,0 @@ -google.protobuf.UInt64Value - */ -class UInt64Value extends \Google\Protobuf\Internal\Message -{ - /** - * The uint64 value. - * - * Generated from protobuf field uint64 value = 1; - */ - protected $value = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $value - * The uint64 value. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Protobuf\Wrappers::initOnce(); - parent::__construct($data); - } - - /** - * The uint64 value. - * - * Generated from protobuf field uint64 value = 1; - * @return int|string - */ - public function getValue() - { - return $this->value; - } - - /** - * The uint64 value. - * - * Generated from protobuf field uint64 value = 1; - * @param int|string $var - * @return $this - */ - public function setValue($var) - { - GPBUtil::checkUint64($var); - $this->value = $var; - - return $this; - } - -} - diff --git a/vendor/google/protobuf/src/Google/Protobuf/Value.php b/vendor/google/protobuf/src/Google/Protobuf/Value.php deleted file mode 100644 index dcc0bdf7c..000000000 --- a/vendor/google/protobuf/src/Google/Protobuf/Value.php +++ /dev/null @@ -1,244 +0,0 @@ -google.protobuf.Value - */ -class Value extends \Google\Protobuf\Internal\Message -{ - protected $kind; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $null_value - * Represents a null value. - * @type float $number_value - * Represents a double value. - * @type string $string_value - * Represents a string value. - * @type bool $bool_value - * Represents a boolean value. - * @type \Google\Protobuf\Struct $struct_value - * Represents a structured value. - * @type \Google\Protobuf\ListValue $list_value - * Represents a repeated `Value`. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Protobuf\Struct::initOnce(); - parent::__construct($data); - } - - /** - * Represents a null value. - * - * Generated from protobuf field .google.protobuf.NullValue null_value = 1; - * @return int - */ - public function getNullValue() - { - return $this->readOneof(1); - } - - public function hasNullValue() - { - return $this->hasOneof(1); - } - - /** - * Represents a null value. - * - * Generated from protobuf field .google.protobuf.NullValue null_value = 1; - * @param int $var - * @return $this - */ - public function setNullValue($var) - { - GPBUtil::checkEnum($var, \Google\Protobuf\NullValue::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * Represents a double value. - * - * Generated from protobuf field double number_value = 2; - * @return float - */ - public function getNumberValue() - { - return $this->readOneof(2); - } - - public function hasNumberValue() - { - return $this->hasOneof(2); - } - - /** - * Represents a double value. - * - * Generated from protobuf field double number_value = 2; - * @param float $var - * @return $this - */ - public function setNumberValue($var) - { - GPBUtil::checkDouble($var); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * Represents a string value. - * - * Generated from protobuf field string string_value = 3; - * @return string - */ - public function getStringValue() - { - return $this->readOneof(3); - } - - public function hasStringValue() - { - return $this->hasOneof(3); - } - - /** - * Represents a string value. - * - * Generated from protobuf field string string_value = 3; - * @param string $var - * @return $this - */ - public function setStringValue($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * Represents a boolean value. - * - * Generated from protobuf field bool bool_value = 4; - * @return bool - */ - public function getBoolValue() - { - return $this->readOneof(4); - } - - public function hasBoolValue() - { - return $this->hasOneof(4); - } - - /** - * Represents a boolean value. - * - * Generated from protobuf field bool bool_value = 4; - * @param bool $var - * @return $this - */ - public function setBoolValue($var) - { - GPBUtil::checkBool($var); - $this->writeOneof(4, $var); - - return $this; - } - - /** - * Represents a structured value. - * - * Generated from protobuf field .google.protobuf.Struct struct_value = 5; - * @return \Google\Protobuf\Struct|null - */ - public function getStructValue() - { - return $this->readOneof(5); - } - - public function hasStructValue() - { - return $this->hasOneof(5); - } - - /** - * Represents a structured value. - * - * Generated from protobuf field .google.protobuf.Struct struct_value = 5; - * @param \Google\Protobuf\Struct $var - * @return $this - */ - public function setStructValue($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Struct::class); - $this->writeOneof(5, $var); - - return $this; - } - - /** - * Represents a repeated `Value`. - * - * Generated from protobuf field .google.protobuf.ListValue list_value = 6; - * @return \Google\Protobuf\ListValue|null - */ - public function getListValue() - { - return $this->readOneof(6); - } - - public function hasListValue() - { - return $this->hasOneof(6); - } - - /** - * Represents a repeated `Value`. - * - * Generated from protobuf field .google.protobuf.ListValue list_value = 6; - * @param \Google\Protobuf\ListValue $var - * @return $this - */ - public function setListValue($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\ListValue::class); - $this->writeOneof(6, $var); - - return $this; - } - - /** - * @return string - */ - public function getKind() - { - return $this->whichOneof("kind"); - } - -} - diff --git a/vendor/google/protobuf/src/phpdoc.dist.xml b/vendor/google/protobuf/src/phpdoc.dist.xml deleted file mode 100644 index dd3130253..000000000 --- a/vendor/google/protobuf/src/phpdoc.dist.xml +++ /dev/null @@ -1,15 +0,0 @@ - - - - - doc - - - doc - - - Google/Protobuf/Internal/MapField.php - Google/Protobuf/Internal/Message.php - Google/Protobuf/Internal/RepeatedField.php - - diff --git a/vendor/open-telemetry/api/Baggage/Baggage.php b/vendor/open-telemetry/api/Baggage/Baggage.php deleted file mode 100644 index 06c701605..000000000 --- a/vendor/open-telemetry/api/Baggage/Baggage.php +++ /dev/null @@ -1,100 +0,0 @@ -get(ContextKeys::baggage()) ?? self::getEmpty(); - } - - /** @inheritDoc */ - public static function getBuilder(): BaggageBuilderInterface - { - return new BaggageBuilder(); - } - - /** @inheritDoc */ - public static function getCurrent(): BaggageInterface - { - return self::fromContext(Context::getCurrent()); - } - - /** @inheritDoc */ - public static function getEmpty(): BaggageInterface - { - if (null === self::$emptyBaggage) { - self::$emptyBaggage = new self(); - } - - return self::$emptyBaggage; - } - - /** @var array */ - private array $entries; - - /** @param array $entries */ - public function __construct(array $entries = []) - { - $this->entries = $entries; - } - - /** @inheritDoc */ - public function activate(): ScopeInterface - { - return Context::getCurrent()->withContextValue($this)->activate(); - } - - /** @inheritDoc */ - public function getEntry(string $key): ?Entry - { - return $this->entries[$key] ?? null; - } - - /** @inheritDoc */ - public function getValue(string $key) - { - if (($entry = $this->getEntry($key)) !== null) { - return $entry->getValue(); - } - - return null; - } - - /** @inheritDoc */ - public function getAll(): iterable - { - foreach ($this->entries as $key => $entry) { - yield $key => $entry; - } - } - - /** @inheritDoc */ - public function isEmpty(): bool - { - return $this->entries === []; - } - - /** @inheritDoc */ - public function toBuilder(): BaggageBuilderInterface - { - return new BaggageBuilder($this->entries); - } - - /** @inheritDoc */ - public function storeInContext(ContextInterface $context): ContextInterface - { - return $context->with(ContextKeys::baggage(), $this); - } -} diff --git a/vendor/open-telemetry/api/Baggage/BaggageBuilder.php b/vendor/open-telemetry/api/Baggage/BaggageBuilder.php deleted file mode 100644 index d4500eac5..000000000 --- a/vendor/open-telemetry/api/Baggage/BaggageBuilder.php +++ /dev/null @@ -1,40 +0,0 @@ - */ - private array $entries; - - /** @param array $entries */ - public function __construct(array $entries = []) - { - $this->entries = $entries; - } - - /** @inheritDoc */ - public function remove(string $key): BaggageBuilderInterface - { - unset($this->entries[$key]); - - return $this; - } - - /** @inheritDoc */ - public function set(string $key, $value, MetadataInterface $metadata = null): BaggageBuilderInterface - { - $metadata ??= Metadata::getEmpty(); - - $this->entries[$key] = new Entry($value, $metadata); - - return $this; - } - - public function build(): BaggageInterface - { - return new Baggage($this->entries); - } -} diff --git a/vendor/open-telemetry/api/Baggage/BaggageBuilderInterface.php b/vendor/open-telemetry/api/Baggage/BaggageBuilderInterface.php deleted file mode 100644 index 301cfbc3c..000000000 --- a/vendor/open-telemetry/api/Baggage/BaggageBuilderInterface.php +++ /dev/null @@ -1,23 +0,0 @@ -value = $value; - $this->metadata = $metadata; - } - - /** - * @return mixed - */ - public function getValue() - { - return $this->value; - } - - public function getMetadata(): MetadataInterface - { - return $this->metadata; - } -} diff --git a/vendor/open-telemetry/api/Baggage/Metadata.php b/vendor/open-telemetry/api/Baggage/Metadata.php deleted file mode 100644 index 043c96a8a..000000000 --- a/vendor/open-telemetry/api/Baggage/Metadata.php +++ /dev/null @@ -1,27 +0,0 @@ -metadata = $metadata; - } - - public function getValue(): string - { - return $this->metadata; - } -} diff --git a/vendor/open-telemetry/api/Baggage/MetadataInterface.php b/vendor/open-telemetry/api/Baggage/MetadataInterface.php deleted file mode 100644 index cd0a6d1ec..000000000 --- a/vendor/open-telemetry/api/Baggage/MetadataInterface.php +++ /dev/null @@ -1,13 +0,0 @@ -isEmpty()) { - return; - } - - $headerString = ''; - - /** @var Entry $entry */ - foreach ($baggage->getAll() as $key => $entry) { - $value = urlencode($entry->getValue()); - $headerString.= "{$key}={$value}"; - - if (($metadata = $entry->getMetadata()->getValue()) !== '' && ($metadata = $entry->getMetadata()->getValue()) !== '0') { - $headerString .= ";{$metadata}"; - } - - $headerString .= ','; - } - - if ($headerString !== '' && $headerString !== '0') { - $headerString = rtrim($headerString, ','); - $setter->set($carrier, self::BAGGAGE, $headerString); - } - } - - public function extract($carrier, PropagationGetterInterface $getter = null, ContextInterface $context = null): ContextInterface - { - $getter ??= ArrayAccessGetterSetter::getInstance(); - $context ??= Context::getCurrent(); - - if (!$baggageHeader = $getter->get($carrier, self::BAGGAGE)) { - return $context; - } - - $baggageBuilder = Baggage::getBuilder(); - $this->extractValue($baggageHeader, $baggageBuilder); - - return $context->withContextValue($baggageBuilder->build()); - } - - private function extractValue(string $baggageHeader, BaggageBuilderInterface $baggageBuilder): void - { - (new Parser($baggageHeader))->parseInto($baggageBuilder); - } -} diff --git a/vendor/open-telemetry/api/Baggage/Propagation/Parser.php b/vendor/open-telemetry/api/Baggage/Propagation/Parser.php deleted file mode 100644 index 3518b858d..000000000 --- a/vendor/open-telemetry/api/Baggage/Propagation/Parser.php +++ /dev/null @@ -1,69 +0,0 @@ -', '@', ',', ';', ':', '\\', '"', '/', '[', ']', '?', '=', '{', '}']; - private const EXCLUDED_VALUE_CHARS = [' ', '"', ',', ';', '\\']; - private const EQUALS = '='; - - /** @readonly */ - private string $baggageHeader; - - public function __construct(string $baggageHeader) - { - $this->baggageHeader = $baggageHeader; - } - - public function parseInto(BaggageBuilderInterface $baggageBuilder): void - { - foreach (explode(',', $this->baggageHeader) as $baggageString) { - if (empty(trim($baggageString))) { - continue; - } - - $explodedString = explode(';', $baggageString, 2); - - $keyValue = trim($explodedString[0]); - - if (empty($keyValue) || mb_strpos($keyValue, self::EQUALS) === false) { - continue; - } - - $metadataString = $explodedString[1] ?? null; - - if ($metadataString && !empty(trim(($metadataString)))) { - $metadata = new Metadata(trim($metadataString)); - } else { - $metadata = null; - } - - [$key, $value] = explode(self::EQUALS, $keyValue, 2); - - $key = urldecode($key); - $value = urldecode($value); - - $key = str_replace(self::EXCLUDED_KEY_CHARS, '', trim($key), $invalidKeyCharacters); - if (empty($key) || $invalidKeyCharacters > 0) { - continue; - } - - $value = str_replace(self::EXCLUDED_VALUE_CHARS, '', trim($value), $invalidValueCharacters); - if (empty($value) || $invalidValueCharacters > 0) { - continue; - } - - $baggageBuilder->set($key, $value, $metadata); - } - } -} diff --git a/vendor/open-telemetry/api/Behavior/Internal/LogWriter/ErrorLogWriter.php b/vendor/open-telemetry/api/Behavior/Internal/LogWriter/ErrorLogWriter.php deleted file mode 100644 index 1b9f785aa..000000000 --- a/vendor/open-telemetry/api/Behavior/Internal/LogWriter/ErrorLogWriter.php +++ /dev/null @@ -1,13 +0,0 @@ -getMessage(), - PHP_EOL, - $exception->getTraceAsString() - ); - } else { - //get calling location, skipping over trait, formatter etc - $caller = debug_backtrace()[3]; - $message = sprintf( - 'OpenTelemetry: [%s] %s in %s(%s)', - $level, - $message, - $caller['file'], - $caller['line'], - ); - } - - return $message; - } -} diff --git a/vendor/open-telemetry/api/Behavior/Internal/LogWriter/LogWriterInterface.php b/vendor/open-telemetry/api/Behavior/Internal/LogWriter/LogWriterInterface.php deleted file mode 100644 index 046d21fc9..000000000 --- a/vendor/open-telemetry/api/Behavior/Internal/LogWriter/LogWriterInterface.php +++ /dev/null @@ -1,10 +0,0 @@ -logger = $logger; - } - - public function write($level, string $message, array $context): void - { - $this->logger->log($level, $message, $context); - } -} diff --git a/vendor/open-telemetry/api/Behavior/Internal/LogWriter/StreamLogWriter.php b/vendor/open-telemetry/api/Behavior/Internal/LogWriter/StreamLogWriter.php deleted file mode 100644 index f65f1e856..000000000 --- a/vendor/open-telemetry/api/Behavior/Internal/LogWriter/StreamLogWriter.php +++ /dev/null @@ -1,25 +0,0 @@ -stream = $stream; - } else { - throw new \RuntimeException(sprintf('Unable to open %s for writing', $destination)); - } - } - - public function write($level, string $message, array $context): void - { - fwrite($this->stream, Formatter::format($level, $message, $context)); - } -} diff --git a/vendor/open-telemetry/api/Behavior/Internal/LogWriterFactory.php b/vendor/open-telemetry/api/Behavior/Internal/LogWriterFactory.php deleted file mode 100644 index 07c48cea5..000000000 --- a/vendor/open-telemetry/api/Behavior/Internal/LogWriterFactory.php +++ /dev/null @@ -1,48 +0,0 @@ -getString(self::OTEL_PHP_LOG_DESTINATION); - $logger = LoggerHolder::get(); - - switch ($dest) { - case 'none': - return new NoopLogWriter(); - case 'stderr': - return new StreamLogWriter('php://stderr'); - case 'stdout': - return new StreamLogWriter('php://stdout'); - case 'psr3': - if ($logger) { - return new Psr3LogWriter($logger); - } - error_log('OpenTelemetry: cannot use OTEL_PHP_LOG_DESTINATION=psr3 without providing a PSR-3 logger'); - //default to error log - return new ErrorLogWriter(); - case 'error_log': - return new ErrorLogWriter(); - default: - if ($logger) { - return new Psr3LogWriter($logger); - } - - return new ErrorLogWriter(); - } - } -} diff --git a/vendor/open-telemetry/api/Behavior/Internal/Logging.php b/vendor/open-telemetry/api/Behavior/Internal/Logging.php deleted file mode 100644 index e5bec7ab5..000000000 --- a/vendor/open-telemetry/api/Behavior/Internal/Logging.php +++ /dev/null @@ -1,90 +0,0 @@ -create(); - - return self::$writer; - } - - /** - * Get level priority from level name - */ - public static function level(string $level): int - { - $value = array_search($level, self::LEVELS); - - return $value ?: 1; //'info' - } - - /** - * Get defined OTEL_LOG_LEVEL, or default - */ - public static function logLevel(): int - { - self::$logLevel ??= self::getLogLevel(); - - return self::$logLevel; - } - - private static function getLogLevel(): int - { - $level = array_key_exists(self::OTEL_LOG_LEVEL, $_SERVER) - ? $_SERVER[self::OTEL_LOG_LEVEL] - : getenv(self::OTEL_LOG_LEVEL); - if (!$level) { - $level = ini_get(self::OTEL_LOG_LEVEL); - } - if (!$level) { - $level = self::DEFAULT_LEVEL; - } - - return self::level($level); - } - - public static function reset(): void - { - self::$logLevel = null; - self::$writer = null; - } -} diff --git a/vendor/open-telemetry/api/Behavior/LogsMessagesTrait.php b/vendor/open-telemetry/api/Behavior/LogsMessagesTrait.php deleted file mode 100644 index d0207e4b1..000000000 --- a/vendor/open-telemetry/api/Behavior/LogsMessagesTrait.php +++ /dev/null @@ -1,50 +0,0 @@ -= Logging::logLevel(); - } - - private static function doLog(string $level, string $message, array $context): void - { - $writer = Logging::logWriter(); - if (self::shouldLog($level)) { - $context['source'] = get_called_class(); - $writer->write($level, $message, $context); - } - } - - protected static function logDebug(string $message, array $context = []): void - { - self::doLog(LogLevel::DEBUG, $message, $context); - } - - protected static function logInfo(string $message, array $context = []): void - { - self::doLog(LogLevel::INFO, $message, $context); - } - - protected static function logNotice(string $message, array $context = []): void - { - self::doLog(LogLevel::NOTICE, $message, $context); - } - - protected static function logWarning(string $message, array $context = []): void - { - self::doLog(LogLevel::WARNING, $message, $context); - } - - protected static function logError(string $message, array $context = []): void - { - self::doLog(LogLevel::ERROR, $message, $context); - } -} diff --git a/vendor/open-telemetry/api/Globals.php b/vendor/open-telemetry/api/Globals.php deleted file mode 100644 index 8f04b0b42..000000000 --- a/vendor/open-telemetry/api/Globals.php +++ /dev/null @@ -1,121 +0,0 @@ -tracerProvider = $tracerProvider; - $this->meterProvider = $meterProvider; - $this->loggerProvider = $loggerProvider; - $this->propagator = $propagator; - } - - public static function tracerProvider(): TracerProviderInterface - { - return Context::getCurrent()->get(ContextKeys::tracerProvider()) ?? self::globals()->tracerProvider; - } - - public static function meterProvider(): MeterProviderInterface - { - return Context::getCurrent()->get(ContextKeys::meterProvider()) ?? self::globals()->meterProvider; - } - - public static function propagator(): TextMapPropagatorInterface - { - return Context::getCurrent()->get(ContextKeys::propagator()) ?? self::globals()->propagator; - } - - public static function loggerProvider(): LoggerProviderInterface - { - return Context::getCurrent()->get(ContextKeys::loggerProvider()) ?? self::globals()->loggerProvider; - } - - /** - * @param Closure(Configurator): Configurator $initializer - * - * @interal - * @psalm-internal OpenTelemetry - */ - public static function registerInitializer(Closure $initializer): void - { - self::$initializers[] = $initializer; - } - - /** - * @phan-suppress PhanTypeMismatchReturnNullable - */ - private static function globals(): self - { - if (self::$globals !== null) { - return self::$globals; - } - - $configurator = Configurator::createNoop(); - $scope = $configurator->activate(); - - try { - foreach (self::$initializers as $initializer) { - try { - $configurator = $initializer($configurator); - } catch (Throwable $e) { - trigger_error(sprintf("Error during opentelemetry initialization: %s\n%s", $e->getMessage(), $e->getTraceAsString()), E_USER_WARNING); - } - } - } finally { - $scope->detach(); - } - - $context = $configurator->storeInContext(); - $tracerProvider = $context->get(ContextKeys::tracerProvider()); - $meterProvider = $context->get(ContextKeys::meterProvider()); - $propagator = $context->get(ContextKeys::propagator()); - $loggerProvider = $context->get(ContextKeys::loggerProvider()); - - assert(isset($tracerProvider, $meterProvider, $loggerProvider, $propagator)); - - return self::$globals = new self($tracerProvider, $meterProvider, $loggerProvider, $propagator); - } - - /** - * @internal - */ - public static function reset(): void - { - self::$globals = null; - self::$initializers = []; - } -} diff --git a/vendor/open-telemetry/api/Instrumentation/CachedInstrumentation.php b/vendor/open-telemetry/api/Instrumentation/CachedInstrumentation.php deleted file mode 100644 index 5ffb3950d..000000000 --- a/vendor/open-telemetry/api/Instrumentation/CachedInstrumentation.php +++ /dev/null @@ -1,97 +0,0 @@ -|null */ - private ?ArrayAccess $tracers; - /** @var ArrayAccess|null */ - private ?ArrayAccess $meters; - /** @var ArrayAccess|null */ - private ?ArrayAccess $loggers; - - public function __construct(string $name, ?string $version = null, ?string $schemaUrl = null, iterable $attributes = []) - { - $this->name = $name; - $this->version = $version; - $this->schemaUrl = $schemaUrl; - $this->attributes = $attributes; - $this->tracers = self::createWeakMap(); - $this->meters = self::createWeakMap(); - $this->loggers = self::createWeakMap(); - } - - private static function createWeakMap(): ?ArrayAccess - { - if (PHP_VERSION_ID < 80000) { - return null; - } - - /** @phan-suppress-next-line PhanUndeclaredClassReference */ - assert(class_exists(\WeakMap::class, false)); - /** @phan-suppress-next-line PhanUndeclaredClassMethod */ - $map = new \WeakMap(); - assert($map instanceof ArrayAccess); - - return $map; - } - - public function tracer(): TracerInterface - { - $tracerProvider = Globals::tracerProvider(); - - if ($this->tracers === null) { - return $tracerProvider->getTracer($this->name, $this->version, $this->schemaUrl, $this->attributes); - } - - return $this->tracers[$tracerProvider] ??= $tracerProvider->getTracer($this->name, $this->version, $this->schemaUrl, $this->attributes); - } - - public function meter(): MeterInterface - { - $meterProvider = Globals::meterProvider(); - - if ($this->meters === null) { - return $meterProvider->getMeter($this->name, $this->version, $this->schemaUrl, $this->attributes); - } - - return $this->meters[$meterProvider] ??= $meterProvider->getMeter($this->name, $this->version, $this->schemaUrl, $this->attributes); - } - public function logger(): LoggerInterface - { - $loggerProvider = Globals::loggerProvider(); - - if ($this->loggers === null) { - return $loggerProvider->getLogger($this->name, $this->version, $this->schemaUrl, $this->attributes); - } - - return $this->loggers[$loggerProvider] ??= $loggerProvider->getLogger($this->name, $this->version, $this->schemaUrl, $this->attributes); - } -} diff --git a/vendor/open-telemetry/api/Instrumentation/ConfigurationResolver.php b/vendor/open-telemetry/api/Instrumentation/ConfigurationResolver.php deleted file mode 100644 index bb5619c30..000000000 --- a/vendor/open-telemetry/api/Instrumentation/ConfigurationResolver.php +++ /dev/null @@ -1,77 +0,0 @@ -getVariable($name) !== null; - } - - public function getString(string $name): ?string - { - return $this->getVariable($name); - } - - public function getBoolean(string $name): ?bool - { - $value = $this->getVariable($name); - if ($value === null) { - return null; - } - - return ($value === 'true'); - } - - public function getInt(string $name): ?int - { - $value = $this->getVariable($name); - if ($value === null) { - return null; - } - if (filter_var($value, FILTER_VALIDATE_INT) === false) { - //log warning - return null; - } - - return (int) $value; - } - - public function getList(string $name): array - { - $value = $this->getVariable($name); - if ($value === null) { - return []; - } - - return explode(',', $value); - } - - private function getVariable(string $name): ?string - { - $value = $_SERVER[$name] ?? null; - if ($value !== false && !self::isEmpty($value)) { - assert(is_string($value)); - - return $value; - } - $value = getenv($name); - if ($value !== false && !self::isEmpty($value)) { - return $value; - } - $value = ini_get($name); - if ($value !== false && !self::isEmpty($value)) { - return $value; - } - - return null; - } - - private static function isEmpty($value): bool - { - return $value === false || $value === null || $value === ''; - } -} diff --git a/vendor/open-telemetry/api/Instrumentation/ConfigurationResolverInterface.php b/vendor/open-telemetry/api/Instrumentation/ConfigurationResolverInterface.php deleted file mode 100644 index 79bd94047..000000000 --- a/vendor/open-telemetry/api/Instrumentation/ConfigurationResolverInterface.php +++ /dev/null @@ -1,14 +0,0 @@ -withTracerProvider(new NoopTracerProvider()) - ->withMeterProvider(new NoopMeterProvider()) - ->withPropagator(new NoopTextMapPropagator()) - ->withLoggerProvider(new NoopLoggerProvider()) - ; - } - - public function activate(): ScopeInterface - { - return $this->storeInContext()->activate(); - } - - public function storeInContext(?ContextInterface $context = null): ContextInterface - { - $context ??= Context::getCurrent(); - - if ($this->tracerProvider !== null) { - $context = $context->with(ContextKeys::tracerProvider(), $this->tracerProvider); - } - if ($this->meterProvider !== null) { - $context = $context->with(ContextKeys::meterProvider(), $this->meterProvider); - } - if ($this->propagator !== null) { - $context = $context->with(ContextKeys::propagator(), $this->propagator); - } - if ($this->loggerProvider !== null) { - $context = $context->with(ContextKeys::loggerProvider(), $this->loggerProvider); - } - - return $context; - } - - public function withTracerProvider(?TracerProviderInterface $tracerProvider): Configurator - { - $self = clone $this; - $self->tracerProvider = $tracerProvider; - - return $self; - } - - public function withMeterProvider(?MeterProviderInterface $meterProvider): Configurator - { - $self = clone $this; - $self->meterProvider = $meterProvider; - - return $self; - } - - public function withPropagator(?TextMapPropagatorInterface $propagator): Configurator - { - $self = clone $this; - $self->propagator = $propagator; - - return $self; - } - - public function withLoggerProvider(?LoggerProviderInterface $loggerProvider): Configurator - { - $self = clone $this; - $self->loggerProvider = $loggerProvider; - - return $self; - } -} diff --git a/vendor/open-telemetry/api/Instrumentation/ContextKeys.php b/vendor/open-telemetry/api/Instrumentation/ContextKeys.php deleted file mode 100644 index ea1a66416..000000000 --- a/vendor/open-telemetry/api/Instrumentation/ContextKeys.php +++ /dev/null @@ -1,58 +0,0 @@ - - */ - public static function tracerProvider(): ContextKeyInterface - { - static $instance; - - return $instance ??= Context::createKey(TracerProviderInterface::class); - } - - /** - * @return ContextKeyInterface - */ - public static function meterProvider(): ContextKeyInterface - { - static $instance; - - return $instance ??= Context::createKey(MeterProviderInterface::class); - } - - /** - * @return ContextKeyInterface - */ - public static function propagator(): ContextKeyInterface - { - static $instance; - - return $instance ??= Context::createKey(TextMapPropagatorInterface::class); - } - - /** - * @return ContextKeyInterface - */ - public static function loggerProvider(): ContextKeyInterface - { - static $instance; - - return $instance ??= Context::createKey(LoggerProviderInterface::class); - } -} diff --git a/vendor/open-telemetry/api/Instrumentation/InstrumentationInterface.php b/vendor/open-telemetry/api/Instrumentation/InstrumentationInterface.php deleted file mode 100644 index d67bc8d6d..000000000 --- a/vendor/open-telemetry/api/Instrumentation/InstrumentationInterface.php +++ /dev/null @@ -1,43 +0,0 @@ -getTracer()->spanBuilder($this->getName())->startSpan(); - // do stuff - $span->end(); - } -} - -An user of the instrumentation and API/SDK would the call: - -$instrumentation = new Instrumentation; -$instrumentation->activate() - -to activate and use the instrumentation with the API/SDK. - **/ - -trait InstrumentationTrait -{ - private TextMapPropagatorInterface $propagator; - private TracerProviderInterface $tracerProvider; - private TracerInterface $tracer; - private MeterInterface $meter; - private LoggerInterface $logger; - - public function __construct() - { - $this->initDefaults(); - } - - /** - * The name of the instrumenting/instrumented library/package/project. - * @see https://github.com/open-telemetry/opentelemetry-specification/blob/v1.12.0/specification/glossary.md#instrumentation-scope - * @see https://github.com/open-telemetry/opentelemetry-specification/blob/v1.12.0/specification/glossary.md#instrumentation-library - */ - abstract public function getName(): string; - - /** - * The version of the instrumenting/instrumented library/package/project. - * If unknown or a lookup is too expensive simply return NULL. - * @see https://github.com/open-telemetry/opentelemetry-specification/blob/v1.12.0/specification/glossary.md#instrumentation-scope - * @see https://github.com/open-telemetry/opentelemetry-specification/blob/v1.12.0/specification/glossary.md#instrumentation-library - */ - abstract public function getVersion(): ?string; - - /** - * The version of the instrumenting/instrumented library/package/project. - * If unknown simply return NULL. - * @see https://github.com/open-telemetry/opentelemetry-specification/blob/v1.12.0/specification/glossary.md#instrumentation-scope - * @see https://github.com/open-telemetry/opentelemetry-specification/blob/v1.12.0/specification/glossary.md#instrumentation-library - */ - abstract public function getSchemaUrl(): ?string; - - /** - * This method will be called from the API when the instrumentation has been activated (via activate()). - * Here you can put any bootstrapping code needed by the instrumentation. - * If not needed simply implement a method which returns TRUE. - */ - abstract public function init(): bool; - - /** - * This method registers and activates the instrumentation with the OpenTelemetry API/SDK and thus - * the instrumentation will be used to generate telemetry data. - */ - public function activate(): bool - { - $this->validateImplementation(); - // activate instrumentation with the API. not implemented yet. - return true; - } - - public function setPropagator(TextMapPropagatorInterface $propagator): void - { - $this->propagator = $propagator; - } - - public function getPropagator(): TextMapPropagatorInterface - { - return $this->propagator; - } - - public function setTracerProvider(TracerProviderInterface $tracerProvider): void - { - $this->tracerProvider = $tracerProvider; - // @see https://github.com/open-telemetry/opentelemetry-specification/blob/v1.12.0/specification/trace/api.md#get-a-tracer - $this->tracer = $tracerProvider->getTracer( - $this->getName(), - $this->getVersion(), - $this->getSchemaUrl(), - ); - } - - public function getTracerProvider(): TracerProviderInterface - { - return $this->tracerProvider; - } - - public function getTracer(): TracerInterface - { - return $this->tracer; - } - - public function setMeterProvider(MeterProviderInterface $meterProvider): void - { - // @see https://github.com/open-telemetry/opentelemetry-specification/blob/v1.12.0/specification/metrics/api.md#get-a-meter - $this->meter = $meterProvider->getMeter( - $this->getName(), - $this->getVersion(), - ); - } - - public function getMeter(): MeterInterface - { - return $this->meter; - } - - public function setLogger(LoggerInterface $logger): void - { - $this->logger = $logger; - } - - public function getLogger(): LoggerInterface - { - return $this->logger; - } - - private function validateImplementation(): void - { - if (!$this instanceof InstrumentationInterface) { - throw new RuntimeException(sprintf( - '"%s" is meant to implement "%s"', - InstrumentationTrait::class, - InstrumentationInterface::class - )); - } - } - - private function initDefaults(): void - { - $this->propagator = new NoopTextMapPropagator(); - $this->tracer = new NoopTracer(); - $this->tracerProvider = new NoopTracerProvider(); - /** @phan-suppress-next-line PhanAccessMethodInternal */ - $this->meter = new NoopMeter(); - $this->logger = new NullLogger(); - } -} diff --git a/vendor/open-telemetry/api/LoggerHolder.php b/vendor/open-telemetry/api/LoggerHolder.php deleted file mode 100644 index 99f916a23..000000000 --- a/vendor/open-telemetry/api/LoggerHolder.php +++ /dev/null @@ -1,53 +0,0 @@ -logger = $logger; - $this->domain = $domain; - } - - public function logEvent(string $eventName, LogRecord $logRecord): void - { - $logRecord->setAttributes([ - 'event.name' => $eventName, - 'event.domain' => $this->domain, - ]); - $this->logger->emit($logRecord); - } -} diff --git a/vendor/open-telemetry/api/Logs/EventLoggerInterface.php b/vendor/open-telemetry/api/Logs/EventLoggerInterface.php deleted file mode 100644 index a2096b9b7..000000000 --- a/vendor/open-telemetry/api/Logs/EventLoggerInterface.php +++ /dev/null @@ -1,13 +0,0 @@ -body = $body; - } - - /** - * @param int $timestamp Timestamp, in nanoseconds since the unix epoch, when the event occurred. - * @see https://opentelemetry.io/docs/reference/specification/logs/data-model/#field-timestamp - */ - public function setTimestamp(int $timestamp): self - { - $this->timestamp = $timestamp; - - return $this; - } - - public function setContext(?ContextInterface $context = null): self - { - $this->context = $context; - - return $this; - } - - /** - * @param int $severityNumber Severity number - * @see https://opentelemetry.io/docs/reference/specification/logs/data-model/#field-severitynumber - */ - public function setSeverityNumber(int $severityNumber): self - { - $this->severityNumber = $severityNumber; - - return $this; - } - - /** - * @param string $severityText Severity text, also known as log level - * @see https://opentelemetry.io/docs/reference/specification/logs/data-model/#field-severitynumber - */ - public function setSeverityText(string $severityText): self - { - $this->severityText = $severityText; - - return $this; - } - - /** - * @param iterable $attributes Additional information about the specific event occurrence. - * @see https://opentelemetry.io/docs/reference/specification/logs/data-model/#field-attributes - */ - public function setAttributes(iterable $attributes): self - { - foreach ($attributes as $name => $value) { - $this->setAttribute($name, $value); - } - - return $this; - } - - public function setAttribute(string $name, $value): self - { - $this->attributes[$name] = $value; - - return $this; - } - - /** - * @param mixed $body The log record body - */ - public function setBody($body = null): self - { - $this->body = $body; - - return $this; - } - - /** - * @param int|null $observedTimestamp Time, in nanoseconds since the unix epoch, when the event was observed by the collection system. - */ - public function setObservedTimestamp(int $observedTimestamp = null): self - { - $this->observedTimestamp = $observedTimestamp; - - return $this; - } -} diff --git a/vendor/open-telemetry/api/Logs/LoggerInterface.php b/vendor/open-telemetry/api/Logs/LoggerInterface.php deleted file mode 100644 index 89477c8d2..000000000 --- a/vendor/open-telemetry/api/Logs/LoggerInterface.php +++ /dev/null @@ -1,10 +0,0 @@ - $attributes - * attributes of the data point - * @param ContextInterface|false|null $context execution context - * - * @see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/metrics/api.md#add - */ - public function add($amount, iterable $attributes = [], $context = null): void; -} diff --git a/vendor/open-telemetry/api/Metrics/HistogramInterface.php b/vendor/open-telemetry/api/Metrics/HistogramInterface.php deleted file mode 100644 index 22ddd1f3c..000000000 --- a/vendor/open-telemetry/api/Metrics/HistogramInterface.php +++ /dev/null @@ -1,21 +0,0 @@ - $attributes - * attributes of the data point - * @param ContextInterface|false|null $context execution context - * - * @see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/metrics/api.md#record - */ - public function record($amount, iterable $attributes = [], $context = null): void; -} diff --git a/vendor/open-telemetry/api/Metrics/MeterInterface.php b/vendor/open-telemetry/api/Metrics/MeterInterface.php deleted file mode 100644 index 6e06d9085..000000000 --- a/vendor/open-telemetry/api/Metrics/MeterInterface.php +++ /dev/null @@ -1,111 +0,0 @@ - $attributes - * instrumentation scope attributes - * @return MeterInterface meter instance for the instrumentation scope - * - * @see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/metrics/api.md#get-a-meter - */ - public function getMeter( - string $name, - ?string $version = null, - ?string $schemaUrl = null, - iterable $attributes = [] - ): MeterInterface; -} diff --git a/vendor/open-telemetry/api/Metrics/Noop/NoopCounter.php b/vendor/open-telemetry/api/Metrics/Noop/NoopCounter.php deleted file mode 100644 index d47fc2166..000000000 --- a/vendor/open-telemetry/api/Metrics/Noop/NoopCounter.php +++ /dev/null @@ -1,18 +0,0 @@ -getMeter('example') - * ->createObservableGauge('random') - * ->observe(fn(ObserverInterface $observer) - * => $observer->observe(rand(0, 10))); - * } - * } - * ``` - * Keeping a reference to the `ObservableCallbackInterface` within the bound - * object to gain a more fine-grained control over the life-time of the callback - * does not prevent garbage collection (but might require cycle collection). - * - * Unbound (static) callbacks must be detached manually using - * {@link ObservableCallbackInterface::detach()}. - * ```php - * class Example { - * private ObservableCallbackInterface $gauge; - * function __construct(MeterProviderInterface $meterProvider) { - * $this->gauge = $meterProvider->getMeter('example') - * ->createObservableGauge('random') - * ->observe(static fn(ObserverInterface $observer) - * => $observer->observe(rand(0, 10))); - * } - * function __destruct() { - * $this->gauge->detach(); - * } - * } - * ``` - * - * @see ObservableCounterInterface::observe() - * @see ObservableGaugeInterface::observe() - * @see ObservableUpDownCounterInterface::observe() - */ -interface ObservableCallbackInterface -{ - - /** - * Detaches the associated callback from the instrument. - */ - public function detach(): void; -} diff --git a/vendor/open-telemetry/api/Metrics/ObservableCounterInterface.php b/vendor/open-telemetry/api/Metrics/ObservableCounterInterface.php deleted file mode 100644 index feb1ed439..000000000 --- a/vendor/open-telemetry/api/Metrics/ObservableCounterInterface.php +++ /dev/null @@ -1,16 +0,0 @@ - $attributes - * attributes of the data point - */ - public function observe($amount, iterable $attributes = []): void; -} diff --git a/vendor/open-telemetry/api/Metrics/UpDownCounterInterface.php b/vendor/open-telemetry/api/Metrics/UpDownCounterInterface.php deleted file mode 100644 index f1f808fdb..000000000 --- a/vendor/open-telemetry/api/Metrics/UpDownCounterInterface.php +++ /dev/null @@ -1,19 +0,0 @@ - $attributes - * attributes of the data point - * @param ContextInterface|false|null $context execution context - */ - public function add($amount, iterable $attributes = [], $context = null): void; -} diff --git a/vendor/open-telemetry/api/README.md b/vendor/open-telemetry/api/README.md deleted file mode 100644 index c2cbd1bf1..000000000 --- a/vendor/open-telemetry/api/README.md +++ /dev/null @@ -1,14 +0,0 @@ -[![Releases](https://img.shields.io/badge/releases-purple)](https://github.com/opentelemetry-php/api/releases) -[![Source](https://img.shields.io/badge/source-api-green)](https://github.com/open-telemetry/opentelemetry-php/tree/main/src/API) -[![Mirror](https://img.shields.io/badge/mirror-opentelemetry--php:api-blue)](https://github.com/opentelemetry-php/api) -[![Latest Version](http://poser.pugx.org/open-telemetry/api/v/unstable)](https://packagist.org/packages/open-telemetry/api/) -[![Stable](http://poser.pugx.org/open-telemetry/api/v/stable)](https://packagist.org/packages/open-telemetry/api/) - -# OpenTelemetry API - -Documentation: https://opentelemetry.io/docs/instrumentation/php - -## Contributing - -This repository is a read-only git subtree split. -To contribute, please see the main [OpenTelemetry PHP monorepo](https://github.com/open-telemetry/opentelemetry-php). diff --git a/vendor/open-telemetry/api/Signals.php b/vendor/open-telemetry/api/Signals.php deleted file mode 100644 index 95582aaa2..000000000 --- a/vendor/open-telemetry/api/Signals.php +++ /dev/null @@ -1,21 +0,0 @@ -context = $context; - } - - /** @inheritDoc */ - public function getContext(): SpanContextInterface - { - return $this->context; - } - - /** @inheritDoc */ - public function isRecording(): bool - { - return false; - } - - /** @inheritDoc */ - public function setAttribute(string $key, $value): SpanInterface - { - return $this; - } - - /** @inheritDoc */ - public function setAttributes(iterable $attributes): SpanInterface - { - return $this; - } - - /** @inheritDoc */ - public function addEvent(string $name, iterable $attributes = [], int $timestamp = null): SpanInterface - { - return $this; - } - - /** @inheritDoc */ - public function recordException(Throwable $exception, iterable $attributes = []): SpanInterface - { - return $this; - } - - /** @inheritDoc */ - public function updateName(string $name): SpanInterface - { - return $this; - } - - /** @inheritDoc */ - public function setStatus(string $code, string $description = null): SpanInterface - { - return $this; - } - - /** @inheritDoc */ - public function end(int $endEpochNanos = null): void - { - } -} diff --git a/vendor/open-telemetry/api/Trace/NoopSpanBuilder.php b/vendor/open-telemetry/api/Trace/NoopSpanBuilder.php deleted file mode 100644 index 6f971e525..000000000 --- a/vendor/open-telemetry/api/Trace/NoopSpanBuilder.php +++ /dev/null @@ -1,65 +0,0 @@ -contextStorage = $contextStorage; - } - - public function setParent($context): SpanBuilderInterface - { - $this->parentContext = $context; - - return $this; - } - - public function addLink(SpanContextInterface $context, iterable $attributes = []): SpanBuilderInterface - { - return $this; - } - - public function setAttribute(string $key, $value): SpanBuilderInterface - { - return $this; - } - - public function setAttributes(iterable $attributes): SpanBuilderInterface - { - return $this; - } - - public function setStartTimestamp(int $timestampNanos): SpanBuilderInterface - { - return $this; - } - - public function setSpanKind(int $spanKind): SpanBuilderInterface - { - return $this; - } - - public function startSpan(): SpanInterface - { - $parentContext = Context::resolve($this->parentContext, $this->contextStorage); - $span = Span::fromContext($parentContext); - if ($span->isRecording()) { - $span = Span::wrap($span->getContext()); - } - - return $span; - } -} diff --git a/vendor/open-telemetry/api/Trace/NoopTracer.php b/vendor/open-telemetry/api/Trace/NoopTracer.php deleted file mode 100644 index bc50248bd..000000000 --- a/vendor/open-telemetry/api/Trace/NoopTracer.php +++ /dev/null @@ -1,26 +0,0 @@ -getContext(); - - if (!$spanContext->isValid()) { - return; - } - - // Build and inject the traceparent header - $traceparent = self::VERSION . '-' . $spanContext->getTraceId() . '-' . $spanContext->getSpanId() . '-' . ($spanContext->isSampled() ? '01' : '00'); - $setter->set($carrier, self::TRACEPARENT, $traceparent); - - // Build and inject the tracestate header - // Spec says to avoid sending empty tracestate headers - if (($tracestate = (string) $spanContext->getTraceState()) !== '') { - $setter->set($carrier, self::TRACESTATE, $tracestate); - } - } - - /** {@inheritdoc} */ - public function extract($carrier, PropagationGetterInterface $getter = null, ContextInterface $context = null): ContextInterface - { - $getter ??= ArrayAccessGetterSetter::getInstance(); - $context ??= Context::getCurrent(); - - $spanContext = self::extractImpl($carrier, $getter); - if (!$spanContext->isValid()) { - return $context; - } - - return $context->withContextValue(Span::wrap($spanContext)); - } - - private static function extractImpl($carrier, PropagationGetterInterface $getter): SpanContextInterface - { - $traceparent = $getter->get($carrier, self::TRACEPARENT); - if ($traceparent === null) { - return SpanContext::getInvalid(); - } - - // traceParent = {version}-{trace-id}-{parent-id}-{trace-flags} - $pieces = explode('-', $traceparent); - - // If the header does not have at least 4 pieces, it is invalid -- restart the trace. - if (count($pieces) < 4) { - return SpanContext::getInvalid(); - } - - [$version, $traceId, $spanId, $traceFlags] = $pieces; - - /** - * Return invalid if: - * - Version is invalid (not 2 char hex or 'ff') - * - Trace version, trace ID, span ID or trace flag are invalid - */ - if (!TraceContextValidator::isValidTraceVersion($version) - || !SpanContextValidator::isValidTraceId($traceId) - || !SpanContextValidator::isValidSpanId($spanId) - || !TraceContextValidator::isValidTraceFlag($traceFlags) - ) { - return SpanContext::getInvalid(); - } - - // Return invalid if the trace version is not a future version but still has > 4 pieces. - $versionIsFuture = hexdec($version) > hexdec(self::VERSION); - if (count($pieces) > 4 && !$versionIsFuture) { - return SpanContext::getInvalid(); - } - - // Only the sampled flag is extracted from the traceFlags (00000001) - $convertedTraceFlags = hexdec($traceFlags); - $isSampled = ($convertedTraceFlags & TraceFlags::SAMPLED) === TraceFlags::SAMPLED; - - // Tracestate = 'Vendor1=Value1,...,VendorN=ValueN' - $rawTracestate = $getter->get($carrier, self::TRACESTATE); - if ($rawTracestate !== null) { - $tracestate = new TraceState($rawTracestate); - - return SpanContext::createFromRemoteParent( - $traceId, - $spanId, - $isSampled ? TraceFlags::SAMPLED : TraceFlags::DEFAULT, - $tracestate - ); - } - - // Only traceparent header is extracted. No tracestate. - return SpanContext::createFromRemoteParent( - $traceId, - $spanId, - $isSampled ? TraceFlags::SAMPLED : TraceFlags::DEFAULT - ); - } -} diff --git a/vendor/open-telemetry/api/Trace/Propagation/TraceContextValidator.php b/vendor/open-telemetry/api/Trace/Propagation/TraceContextValidator.php deleted file mode 100644 index 5fb3f12c7..000000000 --- a/vendor/open-telemetry/api/Trace/Propagation/TraceContextValidator.php +++ /dev/null @@ -1,31 +0,0 @@ -get(ContextKeys::span()) ?? self::getInvalid(); - } - - /** @inheritDoc */ - final public static function getCurrent(): SpanInterface - { - return self::fromContext(Context::getCurrent()); - } - - /** @inheritDoc */ - final public static function getInvalid(): SpanInterface - { - if (null === self::$invalidSpan) { - self::$invalidSpan = new NonRecordingSpan(SpanContext::getInvalid()); - } - - return self::$invalidSpan; - } - - /** @inheritDoc */ - final public static function wrap(SpanContextInterface $spanContext): SpanInterface - { - if (!$spanContext->isValid()) { - return self::getInvalid(); - } - - return new NonRecordingSpan($spanContext); - } - - /** @inheritDoc */ - final public function activate(): ScopeInterface - { - return Context::getCurrent()->withContextValue($this)->activate(); - } - - /** @inheritDoc */ - final public function storeInContext(ContextInterface $context): ContextInterface - { - return $context->with(ContextKeys::span(), $this); - } -} diff --git a/vendor/open-telemetry/api/Trace/SpanBuilderInterface.php b/vendor/open-telemetry/api/Trace/SpanBuilderInterface.php deleted file mode 100644 index 52070933a..000000000 --- a/vendor/open-telemetry/api/Trace/SpanBuilderInterface.php +++ /dev/null @@ -1,51 +0,0 @@ -isValid=false; - } - - $this->traceId = $traceId; - $this->spanId = $spanId; - $this->traceState = $traceState; - $this->isRemote = $isRemote; - $this->isSampled = ($traceFlags & TraceFlags::SAMPLED) === TraceFlags::SAMPLED; - $this->traceFlags = $traceFlags; - } - - public function getTraceId(): string - { - return $this->traceId; - } - - public function getTraceIdBinary(): string - { - return hex2bin($this->traceId); - } - - public function getSpanId(): string - { - return $this->spanId; - } - - public function getSpanIdBinary(): string - { - return hex2bin($this->spanId); - } - - public function getTraceState(): ?TraceStateInterface - { - return $this->traceState; - } - - public function isSampled(): bool - { - return $this->isSampled; - } - - public function isValid(): bool - { - return $this->isValid; - } - - public function isRemote(): bool - { - return $this->isRemote; - } - - public function getTraceFlags(): int - { - return $this->traceFlags; - } - - /** @inheritDoc */ - public static function createFromRemoteParent(string $traceId, string $spanId, int $traceFlags = TraceFlags::DEFAULT, ?TraceStateInterface $traceState = null): SpanContextInterface - { - return new self( - $traceId, - $spanId, - $traceFlags, - true, - $traceState, - ); - } - - /** @inheritDoc */ - public static function create(string $traceId, string $spanId, int $traceFlags = TraceFlags::DEFAULT, ?TraceStateInterface $traceState = null): SpanContextInterface - { - return new self( - $traceId, - $spanId, - $traceFlags, - false, - $traceState, - ); - } - - /** @inheritDoc */ - public static function getInvalid(): SpanContextInterface - { - if (null === self::$invalidContext) { - self::$invalidContext = self::create(SpanContextValidator::INVALID_TRACE, SpanContextValidator::INVALID_SPAN, 0); - } - - return self::$invalidContext; - } -} diff --git a/vendor/open-telemetry/api/Trace/SpanContextInterface.php b/vendor/open-telemetry/api/Trace/SpanContextInterface.php deleted file mode 100644 index d15bc5987..000000000 --- a/vendor/open-telemetry/api/Trace/SpanContextInterface.php +++ /dev/null @@ -1,28 +0,0 @@ - $attributes - */ - public function setAttributes(iterable $attributes): SpanInterface; - - /** - * @see https://github.com/open-telemetry/opentelemetry-specification/blob/v1.6.1/specification/trace/api.md#add-events - */ - public function addEvent(string $name, iterable $attributes = [], int $timestamp = null): SpanInterface; - - /** - * @see https://github.com/open-telemetry/opentelemetry-specification/blob/v1.6.1/specification/trace/api.md#record-exception - */ - public function recordException(Throwable $exception, iterable $attributes = []): SpanInterface; - - /** - * @see https://github.com/open-telemetry/opentelemetry-specification/blob/v1.6.1/specification/trace/api.md#updatename - * - * @param non-empty-string $name - */ - public function updateName(string $name): SpanInterface; - - /** - * @see https://github.com/open-telemetry/opentelemetry-specification/blob/v1.6.1/specification/trace/api.md#set-status - * - * @psalm-param StatusCode::STATUS_* $code - */ - public function setStatus(string $code, string $description = null): SpanInterface; - - /** - * @see https://github.com/open-telemetry/opentelemetry-specification/blob/v1.6.1/specification/trace/api.md#end - */ - public function end(int $endEpochNanos = null): void; -} diff --git a/vendor/open-telemetry/api/Trace/SpanKind.php b/vendor/open-telemetry/api/Trace/SpanKind.php deleted file mode 100644 index f44339e00..000000000 --- a/vendor/open-telemetry/api/Trace/SpanKind.php +++ /dev/null @@ -1,17 +0,0 @@ -traceState = $this->parse($rawTracestate); - } - - /** - * {@inheritdoc} - */ - public function with(string $key, string $value): TraceStateInterface - { - $clonedTracestate = clone $this; - - if ($this->validateKey($key) && $this->validateValue($value)) { - - /* - * Only one entry per key is allowed. In this case we need to overwrite the vendor entry - * upon reentry to the tracing system and ensure the updated entry is at the beginning of - * the list. This means we place it the back for now and it will be at the beginning once - * we reverse the order back during __toString(). - */ - if (array_key_exists($key, $clonedTracestate->traceState)) { - unset($clonedTracestate->traceState[$key]); - } - - // Add new or updated entry to the back of the list. - $clonedTracestate->traceState[$key] = $value; - } else { - self::logWarning('Invalid tracetrace key/value for: ' . $key); - } - - return $clonedTracestate; - } - - /** - * {@inheritdoc} - */ - public function without(string $key): TraceStateInterface - { - $clonedTracestate = clone $this; - - if ($key !== '') { - unset($clonedTracestate->traceState[$key]); - } - - return $clonedTracestate; - } - - /** - * {@inheritdoc} - */ - public function get(string $key): ?string - { - return $this->traceState[$key] ?? null; - } - - /** - * {@inheritdoc} - */ - public function getListMemberCount(): int - { - return count($this->traceState); - } - - /** - * {@inheritdoc} - */ - public function __toString(): string - { - if ($this->traceState === []) { - return ''; - } - $traceStateString=''; - foreach (array_reverse($this->traceState) as $k => $v) { - $traceStateString .=$k . self::LIST_MEMBER_KEY_VALUE_SPLITTER . $v . self::LIST_MEMBERS_SEPARATOR; - } - - return rtrim($traceStateString, ','); - } - - /** - * Parse the raw tracestate header into the TraceState object. Since new or updated entries must - * be added to the beginning of the list, the key-value pairs in the TraceState object will be - * stored in reverse order. This ensures new entries added to the TraceState object are at the - * beginning when we reverse the order back again while building the final tracestate header. - * - * Ex: - * tracestate = 'vendor1=value1,vendor2=value2' - * - * || - * \/ - * - * $this->tracestate = ['vendor2' => 'value2' ,'vendor1' => 'value1'] - * - */ - private function parse(string $rawTracestate): array - { - if (strlen($rawTracestate) > self::MAX_COMBINED_LENGTH) { - self::logWarning('tracestate discarded, exceeds max combined length: ' . self::MAX_COMBINED_LENGTH); - - return []; - } - $parsedTracestate = []; - $listMembers = explode(self::LIST_MEMBERS_SEPARATOR, $rawTracestate); - - if (count($listMembers) > self::MAX_LIST_MEMBERS) { - self::logWarning('tracestate discarded, too many members'); - - return []; - } - - foreach ($listMembers as $listMember) { - $vendor = explode(self::LIST_MEMBER_KEY_VALUE_SPLITTER, trim($listMember)); - - // There should only be one list-member per vendor separated by '=' - if (count($vendor) !== 2 || !$this->validateKey($vendor[0]) || !$this->validateValue($vendor[1])) { - self::logWarning('tracestate discarded, invalid member: ' . $listMember); - - return []; - } - $parsedTracestate[$vendor[0]] = $vendor[1]; - } - - /* - * Reversing the tracestate ensures the new entries added to the TraceState object are at - * the beginning when we reverse it back during __toString(). - */ - return array_reverse($parsedTracestate); - } - - /** - * The Key is opaque string that is an identifier for a vendor. It can be up - * to 256 characters and MUST begin with a lowercase letter or a digit, and can - * only contain lowercase letters (a-z), digits (0-9), underscores (_), dashes (-), - * asterisks (*), and forward slashes (/). For multi-tenant vendor scenarios, an at - * sign (@) can be used to prefix the vendor name. Vendors SHOULD set the tenant ID - * at the beginning of the key. - * - * @see https://www.w3.org/TR/trace-context/#key - */ - private function validateKey(string $key): bool - { - return preg_match(self::VALID_KEY_REGEX, $key) !== 0; - } - - /** - * The value is an opaque string containing up to 256 printable ASCII [RFC0020] - * characters (i.e., the range 0x20 to 0x7E) except comma (,) and (=). Note that - * this also excludes tabs, newlines, carriage returns, etc. - * - * @see https://www.w3.org/TR/trace-context/#value - */ - private function validateValue(string $key): bool - { - return (preg_match(self::VALID_VALUE_BASE_REGEX, $key) !== 0) - && (preg_match(self::INVALID_VALUE_COMMA_EQUAL_REGEX, $key) === 0); - } -} diff --git a/vendor/open-telemetry/api/Trace/TraceStateInterface.php b/vendor/open-telemetry/api/Trace/TraceStateInterface.php deleted file mode 100644 index 79d4e0299..000000000 --- a/vendor/open-telemetry/api/Trace/TraceStateInterface.php +++ /dev/null @@ -1,61 +0,0 @@ - $args arguments to provide to the closure - * @return R result of the closure invocation - * - * @phpstan-ignore-next-line - */ -function trace(SpanInterface $span, Closure $closure, iterable $args = []) -{ - $s = $span; - $c = $closure; - $a = $args; - unset($span, $closure, $args); - - $scope = $s->activate(); - - try { - /** @psalm-suppress InvalidArgument */ - return $c(...$a, ...($a = [])); - } catch (Throwable $e) { - $s->setStatus(StatusCode::STATUS_ERROR, $e->getMessage()); - $s->recordException($e, ['exception.escaped' => true]); - - throw $e; - } finally { - $scope->detach(); - $s->end(); - } -} diff --git a/vendor/open-telemetry/api/composer.json b/vendor/open-telemetry/api/composer.json deleted file mode 100644 index 39acaec47..000000000 --- a/vendor/open-telemetry/api/composer.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "name": "open-telemetry/api", - "description": "API for OpenTelemetry PHP.", - "keywords": ["opentelemetry", "otel", "metrics", "tracing", "logging", "apm", "api"], - "type": "library", - "support": { - "issues": "https://github.com/open-telemetry/opentelemetry-php/issues", - "source": "https://github.com/open-telemetry/opentelemetry-php", - "docs": "https://opentelemetry.io/docs/php", - "chat": "https://app.slack.com/client/T08PSQ7BQ/C01NFPCV44V" - }, - "license": "Apache-2.0", - "authors": [ - { - "name": "opentelemetry-php contributors", - "homepage": "https://github.com/open-telemetry/opentelemetry-php/graphs/contributors" - } - ], - "require": { - "php": "^7.4 || ^8.0", - "open-telemetry/context": "^1.0", - "psr/log": "^1.1|^2.0|^3.0", - "symfony/polyfill-php80": "^1.26", - "symfony/polyfill-php81": "^1.26", - "symfony/polyfill-php82": "^1.26" - }, - "autoload": { - "psr-4": { - "OpenTelemetry\\API\\": "." - }, - "files": [ - "Trace/functions.php" - ] - }, - "extra": { - "branch-alias": { - "dev-main": "1.0.x-dev" - } - } -} diff --git a/vendor/open-telemetry/context/Context.php b/vendor/open-telemetry/context/Context.php deleted file mode 100644 index 32b0162a3..000000000 --- a/vendor/open-telemetry/context/Context.php +++ /dev/null @@ -1,131 +0,0 @@ - */ - private array $context = []; - /** @var array */ - private array $contextKeys = []; - - private function __construct() - { - self::$spanContextKey = ContextKeys::span(); - } - - public static function createKey(string $key): ContextKeyInterface - { - return new ContextKey($key); - } - - /** - * @param ContextStorageInterface&ExecutionContextAwareInterface $storage - */ - public static function setStorage(ContextStorageInterface $storage): void - { - self::$storage = $storage; - } - - /** - * @return ContextStorageInterface&ExecutionContextAwareInterface - */ - public static function storage(): ContextStorageInterface - { - /** @psalm-suppress RedundantPropertyInitializationCheck */ - return self::$storage ??= new ContextStorage(); - } - - /** - * @param ContextInterface|false|null $context - * - * @internal OpenTelemetry - */ - public static function resolve($context, ?ContextStorageInterface $contextStorage = null): ContextInterface - { - return $context - ?? ($contextStorage ?? self::storage())->current() - ?: self::getRoot(); - } - - /** - * @internal - */ - public static function getRoot(): ContextInterface - { - static $empty; - - return $empty ??= new self(); - } - - public static function getCurrent(): ContextInterface - { - return self::storage()->current(); - } - - public function activate(): ScopeInterface - { - $scope = self::storage()->attach($this); - /** @psalm-suppress RedundantCondition */ - assert((bool) $scope = new DebugScope($scope)); - - return $scope; - } - - public function withContextValue(ImplicitContextKeyedInterface $value): ContextInterface - { - return $value->storeInContext($this); - } - - public function with(ContextKeyInterface $key, $value): self - { - if ($this->get($key) === $value) { - return $this; - } - - $self = clone $this; - - if ($key === self::$spanContextKey) { - $self->span = $value; // @phan-suppress-current-line PhanTypeMismatchPropertyReal - - return $self; - } - - $id = spl_object_id($key); - if ($value !== null) { - $self->context[$id] = $value; - $self->contextKeys[$id] ??= $key; - } else { - unset( - $self->context[$id], - $self->contextKeys[$id], - ); - } - - return $self; - } - - public function get(ContextKeyInterface $key) - { - if ($key === self::$spanContextKey) { - /** @psalm-suppress InvalidReturnStatement */ - return $this->span; - } - - return $this->context[spl_object_id($key)] ?? null; - } -} diff --git a/vendor/open-telemetry/context/ContextInterface.php b/vendor/open-telemetry/context/ContextInterface.php deleted file mode 100644 index 17a3fb9a2..000000000 --- a/vendor/open-telemetry/context/ContextInterface.php +++ /dev/null @@ -1,86 +0,0 @@ -activate(); - * try { - * // ... - * } finally { - * $scope->detach(); - * } - * ``` - * - * @return ScopeInterface scope to detach the context and restore the previous - * context - * - * @see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/context/README.md#attach-context - */ - public function activate(): ScopeInterface; - - /** - * Returns a context with the given key set to the given value. - * - * @template T - * @param ContextKeyInterface $key key to set - * @param T|null $value value to set - * @return ContextInterface a context with the given key set to `$value` - * - * @see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/context/README.md#set-value - */ - public function with(ContextKeyInterface $key, $value): ContextInterface; - - /** - * Returns a context with the given value set. - * - * @param ImplicitContextKeyedInterface $value value to set - * @return ContextInterface a context with the given `$value` - * - * @see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/context/README.md#set-value - */ - public function withContextValue(ImplicitContextKeyedInterface $value): ContextInterface; - - /** - * Returns the value assigned to the given key. - * - * @template T - * @param ContextKeyInterface $key key to get - * @return T|null value assigned to `$key`, or null if no such value exists - * - * @see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/context/README.md#get-value - */ - public function get(ContextKeyInterface $key); -} diff --git a/vendor/open-telemetry/context/ContextKey.php b/vendor/open-telemetry/context/ContextKey.php deleted file mode 100644 index f7450249e..000000000 --- a/vendor/open-telemetry/context/ContextKey.php +++ /dev/null @@ -1,23 +0,0 @@ -name = $name; - } - - public function name(): ?string - { - return $this->name; - } -} diff --git a/vendor/open-telemetry/context/ContextKeyInterface.php b/vendor/open-telemetry/context/ContextKeyInterface.php deleted file mode 100644 index b3ad00814..000000000 --- a/vendor/open-telemetry/context/ContextKeyInterface.php +++ /dev/null @@ -1,12 +0,0 @@ - */ - private array $forks = []; - - public function __construct() - { - $this->current = $this->main = new ContextStorageHead($this); - } - - public function fork($id): void - { - $this->forks[$id] = clone $this->current; - } - - public function switch($id): void - { - $this->current = $this->forks[$id] ?? $this->main; - } - - public function destroy($id): void - { - unset($this->forks[$id]); - } - - public function scope(): ?ContextStorageScopeInterface - { - return ($this->current->node->head ?? null) === $this->current - ? $this->current->node - : null; - } - - public function current(): ContextInterface - { - return $this->current->node->context ?? Context::getRoot(); - } - - public function attach(ContextInterface $context): ContextStorageScopeInterface - { - return $this->current->node = new ContextStorageNode($context, $this->current, $this->current->node); - } - - private function __clone() - { - } -} diff --git a/vendor/open-telemetry/context/ContextStorageHead.php b/vendor/open-telemetry/context/ContextStorageHead.php deleted file mode 100644 index 3cc4d7181..000000000 --- a/vendor/open-telemetry/context/ContextStorageHead.php +++ /dev/null @@ -1,19 +0,0 @@ -storage = $storage; - } -} diff --git a/vendor/open-telemetry/context/ContextStorageInterface.php b/vendor/open-telemetry/context/ContextStorageInterface.php deleted file mode 100644 index e5a105074..000000000 --- a/vendor/open-telemetry/context/ContextStorageInterface.php +++ /dev/null @@ -1,32 +0,0 @@ -context = $context; - $this->head = $head; - $this->previous = $previous; - } - - public function offsetExists($offset): bool - { - return isset($this->localStorage[$offset]); - } - - /** - * @phan-suppress PhanUndeclaredClassAttribute - */ - #[\ReturnTypeWillChange] - public function offsetGet($offset) - { - return $this->localStorage[$offset]; - } - - public function offsetSet($offset, $value): void - { - $this->localStorage[$offset] = $value; - } - - public function offsetUnset($offset): void - { - unset($this->localStorage[$offset]); - } - - public function context(): ContextInterface - { - return $this->context; - } - - public function detach(): int - { - $flags = 0; - if ($this->head !== $this->head->storage->current) { - $flags |= ScopeInterface::INACTIVE; - } - - if ($this === $this->head->node) { - assert($this->previous !== $this); - $this->head->node = $this->previous; - $this->previous = $this; - - return $flags; - } - - if ($this->previous === $this) { - return $flags | ScopeInterface::DETACHED; - } - - assert($this->head->node !== null); - for ($n = $this->head->node, $depth = 1; - $n->previous !== $this; - $n = $n->previous, $depth++) { - assert($n->previous !== null); - } - $n->previous = $this->previous; - $this->previous = $this; - - return $flags | ScopeInterface::MISMATCH | $depth; - } - - private function __clone() - { - } -} diff --git a/vendor/open-telemetry/context/ContextStorageScopeInterface.php b/vendor/open-telemetry/context/ContextStorageScopeInterface.php deleted file mode 100644 index 5fe58d6eb..000000000 --- a/vendor/open-telemetry/context/ContextStorageScopeInterface.php +++ /dev/null @@ -1,22 +0,0 @@ -scope = $node; - $this->scope[self::DEBUG_TRACE_CREATE] = debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS); - } - - public function detach(): int - { - $this->scope[self::DEBUG_TRACE_DETACH] ??= debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS); - - $flags = $this->scope->detach(); - - if (($flags & ScopeInterface::DETACHED) !== 0) { - trigger_error(sprintf( - 'Scope: unexpected call to Scope::detach() for scope #%d, scope was already detached %s', - spl_object_id($this), - self::formatBacktrace($this->scope[self::DEBUG_TRACE_DETACH]), - )); - } elseif (($flags & ScopeInterface::MISMATCH) !== 0) { - trigger_error(sprintf( - 'Scope: unexpected call to Scope::detach() for scope #%d, scope successfully detached but another scope should have been detached first', - spl_object_id($this), - )); - } elseif (($flags & ScopeInterface::INACTIVE) !== 0) { - trigger_error(sprintf( - 'Scope: unexpected call to Scope::detach() for scope #%d, scope successfully detached from different execution context', - spl_object_id($this), - )); - } - - return $flags; - } - - public function __destruct() - { - if (!isset($this->scope[self::DEBUG_TRACE_DETACH])) { - trigger_error(sprintf( - 'Scope: missing call to Scope::detach() for scope #%d, created %s', - spl_object_id($this->scope), - self::formatBacktrace($this->scope[self::DEBUG_TRACE_CREATE]), - )); - } - } - - private static function formatBacktrace(array $trace): string - { - $s = ''; - for ($i = 0, $n = count($trace) + 1; ++$i < $n;) { - $s .= "\n\t"; - $s .= 'at '; - if (isset($trace[$i]['class'])) { - $s .= strtr($trace[$i]['class'], ['\\' => '.']); - $s .= '.'; - } - $s .= strtr($trace[$i]['function'] ?? '{main}', ['\\' => '.']); - $s .= '('; - if (isset($trace[$i - 1]['file'])) { - $s .= basename($trace[$i - 1]['file']); - if (isset($trace[$i - 1]['line'])) { - $s .= ':'; - $s .= $trace[$i - 1]['line']; - } - } else { - $s .= 'Unknown Source'; - } - $s .= ')'; - } - - return $s . "\n"; - } -} diff --git a/vendor/open-telemetry/context/ExecutionContextAwareInterface.php b/vendor/open-telemetry/context/ExecutionContextAwareInterface.php deleted file mode 100644 index 3a955bfae..000000000 --- a/vendor/open-telemetry/context/ExecutionContextAwareInterface.php +++ /dev/null @@ -1,23 +0,0 @@ -storage = $storage; - } - - public function fork($id): void - { - $this->storage->fork($id); - } - - public function switch($id): void - { - $this->storage->switch($id); - } - - public function destroy($id): void - { - $this->storage->destroy($id); - } - - public function scope(): ?ContextStorageScopeInterface - { - $this->checkFiberMismatch(); - - if (($scope = $this->storage->scope()) === null) { - return null; - } - - return new FiberBoundContextStorageScope($scope); - } - - public function current(): ContextInterface - { - $this->checkFiberMismatch(); - - return $this->storage->current(); - } - - public function attach(ContextInterface $context): ContextStorageScopeInterface - { - $scope = $this->storage->attach($context); - assert(class_exists(Fiber::class, false)); - $scope[Fiber::class] = Fiber::getCurrent(); - - return new FiberBoundContextStorageScope($scope); - } - - private function checkFiberMismatch(): void - { - $scope = $this->storage->scope(); - assert(class_exists(Fiber::class, false)); - if ($scope && $scope[Fiber::class] !== Fiber::getCurrent()) { - trigger_error('Fiber context switching not supported', E_USER_WARNING); - } - } -} diff --git a/vendor/open-telemetry/context/FiberBoundContextStorageScope.php b/vendor/open-telemetry/context/FiberBoundContextStorageScope.php deleted file mode 100644 index 647552244..000000000 --- a/vendor/open-telemetry/context/FiberBoundContextStorageScope.php +++ /dev/null @@ -1,67 +0,0 @@ -scope = $scope; - } - - public function offsetExists($offset): bool - { - return $this->scope->offsetExists($offset); - } - - /** - * @phan-suppress PhanUndeclaredClassAttribute - */ - #[\ReturnTypeWillChange] - public function offsetGet($offset) - { - return $this->scope->offsetGet($offset); - } - - public function offsetSet($offset, $value): void - { - $this->scope->offsetSet($offset, $value); - } - - public function offsetUnset($offset): void - { - $this->scope->offsetUnset($offset); - } - - public function context(): ContextInterface - { - return $this->scope->context(); - } - - public function detach(): int - { - $flags = $this->scope->detach(); - assert(class_exists(Fiber::class, false)); - if ($this->scope[Fiber::class] !== Fiber::getCurrent()) { - $flags |= ScopeInterface::INACTIVE; - } - - return $flags; - } -} diff --git a/vendor/open-telemetry/context/ImplicitContextKeyedInterface.php b/vendor/open-telemetry/context/ImplicitContextKeyedInterface.php deleted file mode 100644 index 0af93122c..000000000 --- a/vendor/open-telemetry/context/ImplicitContextKeyedInterface.php +++ /dev/null @@ -1,32 +0,0 @@ -isSupportedCarrier($carrier)) { - $keys = []; - foreach ($carrier as $key => $_) { - $keys[] = (string) $key; - } - - return $keys; - } - - throw new InvalidArgumentException( - sprintf( - 'Unsupported carrier type: %s.', - is_object($carrier) ? get_class($carrier) : gettype($carrier), - ) - ); - } - - /** {@inheritdoc} */ - public function get($carrier, string $key): ?string - { - if ($this->isSupportedCarrier($carrier)) { - $value = $carrier[$this->resolveKey($carrier, $key)] ?? null; - if (is_array($value) && $value) { - $value = $value[array_key_first($value)]; - } - - return is_string($value) - ? $value - : null; - } - - throw new InvalidArgumentException( - sprintf( - 'Unsupported carrier type: %s. Unable to get value associated with key:%s', - is_object($carrier) ? get_class($carrier) : gettype($carrier), - $key - ) - ); - } - - /** {@inheritdoc} */ - public function set(&$carrier, string $key, string $value): void - { - if ($key === '') { - throw new InvalidArgumentException('Unable to set value with an empty key'); - } - if ($this->isSupportedCarrier($carrier)) { - if (($r = $this->resolveKey($carrier, $key)) !== $key) { - unset($carrier[$r]); - } - - $carrier[$key] = $value; - - return; - } - - throw new InvalidArgumentException( - sprintf( - 'Unsupported carrier type: %s. Unable to set value associated with key:%s', - is_object($carrier) ? get_class($carrier) : gettype($carrier), - $key - ) - ); - } - - private function isSupportedCarrier($carrier): bool - { - return is_array($carrier) || $carrier instanceof ArrayAccess && $carrier instanceof Traversable; - } - - private function resolveKey($carrier, string $key): string - { - if (isset($carrier[$key])) { - return $key; - } - - foreach ($carrier as $k => $_) { - $k = (string) $k; - if (strcasecmp($k, $key) === 0) { - return $k; - } - } - - return $key; - } -} diff --git a/vendor/open-telemetry/context/Propagation/MultiTextMapPropagator.php b/vendor/open-telemetry/context/Propagation/MultiTextMapPropagator.php deleted file mode 100644 index 075fe98fe..000000000 --- a/vendor/open-telemetry/context/Propagation/MultiTextMapPropagator.php +++ /dev/null @@ -1,83 +0,0 @@ - - */ - private array $propagators = []; - - /** - * @readonly - * - * @var list - */ - private array $fields; - - /** - * @no-named-arguments - * - * @param list $propagators - */ - public function __construct(array $propagators) - { - $this->propagators = $propagators; - $this->fields = $this->extractFields($propagators); - } - - public function fields(): array - { - return $this->fields; - } - - public function inject(&$carrier, PropagationSetterInterface $setter = null, ContextInterface $context = null): void - { - foreach ($this->propagators as $propagator) { - $propagator->inject($carrier, $setter, $context); - } - } - - public function extract($carrier, PropagationGetterInterface $getter = null, ContextInterface $context = null): ContextInterface - { - $context ??= Context::getCurrent(); - - foreach ($this->propagators as $propagator) { - $context = $propagator->extract($carrier, $getter, $context); - } - - return $context; - } - - /** - * @param list $propagators - * @return list - */ - private function extractFields(array $propagators): array - { - return array_values( - array_unique( - // Phan seems to struggle here with the variadic argument - // @phan-suppress-next-line PhanParamTooFewInternalUnpack - array_merge( - ...array_map( - static fn (TextMapPropagatorInterface $propagator) => $propagator->fields(), - $propagators - ) - ) - ) - ); - } -} diff --git a/vendor/open-telemetry/context/Propagation/NoopTextMapPropagator.php b/vendor/open-telemetry/context/Propagation/NoopTextMapPropagator.php deleted file mode 100644 index c408cfc79..000000000 --- a/vendor/open-telemetry/context/Propagation/NoopTextMapPropagator.php +++ /dev/null @@ -1,36 +0,0 @@ - - */ - public function keys($carrier): array; - - /** - * Gets the value of a given key from a carrier. - */ - public function get($carrier, string $key) : ?string; -} diff --git a/vendor/open-telemetry/context/Propagation/PropagationSetterInterface.php b/vendor/open-telemetry/context/Propagation/PropagationSetterInterface.php deleted file mode 100644 index 75e205628..000000000 --- a/vendor/open-telemetry/context/Propagation/PropagationSetterInterface.php +++ /dev/null @@ -1,16 +0,0 @@ -getter = $getter; - } - - public function keys($carrier): array - { - return $this->getter->keys($carrier); - } - - public function get($carrier, string $key): ?string - { - $value = $this->getter->get($carrier, $key); - if ($value === null) { - return null; - } - - return preg_replace( - [self::SERVER_CONCAT_HEADERS_REGEX, self::TRAILING_LEADING_SEPARATOR_REGEX], - [self::LIST_MEMBERS_SEPARATOR], - $value, - ); - } -} diff --git a/vendor/open-telemetry/context/Propagation/TextMapPropagatorInterface.php b/vendor/open-telemetry/context/Propagation/TextMapPropagatorInterface.php deleted file mode 100644 index fdf2d5141..000000000 --- a/vendor/open-telemetry/context/Propagation/TextMapPropagatorInterface.php +++ /dev/null @@ -1,40 +0,0 @@ - - */ - public function fields() : array; - - /** - * Injects specific values from the provided {@see ContextInterface} into the provided carrier - * via an {@see PropagationSetterInterface}. - * - * @see https://github.com/open-telemetry/opentelemetry-specification/blob/v1.6.1/specification/context/api-propagators.md#textmap-inject - * - * @param mixed $carrier - */ - public function inject(&$carrier, PropagationSetterInterface $setter = null, ContextInterface $context = null): void; - - /** - * Extracts specific values from the provided carrier into the provided {@see ContextInterface} - * via an {@see PropagationGetterInterface}. - * - * @see https://github.com/open-telemetry/opentelemetry-specification/blob/v1.6.1/specification/context/api-propagators.md#textmap-extract - */ - public function extract($carrier, PropagationGetterInterface $getter = null, ContextInterface $context = null): ContextInterface; -} diff --git a/vendor/open-telemetry/context/README.md b/vendor/open-telemetry/context/README.md deleted file mode 100644 index 4dfe0e23f..000000000 --- a/vendor/open-telemetry/context/README.md +++ /dev/null @@ -1,63 +0,0 @@ -[![Releases](https://img.shields.io/badge/releases-purple)](https://github.com/opentelemetry-php/context/releases) -[![Source](https://img.shields.io/badge/source-context-green)](https://github.com/open-telemetry/opentelemetry-php/tree/main/src/Context) -[![Mirror](https://img.shields.io/badge/mirror-opentelemetry--php:context-blue)](https://github.com/opentelemetry-php/context) -[![Latest Version](http://poser.pugx.org/open-telemetry/context/v/unstable)](https://packagist.org/packages/open-telemetry/context/) -[![Stable](http://poser.pugx.org/open-telemetry/context/v/stable)](https://packagist.org/packages/open-telemetry/context/) - -# OpenTelemetry Context - -Immutable execution scoped propagation mechanism, for further details see [opentelemetry-specification][1]. - -## Installation - -```shell -composer require open-telemetry/context -``` - -## Usage - -### Implicit propagation - -```php -$context = Context::getCurrent(); -// modify context -$scope = $context->activate(); -try { - // run within new context -} finally { - $scope->detach(); -} -``` - -It is recommended to use a `try-finally` statement after `::activate()` to ensure that the created scope is properly `::detach()`ed. - -## Async applications - -### Fiber support - -Requires `PHP >= 8.1`, an NTS build, `ext-ffi`, and setting the environment variable `OTEL_PHP_FIBERS_ENABLED` to a truthy value. Additionally `vendor/autoload.php` has to be preloaded for non-CLI SAPIs if [`ffi.enable`](https://www.php.net/manual/en/ffi.configuration.php#ini.ffi.enable) is set to `preload`. - -### Event loops - -Event loops have to restore the original context on callback execution. A basic implementation could look like the following, though implementations should avoid keeping unnecessary references to arguments if possible: - -```php -function bindContext(Closure $closure): Closure { - $context = Context::getCurrent(); - return static function (mixed ...$args) use ($closure, $context): mixed { - $scope = $context->activate(); - try { - return $closure(...$args); - } finally { - $scope->detach(); - } - }; -} -``` - -## Contributing - -This repository is a read-only git subtree split. -To contribute, please see the main [OpenTelemetry PHP monorepo](https://github.com/open-telemetry/opentelemetry-php). - -[1]: https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/context/README.md#context diff --git a/vendor/open-telemetry/context/ScopeInterface.php b/vendor/open-telemetry/context/ScopeInterface.php deleted file mode 100644 index 05319b8fc..000000000 --- a/vendor/open-telemetry/context/ScopeInterface.php +++ /dev/null @@ -1,32 +0,0 @@ -= 8.1, an NTS build, and the FFI extension'); - - return false; - } - - try { - $fibers = FFI::scope('OTEL_ZEND_OBSERVER_FIBER'); - } catch (FFI\Exception $e) { - try { - $fibers = FFI::load(__DIR__ . '/fiber/zend_observer_fiber.h'); - } catch (FFI\Exception $e) { - trigger_error(sprintf('Context: Fiber context switching not supported, %s', $e->getMessage())); - - return false; - } - } - - $fibers->zend_observer_fiber_init_register(static fn (int $initializing) => Context::storage()->fork($initializing)); //@phpstan-ignore-line - $fibers->zend_observer_fiber_switch_register(static fn (int $from, int $to) => Context::storage()->switch($to)); //@phpstan-ignore-line - $fibers->zend_observer_fiber_destroy_register(static fn (int $destroying) => Context::storage()->destroy($destroying)); //@phpstan-ignore-line - - return true; - } -} diff --git a/vendor/open-telemetry/context/composer.json b/vendor/open-telemetry/context/composer.json deleted file mode 100644 index 348b57f73..000000000 --- a/vendor/open-telemetry/context/composer.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "name": "open-telemetry/context", - "description": "Context implementation for OpenTelemetry PHP.", - "keywords": ["opentelemetry", "otel", "context"], - "type": "library", - "support": { - "issues": "https://github.com/open-telemetry/opentelemetry-php/issues", - "source": "https://github.com/open-telemetry/opentelemetry-php", - "docs": "https://opentelemetry.io/docs/php", - "chat": "https://app.slack.com/client/T08PSQ7BQ/C01NFPCV44V" - }, - "license": "Apache-2.0", - "authors": [ - { - "name": "opentelemetry-php contributors", - "homepage": "https://github.com/open-telemetry/opentelemetry-php/graphs/contributors" - } - ], - "require": { - "php": "^7.4 || ^8.0", - "symfony/polyfill-php80": "^1.26", - "symfony/polyfill-php81": "^1.26", - "symfony/polyfill-php82": "^1.26" - }, - "autoload": { - "psr-4": { - "OpenTelemetry\\Context\\": "." - }, - "files": [ - "fiber/initialize_fiber_handler.php" - ] - }, - "suggest": { - "ext-ffi": "To allow context switching in Fibers" - }, - "extra": { - "branch-alias": { - "dev-main": "1.0.x-dev" - } - } -} diff --git a/vendor/open-telemetry/context/fiber/initialize_fiber_handler.php b/vendor/open-telemetry/context/fiber/initialize_fiber_handler.php deleted file mode 100644 index b9c706395..000000000 --- a/vendor/open-telemetry/context/fiber/initialize_fiber_handler.php +++ /dev/null @@ -1,20 +0,0 @@ -getValues()[] = self::convertAnyValue($element); - } - $result->setArrayValue($values); - } else { - $values = new KeyValueList(); - foreach ($value as $key => $element) { - /** @psalm-suppress InvalidArgument */ - $values->getValues()[] = new KeyValue(['key' => $key, 'value' => self::convertAnyValue($element)]); - } - $result->setKvlistValue($values); - } - } - if (is_int($value)) { - $result->setIntValue($value); - } - if (is_bool($value)) { - $result->setBoolValue($value); - } - if (is_float($value)) { - $result->setDoubleValue($value); - } - if (is_string($value)) { - $result->setStringValue($value); - } - - return $result; - } - - /** - * Test whether an array is simple (non-KeyValue) - */ - public static function isSimpleArray(array $value): bool - { - return $value === [] || array_key_first($value) === 0; - } -} diff --git a/vendor/open-telemetry/exporter-otlp/ContentTypes.php b/vendor/open-telemetry/exporter-otlp/ContentTypes.php deleted file mode 100644 index 8ac70d54a..000000000 --- a/vendor/open-telemetry/exporter-otlp/ContentTypes.php +++ /dev/null @@ -1,12 +0,0 @@ -httpFactoryResolver = $httpFactoryResolver ?? MessageFactoryResolver::create(); - } - - public static function create(?FactoryResolverInterface $httpFactoryResolver = null): self - { - return new self($httpFactoryResolver); - } - - public function resolve(string $endpoint, string $signal): UriInterface - { - $components = self::parseEndpoint($endpoint); - - return self::addPort( - self::addUserInfo( - $this->createDefaultUri($components, $signal), - $components - ), - $components - ); - } - - public function resolveToString(string $endpoint, string $signal): string - { - return (string) $this->resolve($endpoint, $signal); - } - - private function createUri(): UriInterface - { - return $this->httpFactoryResolver->resolveUriFactory() - ->createUri(); - } - - private function createDefaultUri(array $components, string $signal): UriInterface - { - if (isset($components[self::SCHEME_ATTRIBUTE])) { - self::validateScheme($components[self::SCHEME_ATTRIBUTE]); - } - - return $this->createUri() - ->withScheme($components[self::SCHEME_ATTRIBUTE] ?? self::DEFAULT_SCHEME) - ->withPath(self::resolvePath($components[self::PATH_ATTRIBUTE] ?? self::ROOT_PATH, $signal)) - ->withHost($components[self::HOST_ATTRIBUTE]); - } - - private static function validateScheme(string $protocol): void - { - if (!in_array($protocol, HttpEndpointResolverInterface::VALID_SCHEMES, true)) { - throw new InvalidArgumentException(sprintf( - 'Expected protocol to be http or https, given: "%s"', - $protocol - )); - } - } - - private static function validateSignal(string $signal): void - { - if (!in_array($signal, Signals::SIGNALS)) { - throw new InvalidArgumentException(sprintf( - 'Signal must be one of "%s". Given "%s"', - implode(', ', Signals::SIGNALS), - $signal - )); - } - } - - private static function parseEndpoint(string $endpoint): array - { - $result = parse_url($endpoint); - - if (!is_array($result) || !isset($result[self::HOST_ATTRIBUTE])) { - throw new InvalidArgumentException(sprintf( - 'Failed to parse endpoint "%s"', - $endpoint - )); - } - - return $result; - } - - private static function addUserInfo(UriInterface $uri, array $components): UriInterface - { - if (isset($components[self::USER_ATTRIBUTE])) { - $uri = $uri->withUserInfo( - $components[self::USER_ATTRIBUTE], - $components[self::PASS_ATTRIBUTE] ?? null - ); - } - - return $uri; - } - - private static function addPort(UriInterface $uri, array $components): UriInterface - { - if (isset($components[self::PORT_ATTRIBUTE])) { - $uri = $uri->withPort( - $components[self::PORT_ATTRIBUTE] - ); - } - - return $uri; - } - - private static function resolvePath(string $path, string $signal): string - { - self::validateSignal($signal); - - return str_replace('//', '/', sprintf('%s/%s', $path, self::getDefaultPath($signal))); - } - - private static function getDefaultPath(string $signal): string - { - return HttpEndpointResolverInterface::DEFAULT_PATHS[$signal]; - } -} diff --git a/vendor/open-telemetry/exporter-otlp/HttpEndpointResolverInterface.php b/vendor/open-telemetry/exporter-otlp/HttpEndpointResolverInterface.php deleted file mode 100644 index fe165bd8a..000000000 --- a/vendor/open-telemetry/exporter-otlp/HttpEndpointResolverInterface.php +++ /dev/null @@ -1,28 +0,0 @@ - self::TRACE_DEFAULT_PATH, - Signals::METRICS => self::METRICS_DEFAULT_PATH, - Signals::LOGS => self::LOGS_DEFAULT_PATH, - ]; - public const VALID_SCHEMES = [ - 'http', - 'https', - ]; - - public function resolve(string $endpoint, string $signal): UriInterface; - - public function resolveToString(string $endpoint, string $signal): string; -} diff --git a/vendor/open-telemetry/exporter-otlp/LogsConverter.php b/vendor/open-telemetry/exporter-otlp/LogsConverter.php deleted file mode 100644 index 1da53ad1f..000000000 --- a/vendor/open-telemetry/exporter-otlp/LogsConverter.php +++ /dev/null @@ -1,142 +0,0 @@ -serializer = $serializer ?? ProtobufSerializer::getDefault(); - } - - /** - * @param iterable $logs - * @psalm-suppress InvalidArgument - */ - public function convert(iterable $logs): ExportLogsServiceRequest - { - $pExportLogsServiceRequest = new ExportLogsServiceRequest(); - $scopeLogs = []; - $resourceLogs = []; - $resourceCache = []; - $scopeCache = []; - - foreach ($logs as $log) { - $resource = $log->getResource(); - $instrumentationScope = $log->getInstrumentationScope(); - - $resourceId = $resourceCache[spl_object_id($resource)] ??= serialize([ - $resource->getSchemaUrl(), - $resource->getAttributes()->toArray(), - $resource->getAttributes()->getDroppedAttributesCount(), - ]); - $instrumentationScopeId = $scopeCache[spl_object_id($instrumentationScope)] ??= serialize([ - $instrumentationScope->getName(), - $instrumentationScope->getVersion(), - $instrumentationScope->getSchemaUrl(), - $instrumentationScope->getAttributes()->toArray(), - $instrumentationScope->getAttributes()->getDroppedAttributesCount(), - ]); - - if (($pResourceLogs = $resourceLogs[$resourceId] ?? null) === null) { - /** @psalm-suppress InvalidArgument */ - $pExportLogsServiceRequest->getResourceLogs()[] - = $resourceLogs[$resourceId] - = $pResourceLogs - = $this->convertResourceLogs($resource); - } - - if (($pScopeLogs = $scopeLogs[$resourceId][$instrumentationScopeId] ?? null) === null) { - $pResourceLogs->getScopeLogs()[] - = $scopeLogs[$resourceId][$instrumentationScopeId] - = $pScopeLogs - = $this->convertInstrumentationScope($instrumentationScope); - } - - $pScopeLogs->getLogRecords()[] = $this->convertLogRecord($log); - } - - return $pExportLogsServiceRequest; - } - - private function convertLogRecord(ReadableLogRecord $record): LogRecord - { - $pLogRecord = new LogRecord(); - $pLogRecord->setBody(AttributesConverter::convertAnyValue($record->getBody())); - $pLogRecord->setTimeUnixNano($record->getTimestamp() ?? 0); - $pLogRecord->setObservedTimeUnixNano($record->getObservedTimestamp() ?? 0); - $spanContext = $record->getSpanContext(); - if ($spanContext !== null && $spanContext->isValid()) { - $pLogRecord->setTraceId($this->serializer->serializeTraceId($spanContext->getTraceIdBinary())); - $pLogRecord->setSpanId($this->serializer->serializeSpanId($spanContext->getSpanIdBinary())); - $pLogRecord->setFlags($spanContext->getTraceFlags()); - } - $severityNumber = $record->getSeverityNumber(); - if ($severityNumber !== null) { - $pLogRecord->setSeverityNumber($severityNumber); - } - $severityText = $record->getSeverityText(); - if ($severityText !== null) { - $pLogRecord->setSeverityText($severityText); - } - $this->setAttributes($pLogRecord, $record->getAttributes()); - $pLogRecord->setDroppedAttributesCount($record->getAttributes()->getDroppedAttributesCount()); - - return $pLogRecord; - } - - private function convertInstrumentationScope(InstrumentationScopeInterface $instrumentationScope): ScopeLogs - { - $pScopeLogs = new ScopeLogs(); - $pInstrumentationScope = new InstrumentationScope(); - $pInstrumentationScope->setName($instrumentationScope->getName()); - $pInstrumentationScope->setVersion((string) $instrumentationScope->getVersion()); - $this->setAttributes($pInstrumentationScope, $instrumentationScope->getAttributes()); - $pInstrumentationScope->setDroppedAttributesCount($instrumentationScope->getAttributes()->getDroppedAttributesCount()); - $pScopeLogs->setScope($pInstrumentationScope); - $pScopeLogs->setSchemaUrl((string) $instrumentationScope->getSchemaUrl()); - - return $pScopeLogs; - } - - private function convertResourceLogs(ResourceInfo $resource): ResourceLogs - { - $pResourceLogs = new ResourceLogs(); - $pResource = new Resource_(); - $this->setAttributes($pResource, $resource->getAttributes()); - $pResource->setDroppedAttributesCount($resource->getAttributes()->getDroppedAttributesCount()); - $pResourceLogs->setResource($pResource); - - return $pResourceLogs; - } - - /** - * @param Resource_|LogRecord|InstrumentationScope $pElement - */ - private function setAttributes($pElement, AttributesInterface $attributes): void - { - foreach ($attributes as $key => $value) { - /** @psalm-suppress InvalidArgument */ - $pElement->getAttributes()[] = (new KeyValue()) - ->setKey($key) - ->setValue(AttributesConverter::convertAnyValue($value)); - } - $pElement->setDroppedAttributesCount($attributes->getDroppedAttributesCount()); - } -} diff --git a/vendor/open-telemetry/exporter-otlp/LogsExporter.php b/vendor/open-telemetry/exporter-otlp/LogsExporter.php deleted file mode 100644 index fb100391f..000000000 --- a/vendor/open-telemetry/exporter-otlp/LogsExporter.php +++ /dev/null @@ -1,85 +0,0 @@ - $transport - */ - public function __construct(TransportInterface $transport) - { - if (!class_exists('\Google\Protobuf\Api')) { - throw new RuntimeException('No protobuf implementation found (ext-protobuf or google/protobuf)'); - } - $this->transport = $transport; - $this->serializer = ProtobufSerializer::forTransport($transport); - } - - /** - * @param iterable $batch - */ - public function export(iterable $batch, ?CancellationInterface $cancellation = null): FutureInterface - { - return $this->transport - ->send($this->serializer->serialize((new LogsConverter($this->serializer))->convert($batch)), $cancellation) - ->map(function (?string $payload): bool { - if ($payload === null) { - return true; - } - - $serviceResponse = new ExportLogsServiceResponse(); - $this->serializer->hydrate($serviceResponse, $payload); - - $partialSuccess = $serviceResponse->getPartialSuccess(); - if ($partialSuccess !== null && $partialSuccess->getRejectedLogRecords()) { - self::logError('Export partial success', [ - 'rejected_logs' => $partialSuccess->getRejectedLogRecords(), - 'error_message' => $partialSuccess->getErrorMessage(), - ]); - - return false; - } - if ($partialSuccess !== null && $partialSuccess->getErrorMessage()) { - self::logWarning('Export success with warnings/suggestions', ['error_message' => $partialSuccess->getErrorMessage()]); - } - - return true; - }) - ->catch(static function (Throwable $throwable): bool { - self::logError('Export failure', ['exception' => $throwable]); - - return false; - }); - } - - public function forceFlush(?CancellationInterface $cancellation = null): bool - { - return $this->transport->forceFlush($cancellation); - } - - public function shutdown(?CancellationInterface $cancellation = null): bool - { - return $this->transport->shutdown($cancellation); - } -} diff --git a/vendor/open-telemetry/exporter-otlp/LogsExporterFactory.php b/vendor/open-telemetry/exporter-otlp/LogsExporterFactory.php deleted file mode 100644 index 17fd68887..000000000 --- a/vendor/open-telemetry/exporter-otlp/LogsExporterFactory.php +++ /dev/null @@ -1,85 +0,0 @@ -transportFactory = $transportFactory; - } - - /** - * @psalm-suppress ArgumentTypeCoercion - */ - public function create(): LogRecordExporterInterface - { - $protocol = Configuration::has(Variables::OTEL_EXPORTER_OTLP_LOGS_PROTOCOL) - ? Configuration::getEnum(Variables::OTEL_EXPORTER_OTLP_LOGS_PROTOCOL) - : Configuration::getEnum(Variables::OTEL_EXPORTER_OTLP_PROTOCOL); - - return new LogsExporter($this->buildTransport($protocol)); - } - - /** - * @psalm-suppress UndefinedClass - */ - private function buildTransport(string $protocol): TransportInterface - { - $endpoint = $this->getEndpoint($protocol); - - $headers = Configuration::has(Variables::OTEL_EXPORTER_OTLP_LOGS_HEADERS) - ? Configuration::getMap(Variables::OTEL_EXPORTER_OTLP_LOGS_HEADERS) - : Configuration::getMap(Variables::OTEL_EXPORTER_OTLP_HEADERS); - $headers += OtlpUtil::getUserAgentHeader(); - $compression = $this->getCompression(); - - $factoryClass = Registry::transportFactory($protocol); - $factory = $this->transportFactory ?: new $factoryClass(); - - return $factory->create( - $endpoint, - Protocols::contentType($protocol), - $headers, - $compression, - ); - } - - private function getCompression(): string - { - return Configuration::has(Variables::OTEL_EXPORTER_OTLP_LOGS_COMPRESSION) ? - Configuration::getEnum(Variables::OTEL_EXPORTER_OTLP_LOGS_COMPRESSION) : - Configuration::getEnum(Variables::OTEL_EXPORTER_OTLP_COMPRESSION, self::DEFAULT_COMPRESSION); - } - - private function getEndpoint(string $protocol): string - { - if (Configuration::has(Variables::OTEL_EXPORTER_OTLP_LOGS_ENDPOINT)) { - return Configuration::getString(Variables::OTEL_EXPORTER_OTLP_LOGS_ENDPOINT); - } - $endpoint = Configuration::has(Variables::OTEL_EXPORTER_OTLP_ENDPOINT) - ? Configuration::getString(Variables::OTEL_EXPORTER_OTLP_ENDPOINT) - : Defaults::OTEL_EXPORTER_OTLP_ENDPOINT; - if ($protocol === Protocols::GRPC) { - return $endpoint . OtlpUtil::method(Signals::LOGS); - } - - return HttpEndpointResolver::create()->resolveToString($endpoint, Signals::LOGS); - } -} diff --git a/vendor/open-telemetry/exporter-otlp/MetricConverter.php b/vendor/open-telemetry/exporter-otlp/MetricConverter.php deleted file mode 100644 index 584c41365..000000000 --- a/vendor/open-telemetry/exporter-otlp/MetricConverter.php +++ /dev/null @@ -1,265 +0,0 @@ -serializer = $serializer ?? ProtobufSerializer::getDefault(); - } - - /** - * @param iterable $batch - */ - public function convert(iterable $batch): ExportMetricsServiceRequest - { - $pExportMetricsServiceRequest = new ExportMetricsServiceRequest(); - - $resourceMetrics = []; - $resourceCache = []; - $scopeMetrics = []; - $scopeCache = []; - foreach ($batch as $metric) { - $resource = $metric->resource; - $instrumentationScope = $metric->instrumentationScope; - - $resourceId = $resourceCache[spl_object_id($resource)] ??= serialize([ - $resource->getSchemaUrl(), - $resource->getAttributes()->toArray(), - $resource->getAttributes()->getDroppedAttributesCount(), - ]); - $instrumentationScopeId = $scopeCache[spl_object_id($instrumentationScope)] ??= serialize([ - $instrumentationScope->getName(), - $instrumentationScope->getVersion(), - $instrumentationScope->getSchemaUrl(), - $instrumentationScope->getAttributes()->toArray(), - $instrumentationScope->getAttributes()->getDroppedAttributesCount(), - ]); - - if (($pResourceMetrics = $resourceMetrics[$resourceId] ?? null) === null) { - /** @psalm-suppress InvalidArgument */ - $pExportMetricsServiceRequest->getResourceMetrics()[] - = $resourceMetrics[$resourceId] - = $pResourceMetrics - = $this->convertResourceMetrics($resource); - } - - if (($pScopeMetrics = $scopeMetrics[$resourceId][$instrumentationScopeId] ?? null) === null) { - /** @psalm-suppress InvalidArgument */ - $pResourceMetrics->getScopeMetrics()[] - = $scopeMetrics[$resourceId][$instrumentationScopeId] - = $pScopeMetrics - = $this->convertScopeMetrics($instrumentationScope); - } - - /** @psalm-suppress InvalidArgument */ - $pScopeMetrics->getMetrics()[] = $this->convertMetric($metric); - } - - return $pExportMetricsServiceRequest; - } - - private function convertResourceMetrics(SDK\Resource\ResourceInfo $resource): ResourceMetrics - { - $pResourceMetrics = new ResourceMetrics(); - $pResource = new Resource_(); - $this->setAttributes($pResource, $resource->getAttributes()); - $pResourceMetrics->setResource($pResource); - $pResourceMetrics->setSchemaUrl((string) $resource->getSchemaUrl()); - - return $pResourceMetrics; - } - - private function convertScopeMetrics(SDK\Common\Instrumentation\InstrumentationScopeInterface $instrumentationScope): ScopeMetrics - { - $pScopeMetrics = new ScopeMetrics(); - $pInstrumentationScope = new InstrumentationScope(); - $pInstrumentationScope->setName($instrumentationScope->getName()); - $pInstrumentationScope->setVersion((string) $instrumentationScope->getVersion()); - $this->setAttributes($pInstrumentationScope, $instrumentationScope->getAttributes()); - $pScopeMetrics->setScope($pInstrumentationScope); - $pScopeMetrics->setSchemaUrl((string) $instrumentationScope->getSchemaUrl()); - - return $pScopeMetrics; - } - - private function convertMetric(SDK\Metrics\Data\Metric $metric): Metric - { - $pMetric = new Metric(); - $pMetric->setName($metric->name); - $pMetric->setDescription((string) $metric->description); - $pMetric->setUnit((string) $metric->unit); - - $data = $metric->data; - if ($data instanceof SDK\Metrics\Data\Gauge) { - $pMetric->setGauge($this->convertGauge($data)); - } - if ($data instanceof SDK\Metrics\Data\Histogram) { - $pMetric->setHistogram($this->convertHistogram($data)); - } - if ($data instanceof SDK\Metrics\Data\Sum) { - $pMetric->setSum($this->convertSum($data)); - } - - return $pMetric; - } - - private function convertTemporality($temporality): int - { - switch ($temporality) { - case SDK\Metrics\Data\Temporality::DELTA: - return AggregationTemporality::AGGREGATION_TEMPORALITY_DELTA; - case SDK\Metrics\Data\Temporality::CUMULATIVE: - return AggregationTemporality::AGGREGATION_TEMPORALITY_CUMULATIVE; - } - - // @codeCoverageIgnoreStart - return AggregationTemporality::AGGREGATION_TEMPORALITY_UNSPECIFIED; - // @codeCoverageIgnoreEnd - } - - private function convertGauge(SDK\Metrics\Data\Gauge $gauge): Gauge - { - $pGauge = new Gauge(); - foreach ($gauge->dataPoints as $dataPoint) { - /** @psalm-suppress InvalidArgument */ - $pGauge->getDataPoints()[] = $this->convertNumberDataPoint($dataPoint); - } - - return $pGauge; - } - - private function convertHistogram(SDK\Metrics\Data\Histogram $histogram): Histogram - { - $pHistogram = new Histogram(); - foreach ($histogram->dataPoints as $dataPoint) { - /** @psalm-suppress InvalidArgument */ - $pHistogram->getDataPoints()[] = $this->convertHistogramDataPoint($dataPoint); - } - $pHistogram->setAggregationTemporality($this->convertTemporality($histogram->temporality)); - - return $pHistogram; - } - - private function convertSum(SDK\Metrics\Data\Sum $sum): Sum - { - $pSum = new Sum(); - foreach ($sum->dataPoints as $dataPoint) { - /** @psalm-suppress InvalidArgument */ - $pSum->getDataPoints()[] = $this->convertNumberDataPoint($dataPoint); - } - $pSum->setAggregationTemporality($this->convertTemporality($sum->temporality)); - $pSum->setIsMonotonic($sum->monotonic); - - return $pSum; - } - - private function convertNumberDataPoint(SDK\Metrics\Data\NumberDataPoint $dataPoint): NumberDataPoint - { - $pNumberDataPoint = new NumberDataPoint(); - $this->setAttributes($pNumberDataPoint, $dataPoint->attributes); - $pNumberDataPoint->setStartTimeUnixNano($dataPoint->startTimestamp); - $pNumberDataPoint->setTimeUnixNano($dataPoint->timestamp); - if (is_int($dataPoint->value)) { - $pNumberDataPoint->setAsInt($dataPoint->value); - } - if (is_float($dataPoint->value)) { - $pNumberDataPoint->setAsDouble($dataPoint->value); - } - foreach ($dataPoint->exemplars as $exemplar) { - /** @psalm-suppress InvalidArgument */ - $pNumberDataPoint->getExemplars()[] = $this->convertExemplar($exemplar); - } - - return $pNumberDataPoint; - } - - private function convertHistogramDataPoint(SDK\Metrics\Data\HistogramDataPoint $dataPoint): HistogramDataPoint - { - $pHistogramDataPoint = new HistogramDataPoint(); - $this->setAttributes($pHistogramDataPoint, $dataPoint->attributes); - $pHistogramDataPoint->setStartTimeUnixNano($dataPoint->startTimestamp); - $pHistogramDataPoint->setTimeUnixNano($dataPoint->timestamp); - $pHistogramDataPoint->setCount($dataPoint->count); - $pHistogramDataPoint->setSum($dataPoint->sum); - /** @phpstan-ignore-next-line */ - $pHistogramDataPoint->setBucketCounts($dataPoint->bucketCounts); - /** @phpstan-ignore-next-line */ - $pHistogramDataPoint->setExplicitBounds($dataPoint->explicitBounds); - foreach ($dataPoint->exemplars as $exemplar) { - /** @psalm-suppress InvalidArgument */ - $pHistogramDataPoint->getExemplars()[] = $this->convertExemplar($exemplar); - } - - return $pHistogramDataPoint; - } - - private function convertExemplar(SDK\Metrics\Data\Exemplar $exemplar): Exemplar - { - $pExemplar = new Exemplar(); - $this->setFilteredAttributes($pExemplar, $exemplar->attributes); - $pExemplar->setTimeUnixNano($exemplar->timestamp); - $pExemplar->setSpanId($this->serializer->serializeSpanId(hex2bin((string) $exemplar->spanId))); - $pExemplar->setTraceId($this->serializer->serializeTraceId(hex2bin((string) $exemplar->traceId))); - if (is_int($exemplar->value)) { - $pExemplar->setAsInt($exemplar->value); - } - if (is_float($exemplar->value)) { - $pExemplar->setAsDouble($exemplar->value); - } - - return $pExemplar; - } - - /** - * @param Resource_|NumberDataPoint|HistogramDataPoint|InstrumentationScope $pElement - */ - private function setAttributes($pElement, SDK\Common\Attribute\AttributesInterface $attributes): void - { - foreach ($attributes as $key => $value) { - /** @psalm-suppress InvalidArgument */ - $pElement->getAttributes()[] = $pAttribute = new KeyValue(); - $pAttribute->setKey($key); - $pAttribute->setValue(AttributesConverter::convertAnyValue($value)); - } - if (method_exists($pElement, 'setDroppedAttributesCount')) { - $pElement->setDroppedAttributesCount($attributes->getDroppedAttributesCount()); - } - } - - private function setFilteredAttributes(Exemplar $pElement, SDK\Common\Attribute\AttributesInterface $attributes): void - { - foreach ($attributes as $key => $value) { - /** @psalm-suppress InvalidArgument */ - $pElement->getFilteredAttributes()[] = $pAttribute = new KeyValue(); - $pAttribute->setKey($key); - $pAttribute->setValue(AttributesConverter::convertAnyValue($value)); - } - } -} diff --git a/vendor/open-telemetry/exporter-otlp/MetricExporter.php b/vendor/open-telemetry/exporter-otlp/MetricExporter.php deleted file mode 100644 index efd149c7f..000000000 --- a/vendor/open-telemetry/exporter-otlp/MetricExporter.php +++ /dev/null @@ -1,97 +0,0 @@ - $transport - */ - public function __construct(TransportInterface $transport, $temporality = null) - { - if (!class_exists('\Google\Protobuf\Api')) { - throw new RuntimeException('No protobuf implementation found (ext-protobuf or google/protobuf)'); - } - $this->transport = $transport; - $this->serializer = ProtobufSerializer::forTransport($transport); - $this->temporality = $temporality; - } - - public function temporality(MetricMetadataInterface $metric) - { - return $this->temporality ?? $metric->temporality(); - } - - public function export(iterable $batch): bool - { - return $this->transport - ->send($this->serializer->serialize((new MetricConverter($this->serializer))->convert($batch))) - ->map(function (?string $payload): bool { - if ($payload === null) { - return true; - } - - $serviceResponse = new ExportMetricsServiceResponse(); - $this->serializer->hydrate($serviceResponse, $payload); - - $partialSuccess = $serviceResponse->getPartialSuccess(); - if ($partialSuccess !== null && $partialSuccess->getRejectedDataPoints()) { - self::logError('Export partial success', [ - 'rejected_data_points' => $partialSuccess->getRejectedDataPoints(), - 'error_message' => $partialSuccess->getErrorMessage(), - ]); - - return false; - } - if ($partialSuccess !== null && $partialSuccess->getErrorMessage()) { - self::logWarning('Export success with warnings/suggestions', ['error_message' => $partialSuccess->getErrorMessage()]); - } - - return true; - }) - ->catch(static function (Throwable $throwable): bool { - self::logError('Export failure', ['exception' => $throwable]); - - return false; - }) - ->await(); - } - - public function shutdown(): bool - { - return $this->transport->shutdown(); - } - - public function forceFlush(): bool - { - return $this->transport->forceFlush(); - } -} diff --git a/vendor/open-telemetry/exporter-otlp/MetricExporterFactory.php b/vendor/open-telemetry/exporter-otlp/MetricExporterFactory.php deleted file mode 100644 index 284428b73..000000000 --- a/vendor/open-telemetry/exporter-otlp/MetricExporterFactory.php +++ /dev/null @@ -1,110 +0,0 @@ -transportFactory = $transportFactory; - } - - /** - * @psalm-suppress ArgumentTypeCoercion - */ - public function create(): MetricExporterInterface - { - $protocol = Configuration::has(Variables::OTEL_EXPORTER_OTLP_METRICS_PROTOCOL) - ? Configuration::getEnum(Variables::OTEL_EXPORTER_OTLP_METRICS_PROTOCOL) - : Configuration::getEnum(Variables::OTEL_EXPORTER_OTLP_PROTOCOL); - $temporality = $this->getTemporality(); - - return new MetricExporter($this->buildTransport($protocol), $temporality); - } - - /** - * @psalm-suppress UndefinedClass - */ - private function buildTransport(string $protocol): TransportInterface - { - /** - * @todo (https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/metrics/sdk.md#periodic-exporting-metricreader) - * - OTEL_METRIC_EXPORT_INTERVAL - * - OTEL_METRIC_EXPORT_TIMEOUT - */ - $endpoint = $this->getEndpoint($protocol); - - $headers = Configuration::has(Variables::OTEL_EXPORTER_OTLP_METRICS_HEADERS) - ? Configuration::getMap(Variables::OTEL_EXPORTER_OTLP_METRICS_HEADERS) - : Configuration::getMap(Variables::OTEL_EXPORTER_OTLP_HEADERS); - $headers += OtlpUtil::getUserAgentHeader(); - $compression = $this->getCompression(); - - $factoryClass = Registry::transportFactory($protocol); - $factory = $this->transportFactory ?: new $factoryClass(); - - return $factory->create( - $endpoint, - Protocols::contentType($protocol), - $headers, - $compression, - ); - } - - /** - * @todo return string|Temporality|null (php >= 8.0) - */ - private function getTemporality() - { - $value = Configuration::getEnum(Variables::OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE); - switch (strtolower($value)) { - case 'cumulative': - return Temporality::CUMULATIVE; - case 'delta': - return Temporality::DELTA; - case 'lowmemory': - return null; - default: - throw new \UnexpectedValueException('Unknown temporality: ' . $value); - } - } - - private function getCompression(): string - { - return Configuration::has(Variables::OTEL_EXPORTER_OTLP_METRICS_COMPRESSION) ? - Configuration::getEnum(Variables::OTEL_EXPORTER_OTLP_METRICS_COMPRESSION) : - Configuration::getEnum(Variables::OTEL_EXPORTER_OTLP_COMPRESSION, self::DEFAULT_COMPRESSION); - } - - private function getEndpoint(string $protocol): string - { - if (Configuration::has(Variables::OTEL_EXPORTER_OTLP_METRICS_ENDPOINT)) { - return Configuration::getString(Variables::OTEL_EXPORTER_OTLP_METRICS_ENDPOINT); - } - $endpoint = Configuration::has(Variables::OTEL_EXPORTER_OTLP_ENDPOINT) - ? Configuration::getString(Variables::OTEL_EXPORTER_OTLP_ENDPOINT) - : Defaults::OTEL_EXPORTER_OTLP_ENDPOINT; - if ($protocol === Protocols::GRPC) { - return $endpoint . OtlpUtil::method(Signals::METRICS); - } - - return HttpEndpointResolver::create()->resolveToString($endpoint, Signals::METRICS); - } -} diff --git a/vendor/open-telemetry/exporter-otlp/OtlpHttpTransportFactory.php b/vendor/open-telemetry/exporter-otlp/OtlpHttpTransportFactory.php deleted file mode 100644 index 5cf3ff9e4..000000000 --- a/vendor/open-telemetry/exporter-otlp/OtlpHttpTransportFactory.php +++ /dev/null @@ -1,33 +0,0 @@ -create($endpoint, $contentType, $headers, $compression, $timeout, $retryDelay, $maxRetries, $cacert, $cert, $key); - } -} diff --git a/vendor/open-telemetry/exporter-otlp/OtlpUtil.php b/vendor/open-telemetry/exporter-otlp/OtlpUtil.php deleted file mode 100644 index 6901c1324..000000000 --- a/vendor/open-telemetry/exporter-otlp/OtlpUtil.php +++ /dev/null @@ -1,45 +0,0 @@ - '/opentelemetry.proto.collector.trace.v1.TraceService/Export', - Signals::METRICS => '/opentelemetry.proto.collector.metrics.v1.MetricsService/Export', - Signals::LOGS => '/opentelemetry.proto.collector.logs.v1.LogsService/Export', - ]; - - public static function method(string $signal): string - { - if (!array_key_exists($signal, self::METHODS)) { - throw new UnexpectedValueException('gRPC method not defined for signal: ' . $signal); - } - - return self::METHODS[$signal]; - } - - /** - * @link https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/protocol/exporter.md#user-agent - */ - public static function getUserAgentHeader(): array - { - $resource = (new Sdk())->getResource(); - - return ['User-Agent' => sprintf( - 'OTel OTLP Exporter PHP/%s', - $resource->getAttributes()->get(ResourceAttributes::TELEMETRY_SDK_VERSION) ?: 'unknown' - )]; - } -} diff --git a/vendor/open-telemetry/exporter-otlp/ProtobufSerializer.php b/vendor/open-telemetry/exporter-otlp/ProtobufSerializer.php deleted file mode 100644 index c244d0066..000000000 --- a/vendor/open-telemetry/exporter-otlp/ProtobufSerializer.php +++ /dev/null @@ -1,115 +0,0 @@ -contentType = $contentType; - } - - public static function getDefault(): ProtobufSerializer - { - return new self(self::PROTOBUF); - } - - /** - * @psalm-param TransportInterface $transport - */ - public static function forTransport(TransportInterface $transport): ProtobufSerializer - { - switch ($contentType = $transport->contentType()) { - case self::PROTOBUF: - case self::JSON: - case self::NDJSON: - return new self($contentType); - default: - throw new InvalidArgumentException(sprintf('Not supported content type "%s"', $contentType)); - } - } - - public function serializeTraceId(string $traceId): string - { - switch ($this->contentType) { - case self::PROTOBUF: - return $traceId; - case self::JSON: - case self::NDJSON: - return base64_decode(bin2hex($traceId)); - default: - throw new AssertionError(); - } - } - - public function serializeSpanId(string $spanId): string - { - switch ($this->contentType) { - case self::PROTOBUF: - return $spanId; - case self::JSON: - case self::NDJSON: - return base64_decode(bin2hex($spanId)); - default: - throw new AssertionError(); - } - } - - public function serialize(Message $message): string - { - switch ($this->contentType) { - case self::PROTOBUF: - return $message->serializeToString(); - case self::JSON: - //@todo https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/protocol/otlp.md#json-protobuf-encoding - return $message->serializeToJsonString(); - case self::NDJSON: - return $message->serializeToJsonString() . "\n"; - default: - throw new AssertionError(); - } - } - - /** - * @throws Exception - */ - public function hydrate(Message $message, string $payload): void - { - switch ($this->contentType) { - case self::PROTOBUF: - $message->mergeFromString($payload); - - break; - case self::JSON: - case self::NDJSON: - // @phan-suppress-next-line PhanParamTooManyInternal - $message->mergeFromJsonString($payload, true); - - break; - default: - throw new AssertionError(); - } - } -} diff --git a/vendor/open-telemetry/exporter-otlp/Protocols.php b/vendor/open-telemetry/exporter-otlp/Protocols.php deleted file mode 100644 index 96b04d8bf..000000000 --- a/vendor/open-telemetry/exporter-otlp/Protocols.php +++ /dev/null @@ -1,36 +0,0 @@ - ContentTypes::PROTOBUF, - self::HTTP_PROTOBUF => ContentTypes::PROTOBUF, - self::HTTP_JSON => ContentTypes::JSON, - self::HTTP_NDJSON => ContentTypes::NDJSON, - ]; - - public static function validate(string $protocol): void - { - if (!array_key_exists($protocol, self::PROTOCOLS)) { - throw new UnexpectedValueException('Unknown protocol: ' . $protocol); - } - } - - public static function contentType(string $protocol): string - { - self::validate($protocol); - - return self::PROTOCOLS[$protocol]; - } -} diff --git a/vendor/open-telemetry/exporter-otlp/README.md b/vendor/open-telemetry/exporter-otlp/README.md deleted file mode 100644 index a41349da0..000000000 --- a/vendor/open-telemetry/exporter-otlp/README.md +++ /dev/null @@ -1,45 +0,0 @@ -[![Releases](https://img.shields.io/badge/releases-purple)](https://github.com/opentelemetry-php/exporter-otlp/releases) -[![Source](https://img.shields.io/badge/source-exporter--otlp-green)](https://github.com/open-telemetry/opentelemetry-php/tree/main/src/Contrib/Otlp) -[![Mirror](https://img.shields.io/badge/mirror-opentelemetry--php:exporter--otlp-blue)](https://github.com/opentelemetry-php/exporter-otlp) -[![Latest Version](http://poser.pugx.org/open-telemetry/exporter-otlp/v/unstable)](https://packagist.org/packages/open-telemetry/exporter-otlp/) -[![Stable](http://poser.pugx.org/open-telemetry/exporter-otlp/v/stable)](https://packagist.org/packages/open-telemetry/exporter-otlp/) - -# OpenTelemetry OTLP exporter - -## Documentation - -https://opentelemetry.io/docs/instrumentation/php/exporters/#otlp - -## Usage - -See https://github.com/open-telemetry/opentelemetry-php/blob/main/examples/traces/exporters/otlp_http.php - -## Http transport - -```php -$transport = (new \OpenTelemetry\Contrib\Otlp\OtlpHttpTransportFactory())->create('http://collector:4318'); -$exporter = new \OpenTelemetry\Contrib\Otlp\SpanExporter($transport); -``` - -## gRPC transport - -To export over gRPC, you will need to additionally install the `open-telemetry/transport-grpc` package. - -## Protobuf Runtime library - -OTLP exporting requires a [protobuf implementation](https://github.com/protocolbuffers/protobuf/tree/main/php). - -The `open-telemetry/gen-otlp-protobuf` requires the `google/protobuf` native implementation. It's fine for development, but -not recommended for production usage. - -The recommended option for production is to install the Protobuf C extension for PHP. The extension -makes exporting _significantly_ more performant. This can be easily installed with the following command: - -```shell -pecl install protobuf -``` - -## Contributing - -This repository is a read-only git subtree split. -To contribute, please see the main [OpenTelemetry PHP monorepo](https://github.com/open-telemetry/opentelemetry-php). diff --git a/vendor/open-telemetry/exporter-otlp/SpanConverter.php b/vendor/open-telemetry/exporter-otlp/SpanConverter.php deleted file mode 100644 index 1a8b4369e..000000000 --- a/vendor/open-telemetry/exporter-otlp/SpanConverter.php +++ /dev/null @@ -1,187 +0,0 @@ -serializer = $serializer ?? ProtobufSerializer::getDefault(); - } - - public function convert(iterable $spans): ExportTraceServiceRequest - { - $pExportTraceServiceRequest = new ExportTraceServiceRequest(); - - $resourceSpans = []; - $resourceCache = []; - $scopeSpans = []; - $scopeCache = []; - foreach ($spans as $span) { - $resource = $span->getResource(); - $instrumentationScope = $span->getInstrumentationScope(); - - $resourceId = $resourceCache[spl_object_id($resource)] ??= serialize([ - $resource->getSchemaUrl(), - $resource->getAttributes()->toArray(), - $resource->getAttributes()->getDroppedAttributesCount(), - ]); - $instrumentationScopeId = $scopeCache[spl_object_id($instrumentationScope)] ??= serialize([ - $instrumentationScope->getName(), - $instrumentationScope->getVersion(), - $instrumentationScope->getSchemaUrl(), - $instrumentationScope->getAttributes()->toArray(), - $instrumentationScope->getAttributes()->getDroppedAttributesCount(), - ]); - - if (($pResourceSpans = $resourceSpans[$resourceId] ?? null) === null) { - /** @psalm-suppress InvalidArgument */ - $pExportTraceServiceRequest->getResourceSpans()[] - = $resourceSpans[$resourceId] - = $pResourceSpans - = $this->convertResourceSpans($resource); - } - - if (($pScopeSpans = $scopeSpans[$resourceId][$instrumentationScopeId] ?? null) === null) { - /** @psalm-suppress InvalidArgument */ - $pResourceSpans->getScopeSpans()[] - = $scopeSpans[$resourceId][$instrumentationScopeId] - = $pScopeSpans - = $this->convertScopeSpans($instrumentationScope); - } - - /** @psalm-suppress InvalidArgument */ - $pScopeSpans->getSpans()[] = $this->convertSpan($span); - } - - return $pExportTraceServiceRequest; - } - - private function convertResourceSpans(ResourceInfo $resource): ResourceSpans - { - $pResourceSpans = new ResourceSpans(); - $pResource = new Resource_(); - $this->setAttributes($pResource, $resource->getAttributes()); - $pResourceSpans->setResource($pResource); - $pResourceSpans->setSchemaUrl((string) $resource->getSchemaUrl()); - - return $pResourceSpans; - } - - private function convertScopeSpans(InstrumentationScopeInterface $instrumentationScope): ScopeSpans - { - $pScopeSpans = new ScopeSpans(); - $pInstrumentationScope = new InstrumentationScope(); - $pInstrumentationScope->setName($instrumentationScope->getName()); - $pInstrumentationScope->setVersion((string) $instrumentationScope->getVersion()); - $this->setAttributes($pInstrumentationScope, $instrumentationScope->getAttributes()); - $pScopeSpans->setScope($pInstrumentationScope); - $pScopeSpans->setSchemaUrl((string) $instrumentationScope->getSchemaUrl()); - - return $pScopeSpans; - } - - /** - * @param Resource_|Span|Event|Link|InstrumentationScope $pElement - */ - private function setAttributes($pElement, AttributesInterface $attributes): void - { - foreach ($attributes as $key => $value) { - /** @psalm-suppress InvalidArgument */ - $pElement->getAttributes()[] = (new KeyValue()) - ->setKey($key) - ->setValue(AttributesConverter::convertAnyValue($value)); - } - $pElement->setDroppedAttributesCount($attributes->getDroppedAttributesCount()); - } - - private function convertSpanKind(int $kind): int - { - switch ($kind) { - case API\SpanKind::KIND_INTERNAL: return SpanKind::SPAN_KIND_INTERNAL; - case API\SpanKind::KIND_CLIENT: return SpanKind::SPAN_KIND_CLIENT; - case API\SpanKind::KIND_SERVER: return SpanKind::SPAN_KIND_SERVER; - case API\SpanKind::KIND_PRODUCER: return SpanKind::SPAN_KIND_PRODUCER; - case API\SpanKind::KIND_CONSUMER: return SpanKind::SPAN_KIND_CONSUMER; - } - - return SpanKind::SPAN_KIND_UNSPECIFIED; - } - - private function convertStatusCode(string $status): int - { - switch ($status) { - case API\StatusCode::STATUS_UNSET: return StatusCode::STATUS_CODE_UNSET; - case API\StatusCode::STATUS_OK: return StatusCode::STATUS_CODE_OK; - case API\StatusCode::STATUS_ERROR: return StatusCode::STATUS_CODE_ERROR; - } - - return StatusCode::STATUS_CODE_UNSET; - } - - private function convertSpan(SpanDataInterface $span): Span - { - $pSpan = new Span(); - $pSpan->setTraceId($this->serializer->serializeTraceId($span->getContext()->getTraceIdBinary())); - $pSpan->setSpanId($this->serializer->serializeSpanId($span->getContext()->getSpanIdBinary())); - $pSpan->setTraceState((string) $span->getContext()->getTraceState()); - if ($span->getParentContext()->isValid()) { - $pSpan->setParentSpanId($this->serializer->serializeSpanId($span->getParentContext()->getSpanIdBinary())); - } - $pSpan->setName($span->getName()); - $pSpan->setKind($this->convertSpanKind($span->getKind())); - $pSpan->setStartTimeUnixNano($span->getStartEpochNanos()); - $pSpan->setEndTimeUnixNano($span->getEndEpochNanos()); - $this->setAttributes($pSpan, $span->getAttributes()); - - foreach ($span->getEvents() as $event) { - /** @psalm-suppress InvalidArgument */ - $pSpan->getEvents()[] = $pEvent = new Event(); - $pEvent->setTimeUnixNano($event->getEpochNanos()); - $pEvent->setName($event->getName()); - $this->setAttributes($pEvent, $event->getAttributes()); - } - $pSpan->setDroppedEventsCount($span->getTotalDroppedEvents()); - - foreach ($span->getLinks() as $link) { - /** @psalm-suppress InvalidArgument */ - $pSpan->getLinks()[] = $pLink = new Link(); - $pLink->setTraceId($this->serializer->serializeTraceId($link->getSpanContext()->getTraceIdBinary())); - $pLink->setSpanId($this->serializer->serializeSpanId($link->getSpanContext()->getSpanIdBinary())); - $pLink->setTraceState((string) $link->getSpanContext()->getTraceState()); - $this->setAttributes($pLink, $link->getAttributes()); - } - $pSpan->setDroppedLinksCount($span->getTotalDroppedLinks()); - - $pStatus = new Status(); - $pStatus->setMessage($span->getStatus()->getDescription()); - $pStatus->setCode($this->convertStatusCode($span->getStatus()->getCode())); - $pSpan->setStatus($pStatus); - - return $pSpan; - } -} diff --git a/vendor/open-telemetry/exporter-otlp/SpanExporter.php b/vendor/open-telemetry/exporter-otlp/SpanExporter.php deleted file mode 100644 index a496206f4..000000000 --- a/vendor/open-telemetry/exporter-otlp/SpanExporter.php +++ /dev/null @@ -1,81 +0,0 @@ - $transport - */ - public function __construct(TransportInterface $transport) - { - if (!class_exists('\Google\Protobuf\Api')) { - throw new RuntimeException('No protobuf implementation found (ext-protobuf or google/protobuf)'); - } - $this->transport = $transport; - $this->serializer = ProtobufSerializer::forTransport($transport); - } - - public function export(iterable $batch, ?CancellationInterface $cancellation = null): FutureInterface - { - return $this->transport - ->send($this->serializer->serialize((new SpanConverter($this->serializer))->convert($batch)), $cancellation) - ->map(function (?string $payload): bool { - if ($payload === null) { - return true; - } - - $serviceResponse = new ExportTraceServiceResponse(); - $this->serializer->hydrate($serviceResponse, $payload); - - $partialSuccess = $serviceResponse->getPartialSuccess(); - if ($partialSuccess !== null && $partialSuccess->getRejectedSpans()) { - self::logError('Export partial success', [ - 'rejected_spans' => $partialSuccess->getRejectedSpans(), - 'error_message' => $partialSuccess->getErrorMessage(), - ]); - - return false; - } - if ($partialSuccess !== null && $partialSuccess->getErrorMessage()) { - self::logWarning('Export success with warnings/suggestions', ['error_message' => $partialSuccess->getErrorMessage()]); - } - - return true; - }) - ->catch(static function (Throwable $throwable): bool { - self::logError('Export failure', ['exception' => $throwable]); - - return false; - }); - } - - public function shutdown(?CancellationInterface $cancellation = null): bool - { - return $this->transport->shutdown($cancellation); - } - - public function forceFlush(?CancellationInterface $cancellation = null): bool - { - return $this->transport->forceFlush($cancellation); - } -} diff --git a/vendor/open-telemetry/exporter-otlp/SpanExporterFactory.php b/vendor/open-telemetry/exporter-otlp/SpanExporterFactory.php deleted file mode 100644 index ce0550735..000000000 --- a/vendor/open-telemetry/exporter-otlp/SpanExporterFactory.php +++ /dev/null @@ -1,96 +0,0 @@ -transportFactory = $transportFactory; - } - - /** - * @psalm-suppress ArgumentTypeCoercion - */ - public function create(): SpanExporterInterface - { - $transport = $this->buildTransport(); - - return new SpanExporter($transport); - } - - /** - * @psalm-suppress ArgumentTypeCoercion - * @psalm-suppress UndefinedClass - */ - private function buildTransport(): TransportInterface - { - $protocol = $this->getProtocol(); - $contentType = Protocols::contentType($protocol); - $endpoint = $this->getEndpoint($protocol); - $headers = $this->getHeaders(); - $compression = $this->getCompression(); - - $factoryClass = Registry::transportFactory($protocol); - $factory = $this->transportFactory ?: new $factoryClass(); - - return $factory->create($endpoint, $contentType, $headers, $compression); - } - - private function getProtocol(): string - { - return Configuration::has(Variables::OTEL_EXPORTER_OTLP_TRACES_PROTOCOL) ? - Configuration::getEnum(Variables::OTEL_EXPORTER_OTLP_TRACES_PROTOCOL) : - Configuration::getEnum(Variables::OTEL_EXPORTER_OTLP_PROTOCOL); - } - - private function getEndpoint(string $protocol): string - { - if (Configuration::has(Variables::OTEL_EXPORTER_OTLP_TRACES_ENDPOINT)) { - return Configuration::getString(Variables::OTEL_EXPORTER_OTLP_TRACES_ENDPOINT); - } - $endpoint = Configuration::has(Variables::OTEL_EXPORTER_OTLP_ENDPOINT) - ? Configuration::getString(Variables::OTEL_EXPORTER_OTLP_ENDPOINT) - : Defaults::OTEL_EXPORTER_OTLP_ENDPOINT; - if ($protocol === Protocols::GRPC) { - return $endpoint . OtlpUtil::method(Signals::TRACE); - } - - return HttpEndpointResolver::create()->resolveToString($endpoint, Signals::TRACE); - } - - private function getHeaders(): array - { - $headers = Configuration::has(Variables::OTEL_EXPORTER_OTLP_TRACES_HEADERS) ? - Configuration::getMap(Variables::OTEL_EXPORTER_OTLP_TRACES_HEADERS) : - Configuration::getMap(Variables::OTEL_EXPORTER_OTLP_HEADERS); - - return $headers + OtlpUtil::getUserAgentHeader(); - } - - private function getCompression(): string - { - return Configuration::has(Variables::OTEL_EXPORTER_OTLP_TRACES_COMPRESSION) ? - Configuration::getEnum(Variables::OTEL_EXPORTER_OTLP_TRACES_COMPRESSION) : - Configuration::getEnum(Variables::OTEL_EXPORTER_OTLP_COMPRESSION, self::DEFAULT_COMPRESSION); - } -} diff --git a/vendor/open-telemetry/exporter-otlp/_register.php b/vendor/open-telemetry/exporter-otlp/_register.php deleted file mode 100644 index b3acdc3af..000000000 --- a/vendor/open-telemetry/exporter-otlp/_register.php +++ /dev/null @@ -1,9 +0,0 @@ -internalAddGeneratedFile( - ' - -.opentelemetry/proto/resource/v1/resource.protoopentelemetry.proto.resource.v1"i -Resource; - -attributes ( 2\'.opentelemetry.proto.common.v1.KeyValue -dropped_attributes_count ( B -"io.opentelemetry.proto.resource.v1B ResourceProtoPZ*go.opentelemetry.io/proto/otlp/resource/v1OpenTelemetry.Proto.Resource.V1bproto3' - , true); - - static::$is_initialized = true; - } -} - diff --git a/vendor/open-telemetry/gen-otlp-protobuf/GPBMetadata/Opentelemetry/Proto/Trace/V1/Trace.php b/vendor/open-telemetry/gen-otlp-protobuf/GPBMetadata/Opentelemetry/Proto/Trace/V1/Trace.php deleted file mode 100644 index 35c1ebbf1..000000000 Binary files a/vendor/open-telemetry/gen-otlp-protobuf/GPBMetadata/Opentelemetry/Proto/Trace/V1/Trace.php and /dev/null differ diff --git a/vendor/open-telemetry/gen-otlp-protobuf/GPBMetadata/Opentelemetry/Proto/Trace/V1/TraceConfig.php b/vendor/open-telemetry/gen-otlp-protobuf/GPBMetadata/Opentelemetry/Proto/Trace/V1/TraceConfig.php deleted file mode 100644 index cf25a1656..000000000 Binary files a/vendor/open-telemetry/gen-otlp-protobuf/GPBMetadata/Opentelemetry/Proto/Trace/V1/TraceConfig.php and /dev/null differ diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Logs/V1/ExportLogsPartialSuccess.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Logs/V1/ExportLogsPartialSuccess.php deleted file mode 100644 index 044cdffdd..000000000 --- a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Logs/V1/ExportLogsPartialSuccess.php +++ /dev/null @@ -1,127 +0,0 @@ -opentelemetry.proto.collector.logs.v1.ExportLogsPartialSuccess - */ -class ExportLogsPartialSuccess extends \Google\Protobuf\Internal\Message -{ - /** - * The number of rejected log records. - * A `rejected_` field holding a `0` value indicates that the - * request was fully accepted. - * - * Generated from protobuf field int64 rejected_log_records = 1; - */ - protected $rejected_log_records = 0; - /** - * A developer-facing human-readable message in English. It should be used - * either to explain why the server rejected parts of the data during a partial - * success or to convey warnings/suggestions during a full success. The message - * should offer guidance on how users can address such issues. - * error_message is an optional field. An error_message with an empty value - * is equivalent to it not being set. - * - * Generated from protobuf field string error_message = 2; - */ - protected $error_message = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $rejected_log_records - * The number of rejected log records. - * A `rejected_` field holding a `0` value indicates that the - * request was fully accepted. - * @type string $error_message - * A developer-facing human-readable message in English. It should be used - * either to explain why the server rejected parts of the data during a partial - * success or to convey warnings/suggestions during a full success. The message - * should offer guidance on how users can address such issues. - * error_message is an optional field. An error_message with an empty value - * is equivalent to it not being set. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Opentelemetry\Proto\Collector\Logs\V1\LogsService::initOnce(); - parent::__construct($data); - } - - /** - * The number of rejected log records. - * A `rejected_` field holding a `0` value indicates that the - * request was fully accepted. - * - * Generated from protobuf field int64 rejected_log_records = 1; - * @return int|string - */ - public function getRejectedLogRecords() - { - return $this->rejected_log_records; - } - - /** - * The number of rejected log records. - * A `rejected_` field holding a `0` value indicates that the - * request was fully accepted. - * - * Generated from protobuf field int64 rejected_log_records = 1; - * @param int|string $var - * @return $this - */ - public function setRejectedLogRecords($var) - { - GPBUtil::checkInt64($var); - $this->rejected_log_records = $var; - - return $this; - } - - /** - * A developer-facing human-readable message in English. It should be used - * either to explain why the server rejected parts of the data during a partial - * success or to convey warnings/suggestions during a full success. The message - * should offer guidance on how users can address such issues. - * error_message is an optional field. An error_message with an empty value - * is equivalent to it not being set. - * - * Generated from protobuf field string error_message = 2; - * @return string - */ - public function getErrorMessage() - { - return $this->error_message; - } - - /** - * A developer-facing human-readable message in English. It should be used - * either to explain why the server rejected parts of the data during a partial - * success or to convey warnings/suggestions during a full success. The message - * should offer guidance on how users can address such issues. - * error_message is an optional field. An error_message with an empty value - * is equivalent to it not being set. - * - * Generated from protobuf field string error_message = 2; - * @param string $var - * @return $this - */ - public function setErrorMessage($var) - { - GPBUtil::checkString($var, True); - $this->error_message = $var; - - return $this; - } - -} - diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Logs/V1/ExportLogsServiceRequest.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Logs/V1/ExportLogsServiceRequest.php deleted file mode 100644 index e6f4147c4..000000000 --- a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Logs/V1/ExportLogsServiceRequest.php +++ /dev/null @@ -1,81 +0,0 @@ -opentelemetry.proto.collector.logs.v1.ExportLogsServiceRequest - */ -class ExportLogsServiceRequest extends \Google\Protobuf\Internal\Message -{ - /** - * An array of ResourceLogs. - * For data coming from a single resource this array will typically contain one - * element. Intermediary nodes (such as OpenTelemetry Collector) that receive - * data from multiple origins typically batch the data before forwarding further and - * in that case this array will contain multiple elements. - * - * Generated from protobuf field repeated .opentelemetry.proto.logs.v1.ResourceLogs resource_logs = 1; - */ - private $resource_logs; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Opentelemetry\Proto\Logs\V1\ResourceLogs[]|\Google\Protobuf\Internal\RepeatedField $resource_logs - * An array of ResourceLogs. - * For data coming from a single resource this array will typically contain one - * element. Intermediary nodes (such as OpenTelemetry Collector) that receive - * data from multiple origins typically batch the data before forwarding further and - * in that case this array will contain multiple elements. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Opentelemetry\Proto\Collector\Logs\V1\LogsService::initOnce(); - parent::__construct($data); - } - - /** - * An array of ResourceLogs. - * For data coming from a single resource this array will typically contain one - * element. Intermediary nodes (such as OpenTelemetry Collector) that receive - * data from multiple origins typically batch the data before forwarding further and - * in that case this array will contain multiple elements. - * - * Generated from protobuf field repeated .opentelemetry.proto.logs.v1.ResourceLogs resource_logs = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getResourceLogs() - { - return $this->resource_logs; - } - - /** - * An array of ResourceLogs. - * For data coming from a single resource this array will typically contain one - * element. Intermediary nodes (such as OpenTelemetry Collector) that receive - * data from multiple origins typically batch the data before forwarding further and - * in that case this array will contain multiple elements. - * - * Generated from protobuf field repeated .opentelemetry.proto.logs.v1.ResourceLogs resource_logs = 1; - * @param \Opentelemetry\Proto\Logs\V1\ResourceLogs[]|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setResourceLogs($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Opentelemetry\Proto\Logs\V1\ResourceLogs::class); - $this->resource_logs = $arr; - - return $this; - } - -} - diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Logs/V1/ExportLogsServiceResponse.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Logs/V1/ExportLogsServiceResponse.php deleted file mode 100644 index 34e76a836..000000000 --- a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Logs/V1/ExportLogsServiceResponse.php +++ /dev/null @@ -1,119 +0,0 @@ -opentelemetry.proto.collector.logs.v1.ExportLogsServiceResponse - */ -class ExportLogsServiceResponse extends \Google\Protobuf\Internal\Message -{ - /** - * The details of a partially successful export request. - * If the request is only partially accepted - * (i.e. when the server accepts only parts of the data and rejects the rest) - * the server MUST initialize the `partial_success` field and MUST - * set the `rejected_` with the number of items it rejected. - * Servers MAY also make use of the `partial_success` field to convey - * warnings/suggestions to senders even when the request was fully accepted. - * In such cases, the `rejected_` MUST have a value of `0` and - * the `error_message` MUST be non-empty. - * A `partial_success` message with an empty value (rejected_ = 0 and - * `error_message` = "") is equivalent to it not being set/present. Senders - * SHOULD interpret it the same way as in the full success case. - * - * Generated from protobuf field .opentelemetry.proto.collector.logs.v1.ExportLogsPartialSuccess partial_success = 1; - */ - protected $partial_success = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Opentelemetry\Proto\Collector\Logs\V1\ExportLogsPartialSuccess $partial_success - * The details of a partially successful export request. - * If the request is only partially accepted - * (i.e. when the server accepts only parts of the data and rejects the rest) - * the server MUST initialize the `partial_success` field and MUST - * set the `rejected_` with the number of items it rejected. - * Servers MAY also make use of the `partial_success` field to convey - * warnings/suggestions to senders even when the request was fully accepted. - * In such cases, the `rejected_` MUST have a value of `0` and - * the `error_message` MUST be non-empty. - * A `partial_success` message with an empty value (rejected_ = 0 and - * `error_message` = "") is equivalent to it not being set/present. Senders - * SHOULD interpret it the same way as in the full success case. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Opentelemetry\Proto\Collector\Logs\V1\LogsService::initOnce(); - parent::__construct($data); - } - - /** - * The details of a partially successful export request. - * If the request is only partially accepted - * (i.e. when the server accepts only parts of the data and rejects the rest) - * the server MUST initialize the `partial_success` field and MUST - * set the `rejected_` with the number of items it rejected. - * Servers MAY also make use of the `partial_success` field to convey - * warnings/suggestions to senders even when the request was fully accepted. - * In such cases, the `rejected_` MUST have a value of `0` and - * the `error_message` MUST be non-empty. - * A `partial_success` message with an empty value (rejected_ = 0 and - * `error_message` = "") is equivalent to it not being set/present. Senders - * SHOULD interpret it the same way as in the full success case. - * - * Generated from protobuf field .opentelemetry.proto.collector.logs.v1.ExportLogsPartialSuccess partial_success = 1; - * @return \Opentelemetry\Proto\Collector\Logs\V1\ExportLogsPartialSuccess|null - */ - public function getPartialSuccess() - { - return $this->partial_success; - } - - public function hasPartialSuccess() - { - return isset($this->partial_success); - } - - public function clearPartialSuccess() - { - unset($this->partial_success); - } - - /** - * The details of a partially successful export request. - * If the request is only partially accepted - * (i.e. when the server accepts only parts of the data and rejects the rest) - * the server MUST initialize the `partial_success` field and MUST - * set the `rejected_` with the number of items it rejected. - * Servers MAY also make use of the `partial_success` field to convey - * warnings/suggestions to senders even when the request was fully accepted. - * In such cases, the `rejected_` MUST have a value of `0` and - * the `error_message` MUST be non-empty. - * A `partial_success` message with an empty value (rejected_ = 0 and - * `error_message` = "") is equivalent to it not being set/present. Senders - * SHOULD interpret it the same way as in the full success case. - * - * Generated from protobuf field .opentelemetry.proto.collector.logs.v1.ExportLogsPartialSuccess partial_success = 1; - * @param \Opentelemetry\Proto\Collector\Logs\V1\ExportLogsPartialSuccess $var - * @return $this - */ - public function setPartialSuccess($var) - { - GPBUtil::checkMessage($var, \Opentelemetry\Proto\Collector\Logs\V1\ExportLogsPartialSuccess::class); - $this->partial_success = $var; - - return $this; - } - -} - diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Logs/V1/LogsServiceClient.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Logs/V1/LogsServiceClient.php deleted file mode 100644 index e3249d73e..000000000 --- a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Logs/V1/LogsServiceClient.php +++ /dev/null @@ -1,53 +0,0 @@ -_simpleRequest('/opentelemetry.proto.collector.logs.v1.LogsService/Export', - $argument, - ['\Opentelemetry\Proto\Collector\Logs\V1\ExportLogsServiceResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Metrics/V1/ExportMetricsPartialSuccess.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Metrics/V1/ExportMetricsPartialSuccess.php deleted file mode 100644 index 872d3b5e0..000000000 --- a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Metrics/V1/ExportMetricsPartialSuccess.php +++ /dev/null @@ -1,127 +0,0 @@ -opentelemetry.proto.collector.metrics.v1.ExportMetricsPartialSuccess - */ -class ExportMetricsPartialSuccess extends \Google\Protobuf\Internal\Message -{ - /** - * The number of rejected data points. - * A `rejected_` field holding a `0` value indicates that the - * request was fully accepted. - * - * Generated from protobuf field int64 rejected_data_points = 1; - */ - protected $rejected_data_points = 0; - /** - * A developer-facing human-readable message in English. It should be used - * either to explain why the server rejected parts of the data during a partial - * success or to convey warnings/suggestions during a full success. The message - * should offer guidance on how users can address such issues. - * error_message is an optional field. An error_message with an empty value - * is equivalent to it not being set. - * - * Generated from protobuf field string error_message = 2; - */ - protected $error_message = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $rejected_data_points - * The number of rejected data points. - * A `rejected_` field holding a `0` value indicates that the - * request was fully accepted. - * @type string $error_message - * A developer-facing human-readable message in English. It should be used - * either to explain why the server rejected parts of the data during a partial - * success or to convey warnings/suggestions during a full success. The message - * should offer guidance on how users can address such issues. - * error_message is an optional field. An error_message with an empty value - * is equivalent to it not being set. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Opentelemetry\Proto\Collector\Metrics\V1\MetricsService::initOnce(); - parent::__construct($data); - } - - /** - * The number of rejected data points. - * A `rejected_` field holding a `0` value indicates that the - * request was fully accepted. - * - * Generated from protobuf field int64 rejected_data_points = 1; - * @return int|string - */ - public function getRejectedDataPoints() - { - return $this->rejected_data_points; - } - - /** - * The number of rejected data points. - * A `rejected_` field holding a `0` value indicates that the - * request was fully accepted. - * - * Generated from protobuf field int64 rejected_data_points = 1; - * @param int|string $var - * @return $this - */ - public function setRejectedDataPoints($var) - { - GPBUtil::checkInt64($var); - $this->rejected_data_points = $var; - - return $this; - } - - /** - * A developer-facing human-readable message in English. It should be used - * either to explain why the server rejected parts of the data during a partial - * success or to convey warnings/suggestions during a full success. The message - * should offer guidance on how users can address such issues. - * error_message is an optional field. An error_message with an empty value - * is equivalent to it not being set. - * - * Generated from protobuf field string error_message = 2; - * @return string - */ - public function getErrorMessage() - { - return $this->error_message; - } - - /** - * A developer-facing human-readable message in English. It should be used - * either to explain why the server rejected parts of the data during a partial - * success or to convey warnings/suggestions during a full success. The message - * should offer guidance on how users can address such issues. - * error_message is an optional field. An error_message with an empty value - * is equivalent to it not being set. - * - * Generated from protobuf field string error_message = 2; - * @param string $var - * @return $this - */ - public function setErrorMessage($var) - { - GPBUtil::checkString($var, True); - $this->error_message = $var; - - return $this; - } - -} - diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Metrics/V1/ExportMetricsServiceRequest.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Metrics/V1/ExportMetricsServiceRequest.php deleted file mode 100644 index 1fa5ac3bf..000000000 --- a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Metrics/V1/ExportMetricsServiceRequest.php +++ /dev/null @@ -1,81 +0,0 @@ -opentelemetry.proto.collector.metrics.v1.ExportMetricsServiceRequest - */ -class ExportMetricsServiceRequest extends \Google\Protobuf\Internal\Message -{ - /** - * An array of ResourceMetrics. - * For data coming from a single resource this array will typically contain one - * element. Intermediary nodes (such as OpenTelemetry Collector) that receive - * data from multiple origins typically batch the data before forwarding further and - * in that case this array will contain multiple elements. - * - * Generated from protobuf field repeated .opentelemetry.proto.metrics.v1.ResourceMetrics resource_metrics = 1; - */ - private $resource_metrics; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Opentelemetry\Proto\Metrics\V1\ResourceMetrics[]|\Google\Protobuf\Internal\RepeatedField $resource_metrics - * An array of ResourceMetrics. - * For data coming from a single resource this array will typically contain one - * element. Intermediary nodes (such as OpenTelemetry Collector) that receive - * data from multiple origins typically batch the data before forwarding further and - * in that case this array will contain multiple elements. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Opentelemetry\Proto\Collector\Metrics\V1\MetricsService::initOnce(); - parent::__construct($data); - } - - /** - * An array of ResourceMetrics. - * For data coming from a single resource this array will typically contain one - * element. Intermediary nodes (such as OpenTelemetry Collector) that receive - * data from multiple origins typically batch the data before forwarding further and - * in that case this array will contain multiple elements. - * - * Generated from protobuf field repeated .opentelemetry.proto.metrics.v1.ResourceMetrics resource_metrics = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getResourceMetrics() - { - return $this->resource_metrics; - } - - /** - * An array of ResourceMetrics. - * For data coming from a single resource this array will typically contain one - * element. Intermediary nodes (such as OpenTelemetry Collector) that receive - * data from multiple origins typically batch the data before forwarding further and - * in that case this array will contain multiple elements. - * - * Generated from protobuf field repeated .opentelemetry.proto.metrics.v1.ResourceMetrics resource_metrics = 1; - * @param \Opentelemetry\Proto\Metrics\V1\ResourceMetrics[]|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setResourceMetrics($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Opentelemetry\Proto\Metrics\V1\ResourceMetrics::class); - $this->resource_metrics = $arr; - - return $this; - } - -} - diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Metrics/V1/ExportMetricsServiceResponse.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Metrics/V1/ExportMetricsServiceResponse.php deleted file mode 100644 index 1f3bff5aa..000000000 --- a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Metrics/V1/ExportMetricsServiceResponse.php +++ /dev/null @@ -1,119 +0,0 @@ -opentelemetry.proto.collector.metrics.v1.ExportMetricsServiceResponse - */ -class ExportMetricsServiceResponse extends \Google\Protobuf\Internal\Message -{ - /** - * The details of a partially successful export request. - * If the request is only partially accepted - * (i.e. when the server accepts only parts of the data and rejects the rest) - * the server MUST initialize the `partial_success` field and MUST - * set the `rejected_` with the number of items it rejected. - * Servers MAY also make use of the `partial_success` field to convey - * warnings/suggestions to senders even when the request was fully accepted. - * In such cases, the `rejected_` MUST have a value of `0` and - * the `error_message` MUST be non-empty. - * A `partial_success` message with an empty value (rejected_ = 0 and - * `error_message` = "") is equivalent to it not being set/present. Senders - * SHOULD interpret it the same way as in the full success case. - * - * Generated from protobuf field .opentelemetry.proto.collector.metrics.v1.ExportMetricsPartialSuccess partial_success = 1; - */ - protected $partial_success = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Opentelemetry\Proto\Collector\Metrics\V1\ExportMetricsPartialSuccess $partial_success - * The details of a partially successful export request. - * If the request is only partially accepted - * (i.e. when the server accepts only parts of the data and rejects the rest) - * the server MUST initialize the `partial_success` field and MUST - * set the `rejected_` with the number of items it rejected. - * Servers MAY also make use of the `partial_success` field to convey - * warnings/suggestions to senders even when the request was fully accepted. - * In such cases, the `rejected_` MUST have a value of `0` and - * the `error_message` MUST be non-empty. - * A `partial_success` message with an empty value (rejected_ = 0 and - * `error_message` = "") is equivalent to it not being set/present. Senders - * SHOULD interpret it the same way as in the full success case. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Opentelemetry\Proto\Collector\Metrics\V1\MetricsService::initOnce(); - parent::__construct($data); - } - - /** - * The details of a partially successful export request. - * If the request is only partially accepted - * (i.e. when the server accepts only parts of the data and rejects the rest) - * the server MUST initialize the `partial_success` field and MUST - * set the `rejected_` with the number of items it rejected. - * Servers MAY also make use of the `partial_success` field to convey - * warnings/suggestions to senders even when the request was fully accepted. - * In such cases, the `rejected_` MUST have a value of `0` and - * the `error_message` MUST be non-empty. - * A `partial_success` message with an empty value (rejected_ = 0 and - * `error_message` = "") is equivalent to it not being set/present. Senders - * SHOULD interpret it the same way as in the full success case. - * - * Generated from protobuf field .opentelemetry.proto.collector.metrics.v1.ExportMetricsPartialSuccess partial_success = 1; - * @return \Opentelemetry\Proto\Collector\Metrics\V1\ExportMetricsPartialSuccess|null - */ - public function getPartialSuccess() - { - return $this->partial_success; - } - - public function hasPartialSuccess() - { - return isset($this->partial_success); - } - - public function clearPartialSuccess() - { - unset($this->partial_success); - } - - /** - * The details of a partially successful export request. - * If the request is only partially accepted - * (i.e. when the server accepts only parts of the data and rejects the rest) - * the server MUST initialize the `partial_success` field and MUST - * set the `rejected_` with the number of items it rejected. - * Servers MAY also make use of the `partial_success` field to convey - * warnings/suggestions to senders even when the request was fully accepted. - * In such cases, the `rejected_` MUST have a value of `0` and - * the `error_message` MUST be non-empty. - * A `partial_success` message with an empty value (rejected_ = 0 and - * `error_message` = "") is equivalent to it not being set/present. Senders - * SHOULD interpret it the same way as in the full success case. - * - * Generated from protobuf field .opentelemetry.proto.collector.metrics.v1.ExportMetricsPartialSuccess partial_success = 1; - * @param \Opentelemetry\Proto\Collector\Metrics\V1\ExportMetricsPartialSuccess $var - * @return $this - */ - public function setPartialSuccess($var) - { - GPBUtil::checkMessage($var, \Opentelemetry\Proto\Collector\Metrics\V1\ExportMetricsPartialSuccess::class); - $this->partial_success = $var; - - return $this; - } - -} - diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Metrics/V1/MetricsServiceClient.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Metrics/V1/MetricsServiceClient.php deleted file mode 100644 index b5cddb55a..000000000 --- a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Metrics/V1/MetricsServiceClient.php +++ /dev/null @@ -1,53 +0,0 @@ -_simpleRequest('/opentelemetry.proto.collector.metrics.v1.MetricsService/Export', - $argument, - ['\Opentelemetry\Proto\Collector\Metrics\V1\ExportMetricsServiceResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Trace/V1/ExportTracePartialSuccess.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Trace/V1/ExportTracePartialSuccess.php deleted file mode 100644 index 56bf54dda..000000000 --- a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Trace/V1/ExportTracePartialSuccess.php +++ /dev/null @@ -1,127 +0,0 @@ -opentelemetry.proto.collector.trace.v1.ExportTracePartialSuccess - */ -class ExportTracePartialSuccess extends \Google\Protobuf\Internal\Message -{ - /** - * The number of rejected spans. - * A `rejected_` field holding a `0` value indicates that the - * request was fully accepted. - * - * Generated from protobuf field int64 rejected_spans = 1; - */ - protected $rejected_spans = 0; - /** - * A developer-facing human-readable message in English. It should be used - * either to explain why the server rejected parts of the data during a partial - * success or to convey warnings/suggestions during a full success. The message - * should offer guidance on how users can address such issues. - * error_message is an optional field. An error_message with an empty value - * is equivalent to it not being set. - * - * Generated from protobuf field string error_message = 2; - */ - protected $error_message = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $rejected_spans - * The number of rejected spans. - * A `rejected_` field holding a `0` value indicates that the - * request was fully accepted. - * @type string $error_message - * A developer-facing human-readable message in English. It should be used - * either to explain why the server rejected parts of the data during a partial - * success or to convey warnings/suggestions during a full success. The message - * should offer guidance on how users can address such issues. - * error_message is an optional field. An error_message with an empty value - * is equivalent to it not being set. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Opentelemetry\Proto\Collector\Trace\V1\TraceService::initOnce(); - parent::__construct($data); - } - - /** - * The number of rejected spans. - * A `rejected_` field holding a `0` value indicates that the - * request was fully accepted. - * - * Generated from protobuf field int64 rejected_spans = 1; - * @return int|string - */ - public function getRejectedSpans() - { - return $this->rejected_spans; - } - - /** - * The number of rejected spans. - * A `rejected_` field holding a `0` value indicates that the - * request was fully accepted. - * - * Generated from protobuf field int64 rejected_spans = 1; - * @param int|string $var - * @return $this - */ - public function setRejectedSpans($var) - { - GPBUtil::checkInt64($var); - $this->rejected_spans = $var; - - return $this; - } - - /** - * A developer-facing human-readable message in English. It should be used - * either to explain why the server rejected parts of the data during a partial - * success or to convey warnings/suggestions during a full success. The message - * should offer guidance on how users can address such issues. - * error_message is an optional field. An error_message with an empty value - * is equivalent to it not being set. - * - * Generated from protobuf field string error_message = 2; - * @return string - */ - public function getErrorMessage() - { - return $this->error_message; - } - - /** - * A developer-facing human-readable message in English. It should be used - * either to explain why the server rejected parts of the data during a partial - * success or to convey warnings/suggestions during a full success. The message - * should offer guidance on how users can address such issues. - * error_message is an optional field. An error_message with an empty value - * is equivalent to it not being set. - * - * Generated from protobuf field string error_message = 2; - * @param string $var - * @return $this - */ - public function setErrorMessage($var) - { - GPBUtil::checkString($var, True); - $this->error_message = $var; - - return $this; - } - -} - diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Trace/V1/ExportTraceServiceRequest.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Trace/V1/ExportTraceServiceRequest.php deleted file mode 100644 index dc8bced18..000000000 --- a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Trace/V1/ExportTraceServiceRequest.php +++ /dev/null @@ -1,81 +0,0 @@ -opentelemetry.proto.collector.trace.v1.ExportTraceServiceRequest - */ -class ExportTraceServiceRequest extends \Google\Protobuf\Internal\Message -{ - /** - * An array of ResourceSpans. - * For data coming from a single resource this array will typically contain one - * element. Intermediary nodes (such as OpenTelemetry Collector) that receive - * data from multiple origins typically batch the data before forwarding further and - * in that case this array will contain multiple elements. - * - * Generated from protobuf field repeated .opentelemetry.proto.trace.v1.ResourceSpans resource_spans = 1; - */ - private $resource_spans; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Opentelemetry\Proto\Trace\V1\ResourceSpans[]|\Google\Protobuf\Internal\RepeatedField $resource_spans - * An array of ResourceSpans. - * For data coming from a single resource this array will typically contain one - * element. Intermediary nodes (such as OpenTelemetry Collector) that receive - * data from multiple origins typically batch the data before forwarding further and - * in that case this array will contain multiple elements. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Opentelemetry\Proto\Collector\Trace\V1\TraceService::initOnce(); - parent::__construct($data); - } - - /** - * An array of ResourceSpans. - * For data coming from a single resource this array will typically contain one - * element. Intermediary nodes (such as OpenTelemetry Collector) that receive - * data from multiple origins typically batch the data before forwarding further and - * in that case this array will contain multiple elements. - * - * Generated from protobuf field repeated .opentelemetry.proto.trace.v1.ResourceSpans resource_spans = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getResourceSpans() - { - return $this->resource_spans; - } - - /** - * An array of ResourceSpans. - * For data coming from a single resource this array will typically contain one - * element. Intermediary nodes (such as OpenTelemetry Collector) that receive - * data from multiple origins typically batch the data before forwarding further and - * in that case this array will contain multiple elements. - * - * Generated from protobuf field repeated .opentelemetry.proto.trace.v1.ResourceSpans resource_spans = 1; - * @param \Opentelemetry\Proto\Trace\V1\ResourceSpans[]|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setResourceSpans($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Opentelemetry\Proto\Trace\V1\ResourceSpans::class); - $this->resource_spans = $arr; - - return $this; - } - -} - diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Trace/V1/ExportTraceServiceResponse.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Trace/V1/ExportTraceServiceResponse.php deleted file mode 100644 index 27b03030a..000000000 --- a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Trace/V1/ExportTraceServiceResponse.php +++ /dev/null @@ -1,119 +0,0 @@ -opentelemetry.proto.collector.trace.v1.ExportTraceServiceResponse - */ -class ExportTraceServiceResponse extends \Google\Protobuf\Internal\Message -{ - /** - * The details of a partially successful export request. - * If the request is only partially accepted - * (i.e. when the server accepts only parts of the data and rejects the rest) - * the server MUST initialize the `partial_success` field and MUST - * set the `rejected_` with the number of items it rejected. - * Servers MAY also make use of the `partial_success` field to convey - * warnings/suggestions to senders even when the request was fully accepted. - * In such cases, the `rejected_` MUST have a value of `0` and - * the `error_message` MUST be non-empty. - * A `partial_success` message with an empty value (rejected_ = 0 and - * `error_message` = "") is equivalent to it not being set/present. Senders - * SHOULD interpret it the same way as in the full success case. - * - * Generated from protobuf field .opentelemetry.proto.collector.trace.v1.ExportTracePartialSuccess partial_success = 1; - */ - protected $partial_success = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Opentelemetry\Proto\Collector\Trace\V1\ExportTracePartialSuccess $partial_success - * The details of a partially successful export request. - * If the request is only partially accepted - * (i.e. when the server accepts only parts of the data and rejects the rest) - * the server MUST initialize the `partial_success` field and MUST - * set the `rejected_` with the number of items it rejected. - * Servers MAY also make use of the `partial_success` field to convey - * warnings/suggestions to senders even when the request was fully accepted. - * In such cases, the `rejected_` MUST have a value of `0` and - * the `error_message` MUST be non-empty. - * A `partial_success` message with an empty value (rejected_ = 0 and - * `error_message` = "") is equivalent to it not being set/present. Senders - * SHOULD interpret it the same way as in the full success case. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Opentelemetry\Proto\Collector\Trace\V1\TraceService::initOnce(); - parent::__construct($data); - } - - /** - * The details of a partially successful export request. - * If the request is only partially accepted - * (i.e. when the server accepts only parts of the data and rejects the rest) - * the server MUST initialize the `partial_success` field and MUST - * set the `rejected_` with the number of items it rejected. - * Servers MAY also make use of the `partial_success` field to convey - * warnings/suggestions to senders even when the request was fully accepted. - * In such cases, the `rejected_` MUST have a value of `0` and - * the `error_message` MUST be non-empty. - * A `partial_success` message with an empty value (rejected_ = 0 and - * `error_message` = "") is equivalent to it not being set/present. Senders - * SHOULD interpret it the same way as in the full success case. - * - * Generated from protobuf field .opentelemetry.proto.collector.trace.v1.ExportTracePartialSuccess partial_success = 1; - * @return \Opentelemetry\Proto\Collector\Trace\V1\ExportTracePartialSuccess|null - */ - public function getPartialSuccess() - { - return $this->partial_success; - } - - public function hasPartialSuccess() - { - return isset($this->partial_success); - } - - public function clearPartialSuccess() - { - unset($this->partial_success); - } - - /** - * The details of a partially successful export request. - * If the request is only partially accepted - * (i.e. when the server accepts only parts of the data and rejects the rest) - * the server MUST initialize the `partial_success` field and MUST - * set the `rejected_` with the number of items it rejected. - * Servers MAY also make use of the `partial_success` field to convey - * warnings/suggestions to senders even when the request was fully accepted. - * In such cases, the `rejected_` MUST have a value of `0` and - * the `error_message` MUST be non-empty. - * A `partial_success` message with an empty value (rejected_ = 0 and - * `error_message` = "") is equivalent to it not being set/present. Senders - * SHOULD interpret it the same way as in the full success case. - * - * Generated from protobuf field .opentelemetry.proto.collector.trace.v1.ExportTracePartialSuccess partial_success = 1; - * @param \Opentelemetry\Proto\Collector\Trace\V1\ExportTracePartialSuccess $var - * @return $this - */ - public function setPartialSuccess($var) - { - GPBUtil::checkMessage($var, \Opentelemetry\Proto\Collector\Trace\V1\ExportTracePartialSuccess::class); - $this->partial_success = $var; - - return $this; - } - -} - diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Trace/V1/TraceServiceClient.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Trace/V1/TraceServiceClient.php deleted file mode 100644 index 7a676b3e1..000000000 --- a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Trace/V1/TraceServiceClient.php +++ /dev/null @@ -1,53 +0,0 @@ -_simpleRequest('/opentelemetry.proto.collector.trace.v1.TraceService/Export', - $argument, - ['\Opentelemetry\Proto\Collector\Trace\V1\ExportTraceServiceResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Common/V1/AnyValue.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Common/V1/AnyValue.php deleted file mode 100644 index 89079de89..000000000 --- a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Common/V1/AnyValue.php +++ /dev/null @@ -1,240 +0,0 @@ -opentelemetry.proto.common.v1.AnyValue - */ -class AnyValue extends \Google\Protobuf\Internal\Message -{ - protected $value; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $string_value - * @type bool $bool_value - * @type int|string $int_value - * @type float $double_value - * @type \Opentelemetry\Proto\Common\V1\ArrayValue $array_value - * @type \Opentelemetry\Proto\Common\V1\KeyValueList $kvlist_value - * @type string $bytes_value - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Opentelemetry\Proto\Common\V1\Common::initOnce(); - parent::__construct($data); - } - - /** - * Generated from protobuf field string string_value = 1; - * @return string - */ - public function getStringValue() - { - return $this->readOneof(1); - } - - public function hasStringValue() - { - return $this->hasOneof(1); - } - - /** - * Generated from protobuf field string string_value = 1; - * @param string $var - * @return $this - */ - public function setStringValue($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * Generated from protobuf field bool bool_value = 2; - * @return bool - */ - public function getBoolValue() - { - return $this->readOneof(2); - } - - public function hasBoolValue() - { - return $this->hasOneof(2); - } - - /** - * Generated from protobuf field bool bool_value = 2; - * @param bool $var - * @return $this - */ - public function setBoolValue($var) - { - GPBUtil::checkBool($var); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * Generated from protobuf field int64 int_value = 3; - * @return int|string - */ - public function getIntValue() - { - return $this->readOneof(3); - } - - public function hasIntValue() - { - return $this->hasOneof(3); - } - - /** - * Generated from protobuf field int64 int_value = 3; - * @param int|string $var - * @return $this - */ - public function setIntValue($var) - { - GPBUtil::checkInt64($var); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * Generated from protobuf field double double_value = 4; - * @return float - */ - public function getDoubleValue() - { - return $this->readOneof(4); - } - - public function hasDoubleValue() - { - return $this->hasOneof(4); - } - - /** - * Generated from protobuf field double double_value = 4; - * @param float $var - * @return $this - */ - public function setDoubleValue($var) - { - GPBUtil::checkDouble($var); - $this->writeOneof(4, $var); - - return $this; - } - - /** - * Generated from protobuf field .opentelemetry.proto.common.v1.ArrayValue array_value = 5; - * @return \Opentelemetry\Proto\Common\V1\ArrayValue|null - */ - public function getArrayValue() - { - return $this->readOneof(5); - } - - public function hasArrayValue() - { - return $this->hasOneof(5); - } - - /** - * Generated from protobuf field .opentelemetry.proto.common.v1.ArrayValue array_value = 5; - * @param \Opentelemetry\Proto\Common\V1\ArrayValue $var - * @return $this - */ - public function setArrayValue($var) - { - GPBUtil::checkMessage($var, \Opentelemetry\Proto\Common\V1\ArrayValue::class); - $this->writeOneof(5, $var); - - return $this; - } - - /** - * Generated from protobuf field .opentelemetry.proto.common.v1.KeyValueList kvlist_value = 6; - * @return \Opentelemetry\Proto\Common\V1\KeyValueList|null - */ - public function getKvlistValue() - { - return $this->readOneof(6); - } - - public function hasKvlistValue() - { - return $this->hasOneof(6); - } - - /** - * Generated from protobuf field .opentelemetry.proto.common.v1.KeyValueList kvlist_value = 6; - * @param \Opentelemetry\Proto\Common\V1\KeyValueList $var - * @return $this - */ - public function setKvlistValue($var) - { - GPBUtil::checkMessage($var, \Opentelemetry\Proto\Common\V1\KeyValueList::class); - $this->writeOneof(6, $var); - - return $this; - } - - /** - * Generated from protobuf field bytes bytes_value = 7; - * @return string - */ - public function getBytesValue() - { - return $this->readOneof(7); - } - - public function hasBytesValue() - { - return $this->hasOneof(7); - } - - /** - * Generated from protobuf field bytes bytes_value = 7; - * @param string $var - * @return $this - */ - public function setBytesValue($var) - { - GPBUtil::checkString($var, False); - $this->writeOneof(7, $var); - - return $this; - } - - /** - * @return string - */ - public function getValue() - { - return $this->whichOneof("value"); - } - -} - diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Common/V1/ArrayValue.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Common/V1/ArrayValue.php deleted file mode 100644 index eccbba997..000000000 --- a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Common/V1/ArrayValue.php +++ /dev/null @@ -1,68 +0,0 @@ -opentelemetry.proto.common.v1.ArrayValue - */ -class ArrayValue extends \Google\Protobuf\Internal\Message -{ - /** - * Array of values. The array may be empty (contain 0 elements). - * - * Generated from protobuf field repeated .opentelemetry.proto.common.v1.AnyValue values = 1; - */ - private $values; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Opentelemetry\Proto\Common\V1\AnyValue[]|\Google\Protobuf\Internal\RepeatedField $values - * Array of values. The array may be empty (contain 0 elements). - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Opentelemetry\Proto\Common\V1\Common::initOnce(); - parent::__construct($data); - } - - /** - * Array of values. The array may be empty (contain 0 elements). - * - * Generated from protobuf field repeated .opentelemetry.proto.common.v1.AnyValue values = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getValues() - { - return $this->values; - } - - /** - * Array of values. The array may be empty (contain 0 elements). - * - * Generated from protobuf field repeated .opentelemetry.proto.common.v1.AnyValue values = 1; - * @param \Opentelemetry\Proto\Common\V1\AnyValue[]|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setValues($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Opentelemetry\Proto\Common\V1\AnyValue::class); - $this->values = $arr; - - return $this; - } - -} - diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Common/V1/InstrumentationLibrary.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Common/V1/InstrumentationLibrary.php deleted file mode 100644 index 7d012ad19..000000000 --- a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Common/V1/InstrumentationLibrary.php +++ /dev/null @@ -1,98 +0,0 @@ -opentelemetry.proto.common.v1.InstrumentationLibrary - */ -class InstrumentationLibrary extends \Google\Protobuf\Internal\Message -{ - /** - * An empty instrumentation library name means the name is unknown. - * - * Generated from protobuf field string name = 1; - */ - protected $name = ''; - /** - * Generated from protobuf field string version = 2; - */ - protected $version = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * An empty instrumentation library name means the name is unknown. - * @type string $version - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Opentelemetry\Proto\Common\V1\Common::initOnce(); - parent::__construct($data); - } - - /** - * An empty instrumentation library name means the name is unknown. - * - * Generated from protobuf field string name = 1; - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * An empty instrumentation library name means the name is unknown. - * - * Generated from protobuf field string name = 1; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * Generated from protobuf field string version = 2; - * @return string - */ - public function getVersion() - { - return $this->version; - } - - /** - * Generated from protobuf field string version = 2; - * @param string $var - * @return $this - */ - public function setVersion($var) - { - GPBUtil::checkString($var, True); - $this->version = $var; - - return $this; - } - -} - diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Common/V1/InstrumentationScope.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Common/V1/InstrumentationScope.php deleted file mode 100644 index d2b4b6f05..000000000 --- a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Common/V1/InstrumentationScope.php +++ /dev/null @@ -1,164 +0,0 @@ -opentelemetry.proto.common.v1.InstrumentationScope - */ -class InstrumentationScope extends \Google\Protobuf\Internal\Message -{ - /** - * An empty instrumentation scope name means the name is unknown. - * - * Generated from protobuf field string name = 1; - */ - protected $name = ''; - /** - * Generated from protobuf field string version = 2; - */ - protected $version = ''; - /** - * Additional attributes that describe the scope. [Optional]. - * Attribute keys MUST be unique (it is not allowed to have more than one - * attribute with the same key). - * - * Generated from protobuf field repeated .opentelemetry.proto.common.v1.KeyValue attributes = 3; - */ - private $attributes; - /** - * Generated from protobuf field uint32 dropped_attributes_count = 4; - */ - protected $dropped_attributes_count = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * An empty instrumentation scope name means the name is unknown. - * @type string $version - * @type \Opentelemetry\Proto\Common\V1\KeyValue[]|\Google\Protobuf\Internal\RepeatedField $attributes - * Additional attributes that describe the scope. [Optional]. - * Attribute keys MUST be unique (it is not allowed to have more than one - * attribute with the same key). - * @type int $dropped_attributes_count - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Opentelemetry\Proto\Common\V1\Common::initOnce(); - parent::__construct($data); - } - - /** - * An empty instrumentation scope name means the name is unknown. - * - * Generated from protobuf field string name = 1; - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * An empty instrumentation scope name means the name is unknown. - * - * Generated from protobuf field string name = 1; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * Generated from protobuf field string version = 2; - * @return string - */ - public function getVersion() - { - return $this->version; - } - - /** - * Generated from protobuf field string version = 2; - * @param string $var - * @return $this - */ - public function setVersion($var) - { - GPBUtil::checkString($var, True); - $this->version = $var; - - return $this; - } - - /** - * Additional attributes that describe the scope. [Optional]. - * Attribute keys MUST be unique (it is not allowed to have more than one - * attribute with the same key). - * - * Generated from protobuf field repeated .opentelemetry.proto.common.v1.KeyValue attributes = 3; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getAttributes() - { - return $this->attributes; - } - - /** - * Additional attributes that describe the scope. [Optional]. - * Attribute keys MUST be unique (it is not allowed to have more than one - * attribute with the same key). - * - * Generated from protobuf field repeated .opentelemetry.proto.common.v1.KeyValue attributes = 3; - * @param \Opentelemetry\Proto\Common\V1\KeyValue[]|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setAttributes($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Opentelemetry\Proto\Common\V1\KeyValue::class); - $this->attributes = $arr; - - return $this; - } - - /** - * Generated from protobuf field uint32 dropped_attributes_count = 4; - * @return int - */ - public function getDroppedAttributesCount() - { - return $this->dropped_attributes_count; - } - - /** - * Generated from protobuf field uint32 dropped_attributes_count = 4; - * @param int $var - * @return $this - */ - public function setDroppedAttributesCount($var) - { - GPBUtil::checkUint32($var); - $this->dropped_attributes_count = $var; - - return $this; - } - -} - diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Common/V1/KeyValue.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Common/V1/KeyValue.php deleted file mode 100644 index 6dfbdeb40..000000000 --- a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Common/V1/KeyValue.php +++ /dev/null @@ -1,98 +0,0 @@ -opentelemetry.proto.common.v1.KeyValue - */ -class KeyValue extends \Google\Protobuf\Internal\Message -{ - /** - * Generated from protobuf field string key = 1; - */ - protected $key = ''; - /** - * Generated from protobuf field .opentelemetry.proto.common.v1.AnyValue value = 2; - */ - protected $value = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $key - * @type \Opentelemetry\Proto\Common\V1\AnyValue $value - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Opentelemetry\Proto\Common\V1\Common::initOnce(); - parent::__construct($data); - } - - /** - * Generated from protobuf field string key = 1; - * @return string - */ - public function getKey() - { - return $this->key; - } - - /** - * Generated from protobuf field string key = 1; - * @param string $var - * @return $this - */ - public function setKey($var) - { - GPBUtil::checkString($var, True); - $this->key = $var; - - return $this; - } - - /** - * Generated from protobuf field .opentelemetry.proto.common.v1.AnyValue value = 2; - * @return \Opentelemetry\Proto\Common\V1\AnyValue|null - */ - public function getValue() - { - return $this->value; - } - - public function hasValue() - { - return isset($this->value); - } - - public function clearValue() - { - unset($this->value); - } - - /** - * Generated from protobuf field .opentelemetry.proto.common.v1.AnyValue value = 2; - * @param \Opentelemetry\Proto\Common\V1\AnyValue $var - * @return $this - */ - public function setValue($var) - { - GPBUtil::checkMessage($var, \Opentelemetry\Proto\Common\V1\AnyValue::class); - $this->value = $var; - - return $this; - } - -} - diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Common/V1/KeyValueList.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Common/V1/KeyValueList.php deleted file mode 100644 index 51fb628ae..000000000 --- a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Common/V1/KeyValueList.php +++ /dev/null @@ -1,83 +0,0 @@ -opentelemetry.proto.common.v1.KeyValueList - */ -class KeyValueList extends \Google\Protobuf\Internal\Message -{ - /** - * A collection of key/value pairs of key-value pairs. The list may be empty (may - * contain 0 elements). - * The keys MUST be unique (it is not allowed to have more than one - * value with the same key). - * - * Generated from protobuf field repeated .opentelemetry.proto.common.v1.KeyValue values = 1; - */ - private $values; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Opentelemetry\Proto\Common\V1\KeyValue[]|\Google\Protobuf\Internal\RepeatedField $values - * A collection of key/value pairs of key-value pairs. The list may be empty (may - * contain 0 elements). - * The keys MUST be unique (it is not allowed to have more than one - * value with the same key). - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Opentelemetry\Proto\Common\V1\Common::initOnce(); - parent::__construct($data); - } - - /** - * A collection of key/value pairs of key-value pairs. The list may be empty (may - * contain 0 elements). - * The keys MUST be unique (it is not allowed to have more than one - * value with the same key). - * - * Generated from protobuf field repeated .opentelemetry.proto.common.v1.KeyValue values = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getValues() - { - return $this->values; - } - - /** - * A collection of key/value pairs of key-value pairs. The list may be empty (may - * contain 0 elements). - * The keys MUST be unique (it is not allowed to have more than one - * value with the same key). - * - * Generated from protobuf field repeated .opentelemetry.proto.common.v1.KeyValue values = 1; - * @param \Opentelemetry\Proto\Common\V1\KeyValue[]|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setValues($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Opentelemetry\Proto\Common\V1\KeyValue::class); - $this->values = $arr; - - return $this; - } - -} - diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Common/V1/StringKeyValue.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Common/V1/StringKeyValue.php deleted file mode 100644 index c508dd1aa..000000000 --- a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Common/V1/StringKeyValue.php +++ /dev/null @@ -1,88 +0,0 @@ -opentelemetry.proto.common.v1.StringKeyValue - */ -class StringKeyValue extends \Google\Protobuf\Internal\Message -{ - /** - * Generated from protobuf field string key = 1; - */ - protected $key = ''; - /** - * Generated from protobuf field string value = 2; - */ - protected $value = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $key - * @type string $value - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Opentelemetry\Proto\Common\V1\Common::initOnce(); - parent::__construct($data); - } - - /** - * Generated from protobuf field string key = 1; - * @return string - */ - public function getKey() - { - return $this->key; - } - - /** - * Generated from protobuf field string key = 1; - * @param string $var - * @return $this - */ - public function setKey($var) - { - GPBUtil::checkString($var, True); - $this->key = $var; - - return $this; - } - - /** - * Generated from protobuf field string value = 2; - * @return string - */ - public function getValue() - { - return $this->value; - } - - /** - * Generated from protobuf field string value = 2; - * @param string $var - * @return $this - */ - public function setValue($var) - { - GPBUtil::checkString($var, True); - $this->value = $var; - - return $this; - } - -} - diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Logs/V1/InstrumentationLibraryLogs.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Logs/V1/InstrumentationLibraryLogs.php deleted file mode 100644 index e43654641..000000000 --- a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Logs/V1/InstrumentationLibraryLogs.php +++ /dev/null @@ -1,156 +0,0 @@ -opentelemetry.proto.logs.v1.InstrumentationLibraryLogs - */ -class InstrumentationLibraryLogs extends \Google\Protobuf\Internal\Message -{ - /** - * The instrumentation library information for the logs in this message. - * Semantically when InstrumentationLibrary isn't set, it is equivalent with - * an empty instrumentation library name (unknown). - * - * Generated from protobuf field .opentelemetry.proto.common.v1.InstrumentationLibrary instrumentation_library = 1; - */ - protected $instrumentation_library = null; - /** - * A list of logs that originate from an instrumentation library. - * - * Generated from protobuf field repeated .opentelemetry.proto.logs.v1.LogRecord log_records = 2; - */ - private $log_records; - /** - * This schema_url applies to all logs in the "logs" field. - * - * Generated from protobuf field string schema_url = 3; - */ - protected $schema_url = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Opentelemetry\Proto\Common\V1\InstrumentationLibrary $instrumentation_library - * The instrumentation library information for the logs in this message. - * Semantically when InstrumentationLibrary isn't set, it is equivalent with - * an empty instrumentation library name (unknown). - * @type \Opentelemetry\Proto\Logs\V1\LogRecord[]|\Google\Protobuf\Internal\RepeatedField $log_records - * A list of logs that originate from an instrumentation library. - * @type string $schema_url - * This schema_url applies to all logs in the "logs" field. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Opentelemetry\Proto\Logs\V1\Logs::initOnce(); - parent::__construct($data); - } - - /** - * The instrumentation library information for the logs in this message. - * Semantically when InstrumentationLibrary isn't set, it is equivalent with - * an empty instrumentation library name (unknown). - * - * Generated from protobuf field .opentelemetry.proto.common.v1.InstrumentationLibrary instrumentation_library = 1; - * @return \Opentelemetry\Proto\Common\V1\InstrumentationLibrary|null - */ - public function getInstrumentationLibrary() - { - return $this->instrumentation_library; - } - - public function hasInstrumentationLibrary() - { - return isset($this->instrumentation_library); - } - - public function clearInstrumentationLibrary() - { - unset($this->instrumentation_library); - } - - /** - * The instrumentation library information for the logs in this message. - * Semantically when InstrumentationLibrary isn't set, it is equivalent with - * an empty instrumentation library name (unknown). - * - * Generated from protobuf field .opentelemetry.proto.common.v1.InstrumentationLibrary instrumentation_library = 1; - * @param \Opentelemetry\Proto\Common\V1\InstrumentationLibrary $var - * @return $this - */ - public function setInstrumentationLibrary($var) - { - GPBUtil::checkMessage($var, \Opentelemetry\Proto\Common\V1\InstrumentationLibrary::class); - $this->instrumentation_library = $var; - - return $this; - } - - /** - * A list of logs that originate from an instrumentation library. - * - * Generated from protobuf field repeated .opentelemetry.proto.logs.v1.LogRecord log_records = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getLogRecords() - { - return $this->log_records; - } - - /** - * A list of logs that originate from an instrumentation library. - * - * Generated from protobuf field repeated .opentelemetry.proto.logs.v1.LogRecord log_records = 2; - * @param \Opentelemetry\Proto\Logs\V1\LogRecord[]|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setLogRecords($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Opentelemetry\Proto\Logs\V1\LogRecord::class); - $this->log_records = $arr; - - return $this; - } - - /** - * This schema_url applies to all logs in the "logs" field. - * - * Generated from protobuf field string schema_url = 3; - * @return string - */ - public function getSchemaUrl() - { - return $this->schema_url; - } - - /** - * This schema_url applies to all logs in the "logs" field. - * - * Generated from protobuf field string schema_url = 3; - * @param string $var - * @return $this - */ - public function setSchemaUrl($var) - { - GPBUtil::checkString($var, True); - $this->schema_url = $var; - - return $this; - } - -} - diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Logs/V1/LogRecord.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Logs/V1/LogRecord.php deleted file mode 100644 index caca11f87..000000000 --- a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Logs/V1/LogRecord.php +++ /dev/null @@ -1,541 +0,0 @@ -opentelemetry.proto.logs.v1.LogRecord - */ -class LogRecord extends \Google\Protobuf\Internal\Message -{ - /** - * time_unix_nano is the time when the event occurred. - * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January 1970. - * Value of 0 indicates unknown or missing timestamp. - * - * Generated from protobuf field fixed64 time_unix_nano = 1; - */ - protected $time_unix_nano = 0; - /** - * Time when the event was observed by the collection system. - * For events that originate in OpenTelemetry (e.g. using OpenTelemetry Logging SDK) - * this timestamp is typically set at the generation time and is equal to Timestamp. - * For events originating externally and collected by OpenTelemetry (e.g. using - * Collector) this is the time when OpenTelemetry's code observed the event measured - * by the clock of the OpenTelemetry code. This field MUST be set once the event is - * observed by OpenTelemetry. - * For converting OpenTelemetry log data to formats that support only one timestamp or - * when receiving OpenTelemetry log data by recipients that support only one timestamp - * internally the following logic is recommended: - * - Use time_unix_nano if it is present, otherwise use observed_time_unix_nano. - * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January 1970. - * Value of 0 indicates unknown or missing timestamp. - * - * Generated from protobuf field fixed64 observed_time_unix_nano = 11; - */ - protected $observed_time_unix_nano = 0; - /** - * Numerical value of the severity, normalized to values described in Log Data Model. - * [Optional]. - * - * Generated from protobuf field .opentelemetry.proto.logs.v1.SeverityNumber severity_number = 2; - */ - protected $severity_number = 0; - /** - * The severity text (also known as log level). The original string representation as - * it is known at the source. [Optional]. - * - * Generated from protobuf field string severity_text = 3; - */ - protected $severity_text = ''; - /** - * A value containing the body of the log record. Can be for example a human-readable - * string message (including multi-line) describing the event in a free form or it can - * be a structured data composed of arrays and maps of other values. [Optional]. - * - * Generated from protobuf field .opentelemetry.proto.common.v1.AnyValue body = 5; - */ - protected $body = null; - /** - * Additional attributes that describe the specific event occurrence. [Optional]. - * Attribute keys MUST be unique (it is not allowed to have more than one - * attribute with the same key). - * - * Generated from protobuf field repeated .opentelemetry.proto.common.v1.KeyValue attributes = 6; - */ - private $attributes; - /** - * Generated from protobuf field uint32 dropped_attributes_count = 7; - */ - protected $dropped_attributes_count = 0; - /** - * Flags, a bit field. 8 least significant bits are the trace flags as - * defined in W3C Trace Context specification. 24 most significant bits are reserved - * and must be set to 0. Readers must not assume that 24 most significant bits - * will be zero and must correctly mask the bits when reading 8-bit trace flag (use - * flags & LOG_RECORD_FLAGS_TRACE_FLAGS_MASK). [Optional]. - * - * Generated from protobuf field fixed32 flags = 8; - */ - protected $flags = 0; - /** - * A unique identifier for a trace. All logs from the same trace share - * the same `trace_id`. The ID is a 16-byte array. An ID with all zeroes OR - * of length other than 16 bytes is considered invalid (empty string in OTLP/JSON - * is zero-length and thus is also invalid). - * This field is optional. - * The receivers SHOULD assume that the log record is not associated with a - * trace if any of the following is true: - * - the field is not present, - * - the field contains an invalid value. - * - * Generated from protobuf field bytes trace_id = 9; - */ - protected $trace_id = ''; - /** - * A unique identifier for a span within a trace, assigned when the span - * is created. The ID is an 8-byte array. An ID with all zeroes OR of length - * other than 8 bytes is considered invalid (empty string in OTLP/JSON - * is zero-length and thus is also invalid). - * This field is optional. If the sender specifies a valid span_id then it SHOULD also - * specify a valid trace_id. - * The receivers SHOULD assume that the log record is not associated with a - * span if any of the following is true: - * - the field is not present, - * - the field contains an invalid value. - * - * Generated from protobuf field bytes span_id = 10; - */ - protected $span_id = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $time_unix_nano - * time_unix_nano is the time when the event occurred. - * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January 1970. - * Value of 0 indicates unknown or missing timestamp. - * @type int|string $observed_time_unix_nano - * Time when the event was observed by the collection system. - * For events that originate in OpenTelemetry (e.g. using OpenTelemetry Logging SDK) - * this timestamp is typically set at the generation time and is equal to Timestamp. - * For events originating externally and collected by OpenTelemetry (e.g. using - * Collector) this is the time when OpenTelemetry's code observed the event measured - * by the clock of the OpenTelemetry code. This field MUST be set once the event is - * observed by OpenTelemetry. - * For converting OpenTelemetry log data to formats that support only one timestamp or - * when receiving OpenTelemetry log data by recipients that support only one timestamp - * internally the following logic is recommended: - * - Use time_unix_nano if it is present, otherwise use observed_time_unix_nano. - * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January 1970. - * Value of 0 indicates unknown or missing timestamp. - * @type int $severity_number - * Numerical value of the severity, normalized to values described in Log Data Model. - * [Optional]. - * @type string $severity_text - * The severity text (also known as log level). The original string representation as - * it is known at the source. [Optional]. - * @type \Opentelemetry\Proto\Common\V1\AnyValue $body - * A value containing the body of the log record. Can be for example a human-readable - * string message (including multi-line) describing the event in a free form or it can - * be a structured data composed of arrays and maps of other values. [Optional]. - * @type \Opentelemetry\Proto\Common\V1\KeyValue[]|\Google\Protobuf\Internal\RepeatedField $attributes - * Additional attributes that describe the specific event occurrence. [Optional]. - * Attribute keys MUST be unique (it is not allowed to have more than one - * attribute with the same key). - * @type int $dropped_attributes_count - * @type int $flags - * Flags, a bit field. 8 least significant bits are the trace flags as - * defined in W3C Trace Context specification. 24 most significant bits are reserved - * and must be set to 0. Readers must not assume that 24 most significant bits - * will be zero and must correctly mask the bits when reading 8-bit trace flag (use - * flags & LOG_RECORD_FLAGS_TRACE_FLAGS_MASK). [Optional]. - * @type string $trace_id - * A unique identifier for a trace. All logs from the same trace share - * the same `trace_id`. The ID is a 16-byte array. An ID with all zeroes OR - * of length other than 16 bytes is considered invalid (empty string in OTLP/JSON - * is zero-length and thus is also invalid). - * This field is optional. - * The receivers SHOULD assume that the log record is not associated with a - * trace if any of the following is true: - * - the field is not present, - * - the field contains an invalid value. - * @type string $span_id - * A unique identifier for a span within a trace, assigned when the span - * is created. The ID is an 8-byte array. An ID with all zeroes OR of length - * other than 8 bytes is considered invalid (empty string in OTLP/JSON - * is zero-length and thus is also invalid). - * This field is optional. If the sender specifies a valid span_id then it SHOULD also - * specify a valid trace_id. - * The receivers SHOULD assume that the log record is not associated with a - * span if any of the following is true: - * - the field is not present, - * - the field contains an invalid value. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Opentelemetry\Proto\Logs\V1\Logs::initOnce(); - parent::__construct($data); - } - - /** - * time_unix_nano is the time when the event occurred. - * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January 1970. - * Value of 0 indicates unknown or missing timestamp. - * - * Generated from protobuf field fixed64 time_unix_nano = 1; - * @return int|string - */ - public function getTimeUnixNano() - { - return $this->time_unix_nano; - } - - /** - * time_unix_nano is the time when the event occurred. - * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January 1970. - * Value of 0 indicates unknown or missing timestamp. - * - * Generated from protobuf field fixed64 time_unix_nano = 1; - * @param int|string $var - * @return $this - */ - public function setTimeUnixNano($var) - { - GPBUtil::checkUint64($var); - $this->time_unix_nano = $var; - - return $this; - } - - /** - * Time when the event was observed by the collection system. - * For events that originate in OpenTelemetry (e.g. using OpenTelemetry Logging SDK) - * this timestamp is typically set at the generation time and is equal to Timestamp. - * For events originating externally and collected by OpenTelemetry (e.g. using - * Collector) this is the time when OpenTelemetry's code observed the event measured - * by the clock of the OpenTelemetry code. This field MUST be set once the event is - * observed by OpenTelemetry. - * For converting OpenTelemetry log data to formats that support only one timestamp or - * when receiving OpenTelemetry log data by recipients that support only one timestamp - * internally the following logic is recommended: - * - Use time_unix_nano if it is present, otherwise use observed_time_unix_nano. - * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January 1970. - * Value of 0 indicates unknown or missing timestamp. - * - * Generated from protobuf field fixed64 observed_time_unix_nano = 11; - * @return int|string - */ - public function getObservedTimeUnixNano() - { - return $this->observed_time_unix_nano; - } - - /** - * Time when the event was observed by the collection system. - * For events that originate in OpenTelemetry (e.g. using OpenTelemetry Logging SDK) - * this timestamp is typically set at the generation time and is equal to Timestamp. - * For events originating externally and collected by OpenTelemetry (e.g. using - * Collector) this is the time when OpenTelemetry's code observed the event measured - * by the clock of the OpenTelemetry code. This field MUST be set once the event is - * observed by OpenTelemetry. - * For converting OpenTelemetry log data to formats that support only one timestamp or - * when receiving OpenTelemetry log data by recipients that support only one timestamp - * internally the following logic is recommended: - * - Use time_unix_nano if it is present, otherwise use observed_time_unix_nano. - * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January 1970. - * Value of 0 indicates unknown or missing timestamp. - * - * Generated from protobuf field fixed64 observed_time_unix_nano = 11; - * @param int|string $var - * @return $this - */ - public function setObservedTimeUnixNano($var) - { - GPBUtil::checkUint64($var); - $this->observed_time_unix_nano = $var; - - return $this; - } - - /** - * Numerical value of the severity, normalized to values described in Log Data Model. - * [Optional]. - * - * Generated from protobuf field .opentelemetry.proto.logs.v1.SeverityNumber severity_number = 2; - * @return int - */ - public function getSeverityNumber() - { - return $this->severity_number; - } - - /** - * Numerical value of the severity, normalized to values described in Log Data Model. - * [Optional]. - * - * Generated from protobuf field .opentelemetry.proto.logs.v1.SeverityNumber severity_number = 2; - * @param int $var - * @return $this - */ - public function setSeverityNumber($var) - { - GPBUtil::checkEnum($var, \Opentelemetry\Proto\Logs\V1\SeverityNumber::class); - $this->severity_number = $var; - - return $this; - } - - /** - * The severity text (also known as log level). The original string representation as - * it is known at the source. [Optional]. - * - * Generated from protobuf field string severity_text = 3; - * @return string - */ - public function getSeverityText() - { - return $this->severity_text; - } - - /** - * The severity text (also known as log level). The original string representation as - * it is known at the source. [Optional]. - * - * Generated from protobuf field string severity_text = 3; - * @param string $var - * @return $this - */ - public function setSeverityText($var) - { - GPBUtil::checkString($var, True); - $this->severity_text = $var; - - return $this; - } - - /** - * A value containing the body of the log record. Can be for example a human-readable - * string message (including multi-line) describing the event in a free form or it can - * be a structured data composed of arrays and maps of other values. [Optional]. - * - * Generated from protobuf field .opentelemetry.proto.common.v1.AnyValue body = 5; - * @return \Opentelemetry\Proto\Common\V1\AnyValue|null - */ - public function getBody() - { - return $this->body; - } - - public function hasBody() - { - return isset($this->body); - } - - public function clearBody() - { - unset($this->body); - } - - /** - * A value containing the body of the log record. Can be for example a human-readable - * string message (including multi-line) describing the event in a free form or it can - * be a structured data composed of arrays and maps of other values. [Optional]. - * - * Generated from protobuf field .opentelemetry.proto.common.v1.AnyValue body = 5; - * @param \Opentelemetry\Proto\Common\V1\AnyValue $var - * @return $this - */ - public function setBody($var) - { - GPBUtil::checkMessage($var, \Opentelemetry\Proto\Common\V1\AnyValue::class); - $this->body = $var; - - return $this; - } - - /** - * Additional attributes that describe the specific event occurrence. [Optional]. - * Attribute keys MUST be unique (it is not allowed to have more than one - * attribute with the same key). - * - * Generated from protobuf field repeated .opentelemetry.proto.common.v1.KeyValue attributes = 6; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getAttributes() - { - return $this->attributes; - } - - /** - * Additional attributes that describe the specific event occurrence. [Optional]. - * Attribute keys MUST be unique (it is not allowed to have more than one - * attribute with the same key). - * - * Generated from protobuf field repeated .opentelemetry.proto.common.v1.KeyValue attributes = 6; - * @param \Opentelemetry\Proto\Common\V1\KeyValue[]|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setAttributes($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Opentelemetry\Proto\Common\V1\KeyValue::class); - $this->attributes = $arr; - - return $this; - } - - /** - * Generated from protobuf field uint32 dropped_attributes_count = 7; - * @return int - */ - public function getDroppedAttributesCount() - { - return $this->dropped_attributes_count; - } - - /** - * Generated from protobuf field uint32 dropped_attributes_count = 7; - * @param int $var - * @return $this - */ - public function setDroppedAttributesCount($var) - { - GPBUtil::checkUint32($var); - $this->dropped_attributes_count = $var; - - return $this; - } - - /** - * Flags, a bit field. 8 least significant bits are the trace flags as - * defined in W3C Trace Context specification. 24 most significant bits are reserved - * and must be set to 0. Readers must not assume that 24 most significant bits - * will be zero and must correctly mask the bits when reading 8-bit trace flag (use - * flags & LOG_RECORD_FLAGS_TRACE_FLAGS_MASK). [Optional]. - * - * Generated from protobuf field fixed32 flags = 8; - * @return int - */ - public function getFlags() - { - return $this->flags; - } - - /** - * Flags, a bit field. 8 least significant bits are the trace flags as - * defined in W3C Trace Context specification. 24 most significant bits are reserved - * and must be set to 0. Readers must not assume that 24 most significant bits - * will be zero and must correctly mask the bits when reading 8-bit trace flag (use - * flags & LOG_RECORD_FLAGS_TRACE_FLAGS_MASK). [Optional]. - * - * Generated from protobuf field fixed32 flags = 8; - * @param int $var - * @return $this - */ - public function setFlags($var) - { - GPBUtil::checkUint32($var); - $this->flags = $var; - - return $this; - } - - /** - * A unique identifier for a trace. All logs from the same trace share - * the same `trace_id`. The ID is a 16-byte array. An ID with all zeroes OR - * of length other than 16 bytes is considered invalid (empty string in OTLP/JSON - * is zero-length and thus is also invalid). - * This field is optional. - * The receivers SHOULD assume that the log record is not associated with a - * trace if any of the following is true: - * - the field is not present, - * - the field contains an invalid value. - * - * Generated from protobuf field bytes trace_id = 9; - * @return string - */ - public function getTraceId() - { - return $this->trace_id; - } - - /** - * A unique identifier for a trace. All logs from the same trace share - * the same `trace_id`. The ID is a 16-byte array. An ID with all zeroes OR - * of length other than 16 bytes is considered invalid (empty string in OTLP/JSON - * is zero-length and thus is also invalid). - * This field is optional. - * The receivers SHOULD assume that the log record is not associated with a - * trace if any of the following is true: - * - the field is not present, - * - the field contains an invalid value. - * - * Generated from protobuf field bytes trace_id = 9; - * @param string $var - * @return $this - */ - public function setTraceId($var) - { - GPBUtil::checkString($var, False); - $this->trace_id = $var; - - return $this; - } - - /** - * A unique identifier for a span within a trace, assigned when the span - * is created. The ID is an 8-byte array. An ID with all zeroes OR of length - * other than 8 bytes is considered invalid (empty string in OTLP/JSON - * is zero-length and thus is also invalid). - * This field is optional. If the sender specifies a valid span_id then it SHOULD also - * specify a valid trace_id. - * The receivers SHOULD assume that the log record is not associated with a - * span if any of the following is true: - * - the field is not present, - * - the field contains an invalid value. - * - * Generated from protobuf field bytes span_id = 10; - * @return string - */ - public function getSpanId() - { - return $this->span_id; - } - - /** - * A unique identifier for a span within a trace, assigned when the span - * is created. The ID is an 8-byte array. An ID with all zeroes OR of length - * other than 8 bytes is considered invalid (empty string in OTLP/JSON - * is zero-length and thus is also invalid). - * This field is optional. If the sender specifies a valid span_id then it SHOULD also - * specify a valid trace_id. - * The receivers SHOULD assume that the log record is not associated with a - * span if any of the following is true: - * - the field is not present, - * - the field contains an invalid value. - * - * Generated from protobuf field bytes span_id = 10; - * @param string $var - * @return $this - */ - public function setSpanId($var) - { - GPBUtil::checkString($var, False); - $this->span_id = $var; - - return $this; - } - -} - diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Logs/V1/LogRecordFlags.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Logs/V1/LogRecordFlags.php deleted file mode 100644 index de6f38899..000000000 --- a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Logs/V1/LogRecordFlags.php +++ /dev/null @@ -1,58 +0,0 @@ -opentelemetry.proto.logs.v1.LogRecordFlags - */ -class LogRecordFlags -{ - /** - * The zero value for the enum. Should not be used for comparisons. - * Instead use bitwise "and" with the appropriate mask as shown above. - * - * Generated from protobuf enum LOG_RECORD_FLAGS_DO_NOT_USE = 0; - */ - const LOG_RECORD_FLAGS_DO_NOT_USE = 0; - /** - * Bits 0-7 are used for trace flags. - * - * Generated from protobuf enum LOG_RECORD_FLAGS_TRACE_FLAGS_MASK = 255; - */ - const LOG_RECORD_FLAGS_TRACE_FLAGS_MASK = 255; - - private static $valueToName = [ - self::LOG_RECORD_FLAGS_DO_NOT_USE => 'LOG_RECORD_FLAGS_DO_NOT_USE', - self::LOG_RECORD_FLAGS_TRACE_FLAGS_MASK => 'LOG_RECORD_FLAGS_TRACE_FLAGS_MASK', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Logs/V1/LogsData.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Logs/V1/LogsData.php deleted file mode 100644 index 90db06035..000000000 --- a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Logs/V1/LogsData.php +++ /dev/null @@ -1,90 +0,0 @@ -opentelemetry.proto.logs.v1.LogsData - */ -class LogsData extends \Google\Protobuf\Internal\Message -{ - /** - * An array of ResourceLogs. - * For data coming from a single resource this array will typically contain - * one element. Intermediary nodes that receive data from multiple origins - * typically batch the data before forwarding further and in that case this - * array will contain multiple elements. - * - * Generated from protobuf field repeated .opentelemetry.proto.logs.v1.ResourceLogs resource_logs = 1; - */ - private $resource_logs; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Opentelemetry\Proto\Logs\V1\ResourceLogs[]|\Google\Protobuf\Internal\RepeatedField $resource_logs - * An array of ResourceLogs. - * For data coming from a single resource this array will typically contain - * one element. Intermediary nodes that receive data from multiple origins - * typically batch the data before forwarding further and in that case this - * array will contain multiple elements. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Opentelemetry\Proto\Logs\V1\Logs::initOnce(); - parent::__construct($data); - } - - /** - * An array of ResourceLogs. - * For data coming from a single resource this array will typically contain - * one element. Intermediary nodes that receive data from multiple origins - * typically batch the data before forwarding further and in that case this - * array will contain multiple elements. - * - * Generated from protobuf field repeated .opentelemetry.proto.logs.v1.ResourceLogs resource_logs = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getResourceLogs() - { - return $this->resource_logs; - } - - /** - * An array of ResourceLogs. - * For data coming from a single resource this array will typically contain - * one element. Intermediary nodes that receive data from multiple origins - * typically batch the data before forwarding further and in that case this - * array will contain multiple elements. - * - * Generated from protobuf field repeated .opentelemetry.proto.logs.v1.ResourceLogs resource_logs = 1; - * @param \Opentelemetry\Proto\Logs\V1\ResourceLogs[]|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setResourceLogs($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Opentelemetry\Proto\Logs\V1\ResourceLogs::class); - $this->resource_logs = $arr; - - return $this; - } - -} - diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Logs/V1/ResourceLogs.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Logs/V1/ResourceLogs.php deleted file mode 100644 index 2049339d4..000000000 --- a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Logs/V1/ResourceLogs.php +++ /dev/null @@ -1,153 +0,0 @@ -opentelemetry.proto.logs.v1.ResourceLogs - */ -class ResourceLogs extends \Google\Protobuf\Internal\Message -{ - /** - * The resource for the logs in this message. - * If this field is not set then resource info is unknown. - * - * Generated from protobuf field .opentelemetry.proto.resource.v1.Resource resource = 1; - */ - protected $resource = null; - /** - * A list of ScopeLogs that originate from a resource. - * - * Generated from protobuf field repeated .opentelemetry.proto.logs.v1.ScopeLogs scope_logs = 2; - */ - private $scope_logs; - /** - * This schema_url applies to the data in the "resource" field. It does not apply - * to the data in the "scope_logs" field which have their own schema_url field. - * - * Generated from protobuf field string schema_url = 3; - */ - protected $schema_url = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Opentelemetry\Proto\Resource\V1\Resource $resource - * The resource for the logs in this message. - * If this field is not set then resource info is unknown. - * @type \Opentelemetry\Proto\Logs\V1\ScopeLogs[]|\Google\Protobuf\Internal\RepeatedField $scope_logs - * A list of ScopeLogs that originate from a resource. - * @type string $schema_url - * This schema_url applies to the data in the "resource" field. It does not apply - * to the data in the "scope_logs" field which have their own schema_url field. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Opentelemetry\Proto\Logs\V1\Logs::initOnce(); - parent::__construct($data); - } - - /** - * The resource for the logs in this message. - * If this field is not set then resource info is unknown. - * - * Generated from protobuf field .opentelemetry.proto.resource.v1.Resource resource = 1; - * @return \Opentelemetry\Proto\Resource\V1\Resource|null - */ - public function getResource() - { - return $this->resource; - } - - public function hasResource() - { - return isset($this->resource); - } - - public function clearResource() - { - unset($this->resource); - } - - /** - * The resource for the logs in this message. - * If this field is not set then resource info is unknown. - * - * Generated from protobuf field .opentelemetry.proto.resource.v1.Resource resource = 1; - * @param \Opentelemetry\Proto\Resource\V1\Resource $var - * @return $this - */ - public function setResource($var) - { - GPBUtil::checkMessage($var, \Opentelemetry\Proto\Resource\V1\Resource::class); - $this->resource = $var; - - return $this; - } - - /** - * A list of ScopeLogs that originate from a resource. - * - * Generated from protobuf field repeated .opentelemetry.proto.logs.v1.ScopeLogs scope_logs = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getScopeLogs() - { - return $this->scope_logs; - } - - /** - * A list of ScopeLogs that originate from a resource. - * - * Generated from protobuf field repeated .opentelemetry.proto.logs.v1.ScopeLogs scope_logs = 2; - * @param \Opentelemetry\Proto\Logs\V1\ScopeLogs[]|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setScopeLogs($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Opentelemetry\Proto\Logs\V1\ScopeLogs::class); - $this->scope_logs = $arr; - - return $this; - } - - /** - * This schema_url applies to the data in the "resource" field. It does not apply - * to the data in the "scope_logs" field which have their own schema_url field. - * - * Generated from protobuf field string schema_url = 3; - * @return string - */ - public function getSchemaUrl() - { - return $this->schema_url; - } - - /** - * This schema_url applies to the data in the "resource" field. It does not apply - * to the data in the "scope_logs" field which have their own schema_url field. - * - * Generated from protobuf field string schema_url = 3; - * @param string $var - * @return $this - */ - public function setSchemaUrl($var) - { - GPBUtil::checkString($var, True); - $this->schema_url = $var; - - return $this; - } - -} - diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Logs/V1/ScopeLogs.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Logs/V1/ScopeLogs.php deleted file mode 100644 index 8c5a94821..000000000 --- a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Logs/V1/ScopeLogs.php +++ /dev/null @@ -1,153 +0,0 @@ -opentelemetry.proto.logs.v1.ScopeLogs - */ -class ScopeLogs extends \Google\Protobuf\Internal\Message -{ - /** - * The instrumentation scope information for the logs in this message. - * Semantically when InstrumentationScope isn't set, it is equivalent with - * an empty instrumentation scope name (unknown). - * - * Generated from protobuf field .opentelemetry.proto.common.v1.InstrumentationScope scope = 1; - */ - protected $scope = null; - /** - * A list of log records. - * - * Generated from protobuf field repeated .opentelemetry.proto.logs.v1.LogRecord log_records = 2; - */ - private $log_records; - /** - * This schema_url applies to all logs in the "logs" field. - * - * Generated from protobuf field string schema_url = 3; - */ - protected $schema_url = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Opentelemetry\Proto\Common\V1\InstrumentationScope $scope - * The instrumentation scope information for the logs in this message. - * Semantically when InstrumentationScope isn't set, it is equivalent with - * an empty instrumentation scope name (unknown). - * @type \Opentelemetry\Proto\Logs\V1\LogRecord[]|\Google\Protobuf\Internal\RepeatedField $log_records - * A list of log records. - * @type string $schema_url - * This schema_url applies to all logs in the "logs" field. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Opentelemetry\Proto\Logs\V1\Logs::initOnce(); - parent::__construct($data); - } - - /** - * The instrumentation scope information for the logs in this message. - * Semantically when InstrumentationScope isn't set, it is equivalent with - * an empty instrumentation scope name (unknown). - * - * Generated from protobuf field .opentelemetry.proto.common.v1.InstrumentationScope scope = 1; - * @return \Opentelemetry\Proto\Common\V1\InstrumentationScope|null - */ - public function getScope() - { - return $this->scope; - } - - public function hasScope() - { - return isset($this->scope); - } - - public function clearScope() - { - unset($this->scope); - } - - /** - * The instrumentation scope information for the logs in this message. - * Semantically when InstrumentationScope isn't set, it is equivalent with - * an empty instrumentation scope name (unknown). - * - * Generated from protobuf field .opentelemetry.proto.common.v1.InstrumentationScope scope = 1; - * @param \Opentelemetry\Proto\Common\V1\InstrumentationScope $var - * @return $this - */ - public function setScope($var) - { - GPBUtil::checkMessage($var, \Opentelemetry\Proto\Common\V1\InstrumentationScope::class); - $this->scope = $var; - - return $this; - } - - /** - * A list of log records. - * - * Generated from protobuf field repeated .opentelemetry.proto.logs.v1.LogRecord log_records = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getLogRecords() - { - return $this->log_records; - } - - /** - * A list of log records. - * - * Generated from protobuf field repeated .opentelemetry.proto.logs.v1.LogRecord log_records = 2; - * @param \Opentelemetry\Proto\Logs\V1\LogRecord[]|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setLogRecords($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Opentelemetry\Proto\Logs\V1\LogRecord::class); - $this->log_records = $arr; - - return $this; - } - - /** - * This schema_url applies to all logs in the "logs" field. - * - * Generated from protobuf field string schema_url = 3; - * @return string - */ - public function getSchemaUrl() - { - return $this->schema_url; - } - - /** - * This schema_url applies to all logs in the "logs" field. - * - * Generated from protobuf field string schema_url = 3; - * @param string $var - * @return $this - */ - public function setSchemaUrl($var) - { - GPBUtil::checkString($var, True); - $this->schema_url = $var; - - return $this; - } - -} - diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Logs/V1/SeverityNumber.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Logs/V1/SeverityNumber.php deleted file mode 100644 index ad89442b0..000000000 --- a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Logs/V1/SeverityNumber.php +++ /dev/null @@ -1,167 +0,0 @@ -opentelemetry.proto.logs.v1.SeverityNumber - */ -class SeverityNumber -{ - /** - * UNSPECIFIED is the default SeverityNumber, it MUST NOT be used. - * - * Generated from protobuf enum SEVERITY_NUMBER_UNSPECIFIED = 0; - */ - const SEVERITY_NUMBER_UNSPECIFIED = 0; - /** - * Generated from protobuf enum SEVERITY_NUMBER_TRACE = 1; - */ - const SEVERITY_NUMBER_TRACE = 1; - /** - * Generated from protobuf enum SEVERITY_NUMBER_TRACE2 = 2; - */ - const SEVERITY_NUMBER_TRACE2 = 2; - /** - * Generated from protobuf enum SEVERITY_NUMBER_TRACE3 = 3; - */ - const SEVERITY_NUMBER_TRACE3 = 3; - /** - * Generated from protobuf enum SEVERITY_NUMBER_TRACE4 = 4; - */ - const SEVERITY_NUMBER_TRACE4 = 4; - /** - * Generated from protobuf enum SEVERITY_NUMBER_DEBUG = 5; - */ - const SEVERITY_NUMBER_DEBUG = 5; - /** - * Generated from protobuf enum SEVERITY_NUMBER_DEBUG2 = 6; - */ - const SEVERITY_NUMBER_DEBUG2 = 6; - /** - * Generated from protobuf enum SEVERITY_NUMBER_DEBUG3 = 7; - */ - const SEVERITY_NUMBER_DEBUG3 = 7; - /** - * Generated from protobuf enum SEVERITY_NUMBER_DEBUG4 = 8; - */ - const SEVERITY_NUMBER_DEBUG4 = 8; - /** - * Generated from protobuf enum SEVERITY_NUMBER_INFO = 9; - */ - const SEVERITY_NUMBER_INFO = 9; - /** - * Generated from protobuf enum SEVERITY_NUMBER_INFO2 = 10; - */ - const SEVERITY_NUMBER_INFO2 = 10; - /** - * Generated from protobuf enum SEVERITY_NUMBER_INFO3 = 11; - */ - const SEVERITY_NUMBER_INFO3 = 11; - /** - * Generated from protobuf enum SEVERITY_NUMBER_INFO4 = 12; - */ - const SEVERITY_NUMBER_INFO4 = 12; - /** - * Generated from protobuf enum SEVERITY_NUMBER_WARN = 13; - */ - const SEVERITY_NUMBER_WARN = 13; - /** - * Generated from protobuf enum SEVERITY_NUMBER_WARN2 = 14; - */ - const SEVERITY_NUMBER_WARN2 = 14; - /** - * Generated from protobuf enum SEVERITY_NUMBER_WARN3 = 15; - */ - const SEVERITY_NUMBER_WARN3 = 15; - /** - * Generated from protobuf enum SEVERITY_NUMBER_WARN4 = 16; - */ - const SEVERITY_NUMBER_WARN4 = 16; - /** - * Generated from protobuf enum SEVERITY_NUMBER_ERROR = 17; - */ - const SEVERITY_NUMBER_ERROR = 17; - /** - * Generated from protobuf enum SEVERITY_NUMBER_ERROR2 = 18; - */ - const SEVERITY_NUMBER_ERROR2 = 18; - /** - * Generated from protobuf enum SEVERITY_NUMBER_ERROR3 = 19; - */ - const SEVERITY_NUMBER_ERROR3 = 19; - /** - * Generated from protobuf enum SEVERITY_NUMBER_ERROR4 = 20; - */ - const SEVERITY_NUMBER_ERROR4 = 20; - /** - * Generated from protobuf enum SEVERITY_NUMBER_FATAL = 21; - */ - const SEVERITY_NUMBER_FATAL = 21; - /** - * Generated from protobuf enum SEVERITY_NUMBER_FATAL2 = 22; - */ - const SEVERITY_NUMBER_FATAL2 = 22; - /** - * Generated from protobuf enum SEVERITY_NUMBER_FATAL3 = 23; - */ - const SEVERITY_NUMBER_FATAL3 = 23; - /** - * Generated from protobuf enum SEVERITY_NUMBER_FATAL4 = 24; - */ - const SEVERITY_NUMBER_FATAL4 = 24; - - private static $valueToName = [ - self::SEVERITY_NUMBER_UNSPECIFIED => 'SEVERITY_NUMBER_UNSPECIFIED', - self::SEVERITY_NUMBER_TRACE => 'SEVERITY_NUMBER_TRACE', - self::SEVERITY_NUMBER_TRACE2 => 'SEVERITY_NUMBER_TRACE2', - self::SEVERITY_NUMBER_TRACE3 => 'SEVERITY_NUMBER_TRACE3', - self::SEVERITY_NUMBER_TRACE4 => 'SEVERITY_NUMBER_TRACE4', - self::SEVERITY_NUMBER_DEBUG => 'SEVERITY_NUMBER_DEBUG', - self::SEVERITY_NUMBER_DEBUG2 => 'SEVERITY_NUMBER_DEBUG2', - self::SEVERITY_NUMBER_DEBUG3 => 'SEVERITY_NUMBER_DEBUG3', - self::SEVERITY_NUMBER_DEBUG4 => 'SEVERITY_NUMBER_DEBUG4', - self::SEVERITY_NUMBER_INFO => 'SEVERITY_NUMBER_INFO', - self::SEVERITY_NUMBER_INFO2 => 'SEVERITY_NUMBER_INFO2', - self::SEVERITY_NUMBER_INFO3 => 'SEVERITY_NUMBER_INFO3', - self::SEVERITY_NUMBER_INFO4 => 'SEVERITY_NUMBER_INFO4', - self::SEVERITY_NUMBER_WARN => 'SEVERITY_NUMBER_WARN', - self::SEVERITY_NUMBER_WARN2 => 'SEVERITY_NUMBER_WARN2', - self::SEVERITY_NUMBER_WARN3 => 'SEVERITY_NUMBER_WARN3', - self::SEVERITY_NUMBER_WARN4 => 'SEVERITY_NUMBER_WARN4', - self::SEVERITY_NUMBER_ERROR => 'SEVERITY_NUMBER_ERROR', - self::SEVERITY_NUMBER_ERROR2 => 'SEVERITY_NUMBER_ERROR2', - self::SEVERITY_NUMBER_ERROR3 => 'SEVERITY_NUMBER_ERROR3', - self::SEVERITY_NUMBER_ERROR4 => 'SEVERITY_NUMBER_ERROR4', - self::SEVERITY_NUMBER_FATAL => 'SEVERITY_NUMBER_FATAL', - self::SEVERITY_NUMBER_FATAL2 => 'SEVERITY_NUMBER_FATAL2', - self::SEVERITY_NUMBER_FATAL3 => 'SEVERITY_NUMBER_FATAL3', - self::SEVERITY_NUMBER_FATAL4 => 'SEVERITY_NUMBER_FATAL4', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/Experimental/MetricConfigRequest.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/Experimental/MetricConfigRequest.php deleted file mode 100644 index bdf9ea2fa..000000000 --- a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/Experimental/MetricConfigRequest.php +++ /dev/null @@ -1,113 +0,0 @@ -opentelemetry.proto.metrics.experimental.MetricConfigRequest - */ -class MetricConfigRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The resource for which configuration should be returned. - * - * Generated from protobuf field .opentelemetry.proto.resource.v1.Resource resource = 1; - */ - protected $resource = null; - /** - * Optional. The value of MetricConfigResponse.fingerprint for the last - * configuration that the caller received and successfully applied. - * - * Generated from protobuf field bytes last_known_fingerprint = 2; - */ - protected $last_known_fingerprint = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Opentelemetry\Proto\Resource\V1\Resource $resource - * Required. The resource for which configuration should be returned. - * @type string $last_known_fingerprint - * Optional. The value of MetricConfigResponse.fingerprint for the last - * configuration that the caller received and successfully applied. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Opentelemetry\Proto\Metrics\Experimental\MetricsConfigService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The resource for which configuration should be returned. - * - * Generated from protobuf field .opentelemetry.proto.resource.v1.Resource resource = 1; - * @return \Opentelemetry\Proto\Resource\V1\Resource - */ - public function getResource() - { - return isset($this->resource) ? $this->resource : null; - } - - public function hasResource() - { - return isset($this->resource); - } - - public function clearResource() - { - unset($this->resource); - } - - /** - * Required. The resource for which configuration should be returned. - * - * Generated from protobuf field .opentelemetry.proto.resource.v1.Resource resource = 1; - * @param \Opentelemetry\Proto\Resource\V1\Resource $var - * @return $this - */ - public function setResource($var) - { - GPBUtil::checkMessage($var, \Opentelemetry\Proto\Resource\V1\Resource::class); - $this->resource = $var; - - return $this; - } - - /** - * Optional. The value of MetricConfigResponse.fingerprint for the last - * configuration that the caller received and successfully applied. - * - * Generated from protobuf field bytes last_known_fingerprint = 2; - * @return string - */ - public function getLastKnownFingerprint() - { - return $this->last_known_fingerprint; - } - - /** - * Optional. The value of MetricConfigResponse.fingerprint for the last - * configuration that the caller received and successfully applied. - * - * Generated from protobuf field bytes last_known_fingerprint = 2; - * @param string $var - * @return $this - */ - public function setLastKnownFingerprint($var) - { - GPBUtil::checkString($var, False); - $this->last_known_fingerprint = $var; - - return $this; - } - -} - diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/Experimental/MetricConfigResponse.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/Experimental/MetricConfigResponse.php deleted file mode 100644 index 0993a59ea..000000000 --- a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/Experimental/MetricConfigResponse.php +++ /dev/null @@ -1,201 +0,0 @@ -opentelemetry.proto.metrics.experimental.MetricConfigResponse - */ -class MetricConfigResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Optional. The fingerprint associated with this MetricConfigResponse. Each - * change in configs yields a different fingerprint. The resource SHOULD copy - * this value to MetricConfigRequest.last_known_fingerprint for the next - * configuration request. If there are no changes between fingerprint and - * MetricConfigRequest.last_known_fingerprint, then all other fields besides - * fingerprint in the response are optional, or the same as the last update if - * present. - * The exact mechanics of generating the fingerprint is up to the - * implementation. However, a fingerprint must be deterministically determined - * by the configurations -- the same configuration will generate the same - * fingerprint on any instance of an implementation. Hence using a timestamp is - * unacceptable, but a deterministic hash is fine. - * - * Generated from protobuf field bytes fingerprint = 1; - */ - protected $fingerprint = ''; - /** - * A single metric may match multiple schedules. In such cases, the schedule - * that specifies the smallest period is applied. - * Note, for optimization purposes, it is recommended to use as few schedules - * as possible to capture all required metric updates. Where you can be - * conservative, do take full advantage of the inclusion/exclusion patterns to - * capture as much of your targeted metrics. - * - * Generated from protobuf field repeated .opentelemetry.proto.metrics.experimental.MetricConfigResponse.Schedule schedules = 2; - */ - private $schedules; - /** - * Optional. The client is suggested to wait this long (in seconds) before - * pinging the configuration service again. - * - * Generated from protobuf field int32 suggested_wait_time_sec = 3; - */ - protected $suggested_wait_time_sec = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $fingerprint - * Optional. The fingerprint associated with this MetricConfigResponse. Each - * change in configs yields a different fingerprint. The resource SHOULD copy - * this value to MetricConfigRequest.last_known_fingerprint for the next - * configuration request. If there are no changes between fingerprint and - * MetricConfigRequest.last_known_fingerprint, then all other fields besides - * fingerprint in the response are optional, or the same as the last update if - * present. - * The exact mechanics of generating the fingerprint is up to the - * implementation. However, a fingerprint must be deterministically determined - * by the configurations -- the same configuration will generate the same - * fingerprint on any instance of an implementation. Hence using a timestamp is - * unacceptable, but a deterministic hash is fine. - * @type \Opentelemetry\Proto\Metrics\Experimental\MetricConfigResponse\Schedule[]|\Google\Protobuf\Internal\RepeatedField $schedules - * A single metric may match multiple schedules. In such cases, the schedule - * that specifies the smallest period is applied. - * Note, for optimization purposes, it is recommended to use as few schedules - * as possible to capture all required metric updates. Where you can be - * conservative, do take full advantage of the inclusion/exclusion patterns to - * capture as much of your targeted metrics. - * @type int $suggested_wait_time_sec - * Optional. The client is suggested to wait this long (in seconds) before - * pinging the configuration service again. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Opentelemetry\Proto\Metrics\Experimental\MetricsConfigService::initOnce(); - parent::__construct($data); - } - - /** - * Optional. The fingerprint associated with this MetricConfigResponse. Each - * change in configs yields a different fingerprint. The resource SHOULD copy - * this value to MetricConfigRequest.last_known_fingerprint for the next - * configuration request. If there are no changes between fingerprint and - * MetricConfigRequest.last_known_fingerprint, then all other fields besides - * fingerprint in the response are optional, or the same as the last update if - * present. - * The exact mechanics of generating the fingerprint is up to the - * implementation. However, a fingerprint must be deterministically determined - * by the configurations -- the same configuration will generate the same - * fingerprint on any instance of an implementation. Hence using a timestamp is - * unacceptable, but a deterministic hash is fine. - * - * Generated from protobuf field bytes fingerprint = 1; - * @return string - */ - public function getFingerprint() - { - return $this->fingerprint; - } - - /** - * Optional. The fingerprint associated with this MetricConfigResponse. Each - * change in configs yields a different fingerprint. The resource SHOULD copy - * this value to MetricConfigRequest.last_known_fingerprint for the next - * configuration request. If there are no changes between fingerprint and - * MetricConfigRequest.last_known_fingerprint, then all other fields besides - * fingerprint in the response are optional, or the same as the last update if - * present. - * The exact mechanics of generating the fingerprint is up to the - * implementation. However, a fingerprint must be deterministically determined - * by the configurations -- the same configuration will generate the same - * fingerprint on any instance of an implementation. Hence using a timestamp is - * unacceptable, but a deterministic hash is fine. - * - * Generated from protobuf field bytes fingerprint = 1; - * @param string $var - * @return $this - */ - public function setFingerprint($var) - { - GPBUtil::checkString($var, False); - $this->fingerprint = $var; - - return $this; - } - - /** - * A single metric may match multiple schedules. In such cases, the schedule - * that specifies the smallest period is applied. - * Note, for optimization purposes, it is recommended to use as few schedules - * as possible to capture all required metric updates. Where you can be - * conservative, do take full advantage of the inclusion/exclusion patterns to - * capture as much of your targeted metrics. - * - * Generated from protobuf field repeated .opentelemetry.proto.metrics.experimental.MetricConfigResponse.Schedule schedules = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getSchedules() - { - return $this->schedules; - } - - /** - * A single metric may match multiple schedules. In such cases, the schedule - * that specifies the smallest period is applied. - * Note, for optimization purposes, it is recommended to use as few schedules - * as possible to capture all required metric updates. Where you can be - * conservative, do take full advantage of the inclusion/exclusion patterns to - * capture as much of your targeted metrics. - * - * Generated from protobuf field repeated .opentelemetry.proto.metrics.experimental.MetricConfigResponse.Schedule schedules = 2; - * @param \Opentelemetry\Proto\Metrics\Experimental\MetricConfigResponse\Schedule[]|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setSchedules($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Opentelemetry\Proto\Metrics\Experimental\MetricConfigResponse\Schedule::class); - $this->schedules = $arr; - - return $this; - } - - /** - * Optional. The client is suggested to wait this long (in seconds) before - * pinging the configuration service again. - * - * Generated from protobuf field int32 suggested_wait_time_sec = 3; - * @return int - */ - public function getSuggestedWaitTimeSec() - { - return $this->suggested_wait_time_sec; - } - - /** - * Optional. The client is suggested to wait this long (in seconds) before - * pinging the configuration service again. - * - * Generated from protobuf field int32 suggested_wait_time_sec = 3; - * @param int $var - * @return $this - */ - public function setSuggestedWaitTimeSec($var) - { - GPBUtil::checkInt32($var); - $this->suggested_wait_time_sec = $var; - - return $this; - } - -} - diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/Experimental/MetricConfigResponse/Schedule.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/Experimental/MetricConfigResponse/Schedule.php deleted file mode 100644 index 07091928d..000000000 --- a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/Experimental/MetricConfigResponse/Schedule.php +++ /dev/null @@ -1,149 +0,0 @@ -opentelemetry.proto.metrics.experimental.MetricConfigResponse.Schedule - */ -class Schedule extends \Google\Protobuf\Internal\Message -{ - /** - * Metrics with names that match a rule in the inclusion_patterns are - * targeted by this schedule. Metrics that match the exclusion_patterns - * are not targeted for this schedule, even if they match an inclusion - * pattern. - * - * Generated from protobuf field repeated .opentelemetry.proto.metrics.experimental.MetricConfigResponse.Schedule.Pattern exclusion_patterns = 1; - */ - private $exclusion_patterns; - /** - * Generated from protobuf field repeated .opentelemetry.proto.metrics.experimental.MetricConfigResponse.Schedule.Pattern inclusion_patterns = 2; - */ - private $inclusion_patterns; - /** - * Describes the collection period for each metric in seconds. - * A period of 0 means to not export. - * - * Generated from protobuf field int32 period_sec = 3; - */ - protected $period_sec = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Opentelemetry\Proto\Metrics\Experimental\MetricConfigResponse\Schedule\Pattern[]|\Google\Protobuf\Internal\RepeatedField $exclusion_patterns - * Metrics with names that match a rule in the inclusion_patterns are - * targeted by this schedule. Metrics that match the exclusion_patterns - * are not targeted for this schedule, even if they match an inclusion - * pattern. - * @type \Opentelemetry\Proto\Metrics\Experimental\MetricConfigResponse\Schedule\Pattern[]|\Google\Protobuf\Internal\RepeatedField $inclusion_patterns - * @type int $period_sec - * Describes the collection period for each metric in seconds. - * A period of 0 means to not export. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Opentelemetry\Proto\Metrics\Experimental\MetricsConfigService::initOnce(); - parent::__construct($data); - } - - /** - * Metrics with names that match a rule in the inclusion_patterns are - * targeted by this schedule. Metrics that match the exclusion_patterns - * are not targeted for this schedule, even if they match an inclusion - * pattern. - * - * Generated from protobuf field repeated .opentelemetry.proto.metrics.experimental.MetricConfigResponse.Schedule.Pattern exclusion_patterns = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getExclusionPatterns() - { - return $this->exclusion_patterns; - } - - /** - * Metrics with names that match a rule in the inclusion_patterns are - * targeted by this schedule. Metrics that match the exclusion_patterns - * are not targeted for this schedule, even if they match an inclusion - * pattern. - * - * Generated from protobuf field repeated .opentelemetry.proto.metrics.experimental.MetricConfigResponse.Schedule.Pattern exclusion_patterns = 1; - * @param \Opentelemetry\Proto\Metrics\Experimental\MetricConfigResponse\Schedule\Pattern[]|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setExclusionPatterns($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Opentelemetry\Proto\Metrics\Experimental\MetricConfigResponse\Schedule\Pattern::class); - $this->exclusion_patterns = $arr; - - return $this; - } - - /** - * Generated from protobuf field repeated .opentelemetry.proto.metrics.experimental.MetricConfigResponse.Schedule.Pattern inclusion_patterns = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getInclusionPatterns() - { - return $this->inclusion_patterns; - } - - /** - * Generated from protobuf field repeated .opentelemetry.proto.metrics.experimental.MetricConfigResponse.Schedule.Pattern inclusion_patterns = 2; - * @param \Opentelemetry\Proto\Metrics\Experimental\MetricConfigResponse\Schedule\Pattern[]|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setInclusionPatterns($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Opentelemetry\Proto\Metrics\Experimental\MetricConfigResponse\Schedule\Pattern::class); - $this->inclusion_patterns = $arr; - - return $this; - } - - /** - * Describes the collection period for each metric in seconds. - * A period of 0 means to not export. - * - * Generated from protobuf field int32 period_sec = 3; - * @return int - */ - public function getPeriodSec() - { - return $this->period_sec; - } - - /** - * Describes the collection period for each metric in seconds. - * A period of 0 means to not export. - * - * Generated from protobuf field int32 period_sec = 3; - * @param int $var - * @return $this - */ - public function setPeriodSec($var) - { - GPBUtil::checkInt32($var); - $this->period_sec = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Schedule::class, \Opentelemetry\Proto\Metrics\Experimental\MetricConfigResponse_Schedule::class); - diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/Experimental/MetricConfigResponse/Schedule/Pattern.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/Experimental/MetricConfigResponse/Schedule/Pattern.php deleted file mode 100644 index 839c097fb..000000000 --- a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/Experimental/MetricConfigResponse/Schedule/Pattern.php +++ /dev/null @@ -1,113 +0,0 @@ -opentelemetry.proto.metrics.experimental.MetricConfigResponse.Schedule.Pattern - */ -class Pattern extends \Google\Protobuf\Internal\Message -{ - protected $match; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $equals - * matches the metric name exactly - * @type string $starts_with - * prefix-matches the metric name - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Opentelemetry\Proto\Metrics\Experimental\MetricsConfigService::initOnce(); - parent::__construct($data); - } - - /** - * matches the metric name exactly - * - * Generated from protobuf field string equals = 1; - * @return string - */ - public function getEquals() - { - return $this->readOneof(1); - } - - public function hasEquals() - { - return $this->hasOneof(1); - } - - /** - * matches the metric name exactly - * - * Generated from protobuf field string equals = 1; - * @param string $var - * @return $this - */ - public function setEquals($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * prefix-matches the metric name - * - * Generated from protobuf field string starts_with = 2; - * @return string - */ - public function getStartsWith() - { - return $this->readOneof(2); - } - - public function hasStartsWith() - { - return $this->hasOneof(2); - } - - /** - * prefix-matches the metric name - * - * Generated from protobuf field string starts_with = 2; - * @param string $var - * @return $this - */ - public function setStartsWith($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * @return string - */ - public function getMatch() - { - return $this->whichOneof("match"); - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Pattern::class, \Opentelemetry\Proto\Metrics\Experimental\MetricConfigResponse_Schedule_Pattern::class); - diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/Experimental/MetricConfigResponse_Schedule.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/Experimental/MetricConfigResponse_Schedule.php deleted file mode 100644 index 5486976fc..000000000 --- a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/Experimental/MetricConfigResponse_Schedule.php +++ /dev/null @@ -1,16 +0,0 @@ -opentelemetry.proto.metrics.v1.AggregationTemporality - */ -class AggregationTemporality -{ - /** - * UNSPECIFIED is the default AggregationTemporality, it MUST not be used. - * - * Generated from protobuf enum AGGREGATION_TEMPORALITY_UNSPECIFIED = 0; - */ - const AGGREGATION_TEMPORALITY_UNSPECIFIED = 0; - /** - * DELTA is an AggregationTemporality for a metric aggregator which reports - * changes since last report time. Successive metrics contain aggregation of - * values from continuous and non-overlapping intervals. - * The values for a DELTA metric are based only on the time interval - * associated with one measurement cycle. There is no dependency on - * previous measurements like is the case for CUMULATIVE metrics. - * For example, consider a system measuring the number of requests that - * it receives and reports the sum of these requests every second as a - * DELTA metric: - * 1. The system starts receiving at time=t_0. - * 2. A request is received, the system measures 1 request. - * 3. A request is received, the system measures 1 request. - * 4. A request is received, the system measures 1 request. - * 5. The 1 second collection cycle ends. A metric is exported for the - * number of requests received over the interval of time t_0 to - * t_0+1 with a value of 3. - * 6. A request is received, the system measures 1 request. - * 7. A request is received, the system measures 1 request. - * 8. The 1 second collection cycle ends. A metric is exported for the - * number of requests received over the interval of time t_0+1 to - * t_0+2 with a value of 2. - * - * Generated from protobuf enum AGGREGATION_TEMPORALITY_DELTA = 1; - */ - const AGGREGATION_TEMPORALITY_DELTA = 1; - /** - * CUMULATIVE is an AggregationTemporality for a metric aggregator which - * reports changes since a fixed start time. This means that current values - * of a CUMULATIVE metric depend on all previous measurements since the - * start time. Because of this, the sender is required to retain this state - * in some form. If this state is lost or invalidated, the CUMULATIVE metric - * values MUST be reset and a new fixed start time following the last - * reported measurement time sent MUST be used. - * For example, consider a system measuring the number of requests that - * it receives and reports the sum of these requests every second as a - * CUMULATIVE metric: - * 1. The system starts receiving at time=t_0. - * 2. A request is received, the system measures 1 request. - * 3. A request is received, the system measures 1 request. - * 4. A request is received, the system measures 1 request. - * 5. The 1 second collection cycle ends. A metric is exported for the - * number of requests received over the interval of time t_0 to - * t_0+1 with a value of 3. - * 6. A request is received, the system measures 1 request. - * 7. A request is received, the system measures 1 request. - * 8. The 1 second collection cycle ends. A metric is exported for the - * number of requests received over the interval of time t_0 to - * t_0+2 with a value of 5. - * 9. The system experiences a fault and loses state. - * 10. The system recovers and resumes receiving at time=t_1. - * 11. A request is received, the system measures 1 request. - * 12. The 1 second collection cycle ends. A metric is exported for the - * number of requests received over the interval of time t_1 to - * t_0+1 with a value of 1. - * Note: Even though, when reporting changes since last report time, using - * CUMULATIVE is valid, it is not recommended. This may cause problems for - * systems that do not use start_time to determine when the aggregation - * value was reset (e.g. Prometheus). - * - * Generated from protobuf enum AGGREGATION_TEMPORALITY_CUMULATIVE = 2; - */ - const AGGREGATION_TEMPORALITY_CUMULATIVE = 2; - - private static $valueToName = [ - self::AGGREGATION_TEMPORALITY_UNSPECIFIED => 'AGGREGATION_TEMPORALITY_UNSPECIFIED', - self::AGGREGATION_TEMPORALITY_DELTA => 'AGGREGATION_TEMPORALITY_DELTA', - self::AGGREGATION_TEMPORALITY_CUMULATIVE => 'AGGREGATION_TEMPORALITY_CUMULATIVE', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/DataPointFlags.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/DataPointFlags.php deleted file mode 100644 index f11029d02..000000000 --- a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/DataPointFlags.php +++ /dev/null @@ -1,61 +0,0 @@ -opentelemetry.proto.metrics.v1.DataPointFlags - */ -class DataPointFlags -{ - /** - * The zero value for the enum. Should not be used for comparisons. - * Instead use bitwise "and" with the appropriate mask as shown above. - * - * Generated from protobuf enum DATA_POINT_FLAGS_DO_NOT_USE = 0; - */ - const DATA_POINT_FLAGS_DO_NOT_USE = 0; - /** - * This DataPoint is valid but has no recorded value. This value - * SHOULD be used to reflect explicitly missing data in a series, as - * for an equivalent to the Prometheus "staleness marker". - * - * Generated from protobuf enum DATA_POINT_FLAGS_NO_RECORDED_VALUE_MASK = 1; - */ - const DATA_POINT_FLAGS_NO_RECORDED_VALUE_MASK = 1; - - private static $valueToName = [ - self::DATA_POINT_FLAGS_DO_NOT_USE => 'DATA_POINT_FLAGS_DO_NOT_USE', - self::DATA_POINT_FLAGS_NO_RECORDED_VALUE_MASK => 'DATA_POINT_FLAGS_NO_RECORDED_VALUE_MASK', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/Exemplar.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/Exemplar.php deleted file mode 100644 index a0387ede1..000000000 --- a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/Exemplar.php +++ /dev/null @@ -1,269 +0,0 @@ -opentelemetry.proto.metrics.v1.Exemplar - */ -class Exemplar extends \Google\Protobuf\Internal\Message -{ - /** - * The set of key/value pairs that were filtered out by the aggregator, but - * recorded alongside the original measurement. Only key/value pairs that were - * filtered out by the aggregator should be included - * - * Generated from protobuf field repeated .opentelemetry.proto.common.v1.KeyValue filtered_attributes = 7; - */ - private $filtered_attributes; - /** - * time_unix_nano is the exact time when this exemplar was recorded - * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January - * 1970. - * - * Generated from protobuf field fixed64 time_unix_nano = 2; - */ - protected $time_unix_nano = 0; - /** - * (Optional) Span ID of the exemplar trace. - * span_id may be missing if the measurement is not recorded inside a trace - * or if the trace is not sampled. - * - * Generated from protobuf field bytes span_id = 4; - */ - protected $span_id = ''; - /** - * (Optional) Trace ID of the exemplar trace. - * trace_id may be missing if the measurement is not recorded inside a trace - * or if the trace is not sampled. - * - * Generated from protobuf field bytes trace_id = 5; - */ - protected $trace_id = ''; - protected $value; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Opentelemetry\Proto\Common\V1\KeyValue[]|\Google\Protobuf\Internal\RepeatedField $filtered_attributes - * The set of key/value pairs that were filtered out by the aggregator, but - * recorded alongside the original measurement. Only key/value pairs that were - * filtered out by the aggregator should be included - * @type int|string $time_unix_nano - * time_unix_nano is the exact time when this exemplar was recorded - * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January - * 1970. - * @type float $as_double - * @type int|string $as_int - * @type string $span_id - * (Optional) Span ID of the exemplar trace. - * span_id may be missing if the measurement is not recorded inside a trace - * or if the trace is not sampled. - * @type string $trace_id - * (Optional) Trace ID of the exemplar trace. - * trace_id may be missing if the measurement is not recorded inside a trace - * or if the trace is not sampled. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Opentelemetry\Proto\Metrics\V1\Metrics::initOnce(); - parent::__construct($data); - } - - /** - * The set of key/value pairs that were filtered out by the aggregator, but - * recorded alongside the original measurement. Only key/value pairs that were - * filtered out by the aggregator should be included - * - * Generated from protobuf field repeated .opentelemetry.proto.common.v1.KeyValue filtered_attributes = 7; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getFilteredAttributes() - { - return $this->filtered_attributes; - } - - /** - * The set of key/value pairs that were filtered out by the aggregator, but - * recorded alongside the original measurement. Only key/value pairs that were - * filtered out by the aggregator should be included - * - * Generated from protobuf field repeated .opentelemetry.proto.common.v1.KeyValue filtered_attributes = 7; - * @param \Opentelemetry\Proto\Common\V1\KeyValue[]|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setFilteredAttributes($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Opentelemetry\Proto\Common\V1\KeyValue::class); - $this->filtered_attributes = $arr; - - return $this; - } - - /** - * time_unix_nano is the exact time when this exemplar was recorded - * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January - * 1970. - * - * Generated from protobuf field fixed64 time_unix_nano = 2; - * @return int|string - */ - public function getTimeUnixNano() - { - return $this->time_unix_nano; - } - - /** - * time_unix_nano is the exact time when this exemplar was recorded - * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January - * 1970. - * - * Generated from protobuf field fixed64 time_unix_nano = 2; - * @param int|string $var - * @return $this - */ - public function setTimeUnixNano($var) - { - GPBUtil::checkUint64($var); - $this->time_unix_nano = $var; - - return $this; - } - - /** - * Generated from protobuf field double as_double = 3; - * @return float - */ - public function getAsDouble() - { - return $this->readOneof(3); - } - - public function hasAsDouble() - { - return $this->hasOneof(3); - } - - /** - * Generated from protobuf field double as_double = 3; - * @param float $var - * @return $this - */ - public function setAsDouble($var) - { - GPBUtil::checkDouble($var); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * Generated from protobuf field sfixed64 as_int = 6; - * @return int|string - */ - public function getAsInt() - { - return $this->readOneof(6); - } - - public function hasAsInt() - { - return $this->hasOneof(6); - } - - /** - * Generated from protobuf field sfixed64 as_int = 6; - * @param int|string $var - * @return $this - */ - public function setAsInt($var) - { - GPBUtil::checkInt64($var); - $this->writeOneof(6, $var); - - return $this; - } - - /** - * (Optional) Span ID of the exemplar trace. - * span_id may be missing if the measurement is not recorded inside a trace - * or if the trace is not sampled. - * - * Generated from protobuf field bytes span_id = 4; - * @return string - */ - public function getSpanId() - { - return $this->span_id; - } - - /** - * (Optional) Span ID of the exemplar trace. - * span_id may be missing if the measurement is not recorded inside a trace - * or if the trace is not sampled. - * - * Generated from protobuf field bytes span_id = 4; - * @param string $var - * @return $this - */ - public function setSpanId($var) - { - GPBUtil::checkString($var, False); - $this->span_id = $var; - - return $this; - } - - /** - * (Optional) Trace ID of the exemplar trace. - * trace_id may be missing if the measurement is not recorded inside a trace - * or if the trace is not sampled. - * - * Generated from protobuf field bytes trace_id = 5; - * @return string - */ - public function getTraceId() - { - return $this->trace_id; - } - - /** - * (Optional) Trace ID of the exemplar trace. - * trace_id may be missing if the measurement is not recorded inside a trace - * or if the trace is not sampled. - * - * Generated from protobuf field bytes trace_id = 5; - * @param string $var - * @return $this - */ - public function setTraceId($var) - { - GPBUtil::checkString($var, False); - $this->trace_id = $var; - - return $this; - } - - /** - * @return string - */ - public function getValue() - { - return $this->whichOneof("value"); - } - -} - diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/ExponentialHistogram.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/ExponentialHistogram.php deleted file mode 100644 index 2a5c4cc90..000000000 --- a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/ExponentialHistogram.php +++ /dev/null @@ -1,99 +0,0 @@ -opentelemetry.proto.metrics.v1.ExponentialHistogram - */ -class ExponentialHistogram extends \Google\Protobuf\Internal\Message -{ - /** - * Generated from protobuf field repeated .opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint data_points = 1; - */ - private $data_points; - /** - * aggregation_temporality describes if the aggregator reports delta changes - * since last report time, or cumulative changes since a fixed start time. - * - * Generated from protobuf field .opentelemetry.proto.metrics.v1.AggregationTemporality aggregation_temporality = 2; - */ - protected $aggregation_temporality = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Opentelemetry\Proto\Metrics\V1\ExponentialHistogramDataPoint[]|\Google\Protobuf\Internal\RepeatedField $data_points - * @type int $aggregation_temporality - * aggregation_temporality describes if the aggregator reports delta changes - * since last report time, or cumulative changes since a fixed start time. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Opentelemetry\Proto\Metrics\V1\Metrics::initOnce(); - parent::__construct($data); - } - - /** - * Generated from protobuf field repeated .opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint data_points = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getDataPoints() - { - return $this->data_points; - } - - /** - * Generated from protobuf field repeated .opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint data_points = 1; - * @param \Opentelemetry\Proto\Metrics\V1\ExponentialHistogramDataPoint[]|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setDataPoints($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Opentelemetry\Proto\Metrics\V1\ExponentialHistogramDataPoint::class); - $this->data_points = $arr; - - return $this; - } - - /** - * aggregation_temporality describes if the aggregator reports delta changes - * since last report time, or cumulative changes since a fixed start time. - * - * Generated from protobuf field .opentelemetry.proto.metrics.v1.AggregationTemporality aggregation_temporality = 2; - * @return int - */ - public function getAggregationTemporality() - { - return $this->aggregation_temporality; - } - - /** - * aggregation_temporality describes if the aggregator reports delta changes - * since last report time, or cumulative changes since a fixed start time. - * - * Generated from protobuf field .opentelemetry.proto.metrics.v1.AggregationTemporality aggregation_temporality = 2; - * @param int $var - * @return $this - */ - public function setAggregationTemporality($var) - { - GPBUtil::checkEnum($var, \Opentelemetry\Proto\Metrics\V1\AggregationTemporality::class); - $this->aggregation_temporality = $var; - - return $this; - } - -} - diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/ExponentialHistogramDataPoint.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/ExponentialHistogramDataPoint.php deleted file mode 100644 index 62cb6f5d6..000000000 --- a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/ExponentialHistogramDataPoint.php +++ /dev/null @@ -1,718 +0,0 @@ -opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint - */ -class ExponentialHistogramDataPoint extends \Google\Protobuf\Internal\Message -{ - /** - * The set of key/value pairs that uniquely identify the timeseries from - * where this point belongs. The list may be empty (may contain 0 elements). - * Attribute keys MUST be unique (it is not allowed to have more than one - * attribute with the same key). - * - * Generated from protobuf field repeated .opentelemetry.proto.common.v1.KeyValue attributes = 1; - */ - private $attributes; - /** - * StartTimeUnixNano is optional but strongly encouraged, see the - * the detailed comments above Metric. - * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January - * 1970. - * - * Generated from protobuf field fixed64 start_time_unix_nano = 2; - */ - protected $start_time_unix_nano = 0; - /** - * TimeUnixNano is required, see the detailed comments above Metric. - * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January - * 1970. - * - * Generated from protobuf field fixed64 time_unix_nano = 3; - */ - protected $time_unix_nano = 0; - /** - * count is the number of values in the population. Must be - * non-negative. This value must be equal to the sum of the "bucket_counts" - * values in the positive and negative Buckets plus the "zero_count" field. - * - * Generated from protobuf field fixed64 count = 4; - */ - protected $count = 0; - /** - * sum of the values in the population. If count is zero then this field - * must be zero. - * Note: Sum should only be filled out when measuring non-negative discrete - * events, and is assumed to be monotonic over the values of these events. - * Negative events *can* be recorded, but sum should not be filled out when - * doing so. This is specifically to enforce compatibility w/ OpenMetrics, - * see: https://github.com/OpenObservability/OpenMetrics/blob/main/specification/OpenMetrics.md#histogram - * - * Generated from protobuf field optional double sum = 5; - */ - protected $sum = null; - /** - * scale describes the resolution of the histogram. Boundaries are - * located at powers of the base, where: - * base = (2^(2^-scale)) - * The histogram bucket identified by `index`, a signed integer, - * contains values that are greater than (base^index) and - * less than or equal to (base^(index+1)). - * The positive and negative ranges of the histogram are expressed - * separately. Negative values are mapped by their absolute value - * into the negative range using the same scale as the positive range. - * scale is not restricted by the protocol, as the permissible - * values depend on the range of the data. - * - * Generated from protobuf field sint32 scale = 6; - */ - protected $scale = 0; - /** - * zero_count is the count of values that are either exactly zero or - * within the region considered zero by the instrumentation at the - * tolerated degree of precision. This bucket stores values that - * cannot be expressed using the standard exponential formula as - * well as values that have been rounded to zero. - * Implementations MAY consider the zero bucket to have probability - * mass equal to (zero_count / count). - * - * Generated from protobuf field fixed64 zero_count = 7; - */ - protected $zero_count = 0; - /** - * positive carries the positive range of exponential bucket counts. - * - * Generated from protobuf field .opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint.Buckets positive = 8; - */ - protected $positive = null; - /** - * negative carries the negative range of exponential bucket counts. - * - * Generated from protobuf field .opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint.Buckets negative = 9; - */ - protected $negative = null; - /** - * Flags that apply to this specific data point. See DataPointFlags - * for the available flags and their meaning. - * - * Generated from protobuf field uint32 flags = 10; - */ - protected $flags = 0; - /** - * (Optional) List of exemplars collected from - * measurements that were used to form the data point - * - * Generated from protobuf field repeated .opentelemetry.proto.metrics.v1.Exemplar exemplars = 11; - */ - private $exemplars; - /** - * min is the minimum value over (start_time, end_time]. - * - * Generated from protobuf field optional double min = 12; - */ - protected $min = null; - /** - * max is the maximum value over (start_time, end_time]. - * - * Generated from protobuf field optional double max = 13; - */ - protected $max = null; - /** - * ZeroThreshold may be optionally set to convey the width of the zero - * region. Where the zero region is defined as the closed interval - * [-ZeroThreshold, ZeroThreshold]. - * When ZeroThreshold is 0, zero count bucket stores values that cannot be - * expressed using the standard exponential formula as well as values that - * have been rounded to zero. - * - * Generated from protobuf field double zero_threshold = 14; - */ - protected $zero_threshold = 0.0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Opentelemetry\Proto\Common\V1\KeyValue[]|\Google\Protobuf\Internal\RepeatedField $attributes - * The set of key/value pairs that uniquely identify the timeseries from - * where this point belongs. The list may be empty (may contain 0 elements). - * Attribute keys MUST be unique (it is not allowed to have more than one - * attribute with the same key). - * @type int|string $start_time_unix_nano - * StartTimeUnixNano is optional but strongly encouraged, see the - * the detailed comments above Metric. - * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January - * 1970. - * @type int|string $time_unix_nano - * TimeUnixNano is required, see the detailed comments above Metric. - * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January - * 1970. - * @type int|string $count - * count is the number of values in the population. Must be - * non-negative. This value must be equal to the sum of the "bucket_counts" - * values in the positive and negative Buckets plus the "zero_count" field. - * @type float $sum - * sum of the values in the population. If count is zero then this field - * must be zero. - * Note: Sum should only be filled out when measuring non-negative discrete - * events, and is assumed to be monotonic over the values of these events. - * Negative events *can* be recorded, but sum should not be filled out when - * doing so. This is specifically to enforce compatibility w/ OpenMetrics, - * see: https://github.com/OpenObservability/OpenMetrics/blob/main/specification/OpenMetrics.md#histogram - * @type int $scale - * scale describes the resolution of the histogram. Boundaries are - * located at powers of the base, where: - * base = (2^(2^-scale)) - * The histogram bucket identified by `index`, a signed integer, - * contains values that are greater than (base^index) and - * less than or equal to (base^(index+1)). - * The positive and negative ranges of the histogram are expressed - * separately. Negative values are mapped by their absolute value - * into the negative range using the same scale as the positive range. - * scale is not restricted by the protocol, as the permissible - * values depend on the range of the data. - * @type int|string $zero_count - * zero_count is the count of values that are either exactly zero or - * within the region considered zero by the instrumentation at the - * tolerated degree of precision. This bucket stores values that - * cannot be expressed using the standard exponential formula as - * well as values that have been rounded to zero. - * Implementations MAY consider the zero bucket to have probability - * mass equal to (zero_count / count). - * @type \Opentelemetry\Proto\Metrics\V1\ExponentialHistogramDataPoint\Buckets $positive - * positive carries the positive range of exponential bucket counts. - * @type \Opentelemetry\Proto\Metrics\V1\ExponentialHistogramDataPoint\Buckets $negative - * negative carries the negative range of exponential bucket counts. - * @type int $flags - * Flags that apply to this specific data point. See DataPointFlags - * for the available flags and their meaning. - * @type \Opentelemetry\Proto\Metrics\V1\Exemplar[]|\Google\Protobuf\Internal\RepeatedField $exemplars - * (Optional) List of exemplars collected from - * measurements that were used to form the data point - * @type float $min - * min is the minimum value over (start_time, end_time]. - * @type float $max - * max is the maximum value over (start_time, end_time]. - * @type float $zero_threshold - * ZeroThreshold may be optionally set to convey the width of the zero - * region. Where the zero region is defined as the closed interval - * [-ZeroThreshold, ZeroThreshold]. - * When ZeroThreshold is 0, zero count bucket stores values that cannot be - * expressed using the standard exponential formula as well as values that - * have been rounded to zero. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Opentelemetry\Proto\Metrics\V1\Metrics::initOnce(); - parent::__construct($data); - } - - /** - * The set of key/value pairs that uniquely identify the timeseries from - * where this point belongs. The list may be empty (may contain 0 elements). - * Attribute keys MUST be unique (it is not allowed to have more than one - * attribute with the same key). - * - * Generated from protobuf field repeated .opentelemetry.proto.common.v1.KeyValue attributes = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getAttributes() - { - return $this->attributes; - } - - /** - * The set of key/value pairs that uniquely identify the timeseries from - * where this point belongs. The list may be empty (may contain 0 elements). - * Attribute keys MUST be unique (it is not allowed to have more than one - * attribute with the same key). - * - * Generated from protobuf field repeated .opentelemetry.proto.common.v1.KeyValue attributes = 1; - * @param \Opentelemetry\Proto\Common\V1\KeyValue[]|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setAttributes($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Opentelemetry\Proto\Common\V1\KeyValue::class); - $this->attributes = $arr; - - return $this; - } - - /** - * StartTimeUnixNano is optional but strongly encouraged, see the - * the detailed comments above Metric. - * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January - * 1970. - * - * Generated from protobuf field fixed64 start_time_unix_nano = 2; - * @return int|string - */ - public function getStartTimeUnixNano() - { - return $this->start_time_unix_nano; - } - - /** - * StartTimeUnixNano is optional but strongly encouraged, see the - * the detailed comments above Metric. - * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January - * 1970. - * - * Generated from protobuf field fixed64 start_time_unix_nano = 2; - * @param int|string $var - * @return $this - */ - public function setStartTimeUnixNano($var) - { - GPBUtil::checkUint64($var); - $this->start_time_unix_nano = $var; - - return $this; - } - - /** - * TimeUnixNano is required, see the detailed comments above Metric. - * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January - * 1970. - * - * Generated from protobuf field fixed64 time_unix_nano = 3; - * @return int|string - */ - public function getTimeUnixNano() - { - return $this->time_unix_nano; - } - - /** - * TimeUnixNano is required, see the detailed comments above Metric. - * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January - * 1970. - * - * Generated from protobuf field fixed64 time_unix_nano = 3; - * @param int|string $var - * @return $this - */ - public function setTimeUnixNano($var) - { - GPBUtil::checkUint64($var); - $this->time_unix_nano = $var; - - return $this; - } - - /** - * count is the number of values in the population. Must be - * non-negative. This value must be equal to the sum of the "bucket_counts" - * values in the positive and negative Buckets plus the "zero_count" field. - * - * Generated from protobuf field fixed64 count = 4; - * @return int|string - */ - public function getCount() - { - return $this->count; - } - - /** - * count is the number of values in the population. Must be - * non-negative. This value must be equal to the sum of the "bucket_counts" - * values in the positive and negative Buckets plus the "zero_count" field. - * - * Generated from protobuf field fixed64 count = 4; - * @param int|string $var - * @return $this - */ - public function setCount($var) - { - GPBUtil::checkUint64($var); - $this->count = $var; - - return $this; - } - - /** - * sum of the values in the population. If count is zero then this field - * must be zero. - * Note: Sum should only be filled out when measuring non-negative discrete - * events, and is assumed to be monotonic over the values of these events. - * Negative events *can* be recorded, but sum should not be filled out when - * doing so. This is specifically to enforce compatibility w/ OpenMetrics, - * see: https://github.com/OpenObservability/OpenMetrics/blob/main/specification/OpenMetrics.md#histogram - * - * Generated from protobuf field optional double sum = 5; - * @return float - */ - public function getSum() - { - return isset($this->sum) ? $this->sum : 0.0; - } - - public function hasSum() - { - return isset($this->sum); - } - - public function clearSum() - { - unset($this->sum); - } - - /** - * sum of the values in the population. If count is zero then this field - * must be zero. - * Note: Sum should only be filled out when measuring non-negative discrete - * events, and is assumed to be monotonic over the values of these events. - * Negative events *can* be recorded, but sum should not be filled out when - * doing so. This is specifically to enforce compatibility w/ OpenMetrics, - * see: https://github.com/OpenObservability/OpenMetrics/blob/main/specification/OpenMetrics.md#histogram - * - * Generated from protobuf field optional double sum = 5; - * @param float $var - * @return $this - */ - public function setSum($var) - { - GPBUtil::checkDouble($var); - $this->sum = $var; - - return $this; - } - - /** - * scale describes the resolution of the histogram. Boundaries are - * located at powers of the base, where: - * base = (2^(2^-scale)) - * The histogram bucket identified by `index`, a signed integer, - * contains values that are greater than (base^index) and - * less than or equal to (base^(index+1)). - * The positive and negative ranges of the histogram are expressed - * separately. Negative values are mapped by their absolute value - * into the negative range using the same scale as the positive range. - * scale is not restricted by the protocol, as the permissible - * values depend on the range of the data. - * - * Generated from protobuf field sint32 scale = 6; - * @return int - */ - public function getScale() - { - return $this->scale; - } - - /** - * scale describes the resolution of the histogram. Boundaries are - * located at powers of the base, where: - * base = (2^(2^-scale)) - * The histogram bucket identified by `index`, a signed integer, - * contains values that are greater than (base^index) and - * less than or equal to (base^(index+1)). - * The positive and negative ranges of the histogram are expressed - * separately. Negative values are mapped by their absolute value - * into the negative range using the same scale as the positive range. - * scale is not restricted by the protocol, as the permissible - * values depend on the range of the data. - * - * Generated from protobuf field sint32 scale = 6; - * @param int $var - * @return $this - */ - public function setScale($var) - { - GPBUtil::checkInt32($var); - $this->scale = $var; - - return $this; - } - - /** - * zero_count is the count of values that are either exactly zero or - * within the region considered zero by the instrumentation at the - * tolerated degree of precision. This bucket stores values that - * cannot be expressed using the standard exponential formula as - * well as values that have been rounded to zero. - * Implementations MAY consider the zero bucket to have probability - * mass equal to (zero_count / count). - * - * Generated from protobuf field fixed64 zero_count = 7; - * @return int|string - */ - public function getZeroCount() - { - return $this->zero_count; - } - - /** - * zero_count is the count of values that are either exactly zero or - * within the region considered zero by the instrumentation at the - * tolerated degree of precision. This bucket stores values that - * cannot be expressed using the standard exponential formula as - * well as values that have been rounded to zero. - * Implementations MAY consider the zero bucket to have probability - * mass equal to (zero_count / count). - * - * Generated from protobuf field fixed64 zero_count = 7; - * @param int|string $var - * @return $this - */ - public function setZeroCount($var) - { - GPBUtil::checkUint64($var); - $this->zero_count = $var; - - return $this; - } - - /** - * positive carries the positive range of exponential bucket counts. - * - * Generated from protobuf field .opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint.Buckets positive = 8; - * @return \Opentelemetry\Proto\Metrics\V1\ExponentialHistogramDataPoint\Buckets|null - */ - public function getPositive() - { - return $this->positive; - } - - public function hasPositive() - { - return isset($this->positive); - } - - public function clearPositive() - { - unset($this->positive); - } - - /** - * positive carries the positive range of exponential bucket counts. - * - * Generated from protobuf field .opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint.Buckets positive = 8; - * @param \Opentelemetry\Proto\Metrics\V1\ExponentialHistogramDataPoint\Buckets $var - * @return $this - */ - public function setPositive($var) - { - GPBUtil::checkMessage($var, \Opentelemetry\Proto\Metrics\V1\ExponentialHistogramDataPoint\Buckets::class); - $this->positive = $var; - - return $this; - } - - /** - * negative carries the negative range of exponential bucket counts. - * - * Generated from protobuf field .opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint.Buckets negative = 9; - * @return \Opentelemetry\Proto\Metrics\V1\ExponentialHistogramDataPoint\Buckets|null - */ - public function getNegative() - { - return $this->negative; - } - - public function hasNegative() - { - return isset($this->negative); - } - - public function clearNegative() - { - unset($this->negative); - } - - /** - * negative carries the negative range of exponential bucket counts. - * - * Generated from protobuf field .opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint.Buckets negative = 9; - * @param \Opentelemetry\Proto\Metrics\V1\ExponentialHistogramDataPoint\Buckets $var - * @return $this - */ - public function setNegative($var) - { - GPBUtil::checkMessage($var, \Opentelemetry\Proto\Metrics\V1\ExponentialHistogramDataPoint\Buckets::class); - $this->negative = $var; - - return $this; - } - - /** - * Flags that apply to this specific data point. See DataPointFlags - * for the available flags and their meaning. - * - * Generated from protobuf field uint32 flags = 10; - * @return int - */ - public function getFlags() - { - return $this->flags; - } - - /** - * Flags that apply to this specific data point. See DataPointFlags - * for the available flags and their meaning. - * - * Generated from protobuf field uint32 flags = 10; - * @param int $var - * @return $this - */ - public function setFlags($var) - { - GPBUtil::checkUint32($var); - $this->flags = $var; - - return $this; - } - - /** - * (Optional) List of exemplars collected from - * measurements that were used to form the data point - * - * Generated from protobuf field repeated .opentelemetry.proto.metrics.v1.Exemplar exemplars = 11; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getExemplars() - { - return $this->exemplars; - } - - /** - * (Optional) List of exemplars collected from - * measurements that were used to form the data point - * - * Generated from protobuf field repeated .opentelemetry.proto.metrics.v1.Exemplar exemplars = 11; - * @param \Opentelemetry\Proto\Metrics\V1\Exemplar[]|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setExemplars($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Opentelemetry\Proto\Metrics\V1\Exemplar::class); - $this->exemplars = $arr; - - return $this; - } - - /** - * min is the minimum value over (start_time, end_time]. - * - * Generated from protobuf field optional double min = 12; - * @return float - */ - public function getMin() - { - return isset($this->min) ? $this->min : 0.0; - } - - public function hasMin() - { - return isset($this->min); - } - - public function clearMin() - { - unset($this->min); - } - - /** - * min is the minimum value over (start_time, end_time]. - * - * Generated from protobuf field optional double min = 12; - * @param float $var - * @return $this - */ - public function setMin($var) - { - GPBUtil::checkDouble($var); - $this->min = $var; - - return $this; - } - - /** - * max is the maximum value over (start_time, end_time]. - * - * Generated from protobuf field optional double max = 13; - * @return float - */ - public function getMax() - { - return isset($this->max) ? $this->max : 0.0; - } - - public function hasMax() - { - return isset($this->max); - } - - public function clearMax() - { - unset($this->max); - } - - /** - * max is the maximum value over (start_time, end_time]. - * - * Generated from protobuf field optional double max = 13; - * @param float $var - * @return $this - */ - public function setMax($var) - { - GPBUtil::checkDouble($var); - $this->max = $var; - - return $this; - } - - /** - * ZeroThreshold may be optionally set to convey the width of the zero - * region. Where the zero region is defined as the closed interval - * [-ZeroThreshold, ZeroThreshold]. - * When ZeroThreshold is 0, zero count bucket stores values that cannot be - * expressed using the standard exponential formula as well as values that - * have been rounded to zero. - * - * Generated from protobuf field double zero_threshold = 14; - * @return float - */ - public function getZeroThreshold() - { - return $this->zero_threshold; - } - - /** - * ZeroThreshold may be optionally set to convey the width of the zero - * region. Where the zero region is defined as the closed interval - * [-ZeroThreshold, ZeroThreshold]. - * When ZeroThreshold is 0, zero count bucket stores values that cannot be - * expressed using the standard exponential formula as well as values that - * have been rounded to zero. - * - * Generated from protobuf field double zero_threshold = 14; - * @param float $var - * @return $this - */ - public function setZeroThreshold($var) - { - GPBUtil::checkDouble($var); - $this->zero_threshold = $var; - - return $this; - } - -} - diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/ExponentialHistogramDataPoint/Buckets.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/ExponentialHistogramDataPoint/Buckets.php deleted file mode 100644 index e1a90a34a..000000000 --- a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/ExponentialHistogramDataPoint/Buckets.php +++ /dev/null @@ -1,141 +0,0 @@ -opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint.Buckets - */ -class Buckets extends \Google\Protobuf\Internal\Message -{ - /** - * Offset is the bucket index of the first entry in the bucket_counts array. - * - * Note: This uses a varint encoding as a simple form of compression. - * - * Generated from protobuf field sint32 offset = 1; - */ - protected $offset = 0; - /** - * bucket_counts is an array of count values, where bucket_counts[i] carries - * the count of the bucket at index (offset+i). bucket_counts[i] is the count - * of values greater than base^(offset+i) and less than or equal to - * base^(offset+i+1). - * Note: By contrast, the explicit HistogramDataPoint uses - * fixed64. This field is expected to have many buckets, - * especially zeros, so uint64 has been selected to ensure - * varint encoding. - * - * Generated from protobuf field repeated uint64 bucket_counts = 2; - */ - private $bucket_counts; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $offset - * Offset is the bucket index of the first entry in the bucket_counts array. - * - * Note: This uses a varint encoding as a simple form of compression. - * @type int[]|string[]|\Google\Protobuf\Internal\RepeatedField $bucket_counts - * bucket_counts is an array of count values, where bucket_counts[i] carries - * the count of the bucket at index (offset+i). bucket_counts[i] is the count - * of values greater than base^(offset+i) and less than or equal to - * base^(offset+i+1). - * Note: By contrast, the explicit HistogramDataPoint uses - * fixed64. This field is expected to have many buckets, - * especially zeros, so uint64 has been selected to ensure - * varint encoding. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Opentelemetry\Proto\Metrics\V1\Metrics::initOnce(); - parent::__construct($data); - } - - /** - * Offset is the bucket index of the first entry in the bucket_counts array. - * - * Note: This uses a varint encoding as a simple form of compression. - * - * Generated from protobuf field sint32 offset = 1; - * @return int - */ - public function getOffset() - { - return $this->offset; - } - - /** - * Offset is the bucket index of the first entry in the bucket_counts array. - * - * Note: This uses a varint encoding as a simple form of compression. - * - * Generated from protobuf field sint32 offset = 1; - * @param int $var - * @return $this - */ - public function setOffset($var) - { - GPBUtil::checkInt32($var); - $this->offset = $var; - - return $this; - } - - /** - * bucket_counts is an array of count values, where bucket_counts[i] carries - * the count of the bucket at index (offset+i). bucket_counts[i] is the count - * of values greater than base^(offset+i) and less than or equal to - * base^(offset+i+1). - * Note: By contrast, the explicit HistogramDataPoint uses - * fixed64. This field is expected to have many buckets, - * especially zeros, so uint64 has been selected to ensure - * varint encoding. - * - * Generated from protobuf field repeated uint64 bucket_counts = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getBucketCounts() - { - return $this->bucket_counts; - } - - /** - * bucket_counts is an array of count values, where bucket_counts[i] carries - * the count of the bucket at index (offset+i). bucket_counts[i] is the count - * of values greater than base^(offset+i) and less than or equal to - * base^(offset+i+1). - * Note: By contrast, the explicit HistogramDataPoint uses - * fixed64. This field is expected to have many buckets, - * especially zeros, so uint64 has been selected to ensure - * varint encoding. - * - * Generated from protobuf field repeated uint64 bucket_counts = 2; - * @param int[]|string[]|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setBucketCounts($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::UINT64); - $this->bucket_counts = $arr; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Buckets::class, \Opentelemetry\Proto\Metrics\V1\ExponentialHistogramDataPoint_Buckets::class); - diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/ExponentialHistogramDataPoint_Buckets.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/ExponentialHistogramDataPoint_Buckets.php deleted file mode 100644 index a002399a8..000000000 --- a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/ExponentialHistogramDataPoint_Buckets.php +++ /dev/null @@ -1,16 +0,0 @@ -opentelemetry.proto.metrics.v1.Gauge - */ -class Gauge extends \Google\Protobuf\Internal\Message -{ - /** - * Generated from protobuf field repeated .opentelemetry.proto.metrics.v1.NumberDataPoint data_points = 1; - */ - private $data_points; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Opentelemetry\Proto\Metrics\V1\NumberDataPoint[]|\Google\Protobuf\Internal\RepeatedField $data_points - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Opentelemetry\Proto\Metrics\V1\Metrics::initOnce(); - parent::__construct($data); - } - - /** - * Generated from protobuf field repeated .opentelemetry.proto.metrics.v1.NumberDataPoint data_points = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getDataPoints() - { - return $this->data_points; - } - - /** - * Generated from protobuf field repeated .opentelemetry.proto.metrics.v1.NumberDataPoint data_points = 1; - * @param \Opentelemetry\Proto\Metrics\V1\NumberDataPoint[]|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setDataPoints($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Opentelemetry\Proto\Metrics\V1\NumberDataPoint::class); - $this->data_points = $arr; - - return $this; - } - -} - diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/Histogram.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/Histogram.php deleted file mode 100644 index e6643b89e..000000000 --- a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/Histogram.php +++ /dev/null @@ -1,99 +0,0 @@ -opentelemetry.proto.metrics.v1.Histogram - */ -class Histogram extends \Google\Protobuf\Internal\Message -{ - /** - * Generated from protobuf field repeated .opentelemetry.proto.metrics.v1.HistogramDataPoint data_points = 1; - */ - private $data_points; - /** - * aggregation_temporality describes if the aggregator reports delta changes - * since last report time, or cumulative changes since a fixed start time. - * - * Generated from protobuf field .opentelemetry.proto.metrics.v1.AggregationTemporality aggregation_temporality = 2; - */ - protected $aggregation_temporality = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Opentelemetry\Proto\Metrics\V1\HistogramDataPoint[]|\Google\Protobuf\Internal\RepeatedField $data_points - * @type int $aggregation_temporality - * aggregation_temporality describes if the aggregator reports delta changes - * since last report time, or cumulative changes since a fixed start time. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Opentelemetry\Proto\Metrics\V1\Metrics::initOnce(); - parent::__construct($data); - } - - /** - * Generated from protobuf field repeated .opentelemetry.proto.metrics.v1.HistogramDataPoint data_points = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getDataPoints() - { - return $this->data_points; - } - - /** - * Generated from protobuf field repeated .opentelemetry.proto.metrics.v1.HistogramDataPoint data_points = 1; - * @param \Opentelemetry\Proto\Metrics\V1\HistogramDataPoint[]|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setDataPoints($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Opentelemetry\Proto\Metrics\V1\HistogramDataPoint::class); - $this->data_points = $arr; - - return $this; - } - - /** - * aggregation_temporality describes if the aggregator reports delta changes - * since last report time, or cumulative changes since a fixed start time. - * - * Generated from protobuf field .opentelemetry.proto.metrics.v1.AggregationTemporality aggregation_temporality = 2; - * @return int - */ - public function getAggregationTemporality() - { - return $this->aggregation_temporality; - } - - /** - * aggregation_temporality describes if the aggregator reports delta changes - * since last report time, or cumulative changes since a fixed start time. - * - * Generated from protobuf field .opentelemetry.proto.metrics.v1.AggregationTemporality aggregation_temporality = 2; - * @param int $var - * @return $this - */ - public function setAggregationTemporality($var) - { - GPBUtil::checkEnum($var, \Opentelemetry\Proto\Metrics\V1\AggregationTemporality::class); - $this->aggregation_temporality = $var; - - return $this; - } - -} - diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/HistogramDataPoint.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/HistogramDataPoint.php deleted file mode 100644 index 2b19dd856..000000000 --- a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/HistogramDataPoint.php +++ /dev/null @@ -1,565 +0,0 @@ -opentelemetry.proto.metrics.v1.HistogramDataPoint - */ -class HistogramDataPoint extends \Google\Protobuf\Internal\Message -{ - /** - * The set of key/value pairs that uniquely identify the timeseries from - * where this point belongs. The list may be empty (may contain 0 elements). - * Attribute keys MUST be unique (it is not allowed to have more than one - * attribute with the same key). - * - * Generated from protobuf field repeated .opentelemetry.proto.common.v1.KeyValue attributes = 9; - */ - private $attributes; - /** - * StartTimeUnixNano is optional but strongly encouraged, see the - * the detailed comments above Metric. - * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January - * 1970. - * - * Generated from protobuf field fixed64 start_time_unix_nano = 2; - */ - protected $start_time_unix_nano = 0; - /** - * TimeUnixNano is required, see the detailed comments above Metric. - * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January - * 1970. - * - * Generated from protobuf field fixed64 time_unix_nano = 3; - */ - protected $time_unix_nano = 0; - /** - * count is the number of values in the population. Must be non-negative. This - * value must be equal to the sum of the "count" fields in buckets if a - * histogram is provided. - * - * Generated from protobuf field fixed64 count = 4; - */ - protected $count = 0; - /** - * sum of the values in the population. If count is zero then this field - * must be zero. - * Note: Sum should only be filled out when measuring non-negative discrete - * events, and is assumed to be monotonic over the values of these events. - * Negative events *can* be recorded, but sum should not be filled out when - * doing so. This is specifically to enforce compatibility w/ OpenMetrics, - * see: https://github.com/OpenObservability/OpenMetrics/blob/main/specification/OpenMetrics.md#histogram - * - * Generated from protobuf field optional double sum = 5; - */ - protected $sum = null; - /** - * bucket_counts is an optional field contains the count values of histogram - * for each bucket. - * The sum of the bucket_counts must equal the value in the count field. - * The number of elements in bucket_counts array must be by one greater than - * the number of elements in explicit_bounds array. - * - * Generated from protobuf field repeated fixed64 bucket_counts = 6; - */ - private $bucket_counts; - /** - * explicit_bounds specifies buckets with explicitly defined bounds for values. - * The boundaries for bucket at index i are: - * (-infinity, explicit_bounds[i]] for i == 0 - * (explicit_bounds[i-1], explicit_bounds[i]] for 0 < i < size(explicit_bounds) - * (explicit_bounds[i-1], +infinity) for i == size(explicit_bounds) - * The values in the explicit_bounds array must be strictly increasing. - * Histogram buckets are inclusive of their upper boundary, except the last - * bucket where the boundary is at infinity. This format is intentionally - * compatible with the OpenMetrics histogram definition. - * - * Generated from protobuf field repeated double explicit_bounds = 7; - */ - private $explicit_bounds; - /** - * (Optional) List of exemplars collected from - * measurements that were used to form the data point - * - * Generated from protobuf field repeated .opentelemetry.proto.metrics.v1.Exemplar exemplars = 8; - */ - private $exemplars; - /** - * Flags that apply to this specific data point. See DataPointFlags - * for the available flags and their meaning. - * - * Generated from protobuf field uint32 flags = 10; - */ - protected $flags = 0; - /** - * min is the minimum value over (start_time, end_time]. - * - * Generated from protobuf field optional double min = 11; - */ - protected $min = null; - /** - * max is the maximum value over (start_time, end_time]. - * - * Generated from protobuf field optional double max = 12; - */ - protected $max = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Opentelemetry\Proto\Common\V1\KeyValue[]|\Google\Protobuf\Internal\RepeatedField $attributes - * The set of key/value pairs that uniquely identify the timeseries from - * where this point belongs. The list may be empty (may contain 0 elements). - * Attribute keys MUST be unique (it is not allowed to have more than one - * attribute with the same key). - * @type int|string $start_time_unix_nano - * StartTimeUnixNano is optional but strongly encouraged, see the - * the detailed comments above Metric. - * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January - * 1970. - * @type int|string $time_unix_nano - * TimeUnixNano is required, see the detailed comments above Metric. - * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January - * 1970. - * @type int|string $count - * count is the number of values in the population. Must be non-negative. This - * value must be equal to the sum of the "count" fields in buckets if a - * histogram is provided. - * @type float $sum - * sum of the values in the population. If count is zero then this field - * must be zero. - * Note: Sum should only be filled out when measuring non-negative discrete - * events, and is assumed to be monotonic over the values of these events. - * Negative events *can* be recorded, but sum should not be filled out when - * doing so. This is specifically to enforce compatibility w/ OpenMetrics, - * see: https://github.com/OpenObservability/OpenMetrics/blob/main/specification/OpenMetrics.md#histogram - * @type int[]|string[]|\Google\Protobuf\Internal\RepeatedField $bucket_counts - * bucket_counts is an optional field contains the count values of histogram - * for each bucket. - * The sum of the bucket_counts must equal the value in the count field. - * The number of elements in bucket_counts array must be by one greater than - * the number of elements in explicit_bounds array. - * @type float[]|\Google\Protobuf\Internal\RepeatedField $explicit_bounds - * explicit_bounds specifies buckets with explicitly defined bounds for values. - * The boundaries for bucket at index i are: - * (-infinity, explicit_bounds[i]] for i == 0 - * (explicit_bounds[i-1], explicit_bounds[i]] for 0 < i < size(explicit_bounds) - * (explicit_bounds[i-1], +infinity) for i == size(explicit_bounds) - * The values in the explicit_bounds array must be strictly increasing. - * Histogram buckets are inclusive of their upper boundary, except the last - * bucket where the boundary is at infinity. This format is intentionally - * compatible with the OpenMetrics histogram definition. - * @type \Opentelemetry\Proto\Metrics\V1\Exemplar[]|\Google\Protobuf\Internal\RepeatedField $exemplars - * (Optional) List of exemplars collected from - * measurements that were used to form the data point - * @type int $flags - * Flags that apply to this specific data point. See DataPointFlags - * for the available flags and their meaning. - * @type float $min - * min is the minimum value over (start_time, end_time]. - * @type float $max - * max is the maximum value over (start_time, end_time]. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Opentelemetry\Proto\Metrics\V1\Metrics::initOnce(); - parent::__construct($data); - } - - /** - * The set of key/value pairs that uniquely identify the timeseries from - * where this point belongs. The list may be empty (may contain 0 elements). - * Attribute keys MUST be unique (it is not allowed to have more than one - * attribute with the same key). - * - * Generated from protobuf field repeated .opentelemetry.proto.common.v1.KeyValue attributes = 9; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getAttributes() - { - return $this->attributes; - } - - /** - * The set of key/value pairs that uniquely identify the timeseries from - * where this point belongs. The list may be empty (may contain 0 elements). - * Attribute keys MUST be unique (it is not allowed to have more than one - * attribute with the same key). - * - * Generated from protobuf field repeated .opentelemetry.proto.common.v1.KeyValue attributes = 9; - * @param \Opentelemetry\Proto\Common\V1\KeyValue[]|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setAttributes($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Opentelemetry\Proto\Common\V1\KeyValue::class); - $this->attributes = $arr; - - return $this; - } - - /** - * StartTimeUnixNano is optional but strongly encouraged, see the - * the detailed comments above Metric. - * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January - * 1970. - * - * Generated from protobuf field fixed64 start_time_unix_nano = 2; - * @return int|string - */ - public function getStartTimeUnixNano() - { - return $this->start_time_unix_nano; - } - - /** - * StartTimeUnixNano is optional but strongly encouraged, see the - * the detailed comments above Metric. - * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January - * 1970. - * - * Generated from protobuf field fixed64 start_time_unix_nano = 2; - * @param int|string $var - * @return $this - */ - public function setStartTimeUnixNano($var) - { - GPBUtil::checkUint64($var); - $this->start_time_unix_nano = $var; - - return $this; - } - - /** - * TimeUnixNano is required, see the detailed comments above Metric. - * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January - * 1970. - * - * Generated from protobuf field fixed64 time_unix_nano = 3; - * @return int|string - */ - public function getTimeUnixNano() - { - return $this->time_unix_nano; - } - - /** - * TimeUnixNano is required, see the detailed comments above Metric. - * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January - * 1970. - * - * Generated from protobuf field fixed64 time_unix_nano = 3; - * @param int|string $var - * @return $this - */ - public function setTimeUnixNano($var) - { - GPBUtil::checkUint64($var); - $this->time_unix_nano = $var; - - return $this; - } - - /** - * count is the number of values in the population. Must be non-negative. This - * value must be equal to the sum of the "count" fields in buckets if a - * histogram is provided. - * - * Generated from protobuf field fixed64 count = 4; - * @return int|string - */ - public function getCount() - { - return $this->count; - } - - /** - * count is the number of values in the population. Must be non-negative. This - * value must be equal to the sum of the "count" fields in buckets if a - * histogram is provided. - * - * Generated from protobuf field fixed64 count = 4; - * @param int|string $var - * @return $this - */ - public function setCount($var) - { - GPBUtil::checkUint64($var); - $this->count = $var; - - return $this; - } - - /** - * sum of the values in the population. If count is zero then this field - * must be zero. - * Note: Sum should only be filled out when measuring non-negative discrete - * events, and is assumed to be monotonic over the values of these events. - * Negative events *can* be recorded, but sum should not be filled out when - * doing so. This is specifically to enforce compatibility w/ OpenMetrics, - * see: https://github.com/OpenObservability/OpenMetrics/blob/main/specification/OpenMetrics.md#histogram - * - * Generated from protobuf field optional double sum = 5; - * @return float - */ - public function getSum() - { - return isset($this->sum) ? $this->sum : 0.0; - } - - public function hasSum() - { - return isset($this->sum); - } - - public function clearSum() - { - unset($this->sum); - } - - /** - * sum of the values in the population. If count is zero then this field - * must be zero. - * Note: Sum should only be filled out when measuring non-negative discrete - * events, and is assumed to be monotonic over the values of these events. - * Negative events *can* be recorded, but sum should not be filled out when - * doing so. This is specifically to enforce compatibility w/ OpenMetrics, - * see: https://github.com/OpenObservability/OpenMetrics/blob/main/specification/OpenMetrics.md#histogram - * - * Generated from protobuf field optional double sum = 5; - * @param float $var - * @return $this - */ - public function setSum($var) - { - GPBUtil::checkDouble($var); - $this->sum = $var; - - return $this; - } - - /** - * bucket_counts is an optional field contains the count values of histogram - * for each bucket. - * The sum of the bucket_counts must equal the value in the count field. - * The number of elements in bucket_counts array must be by one greater than - * the number of elements in explicit_bounds array. - * - * Generated from protobuf field repeated fixed64 bucket_counts = 6; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getBucketCounts() - { - return $this->bucket_counts; - } - - /** - * bucket_counts is an optional field contains the count values of histogram - * for each bucket. - * The sum of the bucket_counts must equal the value in the count field. - * The number of elements in bucket_counts array must be by one greater than - * the number of elements in explicit_bounds array. - * - * Generated from protobuf field repeated fixed64 bucket_counts = 6; - * @param int[]|string[]|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setBucketCounts($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::FIXED64); - $this->bucket_counts = $arr; - - return $this; - } - - /** - * explicit_bounds specifies buckets with explicitly defined bounds for values. - * The boundaries for bucket at index i are: - * (-infinity, explicit_bounds[i]] for i == 0 - * (explicit_bounds[i-1], explicit_bounds[i]] for 0 < i < size(explicit_bounds) - * (explicit_bounds[i-1], +infinity) for i == size(explicit_bounds) - * The values in the explicit_bounds array must be strictly increasing. - * Histogram buckets are inclusive of their upper boundary, except the last - * bucket where the boundary is at infinity. This format is intentionally - * compatible with the OpenMetrics histogram definition. - * - * Generated from protobuf field repeated double explicit_bounds = 7; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getExplicitBounds() - { - return $this->explicit_bounds; - } - - /** - * explicit_bounds specifies buckets with explicitly defined bounds for values. - * The boundaries for bucket at index i are: - * (-infinity, explicit_bounds[i]] for i == 0 - * (explicit_bounds[i-1], explicit_bounds[i]] for 0 < i < size(explicit_bounds) - * (explicit_bounds[i-1], +infinity) for i == size(explicit_bounds) - * The values in the explicit_bounds array must be strictly increasing. - * Histogram buckets are inclusive of their upper boundary, except the last - * bucket where the boundary is at infinity. This format is intentionally - * compatible with the OpenMetrics histogram definition. - * - * Generated from protobuf field repeated double explicit_bounds = 7; - * @param float[]|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setExplicitBounds($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::DOUBLE); - $this->explicit_bounds = $arr; - - return $this; - } - - /** - * (Optional) List of exemplars collected from - * measurements that were used to form the data point - * - * Generated from protobuf field repeated .opentelemetry.proto.metrics.v1.Exemplar exemplars = 8; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getExemplars() - { - return $this->exemplars; - } - - /** - * (Optional) List of exemplars collected from - * measurements that were used to form the data point - * - * Generated from protobuf field repeated .opentelemetry.proto.metrics.v1.Exemplar exemplars = 8; - * @param \Opentelemetry\Proto\Metrics\V1\Exemplar[]|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setExemplars($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Opentelemetry\Proto\Metrics\V1\Exemplar::class); - $this->exemplars = $arr; - - return $this; - } - - /** - * Flags that apply to this specific data point. See DataPointFlags - * for the available flags and their meaning. - * - * Generated from protobuf field uint32 flags = 10; - * @return int - */ - public function getFlags() - { - return $this->flags; - } - - /** - * Flags that apply to this specific data point. See DataPointFlags - * for the available flags and their meaning. - * - * Generated from protobuf field uint32 flags = 10; - * @param int $var - * @return $this - */ - public function setFlags($var) - { - GPBUtil::checkUint32($var); - $this->flags = $var; - - return $this; - } - - /** - * min is the minimum value over (start_time, end_time]. - * - * Generated from protobuf field optional double min = 11; - * @return float - */ - public function getMin() - { - return isset($this->min) ? $this->min : 0.0; - } - - public function hasMin() - { - return isset($this->min); - } - - public function clearMin() - { - unset($this->min); - } - - /** - * min is the minimum value over (start_time, end_time]. - * - * Generated from protobuf field optional double min = 11; - * @param float $var - * @return $this - */ - public function setMin($var) - { - GPBUtil::checkDouble($var); - $this->min = $var; - - return $this; - } - - /** - * max is the maximum value over (start_time, end_time]. - * - * Generated from protobuf field optional double max = 12; - * @return float - */ - public function getMax() - { - return isset($this->max) ? $this->max : 0.0; - } - - public function hasMax() - { - return isset($this->max); - } - - public function clearMax() - { - unset($this->max); - } - - /** - * max is the maximum value over (start_time, end_time]. - * - * Generated from protobuf field optional double max = 12; - * @param float $var - * @return $this - */ - public function setMax($var) - { - GPBUtil::checkDouble($var); - $this->max = $var; - - return $this; - } - -} - diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/InstrumentationLibraryMetrics.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/InstrumentationLibraryMetrics.php deleted file mode 100644 index 807aa1054..000000000 --- a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/InstrumentationLibraryMetrics.php +++ /dev/null @@ -1,156 +0,0 @@ -opentelemetry.proto.metrics.v1.InstrumentationLibraryMetrics - */ -class InstrumentationLibraryMetrics extends \Google\Protobuf\Internal\Message -{ - /** - * The instrumentation library information for the metrics in this message. - * Semantically when InstrumentationLibrary isn't set, it is equivalent with - * an empty instrumentation library name (unknown). - * - * Generated from protobuf field .opentelemetry.proto.common.v1.InstrumentationLibrary instrumentation_library = 1; - */ - protected $instrumentation_library = null; - /** - * A list of metrics that originate from an instrumentation library. - * - * Generated from protobuf field repeated .opentelemetry.proto.metrics.v1.Metric metrics = 2; - */ - private $metrics; - /** - * This schema_url applies to all metrics in the "metrics" field. - * - * Generated from protobuf field string schema_url = 3; - */ - protected $schema_url = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Opentelemetry\Proto\Common\V1\InstrumentationLibrary $instrumentation_library - * The instrumentation library information for the metrics in this message. - * Semantically when InstrumentationLibrary isn't set, it is equivalent with - * an empty instrumentation library name (unknown). - * @type \Opentelemetry\Proto\Metrics\V1\Metric[]|\Google\Protobuf\Internal\RepeatedField $metrics - * A list of metrics that originate from an instrumentation library. - * @type string $schema_url - * This schema_url applies to all metrics in the "metrics" field. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Opentelemetry\Proto\Metrics\V1\Metrics::initOnce(); - parent::__construct($data); - } - - /** - * The instrumentation library information for the metrics in this message. - * Semantically when InstrumentationLibrary isn't set, it is equivalent with - * an empty instrumentation library name (unknown). - * - * Generated from protobuf field .opentelemetry.proto.common.v1.InstrumentationLibrary instrumentation_library = 1; - * @return \Opentelemetry\Proto\Common\V1\InstrumentationLibrary|null - */ - public function getInstrumentationLibrary() - { - return $this->instrumentation_library; - } - - public function hasInstrumentationLibrary() - { - return isset($this->instrumentation_library); - } - - public function clearInstrumentationLibrary() - { - unset($this->instrumentation_library); - } - - /** - * The instrumentation library information for the metrics in this message. - * Semantically when InstrumentationLibrary isn't set, it is equivalent with - * an empty instrumentation library name (unknown). - * - * Generated from protobuf field .opentelemetry.proto.common.v1.InstrumentationLibrary instrumentation_library = 1; - * @param \Opentelemetry\Proto\Common\V1\InstrumentationLibrary $var - * @return $this - */ - public function setInstrumentationLibrary($var) - { - GPBUtil::checkMessage($var, \Opentelemetry\Proto\Common\V1\InstrumentationLibrary::class); - $this->instrumentation_library = $var; - - return $this; - } - - /** - * A list of metrics that originate from an instrumentation library. - * - * Generated from protobuf field repeated .opentelemetry.proto.metrics.v1.Metric metrics = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getMetrics() - { - return $this->metrics; - } - - /** - * A list of metrics that originate from an instrumentation library. - * - * Generated from protobuf field repeated .opentelemetry.proto.metrics.v1.Metric metrics = 2; - * @param \Opentelemetry\Proto\Metrics\V1\Metric[]|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setMetrics($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Opentelemetry\Proto\Metrics\V1\Metric::class); - $this->metrics = $arr; - - return $this; - } - - /** - * This schema_url applies to all metrics in the "metrics" field. - * - * Generated from protobuf field string schema_url = 3; - * @return string - */ - public function getSchemaUrl() - { - return $this->schema_url; - } - - /** - * This schema_url applies to all metrics in the "metrics" field. - * - * Generated from protobuf field string schema_url = 3; - * @param string $var - * @return $this - */ - public function setSchemaUrl($var) - { - GPBUtil::checkString($var, True); - $this->schema_url = $var; - - return $this; - } - -} - diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/IntDataPoint.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/IntDataPoint.php deleted file mode 100644 index 2eac03fcb..000000000 --- a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/IntDataPoint.php +++ /dev/null @@ -1,227 +0,0 @@ -opentelemetry.proto.metrics.v1.IntDataPoint - */ -class IntDataPoint extends \Google\Protobuf\Internal\Message -{ - /** - * The set of labels that uniquely identify this timeseries. - * - * Generated from protobuf field repeated .opentelemetry.proto.common.v1.StringKeyValue labels = 1; - */ - private $labels; - /** - * StartTimeUnixNano is optional but strongly encouraged, see the - * the detailed comments above Metric. - * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January - * 1970. - * - * Generated from protobuf field fixed64 start_time_unix_nano = 2; - */ - protected $start_time_unix_nano = 0; - /** - * TimeUnixNano is required, see the detailed comments above Metric. - * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January - * 1970. - * - * Generated from protobuf field fixed64 time_unix_nano = 3; - */ - protected $time_unix_nano = 0; - /** - * value itself. - * - * Generated from protobuf field sfixed64 value = 4; - */ - protected $value = 0; - /** - * (Optional) List of exemplars collected from - * measurements that were used to form the data point - * - * Generated from protobuf field repeated .opentelemetry.proto.metrics.v1.IntExemplar exemplars = 5; - */ - private $exemplars; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Opentelemetry\Proto\Common\V1\StringKeyValue[]|\Google\Protobuf\Internal\RepeatedField $labels - * The set of labels that uniquely identify this timeseries. - * @type int|string $start_time_unix_nano - * StartTimeUnixNano is optional but strongly encouraged, see the - * the detailed comments above Metric. - * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January - * 1970. - * @type int|string $time_unix_nano - * TimeUnixNano is required, see the detailed comments above Metric. - * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January - * 1970. - * @type int|string $value - * value itself. - * @type \Opentelemetry\Proto\Metrics\V1\IntExemplar[]|\Google\Protobuf\Internal\RepeatedField $exemplars - * (Optional) List of exemplars collected from - * measurements that were used to form the data point - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Opentelemetry\Proto\Metrics\V1\Metrics::initOnce(); - parent::__construct($data); - } - - /** - * The set of labels that uniquely identify this timeseries. - * - * Generated from protobuf field repeated .opentelemetry.proto.common.v1.StringKeyValue labels = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getLabels() - { - return $this->labels; - } - - /** - * The set of labels that uniquely identify this timeseries. - * - * Generated from protobuf field repeated .opentelemetry.proto.common.v1.StringKeyValue labels = 1; - * @param \Opentelemetry\Proto\Common\V1\StringKeyValue[]|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setLabels($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Opentelemetry\Proto\Common\V1\StringKeyValue::class); - $this->labels = $arr; - - return $this; - } - - /** - * StartTimeUnixNano is optional but strongly encouraged, see the - * the detailed comments above Metric. - * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January - * 1970. - * - * Generated from protobuf field fixed64 start_time_unix_nano = 2; - * @return int|string - */ - public function getStartTimeUnixNano() - { - return $this->start_time_unix_nano; - } - - /** - * StartTimeUnixNano is optional but strongly encouraged, see the - * the detailed comments above Metric. - * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January - * 1970. - * - * Generated from protobuf field fixed64 start_time_unix_nano = 2; - * @param int|string $var - * @return $this - */ - public function setStartTimeUnixNano($var) - { - GPBUtil::checkUint64($var); - $this->start_time_unix_nano = $var; - - return $this; - } - - /** - * TimeUnixNano is required, see the detailed comments above Metric. - * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January - * 1970. - * - * Generated from protobuf field fixed64 time_unix_nano = 3; - * @return int|string - */ - public function getTimeUnixNano() - { - return $this->time_unix_nano; - } - - /** - * TimeUnixNano is required, see the detailed comments above Metric. - * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January - * 1970. - * - * Generated from protobuf field fixed64 time_unix_nano = 3; - * @param int|string $var - * @return $this - */ - public function setTimeUnixNano($var) - { - GPBUtil::checkUint64($var); - $this->time_unix_nano = $var; - - return $this; - } - - /** - * value itself. - * - * Generated from protobuf field sfixed64 value = 4; - * @return int|string - */ - public function getValue() - { - return $this->value; - } - - /** - * value itself. - * - * Generated from protobuf field sfixed64 value = 4; - * @param int|string $var - * @return $this - */ - public function setValue($var) - { - GPBUtil::checkInt64($var); - $this->value = $var; - - return $this; - } - - /** - * (Optional) List of exemplars collected from - * measurements that were used to form the data point - * - * Generated from protobuf field repeated .opentelemetry.proto.metrics.v1.IntExemplar exemplars = 5; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getExemplars() - { - return $this->exemplars; - } - - /** - * (Optional) List of exemplars collected from - * measurements that were used to form the data point - * - * Generated from protobuf field repeated .opentelemetry.proto.metrics.v1.IntExemplar exemplars = 5; - * @param \Opentelemetry\Proto\Metrics\V1\IntExemplar[]|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setExemplars($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Opentelemetry\Proto\Metrics\V1\IntExemplar::class); - $this->exemplars = $arr; - - return $this; - } - -} - diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/IntExemplar.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/IntExemplar.php deleted file mode 100644 index 319c0ff27..000000000 --- a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/IntExemplar.php +++ /dev/null @@ -1,235 +0,0 @@ -opentelemetry.proto.metrics.v1.IntExemplar - */ -class IntExemplar extends \Google\Protobuf\Internal\Message -{ - /** - * The set of labels that were filtered out by the aggregator, but recorded - * alongside the original measurement. Only labels that were filtered out - * by the aggregator should be included - * - * Generated from protobuf field repeated .opentelemetry.proto.common.v1.StringKeyValue filtered_labels = 1; - */ - private $filtered_labels; - /** - * time_unix_nano is the exact time when this exemplar was recorded - * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January - * 1970. - * - * Generated from protobuf field fixed64 time_unix_nano = 2; - */ - protected $time_unix_nano = 0; - /** - * Numerical int value of the measurement that was recorded. - * - * Generated from protobuf field sfixed64 value = 3; - */ - protected $value = 0; - /** - * (Optional) Span ID of the exemplar trace. - * span_id may be missing if the measurement is not recorded inside a trace - * or if the trace is not sampled. - * - * Generated from protobuf field bytes span_id = 4; - */ - protected $span_id = ''; - /** - * (Optional) Trace ID of the exemplar trace. - * trace_id may be missing if the measurement is not recorded inside a trace - * or if the trace is not sampled. - * - * Generated from protobuf field bytes trace_id = 5; - */ - protected $trace_id = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Opentelemetry\Proto\Common\V1\StringKeyValue[]|\Google\Protobuf\Internal\RepeatedField $filtered_labels - * The set of labels that were filtered out by the aggregator, but recorded - * alongside the original measurement. Only labels that were filtered out - * by the aggregator should be included - * @type int|string $time_unix_nano - * time_unix_nano is the exact time when this exemplar was recorded - * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January - * 1970. - * @type int|string $value - * Numerical int value of the measurement that was recorded. - * @type string $span_id - * (Optional) Span ID of the exemplar trace. - * span_id may be missing if the measurement is not recorded inside a trace - * or if the trace is not sampled. - * @type string $trace_id - * (Optional) Trace ID of the exemplar trace. - * trace_id may be missing if the measurement is not recorded inside a trace - * or if the trace is not sampled. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Opentelemetry\Proto\Metrics\V1\Metrics::initOnce(); - parent::__construct($data); - } - - /** - * The set of labels that were filtered out by the aggregator, but recorded - * alongside the original measurement. Only labels that were filtered out - * by the aggregator should be included - * - * Generated from protobuf field repeated .opentelemetry.proto.common.v1.StringKeyValue filtered_labels = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getFilteredLabels() - { - return $this->filtered_labels; - } - - /** - * The set of labels that were filtered out by the aggregator, but recorded - * alongside the original measurement. Only labels that were filtered out - * by the aggregator should be included - * - * Generated from protobuf field repeated .opentelemetry.proto.common.v1.StringKeyValue filtered_labels = 1; - * @param \Opentelemetry\Proto\Common\V1\StringKeyValue[]|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setFilteredLabels($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Opentelemetry\Proto\Common\V1\StringKeyValue::class); - $this->filtered_labels = $arr; - - return $this; - } - - /** - * time_unix_nano is the exact time when this exemplar was recorded - * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January - * 1970. - * - * Generated from protobuf field fixed64 time_unix_nano = 2; - * @return int|string - */ - public function getTimeUnixNano() - { - return $this->time_unix_nano; - } - - /** - * time_unix_nano is the exact time when this exemplar was recorded - * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January - * 1970. - * - * Generated from protobuf field fixed64 time_unix_nano = 2; - * @param int|string $var - * @return $this - */ - public function setTimeUnixNano($var) - { - GPBUtil::checkUint64($var); - $this->time_unix_nano = $var; - - return $this; - } - - /** - * Numerical int value of the measurement that was recorded. - * - * Generated from protobuf field sfixed64 value = 3; - * @return int|string - */ - public function getValue() - { - return $this->value; - } - - /** - * Numerical int value of the measurement that was recorded. - * - * Generated from protobuf field sfixed64 value = 3; - * @param int|string $var - * @return $this - */ - public function setValue($var) - { - GPBUtil::checkInt64($var); - $this->value = $var; - - return $this; - } - - /** - * (Optional) Span ID of the exemplar trace. - * span_id may be missing if the measurement is not recorded inside a trace - * or if the trace is not sampled. - * - * Generated from protobuf field bytes span_id = 4; - * @return string - */ - public function getSpanId() - { - return $this->span_id; - } - - /** - * (Optional) Span ID of the exemplar trace. - * span_id may be missing if the measurement is not recorded inside a trace - * or if the trace is not sampled. - * - * Generated from protobuf field bytes span_id = 4; - * @param string $var - * @return $this - */ - public function setSpanId($var) - { - GPBUtil::checkString($var, False); - $this->span_id = $var; - - return $this; - } - - /** - * (Optional) Trace ID of the exemplar trace. - * trace_id may be missing if the measurement is not recorded inside a trace - * or if the trace is not sampled. - * - * Generated from protobuf field bytes trace_id = 5; - * @return string - */ - public function getTraceId() - { - return $this->trace_id; - } - - /** - * (Optional) Trace ID of the exemplar trace. - * trace_id may be missing if the measurement is not recorded inside a trace - * or if the trace is not sampled. - * - * Generated from protobuf field bytes trace_id = 5; - * @param string $var - * @return $this - */ - public function setTraceId($var) - { - GPBUtil::checkString($var, False); - $this->trace_id = $var; - - return $this; - } - -} - diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/IntGauge.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/IntGauge.php deleted file mode 100644 index 37fece6dd..000000000 --- a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/IntGauge.php +++ /dev/null @@ -1,60 +0,0 @@ -opentelemetry.proto.metrics.v1.IntGauge - */ -class IntGauge extends \Google\Protobuf\Internal\Message -{ - /** - * Generated from protobuf field repeated .opentelemetry.proto.metrics.v1.IntDataPoint data_points = 1; - */ - private $data_points; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Opentelemetry\Proto\Metrics\V1\IntDataPoint[]|\Google\Protobuf\Internal\RepeatedField $data_points - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Opentelemetry\Proto\Metrics\V1\Metrics::initOnce(); - parent::__construct($data); - } - - /** - * Generated from protobuf field repeated .opentelemetry.proto.metrics.v1.IntDataPoint data_points = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getDataPoints() - { - return $this->data_points; - } - - /** - * Generated from protobuf field repeated .opentelemetry.proto.metrics.v1.IntDataPoint data_points = 1; - * @param \Opentelemetry\Proto\Metrics\V1\IntDataPoint[]|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setDataPoints($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Opentelemetry\Proto\Metrics\V1\IntDataPoint::class); - $this->data_points = $arr; - - return $this; - } - -} - diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/IntHistogram.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/IntHistogram.php deleted file mode 100644 index 934649310..000000000 --- a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/IntHistogram.php +++ /dev/null @@ -1,99 +0,0 @@ -opentelemetry.proto.metrics.v1.IntHistogram - */ -class IntHistogram extends \Google\Protobuf\Internal\Message -{ - /** - * Generated from protobuf field repeated .opentelemetry.proto.metrics.v1.IntHistogramDataPoint data_points = 1; - */ - private $data_points; - /** - * aggregation_temporality describes if the aggregator reports delta changes - * since last report time, or cumulative changes since a fixed start time. - * - * Generated from protobuf field .opentelemetry.proto.metrics.v1.AggregationTemporality aggregation_temporality = 2; - */ - protected $aggregation_temporality = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Opentelemetry\Proto\Metrics\V1\IntHistogramDataPoint[]|\Google\Protobuf\Internal\RepeatedField $data_points - * @type int $aggregation_temporality - * aggregation_temporality describes if the aggregator reports delta changes - * since last report time, or cumulative changes since a fixed start time. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Opentelemetry\Proto\Metrics\V1\Metrics::initOnce(); - parent::__construct($data); - } - - /** - * Generated from protobuf field repeated .opentelemetry.proto.metrics.v1.IntHistogramDataPoint data_points = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getDataPoints() - { - return $this->data_points; - } - - /** - * Generated from protobuf field repeated .opentelemetry.proto.metrics.v1.IntHistogramDataPoint data_points = 1; - * @param \Opentelemetry\Proto\Metrics\V1\IntHistogramDataPoint[]|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setDataPoints($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Opentelemetry\Proto\Metrics\V1\IntHistogramDataPoint::class); - $this->data_points = $arr; - - return $this; - } - - /** - * aggregation_temporality describes if the aggregator reports delta changes - * since last report time, or cumulative changes since a fixed start time. - * - * Generated from protobuf field .opentelemetry.proto.metrics.v1.AggregationTemporality aggregation_temporality = 2; - * @return int - */ - public function getAggregationTemporality() - { - return $this->aggregation_temporality; - } - - /** - * aggregation_temporality describes if the aggregator reports delta changes - * since last report time, or cumulative changes since a fixed start time. - * - * Generated from protobuf field .opentelemetry.proto.metrics.v1.AggregationTemporality aggregation_temporality = 2; - * @param int $var - * @return $this - */ - public function setAggregationTemporality($var) - { - GPBUtil::checkEnum($var, \Opentelemetry\Proto\Metrics\V1\AggregationTemporality::class); - $this->aggregation_temporality = $var; - - return $this; - } - -} - diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/IntHistogramDataPoint.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/IntHistogramDataPoint.php deleted file mode 100644 index cf0e4898b..000000000 --- a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/IntHistogramDataPoint.php +++ /dev/null @@ -1,393 +0,0 @@ -opentelemetry.proto.metrics.v1.IntHistogramDataPoint - */ -class IntHistogramDataPoint extends \Google\Protobuf\Internal\Message -{ - /** - * The set of labels that uniquely identify this timeseries. - * - * Generated from protobuf field repeated .opentelemetry.proto.common.v1.StringKeyValue labels = 1; - */ - private $labels; - /** - * StartTimeUnixNano is optional but strongly encouraged, see the - * the detailed comments above Metric. - * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January - * 1970. - * - * Generated from protobuf field fixed64 start_time_unix_nano = 2; - */ - protected $start_time_unix_nano = 0; - /** - * TimeUnixNano is required, see the detailed comments above Metric. - * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January - * 1970. - * - * Generated from protobuf field fixed64 time_unix_nano = 3; - */ - protected $time_unix_nano = 0; - /** - * count is the number of values in the population. Must be non-negative. This - * value must be equal to the sum of the "count" fields in buckets if a - * histogram is provided. - * - * Generated from protobuf field fixed64 count = 4; - */ - protected $count = 0; - /** - * sum of the values in the population. If count is zero then this field - * must be zero. This value must be equal to the sum of the "sum" fields in - * buckets if a histogram is provided. - * - * Generated from protobuf field sfixed64 sum = 5; - */ - protected $sum = 0; - /** - * bucket_counts is an optional field contains the count values of histogram - * for each bucket. - * The sum of the bucket_counts must equal the value in the count field. - * The number of elements in bucket_counts array must be by one greater than - * the number of elements in explicit_bounds array. - * - * Generated from protobuf field repeated fixed64 bucket_counts = 6; - */ - private $bucket_counts; - /** - * explicit_bounds specifies buckets with explicitly defined bounds for values. - * The boundaries for bucket at index i are: - * (-infinity, explicit_bounds[i]] for i == 0 - * (explicit_bounds[i-1], explicit_bounds[i]] for 0 < i < size(explicit_bounds) - * (explicit_bounds[i-1], +infinity) for i == size(explicit_bounds) - * The values in the explicit_bounds array must be strictly increasing. - * Histogram buckets are inclusive of their upper boundary, except the last - * bucket where the boundary is at infinity. This format is intentionally - * compatible with the OpenMetrics histogram definition. - * - * Generated from protobuf field repeated double explicit_bounds = 7; - */ - private $explicit_bounds; - /** - * (Optional) List of exemplars collected from - * measurements that were used to form the data point - * - * Generated from protobuf field repeated .opentelemetry.proto.metrics.v1.IntExemplar exemplars = 8; - */ - private $exemplars; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Opentelemetry\Proto\Common\V1\StringKeyValue[]|\Google\Protobuf\Internal\RepeatedField $labels - * The set of labels that uniquely identify this timeseries. - * @type int|string $start_time_unix_nano - * StartTimeUnixNano is optional but strongly encouraged, see the - * the detailed comments above Metric. - * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January - * 1970. - * @type int|string $time_unix_nano - * TimeUnixNano is required, see the detailed comments above Metric. - * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January - * 1970. - * @type int|string $count - * count is the number of values in the population. Must be non-negative. This - * value must be equal to the sum of the "count" fields in buckets if a - * histogram is provided. - * @type int|string $sum - * sum of the values in the population. If count is zero then this field - * must be zero. This value must be equal to the sum of the "sum" fields in - * buckets if a histogram is provided. - * @type int[]|string[]|\Google\Protobuf\Internal\RepeatedField $bucket_counts - * bucket_counts is an optional field contains the count values of histogram - * for each bucket. - * The sum of the bucket_counts must equal the value in the count field. - * The number of elements in bucket_counts array must be by one greater than - * the number of elements in explicit_bounds array. - * @type float[]|\Google\Protobuf\Internal\RepeatedField $explicit_bounds - * explicit_bounds specifies buckets with explicitly defined bounds for values. - * The boundaries for bucket at index i are: - * (-infinity, explicit_bounds[i]] for i == 0 - * (explicit_bounds[i-1], explicit_bounds[i]] for 0 < i < size(explicit_bounds) - * (explicit_bounds[i-1], +infinity) for i == size(explicit_bounds) - * The values in the explicit_bounds array must be strictly increasing. - * Histogram buckets are inclusive of their upper boundary, except the last - * bucket where the boundary is at infinity. This format is intentionally - * compatible with the OpenMetrics histogram definition. - * @type \Opentelemetry\Proto\Metrics\V1\IntExemplar[]|\Google\Protobuf\Internal\RepeatedField $exemplars - * (Optional) List of exemplars collected from - * measurements that were used to form the data point - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Opentelemetry\Proto\Metrics\V1\Metrics::initOnce(); - parent::__construct($data); - } - - /** - * The set of labels that uniquely identify this timeseries. - * - * Generated from protobuf field repeated .opentelemetry.proto.common.v1.StringKeyValue labels = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getLabels() - { - return $this->labels; - } - - /** - * The set of labels that uniquely identify this timeseries. - * - * Generated from protobuf field repeated .opentelemetry.proto.common.v1.StringKeyValue labels = 1; - * @param \Opentelemetry\Proto\Common\V1\StringKeyValue[]|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setLabels($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Opentelemetry\Proto\Common\V1\StringKeyValue::class); - $this->labels = $arr; - - return $this; - } - - /** - * StartTimeUnixNano is optional but strongly encouraged, see the - * the detailed comments above Metric. - * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January - * 1970. - * - * Generated from protobuf field fixed64 start_time_unix_nano = 2; - * @return int|string - */ - public function getStartTimeUnixNano() - { - return $this->start_time_unix_nano; - } - - /** - * StartTimeUnixNano is optional but strongly encouraged, see the - * the detailed comments above Metric. - * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January - * 1970. - * - * Generated from protobuf field fixed64 start_time_unix_nano = 2; - * @param int|string $var - * @return $this - */ - public function setStartTimeUnixNano($var) - { - GPBUtil::checkUint64($var); - $this->start_time_unix_nano = $var; - - return $this; - } - - /** - * TimeUnixNano is required, see the detailed comments above Metric. - * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January - * 1970. - * - * Generated from protobuf field fixed64 time_unix_nano = 3; - * @return int|string - */ - public function getTimeUnixNano() - { - return $this->time_unix_nano; - } - - /** - * TimeUnixNano is required, see the detailed comments above Metric. - * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January - * 1970. - * - * Generated from protobuf field fixed64 time_unix_nano = 3; - * @param int|string $var - * @return $this - */ - public function setTimeUnixNano($var) - { - GPBUtil::checkUint64($var); - $this->time_unix_nano = $var; - - return $this; - } - - /** - * count is the number of values in the population. Must be non-negative. This - * value must be equal to the sum of the "count" fields in buckets if a - * histogram is provided. - * - * Generated from protobuf field fixed64 count = 4; - * @return int|string - */ - public function getCount() - { - return $this->count; - } - - /** - * count is the number of values in the population. Must be non-negative. This - * value must be equal to the sum of the "count" fields in buckets if a - * histogram is provided. - * - * Generated from protobuf field fixed64 count = 4; - * @param int|string $var - * @return $this - */ - public function setCount($var) - { - GPBUtil::checkUint64($var); - $this->count = $var; - - return $this; - } - - /** - * sum of the values in the population. If count is zero then this field - * must be zero. This value must be equal to the sum of the "sum" fields in - * buckets if a histogram is provided. - * - * Generated from protobuf field sfixed64 sum = 5; - * @return int|string - */ - public function getSum() - { - return $this->sum; - } - - /** - * sum of the values in the population. If count is zero then this field - * must be zero. This value must be equal to the sum of the "sum" fields in - * buckets if a histogram is provided. - * - * Generated from protobuf field sfixed64 sum = 5; - * @param int|string $var - * @return $this - */ - public function setSum($var) - { - GPBUtil::checkInt64($var); - $this->sum = $var; - - return $this; - } - - /** - * bucket_counts is an optional field contains the count values of histogram - * for each bucket. - * The sum of the bucket_counts must equal the value in the count field. - * The number of elements in bucket_counts array must be by one greater than - * the number of elements in explicit_bounds array. - * - * Generated from protobuf field repeated fixed64 bucket_counts = 6; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getBucketCounts() - { - return $this->bucket_counts; - } - - /** - * bucket_counts is an optional field contains the count values of histogram - * for each bucket. - * The sum of the bucket_counts must equal the value in the count field. - * The number of elements in bucket_counts array must be by one greater than - * the number of elements in explicit_bounds array. - * - * Generated from protobuf field repeated fixed64 bucket_counts = 6; - * @param int[]|string[]|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setBucketCounts($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::FIXED64); - $this->bucket_counts = $arr; - - return $this; - } - - /** - * explicit_bounds specifies buckets with explicitly defined bounds for values. - * The boundaries for bucket at index i are: - * (-infinity, explicit_bounds[i]] for i == 0 - * (explicit_bounds[i-1], explicit_bounds[i]] for 0 < i < size(explicit_bounds) - * (explicit_bounds[i-1], +infinity) for i == size(explicit_bounds) - * The values in the explicit_bounds array must be strictly increasing. - * Histogram buckets are inclusive of their upper boundary, except the last - * bucket where the boundary is at infinity. This format is intentionally - * compatible with the OpenMetrics histogram definition. - * - * Generated from protobuf field repeated double explicit_bounds = 7; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getExplicitBounds() - { - return $this->explicit_bounds; - } - - /** - * explicit_bounds specifies buckets with explicitly defined bounds for values. - * The boundaries for bucket at index i are: - * (-infinity, explicit_bounds[i]] for i == 0 - * (explicit_bounds[i-1], explicit_bounds[i]] for 0 < i < size(explicit_bounds) - * (explicit_bounds[i-1], +infinity) for i == size(explicit_bounds) - * The values in the explicit_bounds array must be strictly increasing. - * Histogram buckets are inclusive of their upper boundary, except the last - * bucket where the boundary is at infinity. This format is intentionally - * compatible with the OpenMetrics histogram definition. - * - * Generated from protobuf field repeated double explicit_bounds = 7; - * @param float[]|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setExplicitBounds($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::DOUBLE); - $this->explicit_bounds = $arr; - - return $this; - } - - /** - * (Optional) List of exemplars collected from - * measurements that were used to form the data point - * - * Generated from protobuf field repeated .opentelemetry.proto.metrics.v1.IntExemplar exemplars = 8; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getExemplars() - { - return $this->exemplars; - } - - /** - * (Optional) List of exemplars collected from - * measurements that were used to form the data point - * - * Generated from protobuf field repeated .opentelemetry.proto.metrics.v1.IntExemplar exemplars = 8; - * @param \Opentelemetry\Proto\Metrics\V1\IntExemplar[]|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setExemplars($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Opentelemetry\Proto\Metrics\V1\IntExemplar::class); - $this->exemplars = $arr; - - return $this; - } - -} - diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/IntSum.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/IntSum.php deleted file mode 100644 index aaa313d7d..000000000 --- a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/IntSum.php +++ /dev/null @@ -1,132 +0,0 @@ -opentelemetry.proto.metrics.v1.IntSum - */ -class IntSum extends \Google\Protobuf\Internal\Message -{ - /** - * Generated from protobuf field repeated .opentelemetry.proto.metrics.v1.IntDataPoint data_points = 1; - */ - private $data_points; - /** - * aggregation_temporality describes if the aggregator reports delta changes - * since last report time, or cumulative changes since a fixed start time. - * - * Generated from protobuf field .opentelemetry.proto.metrics.v1.AggregationTemporality aggregation_temporality = 2; - */ - protected $aggregation_temporality = 0; - /** - * If "true" means that the sum is monotonic. - * - * Generated from protobuf field bool is_monotonic = 3; - */ - protected $is_monotonic = false; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Opentelemetry\Proto\Metrics\V1\IntDataPoint[]|\Google\Protobuf\Internal\RepeatedField $data_points - * @type int $aggregation_temporality - * aggregation_temporality describes if the aggregator reports delta changes - * since last report time, or cumulative changes since a fixed start time. - * @type bool $is_monotonic - * If "true" means that the sum is monotonic. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Opentelemetry\Proto\Metrics\V1\Metrics::initOnce(); - parent::__construct($data); - } - - /** - * Generated from protobuf field repeated .opentelemetry.proto.metrics.v1.IntDataPoint data_points = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getDataPoints() - { - return $this->data_points; - } - - /** - * Generated from protobuf field repeated .opentelemetry.proto.metrics.v1.IntDataPoint data_points = 1; - * @param \Opentelemetry\Proto\Metrics\V1\IntDataPoint[]|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setDataPoints($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Opentelemetry\Proto\Metrics\V1\IntDataPoint::class); - $this->data_points = $arr; - - return $this; - } - - /** - * aggregation_temporality describes if the aggregator reports delta changes - * since last report time, or cumulative changes since a fixed start time. - * - * Generated from protobuf field .opentelemetry.proto.metrics.v1.AggregationTemporality aggregation_temporality = 2; - * @return int - */ - public function getAggregationTemporality() - { - return $this->aggregation_temporality; - } - - /** - * aggregation_temporality describes if the aggregator reports delta changes - * since last report time, or cumulative changes since a fixed start time. - * - * Generated from protobuf field .opentelemetry.proto.metrics.v1.AggregationTemporality aggregation_temporality = 2; - * @param int $var - * @return $this - */ - public function setAggregationTemporality($var) - { - GPBUtil::checkEnum($var, \Opentelemetry\Proto\Metrics\V1\AggregationTemporality::class); - $this->aggregation_temporality = $var; - - return $this; - } - - /** - * If "true" means that the sum is monotonic. - * - * Generated from protobuf field bool is_monotonic = 3; - * @return bool - */ - public function getIsMonotonic() - { - return $this->is_monotonic; - } - - /** - * If "true" means that the sum is monotonic. - * - * Generated from protobuf field bool is_monotonic = 3; - * @param bool $var - * @return $this - */ - public function setIsMonotonic($var) - { - GPBUtil::checkBool($var); - $this->is_monotonic = $var; - - return $this; - } - -} - diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/Metric.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/Metric.php deleted file mode 100644 index 3d2538314..000000000 --- a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/Metric.php +++ /dev/null @@ -1,358 +0,0 @@ - |Gauge, Sum, Histogram, Summary, ... | - * +------------+ +------------------------------------+ - * Data [One of Gauge, Sum, Histogram, Summary, ...] - * +-----------+ - * |... | // Metadata about the Data. - * |points |--+ - * +-----------+ | - * | +---------------------------+ - * | |DataPoint 1 | - * v |+------+------+ +------+ | - * +-----+ ||label |label |...|label | | - * | 1 |-->||value1|value2|...|valueN| | - * +-----+ |+------+------+ +------+ | - * | . | |+-----+ | - * | . | ||value| | - * | . | |+-----+ | - * | . | +---------------------------+ - * | . | . - * | . | . - * | . | . - * | . | +---------------------------+ - * | . | |DataPoint M | - * +-----+ |+------+------+ +------+ | - * | M |-->||label |label |...|label | | - * +-----+ ||value1|value2|...|valueN| | - * |+------+------+ +------+ | - * |+-----+ | - * ||value| | - * |+-----+ | - * +---------------------------+ - * Each distinct type of DataPoint represents the output of a specific - * aggregation function, the result of applying the DataPoint's - * associated function of to one or more measurements. - * All DataPoint types have three common fields: - * - Attributes includes key-value pairs associated with the data point - * - TimeUnixNano is required, set to the end time of the aggregation - * - StartTimeUnixNano is optional, but strongly encouraged for DataPoints - * having an AggregationTemporality field, as discussed below. - * Both TimeUnixNano and StartTimeUnixNano values are expressed as - * UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January 1970. - * # TimeUnixNano - * This field is required, having consistent interpretation across - * DataPoint types. TimeUnixNano is the moment corresponding to when - * the data point's aggregate value was captured. - * Data points with the 0 value for TimeUnixNano SHOULD be rejected - * by consumers. - * # StartTimeUnixNano - * StartTimeUnixNano in general allows detecting when a sequence of - * observations is unbroken. This field indicates to consumers the - * start time for points with cumulative and delta - * AggregationTemporality, and it should be included whenever possible - * to support correct rate calculation. Although it may be omitted - * when the start time is truly unknown, setting StartTimeUnixNano is - * strongly encouraged. - * - * Generated from protobuf message opentelemetry.proto.metrics.v1.Metric - */ -class Metric extends \Google\Protobuf\Internal\Message -{ - /** - * name of the metric, including its DNS name prefix. It must be unique. - * - * Generated from protobuf field string name = 1; - */ - protected $name = ''; - /** - * description of the metric, which can be used in documentation. - * - * Generated from protobuf field string description = 2; - */ - protected $description = ''; - /** - * unit in which the metric value is reported. Follows the format - * described by http://unitsofmeasure.org/ucum.html. - * - * Generated from protobuf field string unit = 3; - */ - protected $unit = ''; - protected $data; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * name of the metric, including its DNS name prefix. It must be unique. - * @type string $description - * description of the metric, which can be used in documentation. - * @type string $unit - * unit in which the metric value is reported. Follows the format - * described by http://unitsofmeasure.org/ucum.html. - * @type \Opentelemetry\Proto\Metrics\V1\Gauge $gauge - * @type \Opentelemetry\Proto\Metrics\V1\Sum $sum - * @type \Opentelemetry\Proto\Metrics\V1\Histogram $histogram - * @type \Opentelemetry\Proto\Metrics\V1\ExponentialHistogram $exponential_histogram - * @type \Opentelemetry\Proto\Metrics\V1\Summary $summary - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Opentelemetry\Proto\Metrics\V1\Metrics::initOnce(); - parent::__construct($data); - } - - /** - * name of the metric, including its DNS name prefix. It must be unique. - * - * Generated from protobuf field string name = 1; - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * name of the metric, including its DNS name prefix. It must be unique. - * - * Generated from protobuf field string name = 1; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * description of the metric, which can be used in documentation. - * - * Generated from protobuf field string description = 2; - * @return string - */ - public function getDescription() - { - return $this->description; - } - - /** - * description of the metric, which can be used in documentation. - * - * Generated from protobuf field string description = 2; - * @param string $var - * @return $this - */ - public function setDescription($var) - { - GPBUtil::checkString($var, True); - $this->description = $var; - - return $this; - } - - /** - * unit in which the metric value is reported. Follows the format - * described by http://unitsofmeasure.org/ucum.html. - * - * Generated from protobuf field string unit = 3; - * @return string - */ - public function getUnit() - { - return $this->unit; - } - - /** - * unit in which the metric value is reported. Follows the format - * described by http://unitsofmeasure.org/ucum.html. - * - * Generated from protobuf field string unit = 3; - * @param string $var - * @return $this - */ - public function setUnit($var) - { - GPBUtil::checkString($var, True); - $this->unit = $var; - - return $this; - } - - /** - * Generated from protobuf field .opentelemetry.proto.metrics.v1.Gauge gauge = 5; - * @return \Opentelemetry\Proto\Metrics\V1\Gauge|null - */ - public function getGauge() - { - return $this->readOneof(5); - } - - public function hasGauge() - { - return $this->hasOneof(5); - } - - /** - * Generated from protobuf field .opentelemetry.proto.metrics.v1.Gauge gauge = 5; - * @param \Opentelemetry\Proto\Metrics\V1\Gauge $var - * @return $this - */ - public function setGauge($var) - { - GPBUtil::checkMessage($var, \Opentelemetry\Proto\Metrics\V1\Gauge::class); - $this->writeOneof(5, $var); - - return $this; - } - - /** - * Generated from protobuf field .opentelemetry.proto.metrics.v1.Sum sum = 7; - * @return \Opentelemetry\Proto\Metrics\V1\Sum|null - */ - public function getSum() - { - return $this->readOneof(7); - } - - public function hasSum() - { - return $this->hasOneof(7); - } - - /** - * Generated from protobuf field .opentelemetry.proto.metrics.v1.Sum sum = 7; - * @param \Opentelemetry\Proto\Metrics\V1\Sum $var - * @return $this - */ - public function setSum($var) - { - GPBUtil::checkMessage($var, \Opentelemetry\Proto\Metrics\V1\Sum::class); - $this->writeOneof(7, $var); - - return $this; - } - - /** - * Generated from protobuf field .opentelemetry.proto.metrics.v1.Histogram histogram = 9; - * @return \Opentelemetry\Proto\Metrics\V1\Histogram|null - */ - public function getHistogram() - { - return $this->readOneof(9); - } - - public function hasHistogram() - { - return $this->hasOneof(9); - } - - /** - * Generated from protobuf field .opentelemetry.proto.metrics.v1.Histogram histogram = 9; - * @param \Opentelemetry\Proto\Metrics\V1\Histogram $var - * @return $this - */ - public function setHistogram($var) - { - GPBUtil::checkMessage($var, \Opentelemetry\Proto\Metrics\V1\Histogram::class); - $this->writeOneof(9, $var); - - return $this; - } - - /** - * Generated from protobuf field .opentelemetry.proto.metrics.v1.ExponentialHistogram exponential_histogram = 10; - * @return \Opentelemetry\Proto\Metrics\V1\ExponentialHistogram|null - */ - public function getExponentialHistogram() - { - return $this->readOneof(10); - } - - public function hasExponentialHistogram() - { - return $this->hasOneof(10); - } - - /** - * Generated from protobuf field .opentelemetry.proto.metrics.v1.ExponentialHistogram exponential_histogram = 10; - * @param \Opentelemetry\Proto\Metrics\V1\ExponentialHistogram $var - * @return $this - */ - public function setExponentialHistogram($var) - { - GPBUtil::checkMessage($var, \Opentelemetry\Proto\Metrics\V1\ExponentialHistogram::class); - $this->writeOneof(10, $var); - - return $this; - } - - /** - * Generated from protobuf field .opentelemetry.proto.metrics.v1.Summary summary = 11; - * @return \Opentelemetry\Proto\Metrics\V1\Summary|null - */ - public function getSummary() - { - return $this->readOneof(11); - } - - public function hasSummary() - { - return $this->hasOneof(11); - } - - /** - * Generated from protobuf field .opentelemetry.proto.metrics.v1.Summary summary = 11; - * @param \Opentelemetry\Proto\Metrics\V1\Summary $var - * @return $this - */ - public function setSummary($var) - { - GPBUtil::checkMessage($var, \Opentelemetry\Proto\Metrics\V1\Summary::class); - $this->writeOneof(11, $var); - - return $this; - } - - /** - * @return string - */ - public function getData() - { - return $this->whichOneof("data"); - } - -} - diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/MetricsData.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/MetricsData.php deleted file mode 100644 index ce144d8f3..000000000 --- a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/MetricsData.php +++ /dev/null @@ -1,90 +0,0 @@ -opentelemetry.proto.metrics.v1.MetricsData - */ -class MetricsData extends \Google\Protobuf\Internal\Message -{ - /** - * An array of ResourceMetrics. - * For data coming from a single resource this array will typically contain - * one element. Intermediary nodes that receive data from multiple origins - * typically batch the data before forwarding further and in that case this - * array will contain multiple elements. - * - * Generated from protobuf field repeated .opentelemetry.proto.metrics.v1.ResourceMetrics resource_metrics = 1; - */ - private $resource_metrics; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Opentelemetry\Proto\Metrics\V1\ResourceMetrics[]|\Google\Protobuf\Internal\RepeatedField $resource_metrics - * An array of ResourceMetrics. - * For data coming from a single resource this array will typically contain - * one element. Intermediary nodes that receive data from multiple origins - * typically batch the data before forwarding further and in that case this - * array will contain multiple elements. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Opentelemetry\Proto\Metrics\V1\Metrics::initOnce(); - parent::__construct($data); - } - - /** - * An array of ResourceMetrics. - * For data coming from a single resource this array will typically contain - * one element. Intermediary nodes that receive data from multiple origins - * typically batch the data before forwarding further and in that case this - * array will contain multiple elements. - * - * Generated from protobuf field repeated .opentelemetry.proto.metrics.v1.ResourceMetrics resource_metrics = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getResourceMetrics() - { - return $this->resource_metrics; - } - - /** - * An array of ResourceMetrics. - * For data coming from a single resource this array will typically contain - * one element. Intermediary nodes that receive data from multiple origins - * typically batch the data before forwarding further and in that case this - * array will contain multiple elements. - * - * Generated from protobuf field repeated .opentelemetry.proto.metrics.v1.ResourceMetrics resource_metrics = 1; - * @param \Opentelemetry\Proto\Metrics\V1\ResourceMetrics[]|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setResourceMetrics($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Opentelemetry\Proto\Metrics\V1\ResourceMetrics::class); - $this->resource_metrics = $arr; - - return $this; - } - -} - diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/NumberDataPoint.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/NumberDataPoint.php deleted file mode 100644 index d9fa829e0..000000000 --- a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/NumberDataPoint.php +++ /dev/null @@ -1,309 +0,0 @@ -opentelemetry.proto.metrics.v1.NumberDataPoint - */ -class NumberDataPoint extends \Google\Protobuf\Internal\Message -{ - /** - * The set of key/value pairs that uniquely identify the timeseries from - * where this point belongs. The list may be empty (may contain 0 elements). - * Attribute keys MUST be unique (it is not allowed to have more than one - * attribute with the same key). - * - * Generated from protobuf field repeated .opentelemetry.proto.common.v1.KeyValue attributes = 7; - */ - private $attributes; - /** - * StartTimeUnixNano is optional but strongly encouraged, see the - * the detailed comments above Metric. - * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January - * 1970. - * - * Generated from protobuf field fixed64 start_time_unix_nano = 2; - */ - protected $start_time_unix_nano = 0; - /** - * TimeUnixNano is required, see the detailed comments above Metric. - * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January - * 1970. - * - * Generated from protobuf field fixed64 time_unix_nano = 3; - */ - protected $time_unix_nano = 0; - /** - * (Optional) List of exemplars collected from - * measurements that were used to form the data point - * - * Generated from protobuf field repeated .opentelemetry.proto.metrics.v1.Exemplar exemplars = 5; - */ - private $exemplars; - /** - * Flags that apply to this specific data point. See DataPointFlags - * for the available flags and their meaning. - * - * Generated from protobuf field uint32 flags = 8; - */ - protected $flags = 0; - protected $value; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Opentelemetry\Proto\Common\V1\KeyValue[]|\Google\Protobuf\Internal\RepeatedField $attributes - * The set of key/value pairs that uniquely identify the timeseries from - * where this point belongs. The list may be empty (may contain 0 elements). - * Attribute keys MUST be unique (it is not allowed to have more than one - * attribute with the same key). - * @type int|string $start_time_unix_nano - * StartTimeUnixNano is optional but strongly encouraged, see the - * the detailed comments above Metric. - * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January - * 1970. - * @type int|string $time_unix_nano - * TimeUnixNano is required, see the detailed comments above Metric. - * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January - * 1970. - * @type float $as_double - * @type int|string $as_int - * @type \Opentelemetry\Proto\Metrics\V1\Exemplar[]|\Google\Protobuf\Internal\RepeatedField $exemplars - * (Optional) List of exemplars collected from - * measurements that were used to form the data point - * @type int $flags - * Flags that apply to this specific data point. See DataPointFlags - * for the available flags and their meaning. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Opentelemetry\Proto\Metrics\V1\Metrics::initOnce(); - parent::__construct($data); - } - - /** - * The set of key/value pairs that uniquely identify the timeseries from - * where this point belongs. The list may be empty (may contain 0 elements). - * Attribute keys MUST be unique (it is not allowed to have more than one - * attribute with the same key). - * - * Generated from protobuf field repeated .opentelemetry.proto.common.v1.KeyValue attributes = 7; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getAttributes() - { - return $this->attributes; - } - - /** - * The set of key/value pairs that uniquely identify the timeseries from - * where this point belongs. The list may be empty (may contain 0 elements). - * Attribute keys MUST be unique (it is not allowed to have more than one - * attribute with the same key). - * - * Generated from protobuf field repeated .opentelemetry.proto.common.v1.KeyValue attributes = 7; - * @param \Opentelemetry\Proto\Common\V1\KeyValue[]|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setAttributes($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Opentelemetry\Proto\Common\V1\KeyValue::class); - $this->attributes = $arr; - - return $this; - } - - /** - * StartTimeUnixNano is optional but strongly encouraged, see the - * the detailed comments above Metric. - * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January - * 1970. - * - * Generated from protobuf field fixed64 start_time_unix_nano = 2; - * @return int|string - */ - public function getStartTimeUnixNano() - { - return $this->start_time_unix_nano; - } - - /** - * StartTimeUnixNano is optional but strongly encouraged, see the - * the detailed comments above Metric. - * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January - * 1970. - * - * Generated from protobuf field fixed64 start_time_unix_nano = 2; - * @param int|string $var - * @return $this - */ - public function setStartTimeUnixNano($var) - { - GPBUtil::checkUint64($var); - $this->start_time_unix_nano = $var; - - return $this; - } - - /** - * TimeUnixNano is required, see the detailed comments above Metric. - * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January - * 1970. - * - * Generated from protobuf field fixed64 time_unix_nano = 3; - * @return int|string - */ - public function getTimeUnixNano() - { - return $this->time_unix_nano; - } - - /** - * TimeUnixNano is required, see the detailed comments above Metric. - * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January - * 1970. - * - * Generated from protobuf field fixed64 time_unix_nano = 3; - * @param int|string $var - * @return $this - */ - public function setTimeUnixNano($var) - { - GPBUtil::checkUint64($var); - $this->time_unix_nano = $var; - - return $this; - } - - /** - * Generated from protobuf field double as_double = 4; - * @return float - */ - public function getAsDouble() - { - return $this->readOneof(4); - } - - public function hasAsDouble() - { - return $this->hasOneof(4); - } - - /** - * Generated from protobuf field double as_double = 4; - * @param float $var - * @return $this - */ - public function setAsDouble($var) - { - GPBUtil::checkDouble($var); - $this->writeOneof(4, $var); - - return $this; - } - - /** - * Generated from protobuf field sfixed64 as_int = 6; - * @return int|string - */ - public function getAsInt() - { - return $this->readOneof(6); - } - - public function hasAsInt() - { - return $this->hasOneof(6); - } - - /** - * Generated from protobuf field sfixed64 as_int = 6; - * @param int|string $var - * @return $this - */ - public function setAsInt($var) - { - GPBUtil::checkInt64($var); - $this->writeOneof(6, $var); - - return $this; - } - - /** - * (Optional) List of exemplars collected from - * measurements that were used to form the data point - * - * Generated from protobuf field repeated .opentelemetry.proto.metrics.v1.Exemplar exemplars = 5; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getExemplars() - { - return $this->exemplars; - } - - /** - * (Optional) List of exemplars collected from - * measurements that were used to form the data point - * - * Generated from protobuf field repeated .opentelemetry.proto.metrics.v1.Exemplar exemplars = 5; - * @param \Opentelemetry\Proto\Metrics\V1\Exemplar[]|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setExemplars($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Opentelemetry\Proto\Metrics\V1\Exemplar::class); - $this->exemplars = $arr; - - return $this; - } - - /** - * Flags that apply to this specific data point. See DataPointFlags - * for the available flags and their meaning. - * - * Generated from protobuf field uint32 flags = 8; - * @return int - */ - public function getFlags() - { - return $this->flags; - } - - /** - * Flags that apply to this specific data point. See DataPointFlags - * for the available flags and their meaning. - * - * Generated from protobuf field uint32 flags = 8; - * @param int $var - * @return $this - */ - public function setFlags($var) - { - GPBUtil::checkUint32($var); - $this->flags = $var; - - return $this; - } - - /** - * @return string - */ - public function getValue() - { - return $this->whichOneof("value"); - } - -} - diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/ResourceMetrics.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/ResourceMetrics.php deleted file mode 100644 index a5e2a7b0d..000000000 --- a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/ResourceMetrics.php +++ /dev/null @@ -1,153 +0,0 @@ -opentelemetry.proto.metrics.v1.ResourceMetrics - */ -class ResourceMetrics extends \Google\Protobuf\Internal\Message -{ - /** - * The resource for the metrics in this message. - * If this field is not set then no resource info is known. - * - * Generated from protobuf field .opentelemetry.proto.resource.v1.Resource resource = 1; - */ - protected $resource = null; - /** - * A list of metrics that originate from a resource. - * - * Generated from protobuf field repeated .opentelemetry.proto.metrics.v1.ScopeMetrics scope_metrics = 2; - */ - private $scope_metrics; - /** - * This schema_url applies to the data in the "resource" field. It does not apply - * to the data in the "scope_metrics" field which have their own schema_url field. - * - * Generated from protobuf field string schema_url = 3; - */ - protected $schema_url = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Opentelemetry\Proto\Resource\V1\Resource $resource - * The resource for the metrics in this message. - * If this field is not set then no resource info is known. - * @type \Opentelemetry\Proto\Metrics\V1\ScopeMetrics[]|\Google\Protobuf\Internal\RepeatedField $scope_metrics - * A list of metrics that originate from a resource. - * @type string $schema_url - * This schema_url applies to the data in the "resource" field. It does not apply - * to the data in the "scope_metrics" field which have their own schema_url field. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Opentelemetry\Proto\Metrics\V1\Metrics::initOnce(); - parent::__construct($data); - } - - /** - * The resource for the metrics in this message. - * If this field is not set then no resource info is known. - * - * Generated from protobuf field .opentelemetry.proto.resource.v1.Resource resource = 1; - * @return \Opentelemetry\Proto\Resource\V1\Resource|null - */ - public function getResource() - { - return $this->resource; - } - - public function hasResource() - { - return isset($this->resource); - } - - public function clearResource() - { - unset($this->resource); - } - - /** - * The resource for the metrics in this message. - * If this field is not set then no resource info is known. - * - * Generated from protobuf field .opentelemetry.proto.resource.v1.Resource resource = 1; - * @param \Opentelemetry\Proto\Resource\V1\Resource $var - * @return $this - */ - public function setResource($var) - { - GPBUtil::checkMessage($var, \Opentelemetry\Proto\Resource\V1\Resource::class); - $this->resource = $var; - - return $this; - } - - /** - * A list of metrics that originate from a resource. - * - * Generated from protobuf field repeated .opentelemetry.proto.metrics.v1.ScopeMetrics scope_metrics = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getScopeMetrics() - { - return $this->scope_metrics; - } - - /** - * A list of metrics that originate from a resource. - * - * Generated from protobuf field repeated .opentelemetry.proto.metrics.v1.ScopeMetrics scope_metrics = 2; - * @param \Opentelemetry\Proto\Metrics\V1\ScopeMetrics[]|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setScopeMetrics($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Opentelemetry\Proto\Metrics\V1\ScopeMetrics::class); - $this->scope_metrics = $arr; - - return $this; - } - - /** - * This schema_url applies to the data in the "resource" field. It does not apply - * to the data in the "scope_metrics" field which have their own schema_url field. - * - * Generated from protobuf field string schema_url = 3; - * @return string - */ - public function getSchemaUrl() - { - return $this->schema_url; - } - - /** - * This schema_url applies to the data in the "resource" field. It does not apply - * to the data in the "scope_metrics" field which have their own schema_url field. - * - * Generated from protobuf field string schema_url = 3; - * @param string $var - * @return $this - */ - public function setSchemaUrl($var) - { - GPBUtil::checkString($var, True); - $this->schema_url = $var; - - return $this; - } - -} - diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/ScopeMetrics.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/ScopeMetrics.php deleted file mode 100644 index 71f5cdb86..000000000 --- a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/ScopeMetrics.php +++ /dev/null @@ -1,153 +0,0 @@ -opentelemetry.proto.metrics.v1.ScopeMetrics - */ -class ScopeMetrics extends \Google\Protobuf\Internal\Message -{ - /** - * The instrumentation scope information for the metrics in this message. - * Semantically when InstrumentationScope isn't set, it is equivalent with - * an empty instrumentation scope name (unknown). - * - * Generated from protobuf field .opentelemetry.proto.common.v1.InstrumentationScope scope = 1; - */ - protected $scope = null; - /** - * A list of metrics that originate from an instrumentation library. - * - * Generated from protobuf field repeated .opentelemetry.proto.metrics.v1.Metric metrics = 2; - */ - private $metrics; - /** - * This schema_url applies to all metrics in the "metrics" field. - * - * Generated from protobuf field string schema_url = 3; - */ - protected $schema_url = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Opentelemetry\Proto\Common\V1\InstrumentationScope $scope - * The instrumentation scope information for the metrics in this message. - * Semantically when InstrumentationScope isn't set, it is equivalent with - * an empty instrumentation scope name (unknown). - * @type \Opentelemetry\Proto\Metrics\V1\Metric[]|\Google\Protobuf\Internal\RepeatedField $metrics - * A list of metrics that originate from an instrumentation library. - * @type string $schema_url - * This schema_url applies to all metrics in the "metrics" field. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Opentelemetry\Proto\Metrics\V1\Metrics::initOnce(); - parent::__construct($data); - } - - /** - * The instrumentation scope information for the metrics in this message. - * Semantically when InstrumentationScope isn't set, it is equivalent with - * an empty instrumentation scope name (unknown). - * - * Generated from protobuf field .opentelemetry.proto.common.v1.InstrumentationScope scope = 1; - * @return \Opentelemetry\Proto\Common\V1\InstrumentationScope|null - */ - public function getScope() - { - return $this->scope; - } - - public function hasScope() - { - return isset($this->scope); - } - - public function clearScope() - { - unset($this->scope); - } - - /** - * The instrumentation scope information for the metrics in this message. - * Semantically when InstrumentationScope isn't set, it is equivalent with - * an empty instrumentation scope name (unknown). - * - * Generated from protobuf field .opentelemetry.proto.common.v1.InstrumentationScope scope = 1; - * @param \Opentelemetry\Proto\Common\V1\InstrumentationScope $var - * @return $this - */ - public function setScope($var) - { - GPBUtil::checkMessage($var, \Opentelemetry\Proto\Common\V1\InstrumentationScope::class); - $this->scope = $var; - - return $this; - } - - /** - * A list of metrics that originate from an instrumentation library. - * - * Generated from protobuf field repeated .opentelemetry.proto.metrics.v1.Metric metrics = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getMetrics() - { - return $this->metrics; - } - - /** - * A list of metrics that originate from an instrumentation library. - * - * Generated from protobuf field repeated .opentelemetry.proto.metrics.v1.Metric metrics = 2; - * @param \Opentelemetry\Proto\Metrics\V1\Metric[]|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setMetrics($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Opentelemetry\Proto\Metrics\V1\Metric::class); - $this->metrics = $arr; - - return $this; - } - - /** - * This schema_url applies to all metrics in the "metrics" field. - * - * Generated from protobuf field string schema_url = 3; - * @return string - */ - public function getSchemaUrl() - { - return $this->schema_url; - } - - /** - * This schema_url applies to all metrics in the "metrics" field. - * - * Generated from protobuf field string schema_url = 3; - * @param string $var - * @return $this - */ - public function setSchemaUrl($var) - { - GPBUtil::checkString($var, True); - $this->schema_url = $var; - - return $this; - } - -} - diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/Sum.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/Sum.php deleted file mode 100644 index 0251ecd9f..000000000 --- a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/Sum.php +++ /dev/null @@ -1,133 +0,0 @@ -opentelemetry.proto.metrics.v1.Sum - */ -class Sum extends \Google\Protobuf\Internal\Message -{ - /** - * Generated from protobuf field repeated .opentelemetry.proto.metrics.v1.NumberDataPoint data_points = 1; - */ - private $data_points; - /** - * aggregation_temporality describes if the aggregator reports delta changes - * since last report time, or cumulative changes since a fixed start time. - * - * Generated from protobuf field .opentelemetry.proto.metrics.v1.AggregationTemporality aggregation_temporality = 2; - */ - protected $aggregation_temporality = 0; - /** - * If "true" means that the sum is monotonic. - * - * Generated from protobuf field bool is_monotonic = 3; - */ - protected $is_monotonic = false; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Opentelemetry\Proto\Metrics\V1\NumberDataPoint[]|\Google\Protobuf\Internal\RepeatedField $data_points - * @type int $aggregation_temporality - * aggregation_temporality describes if the aggregator reports delta changes - * since last report time, or cumulative changes since a fixed start time. - * @type bool $is_monotonic - * If "true" means that the sum is monotonic. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Opentelemetry\Proto\Metrics\V1\Metrics::initOnce(); - parent::__construct($data); - } - - /** - * Generated from protobuf field repeated .opentelemetry.proto.metrics.v1.NumberDataPoint data_points = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getDataPoints() - { - return $this->data_points; - } - - /** - * Generated from protobuf field repeated .opentelemetry.proto.metrics.v1.NumberDataPoint data_points = 1; - * @param \Opentelemetry\Proto\Metrics\V1\NumberDataPoint[]|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setDataPoints($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Opentelemetry\Proto\Metrics\V1\NumberDataPoint::class); - $this->data_points = $arr; - - return $this; - } - - /** - * aggregation_temporality describes if the aggregator reports delta changes - * since last report time, or cumulative changes since a fixed start time. - * - * Generated from protobuf field .opentelemetry.proto.metrics.v1.AggregationTemporality aggregation_temporality = 2; - * @return int - */ - public function getAggregationTemporality() - { - return $this->aggregation_temporality; - } - - /** - * aggregation_temporality describes if the aggregator reports delta changes - * since last report time, or cumulative changes since a fixed start time. - * - * Generated from protobuf field .opentelemetry.proto.metrics.v1.AggregationTemporality aggregation_temporality = 2; - * @param int $var - * @return $this - */ - public function setAggregationTemporality($var) - { - GPBUtil::checkEnum($var, \Opentelemetry\Proto\Metrics\V1\AggregationTemporality::class); - $this->aggregation_temporality = $var; - - return $this; - } - - /** - * If "true" means that the sum is monotonic. - * - * Generated from protobuf field bool is_monotonic = 3; - * @return bool - */ - public function getIsMonotonic() - { - return $this->is_monotonic; - } - - /** - * If "true" means that the sum is monotonic. - * - * Generated from protobuf field bool is_monotonic = 3; - * @param bool $var - * @return $this - */ - public function setIsMonotonic($var) - { - GPBUtil::checkBool($var); - $this->is_monotonic = $var; - - return $this; - } - -} - diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/Summary.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/Summary.php deleted file mode 100644 index adb5eceb9..000000000 --- a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/Summary.php +++ /dev/null @@ -1,65 +0,0 @@ -opentelemetry.proto.metrics.v1.Summary - */ -class Summary extends \Google\Protobuf\Internal\Message -{ - /** - * Generated from protobuf field repeated .opentelemetry.proto.metrics.v1.SummaryDataPoint data_points = 1; - */ - private $data_points; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Opentelemetry\Proto\Metrics\V1\SummaryDataPoint[]|\Google\Protobuf\Internal\RepeatedField $data_points - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Opentelemetry\Proto\Metrics\V1\Metrics::initOnce(); - parent::__construct($data); - } - - /** - * Generated from protobuf field repeated .opentelemetry.proto.metrics.v1.SummaryDataPoint data_points = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getDataPoints() - { - return $this->data_points; - } - - /** - * Generated from protobuf field repeated .opentelemetry.proto.metrics.v1.SummaryDataPoint data_points = 1; - * @param \Opentelemetry\Proto\Metrics\V1\SummaryDataPoint[]|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setDataPoints($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Opentelemetry\Proto\Metrics\V1\SummaryDataPoint::class); - $this->data_points = $arr; - - return $this; - } - -} - diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/SummaryDataPoint.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/SummaryDataPoint.php deleted file mode 100644 index 30cf4ade4..000000000 --- a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/SummaryDataPoint.php +++ /dev/null @@ -1,336 +0,0 @@ -opentelemetry.proto.metrics.v1.SummaryDataPoint - */ -class SummaryDataPoint extends \Google\Protobuf\Internal\Message -{ - /** - * The set of key/value pairs that uniquely identify the timeseries from - * where this point belongs. The list may be empty (may contain 0 elements). - * Attribute keys MUST be unique (it is not allowed to have more than one - * attribute with the same key). - * - * Generated from protobuf field repeated .opentelemetry.proto.common.v1.KeyValue attributes = 7; - */ - private $attributes; - /** - * StartTimeUnixNano is optional but strongly encouraged, see the - * the detailed comments above Metric. - * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January - * 1970. - * - * Generated from protobuf field fixed64 start_time_unix_nano = 2; - */ - protected $start_time_unix_nano = 0; - /** - * TimeUnixNano is required, see the detailed comments above Metric. - * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January - * 1970. - * - * Generated from protobuf field fixed64 time_unix_nano = 3; - */ - protected $time_unix_nano = 0; - /** - * count is the number of values in the population. Must be non-negative. - * - * Generated from protobuf field fixed64 count = 4; - */ - protected $count = 0; - /** - * sum of the values in the population. If count is zero then this field - * must be zero. - * Note: Sum should only be filled out when measuring non-negative discrete - * events, and is assumed to be monotonic over the values of these events. - * Negative events *can* be recorded, but sum should not be filled out when - * doing so. This is specifically to enforce compatibility w/ OpenMetrics, - * see: https://github.com/OpenObservability/OpenMetrics/blob/main/specification/OpenMetrics.md#summary - * - * Generated from protobuf field double sum = 5; - */ - protected $sum = 0.0; - /** - * (Optional) list of values at different quantiles of the distribution calculated - * from the current snapshot. The quantiles must be strictly increasing. - * - * Generated from protobuf field repeated .opentelemetry.proto.metrics.v1.SummaryDataPoint.ValueAtQuantile quantile_values = 6; - */ - private $quantile_values; - /** - * Flags that apply to this specific data point. See DataPointFlags - * for the available flags and their meaning. - * - * Generated from protobuf field uint32 flags = 8; - */ - protected $flags = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Opentelemetry\Proto\Common\V1\KeyValue[]|\Google\Protobuf\Internal\RepeatedField $attributes - * The set of key/value pairs that uniquely identify the timeseries from - * where this point belongs. The list may be empty (may contain 0 elements). - * Attribute keys MUST be unique (it is not allowed to have more than one - * attribute with the same key). - * @type int|string $start_time_unix_nano - * StartTimeUnixNano is optional but strongly encouraged, see the - * the detailed comments above Metric. - * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January - * 1970. - * @type int|string $time_unix_nano - * TimeUnixNano is required, see the detailed comments above Metric. - * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January - * 1970. - * @type int|string $count - * count is the number of values in the population. Must be non-negative. - * @type float $sum - * sum of the values in the population. If count is zero then this field - * must be zero. - * Note: Sum should only be filled out when measuring non-negative discrete - * events, and is assumed to be monotonic over the values of these events. - * Negative events *can* be recorded, but sum should not be filled out when - * doing so. This is specifically to enforce compatibility w/ OpenMetrics, - * see: https://github.com/OpenObservability/OpenMetrics/blob/main/specification/OpenMetrics.md#summary - * @type \Opentelemetry\Proto\Metrics\V1\SummaryDataPoint\ValueAtQuantile[]|\Google\Protobuf\Internal\RepeatedField $quantile_values - * (Optional) list of values at different quantiles of the distribution calculated - * from the current snapshot. The quantiles must be strictly increasing. - * @type int $flags - * Flags that apply to this specific data point. See DataPointFlags - * for the available flags and their meaning. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Opentelemetry\Proto\Metrics\V1\Metrics::initOnce(); - parent::__construct($data); - } - - /** - * The set of key/value pairs that uniquely identify the timeseries from - * where this point belongs. The list may be empty (may contain 0 elements). - * Attribute keys MUST be unique (it is not allowed to have more than one - * attribute with the same key). - * - * Generated from protobuf field repeated .opentelemetry.proto.common.v1.KeyValue attributes = 7; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getAttributes() - { - return $this->attributes; - } - - /** - * The set of key/value pairs that uniquely identify the timeseries from - * where this point belongs. The list may be empty (may contain 0 elements). - * Attribute keys MUST be unique (it is not allowed to have more than one - * attribute with the same key). - * - * Generated from protobuf field repeated .opentelemetry.proto.common.v1.KeyValue attributes = 7; - * @param \Opentelemetry\Proto\Common\V1\KeyValue[]|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setAttributes($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Opentelemetry\Proto\Common\V1\KeyValue::class); - $this->attributes = $arr; - - return $this; - } - - /** - * StartTimeUnixNano is optional but strongly encouraged, see the - * the detailed comments above Metric. - * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January - * 1970. - * - * Generated from protobuf field fixed64 start_time_unix_nano = 2; - * @return int|string - */ - public function getStartTimeUnixNano() - { - return $this->start_time_unix_nano; - } - - /** - * StartTimeUnixNano is optional but strongly encouraged, see the - * the detailed comments above Metric. - * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January - * 1970. - * - * Generated from protobuf field fixed64 start_time_unix_nano = 2; - * @param int|string $var - * @return $this - */ - public function setStartTimeUnixNano($var) - { - GPBUtil::checkUint64($var); - $this->start_time_unix_nano = $var; - - return $this; - } - - /** - * TimeUnixNano is required, see the detailed comments above Metric. - * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January - * 1970. - * - * Generated from protobuf field fixed64 time_unix_nano = 3; - * @return int|string - */ - public function getTimeUnixNano() - { - return $this->time_unix_nano; - } - - /** - * TimeUnixNano is required, see the detailed comments above Metric. - * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January - * 1970. - * - * Generated from protobuf field fixed64 time_unix_nano = 3; - * @param int|string $var - * @return $this - */ - public function setTimeUnixNano($var) - { - GPBUtil::checkUint64($var); - $this->time_unix_nano = $var; - - return $this; - } - - /** - * count is the number of values in the population. Must be non-negative. - * - * Generated from protobuf field fixed64 count = 4; - * @return int|string - */ - public function getCount() - { - return $this->count; - } - - /** - * count is the number of values in the population. Must be non-negative. - * - * Generated from protobuf field fixed64 count = 4; - * @param int|string $var - * @return $this - */ - public function setCount($var) - { - GPBUtil::checkUint64($var); - $this->count = $var; - - return $this; - } - - /** - * sum of the values in the population. If count is zero then this field - * must be zero. - * Note: Sum should only be filled out when measuring non-negative discrete - * events, and is assumed to be monotonic over the values of these events. - * Negative events *can* be recorded, but sum should not be filled out when - * doing so. This is specifically to enforce compatibility w/ OpenMetrics, - * see: https://github.com/OpenObservability/OpenMetrics/blob/main/specification/OpenMetrics.md#summary - * - * Generated from protobuf field double sum = 5; - * @return float - */ - public function getSum() - { - return $this->sum; - } - - /** - * sum of the values in the population. If count is zero then this field - * must be zero. - * Note: Sum should only be filled out when measuring non-negative discrete - * events, and is assumed to be monotonic over the values of these events. - * Negative events *can* be recorded, but sum should not be filled out when - * doing so. This is specifically to enforce compatibility w/ OpenMetrics, - * see: https://github.com/OpenObservability/OpenMetrics/blob/main/specification/OpenMetrics.md#summary - * - * Generated from protobuf field double sum = 5; - * @param float $var - * @return $this - */ - public function setSum($var) - { - GPBUtil::checkDouble($var); - $this->sum = $var; - - return $this; - } - - /** - * (Optional) list of values at different quantiles of the distribution calculated - * from the current snapshot. The quantiles must be strictly increasing. - * - * Generated from protobuf field repeated .opentelemetry.proto.metrics.v1.SummaryDataPoint.ValueAtQuantile quantile_values = 6; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getQuantileValues() - { - return $this->quantile_values; - } - - /** - * (Optional) list of values at different quantiles of the distribution calculated - * from the current snapshot. The quantiles must be strictly increasing. - * - * Generated from protobuf field repeated .opentelemetry.proto.metrics.v1.SummaryDataPoint.ValueAtQuantile quantile_values = 6; - * @param \Opentelemetry\Proto\Metrics\V1\SummaryDataPoint\ValueAtQuantile[]|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setQuantileValues($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Opentelemetry\Proto\Metrics\V1\SummaryDataPoint\ValueAtQuantile::class); - $this->quantile_values = $arr; - - return $this; - } - - /** - * Flags that apply to this specific data point. See DataPointFlags - * for the available flags and their meaning. - * - * Generated from protobuf field uint32 flags = 8; - * @return int - */ - public function getFlags() - { - return $this->flags; - } - - /** - * Flags that apply to this specific data point. See DataPointFlags - * for the available flags and their meaning. - * - * Generated from protobuf field uint32 flags = 8; - * @param int $var - * @return $this - */ - public function setFlags($var) - { - GPBUtil::checkUint32($var); - $this->flags = $var; - - return $this; - } - -} - diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/SummaryDataPoint/ValueAtQuantile.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/SummaryDataPoint/ValueAtQuantile.php deleted file mode 100644 index 8200b6d26..000000000 --- a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/SummaryDataPoint/ValueAtQuantile.php +++ /dev/null @@ -1,117 +0,0 @@ -opentelemetry.proto.metrics.v1.SummaryDataPoint.ValueAtQuantile - */ -class ValueAtQuantile extends \Google\Protobuf\Internal\Message -{ - /** - * The quantile of a distribution. Must be in the interval - * [0.0, 1.0]. - * - * Generated from protobuf field double quantile = 1; - */ - protected $quantile = 0.0; - /** - * The value at the given quantile of a distribution. - * Quantile values must NOT be negative. - * - * Generated from protobuf field double value = 2; - */ - protected $value = 0.0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type float $quantile - * The quantile of a distribution. Must be in the interval - * [0.0, 1.0]. - * @type float $value - * The value at the given quantile of a distribution. - * Quantile values must NOT be negative. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Opentelemetry\Proto\Metrics\V1\Metrics::initOnce(); - parent::__construct($data); - } - - /** - * The quantile of a distribution. Must be in the interval - * [0.0, 1.0]. - * - * Generated from protobuf field double quantile = 1; - * @return float - */ - public function getQuantile() - { - return $this->quantile; - } - - /** - * The quantile of a distribution. Must be in the interval - * [0.0, 1.0]. - * - * Generated from protobuf field double quantile = 1; - * @param float $var - * @return $this - */ - public function setQuantile($var) - { - GPBUtil::checkDouble($var); - $this->quantile = $var; - - return $this; - } - - /** - * The value at the given quantile of a distribution. - * Quantile values must NOT be negative. - * - * Generated from protobuf field double value = 2; - * @return float - */ - public function getValue() - { - return $this->value; - } - - /** - * The value at the given quantile of a distribution. - * Quantile values must NOT be negative. - * - * Generated from protobuf field double value = 2; - * @param float $var - * @return $this - */ - public function setValue($var) - { - GPBUtil::checkDouble($var); - $this->value = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ValueAtQuantile::class, \Opentelemetry\Proto\Metrics\V1\SummaryDataPoint_ValueAtQuantile::class); - diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/SummaryDataPoint_ValueAtQuantile.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/SummaryDataPoint_ValueAtQuantile.php deleted file mode 100644 index c1f41e749..000000000 --- a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/SummaryDataPoint_ValueAtQuantile.php +++ /dev/null @@ -1,16 +0,0 @@ -opentelemetry.proto.resource.v1.Resource - */ -class Resource extends \Google\Protobuf\Internal\Message -{ - /** - * Set of attributes that describe the resource. - * Attribute keys MUST be unique (it is not allowed to have more than one - * attribute with the same key). - * - * Generated from protobuf field repeated .opentelemetry.proto.common.v1.KeyValue attributes = 1; - */ - private $attributes; - /** - * dropped_attributes_count is the number of dropped attributes. If the value is 0, then - * no attributes were dropped. - * - * Generated from protobuf field uint32 dropped_attributes_count = 2; - */ - protected $dropped_attributes_count = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Opentelemetry\Proto\Common\V1\KeyValue[]|\Google\Protobuf\Internal\RepeatedField $attributes - * Set of attributes that describe the resource. - * Attribute keys MUST be unique (it is not allowed to have more than one - * attribute with the same key). - * @type int $dropped_attributes_count - * dropped_attributes_count is the number of dropped attributes. If the value is 0, then - * no attributes were dropped. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Opentelemetry\Proto\Resource\V1\Resource::initOnce(); - parent::__construct($data); - } - - /** - * Set of attributes that describe the resource. - * Attribute keys MUST be unique (it is not allowed to have more than one - * attribute with the same key). - * - * Generated from protobuf field repeated .opentelemetry.proto.common.v1.KeyValue attributes = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getAttributes() - { - return $this->attributes; - } - - /** - * Set of attributes that describe the resource. - * Attribute keys MUST be unique (it is not allowed to have more than one - * attribute with the same key). - * - * Generated from protobuf field repeated .opentelemetry.proto.common.v1.KeyValue attributes = 1; - * @param \Opentelemetry\Proto\Common\V1\KeyValue[]|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setAttributes($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Opentelemetry\Proto\Common\V1\KeyValue::class); - $this->attributes = $arr; - - return $this; - } - - /** - * dropped_attributes_count is the number of dropped attributes. If the value is 0, then - * no attributes were dropped. - * - * Generated from protobuf field uint32 dropped_attributes_count = 2; - * @return int - */ - public function getDroppedAttributesCount() - { - return $this->dropped_attributes_count; - } - - /** - * dropped_attributes_count is the number of dropped attributes. If the value is 0, then - * no attributes were dropped. - * - * Generated from protobuf field uint32 dropped_attributes_count = 2; - * @param int $var - * @return $this - */ - public function setDroppedAttributesCount($var) - { - GPBUtil::checkUint32($var); - $this->dropped_attributes_count = $var; - - return $this; - } - -} - diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/ConstantSampler.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/ConstantSampler.php deleted file mode 100644 index c21482623..000000000 --- a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/ConstantSampler.php +++ /dev/null @@ -1,60 +0,0 @@ -opentelemetry.proto.trace.v1.ConstantSampler - */ -class ConstantSampler extends \Google\Protobuf\Internal\Message -{ - /** - * Generated from protobuf field .opentelemetry.proto.trace.v1.ConstantSampler.ConstantDecision decision = 1; - */ - protected $decision = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $decision - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Opentelemetry\Proto\Trace\V1\TraceConfig::initOnce(); - parent::__construct($data); - } - - /** - * Generated from protobuf field .opentelemetry.proto.trace.v1.ConstantSampler.ConstantDecision decision = 1; - * @return int - */ - public function getDecision() - { - return $this->decision; - } - - /** - * Generated from protobuf field .opentelemetry.proto.trace.v1.ConstantSampler.ConstantDecision decision = 1; - * @param int $var - * @return $this - */ - public function setDecision($var) - { - GPBUtil::checkEnum($var, \Opentelemetry\Proto\Trace\V1\ConstantSampler\ConstantDecision::class); - $this->decision = $var; - - return $this; - } - -} - diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/ConstantSampler/ConstantDecision.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/ConstantSampler/ConstantDecision.php deleted file mode 100644 index 04c1950ca..000000000 --- a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/ConstantSampler/ConstantDecision.php +++ /dev/null @@ -1,61 +0,0 @@ -opentelemetry.proto.trace.v1.ConstantSampler.ConstantDecision - */ -class ConstantDecision -{ - /** - * Generated from protobuf enum ALWAYS_OFF = 0; - */ - const ALWAYS_OFF = 0; - /** - * Generated from protobuf enum ALWAYS_ON = 1; - */ - const ALWAYS_ON = 1; - /** - * Generated from protobuf enum ALWAYS_PARENT = 2; - */ - const ALWAYS_PARENT = 2; - - private static $valueToName = [ - self::ALWAYS_OFF => 'ALWAYS_OFF', - self::ALWAYS_ON => 'ALWAYS_ON', - self::ALWAYS_PARENT => 'ALWAYS_PARENT', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ConstantDecision::class, \Opentelemetry\Proto\Trace\V1\ConstantSampler_ConstantDecision::class); - diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/ConstantSampler_ConstantDecision.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/ConstantSampler_ConstantDecision.php deleted file mode 100644 index e252f5f4b..000000000 --- a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/ConstantSampler_ConstantDecision.php +++ /dev/null @@ -1,16 +0,0 @@ -opentelemetry.proto.trace.v1.InstrumentationLibrarySpans - */ -class InstrumentationLibrarySpans extends \Google\Protobuf\Internal\Message -{ - /** - * The instrumentation library information for the spans in this message. - * Semantically when InstrumentationLibrary isn't set, it is equivalent with - * an empty instrumentation library name (unknown). - * - * Generated from protobuf field .opentelemetry.proto.common.v1.InstrumentationLibrary instrumentation_library = 1; - */ - protected $instrumentation_library = null; - /** - * A list of Spans that originate from an instrumentation library. - * - * Generated from protobuf field repeated .opentelemetry.proto.trace.v1.Span spans = 2; - */ - private $spans; - /** - * This schema_url applies to all spans and span events in the "spans" field. - * - * Generated from protobuf field string schema_url = 3; - */ - protected $schema_url = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Opentelemetry\Proto\Common\V1\InstrumentationLibrary $instrumentation_library - * The instrumentation library information for the spans in this message. - * Semantically when InstrumentationLibrary isn't set, it is equivalent with - * an empty instrumentation library name (unknown). - * @type \Opentelemetry\Proto\Trace\V1\Span[]|\Google\Protobuf\Internal\RepeatedField $spans - * A list of Spans that originate from an instrumentation library. - * @type string $schema_url - * This schema_url applies to all spans and span events in the "spans" field. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Opentelemetry\Proto\Trace\V1\Trace::initOnce(); - parent::__construct($data); - } - - /** - * The instrumentation library information for the spans in this message. - * Semantically when InstrumentationLibrary isn't set, it is equivalent with - * an empty instrumentation library name (unknown). - * - * Generated from protobuf field .opentelemetry.proto.common.v1.InstrumentationLibrary instrumentation_library = 1; - * @return \Opentelemetry\Proto\Common\V1\InstrumentationLibrary|null - */ - public function getInstrumentationLibrary() - { - return $this->instrumentation_library; - } - - public function hasInstrumentationLibrary() - { - return isset($this->instrumentation_library); - } - - public function clearInstrumentationLibrary() - { - unset($this->instrumentation_library); - } - - /** - * The instrumentation library information for the spans in this message. - * Semantically when InstrumentationLibrary isn't set, it is equivalent with - * an empty instrumentation library name (unknown). - * - * Generated from protobuf field .opentelemetry.proto.common.v1.InstrumentationLibrary instrumentation_library = 1; - * @param \Opentelemetry\Proto\Common\V1\InstrumentationLibrary $var - * @return $this - */ - public function setInstrumentationLibrary($var) - { - GPBUtil::checkMessage($var, \Opentelemetry\Proto\Common\V1\InstrumentationLibrary::class); - $this->instrumentation_library = $var; - - return $this; - } - - /** - * A list of Spans that originate from an instrumentation library. - * - * Generated from protobuf field repeated .opentelemetry.proto.trace.v1.Span spans = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getSpans() - { - return $this->spans; - } - - /** - * A list of Spans that originate from an instrumentation library. - * - * Generated from protobuf field repeated .opentelemetry.proto.trace.v1.Span spans = 2; - * @param \Opentelemetry\Proto\Trace\V1\Span[]|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setSpans($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Opentelemetry\Proto\Trace\V1\Span::class); - $this->spans = $arr; - - return $this; - } - - /** - * This schema_url applies to all spans and span events in the "spans" field. - * - * Generated from protobuf field string schema_url = 3; - * @return string - */ - public function getSchemaUrl() - { - return $this->schema_url; - } - - /** - * This schema_url applies to all spans and span events in the "spans" field. - * - * Generated from protobuf field string schema_url = 3; - * @param string $var - * @return $this - */ - public function setSchemaUrl($var) - { - GPBUtil::checkString($var, True); - $this->schema_url = $var; - - return $this; - } - -} - diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/RateLimitingSampler.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/RateLimitingSampler.php deleted file mode 100644 index 3fd17fb01..000000000 --- a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/RateLimitingSampler.php +++ /dev/null @@ -1,67 +0,0 @@ -opentelemetry.proto.trace.v1.RateLimitingSampler - */ -class RateLimitingSampler extends \Google\Protobuf\Internal\Message -{ - /** - * Rate per second. - * - * Generated from protobuf field int64 qps = 1; - */ - protected $qps = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $qps - * Rate per second. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Opentelemetry\Proto\Trace\V1\TraceConfig::initOnce(); - parent::__construct($data); - } - - /** - * Rate per second. - * - * Generated from protobuf field int64 qps = 1; - * @return int|string - */ - public function getQps() - { - return $this->qps; - } - - /** - * Rate per second. - * - * Generated from protobuf field int64 qps = 1; - * @param int|string $var - * @return $this - */ - public function setQps($var) - { - GPBUtil::checkInt64($var); - $this->qps = $var; - - return $this; - } - -} - diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/ResourceSpans.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/ResourceSpans.php deleted file mode 100644 index 521250920..000000000 --- a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/ResourceSpans.php +++ /dev/null @@ -1,153 +0,0 @@ -opentelemetry.proto.trace.v1.ResourceSpans - */ -class ResourceSpans extends \Google\Protobuf\Internal\Message -{ - /** - * The resource for the spans in this message. - * If this field is not set then no resource info is known. - * - * Generated from protobuf field .opentelemetry.proto.resource.v1.Resource resource = 1; - */ - protected $resource = null; - /** - * A list of ScopeSpans that originate from a resource. - * - * Generated from protobuf field repeated .opentelemetry.proto.trace.v1.ScopeSpans scope_spans = 2; - */ - private $scope_spans; - /** - * This schema_url applies to the data in the "resource" field. It does not apply - * to the data in the "scope_spans" field which have their own schema_url field. - * - * Generated from protobuf field string schema_url = 3; - */ - protected $schema_url = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Opentelemetry\Proto\Resource\V1\Resource $resource - * The resource for the spans in this message. - * If this field is not set then no resource info is known. - * @type \Opentelemetry\Proto\Trace\V1\ScopeSpans[]|\Google\Protobuf\Internal\RepeatedField $scope_spans - * A list of ScopeSpans that originate from a resource. - * @type string $schema_url - * This schema_url applies to the data in the "resource" field. It does not apply - * to the data in the "scope_spans" field which have their own schema_url field. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Opentelemetry\Proto\Trace\V1\Trace::initOnce(); - parent::__construct($data); - } - - /** - * The resource for the spans in this message. - * If this field is not set then no resource info is known. - * - * Generated from protobuf field .opentelemetry.proto.resource.v1.Resource resource = 1; - * @return \Opentelemetry\Proto\Resource\V1\Resource|null - */ - public function getResource() - { - return $this->resource; - } - - public function hasResource() - { - return isset($this->resource); - } - - public function clearResource() - { - unset($this->resource); - } - - /** - * The resource for the spans in this message. - * If this field is not set then no resource info is known. - * - * Generated from protobuf field .opentelemetry.proto.resource.v1.Resource resource = 1; - * @param \Opentelemetry\Proto\Resource\V1\Resource $var - * @return $this - */ - public function setResource($var) - { - GPBUtil::checkMessage($var, \Opentelemetry\Proto\Resource\V1\Resource::class); - $this->resource = $var; - - return $this; - } - - /** - * A list of ScopeSpans that originate from a resource. - * - * Generated from protobuf field repeated .opentelemetry.proto.trace.v1.ScopeSpans scope_spans = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getScopeSpans() - { - return $this->scope_spans; - } - - /** - * A list of ScopeSpans that originate from a resource. - * - * Generated from protobuf field repeated .opentelemetry.proto.trace.v1.ScopeSpans scope_spans = 2; - * @param \Opentelemetry\Proto\Trace\V1\ScopeSpans[]|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setScopeSpans($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Opentelemetry\Proto\Trace\V1\ScopeSpans::class); - $this->scope_spans = $arr; - - return $this; - } - - /** - * This schema_url applies to the data in the "resource" field. It does not apply - * to the data in the "scope_spans" field which have their own schema_url field. - * - * Generated from protobuf field string schema_url = 3; - * @return string - */ - public function getSchemaUrl() - { - return $this->schema_url; - } - - /** - * This schema_url applies to the data in the "resource" field. It does not apply - * to the data in the "scope_spans" field which have their own schema_url field. - * - * Generated from protobuf field string schema_url = 3; - * @param string $var - * @return $this - */ - public function setSchemaUrl($var) - { - GPBUtil::checkString($var, True); - $this->schema_url = $var; - - return $this; - } - -} - diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/ScopeSpans.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/ScopeSpans.php deleted file mode 100644 index 098376f7d..000000000 --- a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/ScopeSpans.php +++ /dev/null @@ -1,153 +0,0 @@ -opentelemetry.proto.trace.v1.ScopeSpans - */ -class ScopeSpans extends \Google\Protobuf\Internal\Message -{ - /** - * The instrumentation scope information for the spans in this message. - * Semantically when InstrumentationScope isn't set, it is equivalent with - * an empty instrumentation scope name (unknown). - * - * Generated from protobuf field .opentelemetry.proto.common.v1.InstrumentationScope scope = 1; - */ - protected $scope = null; - /** - * A list of Spans that originate from an instrumentation scope. - * - * Generated from protobuf field repeated .opentelemetry.proto.trace.v1.Span spans = 2; - */ - private $spans; - /** - * This schema_url applies to all spans and span events in the "spans" field. - * - * Generated from protobuf field string schema_url = 3; - */ - protected $schema_url = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Opentelemetry\Proto\Common\V1\InstrumentationScope $scope - * The instrumentation scope information for the spans in this message. - * Semantically when InstrumentationScope isn't set, it is equivalent with - * an empty instrumentation scope name (unknown). - * @type \Opentelemetry\Proto\Trace\V1\Span[]|\Google\Protobuf\Internal\RepeatedField $spans - * A list of Spans that originate from an instrumentation scope. - * @type string $schema_url - * This schema_url applies to all spans and span events in the "spans" field. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Opentelemetry\Proto\Trace\V1\Trace::initOnce(); - parent::__construct($data); - } - - /** - * The instrumentation scope information for the spans in this message. - * Semantically when InstrumentationScope isn't set, it is equivalent with - * an empty instrumentation scope name (unknown). - * - * Generated from protobuf field .opentelemetry.proto.common.v1.InstrumentationScope scope = 1; - * @return \Opentelemetry\Proto\Common\V1\InstrumentationScope|null - */ - public function getScope() - { - return $this->scope; - } - - public function hasScope() - { - return isset($this->scope); - } - - public function clearScope() - { - unset($this->scope); - } - - /** - * The instrumentation scope information for the spans in this message. - * Semantically when InstrumentationScope isn't set, it is equivalent with - * an empty instrumentation scope name (unknown). - * - * Generated from protobuf field .opentelemetry.proto.common.v1.InstrumentationScope scope = 1; - * @param \Opentelemetry\Proto\Common\V1\InstrumentationScope $var - * @return $this - */ - public function setScope($var) - { - GPBUtil::checkMessage($var, \Opentelemetry\Proto\Common\V1\InstrumentationScope::class); - $this->scope = $var; - - return $this; - } - - /** - * A list of Spans that originate from an instrumentation scope. - * - * Generated from protobuf field repeated .opentelemetry.proto.trace.v1.Span spans = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getSpans() - { - return $this->spans; - } - - /** - * A list of Spans that originate from an instrumentation scope. - * - * Generated from protobuf field repeated .opentelemetry.proto.trace.v1.Span spans = 2; - * @param \Opentelemetry\Proto\Trace\V1\Span[]|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setSpans($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Opentelemetry\Proto\Trace\V1\Span::class); - $this->spans = $arr; - - return $this; - } - - /** - * This schema_url applies to all spans and span events in the "spans" field. - * - * Generated from protobuf field string schema_url = 3; - * @return string - */ - public function getSchemaUrl() - { - return $this->schema_url; - } - - /** - * This schema_url applies to all spans and span events in the "spans" field. - * - * Generated from protobuf field string schema_url = 3; - * @param string $var - * @return $this - */ - public function setSchemaUrl($var) - { - GPBUtil::checkString($var, True); - $this->schema_url = $var; - - return $this; - } - -} - diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Span.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Span.php deleted file mode 100644 index 4b1dc138c..000000000 --- a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Span.php +++ /dev/null @@ -1,726 +0,0 @@ -opentelemetry.proto.trace.v1.Span - */ -class Span extends \Google\Protobuf\Internal\Message -{ - /** - * A unique identifier for a trace. All spans from the same trace share - * the same `trace_id`. The ID is a 16-byte array. An ID with all zeroes OR - * of length other than 16 bytes is considered invalid (empty string in OTLP/JSON - * is zero-length and thus is also invalid). - * This field is required. - * - * Generated from protobuf field bytes trace_id = 1; - */ - protected $trace_id = ''; - /** - * A unique identifier for a span within a trace, assigned when the span - * is created. The ID is an 8-byte array. An ID with all zeroes OR of length - * other than 8 bytes is considered invalid (empty string in OTLP/JSON - * is zero-length and thus is also invalid). - * This field is required. - * - * Generated from protobuf field bytes span_id = 2; - */ - protected $span_id = ''; - /** - * trace_state conveys information about request position in multiple distributed tracing graphs. - * It is a trace_state in w3c-trace-context format: https://www.w3.org/TR/trace-context/#tracestate-header - * See also https://github.com/w3c/distributed-tracing for more details about this field. - * - * Generated from protobuf field string trace_state = 3; - */ - protected $trace_state = ''; - /** - * The `span_id` of this span's parent span. If this is a root span, then this - * field must be empty. The ID is an 8-byte array. - * - * Generated from protobuf field bytes parent_span_id = 4; - */ - protected $parent_span_id = ''; - /** - * A description of the span's operation. - * For example, the name can be a qualified method name or a file name - * and a line number where the operation is called. A best practice is to use - * the same display name at the same call point in an application. - * This makes it easier to correlate spans in different traces. - * This field is semantically required to be set to non-empty string. - * Empty value is equivalent to an unknown span name. - * This field is required. - * - * Generated from protobuf field string name = 5; - */ - protected $name = ''; - /** - * Distinguishes between spans generated in a particular context. For example, - * two spans with the same name may be distinguished using `CLIENT` (caller) - * and `SERVER` (callee) to identify queueing latency associated with the span. - * - * Generated from protobuf field .opentelemetry.proto.trace.v1.Span.SpanKind kind = 6; - */ - protected $kind = 0; - /** - * start_time_unix_nano is the start time of the span. On the client side, this is the time - * kept by the local machine where the span execution starts. On the server side, this - * is the time when the server's application handler starts running. - * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January 1970. - * This field is semantically required and it is expected that end_time >= start_time. - * - * Generated from protobuf field fixed64 start_time_unix_nano = 7; - */ - protected $start_time_unix_nano = 0; - /** - * end_time_unix_nano is the end time of the span. On the client side, this is the time - * kept by the local machine where the span execution ends. On the server side, this - * is the time when the server application handler stops running. - * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January 1970. - * This field is semantically required and it is expected that end_time >= start_time. - * - * Generated from protobuf field fixed64 end_time_unix_nano = 8; - */ - protected $end_time_unix_nano = 0; - /** - * attributes is a collection of key/value pairs. Note, global attributes - * like server name can be set using the resource API. Examples of attributes: - * "/http/user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36" - * "/http/server_latency": 300 - * "example.com/myattribute": true - * "example.com/score": 10.239 - * The OpenTelemetry API specification further restricts the allowed value types: - * https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/common/README.md#attribute - * Attribute keys MUST be unique (it is not allowed to have more than one - * attribute with the same key). - * - * Generated from protobuf field repeated .opentelemetry.proto.common.v1.KeyValue attributes = 9; - */ - private $attributes; - /** - * dropped_attributes_count is the number of attributes that were discarded. Attributes - * can be discarded because their keys are too long or because there are too many - * attributes. If this value is 0, then no attributes were dropped. - * - * Generated from protobuf field uint32 dropped_attributes_count = 10; - */ - protected $dropped_attributes_count = 0; - /** - * events is a collection of Event items. - * - * Generated from protobuf field repeated .opentelemetry.proto.trace.v1.Span.Event events = 11; - */ - private $events; - /** - * dropped_events_count is the number of dropped events. If the value is 0, then no - * events were dropped. - * - * Generated from protobuf field uint32 dropped_events_count = 12; - */ - protected $dropped_events_count = 0; - /** - * links is a collection of Links, which are references from this span to a span - * in the same or different trace. - * - * Generated from protobuf field repeated .opentelemetry.proto.trace.v1.Span.Link links = 13; - */ - private $links; - /** - * dropped_links_count is the number of dropped links after the maximum size was - * enforced. If this value is 0, then no links were dropped. - * - * Generated from protobuf field uint32 dropped_links_count = 14; - */ - protected $dropped_links_count = 0; - /** - * An optional final status for this span. Semantically when Status isn't set, it means - * span's status code is unset, i.e. assume STATUS_CODE_UNSET (code = 0). - * - * Generated from protobuf field .opentelemetry.proto.trace.v1.Status status = 15; - */ - protected $status = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $trace_id - * A unique identifier for a trace. All spans from the same trace share - * the same `trace_id`. The ID is a 16-byte array. An ID with all zeroes OR - * of length other than 16 bytes is considered invalid (empty string in OTLP/JSON - * is zero-length and thus is also invalid). - * This field is required. - * @type string $span_id - * A unique identifier for a span within a trace, assigned when the span - * is created. The ID is an 8-byte array. An ID with all zeroes OR of length - * other than 8 bytes is considered invalid (empty string in OTLP/JSON - * is zero-length and thus is also invalid). - * This field is required. - * @type string $trace_state - * trace_state conveys information about request position in multiple distributed tracing graphs. - * It is a trace_state in w3c-trace-context format: https://www.w3.org/TR/trace-context/#tracestate-header - * See also https://github.com/w3c/distributed-tracing for more details about this field. - * @type string $parent_span_id - * The `span_id` of this span's parent span. If this is a root span, then this - * field must be empty. The ID is an 8-byte array. - * @type string $name - * A description of the span's operation. - * For example, the name can be a qualified method name or a file name - * and a line number where the operation is called. A best practice is to use - * the same display name at the same call point in an application. - * This makes it easier to correlate spans in different traces. - * This field is semantically required to be set to non-empty string. - * Empty value is equivalent to an unknown span name. - * This field is required. - * @type int $kind - * Distinguishes between spans generated in a particular context. For example, - * two spans with the same name may be distinguished using `CLIENT` (caller) - * and `SERVER` (callee) to identify queueing latency associated with the span. - * @type int|string $start_time_unix_nano - * start_time_unix_nano is the start time of the span. On the client side, this is the time - * kept by the local machine where the span execution starts. On the server side, this - * is the time when the server's application handler starts running. - * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January 1970. - * This field is semantically required and it is expected that end_time >= start_time. - * @type int|string $end_time_unix_nano - * end_time_unix_nano is the end time of the span. On the client side, this is the time - * kept by the local machine where the span execution ends. On the server side, this - * is the time when the server application handler stops running. - * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January 1970. - * This field is semantically required and it is expected that end_time >= start_time. - * @type \Opentelemetry\Proto\Common\V1\KeyValue[]|\Google\Protobuf\Internal\RepeatedField $attributes - * attributes is a collection of key/value pairs. Note, global attributes - * like server name can be set using the resource API. Examples of attributes: - * "/http/user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36" - * "/http/server_latency": 300 - * "example.com/myattribute": true - * "example.com/score": 10.239 - * The OpenTelemetry API specification further restricts the allowed value types: - * https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/common/README.md#attribute - * Attribute keys MUST be unique (it is not allowed to have more than one - * attribute with the same key). - * @type int $dropped_attributes_count - * dropped_attributes_count is the number of attributes that were discarded. Attributes - * can be discarded because their keys are too long or because there are too many - * attributes. If this value is 0, then no attributes were dropped. - * @type \Opentelemetry\Proto\Trace\V1\Span\Event[]|\Google\Protobuf\Internal\RepeatedField $events - * events is a collection of Event items. - * @type int $dropped_events_count - * dropped_events_count is the number of dropped events. If the value is 0, then no - * events were dropped. - * @type \Opentelemetry\Proto\Trace\V1\Span\Link[]|\Google\Protobuf\Internal\RepeatedField $links - * links is a collection of Links, which are references from this span to a span - * in the same or different trace. - * @type int $dropped_links_count - * dropped_links_count is the number of dropped links after the maximum size was - * enforced. If this value is 0, then no links were dropped. - * @type \Opentelemetry\Proto\Trace\V1\Status $status - * An optional final status for this span. Semantically when Status isn't set, it means - * span's status code is unset, i.e. assume STATUS_CODE_UNSET (code = 0). - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Opentelemetry\Proto\Trace\V1\Trace::initOnce(); - parent::__construct($data); - } - - /** - * A unique identifier for a trace. All spans from the same trace share - * the same `trace_id`. The ID is a 16-byte array. An ID with all zeroes OR - * of length other than 16 bytes is considered invalid (empty string in OTLP/JSON - * is zero-length and thus is also invalid). - * This field is required. - * - * Generated from protobuf field bytes trace_id = 1; - * @return string - */ - public function getTraceId() - { - return $this->trace_id; - } - - /** - * A unique identifier for a trace. All spans from the same trace share - * the same `trace_id`. The ID is a 16-byte array. An ID with all zeroes OR - * of length other than 16 bytes is considered invalid (empty string in OTLP/JSON - * is zero-length and thus is also invalid). - * This field is required. - * - * Generated from protobuf field bytes trace_id = 1; - * @param string $var - * @return $this - */ - public function setTraceId($var) - { - GPBUtil::checkString($var, False); - $this->trace_id = $var; - - return $this; - } - - /** - * A unique identifier for a span within a trace, assigned when the span - * is created. The ID is an 8-byte array. An ID with all zeroes OR of length - * other than 8 bytes is considered invalid (empty string in OTLP/JSON - * is zero-length and thus is also invalid). - * This field is required. - * - * Generated from protobuf field bytes span_id = 2; - * @return string - */ - public function getSpanId() - { - return $this->span_id; - } - - /** - * A unique identifier for a span within a trace, assigned when the span - * is created. The ID is an 8-byte array. An ID with all zeroes OR of length - * other than 8 bytes is considered invalid (empty string in OTLP/JSON - * is zero-length and thus is also invalid). - * This field is required. - * - * Generated from protobuf field bytes span_id = 2; - * @param string $var - * @return $this - */ - public function setSpanId($var) - { - GPBUtil::checkString($var, False); - $this->span_id = $var; - - return $this; - } - - /** - * trace_state conveys information about request position in multiple distributed tracing graphs. - * It is a trace_state in w3c-trace-context format: https://www.w3.org/TR/trace-context/#tracestate-header - * See also https://github.com/w3c/distributed-tracing for more details about this field. - * - * Generated from protobuf field string trace_state = 3; - * @return string - */ - public function getTraceState() - { - return $this->trace_state; - } - - /** - * trace_state conveys information about request position in multiple distributed tracing graphs. - * It is a trace_state in w3c-trace-context format: https://www.w3.org/TR/trace-context/#tracestate-header - * See also https://github.com/w3c/distributed-tracing for more details about this field. - * - * Generated from protobuf field string trace_state = 3; - * @param string $var - * @return $this - */ - public function setTraceState($var) - { - GPBUtil::checkString($var, True); - $this->trace_state = $var; - - return $this; - } - - /** - * The `span_id` of this span's parent span. If this is a root span, then this - * field must be empty. The ID is an 8-byte array. - * - * Generated from protobuf field bytes parent_span_id = 4; - * @return string - */ - public function getParentSpanId() - { - return $this->parent_span_id; - } - - /** - * The `span_id` of this span's parent span. If this is a root span, then this - * field must be empty. The ID is an 8-byte array. - * - * Generated from protobuf field bytes parent_span_id = 4; - * @param string $var - * @return $this - */ - public function setParentSpanId($var) - { - GPBUtil::checkString($var, False); - $this->parent_span_id = $var; - - return $this; - } - - /** - * A description of the span's operation. - * For example, the name can be a qualified method name or a file name - * and a line number where the operation is called. A best practice is to use - * the same display name at the same call point in an application. - * This makes it easier to correlate spans in different traces. - * This field is semantically required to be set to non-empty string. - * Empty value is equivalent to an unknown span name. - * This field is required. - * - * Generated from protobuf field string name = 5; - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * A description of the span's operation. - * For example, the name can be a qualified method name or a file name - * and a line number where the operation is called. A best practice is to use - * the same display name at the same call point in an application. - * This makes it easier to correlate spans in different traces. - * This field is semantically required to be set to non-empty string. - * Empty value is equivalent to an unknown span name. - * This field is required. - * - * Generated from protobuf field string name = 5; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * Distinguishes between spans generated in a particular context. For example, - * two spans with the same name may be distinguished using `CLIENT` (caller) - * and `SERVER` (callee) to identify queueing latency associated with the span. - * - * Generated from protobuf field .opentelemetry.proto.trace.v1.Span.SpanKind kind = 6; - * @return int - */ - public function getKind() - { - return $this->kind; - } - - /** - * Distinguishes between spans generated in a particular context. For example, - * two spans with the same name may be distinguished using `CLIENT` (caller) - * and `SERVER` (callee) to identify queueing latency associated with the span. - * - * Generated from protobuf field .opentelemetry.proto.trace.v1.Span.SpanKind kind = 6; - * @param int $var - * @return $this - */ - public function setKind($var) - { - GPBUtil::checkEnum($var, \Opentelemetry\Proto\Trace\V1\Span\SpanKind::class); - $this->kind = $var; - - return $this; - } - - /** - * start_time_unix_nano is the start time of the span. On the client side, this is the time - * kept by the local machine where the span execution starts. On the server side, this - * is the time when the server's application handler starts running. - * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January 1970. - * This field is semantically required and it is expected that end_time >= start_time. - * - * Generated from protobuf field fixed64 start_time_unix_nano = 7; - * @return int|string - */ - public function getStartTimeUnixNano() - { - return $this->start_time_unix_nano; - } - - /** - * start_time_unix_nano is the start time of the span. On the client side, this is the time - * kept by the local machine where the span execution starts. On the server side, this - * is the time when the server's application handler starts running. - * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January 1970. - * This field is semantically required and it is expected that end_time >= start_time. - * - * Generated from protobuf field fixed64 start_time_unix_nano = 7; - * @param int|string $var - * @return $this - */ - public function setStartTimeUnixNano($var) - { - GPBUtil::checkUint64($var); - $this->start_time_unix_nano = $var; - - return $this; - } - - /** - * end_time_unix_nano is the end time of the span. On the client side, this is the time - * kept by the local machine where the span execution ends. On the server side, this - * is the time when the server application handler stops running. - * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January 1970. - * This field is semantically required and it is expected that end_time >= start_time. - * - * Generated from protobuf field fixed64 end_time_unix_nano = 8; - * @return int|string - */ - public function getEndTimeUnixNano() - { - return $this->end_time_unix_nano; - } - - /** - * end_time_unix_nano is the end time of the span. On the client side, this is the time - * kept by the local machine where the span execution ends. On the server side, this - * is the time when the server application handler stops running. - * Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January 1970. - * This field is semantically required and it is expected that end_time >= start_time. - * - * Generated from protobuf field fixed64 end_time_unix_nano = 8; - * @param int|string $var - * @return $this - */ - public function setEndTimeUnixNano($var) - { - GPBUtil::checkUint64($var); - $this->end_time_unix_nano = $var; - - return $this; - } - - /** - * attributes is a collection of key/value pairs. Note, global attributes - * like server name can be set using the resource API. Examples of attributes: - * "/http/user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36" - * "/http/server_latency": 300 - * "example.com/myattribute": true - * "example.com/score": 10.239 - * The OpenTelemetry API specification further restricts the allowed value types: - * https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/common/README.md#attribute - * Attribute keys MUST be unique (it is not allowed to have more than one - * attribute with the same key). - * - * Generated from protobuf field repeated .opentelemetry.proto.common.v1.KeyValue attributes = 9; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getAttributes() - { - return $this->attributes; - } - - /** - * attributes is a collection of key/value pairs. Note, global attributes - * like server name can be set using the resource API. Examples of attributes: - * "/http/user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36" - * "/http/server_latency": 300 - * "example.com/myattribute": true - * "example.com/score": 10.239 - * The OpenTelemetry API specification further restricts the allowed value types: - * https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/common/README.md#attribute - * Attribute keys MUST be unique (it is not allowed to have more than one - * attribute with the same key). - * - * Generated from protobuf field repeated .opentelemetry.proto.common.v1.KeyValue attributes = 9; - * @param \Opentelemetry\Proto\Common\V1\KeyValue[]|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setAttributes($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Opentelemetry\Proto\Common\V1\KeyValue::class); - $this->attributes = $arr; - - return $this; - } - - /** - * dropped_attributes_count is the number of attributes that were discarded. Attributes - * can be discarded because their keys are too long or because there are too many - * attributes. If this value is 0, then no attributes were dropped. - * - * Generated from protobuf field uint32 dropped_attributes_count = 10; - * @return int - */ - public function getDroppedAttributesCount() - { - return $this->dropped_attributes_count; - } - - /** - * dropped_attributes_count is the number of attributes that were discarded. Attributes - * can be discarded because their keys are too long or because there are too many - * attributes. If this value is 0, then no attributes were dropped. - * - * Generated from protobuf field uint32 dropped_attributes_count = 10; - * @param int $var - * @return $this - */ - public function setDroppedAttributesCount($var) - { - GPBUtil::checkUint32($var); - $this->dropped_attributes_count = $var; - - return $this; - } - - /** - * events is a collection of Event items. - * - * Generated from protobuf field repeated .opentelemetry.proto.trace.v1.Span.Event events = 11; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getEvents() - { - return $this->events; - } - - /** - * events is a collection of Event items. - * - * Generated from protobuf field repeated .opentelemetry.proto.trace.v1.Span.Event events = 11; - * @param \Opentelemetry\Proto\Trace\V1\Span\Event[]|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setEvents($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Opentelemetry\Proto\Trace\V1\Span\Event::class); - $this->events = $arr; - - return $this; - } - - /** - * dropped_events_count is the number of dropped events. If the value is 0, then no - * events were dropped. - * - * Generated from protobuf field uint32 dropped_events_count = 12; - * @return int - */ - public function getDroppedEventsCount() - { - return $this->dropped_events_count; - } - - /** - * dropped_events_count is the number of dropped events. If the value is 0, then no - * events were dropped. - * - * Generated from protobuf field uint32 dropped_events_count = 12; - * @param int $var - * @return $this - */ - public function setDroppedEventsCount($var) - { - GPBUtil::checkUint32($var); - $this->dropped_events_count = $var; - - return $this; - } - - /** - * links is a collection of Links, which are references from this span to a span - * in the same or different trace. - * - * Generated from protobuf field repeated .opentelemetry.proto.trace.v1.Span.Link links = 13; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getLinks() - { - return $this->links; - } - - /** - * links is a collection of Links, which are references from this span to a span - * in the same or different trace. - * - * Generated from protobuf field repeated .opentelemetry.proto.trace.v1.Span.Link links = 13; - * @param \Opentelemetry\Proto\Trace\V1\Span\Link[]|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setLinks($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Opentelemetry\Proto\Trace\V1\Span\Link::class); - $this->links = $arr; - - return $this; - } - - /** - * dropped_links_count is the number of dropped links after the maximum size was - * enforced. If this value is 0, then no links were dropped. - * - * Generated from protobuf field uint32 dropped_links_count = 14; - * @return int - */ - public function getDroppedLinksCount() - { - return $this->dropped_links_count; - } - - /** - * dropped_links_count is the number of dropped links after the maximum size was - * enforced. If this value is 0, then no links were dropped. - * - * Generated from protobuf field uint32 dropped_links_count = 14; - * @param int $var - * @return $this - */ - public function setDroppedLinksCount($var) - { - GPBUtil::checkUint32($var); - $this->dropped_links_count = $var; - - return $this; - } - - /** - * An optional final status for this span. Semantically when Status isn't set, it means - * span's status code is unset, i.e. assume STATUS_CODE_UNSET (code = 0). - * - * Generated from protobuf field .opentelemetry.proto.trace.v1.Status status = 15; - * @return \Opentelemetry\Proto\Trace\V1\Status|null - */ - public function getStatus() - { - return $this->status; - } - - public function hasStatus() - { - return isset($this->status); - } - - public function clearStatus() - { - unset($this->status); - } - - /** - * An optional final status for this span. Semantically when Status isn't set, it means - * span's status code is unset, i.e. assume STATUS_CODE_UNSET (code = 0). - * - * Generated from protobuf field .opentelemetry.proto.trace.v1.Status status = 15; - * @param \Opentelemetry\Proto\Trace\V1\Status $var - * @return $this - */ - public function setStatus($var) - { - GPBUtil::checkMessage($var, \Opentelemetry\Proto\Trace\V1\Status::class); - $this->status = $var; - - return $this; - } - -} - diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Span/Event.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Span/Event.php deleted file mode 100644 index c6b7a1807..000000000 --- a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Span/Event.php +++ /dev/null @@ -1,189 +0,0 @@ -opentelemetry.proto.trace.v1.Span.Event - */ -class Event extends \Google\Protobuf\Internal\Message -{ - /** - * time_unix_nano is the time the event occurred. - * - * Generated from protobuf field fixed64 time_unix_nano = 1; - */ - protected $time_unix_nano = 0; - /** - * name of the event. - * This field is semantically required to be set to non-empty string. - * - * Generated from protobuf field string name = 2; - */ - protected $name = ''; - /** - * attributes is a collection of attribute key/value pairs on the event. - * Attribute keys MUST be unique (it is not allowed to have more than one - * attribute with the same key). - * - * Generated from protobuf field repeated .opentelemetry.proto.common.v1.KeyValue attributes = 3; - */ - private $attributes; - /** - * dropped_attributes_count is the number of dropped attributes. If the value is 0, - * then no attributes were dropped. - * - * Generated from protobuf field uint32 dropped_attributes_count = 4; - */ - protected $dropped_attributes_count = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $time_unix_nano - * time_unix_nano is the time the event occurred. - * @type string $name - * name of the event. - * This field is semantically required to be set to non-empty string. - * @type \Opentelemetry\Proto\Common\V1\KeyValue[]|\Google\Protobuf\Internal\RepeatedField $attributes - * attributes is a collection of attribute key/value pairs on the event. - * Attribute keys MUST be unique (it is not allowed to have more than one - * attribute with the same key). - * @type int $dropped_attributes_count - * dropped_attributes_count is the number of dropped attributes. If the value is 0, - * then no attributes were dropped. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Opentelemetry\Proto\Trace\V1\Trace::initOnce(); - parent::__construct($data); - } - - /** - * time_unix_nano is the time the event occurred. - * - * Generated from protobuf field fixed64 time_unix_nano = 1; - * @return int|string - */ - public function getTimeUnixNano() - { - return $this->time_unix_nano; - } - - /** - * time_unix_nano is the time the event occurred. - * - * Generated from protobuf field fixed64 time_unix_nano = 1; - * @param int|string $var - * @return $this - */ - public function setTimeUnixNano($var) - { - GPBUtil::checkUint64($var); - $this->time_unix_nano = $var; - - return $this; - } - - /** - * name of the event. - * This field is semantically required to be set to non-empty string. - * - * Generated from protobuf field string name = 2; - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * name of the event. - * This field is semantically required to be set to non-empty string. - * - * Generated from protobuf field string name = 2; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * attributes is a collection of attribute key/value pairs on the event. - * Attribute keys MUST be unique (it is not allowed to have more than one - * attribute with the same key). - * - * Generated from protobuf field repeated .opentelemetry.proto.common.v1.KeyValue attributes = 3; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getAttributes() - { - return $this->attributes; - } - - /** - * attributes is a collection of attribute key/value pairs on the event. - * Attribute keys MUST be unique (it is not allowed to have more than one - * attribute with the same key). - * - * Generated from protobuf field repeated .opentelemetry.proto.common.v1.KeyValue attributes = 3; - * @param \Opentelemetry\Proto\Common\V1\KeyValue[]|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setAttributes($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Opentelemetry\Proto\Common\V1\KeyValue::class); - $this->attributes = $arr; - - return $this; - } - - /** - * dropped_attributes_count is the number of dropped attributes. If the value is 0, - * then no attributes were dropped. - * - * Generated from protobuf field uint32 dropped_attributes_count = 4; - * @return int - */ - public function getDroppedAttributesCount() - { - return $this->dropped_attributes_count; - } - - /** - * dropped_attributes_count is the number of dropped attributes. If the value is 0, - * then no attributes were dropped. - * - * Generated from protobuf field uint32 dropped_attributes_count = 4; - * @param int $var - * @return $this - */ - public function setDroppedAttributesCount($var) - { - GPBUtil::checkUint32($var); - $this->dropped_attributes_count = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Event::class, \Opentelemetry\Proto\Trace\V1\Span_Event::class); - diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Span/Link.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Span/Link.php deleted file mode 100644 index 3096739de..000000000 --- a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Span/Link.php +++ /dev/null @@ -1,225 +0,0 @@ -opentelemetry.proto.trace.v1.Span.Link - */ -class Link extends \Google\Protobuf\Internal\Message -{ - /** - * A unique identifier of a trace that this linked span is part of. The ID is a - * 16-byte array. - * - * Generated from protobuf field bytes trace_id = 1; - */ - protected $trace_id = ''; - /** - * A unique identifier for the linked span. The ID is an 8-byte array. - * - * Generated from protobuf field bytes span_id = 2; - */ - protected $span_id = ''; - /** - * The trace_state associated with the link. - * - * Generated from protobuf field string trace_state = 3; - */ - protected $trace_state = ''; - /** - * attributes is a collection of attribute key/value pairs on the link. - * Attribute keys MUST be unique (it is not allowed to have more than one - * attribute with the same key). - * - * Generated from protobuf field repeated .opentelemetry.proto.common.v1.KeyValue attributes = 4; - */ - private $attributes; - /** - * dropped_attributes_count is the number of dropped attributes. If the value is 0, - * then no attributes were dropped. - * - * Generated from protobuf field uint32 dropped_attributes_count = 5; - */ - protected $dropped_attributes_count = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $trace_id - * A unique identifier of a trace that this linked span is part of. The ID is a - * 16-byte array. - * @type string $span_id - * A unique identifier for the linked span. The ID is an 8-byte array. - * @type string $trace_state - * The trace_state associated with the link. - * @type \Opentelemetry\Proto\Common\V1\KeyValue[]|\Google\Protobuf\Internal\RepeatedField $attributes - * attributes is a collection of attribute key/value pairs on the link. - * Attribute keys MUST be unique (it is not allowed to have more than one - * attribute with the same key). - * @type int $dropped_attributes_count - * dropped_attributes_count is the number of dropped attributes. If the value is 0, - * then no attributes were dropped. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Opentelemetry\Proto\Trace\V1\Trace::initOnce(); - parent::__construct($data); - } - - /** - * A unique identifier of a trace that this linked span is part of. The ID is a - * 16-byte array. - * - * Generated from protobuf field bytes trace_id = 1; - * @return string - */ - public function getTraceId() - { - return $this->trace_id; - } - - /** - * A unique identifier of a trace that this linked span is part of. The ID is a - * 16-byte array. - * - * Generated from protobuf field bytes trace_id = 1; - * @param string $var - * @return $this - */ - public function setTraceId($var) - { - GPBUtil::checkString($var, False); - $this->trace_id = $var; - - return $this; - } - - /** - * A unique identifier for the linked span. The ID is an 8-byte array. - * - * Generated from protobuf field bytes span_id = 2; - * @return string - */ - public function getSpanId() - { - return $this->span_id; - } - - /** - * A unique identifier for the linked span. The ID is an 8-byte array. - * - * Generated from protobuf field bytes span_id = 2; - * @param string $var - * @return $this - */ - public function setSpanId($var) - { - GPBUtil::checkString($var, False); - $this->span_id = $var; - - return $this; - } - - /** - * The trace_state associated with the link. - * - * Generated from protobuf field string trace_state = 3; - * @return string - */ - public function getTraceState() - { - return $this->trace_state; - } - - /** - * The trace_state associated with the link. - * - * Generated from protobuf field string trace_state = 3; - * @param string $var - * @return $this - */ - public function setTraceState($var) - { - GPBUtil::checkString($var, True); - $this->trace_state = $var; - - return $this; - } - - /** - * attributes is a collection of attribute key/value pairs on the link. - * Attribute keys MUST be unique (it is not allowed to have more than one - * attribute with the same key). - * - * Generated from protobuf field repeated .opentelemetry.proto.common.v1.KeyValue attributes = 4; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getAttributes() - { - return $this->attributes; - } - - /** - * attributes is a collection of attribute key/value pairs on the link. - * Attribute keys MUST be unique (it is not allowed to have more than one - * attribute with the same key). - * - * Generated from protobuf field repeated .opentelemetry.proto.common.v1.KeyValue attributes = 4; - * @param \Opentelemetry\Proto\Common\V1\KeyValue[]|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setAttributes($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Opentelemetry\Proto\Common\V1\KeyValue::class); - $this->attributes = $arr; - - return $this; - } - - /** - * dropped_attributes_count is the number of dropped attributes. If the value is 0, - * then no attributes were dropped. - * - * Generated from protobuf field uint32 dropped_attributes_count = 5; - * @return int - */ - public function getDroppedAttributesCount() - { - return $this->dropped_attributes_count; - } - - /** - * dropped_attributes_count is the number of dropped attributes. If the value is 0, - * then no attributes were dropped. - * - * Generated from protobuf field uint32 dropped_attributes_count = 5; - * @param int $var - * @return $this - */ - public function setDroppedAttributesCount($var) - { - GPBUtil::checkUint32($var); - $this->dropped_attributes_count = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Link::class, \Opentelemetry\Proto\Trace\V1\Span_Link::class); - diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Span/SpanKind.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Span/SpanKind.php deleted file mode 100644 index 9ffa93719..000000000 --- a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Span/SpanKind.php +++ /dev/null @@ -1,94 +0,0 @@ -opentelemetry.proto.trace.v1.Span.SpanKind - */ -class SpanKind -{ - /** - * Unspecified. Do NOT use as default. - * Implementations MAY assume SpanKind to be INTERNAL when receiving UNSPECIFIED. - * - * Generated from protobuf enum SPAN_KIND_UNSPECIFIED = 0; - */ - const SPAN_KIND_UNSPECIFIED = 0; - /** - * Indicates that the span represents an internal operation within an application, - * as opposed to an operation happening at the boundaries. Default value. - * - * Generated from protobuf enum SPAN_KIND_INTERNAL = 1; - */ - const SPAN_KIND_INTERNAL = 1; - /** - * Indicates that the span covers server-side handling of an RPC or other - * remote network request. - * - * Generated from protobuf enum SPAN_KIND_SERVER = 2; - */ - const SPAN_KIND_SERVER = 2; - /** - * Indicates that the span describes a request to some remote service. - * - * Generated from protobuf enum SPAN_KIND_CLIENT = 3; - */ - const SPAN_KIND_CLIENT = 3; - /** - * Indicates that the span describes a producer sending a message to a broker. - * Unlike CLIENT and SERVER, there is often no direct critical path latency relationship - * between producer and consumer spans. A PRODUCER span ends when the message was accepted - * by the broker while the logical processing of the message might span a much longer time. - * - * Generated from protobuf enum SPAN_KIND_PRODUCER = 4; - */ - const SPAN_KIND_PRODUCER = 4; - /** - * Indicates that the span describes consumer receiving a message from a broker. - * Like the PRODUCER kind, there is often no direct critical path latency relationship - * between producer and consumer spans. - * - * Generated from protobuf enum SPAN_KIND_CONSUMER = 5; - */ - const SPAN_KIND_CONSUMER = 5; - - private static $valueToName = [ - self::SPAN_KIND_UNSPECIFIED => 'SPAN_KIND_UNSPECIFIED', - self::SPAN_KIND_INTERNAL => 'SPAN_KIND_INTERNAL', - self::SPAN_KIND_SERVER => 'SPAN_KIND_SERVER', - self::SPAN_KIND_CLIENT => 'SPAN_KIND_CLIENT', - self::SPAN_KIND_PRODUCER => 'SPAN_KIND_PRODUCER', - self::SPAN_KIND_CONSUMER => 'SPAN_KIND_CONSUMER', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(SpanKind::class, \Opentelemetry\Proto\Trace\V1\Span_SpanKind::class); - diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Span_Event.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Span_Event.php deleted file mode 100644 index 168b7b129..000000000 --- a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Span_Event.php +++ /dev/null @@ -1,16 +0,0 @@ -opentelemetry.proto.trace.v1.Status - */ -class Status extends \Google\Protobuf\Internal\Message -{ - /** - * A developer-facing human readable error message. - * - * Generated from protobuf field string message = 2; - */ - protected $message = ''; - /** - * The status code. - * - * Generated from protobuf field .opentelemetry.proto.trace.v1.Status.StatusCode code = 3; - */ - protected $code = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $message - * A developer-facing human readable error message. - * @type int $code - * The status code. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Opentelemetry\Proto\Trace\V1\Trace::initOnce(); - parent::__construct($data); - } - - /** - * A developer-facing human readable error message. - * - * Generated from protobuf field string message = 2; - * @return string - */ - public function getMessage() - { - return $this->message; - } - - /** - * A developer-facing human readable error message. - * - * Generated from protobuf field string message = 2; - * @param string $var - * @return $this - */ - public function setMessage($var) - { - GPBUtil::checkString($var, True); - $this->message = $var; - - return $this; - } - - /** - * The status code. - * - * Generated from protobuf field .opentelemetry.proto.trace.v1.Status.StatusCode code = 3; - * @return int - */ - public function getCode() - { - return $this->code; - } - - /** - * The status code. - * - * Generated from protobuf field .opentelemetry.proto.trace.v1.Status.StatusCode code = 3; - * @param int $var - * @return $this - */ - public function setCode($var) - { - GPBUtil::checkEnum($var, \Opentelemetry\Proto\Trace\V1\Status\StatusCode::class); - $this->code = $var; - - return $this; - } - -} - diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Status/DeprecatedStatusCode.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Status/DeprecatedStatusCode.php deleted file mode 100644 index 9a078e2ef..000000000 --- a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Status/DeprecatedStatusCode.php +++ /dev/null @@ -1,126 +0,0 @@ -opentelemetry.proto.trace.v1.Status.DeprecatedStatusCode - */ -class DeprecatedStatusCode -{ - /** - * Generated from protobuf enum DEPRECATED_STATUS_CODE_OK = 0; - */ - const DEPRECATED_STATUS_CODE_OK = 0; - /** - * Generated from protobuf enum DEPRECATED_STATUS_CODE_CANCELLED = 1; - */ - const DEPRECATED_STATUS_CODE_CANCELLED = 1; - /** - * Generated from protobuf enum DEPRECATED_STATUS_CODE_UNKNOWN_ERROR = 2; - */ - const DEPRECATED_STATUS_CODE_UNKNOWN_ERROR = 2; - /** - * Generated from protobuf enum DEPRECATED_STATUS_CODE_INVALID_ARGUMENT = 3; - */ - const DEPRECATED_STATUS_CODE_INVALID_ARGUMENT = 3; - /** - * Generated from protobuf enum DEPRECATED_STATUS_CODE_DEADLINE_EXCEEDED = 4; - */ - const DEPRECATED_STATUS_CODE_DEADLINE_EXCEEDED = 4; - /** - * Generated from protobuf enum DEPRECATED_STATUS_CODE_NOT_FOUND = 5; - */ - const DEPRECATED_STATUS_CODE_NOT_FOUND = 5; - /** - * Generated from protobuf enum DEPRECATED_STATUS_CODE_ALREADY_EXISTS = 6; - */ - const DEPRECATED_STATUS_CODE_ALREADY_EXISTS = 6; - /** - * Generated from protobuf enum DEPRECATED_STATUS_CODE_PERMISSION_DENIED = 7; - */ - const DEPRECATED_STATUS_CODE_PERMISSION_DENIED = 7; - /** - * Generated from protobuf enum DEPRECATED_STATUS_CODE_RESOURCE_EXHAUSTED = 8; - */ - const DEPRECATED_STATUS_CODE_RESOURCE_EXHAUSTED = 8; - /** - * Generated from protobuf enum DEPRECATED_STATUS_CODE_FAILED_PRECONDITION = 9; - */ - const DEPRECATED_STATUS_CODE_FAILED_PRECONDITION = 9; - /** - * Generated from protobuf enum DEPRECATED_STATUS_CODE_ABORTED = 10; - */ - const DEPRECATED_STATUS_CODE_ABORTED = 10; - /** - * Generated from protobuf enum DEPRECATED_STATUS_CODE_OUT_OF_RANGE = 11; - */ - const DEPRECATED_STATUS_CODE_OUT_OF_RANGE = 11; - /** - * Generated from protobuf enum DEPRECATED_STATUS_CODE_UNIMPLEMENTED = 12; - */ - const DEPRECATED_STATUS_CODE_UNIMPLEMENTED = 12; - /** - * Generated from protobuf enum DEPRECATED_STATUS_CODE_INTERNAL_ERROR = 13; - */ - const DEPRECATED_STATUS_CODE_INTERNAL_ERROR = 13; - /** - * Generated from protobuf enum DEPRECATED_STATUS_CODE_UNAVAILABLE = 14; - */ - const DEPRECATED_STATUS_CODE_UNAVAILABLE = 14; - /** - * Generated from protobuf enum DEPRECATED_STATUS_CODE_DATA_LOSS = 15; - */ - const DEPRECATED_STATUS_CODE_DATA_LOSS = 15; - /** - * Generated from protobuf enum DEPRECATED_STATUS_CODE_UNAUTHENTICATED = 16; - */ - const DEPRECATED_STATUS_CODE_UNAUTHENTICATED = 16; - - private static $valueToName = [ - self::DEPRECATED_STATUS_CODE_OK => 'DEPRECATED_STATUS_CODE_OK', - self::DEPRECATED_STATUS_CODE_CANCELLED => 'DEPRECATED_STATUS_CODE_CANCELLED', - self::DEPRECATED_STATUS_CODE_UNKNOWN_ERROR => 'DEPRECATED_STATUS_CODE_UNKNOWN_ERROR', - self::DEPRECATED_STATUS_CODE_INVALID_ARGUMENT => 'DEPRECATED_STATUS_CODE_INVALID_ARGUMENT', - self::DEPRECATED_STATUS_CODE_DEADLINE_EXCEEDED => 'DEPRECATED_STATUS_CODE_DEADLINE_EXCEEDED', - self::DEPRECATED_STATUS_CODE_NOT_FOUND => 'DEPRECATED_STATUS_CODE_NOT_FOUND', - self::DEPRECATED_STATUS_CODE_ALREADY_EXISTS => 'DEPRECATED_STATUS_CODE_ALREADY_EXISTS', - self::DEPRECATED_STATUS_CODE_PERMISSION_DENIED => 'DEPRECATED_STATUS_CODE_PERMISSION_DENIED', - self::DEPRECATED_STATUS_CODE_RESOURCE_EXHAUSTED => 'DEPRECATED_STATUS_CODE_RESOURCE_EXHAUSTED', - self::DEPRECATED_STATUS_CODE_FAILED_PRECONDITION => 'DEPRECATED_STATUS_CODE_FAILED_PRECONDITION', - self::DEPRECATED_STATUS_CODE_ABORTED => 'DEPRECATED_STATUS_CODE_ABORTED', - self::DEPRECATED_STATUS_CODE_OUT_OF_RANGE => 'DEPRECATED_STATUS_CODE_OUT_OF_RANGE', - self::DEPRECATED_STATUS_CODE_UNIMPLEMENTED => 'DEPRECATED_STATUS_CODE_UNIMPLEMENTED', - self::DEPRECATED_STATUS_CODE_INTERNAL_ERROR => 'DEPRECATED_STATUS_CODE_INTERNAL_ERROR', - self::DEPRECATED_STATUS_CODE_UNAVAILABLE => 'DEPRECATED_STATUS_CODE_UNAVAILABLE', - self::DEPRECATED_STATUS_CODE_DATA_LOSS => 'DEPRECATED_STATUS_CODE_DATA_LOSS', - self::DEPRECATED_STATUS_CODE_UNAUTHENTICATED => 'DEPRECATED_STATUS_CODE_UNAUTHENTICATED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(DeprecatedStatusCode::class, \Opentelemetry\Proto\Trace\V1\Status_DeprecatedStatusCode::class); - diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Status/StatusCode.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Status/StatusCode.php deleted file mode 100644 index 954cf1fd2..000000000 --- a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Status/StatusCode.php +++ /dev/null @@ -1,66 +0,0 @@ -opentelemetry.proto.trace.v1.Status.StatusCode - */ -class StatusCode -{ - /** - * The default status. - * - * Generated from protobuf enum STATUS_CODE_UNSET = 0; - */ - const STATUS_CODE_UNSET = 0; - /** - * The Span has been validated by an Application developer or Operator to - * have completed successfully. - * - * Generated from protobuf enum STATUS_CODE_OK = 1; - */ - const STATUS_CODE_OK = 1; - /** - * The Span contains an error. - * - * Generated from protobuf enum STATUS_CODE_ERROR = 2; - */ - const STATUS_CODE_ERROR = 2; - - private static $valueToName = [ - self::STATUS_CODE_UNSET => 'STATUS_CODE_UNSET', - self::STATUS_CODE_OK => 'STATUS_CODE_OK', - self::STATUS_CODE_ERROR => 'STATUS_CODE_ERROR', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(StatusCode::class, \Opentelemetry\Proto\Trace\V1\Status_StatusCode::class); - diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Status_DeprecatedStatusCode.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Status_DeprecatedStatusCode.php deleted file mode 100644 index 2235d5b7d..000000000 --- a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Status_DeprecatedStatusCode.php +++ /dev/null @@ -1,16 +0,0 @@ -opentelemetry.proto.trace.v1.TraceConfig - */ -class TraceConfig extends \Google\Protobuf\Internal\Message -{ - /** - * The global default max number of attributes per span. - * - * Generated from protobuf field int64 max_number_of_attributes = 4; - */ - protected $max_number_of_attributes = 0; - /** - * The global default max number of annotation events per span. - * - * Generated from protobuf field int64 max_number_of_timed_events = 5; - */ - protected $max_number_of_timed_events = 0; - /** - * The global default max number of attributes per timed event. - * - * Generated from protobuf field int64 max_number_of_attributes_per_timed_event = 6; - */ - protected $max_number_of_attributes_per_timed_event = 0; - /** - * The global default max number of link entries per span. - * - * Generated from protobuf field int64 max_number_of_links = 7; - */ - protected $max_number_of_links = 0; - /** - * The global default max number of attributes per span. - * - * Generated from protobuf field int64 max_number_of_attributes_per_link = 8; - */ - protected $max_number_of_attributes_per_link = 0; - protected $sampler; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Opentelemetry\Proto\Trace\V1\ConstantSampler $constant_sampler - * @type \Opentelemetry\Proto\Trace\V1\TraceIdRatioBased $trace_id_ratio_based - * @type \Opentelemetry\Proto\Trace\V1\RateLimitingSampler $rate_limiting_sampler - * @type int|string $max_number_of_attributes - * The global default max number of attributes per span. - * @type int|string $max_number_of_timed_events - * The global default max number of annotation events per span. - * @type int|string $max_number_of_attributes_per_timed_event - * The global default max number of attributes per timed event. - * @type int|string $max_number_of_links - * The global default max number of link entries per span. - * @type int|string $max_number_of_attributes_per_link - * The global default max number of attributes per span. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Opentelemetry\Proto\Trace\V1\TraceConfig::initOnce(); - parent::__construct($data); - } - - /** - * Generated from protobuf field .opentelemetry.proto.trace.v1.ConstantSampler constant_sampler = 1; - * @return \Opentelemetry\Proto\Trace\V1\ConstantSampler|null - */ - public function getConstantSampler() - { - return $this->readOneof(1); - } - - public function hasConstantSampler() - { - return $this->hasOneof(1); - } - - /** - * Generated from protobuf field .opentelemetry.proto.trace.v1.ConstantSampler constant_sampler = 1; - * @param \Opentelemetry\Proto\Trace\V1\ConstantSampler $var - * @return $this - */ - public function setConstantSampler($var) - { - GPBUtil::checkMessage($var, \Opentelemetry\Proto\Trace\V1\ConstantSampler::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * Generated from protobuf field .opentelemetry.proto.trace.v1.TraceIdRatioBased trace_id_ratio_based = 2; - * @return \Opentelemetry\Proto\Trace\V1\TraceIdRatioBased|null - */ - public function getTraceIdRatioBased() - { - return $this->readOneof(2); - } - - public function hasTraceIdRatioBased() - { - return $this->hasOneof(2); - } - - /** - * Generated from protobuf field .opentelemetry.proto.trace.v1.TraceIdRatioBased trace_id_ratio_based = 2; - * @param \Opentelemetry\Proto\Trace\V1\TraceIdRatioBased $var - * @return $this - */ - public function setTraceIdRatioBased($var) - { - GPBUtil::checkMessage($var, \Opentelemetry\Proto\Trace\V1\TraceIdRatioBased::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * Generated from protobuf field .opentelemetry.proto.trace.v1.RateLimitingSampler rate_limiting_sampler = 3; - * @return \Opentelemetry\Proto\Trace\V1\RateLimitingSampler|null - */ - public function getRateLimitingSampler() - { - return $this->readOneof(3); - } - - public function hasRateLimitingSampler() - { - return $this->hasOneof(3); - } - - /** - * Generated from protobuf field .opentelemetry.proto.trace.v1.RateLimitingSampler rate_limiting_sampler = 3; - * @param \Opentelemetry\Proto\Trace\V1\RateLimitingSampler $var - * @return $this - */ - public function setRateLimitingSampler($var) - { - GPBUtil::checkMessage($var, \Opentelemetry\Proto\Trace\V1\RateLimitingSampler::class); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * The global default max number of attributes per span. - * - * Generated from protobuf field int64 max_number_of_attributes = 4; - * @return int|string - */ - public function getMaxNumberOfAttributes() - { - return $this->max_number_of_attributes; - } - - /** - * The global default max number of attributes per span. - * - * Generated from protobuf field int64 max_number_of_attributes = 4; - * @param int|string $var - * @return $this - */ - public function setMaxNumberOfAttributes($var) - { - GPBUtil::checkInt64($var); - $this->max_number_of_attributes = $var; - - return $this; - } - - /** - * The global default max number of annotation events per span. - * - * Generated from protobuf field int64 max_number_of_timed_events = 5; - * @return int|string - */ - public function getMaxNumberOfTimedEvents() - { - return $this->max_number_of_timed_events; - } - - /** - * The global default max number of annotation events per span. - * - * Generated from protobuf field int64 max_number_of_timed_events = 5; - * @param int|string $var - * @return $this - */ - public function setMaxNumberOfTimedEvents($var) - { - GPBUtil::checkInt64($var); - $this->max_number_of_timed_events = $var; - - return $this; - } - - /** - * The global default max number of attributes per timed event. - * - * Generated from protobuf field int64 max_number_of_attributes_per_timed_event = 6; - * @return int|string - */ - public function getMaxNumberOfAttributesPerTimedEvent() - { - return $this->max_number_of_attributes_per_timed_event; - } - - /** - * The global default max number of attributes per timed event. - * - * Generated from protobuf field int64 max_number_of_attributes_per_timed_event = 6; - * @param int|string $var - * @return $this - */ - public function setMaxNumberOfAttributesPerTimedEvent($var) - { - GPBUtil::checkInt64($var); - $this->max_number_of_attributes_per_timed_event = $var; - - return $this; - } - - /** - * The global default max number of link entries per span. - * - * Generated from protobuf field int64 max_number_of_links = 7; - * @return int|string - */ - public function getMaxNumberOfLinks() - { - return $this->max_number_of_links; - } - - /** - * The global default max number of link entries per span. - * - * Generated from protobuf field int64 max_number_of_links = 7; - * @param int|string $var - * @return $this - */ - public function setMaxNumberOfLinks($var) - { - GPBUtil::checkInt64($var); - $this->max_number_of_links = $var; - - return $this; - } - - /** - * The global default max number of attributes per span. - * - * Generated from protobuf field int64 max_number_of_attributes_per_link = 8; - * @return int|string - */ - public function getMaxNumberOfAttributesPerLink() - { - return $this->max_number_of_attributes_per_link; - } - - /** - * The global default max number of attributes per span. - * - * Generated from protobuf field int64 max_number_of_attributes_per_link = 8; - * @param int|string $var - * @return $this - */ - public function setMaxNumberOfAttributesPerLink($var) - { - GPBUtil::checkInt64($var); - $this->max_number_of_attributes_per_link = $var; - - return $this; - } - - /** - * @return string - */ - public function getSampler() - { - return $this->whichOneof("sampler"); - } - -} - diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/TraceIdRatioBased.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/TraceIdRatioBased.php deleted file mode 100644 index a04435c36..000000000 --- a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/TraceIdRatioBased.php +++ /dev/null @@ -1,68 +0,0 @@ -opentelemetry.proto.trace.v1.TraceIdRatioBased - */ -class TraceIdRatioBased extends \Google\Protobuf\Internal\Message -{ - /** - * The desired ratio of sampling. Must be within [0.0, 1.0]. - * - * Generated from protobuf field double samplingRatio = 1; - */ - protected $samplingRatio = 0.0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type float $samplingRatio - * The desired ratio of sampling. Must be within [0.0, 1.0]. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Opentelemetry\Proto\Trace\V1\TraceConfig::initOnce(); - parent::__construct($data); - } - - /** - * The desired ratio of sampling. Must be within [0.0, 1.0]. - * - * Generated from protobuf field double samplingRatio = 1; - * @return float - */ - public function getSamplingRatio() - { - return $this->samplingRatio; - } - - /** - * The desired ratio of sampling. Must be within [0.0, 1.0]. - * - * Generated from protobuf field double samplingRatio = 1; - * @param float $var - * @return $this - */ - public function setSamplingRatio($var) - { - GPBUtil::checkDouble($var); - $this->samplingRatio = $var; - - return $this; - } - -} - diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/TracesData.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/TracesData.php deleted file mode 100644 index cbaf79448..000000000 --- a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/TracesData.php +++ /dev/null @@ -1,90 +0,0 @@ -opentelemetry.proto.trace.v1.TracesData - */ -class TracesData extends \Google\Protobuf\Internal\Message -{ - /** - * An array of ResourceSpans. - * For data coming from a single resource this array will typically contain - * one element. Intermediary nodes that receive data from multiple origins - * typically batch the data before forwarding further and in that case this - * array will contain multiple elements. - * - * Generated from protobuf field repeated .opentelemetry.proto.trace.v1.ResourceSpans resource_spans = 1; - */ - private $resource_spans; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Opentelemetry\Proto\Trace\V1\ResourceSpans[]|\Google\Protobuf\Internal\RepeatedField $resource_spans - * An array of ResourceSpans. - * For data coming from a single resource this array will typically contain - * one element. Intermediary nodes that receive data from multiple origins - * typically batch the data before forwarding further and in that case this - * array will contain multiple elements. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Opentelemetry\Proto\Trace\V1\Trace::initOnce(); - parent::__construct($data); - } - - /** - * An array of ResourceSpans. - * For data coming from a single resource this array will typically contain - * one element. Intermediary nodes that receive data from multiple origins - * typically batch the data before forwarding further and in that case this - * array will contain multiple elements. - * - * Generated from protobuf field repeated .opentelemetry.proto.trace.v1.ResourceSpans resource_spans = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getResourceSpans() - { - return $this->resource_spans; - } - - /** - * An array of ResourceSpans. - * For data coming from a single resource this array will typically contain - * one element. Intermediary nodes that receive data from multiple origins - * typically batch the data before forwarding further and in that case this - * array will contain multiple elements. - * - * Generated from protobuf field repeated .opentelemetry.proto.trace.v1.ResourceSpans resource_spans = 1; - * @param \Opentelemetry\Proto\Trace\V1\ResourceSpans[]|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setResourceSpans($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Opentelemetry\Proto\Trace\V1\ResourceSpans::class); - $this->resource_spans = $arr; - - return $this; - } - -} - diff --git a/vendor/open-telemetry/gen-otlp-protobuf/README.md b/vendor/open-telemetry/gen-otlp-protobuf/README.md deleted file mode 100644 index f1ea7a63a..000000000 --- a/vendor/open-telemetry/gen-otlp-protobuf/README.md +++ /dev/null @@ -1,31 +0,0 @@ -[![Releases](https://img.shields.io/badge/releases-purple)](https://github.com/opentelemetry-php/gen-otlp-protobuf/releases) -[![Source](https://img.shields.io/badge/source-gen--otlp--protobuf-green)](https://github.com/open-telemetry/opentelemetry-php/tree/main/proto/otel) -[![Mirror](https://img.shields.io/badge/mirror-opentelemetry--php:gen--otlp--protobuf-blue)](https://github.com/opentelemetry-php/gen-otlp-protobuf) -[![Latest Version](http://poser.pugx.org/open-telemetry/gen-otlp-protobuf/v/unstable)](https://packagist.org/packages/open-telemetry/gen-otlp-protobuf/) -[![Stable](http://poser.pugx.org/open-telemetry/gen-otlp-protobuf/v/stable)](https://packagist.org/packages/open-telemetry/gen-otlp-protobuf/) - -# OpenTelemetry protobuf files - -## Protobuf Runtime library - -OTLP exporting requires a [protobuf runtime library](https://github.com/protocolbuffers/protobuf/tree/main/php). - -There exist two protobuf runtime libraries that offer the same set of APIs, allowing developers to choose the one that -best suits their needs. - -This package requires `google/protobuf`, which is the native implementation. It is easy to install and a good way to get -started quickly. - -Alternatively, and the recommended option for production is to install the Protobuf C extension for PHP. The extension -makes OTLP exporting _significantly_ more performant. The extension can be installed with the following command: - -```shell -pecl install protobuf -``` - -The extension can be installed alongside the native library, and it will be used instead if available. - -## Contributing - -This repository is a read-only git subtree split. -To contribute, please see the main [OpenTelemetry PHP monorepo](https://github.com/open-telemetry/opentelemetry-php). diff --git a/vendor/open-telemetry/gen-otlp-protobuf/VERSION b/vendor/open-telemetry/gen-otlp-protobuf/VERSION deleted file mode 100644 index 0ec25f750..000000000 --- a/vendor/open-telemetry/gen-otlp-protobuf/VERSION +++ /dev/null @@ -1 +0,0 @@ -v1.0.0 diff --git a/vendor/open-telemetry/gen-otlp-protobuf/composer.json b/vendor/open-telemetry/gen-otlp-protobuf/composer.json deleted file mode 100644 index dc8d24585..000000000 --- a/vendor/open-telemetry/gen-otlp-protobuf/composer.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "name": "open-telemetry/gen-otlp-protobuf", - "description": "PHP protobuf files for communication with OpenTelemetry OTLP collectors/servers.", - "keywords": ["opentelemetry", "otel", "metrics", "tracing", "logging", "apm", "gRPC", "protobuf", "otlp"], - "type": "library", - "support": { - "issues": "https://github.com/open-telemetry/opentelemetry-php/issues", - "source": "https://github.com/open-telemetry/opentelemetry-php", - "docs": "https://opentelemetry.io/docs/php", - "chat": "https://app.slack.com/client/T08PSQ7BQ/C01NFPCV44V" - }, - "license": "Apache-2.0", - "authors": [ - { - "name": "opentelemetry-php contributors", - "homepage": "https://github.com/open-telemetry/opentelemetry-php/graphs/contributors" - } - ], - "require": { - "php": "^7.4 || ^8.0", - "google/protobuf": "^3.3.0" - }, - "autoload": { - "psr-4": { - "Opentelemetry\\Proto\\": "Opentelemetry/Proto/", - "GPBMetadata\\Opentelemetry\\": "GPBMetadata/Opentelemetry/" - } - }, - "suggest": { - "ext-protobuf": "For better performance, when dealing with the protobuf format" - }, - "extra": { - "branch-alias": { - "dev-main": "1.x-dev" - } - } -} diff --git a/vendor/open-telemetry/sdk/Common/Adapter/HttpDiscovery/DependencyResolver.php b/vendor/open-telemetry/sdk/Common/Adapter/HttpDiscovery/DependencyResolver.php deleted file mode 100644 index 8ba992f9a..000000000 --- a/vendor/open-telemetry/sdk/Common/Adapter/HttpDiscovery/DependencyResolver.php +++ /dev/null @@ -1,83 +0,0 @@ -messageFactoryResolver = $messageFactoryResolver ?? MessageFactoryResolver::create(); - $this->psrClientResolver = $psrClientResolver ?? PsrClientResolver::create(); - $this->httpPlugClientResolver = $httpPlugClientResolver ?? HttpPlugClientResolver::create(); - } - - public static function create( - ?MessageFactoryResolverInterface $messageFactoryResolver = null, - ?PsrClientResolverInterface $psrClientResolver = null, - ?HttpPlugClientResolverInterface $httpPlugClientResolver = null - ): self { - return new self($messageFactoryResolver, $psrClientResolver, $httpPlugClientResolver); - } - - public function resolveRequestFactory(): RequestFactoryInterface - { - return $this->messageFactoryResolver->resolveRequestFactory(); - } - - public function resolveResponseFactory(): ResponseFactoryInterface - { - return $this->messageFactoryResolver->resolveResponseFactory(); - } - - public function resolveServerRequestFactory(): ServerRequestFactoryInterface - { - return $this->messageFactoryResolver->resolveServerRequestFactory(); - } - - public function resolveStreamFactory(): StreamFactoryInterface - { - return $this->messageFactoryResolver->resolveStreamFactory(); - } - - public function resolveUploadedFileFactory(): UploadedFileFactoryInterface - { - return $this->messageFactoryResolver->resolveUploadedFileFactory(); - } - - public function resolveUriFactory(): UriFactoryInterface - { - return $this->messageFactoryResolver->resolveUriFactory(); - } - - public function resolveHttpPlugAsyncClient(): HttpAsyncClient - { - return $this->httpPlugClientResolver->resolveHttpPlugAsyncClient(); - } - - public function resolvePsrClient(): ClientInterface - { - return $this->psrClientResolver->resolvePsrClient(); - } -} diff --git a/vendor/open-telemetry/sdk/Common/Adapter/HttpDiscovery/HttpPlugClientResolver.php b/vendor/open-telemetry/sdk/Common/Adapter/HttpDiscovery/HttpPlugClientResolver.php deleted file mode 100644 index 9751984ee..000000000 --- a/vendor/open-telemetry/sdk/Common/Adapter/HttpDiscovery/HttpPlugClientResolver.php +++ /dev/null @@ -1,29 +0,0 @@ -httpAsyncClient = $httpAsyncClient; - } - - public static function create(?HttpAsyncClient $httpAsyncClient = null): self - { - return new self($httpAsyncClient); - } - - public function resolveHttpPlugAsyncClient(): HttpAsyncClient - { - return $this->httpAsyncClient ??= HttpAsyncClientDiscovery::find(); - } -} diff --git a/vendor/open-telemetry/sdk/Common/Adapter/HttpDiscovery/MessageFactoryResolver.php b/vendor/open-telemetry/sdk/Common/Adapter/HttpDiscovery/MessageFactoryResolver.php deleted file mode 100644 index 6ed0895ff..000000000 --- a/vendor/open-telemetry/sdk/Common/Adapter/HttpDiscovery/MessageFactoryResolver.php +++ /dev/null @@ -1,88 +0,0 @@ -requestFactory = $requestFactory; - $this->responseFactory = $responseFactory; - $this->serverRequestFactory = $serverRequestFactory; - $this->streamFactory = $streamFactory; - $this->uploadedFileFactory = $uploadedFileFactory; - $this->uriFactory = $uriFactory; - } - - public static function create( - ?RequestFactoryInterface $requestFactory = null, - ?ResponseFactoryInterface $responseFactory = null, - ?ServerRequestFactoryInterface $serverRequestFactory = null, - ?StreamFactoryInterface $streamFactory = null, - ?UploadedFileFactoryInterface $uploadedFileFactory = null, - ?UriFactoryInterface $uriFactory = null - ): self { - return new self( - $requestFactory, - $responseFactory, - $serverRequestFactory, - $streamFactory, - $uploadedFileFactory, - $uriFactory - ); - } - - public function resolveRequestFactory(): RequestFactoryInterface - { - return $this->requestFactory ??= Psr17FactoryDiscovery::findRequestFactory(); - } - - public function resolveResponseFactory(): ResponseFactoryInterface - { - return $this->responseFactory ??= Psr17FactoryDiscovery::findResponseFactory(); - } - - public function resolveServerRequestFactory(): ServerRequestFactoryInterface - { - return $this->serverRequestFactory ??= Psr17FactoryDiscovery::findServerRequestFactory(); - } - - public function resolveStreamFactory(): StreamFactoryInterface - { - return $this->streamFactory ??= Psr17FactoryDiscovery::findStreamFactory(); - } - - public function resolveUploadedFileFactory(): UploadedFileFactoryInterface - { - return $this->uploadedFileFactory ??= Psr17FactoryDiscovery::findUploadedFileFactory(); - } - - public function resolveUriFactory(): UriFactoryInterface - { - return $this->uriFactory ??= Psr17FactoryDiscovery::findUriFactory(); - } -} diff --git a/vendor/open-telemetry/sdk/Common/Adapter/HttpDiscovery/PsrClientResolver.php b/vendor/open-telemetry/sdk/Common/Adapter/HttpDiscovery/PsrClientResolver.php deleted file mode 100644 index 46fb36312..000000000 --- a/vendor/open-telemetry/sdk/Common/Adapter/HttpDiscovery/PsrClientResolver.php +++ /dev/null @@ -1,29 +0,0 @@ -client = $client; - } - - public static function create(?ClientInterface $client = null): self - { - return new self($client); - } - - public function resolvePsrClient(): ClientInterface - { - return $this->client ??= Psr18ClientDiscovery::find(); - } -} diff --git a/vendor/open-telemetry/sdk/Common/Attribute/AttributeValidator.php b/vendor/open-telemetry/sdk/Common/Attribute/AttributeValidator.php deleted file mode 100644 index e9a1f7334..000000000 --- a/vendor/open-telemetry/sdk/Common/Attribute/AttributeValidator.php +++ /dev/null @@ -1,58 +0,0 @@ -validateArray($value); - } - - return in_array(gettype($value), self::PRIMITIVES); - } - - private function validateArray(array $value): bool - { - if ($value === []) { - return true; - } - $type = gettype(reset($value)); - if (!in_array($type, self::PRIMITIVES)) { - return false; - } - foreach ($value as $v) { - if (in_array(gettype($v), self::NUMERICS) && in_array($type, self::NUMERICS)) { - continue; - } - if (gettype($v) !== $type) { - return false; - } - } - - return true; - } - - public function getInvalidMessage(): string - { - return 'attribute with non-primitive or non-homogeneous array of primitives dropped'; - } -} diff --git a/vendor/open-telemetry/sdk/Common/Attribute/AttributeValidatorInterface.php b/vendor/open-telemetry/sdk/Common/Attribute/AttributeValidatorInterface.php deleted file mode 100644 index afbfba6e7..000000000 --- a/vendor/open-telemetry/sdk/Common/Attribute/AttributeValidatorInterface.php +++ /dev/null @@ -1,11 +0,0 @@ -attributes = $attributes; - $this->droppedAttributesCount = $droppedAttributesCount; - } - - public static function create(iterable $attributes): AttributesInterface - { - return self::factory()->builder($attributes)->build(); - } - - public static function factory(?int $attributeCountLimit = null, ?int $attributeValueLengthLimit = null): AttributesFactoryInterface - { - return new AttributesFactory($attributeCountLimit, $attributeValueLengthLimit); - } - - public function has(string $name): bool - { - return array_key_exists($name, $this->attributes); - } - - public function get(string $name) - { - return $this->attributes[$name] ?? null; - } - - /** @psalm-mutation-free */ - public function count(): int - { - return \count($this->attributes); - } - - public function getIterator(): Traversable - { - foreach ($this->attributes as $key => $value) { - yield (string) $key => $value; - } - } - - public function toArray(): array - { - return $this->attributes; - } - - public function getDroppedAttributesCount(): int - { - return $this->droppedAttributesCount; - } -} diff --git a/vendor/open-telemetry/sdk/Common/Attribute/AttributesBuilder.php b/vendor/open-telemetry/sdk/Common/Attribute/AttributesBuilder.php deleted file mode 100644 index 5c1150638..000000000 --- a/vendor/open-telemetry/sdk/Common/Attribute/AttributesBuilder.php +++ /dev/null @@ -1,120 +0,0 @@ -attributes = $attributes; - $this->attributeCountLimit = $attributeCountLimit; - $this->attributeValueLengthLimit = $attributeValueLengthLimit; - $this->droppedAttributesCount = $droppedAttributesCount; - $this->attributeValidator = $attributeValidator ?? new AttributeValidator(); - } - - public function build(): AttributesInterface - { - return new Attributes($this->attributes, $this->droppedAttributesCount); - } - - public function offsetExists($offset): bool - { - return array_key_exists($offset, $this->attributes); - } - - /** - * @phan-suppress PhanUndeclaredClassAttribute - */ - #[\ReturnTypeWillChange] - public function offsetGet($offset) - { - return $this->attributes[$offset] ?? null; - } - - /** - * @phan-suppress PhanUndeclaredClassAttribute - */ - #[\ReturnTypeWillChange] - public function offsetSet($offset, $value) - { - if ($offset === null) { - return; - } - if ($value === null) { - unset($this->attributes[$offset]); - - return; - } - if (!$this->attributeValidator->validate($value)) { - self::logWarning($this->attributeValidator->getInvalidMessage() . ': ' . $offset); - $this->droppedAttributesCount++; - - return; - } - if (count($this->attributes) === $this->attributeCountLimit && !array_key_exists($offset, $this->attributes)) { - $this->droppedAttributesCount++; - - return; - } - - $this->attributes[$offset] = $this->normalizeValue($value); - //@todo "There SHOULD be a message printed in the SDK's log to indicate to the user that an attribute was - // discarded due to such a limit. To prevent excessive logging, the message MUST be printed at most - // once per (i.e., not per discarded attribute)." - } - - /** - * @phan-suppress PhanUndeclaredClassAttribute - */ - #[\ReturnTypeWillChange] - public function offsetUnset($offset) - { - unset($this->attributes[$offset]); - } - - private function normalizeValue($value) - { - if (is_string($value) && $this->attributeValueLengthLimit !== null) { - return mb_substr($value, 0, $this->attributeValueLengthLimit); - } - - if (is_array($value)) { - foreach ($value as $k => $v) { - $processed = $this->normalizeValue($v); - if ($processed !== $v) { - $value[$k] = $processed; - } - } - - return $value; - } - - return $value; - } -} diff --git a/vendor/open-telemetry/sdk/Common/Attribute/AttributesBuilderInterface.php b/vendor/open-telemetry/sdk/Common/Attribute/AttributesBuilderInterface.php deleted file mode 100644 index 7e3d64062..000000000 --- a/vendor/open-telemetry/sdk/Common/Attribute/AttributesBuilderInterface.php +++ /dev/null @@ -1,12 +0,0 @@ -attributeCountLimit = $attributeCountLimit; - $this->attributeValueLengthLimit = $attributeValueLengthLimit; - } - - public function builder(iterable $attributes = [], ?AttributeValidatorInterface $attributeValidator = null): AttributesBuilderInterface - { - $builder = new AttributesBuilder( - [], - $this->attributeCountLimit, - $this->attributeValueLengthLimit, - 0, - $attributeValidator, - ); - foreach ($attributes as $key => $value) { - $builder[$key] = $value; - } - - return $builder; - } -} diff --git a/vendor/open-telemetry/sdk/Common/Attribute/AttributesFactoryInterface.php b/vendor/open-telemetry/sdk/Common/Attribute/AttributesFactoryInterface.php deleted file mode 100644 index 1b74461d4..000000000 --- a/vendor/open-telemetry/sdk/Common/Attribute/AttributesFactoryInterface.php +++ /dev/null @@ -1,10 +0,0 @@ - $rejectedKeys - */ - public function __construct(AttributesBuilderInterface $builder, array $rejectedKeys) - { - $this->builder = $builder; - $this->rejectedKeys = $rejectedKeys; - } - - public function __clone() - { - $this->builder = clone $this->builder; - } - - public function build(): AttributesInterface - { - $attributes = $this->builder->build(); - $dropped = $attributes->getDroppedAttributesCount() + $this->rejected; - - return new Attributes($attributes->toArray(), $dropped); - } - - public function offsetExists($offset): bool - { - return $this->builder->offsetExists($offset); - } - - /** - * @phan-suppress PhanUndeclaredClassAttribute - */ - #[\ReturnTypeWillChange] - public function offsetGet($offset) - { - return $this->builder->offsetGet($offset); - } - - /** - * @phan-suppress PhanUndeclaredClassAttribute - */ - #[\ReturnTypeWillChange] - public function offsetSet($offset, $value) - { - if ($value !== null && in_array($offset, $this->rejectedKeys, true)) { - $this->rejected++; - - return; - } - - $this->builder->offsetSet($offset, $value); - } - - /** - * @phan-suppress PhanUndeclaredClassAttribute - */ - #[\ReturnTypeWillChange] - public function offsetUnset($offset) - { - $this->builder->offsetUnset($offset); - } -} diff --git a/vendor/open-telemetry/sdk/Common/Attribute/FilteredAttributesFactory.php b/vendor/open-telemetry/sdk/Common/Attribute/FilteredAttributesFactory.php deleted file mode 100644 index 1d9c4ae1c..000000000 --- a/vendor/open-telemetry/sdk/Common/Attribute/FilteredAttributesFactory.php +++ /dev/null @@ -1,33 +0,0 @@ - $rejectedKeys - */ - public function __construct(AttributesFactoryInterface $factory, array $rejectedKeys) - { - $this->factory = $factory; - $this->rejectedKeys = $rejectedKeys; - } - - public function builder(iterable $attributes = [], ?AttributeValidatorInterface $attributeValidator = null): AttributesBuilderInterface - { - $builder = new FilteredAttributesBuilder($this->factory->builder([], $attributeValidator), $this->rejectedKeys); - foreach ($attributes as $attribute => $value) { - $builder[$attribute] = $value; - } - - return $builder; - } -} diff --git a/vendor/open-telemetry/sdk/Common/Attribute/LogRecordAttributeValidator.php b/vendor/open-telemetry/sdk/Common/Attribute/LogRecordAttributeValidator.php deleted file mode 100644 index a09d26372..000000000 --- a/vendor/open-telemetry/sdk/Common/Attribute/LogRecordAttributeValidator.php +++ /dev/null @@ -1,19 +0,0 @@ -hasVariable($name); - } - - public static function getInt(string $key, int $default = null): int - { - return (int) self::validateVariableValue( - CompositeResolver::instance()->resolve( - self::validateVariableType($key, VariableTypes::INTEGER), - $default - ), - FILTER_VALIDATE_INT - ); - } - - public static function getString(string $key, string $default = null): string - { - return (string) self::validateVariableValue( - CompositeResolver::instance()->resolve( - self::validateVariableType($key, VariableTypes::STRING), - $default - ) - ); - } - - public static function getBoolean(string $key, bool $default = null): bool - { - $resolved = self::validateVariableValue( - CompositeResolver::instance()->resolve( - self::validateVariableType($key, VariableTypes::BOOL), - null === $default ? $default : ($default ? 'true' : 'false') - ) - ); - - try { - return BooleanParser::parse($resolved); - } catch (InvalidArgumentException $e) { - self::logWarning(sprintf('Invalid boolean value "%s" interpreted as "false" for %s', $resolved, $key)); - - return false; - } - } - - public static function getMixed(string $key, $default = null) - { - return self::validateVariableValue( - CompositeResolver::instance()->resolve( - $key, - $default - ) - ); - } - - public static function getMap(string $key, array $default = null): array - { - return MapParser::parse( - CompositeResolver::instance()->resolve( - self::validateVariableType($key, VariableTypes::MAP), - $default - ) - ); - } - - public static function getList(string $key, array $default = null): array - { - return ListParser::parse( - CompositeResolver::instance()->resolve( - self::validateVariableType($key, VariableTypes::LIST), - $default - ) - ); - } - - public static function getEnum(string $key, string $default = null): string - { - return (string) self::validateVariableValue( - CompositeResolver::instance()->resolve( - self::validateVariableType($key, VariableTypes::ENUM), - $default - ) - ); - } - - public static function getFloat(string $key, float $default = null): float - { - return (float) self::validateVariableValue( - CompositeResolver::instance()->resolve( - self::validateVariableType($key, VariableTypes::FLOAT), - $default - ), - FILTER_VALIDATE_FLOAT - ); - } - - public static function getRatio(string $key, float $default = null): float - { - return RatioParser::parse( - self::validateVariableValue( - CompositeResolver::instance()->resolve( - self::validateVariableType($key, VariableTypes::RATIO), - $default - ) - ) - ); - } - - public static function getKnownValues(string $variableName): ?array - { - return ClassConstantAccessor::getValue(KnownValues::class, $variableName); - } - - public static function getDefault(string $variableName) - { - return ClassConstantAccessor::getValue(Defaults::class, $variableName); - } - - public static function getType(string $variableName): ?string - { - return ClassConstantAccessor::getValue(ValueTypes::class, $variableName); - } - - public static function isEmpty($value): bool - { - // don't use 'empty()', since '0' is not considered to be empty - return $value === null || $value === ''; - } - - private static function validateVariableType(string $variableName, string $type): string - { - $variableType = self::getType($variableName); - - if ($variableType !== null && $variableType !== $type && $variableType !== VariableTypes::MIXED) { - throw new UnexpectedValueException( - sprintf('Variable "%s" is not supposed to be of type "%s" but type "%s"', $variableName, $type, $variableType) - ); - } - - return $variableName; - } - - private static function validateVariableValue($value, ?int $filterType = null) - { - if ($filterType !== null && filter_var($value, $filterType) === false) { - throw new UnexpectedValueException(sprintf('Value has invalid type "%s"', gettype($value))); - } - - if ($value === null || $value === '') { - throw new UnexpectedValueException( - 'Variable must not be null or empty' - ); - } - - return $value; - } -} diff --git a/vendor/open-telemetry/sdk/Common/Configuration/Defaults.php b/vendor/open-telemetry/sdk/Common/Configuration/Defaults.php deleted file mode 100644 index 7228270a6..000000000 --- a/vendor/open-telemetry/sdk/Common/Configuration/Defaults.php +++ /dev/null @@ -1,122 +0,0 @@ - trim($value), - explode(self::DEFAULT_SEPARATOR, $value) - ); - } -} diff --git a/vendor/open-telemetry/sdk/Common/Configuration/Parser/MapParser.php b/vendor/open-telemetry/sdk/Common/Configuration/Parser/MapParser.php deleted file mode 100644 index 273d57c87..000000000 --- a/vendor/open-telemetry/sdk/Common/Configuration/Parser/MapParser.php +++ /dev/null @@ -1,45 +0,0 @@ - self::MAX_VALUE || $result < self::MIN_VALUE) { - throw new RangeException( - sprintf( - 'Value must not be lower than %s or higher than %s. Given: %s', - self::MIN_VALUE, - self::MAX_VALUE, - $value - ) - ); - } - - return $result; - } -} diff --git a/vendor/open-telemetry/sdk/Common/Configuration/Resolver/CompositeResolver.php b/vendor/open-telemetry/sdk/Common/Configuration/Resolver/CompositeResolver.php deleted file mode 100644 index b72400b01..000000000 --- a/vendor/open-telemetry/sdk/Common/Configuration/Resolver/CompositeResolver.php +++ /dev/null @@ -1,68 +0,0 @@ - - private array $resolvers = []; - - public static function instance(): self - { - static $instance; - $instance ??= new self([ - new PhpIniResolver(), - new EnvironmentResolver(), - ]); - - return $instance; - } - - public function __construct($resolvers) - { - foreach ($resolvers as $resolver) { - $this->addResolver($resolver); - } - } - - public function addResolver(ResolverInterface $resolver): void - { - $this->resolvers[] = $resolver; - } - - public function getResolvers(): array - { - return $this->resolvers; - } - - public function resolve(string $variableName, $default = '') - { - foreach ($this->resolvers as $resolver) { - if ($resolver->hasVariable($variableName)) { - return $resolver->retrieveValue($variableName); - } - } - - return Configuration::isEmpty($default) - ? Configuration::getDefault($variableName) - : $default; - } - - public function hasVariable(string $variableName): bool - { - foreach ($this->resolvers as $resolver) { - if ($resolver->hasVariable($variableName)) { - return true; - } - } - - return false; - } -} diff --git a/vendor/open-telemetry/sdk/Common/Configuration/Resolver/EnvironmentResolver.php b/vendor/open-telemetry/sdk/Common/Configuration/Resolver/EnvironmentResolver.php deleted file mode 100644 index 453f98e39..000000000 --- a/vendor/open-telemetry/sdk/Common/Configuration/Resolver/EnvironmentResolver.php +++ /dev/null @@ -1,40 +0,0 @@ -accessor = $accessor ?? new PhpIniAccessor(); - } - - public function retrieveValue(string $variableName) - { - $value = $this->accessor->get($variableName) ?: ''; - if (is_array($value)) { - return implode(',', $value); - } - - return $value; - } - - public function hasVariable(string $variableName): bool - { - $value = $this->accessor->get($variableName); - if ($value === []) { - return false; - } - - return $value !== false && !Configuration::isEmpty($value); - } -} diff --git a/vendor/open-telemetry/sdk/Common/Configuration/Resolver/ResolverInterface.php b/vendor/open-telemetry/sdk/Common/Configuration/Resolver/ResolverInterface.php deleted file mode 100644 index 4e88f3ff6..000000000 --- a/vendor/open-telemetry/sdk/Common/Configuration/Resolver/ResolverInterface.php +++ /dev/null @@ -1,15 +0,0 @@ - - */ -final class StackTraceFormatter -{ - private function __construct() - { - } - - /** - * Formats an exception in a java-like format. - * - * @param Throwable $e exception to format - * @return string formatted exception - * - * @see https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Throwable.html#printStackTrace() - */ - public static function format(Throwable $e): string - { - $s = ''; - $seen = []; - - /** @var Frames|null $enclosing */ - $enclosing = null; - do { - if ($enclosing) { - self::writeNewline($s); - $s .= 'Caused by: '; - } - if (isset($seen[spl_object_id($e)])) { - $s .= '[CIRCULAR REFERENCE: '; - self::writeInlineHeader($s, $e); - $s .= ']'; - - break; - } - $seen[spl_object_id($e)] = $e; - - $frames = self::frames($e); - self::writeInlineHeader($s, $e); - self::writeFrames($s, $frames, $enclosing); - - $enclosing = $frames; - } while ($e = $e->getPrevious()); - - return $s; - } - - /** - * @phan-suppress-next-line PhanTypeMismatchDeclaredParam - * @param Frames $frames - * @phan-suppress-next-line PhanTypeMismatchDeclaredParam - * @param Frames|null $enclosing - */ - private static function writeFrames(string &$s, array $frames, ?array $enclosing): void - { - $n = count($frames); - if ($enclosing) { - for ($m = count($enclosing); - $n && $m && $frames[$n - 1] === $enclosing[$m - 1]; - $n--, $m--) { - } - } - for ($i = 0; $i < $n; $i++) { - $frame = $frames[$i]; - self::writeNewline($s, 1); - $s .= 'at '; - if ($frame['class'] !== null) { - $s .= self::formatName($frame['class']); - $s .= '.'; - } - $s .= self::formatName($frame['function']); - $s .= '('; - if ($frame['file'] !== null) { - $s .= basename($frame['file']); - if ($frame['line']) { - $s .= ':'; - $s .= $frame['line']; - } - } else { - $s .= 'Unknown Source'; - } - $s .= ')'; - } - if ($n !== count($frames)) { - self::writeNewline($s, 1); - $s .= sprintf('... %d more', count($frames) - $n); - } - } - - private static function writeInlineHeader(string &$s, Throwable $e): void - { - $s .= self::formatName(get_class($e)); - if ($e->getMessage() !== '') { - $s .= ': '; - $s .= $e->getMessage(); - } - } - - private static function writeNewline(string &$s, int $indent = 0): void - { - $s .= "\n"; - $s .= str_repeat("\t", $indent); - } - - /** - * @return Frames - * - * @psalm-suppress PossiblyUndefinedArrayOffset - */ - private static function frames(Throwable $e): array - { - $frames = []; - $trace = $e->getTrace(); - $traceCount = count($trace); - for ($i = 0; $i < $traceCount + 1; $i++) { - $frames[] = [ - 'function' => $trace[$i]['function'] ?? '{main}', - 'class' => $trace[$i]['class'] ?? null, - 'file' => $trace[$i - 1]['file'] ?? null, - 'line' => $trace[$i - 1]['line'] ?? null, - ]; - } - $frames[0]['file'] = $e->getFile(); - $frames[0]['line'] = $e->getLine(); - - /** @var Frames $frames */ - return $frames; - } - - private static function formatName(string $name): string - { - return strtr($name, ['\\' => '.']); - } -} diff --git a/vendor/open-telemetry/sdk/Common/Export/Http/PsrTransport.php b/vendor/open-telemetry/sdk/Common/Export/Http/PsrTransport.php deleted file mode 100644 index a53e5b80a..000000000 --- a/vendor/open-telemetry/sdk/Common/Export/Http/PsrTransport.php +++ /dev/null @@ -1,168 +0,0 @@ - - */ -final class PsrTransport implements TransportInterface -{ - private ClientInterface $client; - private RequestFactoryInterface $requestFactory; - private StreamFactoryInterface $streamFactory; - - private string $endpoint; - private string $contentType; - private array $headers; - private array $compression; - private int $retryDelay; - private int $maxRetries; - - private bool $closed = false; - - /** - * @psalm-param CONTENT_TYPE $contentType - */ - public function __construct( - ClientInterface $client, - RequestFactoryInterface $requestFactory, - StreamFactoryInterface $streamFactory, - string $endpoint, - string $contentType, - array $headers, - array $compression, - int $retryDelay, - int $maxRetries - ) { - $this->client = $client; - $this->requestFactory = $requestFactory; - $this->streamFactory = $streamFactory; - $this->endpoint = $endpoint; - $this->contentType = $contentType; - $this->headers = $headers; - $this->compression = $compression; - $this->retryDelay = $retryDelay; - $this->maxRetries = $maxRetries; - } - - public function contentType(): string - { - return $this->contentType; - } - - public function send(string $payload, ?CancellationInterface $cancellation = null): FutureInterface - { - if ($this->closed) { - return new ErrorFuture(new BadMethodCallException('Transport closed')); - } - - $body = PsrUtils::encode($payload, $this->compression, $appliedEncodings); - $request = $this->requestFactory - ->createRequest('POST', $this->endpoint) - ->withBody($this->streamFactory->createStream($body)) - ->withHeader('Content-Type', $this->contentType) - ; - if ($appliedEncodings) { - $request = $request->withHeader('Content-Encoding', $appliedEncodings); - } - foreach ($this->headers as $header => $value) { - $request = $request->withAddedHeader($header, $value); - } - - for ($retries = 0;; $retries++) { - $response = null; - $e = null; - - try { - $response = $this->client->sendRequest($request); - if ($response->getStatusCode() >= 200 && $response->getStatusCode() < 300) { - break; - } - - if ($response->getStatusCode() >= 400 && $response->getStatusCode() < 500 && !in_array($response->getStatusCode(), [408, 429], true)) { - throw new RuntimeException($response->getReasonPhrase(), $response->getStatusCode()); - } - } catch (NetworkExceptionInterface $e) { - } catch (Throwable $e) { - return new ErrorFuture($e); - } - - if ($retries >= $this->maxRetries) { - return new ErrorFuture(new RuntimeException('Export retry limit exceeded', 0, $e)); - } - - $delay = PsrUtils::retryDelay($retries, $this->retryDelay, $response); - $sec = (int) $delay; - $nsec = (int) (($delay - $sec) * 1e9); - - /** @psalm-suppress ArgumentTypeCoercion */ - if (time_nanosleep($sec, $nsec) !== true) { - return new ErrorFuture(new RuntimeException('Export cancelled', 0, $e)); - } - } - - assert(isset($response)); - - try { - $body = PsrUtils::decode( - $response->getBody()->__toString(), - self::parseContentEncoding($response), - ); - } catch (Throwable $e) { - return new ErrorFuture($e); - } - - return new CompletedFuture($body); - } - - private static function parseContentEncoding(ResponseInterface $response): array - { - $encodings = []; - foreach (explode(',', $response->getHeaderLine('Content-Encoding')) as $encoding) { - if (($encoding = trim($encoding, " \t")) !== '') { - $encodings[] = strtolower($encoding); - } - } - - return $encodings; - } - - public function shutdown(?CancellationInterface $cancellation = null): bool - { - if ($this->closed) { - return false; - } - - $this->closed = true; - - return true; - } - - public function forceFlush(?CancellationInterface $cancellation = null): bool - { - return !$this->closed; - } -} diff --git a/vendor/open-telemetry/sdk/Common/Export/Http/PsrTransportFactory.php b/vendor/open-telemetry/sdk/Common/Export/Http/PsrTransportFactory.php deleted file mode 100644 index 5ef78d82c..000000000 --- a/vendor/open-telemetry/sdk/Common/Export/Http/PsrTransportFactory.php +++ /dev/null @@ -1,74 +0,0 @@ -client = $client; - $this->requestFactory = $requestFactory; - $this->streamFactory = $streamFactory; - } - - /** - * @phan-suppress PhanTypeMismatchArgumentNullable - */ - public function create( - string $endpoint, - string $contentType, - array $headers = [], - $compression = null, - float $timeout = 10., - int $retryDelay = 100, - int $maxRetries = 3, - ?string $cacert = null, - ?string $cert = null, - ?string $key = null - ): PsrTransport { - if (!filter_var($endpoint, FILTER_VALIDATE_URL)) { - throw new InvalidArgumentException(sprintf('Invalid endpoint url "%s"', $endpoint)); - } - assert(!empty($endpoint)); - - return new PsrTransport( - $this->client, - $this->requestFactory, - $this->streamFactory, - $endpoint, - $contentType, - $headers, - PsrUtils::compression($compression), - $retryDelay, - $maxRetries, - ); - } - - public static function discover(): self - { - return new self( - Psr18ClientDiscovery::find(), - Psr17FactoryDiscovery::findRequestFactory(), - Psr17FactoryDiscovery::findStreamFactory(), - ); - } -} diff --git a/vendor/open-telemetry/sdk/Common/Export/Http/PsrUtils.php b/vendor/open-telemetry/sdk/Common/Export/Http/PsrUtils.php deleted file mode 100644 index eaf2f3b47..000000000 --- a/vendor/open-telemetry/sdk/Common/Export/Http/PsrUtils.php +++ /dev/null @@ -1,175 +0,0 @@ -> 1, $delay) / 1000; - - return max($delay, self::parseRetryAfter($response)); - } - - private static function parseRetryAfter(?ResponseInterface $response): int - { - if (!$response || !$retryAfter = $response->getHeaderLine('Retry-After')) { - return 0; - } - - $retryAfter = trim($retryAfter, " \t"); - if ($retryAfter === (string) (int) $retryAfter) { - return (int) $retryAfter; - } - - if (($time = strtotime($retryAfter)) !== false) { - return $time - time(); - } - - return 0; - } - - /** - * @param list $encodings - * @param array|null $appliedEncodings - */ - public static function encode(string $value, array $encodings, ?array &$appliedEncodings = null): string - { - for ($i = 0, $n = count($encodings); $i < $n; $i++) { - if (!$encoder = self::encoder($encodings[$i])) { - unset($encodings[$i]); - - continue; - } - - try { - $value = $encoder($value); - } catch (Throwable $e) { - unset($encodings[$i]); - } - } - - $appliedEncodings = $encodings; - - return $value; - } - - /** - * @param list $encodings - */ - public static function decode(string $value, array $encodings): string - { - for ($i = count($encodings); --$i >= 0;) { - if (strcasecmp($encodings[$i], 'identity') === 0) { - continue; - } - if (!$decoder = self::decoder($encodings[$i])) { - throw new UnexpectedValueException(sprintf('Not supported decompression encoding "%s"', $encodings[$i])); - } - - $value = $decoder($value); - } - - return $value; - } - - /** - * Resolve an array or CSV of compression types to a list - */ - public static function compression($compression): array - { - if (is_array($compression)) { - return $compression; - } - if (!$compression) { - return []; - } - if (strpos($compression, ',') === false) { - return [$compression]; - } - - return array_map('trim', explode(',', $compression)); - } - - private static function encoder(string $encoding): ?callable - { - static $encoders; - - /** @noinspection SpellCheckingInspection */ - $encoders ??= array_map(fn (callable $callable): callable => self::throwOnErrorOrFalse($callable), array_filter([ - TransportFactoryInterface::COMPRESSION_GZIP => 'gzencode', - TransportFactoryInterface::COMPRESSION_DEFLATE => 'gzcompress', - TransportFactoryInterface::COMPRESSION_BROTLI => 'brotli_compress', - ], 'function_exists')); - - return $encoders[$encoding] ?? null; - } - - private static function decoder(string $encoding): ?callable - { - static $decoders; - - /** @noinspection SpellCheckingInspection */ - $decoders ??= array_map(fn (callable $callable): callable => self::throwOnErrorOrFalse($callable), array_filter([ - TransportFactoryInterface::COMPRESSION_GZIP => 'gzdecode', - TransportFactoryInterface::COMPRESSION_DEFLATE => 'gzuncompress', - TransportFactoryInterface::COMPRESSION_BROTLI => 'brotli_uncompress', - ], 'function_exists')); - - return $decoders[$encoding] ?? null; - } - - private static function throwOnErrorOrFalse(callable $callable): callable - { - return static function (...$args) use ($callable) { - set_error_handler(static function (int $errno, string $errstr, string $errfile, int $errline): bool { - throw new ErrorException($errstr, 0, $errno, $errfile, $errline); - }); - - try { - $result = $callable(...$args); - } finally { - restore_error_handler(); - } - - /** @phan-suppress-next-line PhanPossiblyUndeclaredVariable */ - if ($result === false) { - throw new LogicException(); - } - - /** @phan-suppress-next-line PhanPossiblyUndeclaredVariable */ - return $result; - }; - } -} diff --git a/vendor/open-telemetry/sdk/Common/Export/Stream/StreamTransport.php b/vendor/open-telemetry/sdk/Common/Export/Stream/StreamTransport.php deleted file mode 100644 index 4b99cf756..000000000 --- a/vendor/open-telemetry/sdk/Common/Export/Stream/StreamTransport.php +++ /dev/null @@ -1,97 +0,0 @@ - - */ -final class StreamTransport implements TransportInterface -{ - /** - * @var resource|null - */ - private $stream; - private string $contentType; - - /** - * @param resource $stream - * - * @psalm-param CONTENT_TYPE $contentType - */ - public function __construct($stream, string $contentType) - { - $this->stream = $stream; - $this->contentType = $contentType; - } - - public function contentType(): string - { - return $this->contentType; - } - - public function send(string $payload, ?CancellationInterface $cancellation = null): FutureInterface - { - if (!$this->stream) { - return new ErrorFuture(new BadMethodCallException('Transport closed')); - } - - set_error_handler(static function (int $errno, string $errstr, string $errfile, int $errline): bool { - throw new ErrorException($errstr, 0, $errno, $errfile, $errline); - }); - - try { - $bytesWritten = fwrite($this->stream, $payload); - } catch (Throwable $e) { - return new ErrorFuture($e); - } finally { - restore_error_handler(); - } - - if ($bytesWritten !== strlen($payload)) { - return new ErrorFuture(new RuntimeException(sprintf('Write failure, wrote %d of %d bytes', $bytesWritten, strlen($payload)))); - } - - return new CompletedFuture(null); - } - - public function shutdown(?CancellationInterface $cancellation = null): bool - { - if (!$this->stream) { - return false; - } - - $flush = @fflush($this->stream); - $this->stream = null; - - return $flush; - } - - public function forceFlush(?CancellationInterface $cancellation = null): bool - { - if (!$this->stream) { - return false; - } - - return @fflush($this->stream); - } -} diff --git a/vendor/open-telemetry/sdk/Common/Export/Stream/StreamTransportFactory.php b/vendor/open-telemetry/sdk/Common/Export/Stream/StreamTransportFactory.php deleted file mode 100644 index 59e411318..000000000 --- a/vendor/open-telemetry/sdk/Common/Export/Stream/StreamTransportFactory.php +++ /dev/null @@ -1,118 +0,0 @@ - $headers - * @param string|string[]|null $compression - * - * @psalm-template CONTENT_TYPE of string - * @psalm-param CONTENT_TYPE $contentType - * @psalm-return TransportInterface - */ - public function create( - $endpoint, - string $contentType, - array $headers = [], - $compression = null, - float $timeout = 10., - int $retryDelay = 100, - int $maxRetries = 3, - ?string $cacert = null, - ?string $cert = null, - ?string $key = null - ): TransportInterface { - assert(!empty($endpoint)); - $stream = is_resource($endpoint) - ? $endpoint - : self::createStream( - $endpoint, - $contentType, - $headers, - $timeout, - $cacert, - $cert, - $key, - ); - - return new StreamTransport($stream, $contentType); - } - - /** - * @throws ErrorException - * @return resource - */ - private static function createStream( - string $endpoint, - string $contentType, - array $headers = [], - float $timeout = 10., - ?string $cacert = null, - ?string $cert = null, - ?string $key = null - ) { - $context = stream_context_create([ - 'http' => [ - 'method' => 'POST', - 'header' => self::createHeaderArray($contentType, $headers), - 'timeout' => $timeout, - ], - 'ssl' => [ - 'cafile' => $cacert, - 'local_cert' => $cert, - 'local_pk' => $key, - ], - ]); - - set_error_handler(static function (int $errno, string $errstr, string $errfile, int $errline): bool { - throw new ErrorException($errstr, 0, $errno, $errfile, $errline); - }); - - /** - * @psalm-suppress PossiblyNullArgument - */ - try { - $stream = fopen($endpoint, 'ab', false, $context); - } finally { - restore_error_handler(); - } - - /** @phan-suppress-next-line PhanPossiblyUndeclaredVariable */ - if (!$stream) { - throw new LogicException(sprintf('Failed opening stream "%s"', $endpoint)); - } - - return $stream; - } - - private static function createHeaderArray(string $contentType, array $headers): array - { - $header = []; - $header[] = sprintf('Content-Type: %s', $contentType); - foreach ($headers as $name => $value) { - $header[] = sprintf('%s: %s', $name, implode(', ', (array) $value)); - } - - return $header; - } -} diff --git a/vendor/open-telemetry/sdk/Common/Export/TransportFactoryInterface.php b/vendor/open-telemetry/sdk/Common/Export/TransportFactoryInterface.php deleted file mode 100644 index 48e538443..000000000 --- a/vendor/open-telemetry/sdk/Common/Export/TransportFactoryInterface.php +++ /dev/null @@ -1,32 +0,0 @@ - $headers - * @psalm-param string|string[]|null $compression - * @psalm-return TransportInterface - */ - public function create( - string $endpoint, - string $contentType, - array $headers = [], - $compression = null, - float $timeout = 10., - int $retryDelay = 100, - int $maxRetries = 3, - ?string $cacert = null, - ?string $cert = null, - ?string $key = null - ): TransportInterface; -} diff --git a/vendor/open-telemetry/sdk/Common/Export/TransportInterface.php b/vendor/open-telemetry/sdk/Common/Export/TransportInterface.php deleted file mode 100644 index 5fb26eff8..000000000 --- a/vendor/open-telemetry/sdk/Common/Export/TransportInterface.php +++ /dev/null @@ -1,22 +0,0 @@ - - */ -final class CompletedFuture implements FutureInterface -{ - /** @var T */ - private $value; - - /** - * @param T $value - */ - public function __construct($value) - { - $this->value = $value; - } - - public function await() - { - return $this->value; - } - - public function map(Closure $closure): FutureInterface - { - $c = $closure; - unset($closure); - - try { - return new CompletedFuture($c($this->value)); - } catch (Throwable $e) { - return new ErrorFuture($e); - } - } - - public function catch(Closure $closure): FutureInterface - { - return $this; - } -} diff --git a/vendor/open-telemetry/sdk/Common/Future/ErrorFuture.php b/vendor/open-telemetry/sdk/Common/Future/ErrorFuture.php deleted file mode 100644 index 32cf3d995..000000000 --- a/vendor/open-telemetry/sdk/Common/Future/ErrorFuture.php +++ /dev/null @@ -1,40 +0,0 @@ -throwable = $throwable; - } - - public function await() - { - throw $this->throwable; - } - - public function map(Closure $closure): FutureInterface - { - return $this; - } - - public function catch(Closure $closure): FutureInterface - { - $c = $closure; - unset($closure); - - try { - return new CompletedFuture($c($this->throwable)); - } catch (Throwable $e) { - return new ErrorFuture($e); - } - } -} diff --git a/vendor/open-telemetry/sdk/Common/Future/FutureInterface.php b/vendor/open-telemetry/sdk/Common/Future/FutureInterface.php deleted file mode 100644 index 850699bf6..000000000 --- a/vendor/open-telemetry/sdk/Common/Future/FutureInterface.php +++ /dev/null @@ -1,34 +0,0 @@ - - * - * @psalm-suppress InvalidTemplateParam - */ - public function map(Closure $closure): FutureInterface; - - /** - * @psalm-template U - * @psalm-param Closure(\Throwable): U $closure - * @psalm-return FutureInterface - */ - public function catch(Closure $closure): FutureInterface; -} diff --git a/vendor/open-telemetry/sdk/Common/Future/NullCancellation.php b/vendor/open-telemetry/sdk/Common/Future/NullCancellation.php deleted file mode 100644 index 5e5b642f9..000000000 --- a/vendor/open-telemetry/sdk/Common/Future/NullCancellation.php +++ /dev/null @@ -1,20 +0,0 @@ -requestFactory = $requestFactory; - $this->responseFactory = $responseFactory; - $this->serverRequestFactory = $serverRequestFactory; - } - - public static function create( - RequestFactoryInterface $requestFactory, - ResponseFactoryInterface $responseFactory, - ServerRequestFactoryInterface $serverRequestFactory - ): self { - return new self($requestFactory, $responseFactory, $serverRequestFactory); - } - - public function createRequest(string $method, $uri): RequestInterface - { - return $this->requestFactory->createRequest($method, $uri); - } - - public function createResponse(int $code = 200, string $reasonPhrase = ''): ResponseInterface - { - return $this->responseFactory->createResponse($code, $reasonPhrase); - } - - public function createServerRequest(string $method, $uri, array $serverParams = []): ServerRequestInterface - { - return $this->serverRequestFactory->createServerRequest($method, $uri, $serverParams); - } -} diff --git a/vendor/open-telemetry/sdk/Common/Http/Psr/Message/MessageFactoryInterface.php b/vendor/open-telemetry/sdk/Common/Http/Psr/Message/MessageFactoryInterface.php deleted file mode 100644 index 97258491f..000000000 --- a/vendor/open-telemetry/sdk/Common/Http/Psr/Message/MessageFactoryInterface.php +++ /dev/null @@ -1,13 +0,0 @@ -name = $name; - $this->version = $version; - $this->schemaUrl = $schemaUrl; - $this->attributes = $attributes; - } - - public function getName(): string - { - return $this->name; - } - - public function getVersion(): ?string - { - return $this->version; - } - - public function getSchemaUrl(): ?string - { - return $this->schemaUrl; - } - - public function getAttributes(): AttributesInterface - { - return $this->attributes; - } -} diff --git a/vendor/open-telemetry/sdk/Common/Instrumentation/InstrumentationScopeFactory.php b/vendor/open-telemetry/sdk/Common/Instrumentation/InstrumentationScopeFactory.php deleted file mode 100644 index f1ae7c072..000000000 --- a/vendor/open-telemetry/sdk/Common/Instrumentation/InstrumentationScopeFactory.php +++ /dev/null @@ -1,31 +0,0 @@ -attributesFactory = $attributesFactory; - } - - public function create( - string $name, - ?string $version = null, - ?string $schemaUrl = null, - iterable $attributes = [] - ): InstrumentationScopeInterface { - return new InstrumentationScope( - $name, - $version, - $schemaUrl, - $this->attributesFactory->builder($attributes)->build(), - ); - } -} diff --git a/vendor/open-telemetry/sdk/Common/Instrumentation/InstrumentationScopeFactoryInterface.php b/vendor/open-telemetry/sdk/Common/Instrumentation/InstrumentationScopeFactoryInterface.php deleted file mode 100644 index 78292de58..000000000 --- a/vendor/open-telemetry/sdk/Common/Instrumentation/InstrumentationScopeFactoryInterface.php +++ /dev/null @@ -1,15 +0,0 @@ -build(); - } - - public static function setDefault(?ClockInterface $clock): void - { - self::$default = $clock; - } -} diff --git a/vendor/open-telemetry/sdk/Common/Time/ClockFactoryInterface.php b/vendor/open-telemetry/sdk/Common/Time/ClockFactoryInterface.php deleted file mode 100644 index 6d9afde91..000000000 --- a/vendor/open-telemetry/sdk/Common/Time/ClockFactoryInterface.php +++ /dev/null @@ -1,16 +0,0 @@ -clock = $clock; - $this->initialStartTime = $initialStartTime; - } - - public function isRunning(): bool - { - return $this->running; - } - - public function start(): void - { - // resolve start time as early as possible - $startTime = $this->time(); - - if ($this->isRunning()) { - return; - } - - $this->startTime = $startTime; - if (!$this->hasBeenStarted()) { - $this->initialStartTime = $startTime; - } - $this->running = true; - } - - public function stop(): void - { - if (!$this->isRunning()) { - return; - } - - $this->stopTime = $this->time(); - $this->running = false; - } - - public function reset(): void - { - $this->startTime = $this->initialStartTime = $this->isRunning() ? $this->time() : null; - } - - public function getElapsedTime(): int - { - if (!$this->hasBeenStarted()) { - return self::INITIAL_ELAPSED_TIME; - } - - return $this->calculateElapsedTime(); - } - - public function getLastElapsedTime(): int - { - if (!$this->hasBeenStarted()) { - return self::INITIAL_ELAPSED_TIME; - } - - return $this->calculateLastElapsedTime(); - } - - private function time(): int - { - return $this->clock->now(); - } - - private function hasBeenStarted(): bool - { - return $this->initialStartTime !== null; - } - - private function calculateElapsedTime(): int - { - $referenceTime = $this->isRunning() - ? $this->time() - : $this->getStopTime(); - - return $referenceTime - $this->getInitialStartTime(); - } - - private function calculateLastElapsedTime(): int - { - $referenceTime = $this->isRunning() - ? $this->time() - : $this->getStopTime(); - - return $referenceTime - $this->getStartTime(); - } - - private function getInitialStartTime(): ?int - { - return $this->initialStartTime; - } - - private function getStartTime(): ?int - { - return $this->startTime; - } - - private function getStopTime(): ?int - { - return $this->stopTime; - } -} diff --git a/vendor/open-telemetry/sdk/Common/Time/StopWatchFactory.php b/vendor/open-telemetry/sdk/Common/Time/StopWatchFactory.php deleted file mode 100644 index f60c377fc..000000000 --- a/vendor/open-telemetry/sdk/Common/Time/StopWatchFactory.php +++ /dev/null @@ -1,44 +0,0 @@ -clock = $clock ?? ClockFactory::getDefault(); - $this->initialStartTime = $initialStartTime; - } - - public static function create(?ClockInterface $clock = null, ?int $initialStartTime = null): self - { - return new self($clock, $initialStartTime); - } - - public static function fromClockFactory(ClockFactoryInterface $factory, ?int $initialStartTime = null): self - { - return self::create($factory->build(), $initialStartTime); - } - - public function build(): StopWatch - { - return new StopWatch($this->clock, $this->initialStartTime); - } - - public static function getDefault(): StopWatchInterface - { - return self::$default ?? self::$default = self::create()->build(); - } - - public static function setDefault(?StopWatchInterface $default): void - { - self::$default = $default; - } -} diff --git a/vendor/open-telemetry/sdk/Common/Time/StopWatchFactoryInterface.php b/vendor/open-telemetry/sdk/Common/Time/StopWatchFactoryInterface.php deleted file mode 100644 index 9750f5769..000000000 --- a/vendor/open-telemetry/sdk/Common/Time/StopWatchFactoryInterface.php +++ /dev/null @@ -1,18 +0,0 @@ - 0) { - return; - } - - self::$referenceTime = self::calculateReferenceTime( - microtime(true), - hrtime(true) - ); - } - - /** - * Calculates the reference time which is later used to calculate the current wall clock time in nanoseconds by adding the current uptime. - */ - private static function calculateReferenceTime(float $wallClockMicroTime, int $upTime): int - { - return ((int) ($wallClockMicroTime * ClockInterface::NANOS_PER_SECOND)) - $upTime; - } -} diff --git a/vendor/open-telemetry/sdk/Common/Time/Util.php b/vendor/open-telemetry/sdk/Common/Time/Util.php deleted file mode 100644 index e1be1f750..000000000 --- a/vendor/open-telemetry/sdk/Common/Time/Util.php +++ /dev/null @@ -1,32 +0,0 @@ -|null */ - private static ?array $handlers = null; - /** @var ArrayAccess|null */ - private static ?ArrayAccess $weakMap = null; - - private array $ids = []; - - private function __construct() - { - } - - public function __destruct() - { - if (!self::$handlers) { - return; - } - foreach ($this->ids as $id) { - unset(self::$handlers[$id]); - } - } - - /** - * Registers a function that will be executed on shutdown. - * - * If the given function is bound to an object, then the function will only - * be executed if the bound object is still referenced on shutdown handler - * invocation. - * - * ```php - * ShutdownHandler::register([$tracerProvider, 'shutdown']); - * ``` - * - * @param callable $shutdownFunction function to register - * - * @see register_shutdown_function - */ - public static function register(callable $shutdownFunction): void - { - self::registerShutdownFunction(); - self::$handlers[] = weaken(closure($shutdownFunction), $target); - - if (!$object = $target) { - return; - } - - self::$weakMap ??= WeakMap::create(); - $handler = self::$weakMap[$object] ??= new self(); - $handler->ids[] = array_key_last(self::$handlers); - } - - private static function registerShutdownFunction(): void - { - if (self::$handlers === null) { - register_shutdown_function(static function (): void { - $handlers = self::$handlers; - self::$handlers = null; - self::$weakMap = null; - - // Push shutdown to end of queue - // @phan-suppress-next-line PhanTypeMismatchArgumentInternal - register_shutdown_function(static function (array $handlers): void { - foreach ($handlers as $handler) { - $handler(); - } - }, $handlers); - }); - } - } -} diff --git a/vendor/open-telemetry/sdk/Common/Util/WeakMap.php b/vendor/open-telemetry/sdk/Common/Util/WeakMap.php deleted file mode 100644 index 3b62d6d64..000000000 --- a/vendor/open-telemetry/sdk/Common/Util/WeakMap.php +++ /dev/null @@ -1,175 +0,0 @@ - - */ - private array $objects = []; - - private function __construct() - { - } - - /** - * @return ArrayAccess&Countable&IteratorAggregate - */ - public static function create(): ArrayAccess - { - if (PHP_VERSION_ID >= 80000) { - /** @phan-suppress-next-line PhanUndeclaredClassReference */ - assert(class_exists(\WeakMap::class, false)); - /** @phan-suppress-next-line PhanUndeclaredClassMethod */ - $map = new \WeakMap(); - assert($map instanceof ArrayAccess); - assert($map instanceof Countable); - assert($map instanceof IteratorAggregate); - - return $map; - } - - return new self(); - } - - public function offsetExists($offset): bool - { - if (!is_object($offset)) { - throw new TypeError('WeakMap key must be an object'); - } - - return isset($offset->{self::KEY}[spl_object_id($this)]); - } - - /** - * @phan-suppress PhanUndeclaredClassAttribute - */ - #[\ReturnTypeWillChange] - public function offsetGet($offset) - { - if (!is_object($offset)) { - throw new TypeError('WeakMap key must be an object'); - } - if (!$this->contains($offset)) { - throw new Error(sprintf('Object %s#%d not contained in WeakMap', get_class($offset), spl_object_id($offset))); - } - - return $offset->{self::KEY}[spl_object_id($this)]; - } - - public function offsetSet($offset, $value): void - { - if ($offset === null) { - throw new Error('Cannot append to WeakMap'); - } - if (!is_object($offset)) { - throw new TypeError('WeakMap key must be an object'); - } - if (!$this->contains($offset)) { - $this->expunge(); - } - - $offset->{self::KEY}[spl_object_id($this)] = $value; - $this->objects[spl_object_id($offset)] = WeakReference::create($offset); - } - - public function offsetUnset($offset): void - { - if (!is_object($offset)) { - throw new TypeError('WeakMap key must be an object'); - } - if (!$this->contains($offset)) { - return; - } - - unset( - $offset->{self::KEY}[spl_object_id($this)], - $this->objects[spl_object_id($offset)], - ); - if (!$offset->{self::KEY}) { - unset($offset->{self::KEY}); - } - } - - public function count(): int - { - $this->expunge(); - - return count($this->objects); - } - - public function getIterator(): Traversable - { - $this->expunge(); - - foreach ($this->objects as $reference) { - if (($object = $reference->get()) && $this->contains($object)) { - yield $object => $this[$object]; - } - } - } - - public function __debugInfo(): array - { - $debugInfo = []; - foreach ($this as $key => $value) { - $debugInfo[] = ['key' => $key, 'value' => $value]; - } - - return $debugInfo; - } - - public function __destruct() - { - foreach ($this->objects as $reference) { - if ($object = $reference->get()) { - unset($this[$object]); - } - } - } - - private function contains(object $offset): bool - { - $reference = $this->objects[spl_object_id($offset)] ?? null; - if ($reference && $reference->get() === $offset) { - return true; - } - - unset($this->objects[spl_object_id($offset)]); - - return false; - } - - private function expunge(): void - { - foreach ($this->objects as $id => $reference) { - if (!$reference->get()) { - unset($this->objects[$id]); - } - } - } -} diff --git a/vendor/open-telemetry/sdk/Common/Util/functions.php b/vendor/open-telemetry/sdk/Common/Util/functions.php deleted file mode 100644 index f4fb13b80..000000000 --- a/vendor/open-telemetry/sdk/Common/Util/functions.php +++ /dev/null @@ -1,52 +0,0 @@ -getClosureThis()) { - return $closure; - } - - $scope = $reflection->getClosureScopeClass(); - $name = $reflection->getShortName(); - if ($name !== '{closure}') { - /** @psalm-suppress InvalidScope @phpstan-ignore-next-line @phan-suppress-next-line PhanUndeclaredThis */ - $closure = fn (...$args) => $this->$name(...$args); - if ($scope !== null) { - $closure = $closure->bindTo(null, $scope->name); - } - } - - static $placeholder; - $placeholder ??= new stdClass(); - $closure = $closure->bindTo($placeholder); - - $ref = WeakReference::create($target); - - /** @psalm-suppress PossiblyInvalidFunctionCall */ - return $scope && get_class($target) === $scope->name && !$scope->isInternal() - ? static fn (...$args) => ($obj = $ref->get()) ? $closure->call($obj, ...$args) : null - : static fn (...$args) => ($obj = $ref->get()) ? $closure->bindTo($obj)(...$args) : null; -} diff --git a/vendor/open-telemetry/sdk/Logs/Exporter/ConsoleExporter.php b/vendor/open-telemetry/sdk/Logs/Exporter/ConsoleExporter.php deleted file mode 100644 index e34fa308c..000000000 --- a/vendor/open-telemetry/sdk/Logs/Exporter/ConsoleExporter.php +++ /dev/null @@ -1,106 +0,0 @@ -transport = $transport; - } - - /** - * @param iterable $batch - */ - public function export(iterable $batch, ?CancellationInterface $cancellation = null): FutureInterface - { - $resource = null; - $scopes = []; - foreach ($batch as $record) { - if (!$resource) { - $resource = $this->convertResource($record->getResource()); - } - $key = $this->scopeKey($record->getInstrumentationScope()); - if (!array_key_exists($key, $scopes)) { - $scopes[$key] = $this->convertInstrumentationScope($record->getInstrumentationScope()); - } - $scopes[$key]['logs'][] = $this->convertLogRecord($record); - } - $output = [ - 'resource' => $resource, - 'scopes' => array_values($scopes), - ]; - $this->transport->send(json_encode($output, JSON_PRETTY_PRINT)); - - return new CompletedFuture(true); - } - - public function forceFlush(?CancellationInterface $cancellation = null): bool - { - return true; - } - - public function shutdown(?CancellationInterface $cancellation = null): bool - { - return true; - } - private function convertLogRecord(ReadableLogRecord $record): array - { - $spanContext = $record->getSpanContext(); - - return [ - 'timestamp' => $record->getTimestamp(), - 'observed_timestamp' => $record->getObservedTimestamp(), - 'severity_number' => $record->getSeverityNumber(), - 'severity_text' => $record->getSeverityText(), - 'body' => $record->getBody(), - 'trace_id' => $spanContext !== null ? $spanContext->getTraceId() : '', - 'span_id' => $spanContext !== null ? $spanContext->getSpanId() : '', - 'trace_flags' => $spanContext !== null ? $spanContext->getTraceFlags() : null, - 'attributes' => $record->getAttributes()->toArray(), - 'dropped_attributes_count' => $record->getAttributes()->getDroppedAttributesCount(), - ]; - } - - private function convertResource(ResourceInfo $resource): array - { - return [ - 'attributes' => $resource->getAttributes()->toArray(), - 'dropped_attributes_count' => $resource->getAttributes()->getDroppedAttributesCount(), - ]; - } - - private function scopeKey(InstrumentationScopeInterface $scope): string - { - return serialize([$scope->getName(), $scope->getVersion(), $scope->getSchemaUrl(), $scope->getAttributes()]); - } - - private function convertInstrumentationScope(InstrumentationScopeInterface $scope): array - { - return [ - 'name' => $scope->getName(), - 'version' => $scope->getVersion(), - 'attributes' => $scope->getAttributes()->toArray(), - 'dropped_attributes_count' => $scope->getAttributes()->getDroppedAttributesCount(), - 'schema_url' => $scope->getSchemaUrl(), - 'logs' => [], - ]; - } -} diff --git a/vendor/open-telemetry/sdk/Logs/Exporter/ConsoleExporterFactory.php b/vendor/open-telemetry/sdk/Logs/Exporter/ConsoleExporterFactory.php deleted file mode 100644 index a959540a0..000000000 --- a/vendor/open-telemetry/sdk/Logs/Exporter/ConsoleExporterFactory.php +++ /dev/null @@ -1,19 +0,0 @@ -create('php://stdout', 'application/json'); - - return new ConsoleExporter($transport); - } -} diff --git a/vendor/open-telemetry/sdk/Logs/Exporter/InMemoryExporter.php b/vendor/open-telemetry/sdk/Logs/Exporter/InMemoryExporter.php deleted file mode 100644 index dca0531f3..000000000 --- a/vendor/open-telemetry/sdk/Logs/Exporter/InMemoryExporter.php +++ /dev/null @@ -1,48 +0,0 @@ -storage = $storage ?? new ArrayObject(); - } - - /** - * @inheritDoc - */ - public function export(iterable $batch, ?CancellationInterface $cancellation = null): FutureInterface - { - foreach ($batch as $record) { - $this->storage[] = $record; - } - - return new CompletedFuture(true); - } - - public function forceFlush(?CancellationInterface $cancellation = null): bool - { - return true; - } - - public function shutdown(?CancellationInterface $cancellation = null): bool - { - return true; - } - - public function getStorage(): ArrayObject - { - return $this->storage; - } -} diff --git a/vendor/open-telemetry/sdk/Logs/Exporter/InMemoryExporterFactory.php b/vendor/open-telemetry/sdk/Logs/Exporter/InMemoryExporterFactory.php deleted file mode 100644 index 6f24defe0..000000000 --- a/vendor/open-telemetry/sdk/Logs/Exporter/InMemoryExporterFactory.php +++ /dev/null @@ -1,16 +0,0 @@ -create(); - } -} diff --git a/vendor/open-telemetry/sdk/Logs/LogRecordExporterFactoryInterface.php b/vendor/open-telemetry/sdk/Logs/LogRecordExporterFactoryInterface.php deleted file mode 100644 index 523bec1ba..000000000 --- a/vendor/open-telemetry/sdk/Logs/LogRecordExporterFactoryInterface.php +++ /dev/null @@ -1,10 +0,0 @@ - $batch - */ - public function export(iterable $batch, ?CancellationInterface $cancellation = null): FutureInterface; - public function forceFlush(?CancellationInterface $cancellation = null): bool; - public function shutdown(?CancellationInterface $cancellation = null): bool; -} diff --git a/vendor/open-telemetry/sdk/Logs/LogRecordLimits.php b/vendor/open-telemetry/sdk/Logs/LogRecordLimits.php deleted file mode 100644 index 9f71e62ee..000000000 --- a/vendor/open-telemetry/sdk/Logs/LogRecordLimits.php +++ /dev/null @@ -1,29 +0,0 @@ -attributesFactory = $attributesFactory; - } - - public function getAttributeFactory(): AttributesFactoryInterface - { - return $this->attributesFactory; - } -} diff --git a/vendor/open-telemetry/sdk/Logs/LogRecordLimitsBuilder.php b/vendor/open-telemetry/sdk/Logs/LogRecordLimitsBuilder.php deleted file mode 100644 index 3aa5217ef..000000000 --- a/vendor/open-telemetry/sdk/Logs/LogRecordLimitsBuilder.php +++ /dev/null @@ -1,58 +0,0 @@ -attributeCountLimit = $attributeCountLimit; - - return $this; - } - - /** - * @param int $attributeValueLengthLimit Maximum allowed attribute value length - */ - public function setAttributeValueLengthLimit(int $attributeValueLengthLimit): LogRecordLimitsBuilder - { - $this->attributeValueLengthLimit = $attributeValueLengthLimit; - - return $this; - } - - /** - * @see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/configuration/sdk-environment-variables.md#attribute-limits - */ - public function build(): LogRecordLimits - { - $attributeCountLimit = $this->attributeCountLimit - ?: Configuration::getInt(Variables::OTEL_LOGRECORD_ATTRIBUTE_COUNT_LIMIT); - $attributeValueLengthLimit = $this->attributeValueLengthLimit - ?: Configuration::getInt(Variables::OTEL_LOGRECORD_ATTRIBUTE_VALUE_LENGTH_LIMIT); - - if ($attributeValueLengthLimit === PHP_INT_MAX) { - $attributeValueLengthLimit = null; - } - - $attributesFactory = Attributes::factory($attributeCountLimit, $attributeValueLengthLimit); - - return new LogRecordLimits($attributesFactory); - } -} diff --git a/vendor/open-telemetry/sdk/Logs/LogRecordProcessorFactory.php b/vendor/open-telemetry/sdk/Logs/LogRecordProcessorFactory.php deleted file mode 100644 index dec463735..000000000 --- a/vendor/open-telemetry/sdk/Logs/LogRecordProcessorFactory.php +++ /dev/null @@ -1,62 +0,0 @@ -createProcessor($name, $exporter, $meterProvider); - } - - switch (count($processors)) { - case 0: - return NoopLogRecordProcessor::getInstance(); - case 1: - return $processors[0]; - default: - return new MultiLogRecordProcessor($processors); - } - } - - private function createProcessor(string $name, LogRecordExporterInterface $exporter, ?MeterProviderInterface $meterProvider = null): LogRecordProcessorInterface - { - switch ($name) { - case KnownValues::VALUE_BATCH: - return new BatchLogRecordProcessor( - $exporter, - ClockFactory::getDefault(), - Configuration::getInt(Variables::OTEL_BLRP_MAX_QUEUE_SIZE), - Configuration::getInt(Variables::OTEL_BLRP_SCHEDULE_DELAY), - Configuration::getInt(Variables::OTEL_BLRP_EXPORT_TIMEOUT), - Configuration::getInt(Variables::OTEL_BLRP_MAX_EXPORT_BATCH_SIZE), - true, - $meterProvider, - ); - case KnownValues::VALUE_SIMPLE: - return new SimpleLogRecordProcessor($exporter); - case Values::VALUE_NOOP: - case Values::VALUE_NONE: - return NoopLogRecordProcessor::getInstance(); - default: - throw new InvalidArgumentException('Unknown processor: ' . $name); - } - } -} diff --git a/vendor/open-telemetry/sdk/Logs/LogRecordProcessorInterface.php b/vendor/open-telemetry/sdk/Logs/LogRecordProcessorInterface.php deleted file mode 100644 index 1977d48fd..000000000 --- a/vendor/open-telemetry/sdk/Logs/LogRecordProcessorInterface.php +++ /dev/null @@ -1,15 +0,0 @@ -loggerSharedState = $loggerSharedState; - $this->scope = $scope; - } - - public function emit(LogRecord $logRecord): void - { - $readWriteLogRecord = new ReadWriteLogRecord($this->scope, $this->loggerSharedState, $logRecord); - // @see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/logs/sdk.md#onemit - $this->loggerSharedState->getProcessor()->onEmit( - $readWriteLogRecord, - $readWriteLogRecord->getContext(), - ); - } -} diff --git a/vendor/open-telemetry/sdk/Logs/LoggerProvider.php b/vendor/open-telemetry/sdk/Logs/LoggerProvider.php deleted file mode 100644 index f0a8266c1..000000000 --- a/vendor/open-telemetry/sdk/Logs/LoggerProvider.php +++ /dev/null @@ -1,56 +0,0 @@ -loggerSharedState = new LoggerSharedState( - $resource ?? ResourceInfoFactory::defaultResource(), - (new LogRecordLimitsBuilder())->build(), - $processor - ); - $this->instrumentationScopeFactory = $instrumentationScopeFactory; - } - - /** - * @see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/logs/sdk.md#logger-creation - */ - public function getLogger(string $name, ?string $version = null, ?string $schemaUrl = null, iterable $attributes = []): LoggerInterface - { - if ($this->loggerSharedState->hasShutdown()) { - return NoopLogger::getInstance(); - } - $scope = $this->instrumentationScopeFactory->create($name, $version, $schemaUrl, $attributes); - - return new Logger($this->loggerSharedState, $scope); - } - - public function shutdown(CancellationInterface $cancellation = null): bool - { - return $this->loggerSharedState->shutdown($cancellation); - } - - public function forceFlush(CancellationInterface $cancellation = null): bool - { - return $this->loggerSharedState->forceFlush($cancellation); - } - - public static function builder(): LoggerProviderBuilder - { - return new LoggerProviderBuilder(); - } -} diff --git a/vendor/open-telemetry/sdk/Logs/LoggerProviderBuilder.php b/vendor/open-telemetry/sdk/Logs/LoggerProviderBuilder.php deleted file mode 100644 index 37c56245c..000000000 --- a/vendor/open-telemetry/sdk/Logs/LoggerProviderBuilder.php +++ /dev/null @@ -1,55 +0,0 @@ - - */ - private array $processors = []; - private ?ResourceInfo $resource = null; - - public function addLogRecordProcessor(LogRecordProcessorInterface $processor): self - { - $this->processors[] = $processor; - - return $this; - } - - public function setResource(ResourceInfo $resource): self - { - $this->resource = $resource; - - return $this; - } - - public function build(): LoggerProviderInterface - { - return new LoggerProvider( - $this->buildProcessor(), - new InstrumentationScopeFactory(Attributes::factory()), - $this->resource - ); - } - - private function buildProcessor(): LogRecordProcessorInterface - { - switch (count($this->processors)) { - case 0: - return NoopLogRecordProcessor::getInstance(); - case 1: - return $this->processors[0]; - default: - return new MultiLogRecordProcessor($this->processors); - } - } -} diff --git a/vendor/open-telemetry/sdk/Logs/LoggerProviderFactory.php b/vendor/open-telemetry/sdk/Logs/LoggerProviderFactory.php deleted file mode 100644 index 3d0e965fd..000000000 --- a/vendor/open-telemetry/sdk/Logs/LoggerProviderFactory.php +++ /dev/null @@ -1,24 +0,0 @@ -create(); - $processor = (new LogRecordProcessorFactory())->create($exporter, $meterProvider); - $instrumentationScopeFactory = new InstrumentationScopeFactory((new LogRecordLimitsBuilder())->build()->getAttributeFactory()); - - return new LoggerProvider($processor, $instrumentationScopeFactory); - } -} diff --git a/vendor/open-telemetry/sdk/Logs/LoggerProviderInterface.php b/vendor/open-telemetry/sdk/Logs/LoggerProviderInterface.php deleted file mode 100644 index 5debb13cc..000000000 --- a/vendor/open-telemetry/sdk/Logs/LoggerProviderInterface.php +++ /dev/null @@ -1,13 +0,0 @@ -resource = $resource; - $this->limits = $limits; - $this->processor = $processor; - } - public function hasShutdown(): bool - { - return null !== $this->shutdownResult; - } - - public function getResource(): ResourceInfo - { - return $this->resource; - } - - public function getProcessor(): LogRecordProcessorInterface - { - return $this->processor; - } - - public function getLogRecordLimits(): LogRecordLimits - { - return $this->limits; - } - - public function shutdown(?CancellationInterface $cancellation = null): bool - { - if ($this->shutdownResult !== null) { - return $this->shutdownResult; - } - $this->shutdownResult = $this->processor->shutdown($cancellation); - - return $this->shutdownResult; - } - - public function forceFlush(?CancellationInterface $cancellation = null): bool - { - return $this->processor->forceFlush($cancellation); - } -} diff --git a/vendor/open-telemetry/sdk/Logs/NoopLoggerProvider.php b/vendor/open-telemetry/sdk/Logs/NoopLoggerProvider.php deleted file mode 100644 index 819e02ee5..000000000 --- a/vendor/open-telemetry/sdk/Logs/NoopLoggerProvider.php +++ /dev/null @@ -1,33 +0,0 @@ - 'batching']; - private const ATTRIBUTES_QUEUED = self::ATTRIBUTES_PROCESSOR + ['state' => 'queued']; - private const ATTRIBUTES_PENDING = self::ATTRIBUTES_PROCESSOR + ['state' => 'pending']; - private const ATTRIBUTES_PROCESSED = self::ATTRIBUTES_PROCESSOR + ['state' => 'processed']; - private const ATTRIBUTES_DROPPED = self::ATTRIBUTES_PROCESSOR + ['state' => 'dropped']; - private const ATTRIBUTES_FREE = self::ATTRIBUTES_PROCESSOR + ['state' => 'free']; - - private LogRecordExporterInterface $exporter; - private ClockInterface $clock; - private int $maxQueueSize; - private int $scheduledDelayNanos; - private int $maxExportBatchSize; - private bool $autoFlush; - private ContextInterface $exportContext; - - private ?int $nextScheduledRun = null; - private bool $running = false; - private int $dropped = 0; - private int $processed = 0; - private int $batchId = 0; - private int $queueSize = 0; - /** @var list */ - private array $batch = []; - /** @var SplQueue> */ - private SplQueue $queue; - /** @var SplQueue */ - private SplQueue $flush; - - private bool $closed = false; - - public function __construct( - LogRecordExporterInterface $exporter, - ClockInterface $clock, - int $maxQueueSize = self::DEFAULT_MAX_QUEUE_SIZE, - int $scheduledDelayMillis = self::DEFAULT_SCHEDULE_DELAY, - int $exportTimeoutMillis = self::DEFAULT_EXPORT_TIMEOUT, - int $maxExportBatchSize = self::DEFAULT_MAX_EXPORT_BATCH_SIZE, - bool $autoFlush = true, - ?MeterProviderInterface $meterProvider = null - ) { - if ($maxQueueSize <= 0) { - throw new InvalidArgumentException(sprintf('Maximum queue size (%d) must be greater than zero', $maxQueueSize)); - } - if ($scheduledDelayMillis <= 0) { - throw new InvalidArgumentException(sprintf('Scheduled delay (%d) must be greater than zero', $scheduledDelayMillis)); - } - if ($exportTimeoutMillis <= 0) { - throw new InvalidArgumentException(sprintf('Export timeout (%d) must be greater than zero', $exportTimeoutMillis)); - } - if ($maxExportBatchSize <= 0) { - throw new InvalidArgumentException(sprintf('Maximum export batch size (%d) must be greater than zero', $maxExportBatchSize)); - } - if ($maxExportBatchSize > $maxQueueSize) { - throw new InvalidArgumentException(sprintf('Maximum export batch size (%d) must be less than or equal to maximum queue size (%d)', $maxExportBatchSize, $maxQueueSize)); - } - - $this->exporter = $exporter; - $this->clock = $clock; - $this->maxQueueSize = $maxQueueSize; - $this->scheduledDelayNanos = $scheduledDelayMillis * 1_000_000; - $this->maxExportBatchSize = $maxExportBatchSize; - $this->autoFlush = $autoFlush; - - $this->exportContext = Context::getCurrent(); - $this->queue = new SplQueue(); - $this->flush = new SplQueue(); - - if ($meterProvider === null) { - return; - } - - $meter = $meterProvider->getMeter('io.opentelemetry.sdk'); - $meter - ->createObservableUpDownCounter( - 'otel.logs.log_processor.logs', - '{logs}', - 'The number of log records received by the processor', - ) - ->observe(function (ObserverInterface $observer): void { - $queued = $this->queue->count() * $this->maxExportBatchSize + count($this->batch); - $pending = $this->queueSize - $queued; - $processed = $this->processed; - $dropped = $this->dropped; - - $observer->observe($queued, self::ATTRIBUTES_QUEUED); - $observer->observe($pending, self::ATTRIBUTES_PENDING); - $observer->observe($processed, self::ATTRIBUTES_PROCESSED); - $observer->observe($dropped, self::ATTRIBUTES_DROPPED); - }); - $meter - ->createObservableUpDownCounter( - 'otel.logs.log_processor.queue.limit', - '{logs}', - 'The queue size limit', - ) - ->observe(function (ObserverInterface $observer): void { - $observer->observe($this->maxQueueSize, self::ATTRIBUTES_PROCESSOR); - }); - $meter - ->createObservableUpDownCounter( - 'otel.logs.log_processor.queue.usage', - '{logs}', - 'The current queue usage', - ) - ->observe(function (ObserverInterface $observer): void { - $queued = $this->queue->count() * $this->maxExportBatchSize + count($this->batch); - $pending = $this->queueSize - $queued; - $free = $this->maxQueueSize - $this->queueSize; - - $observer->observe($queued, self::ATTRIBUTES_QUEUED); - $observer->observe($pending, self::ATTRIBUTES_PENDING); - $observer->observe($free, self::ATTRIBUTES_FREE); - }); - } - - public function onEmit(ReadWriteLogRecord $record, ?ContextInterface $context = null): void - { - if ($this->closed) { - return; - } - - if ($this->queueSize === $this->maxQueueSize) { - $this->dropped++; - - return; - } - - $this->queueSize++; - $this->batch[] = $record; - $this->nextScheduledRun ??= $this->clock->now() + $this->scheduledDelayNanos; - - if (count($this->batch) === $this->maxExportBatchSize) { - $this->enqueueBatch(); - } - if ($this->autoFlush) { - $this->flush(); - } - } - - public function forceFlush(?CancellationInterface $cancellation = null): bool - { - if ($this->closed) { - return false; - } - - return $this->flush(__FUNCTION__, $cancellation); - } - - public function shutdown(?CancellationInterface $cancellation = null): bool - { - if ($this->closed) { - return false; - } - - $this->closed = true; - - return $this->flush(__FUNCTION__, $cancellation); - } - - private function flush(?string $flushMethod = null, ?CancellationInterface $cancellation = null): bool - { - if ($flushMethod !== null) { - $flushId = $this->batchId + $this->queue->count() + (int) (bool) $this->batch; - $this->flush->enqueue([$flushId, $flushMethod, $cancellation, !$this->running, Context::getCurrent()]); - } - - if ($this->running) { - return false; - } - - $success = true; - $exception = null; - $this->running = true; - - try { - for (;;) { - while (!$this->flush->isEmpty() && $this->flush->bottom()[0] <= $this->batchId) { - [, $flushMethod, $cancellation, $propagateResult, $context] = $this->flush->dequeue(); - $scope = $context->activate(); - - try { - $result = $this->exporter->$flushMethod($cancellation); - if ($propagateResult) { - $success = $result; - } - } catch (Throwable $e) { - if ($propagateResult) { - $exception = $e; - } else { - self::logError(sprintf('Unhandled %s error', $flushMethod), ['exception' => $e]); - } - } finally { - $scope->detach(); - } - } - - if (!$this->shouldFlush()) { - break; - } - - if ($this->queue->isEmpty()) { - $this->enqueueBatch(); - } - $batchSize = count($this->queue->bottom()); - $this->batchId++; - $scope = $this->exportContext->activate(); - - try { - $this->exporter->export($this->queue->dequeue())->await(); - } catch (Throwable $e) { - self::logError('Unhandled export error', ['exception' => $e]); - } finally { - $this->processed += $batchSize; - $this->queueSize -= $batchSize; - $scope->detach(); - } - } - } finally { - $this->running = false; - } - - if ($exception !== null) { - throw $exception; - } - - return $success; - } - - private function shouldFlush(): bool - { - return !$this->flush->isEmpty() - || $this->autoFlush && !$this->queue->isEmpty() - || $this->autoFlush && $this->nextScheduledRun !== null && $this->clock->now() > $this->nextScheduledRun; - } - - private function enqueueBatch(): void - { - assert($this->batch !== []); - - $this->queue->enqueue($this->batch); - $this->batch = []; - $this->nextScheduledRun = null; - } -} diff --git a/vendor/open-telemetry/sdk/Logs/Processor/MultiLogRecordProcessor.php b/vendor/open-telemetry/sdk/Logs/Processor/MultiLogRecordProcessor.php deleted file mode 100644 index 753a75df8..000000000 --- a/vendor/open-telemetry/sdk/Logs/Processor/MultiLogRecordProcessor.php +++ /dev/null @@ -1,62 +0,0 @@ -processors[] = $processor; - } - } - - public function onEmit(ReadWriteLogRecord $record, ?ContextInterface $context = null): void - { - foreach ($this->processors as $processor) { - $processor->onEmit($record, $context); - } - } - - /** - * Returns `true` if all processors shut down successfully, else `false` - * Subsequent calls to `shutdown` are a no-op. - */ - public function shutdown(?CancellationInterface $cancellation = null): bool - { - $result = true; - foreach ($this->processors as $processor) { - if (!$processor->shutdown($cancellation)) { - $result = false; - } - } - - return $result; - } - - /** - * Returns `true` if all processors flush successfully, else `false`. - */ - public function forceFlush(?CancellationInterface $cancellation = null): bool - { - $result = true; - foreach ($this->processors as $processor) { - if (!$processor->forceFlush($cancellation)) { - $result = false; - } - } - - return $result; - } -} diff --git a/vendor/open-telemetry/sdk/Logs/Processor/NoopLogRecordProcessor.php b/vendor/open-telemetry/sdk/Logs/Processor/NoopLogRecordProcessor.php deleted file mode 100644 index 7028052e1..000000000 --- a/vendor/open-telemetry/sdk/Logs/Processor/NoopLogRecordProcessor.php +++ /dev/null @@ -1,37 +0,0 @@ -exporter = $exporter; - } - - /** - * @see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/logs/sdk.md#onemit - */ - public function onEmit(ReadWriteLogRecord $record, ?ContextInterface $context = null): void - { - $this->exporter->export([$record]); - } - - public function shutdown(?CancellationInterface $cancellation = null): bool - { - return $this->exporter->shutdown($cancellation); - } - - public function forceFlush(?CancellationInterface $cancellation = null): bool - { - return $this->exporter->forceFlush($cancellation); - } -} diff --git a/vendor/open-telemetry/sdk/Logs/PsrSeverityMapperInterface.php b/vendor/open-telemetry/sdk/Logs/PsrSeverityMapperInterface.php deleted file mode 100644 index 3bb288c56..000000000 --- a/vendor/open-telemetry/sdk/Logs/PsrSeverityMapperInterface.php +++ /dev/null @@ -1,50 +0,0 @@ - 7, - // Interesting events. Examples: User logs in, SQL logs. - PsrLogLevel::INFO => 6, - // Normal but significant events. - PsrLogLevel::NOTICE => 5, - // Exceptional occurrences that are not errors. Examples: Use of deprecated APIs, poor use of an API, - // undesirable things that are not necessarily wrong. - PsrLogLevel::WARNING => 4, - // Runtime errors that do not require immediate action but should typically be logged and monitored. - PsrLogLevel::ERROR => 3, - // Critical conditions. Example: Application component unavailable, unexpected exception. - PsrLogLevel::CRITICAL => 2, - // Action must be taken immediately. Example: Entire website down, database unavailable, etc. - // This should trigger the alerts and wake you up. - PsrLogLevel::ALERT => 1, - // Emergency: system is unusable. - PsrLogLevel::EMERGENCY => 0, - ]; - - /** - * Mappig of OpenTelemetry SeverityNumber to PsrLogLevel. - * @see: https://github.com/open-telemetry/opentelemetry-specification/blob/v1.7.0/specification/logs/data-model.md#field-severitynumber - */ - public const SEVERITY_NUMBER = [ - PsrLogLevel::DEBUG => 5, - PsrLogLevel::INFO => 9, - PsrLogLevel::NOTICE => 10, - PsrLogLevel::WARNING => 13, - PsrLogLevel::ERROR => 17, - PsrLogLevel::CRITICAL => 18, - PsrLogLevel::ALERT => 21, - PsrLogLevel::EMERGENCY => 22, - ]; -} diff --git a/vendor/open-telemetry/sdk/Logs/ReadWriteLogRecord.php b/vendor/open-telemetry/sdk/Logs/ReadWriteLogRecord.php deleted file mode 100644 index 9bb4b1564..000000000 --- a/vendor/open-telemetry/sdk/Logs/ReadWriteLogRecord.php +++ /dev/null @@ -1,9 +0,0 @@ -scope = $scope; - $this->loggerSharedState = $loggerSharedState; - - parent::__construct($logRecord->body); - $this->timestamp = $logRecord->timestamp; - $this->observedTimestamp = $logRecord->observedTimestamp - ?? (int) (microtime(true) * LogRecord::NANOS_PER_SECOND); - $this->context = $logRecord->context; - $context = $this->context ?? Context::getCurrent(); - $this->spanContext = Span::fromContext($context)->getContext(); - $this->severityNumber = $logRecord->severityNumber; - $this->severityText = $logRecord->severityText; - - //convert attributes now so that excess data is not sent to processors - $this->convertedAttributes = $this->loggerSharedState - ->getLogRecordLimits() - ->getAttributeFactory() - ->builder($logRecord->attributes, new LogRecordAttributeValidator()) - ->build(); - } - - public function getInstrumentationScope(): InstrumentationScopeInterface - { - return $this->scope; - } - - public function getResource(): ResourceInfo - { - return $this->loggerSharedState->getResource(); - } - - public function getTimestamp(): ?int - { - return $this->timestamp; - } - - public function getObservedTimestamp(): ?int - { - return $this->observedTimestamp; - } - - public function getContext(): ?ContextInterface - { - return $this->context; - } - - public function getSpanContext(): ?SpanContextInterface - { - return $this->spanContext; - } - - public function getSeverityNumber(): ?int - { - return $this->severityNumber; - } - - public function getSeverityText(): ?string - { - return $this->severityText; - } - - /** - * @return mixed|null - */ - public function getBody() - { - return $this->body; - } - - public function getAttributes(): AttributesInterface - { - return $this->convertedAttributes; - } -} diff --git a/vendor/open-telemetry/sdk/Logs/SimplePsrFileLogger.php b/vendor/open-telemetry/sdk/Logs/SimplePsrFileLogger.php deleted file mode 100644 index 9d9d55de6..000000000 --- a/vendor/open-telemetry/sdk/Logs/SimplePsrFileLogger.php +++ /dev/null @@ -1,83 +0,0 @@ -filename = $filename; - $this->loggerName = $loggerName; - } - - /** - * @psalm-suppress MoreSpecificImplementedParamType - */ - public function log($level, $message, array $context = []): void - { - $level = strtolower($level); - - if (!in_array($level, self::getLogLevels(), true)) { - throw new InvalidArgumentException( - sprintf('Invalid Log level: "%s"', $level) - ); - } - - file_put_contents($this->filename, $this->formatLog((string) $level, (string) $message, $context), FILE_APPEND); - } - - /** - * @param string $level - * @param string $message - * @param array $context - * @return string - */ - private function formatLog(string $level, string $message, array $context = []): string - { - try { - $encodedContext = json_encode($context, JSON_THROW_ON_ERROR); - } catch (Throwable $t) { - $encodedContext = sprintf('(Could not encode context: %s)', $t->getMessage()); - } - - return sprintf( - '[%s] %s %s: %s %s%s', - date(DATE_RFC3339_EXTENDED), - $this->loggerName, - $level, - $message, - $encodedContext, - PHP_EOL - ); - } - - /** - * @return array - */ - private static function getLogLevels(): array - { - return self::$logLevels ?? self::$logLevels = (new ReflectionClass(LogLevel::class))->getConstants(); - } -} diff --git a/vendor/open-telemetry/sdk/Metrics/Aggregation/ExplicitBucketHistogramAggregation.php b/vendor/open-telemetry/sdk/Metrics/Aggregation/ExplicitBucketHistogramAggregation.php deleted file mode 100644 index d68ecd830..000000000 --- a/vendor/open-telemetry/sdk/Metrics/Aggregation/ExplicitBucketHistogramAggregation.php +++ /dev/null @@ -1,167 +0,0 @@ - - */ -final class ExplicitBucketHistogramAggregation implements AggregationInterface -{ - /** - * @var list - * @readonly - */ - public array $boundaries; - - /** - * @param list $boundaries strictly ascending histogram bucket boundaries - */ - public function __construct(array $boundaries) - { - $this->boundaries = $boundaries; - } - - public function initialize(): ExplicitBucketHistogramSummary - { - return new ExplicitBucketHistogramSummary( - 0, - 0, - +INF, - -INF, - array_fill(0, count($this->boundaries) + 1, 0), - ); - } - - /** - * @param ExplicitBucketHistogramSummary $summary - */ - public function record($summary, $value, AttributesInterface $attributes, ContextInterface $context, int $timestamp): void - { - $boundariesCount = count($this->boundaries); - for ($i = 0; $i < $boundariesCount && $this->boundaries[$i] < $value; $i++) { - } - $summary->count++; - $summary->sum += $value; - $summary->min = self::min($value, $summary->min); - $summary->max = self::max($value, $summary->max); - $summary->buckets[$i]++; - } - - /** - * @param ExplicitBucketHistogramSummary $left - * @param ExplicitBucketHistogramSummary $right - */ - public function merge($left, $right): ExplicitBucketHistogramSummary - { - $count = $left->count + $right->count; - $sum = $left->sum + $right->sum; - $min = self::min($left->min, $right->min); - $max = self::max($left->max, $right->max); - $buckets = $right->buckets; - foreach ($left->buckets as $i => $bucketCount) { - $buckets[$i] += $bucketCount; - } - - return new ExplicitBucketHistogramSummary( - $count, - $sum, - $min, - $max, - $buckets, - ); - } - - /** - * @param ExplicitBucketHistogramSummary $left - * @param ExplicitBucketHistogramSummary $right - */ - public function diff($left, $right): ExplicitBucketHistogramSummary - { - $count = -$left->count + $right->count; - $sum = -$left->sum + $right->sum; - $min = $left->min > $right->min ? $right->min : NAN; - $max = $left->max < $right->max ? $right->max : NAN; - $buckets = $right->buckets; - foreach ($left->buckets as $i => $bucketCount) { - $buckets[$i] -= $bucketCount; - } - - return new ExplicitBucketHistogramSummary( - $count, - $sum, - $min, - $max, - $buckets, - ); - } - - /** - * @param array $summaries - */ - public function toData( - array $attributes, - array $summaries, - array $exemplars, - int $startTimestamp, - int $timestamp, - $temporality - ): Data\Histogram { - $dataPoints = []; - foreach ($attributes as $key => $dataPointAttributes) { - if ($summaries[$key]->count === 0) { - continue; - } - - $dataPoints[] = new Data\HistogramDataPoint( - $summaries[$key]->count, - $summaries[$key]->sum, - $summaries[$key]->min, - $summaries[$key]->max, - $summaries[$key]->buckets, - $this->boundaries, - $dataPointAttributes, - $startTimestamp, - $timestamp, - $exemplars[$key] ?? [], - ); - } - - return new Data\Histogram( - $dataPoints, - $temporality, - ); - } - - /** - * @param float|int $left - * @param float|int $right - * @return float|int - */ - private static function min($left, $right) - { - /** @noinspection PhpConditionAlreadyCheckedInspection */ - return $left <= $right ? $left : ($right <= $left ? $right : NAN); - } - - /** - * @param float|int $left - * @param float|int $right - * @return float|int - */ - private static function max($left, $right) - { - /** @noinspection PhpConditionAlreadyCheckedInspection */ - return $left >= $right ? $left : ($right >= $left ? $right : NAN); - } -} diff --git a/vendor/open-telemetry/sdk/Metrics/Aggregation/ExplicitBucketHistogramSummary.php b/vendor/open-telemetry/sdk/Metrics/Aggregation/ExplicitBucketHistogramSummary.php deleted file mode 100644 index 1878a34a0..000000000 --- a/vendor/open-telemetry/sdk/Metrics/Aggregation/ExplicitBucketHistogramSummary.php +++ /dev/null @@ -1,40 +0,0 @@ -count = $count; - $this->sum = $sum; - $this->min = $min; - $this->max = $max; - $this->buckets = $buckets; - } -} diff --git a/vendor/open-telemetry/sdk/Metrics/Aggregation/LastValueAggregation.php b/vendor/open-telemetry/sdk/Metrics/Aggregation/LastValueAggregation.php deleted file mode 100644 index aff04e315..000000000 --- a/vendor/open-telemetry/sdk/Metrics/Aggregation/LastValueAggregation.php +++ /dev/null @@ -1,81 +0,0 @@ - - */ -final class LastValueAggregation implements AggregationInterface -{ - public function initialize(): LastValueSummary - { - return new LastValueSummary(null, 0); - } - - /** - * @param LastValueSummary $summary - */ - public function record($summary, $value, AttributesInterface $attributes, ContextInterface $context, int $timestamp): void - { - if ($summary->value === null || $timestamp >= $summary->timestamp) { - $summary->value = $value; - $summary->timestamp = $timestamp; - } - } - - /** - * @param LastValueSummary $left - * @param LastValueSummary $right - */ - public function merge($left, $right): LastValueSummary - { - return $right->timestamp >= $left->timestamp ? $right : $left; - } - - /** - * @param LastValueSummary $left - * @param LastValueSummary $right - */ - public function diff($left, $right): LastValueSummary - { - return $right->timestamp >= $left->timestamp ? $right : $left; - } - - /** - * @param array $summaries - */ - public function toData( - array $attributes, - array $summaries, - array $exemplars, - int $startTimestamp, - int $timestamp, - $temporality - ): Data\Gauge { - $dataPoints = []; - foreach ($attributes as $key => $dataPointAttributes) { - if ($summaries[$key]->value === null) { - continue; - } - - $dataPoints[] = new Data\NumberDataPoint( - $summaries[$key]->value, - $dataPointAttributes, - $startTimestamp, - $timestamp, - $exemplars[$key] ?? [], - ); - } - - return new Data\Gauge( - $dataPoints, - ); - } -} diff --git a/vendor/open-telemetry/sdk/Metrics/Aggregation/LastValueSummary.php b/vendor/open-telemetry/sdk/Metrics/Aggregation/LastValueSummary.php deleted file mode 100644 index 6cdb5ac9f..000000000 --- a/vendor/open-telemetry/sdk/Metrics/Aggregation/LastValueSummary.php +++ /dev/null @@ -1,22 +0,0 @@ -value = $value; - $this->timestamp = $timestamp; - } -} diff --git a/vendor/open-telemetry/sdk/Metrics/Aggregation/SumAggregation.php b/vendor/open-telemetry/sdk/Metrics/Aggregation/SumAggregation.php deleted file mode 100644 index dc317ce73..000000000 --- a/vendor/open-telemetry/sdk/Metrics/Aggregation/SumAggregation.php +++ /dev/null @@ -1,91 +0,0 @@ - - */ -final class SumAggregation implements AggregationInterface -{ - private bool $monotonic; - - public function __construct(bool $monotonic = false) - { - $this->monotonic = $monotonic; - } - - public function initialize(): SumSummary - { - return new SumSummary(0); - } - - /** - * @param SumSummary $summary - */ - public function record($summary, $value, AttributesInterface $attributes, ContextInterface $context, int $timestamp): void - { - $summary->value += $value; - } - - /** - * @param SumSummary $left - * @param SumSummary $right - */ - public function merge($left, $right): SumSummary - { - $sum = $left->value + $right->value; - - return new SumSummary( - $sum, - ); - } - - /** - * @param SumSummary $left - * @param SumSummary $right - */ - public function diff($left, $right): SumSummary - { - $sum = -$left->value + $right->value; - - return new SumSummary( - $sum, - ); - } - - /** - * @param array $summaries - */ - public function toData( - array $attributes, - array $summaries, - array $exemplars, - int $startTimestamp, - int $timestamp, - $temporality - ): Data\Sum { - $dataPoints = []; - foreach ($attributes as $key => $dataPointAttributes) { - $dataPoints[] = new Data\NumberDataPoint( - $summaries[$key]->value, - $dataPointAttributes, - $startTimestamp, - $timestamp, - $exemplars[$key] ?? [], - ); - } - - return new Data\Sum( - $dataPoints, - $temporality, - $this->monotonic, - ); - } -} diff --git a/vendor/open-telemetry/sdk/Metrics/Aggregation/SumSummary.php b/vendor/open-telemetry/sdk/Metrics/Aggregation/SumSummary.php deleted file mode 100644 index 9b257193c..000000000 --- a/vendor/open-telemetry/sdk/Metrics/Aggregation/SumSummary.php +++ /dev/null @@ -1,20 +0,0 @@ -value = $value; - } -} diff --git a/vendor/open-telemetry/sdk/Metrics/AggregationInterface.php b/vendor/open-telemetry/sdk/Metrics/AggregationInterface.php deleted file mode 100644 index 0a85207e0..000000000 --- a/vendor/open-telemetry/sdk/Metrics/AggregationInterface.php +++ /dev/null @@ -1,57 +0,0 @@ - $attributes - * @psalm-param array $summaries - * @param array> $exemplars - * @param string|Temporality $temporality - */ - public function toData( - array $attributes, - array $summaries, - array $exemplars, - int $startTimestamp, - int $timestamp, - $temporality - ): DataInterface; -} diff --git a/vendor/open-telemetry/sdk/Metrics/AggregationTemporalitySelectorInterface.php b/vendor/open-telemetry/sdk/Metrics/AggregationTemporalitySelectorInterface.php deleted file mode 100644 index f046d033d..000000000 --- a/vendor/open-telemetry/sdk/Metrics/AggregationTemporalitySelectorInterface.php +++ /dev/null @@ -1,21 +0,0 @@ -attributeKeys = $attributeKeys; - } - - public function process(AttributesInterface $attributes, ContextInterface $context): AttributesInterface - { - $filtered = []; - foreach ($this->attributeKeys as $key) { - $filtered[$key] = $attributes->get($key); - } - - return new Attributes($filtered, 0); - } -} diff --git a/vendor/open-telemetry/sdk/Metrics/AttributeProcessor/IdentityAttributeProcessor.php b/vendor/open-telemetry/sdk/Metrics/AttributeProcessor/IdentityAttributeProcessor.php deleted file mode 100644 index f261563ea..000000000 --- a/vendor/open-telemetry/sdk/Metrics/AttributeProcessor/IdentityAttributeProcessor.php +++ /dev/null @@ -1,20 +0,0 @@ -writer = $writer; - $this->instrument = $instrument; - $this->referenceCounter = $referenceCounter; - - $this->referenceCounter->acquire(); - } - - public function __destruct() - { - $this->referenceCounter->release(); - } - - public function add($amount, iterable $attributes = [], $context = null): void - { - $this->writer->record($this->instrument, $amount, $attributes, $context); - } -} diff --git a/vendor/open-telemetry/sdk/Metrics/Data/DataInterface.php b/vendor/open-telemetry/sdk/Metrics/Data/DataInterface.php deleted file mode 100644 index 7aa0c0e20..000000000 --- a/vendor/open-telemetry/sdk/Metrics/Data/DataInterface.php +++ /dev/null @@ -1,9 +0,0 @@ -index = $index; - $this->value = $value; - $this->timestamp = $timestamp; - $this->attributes = $attributes; - $this->traceId = $traceId; - $this->spanId = $spanId; - } - - /** - * @param iterable $exemplars - * @return array> - */ - public static function groupByIndex(iterable $exemplars): array - { - $grouped = []; - foreach ($exemplars as $exemplar) { - $grouped[$exemplar->index][] = $exemplar; - } - - return $grouped; - } -} diff --git a/vendor/open-telemetry/sdk/Metrics/Data/Gauge.php b/vendor/open-telemetry/sdk/Metrics/Data/Gauge.php deleted file mode 100644 index 00eb50939..000000000 --- a/vendor/open-telemetry/sdk/Metrics/Data/Gauge.php +++ /dev/null @@ -1,22 +0,0 @@ - - * @readonly - */ - public iterable $dataPoints; - /** - * @param iterable $dataPoints - */ - public function __construct(iterable $dataPoints) - { - $this->dataPoints = $dataPoints; - } -} diff --git a/vendor/open-telemetry/sdk/Metrics/Data/Histogram.php b/vendor/open-telemetry/sdk/Metrics/Data/Histogram.php deleted file mode 100644 index 782698026..000000000 --- a/vendor/open-telemetry/sdk/Metrics/Data/Histogram.php +++ /dev/null @@ -1,29 +0,0 @@ - - * @readonly - */ - public iterable $dataPoints; - /** - * @var string|Temporality - * @readonly - */ - public $temporality; - /** - * @param iterable $dataPoints - * @param string|Temporality $temporality - */ - public function __construct(iterable $dataPoints, $temporality) - { - $this->dataPoints = $dataPoints; - $this->temporality = $temporality; - } -} diff --git a/vendor/open-telemetry/sdk/Metrics/Data/HistogramDataPoint.php b/vendor/open-telemetry/sdk/Metrics/Data/HistogramDataPoint.php deleted file mode 100644 index 4c9df07b4..000000000 --- a/vendor/open-telemetry/sdk/Metrics/Data/HistogramDataPoint.php +++ /dev/null @@ -1,76 +0,0 @@ - - * @readonly - */ - public array $explicitBounds; - /** - * @readonly - */ - public AttributesInterface $attributes; - /** - * @readonly - */ - public int $startTimestamp; - /** - * @readonly - */ - public int $timestamp; - /** - * @readonly - */ - public iterable $exemplars = []; - /** - * @param float|int $sum - * @param float|int $min - * @param float|int $max - * @param int[] $bucketCounts - * @param list $explicitBounds - */ - public function __construct(int $count, $sum, $min, $max, array $bucketCounts, array $explicitBounds, AttributesInterface $attributes, int $startTimestamp, int $timestamp, iterable $exemplars = []) - { - $this->count = $count; - $this->sum = $sum; - $this->min = $min; - $this->max = $max; - $this->bucketCounts = $bucketCounts; - $this->explicitBounds = $explicitBounds; - $this->attributes = $attributes; - $this->startTimestamp = $startTimestamp; - $this->timestamp = $timestamp; - $this->exemplars = $exemplars; - } -} diff --git a/vendor/open-telemetry/sdk/Metrics/Data/Metric.php b/vendor/open-telemetry/sdk/Metrics/Data/Metric.php deleted file mode 100644 index 41fcb52dd..000000000 --- a/vendor/open-telemetry/sdk/Metrics/Data/Metric.php +++ /dev/null @@ -1,46 +0,0 @@ -instrumentationScope = $instrumentationScope; - $this->resource = $resource; - $this->name = $name; - $this->description = $description; - $this->unit = $unit; - $this->data = $data; - } -} diff --git a/vendor/open-telemetry/sdk/Metrics/Data/NumberDataPoint.php b/vendor/open-telemetry/sdk/Metrics/Data/NumberDataPoint.php deleted file mode 100644 index 1d00e783a..000000000 --- a/vendor/open-telemetry/sdk/Metrics/Data/NumberDataPoint.php +++ /dev/null @@ -1,43 +0,0 @@ -value = $value; - $this->attributes = $attributes; - $this->startTimestamp = $startTimestamp; - $this->timestamp = $timestamp; - $this->exemplars = $exemplars; - } -} diff --git a/vendor/open-telemetry/sdk/Metrics/Data/Sum.php b/vendor/open-telemetry/sdk/Metrics/Data/Sum.php deleted file mode 100644 index 77c4c1021..000000000 --- a/vendor/open-telemetry/sdk/Metrics/Data/Sum.php +++ /dev/null @@ -1,34 +0,0 @@ - - * @readonly - */ - public iterable $dataPoints; - /** - * @var string|Temporality - * @readonly - */ - public $temporality; - /** - * @readonly - */ - public bool $monotonic; - /** - * @param iterable $dataPoints - * @param string|Temporality $temporality - */ - public function __construct(iterable $dataPoints, $temporality, bool $monotonic) - { - $this->dataPoints = $dataPoints; - $this->temporality = $temporality; - $this->monotonic = $monotonic; - } -} diff --git a/vendor/open-telemetry/sdk/Metrics/Data/Temporality.php b/vendor/open-telemetry/sdk/Metrics/Data/Temporality.php deleted file mode 100644 index b6642ebd0..000000000 --- a/vendor/open-telemetry/sdk/Metrics/Data/Temporality.php +++ /dev/null @@ -1,20 +0,0 @@ - */ - private array $buckets; - - public function __construct(int $size = 0) - { - $this->buckets = array_fill(0, $size, null); - } - - /** - * @param int|string $index - * @param float|int $value - */ - public function store(int $bucket, $index, $value, AttributesInterface $attributes, ContextInterface $context, int $timestamp): void - { - assert($bucket <= count($this->buckets)); - - $exemplar = $this->buckets[$bucket] ??= new BucketEntry(); - $exemplar->index = $index; - $exemplar->value = $value; - $exemplar->timestamp = $timestamp; - $exemplar->attributes = $attributes; - - if (($spanContext = Span::fromContext($context)->getContext())->isValid()) { - $exemplar->traceId = $spanContext->getTraceId(); - $exemplar->spanId = $spanContext->getSpanId(); - } else { - $exemplar->traceId = null; - $exemplar->spanId = null; - } - } - - /** - * @param array $dataPointAttributes - * @return array - */ - public function collect(array $dataPointAttributes): array - { - $exemplars = []; - foreach ($this->buckets as $index => &$exemplar) { - if (!$exemplar) { - continue; - } - - $exemplars[$index] = new Exemplar( - $exemplar->index, - $exemplar->value, - $exemplar->timestamp, - $this->filterExemplarAttributes( - $dataPointAttributes[$exemplar->index], - $exemplar->attributes, - ), - $exemplar->traceId, - $exemplar->spanId, - ); - $exemplar = null; - } - - return $exemplars; - } - - private function filterExemplarAttributes(AttributesInterface $dataPointAttributes, AttributesInterface $exemplarAttributes): AttributesInterface - { - $attributes = []; - foreach ($exemplarAttributes as $key => $value) { - if ($dataPointAttributes->get($key) === null) { - $attributes[$key] = $value; - } - } - - return new Attributes($attributes, $exemplarAttributes->getDroppedAttributesCount()); - } -} diff --git a/vendor/open-telemetry/sdk/Metrics/Exemplar/ExemplarFilter/AllExemplarFilter.php b/vendor/open-telemetry/sdk/Metrics/Exemplar/ExemplarFilter/AllExemplarFilter.php deleted file mode 100644 index b74e738aa..000000000 --- a/vendor/open-telemetry/sdk/Metrics/Exemplar/ExemplarFilter/AllExemplarFilter.php +++ /dev/null @@ -1,21 +0,0 @@ -getContext()->isSampled(); - } -} diff --git a/vendor/open-telemetry/sdk/Metrics/Exemplar/ExemplarFilterInterface.php b/vendor/open-telemetry/sdk/Metrics/Exemplar/ExemplarFilterInterface.php deleted file mode 100644 index 1d5dec7b8..000000000 --- a/vendor/open-telemetry/sdk/Metrics/Exemplar/ExemplarFilterInterface.php +++ /dev/null @@ -1,20 +0,0 @@ - $dataPointAttributes - * @return array - */ - public function collect(array $dataPointAttributes): array; -} diff --git a/vendor/open-telemetry/sdk/Metrics/Exemplar/FilteredReservoir.php b/vendor/open-telemetry/sdk/Metrics/Exemplar/FilteredReservoir.php deleted file mode 100644 index 0e4f24357..000000000 --- a/vendor/open-telemetry/sdk/Metrics/Exemplar/FilteredReservoir.php +++ /dev/null @@ -1,36 +0,0 @@ -reservoir = $reservoir; - $this->filter = $filter; - } - - public function offer($index, $value, AttributesInterface $attributes, ContextInterface $context, int $timestamp): void - { - if ($this->filter->accepts($value, $attributes, $context, $timestamp)) { - $this->reservoir->offer($index, $value, $attributes, $context, $timestamp); - } - } - - public function collect(array $dataPointAttributes): array - { - return $this->reservoir->collect($dataPointAttributes); - } -} diff --git a/vendor/open-telemetry/sdk/Metrics/Exemplar/FixedSizeReservoir.php b/vendor/open-telemetry/sdk/Metrics/Exemplar/FixedSizeReservoir.php deleted file mode 100644 index 479292a4c..000000000 --- a/vendor/open-telemetry/sdk/Metrics/Exemplar/FixedSizeReservoir.php +++ /dev/null @@ -1,38 +0,0 @@ -storage = new BucketStorage($size); - $this->size = $size; - } - - public function offer($index, $value, AttributesInterface $attributes, ContextInterface $context, int $timestamp): void - { - $bucket = random_int(0, $this->measurements); - $this->measurements++; - if ($bucket < $this->size) { - $this->storage->store($bucket, $index, $value, $attributes, $context, $timestamp); - } - } - - public function collect(array $dataPointAttributes): array - { - $this->measurements = 0; - - return $this->storage->collect($dataPointAttributes); - } -} diff --git a/vendor/open-telemetry/sdk/Metrics/Exemplar/HistogramBucketReservoir.php b/vendor/open-telemetry/sdk/Metrics/Exemplar/HistogramBucketReservoir.php deleted file mode 100644 index b56a1b2be..000000000 --- a/vendor/open-telemetry/sdk/Metrics/Exemplar/HistogramBucketReservoir.php +++ /dev/null @@ -1,40 +0,0 @@ - - */ - private array $boundaries; - - /** - * @param list $boundaries - */ - public function __construct(array $boundaries) - { - $this->storage = new BucketStorage(count($boundaries) + 1); - $this->boundaries = $boundaries; - } - - public function offer($index, $value, AttributesInterface $attributes, ContextInterface $context, int $timestamp): void - { - $boundariesCount = count($this->boundaries); - for ($i = 0; $i < $boundariesCount && $this->boundaries[$i] < $value; $i++) { - } - $this->storage->store($i, $index, $value, $attributes, $context, $timestamp); - } - - public function collect(array $dataPointAttributes): array - { - return $this->storage->collect($dataPointAttributes); - } -} diff --git a/vendor/open-telemetry/sdk/Metrics/Exemplar/NoopReservoir.php b/vendor/open-telemetry/sdk/Metrics/Exemplar/NoopReservoir.php deleted file mode 100644 index 010aeff20..000000000 --- a/vendor/open-telemetry/sdk/Metrics/Exemplar/NoopReservoir.php +++ /dev/null @@ -1,21 +0,0 @@ -writer = $writer; - $this->instrument = $instrument; - $this->referenceCounter = $referenceCounter; - - $this->referenceCounter->acquire(); - } - - public function __destruct() - { - $this->referenceCounter->release(); - } - - public function record($amount, iterable $attributes = [], $context = null): void - { - $this->writer->record($this->instrument, $amount, $attributes, $context); - } -} diff --git a/vendor/open-telemetry/sdk/Metrics/Instrument.php b/vendor/open-telemetry/sdk/Metrics/Instrument.php deleted file mode 100644 index 3543604c0..000000000 --- a/vendor/open-telemetry/sdk/Metrics/Instrument.php +++ /dev/null @@ -1,36 +0,0 @@ -type = $type; - $this->name = $name; - $this->unit = $unit; - $this->description = $description; - } -} diff --git a/vendor/open-telemetry/sdk/Metrics/InstrumentType.php b/vendor/open-telemetry/sdk/Metrics/InstrumentType.php deleted file mode 100644 index ae603b2fe..000000000 --- a/vendor/open-telemetry/sdk/Metrics/InstrumentType.php +++ /dev/null @@ -1,25 +0,0 @@ - */ - private iterable $metricRegistries; - private ViewRegistryInterface $viewRegistry; - private ?ExemplarFilterInterface $exemplarFilter; - private MeterInstruments $instruments; - private InstrumentationScopeInterface $instrumentationScope; - - private MetricRegistryInterface $registry; - private MetricWriterInterface $writer; - - private ?string $instrumentationScopeId = null; - - /** - * @param iterable $metricRegistries - */ - public function __construct( - MetricFactoryInterface $metricFactory, - ResourceInfo $resource, - ClockInterface $clock, - StalenessHandlerFactoryInterface $stalenessHandlerFactory, - iterable $metricRegistries, - ViewRegistryInterface $viewRegistry, - ?ExemplarFilterInterface $exemplarFilter, - MeterInstruments $instruments, - InstrumentationScopeInterface $instrumentationScope, - MetricRegistryInterface $registry, - MetricWriterInterface $writer - ) { - $this->metricFactory = $metricFactory; - $this->resource = $resource; - $this->clock = $clock; - $this->stalenessHandlerFactory = $stalenessHandlerFactory; - $this->metricRegistries = $metricRegistries; - $this->viewRegistry = $viewRegistry; - $this->exemplarFilter = $exemplarFilter; - $this->instruments = $instruments; - $this->instrumentationScope = $instrumentationScope; - $this->registry = $registry; - $this->writer = $writer; - } - - public function createCounter(string $name, ?string $unit = null, ?string $description = null): CounterInterface - { - [$instrument, $referenceCounter] = $this->createSynchronousWriter( - InstrumentType::COUNTER, - $name, - $unit, - $description, - ); - - return new Counter($this->writer, $instrument, $referenceCounter); - } - - public function createObservableCounter(string $name, ?string $unit = null, ?string $description = null, callable ...$callbacks): ObservableCounterInterface - { - [$instrument, $referenceCounter, $destructors] = $this->createAsynchronousObserver( - InstrumentType::ASYNCHRONOUS_COUNTER, - $name, - $unit, - $description, - ); - - foreach ($callbacks as $callback) { - $this->writer->registerCallback(closure($callback), $instrument); - $referenceCounter->acquire(true); - } - - return new ObservableCounter($this->writer, $instrument, $referenceCounter, $destructors); - } - - public function createHistogram(string $name, ?string $unit = null, ?string $description = null): HistogramInterface - { - [$instrument, $referenceCounter] = $this->createSynchronousWriter( - InstrumentType::HISTOGRAM, - $name, - $unit, - $description, - ); - - return new Histogram($this->writer, $instrument, $referenceCounter); - } - - public function createObservableGauge(string $name, ?string $unit = null, ?string $description = null, callable ...$callbacks): ObservableGaugeInterface - { - [$instrument, $referenceCounter, $destructors] = $this->createAsynchronousObserver( - InstrumentType::ASYNCHRONOUS_GAUGE, - $name, - $unit, - $description, - ); - - foreach ($callbacks as $callback) { - $this->writer->registerCallback(closure($callback), $instrument); - $referenceCounter->acquire(true); - } - - return new ObservableGauge($this->writer, $instrument, $referenceCounter, $destructors); - } - - public function createUpDownCounter(string $name, ?string $unit = null, ?string $description = null): UpDownCounterInterface - { - [$instrument, $referenceCounter] = $this->createSynchronousWriter( - InstrumentType::UP_DOWN_COUNTER, - $name, - $unit, - $description, - ); - - return new UpDownCounter($this->writer, $instrument, $referenceCounter); - } - - public function createObservableUpDownCounter(string $name, ?string $unit = null, ?string $description = null, callable ...$callbacks): ObservableUpDownCounterInterface - { - [$instrument, $referenceCounter, $destructors] = $this->createAsynchronousObserver( - InstrumentType::ASYNCHRONOUS_UP_DOWN_COUNTER, - $name, - $unit, - $description, - ); - - foreach ($callbacks as $callback) { - $this->writer->registerCallback(closure($callback), $instrument); - $referenceCounter->acquire(true); - } - - return new ObservableUpDownCounter($this->writer, $instrument, $referenceCounter, $destructors); - } - - /** - * @param string|InstrumentType $instrumentType - * @return array{Instrument, ReferenceCounterInterface} - */ - private function createSynchronousWriter($instrumentType, string $name, ?string $unit, ?string $description): array - { - $instrument = new Instrument($instrumentType, $name, $unit, $description); - - $instrumentationScopeId = $this->instrumentationScopeId($this->instrumentationScope); - $instrumentId = $this->instrumentId($instrument); - - $instruments = $this->instruments; - if ($writer = $instruments->writers[$instrumentationScopeId][$instrumentId] ?? null) { - return $writer; - } - - $stalenessHandler = $this->stalenessHandlerFactory->create(); - $instruments->startTimestamp ??= $this->clock->now(); - $streamIds = $this->metricFactory->createSynchronousWriter( - $this->registry, - $this->resource, - $this->instrumentationScope, - $instrument, - $instruments->startTimestamp, - $this->viewRegistrationRequests($instrument, $stalenessHandler), - $this->exemplarFilter, - ); - - $registry = $this->registry; - $stalenessHandler->onStale(static function () use ($instruments, $instrumentationScopeId, $instrumentId, $registry, $streamIds): void { - unset($instruments->writers[$instrumentationScopeId][$instrumentId]); - if (!$instruments->writers[$instrumentationScopeId]) { - unset($instruments->writers[$instrumentationScopeId]); - } - foreach ($streamIds as $streamId) { - $registry->unregisterStream($streamId); - } - - $instruments->startTimestamp = null; - }); - - return $instruments->writers[$instrumentationScopeId][$instrumentId] = [ - $instrument, - $stalenessHandler, - ]; - } - - /** - * @param string|InstrumentType $instrumentType - * @return array{Instrument, ReferenceCounterInterface, ArrayAccess} - */ - private function createAsynchronousObserver($instrumentType, string $name, ?string $unit, ?string $description): array - { - $instrument = new Instrument($instrumentType, $name, $unit, $description); - - $instrumentationScopeId = $this->instrumentationScopeId($this->instrumentationScope); - $instrumentId = $this->instrumentId($instrument); - - $instruments = $this->instruments; - /** @phan-suppress-next-line PhanDeprecatedProperty */ - $instruments->staleObservers = []; - if ($observer = $instruments->observers[$instrumentationScopeId][$instrumentId] ?? null) { - return $observer; - } - - $stalenessHandler = $this->stalenessHandlerFactory->create(); - $instruments->startTimestamp ??= $this->clock->now(); - $streamIds = $this->metricFactory->createAsynchronousObserver( - $this->registry, - $this->resource, - $this->instrumentationScope, - $instrument, - $instruments->startTimestamp, - $this->viewRegistrationRequests($instrument, $stalenessHandler), - ); - - $registry = $this->registry; - $stalenessHandler->onStale(static function () use ($instruments, $instrumentationScopeId, $instrumentId, $registry, $streamIds): void { - if (PHP_VERSION_ID < 80000) { - /** @phan-suppress-next-line PhanDeprecatedProperty */ - $instruments->staleObservers[] = $instruments->observers[$instrumentationScopeId][$instrumentId][2]; - } - - unset($instruments->observers[$instrumentationScopeId][$instrumentId]); - if (!$instruments->observers[$instrumentationScopeId]) { - unset($instruments->observers[$instrumentationScopeId]); - } - foreach ($streamIds as $streamId) { - $registry->unregisterStream($streamId); - } - - $instruments->startTimestamp = null; - }); - - /** @var ArrayAccess $destructors */ - $destructors = WeakMap::create(); - - return $instruments->observers[$instrumentationScopeId][$instrumentId] = [ - $instrument, - $stalenessHandler, - $destructors, - ]; - } - - /** - * @return iterable - */ - private function viewRegistrationRequests(Instrument $instrument, StalenessHandlerInterface $stalenessHandler): iterable - { - $views = $this->viewRegistry->find($instrument, $this->instrumentationScope) ?? [ - new ViewProjection( - $instrument->name, - $instrument->unit, - $instrument->description, - null, - null, - ), - ]; - - $compositeRegistration = new MultiRegistryRegistration($this->metricRegistries, $stalenessHandler); - foreach ($views as $view) { - if ($view->aggregation !== null) { - yield [$view, $compositeRegistration]; - } else { - foreach ($this->metricRegistries as $metricRegistry) { - yield [ - new ViewProjection( - $view->name, - $view->unit, - $view->description, - $view->attributeKeys, - $metricRegistry->defaultAggregation($instrument->type), - ), - new RegistryRegistration($metricRegistry, $stalenessHandler), - ]; - } - } - } - } - - private function instrumentationScopeId(InstrumentationScopeInterface $instrumentationScope): string - { - return $this->instrumentationScopeId ??= serialize($instrumentationScope); - } - - private function instrumentId(Instrument $instrument): string - { - return serialize($instrument); - } -} diff --git a/vendor/open-telemetry/sdk/Metrics/MeterInstruments.php b/vendor/open-telemetry/sdk/Metrics/MeterInstruments.php deleted file mode 100644 index c331cb608..000000000 --- a/vendor/open-telemetry/sdk/Metrics/MeterInstruments.php +++ /dev/null @@ -1,29 +0,0 @@ -}>> - */ - public array $observers = []; - /** - * @var array> - */ - public array $writers = []; - - /** - * @var list> - * @deprecated - */ - public array $staleObservers = []; -} diff --git a/vendor/open-telemetry/sdk/Metrics/MeterProvider.php b/vendor/open-telemetry/sdk/Metrics/MeterProvider.php deleted file mode 100644 index 36c17cf81..000000000 --- a/vendor/open-telemetry/sdk/Metrics/MeterProvider.php +++ /dev/null @@ -1,130 +0,0 @@ - $metricReaders - */ - public function __construct( - ?ContextStorageInterface $contextStorage, - ResourceInfo $resource, - ClockInterface $clock, - AttributesFactoryInterface $attributesFactory, - InstrumentationScopeFactoryInterface $instrumentationScopeFactory, - iterable $metricReaders, - ViewRegistryInterface $viewRegistry, - ?ExemplarFilterInterface $exemplarFilter, - StalenessHandlerFactoryInterface $stalenessHandlerFactory, - MetricFactoryInterface $metricFactory = null - ) { - $this->metricFactory = $metricFactory ?? new StreamFactory(); - $this->resource = $resource; - $this->clock = $clock; - $this->instrumentationScopeFactory = $instrumentationScopeFactory; - $this->metricReaders = $metricReaders; - $this->viewRegistry = $viewRegistry; - $this->exemplarFilter = $exemplarFilter; - $this->stalenessHandlerFactory = $stalenessHandlerFactory; - $this->instruments = new MeterInstruments(); - - $registry = new MetricRegistry($contextStorage, $attributesFactory, $clock); - $this->registry = $registry; - $this->writer = $registry; - } - - public function getMeter( - string $name, - ?string $version = null, - ?string $schemaUrl = null, - iterable $attributes = [] - ): MeterInterface { - if ($this->closed || Sdk::isDisabled()) { //@todo create meter provider from factory, and move Sdk::isDisabled() there - return new NoopMeter(); - } - - return new Meter( - $this->metricFactory, - $this->resource, - $this->clock, - $this->stalenessHandlerFactory, - $this->metricReaders, - $this->viewRegistry, - $this->exemplarFilter, - $this->instruments, - $this->instrumentationScopeFactory->create($name, $version, $schemaUrl, $attributes), - $this->registry, - $this->writer, - ); - } - - public function shutdown(): bool - { - if ($this->closed) { - return false; - } - - $this->closed = true; - - $success = true; - foreach ($this->metricReaders as $metricReader) { - if (!$metricReader->shutdown()) { - $success = false; - } - } - - return $success; - } - - public function forceFlush(): bool - { - if ($this->closed) { - return false; - } - - $success = true; - foreach ($this->metricReaders as $metricReader) { - if (!$metricReader->forceFlush()) { - $success = false; - } - } - - return $success; - } - - public static function builder(): MeterProviderBuilder - { - return new MeterProviderBuilder(); - } -} diff --git a/vendor/open-telemetry/sdk/Metrics/MeterProviderBuilder.php b/vendor/open-telemetry/sdk/Metrics/MeterProviderBuilder.php deleted file mode 100644 index 17f0be895..000000000 --- a/vendor/open-telemetry/sdk/Metrics/MeterProviderBuilder.php +++ /dev/null @@ -1,62 +0,0 @@ - - private array $metricReaders = []; - private ?ResourceInfo $resource = null; - private ?ExemplarFilterInterface $exemplarFilter = null; - - public function setResource(ResourceInfo $resource): self - { - $this->resource = $resource; - - return $this; - } - - public function setExemplarFilter(ExemplarFilterInterface $exemplarFilter): self - { - $this->exemplarFilter = $exemplarFilter; - - return $this; - } - - public function addReader(MetricReaderInterface $reader): self - { - $this->metricReaders[] = $reader; - - return $this; - } - - /** - * @psalm-suppress PossiblyInvalidArgument - */ - public function build(): MeterProviderInterface - { - return new MeterProvider( - null, - $this->resource ?? ResourceInfoFactory::emptyResource(), - ClockFactory::getDefault(), - Attributes::factory(), - new InstrumentationScopeFactory(Attributes::factory()), - $this->metricReaders, - new CriteriaViewRegistry(), - $this->exemplarFilter ?? new WithSampledTraceExemplarFilter(), - new NoopStalenessHandlerFactory(), - ); - } -} diff --git a/vendor/open-telemetry/sdk/Metrics/MeterProviderFactory.php b/vendor/open-telemetry/sdk/Metrics/MeterProviderFactory.php deleted file mode 100644 index 5f7f9988d..000000000 --- a/vendor/open-telemetry/sdk/Metrics/MeterProviderFactory.php +++ /dev/null @@ -1,78 +0,0 @@ -create(); - } catch (\Throwable $t) { - self::logWarning(sprintf('Unable to create %s meter provider: %s', $exporterName, $t->getMessage())); - $exporter = new NoopMetricExporter(); - } - - // @todo "The exporter MUST be paired with a periodic exporting MetricReader" - $reader = new ExportingReader($exporter); - $resource = ResourceInfoFactory::defaultResource(); - $exemplarFilter = $this->createExemplarFilter(Configuration::getEnum(Variables::OTEL_METRICS_EXEMPLAR_FILTER)); - - return MeterProvider::builder() - ->setResource($resource) - ->addReader($reader) - ->setExemplarFilter($exemplarFilter) - ->build(); - } - - private function createExemplarFilter(string $name): ExemplarFilterInterface - { - switch ($name) { - case KnownValues::VALUE_WITH_SAMPLED_TRACE: - return new WithSampledTraceExemplarFilter(); - case KnownValues::VALUE_ALL: - return new AllExemplarFilter(); - case KnownValues::VALUE_NONE: - return new NoneExemplarFilter(); - default: - self::logWarning('Unknown exemplar filter: ' . $name); - - return new NoneExemplarFilter(); - } - } -} diff --git a/vendor/open-telemetry/sdk/Metrics/MeterProviderInterface.php b/vendor/open-telemetry/sdk/Metrics/MeterProviderInterface.php deleted file mode 100644 index fcb951106..000000000 --- a/vendor/open-telemetry/sdk/Metrics/MeterProviderInterface.php +++ /dev/null @@ -1,12 +0,0 @@ -temporality = $temporality; - } - /** - * @inheritDoc - */ - public function temporality(MetricMetadataInterface $metric) - { - return $this->temporality ?? $metric->temporality(); - } - - /** - * @inheritDoc - */ - public function export(iterable $batch): bool - { - $resource = null; - $scope = null; - foreach ($batch as $metric) { - /** @var Metric $metric */ - if (!$resource) { - $resource = $this->convertResource($metric->resource); - } - if (!$scope) { - $scope = $this->convertInstrumentationScope($metric->instrumentationScope); - $scope['metrics'] = []; - } - $scope['metrics'][] = $this->convertMetric($metric); - } - $output = [ - 'resource' => $resource, - 'scope' => $scope, - ]; - echo json_encode($output, JSON_PRETTY_PRINT) . PHP_EOL; - - return true; - } - - public function shutdown(): bool - { - return true; - } - - public function forceFlush(): bool - { - return true; - } - - private function convertMetric(Metric $metric): array - { - return [ - 'name' => $metric->name, - 'description' => $metric->description, - 'unit' => $metric->unit, - 'data' => $metric->data, - ]; - } - - private function convertResource(ResourceInfo $resource): array - { - return [ - 'attributes' => $resource->getAttributes()->toArray(), - 'dropped_attributes_count' => $resource->getAttributes()->getDroppedAttributesCount(), - ]; - } - private function convertInstrumentationScope(InstrumentationScopeInterface $scope): array - { - return [ - 'name' => $scope->getName(), - 'version' => $scope->getVersion(), - 'attributes' => $scope->getAttributes()->toArray(), - 'dropped_attributes_count' => $scope->getAttributes()->getDroppedAttributesCount(), - 'schema_url' => $scope->getSchemaUrl(), - ]; - } -} diff --git a/vendor/open-telemetry/sdk/Metrics/MetricExporter/ConsoleMetricExporterFactory.php b/vendor/open-telemetry/sdk/Metrics/MetricExporter/ConsoleMetricExporterFactory.php deleted file mode 100644 index 19088738d..000000000 --- a/vendor/open-telemetry/sdk/Metrics/MetricExporter/ConsoleMetricExporterFactory.php +++ /dev/null @@ -1,16 +0,0 @@ - - */ - private array $metrics = []; - /** - * @var string|Temporality|null - */ - private $temporality; - - private bool $closed = false; - - /** - * @param string|Temporality|null $temporality - */ - public function __construct($temporality = null) - { - $this->temporality = $temporality; - } - - public function temporality(MetricMetadataInterface $metric) - { - return $this->temporality ?? $metric->temporality(); - } - - /** - * @return list - */ - public function collect(bool $reset = false): array - { - $metrics = $this->metrics; - if ($reset) { - $this->metrics = []; - } - - return $metrics; - } - - public function export(iterable $batch): bool - { - if ($this->closed) { - return false; - } - - /** @psalm-suppress InvalidPropertyAssignmentValue */ - array_push($this->metrics, ...$batch); - - return true; - } - - public function shutdown(): bool - { - if ($this->closed) { - return false; - } - - $this->closed = true; - - return true; - } -} diff --git a/vendor/open-telemetry/sdk/Metrics/MetricExporter/InMemoryExporterFactory.php b/vendor/open-telemetry/sdk/Metrics/MetricExporter/InMemoryExporterFactory.php deleted file mode 100644 index c72c7b169..000000000 --- a/vendor/open-telemetry/sdk/Metrics/MetricExporter/InMemoryExporterFactory.php +++ /dev/null @@ -1,16 +0,0 @@ - $batch - */ - public function export(iterable $batch): bool; - - public function shutdown(): bool; -} diff --git a/vendor/open-telemetry/sdk/Metrics/MetricFactory/StreamFactory.php b/vendor/open-telemetry/sdk/Metrics/MetricFactory/StreamFactory.php deleted file mode 100644 index 2c3af4c06..000000000 --- a/vendor/open-telemetry/sdk/Metrics/MetricFactory/StreamFactory.php +++ /dev/null @@ -1,187 +0,0 @@ -aggregation === null) { - continue; - } - - $dedupId = $this->streamId($view->aggregation, $view->attributeKeys); - if (($streamId = $dedup[$dedupId] ?? null) === null) { - $stream = new AsynchronousMetricStream($view->aggregation, $timestamp); - $streamId = $registry->registerAsynchronousStream($instrument, $stream, new MetricAggregatorFactory( - $this->attributeProcessor($view->attributeKeys), - $view->aggregation, - )); - - $streams[$streamId] = $stream; - $dedup[$dedupId] = $streamId; - } - - $this->registerSource( - $view, - $instrument, - $instrumentationScope, - $resource, - $streams[$streamId], - $registry, - $registration, - $streamId, - ); - } - - return array_keys($streams); - } - - public function createSynchronousWriter( - MetricRegistryInterface $registry, - ResourceInfo $resource, - InstrumentationScopeInterface $instrumentationScope, - Instrument $instrument, - int $timestamp, - iterable $views, - ?ExemplarFilterInterface $exemplarFilter = null - ): array { - $streams = []; - $dedup = []; - foreach ($views as [$view, $registration]) { - if ($view->aggregation === null) { - continue; - } - - $dedupId = $this->streamId($view->aggregation, $view->attributeKeys); - if (($streamId = $dedup[$dedupId] ?? null) === null) { - $stream = new SynchronousMetricStream($view->aggregation, $timestamp); - $streamId = $registry->registerSynchronousStream($instrument, $stream, new MetricAggregator( - $this->attributeProcessor($view->attributeKeys), - $view->aggregation, - $this->createExemplarReservoir($view->aggregation, $exemplarFilter), - )); - - $streams[$streamId] = $stream; - $dedup[$dedupId] = $streamId; - } - - $this->registerSource( - $view, - $instrument, - $instrumentationScope, - $resource, - $streams[$streamId], - $registry, - $registration, - $streamId, - ); - } - - return array_keys($streams); - } - - private function attributeProcessor( - ?array $attributeKeys - ): ?AttributeProcessorInterface { - return $attributeKeys !== null - ? new FilteredAttributeProcessor($attributeKeys) - : null; - } - - private function createExemplarReservoir( - AggregationInterface $aggregation, - ?ExemplarFilterInterface $exemplarFilter - ): ?ExemplarReservoirInterface { - if (!$exemplarFilter) { - return null; - } - - if ($aggregation instanceof ExplicitBucketHistogramAggregation && $aggregation->boundaries) { - $exemplarReservoir = new HistogramBucketReservoir($aggregation->boundaries); - } else { - $exemplarReservoir = new FixedSizeReservoir(); - } - - return new FilteredReservoir($exemplarReservoir, $exemplarFilter); - } - - private function registerSource( - ViewProjection $view, - Instrument $instrument, - InstrumentationScopeInterface $instrumentationScope, - ResourceInfo $resource, - MetricStreamInterface $stream, - MetricCollectorInterface $metricCollector, - MetricRegistrationInterface $metricRegistration, - int $streamId - ): void { - $provider = new StreamMetricSourceProvider( - $view, - $instrument, - $instrumentationScope, - $resource, - $stream, - $metricCollector, - $streamId, - ); - - $metricRegistration->register($provider, $provider); - } - - private function streamId(AggregationInterface $aggregation, ?array $attributeKeys): string - { - return $this->trySerialize($aggregation) . serialize($attributeKeys); - } - - private function trySerialize(object $object) - { - try { - return serialize($object); - } catch (Throwable $e) { - } - - return spl_object_id($object); - } -} diff --git a/vendor/open-telemetry/sdk/Metrics/MetricFactory/StreamMetricSource.php b/vendor/open-telemetry/sdk/Metrics/MetricFactory/StreamMetricSource.php deleted file mode 100644 index 4939a5341..000000000 --- a/vendor/open-telemetry/sdk/Metrics/MetricFactory/StreamMetricSource.php +++ /dev/null @@ -1,44 +0,0 @@ -provider = $provider; - $this->reader = $reader; - } - - public function collectionTimestamp(): int - { - return $this->provider->stream->timestamp(); - } - - public function collect(): Metric - { - return new Metric( - $this->provider->instrumentationLibrary, - $this->provider->resource, - $this->provider->view->name, - $this->provider->view->unit, - $this->provider->view->description, - $this->provider->stream->collect($this->reader), - ); - } - - public function __destruct() - { - $this->provider->stream->unregister($this->reader); - } -} diff --git a/vendor/open-telemetry/sdk/Metrics/MetricFactory/StreamMetricSourceProvider.php b/vendor/open-telemetry/sdk/Metrics/MetricFactory/StreamMetricSourceProvider.php deleted file mode 100644 index 657c3ce62..000000000 --- a/vendor/open-telemetry/sdk/Metrics/MetricFactory/StreamMetricSourceProvider.php +++ /dev/null @@ -1,98 +0,0 @@ -view = $view; - $this->instrument = $instrument; - $this->instrumentationLibrary = $instrumentationLibrary; - $this->resource = $resource; - $this->stream = $stream; - $this->metricCollector = $metricCollector; - $this->streamId = $streamId; - } - - public function create($temporality): MetricSourceInterface - { - return new StreamMetricSource($this, $this->stream->register($temporality)); - } - - public function instrumentType() - { - return $this->instrument->type; - } - - public function name(): string - { - return $this->view->name; - } - - public function unit(): ?string - { - return $this->view->unit; - } - - public function description(): ?string - { - return $this->view->description; - } - - public function temporality() - { - return $this->stream->temporality(); - } -} diff --git a/vendor/open-telemetry/sdk/Metrics/MetricFactoryInterface.php b/vendor/open-telemetry/sdk/Metrics/MetricFactoryInterface.php deleted file mode 100644 index a1e228eef..000000000 --- a/vendor/open-telemetry/sdk/Metrics/MetricFactoryInterface.php +++ /dev/null @@ -1,41 +0,0 @@ - $views - */ - public function createAsynchronousObserver( - MetricRegistryInterface $registry, - ResourceInfo $resource, - InstrumentationScopeInterface $instrumentationScope, - Instrument $instrument, - int $timestamp, - iterable $views - ): array; - - /** - * @param iterable $views - */ - public function createSynchronousWriter( - MetricRegistryInterface $registry, - ResourceInfo $resource, - InstrumentationScopeInterface $instrumentationScope, - Instrument $instrument, - int $timestamp, - iterable $views, - ?ExemplarFilterInterface $exemplarFilter = null - ): array; -} diff --git a/vendor/open-telemetry/sdk/Metrics/MetricMetadataInterface.php b/vendor/open-telemetry/sdk/Metrics/MetricMetadataInterface.php deleted file mode 100644 index aa1a02d60..000000000 --- a/vendor/open-telemetry/sdk/Metrics/MetricMetadataInterface.php +++ /dev/null @@ -1,28 +0,0 @@ - */ - private array $sources = []; - - /** @var array */ - private array $registries = []; - /** @var array> */ - private array $streamIds = []; - - private bool $closed = false; - - public function __construct(MetricExporterInterface $exporter) - { - $this->exporter = $exporter; - } - - public function defaultAggregation($instrumentType): ?AggregationInterface - { - if ($this->exporter instanceof DefaultAggregationProviderInterface) { - return $this->exporter->defaultAggregation($instrumentType); - } - - return $this->_defaultAggregation($instrumentType); - } - - public function add(MetricSourceProviderInterface $provider, MetricMetadataInterface $metadata, StalenessHandlerInterface $stalenessHandler): void - { - if ($this->closed) { - return; - } - if (!$this->exporter instanceof AggregationTemporalitySelectorInterface) { - return; - } - if (!$temporality = $this->exporter->temporality($metadata)) { - return; - } - - $source = $provider->create($temporality); - $sourceId = spl_object_id($source); - - $this->sources[$sourceId] = $source; - $stalenessHandler->onStale(function () use ($sourceId): void { - unset($this->sources[$sourceId]); - }); - - if (!$provider instanceof StreamMetricSourceProvider) { - return; - } - - $streamId = $provider->streamId; - $registry = $provider->metricCollector; - $registryId = spl_object_id($registry); - - $this->registries[$registryId] = $registry; - $this->streamIds[$registryId][$streamId] ??= 0; - $this->streamIds[$registryId][$streamId]++; - - $stalenessHandler->onStale(function () use ($streamId, $registryId): void { - if (!--$this->streamIds[$registryId][$streamId]) { - unset($this->streamIds[$registryId][$streamId]); - if (!$this->streamIds[$registryId]) { - unset( - $this->registries[$registryId], - $this->streamIds[$registryId], - ); - } - } - }); - } - - private function doCollect(): bool - { - foreach ($this->registries as $registryId => $registry) { - $streamIds = $this->streamIds[$registryId] ?? []; - $registry->collectAndPush(array_keys($streamIds)); - } - - $metrics = []; - foreach ($this->sources as $source) { - $metrics[] = $source->collect(); - } - - if ($metrics === []) { - return true; - } - - return $this->exporter->export($metrics); - } - - public function collect(): bool - { - if ($this->closed) { - return false; - } - - return $this->doCollect(); - } - - public function shutdown(): bool - { - if ($this->closed) { - return false; - } - - $this->closed = true; - - $collect = $this->doCollect(); - $shutdown = $this->exporter->shutdown(); - - $this->sources = []; - - return $collect && $shutdown; - } - - public function forceFlush(): bool - { - if ($this->closed) { - return false; - } - if ($this->exporter instanceof PushMetricExporterInterface) { - $collect = $this->doCollect(); - $forceFlush = $this->exporter->forceFlush(); - - return $collect && $forceFlush; - } - - return true; - } -} diff --git a/vendor/open-telemetry/sdk/Metrics/MetricReaderInterface.php b/vendor/open-telemetry/sdk/Metrics/MetricReaderInterface.php deleted file mode 100644 index f5900eef5..000000000 --- a/vendor/open-telemetry/sdk/Metrics/MetricReaderInterface.php +++ /dev/null @@ -1,14 +0,0 @@ - $registries - */ - public function __construct(iterable $registries, StalenessHandlerInterface $stalenessHandler) - { - $this->registries = $registries; - $this->stalenessHandler = $stalenessHandler; - } - - public function register(MetricSourceProviderInterface $provider, MetricMetadataInterface $metadata): void - { - foreach ($this->registries as $registry) { - $registry->add($provider, $metadata, $this->stalenessHandler); - } - } -} diff --git a/vendor/open-telemetry/sdk/Metrics/MetricRegistration/RegistryRegistration.php b/vendor/open-telemetry/sdk/Metrics/MetricRegistration/RegistryRegistration.php deleted file mode 100644 index 3c1108902..000000000 --- a/vendor/open-telemetry/sdk/Metrics/MetricRegistration/RegistryRegistration.php +++ /dev/null @@ -1,31 +0,0 @@ -registry = $registry; - $this->stalenessHandler = $stalenessHandler; - } - - public function register(MetricSourceProviderInterface $provider, MetricMetadataInterface $metadata): void - { - $this->registry->add($provider, $metadata, $this->stalenessHandler); - } -} diff --git a/vendor/open-telemetry/sdk/Metrics/MetricRegistrationInterface.php b/vendor/open-telemetry/sdk/Metrics/MetricRegistrationInterface.php deleted file mode 100644 index b0cc2484e..000000000 --- a/vendor/open-telemetry/sdk/Metrics/MetricRegistrationInterface.php +++ /dev/null @@ -1,13 +0,0 @@ - */ - private array $streams = []; - /** @var array */ - private array $synchronousAggregators = []; - /** @var array */ - private array $asynchronousAggregatorFactories = []; - - /** @var array> */ - private array $instrumentToStreams = []; - /** @var array */ - private array $streamToInstrument = []; - /** @var array> */ - private array $instrumentToCallbacks = []; - /** @var array */ - private array $asynchronousCallbacks = []; - /** @var array> */ - private array $asynchronousCallbackArguments = []; - - public function __construct( - ?ContextStorageInterface $contextStorage, - AttributesFactoryInterface $attributesFactory, - ClockInterface $clock - ) { - $this->contextStorage = $contextStorage; - $this->attributesFactory = $attributesFactory; - $this->clock = $clock; - } - - public function registerSynchronousStream(Instrument $instrument, MetricStreamInterface $stream, MetricAggregatorInterface $aggregator): int - { - $this->streams[] = $stream; - $streamId = array_key_last($this->streams); - $instrumentId = spl_object_id($instrument); - - $this->synchronousAggregators[$streamId] = $aggregator; - $this->instrumentToStreams[$instrumentId][$streamId] = $streamId; - $this->streamToInstrument[$streamId] = $instrumentId; - - return $streamId; - } - - public function registerAsynchronousStream(Instrument $instrument, MetricStreamInterface $stream, MetricAggregatorFactoryInterface $aggregatorFactory): int - { - $this->streams[] = $stream; - $streamId = array_key_last($this->streams); - $instrumentId = spl_object_id($instrument); - - $this->asynchronousAggregatorFactories[$streamId] = $aggregatorFactory; - $this->instrumentToStreams[$instrumentId][$streamId] = $streamId; - $this->streamToInstrument[$streamId] = $instrumentId; - - return $streamId; - } - - public function unregisterStream(int $streamId): void - { - $instrumentId = $this->streamToInstrument[$streamId]; - unset( - $this->streams[$streamId], - $this->synchronousAggregators[$streamId], - $this->asynchronousAggregatorFactories[$streamId], - $this->instrumentToStreams[$instrumentId][$streamId], - $this->streamToInstrument[$streamId], - ); - if (!$this->instrumentToStreams[$instrumentId]) { - unset($this->instrumentToStreams[$instrumentId]); - } - } - - public function record(Instrument $instrument, $value, iterable $attributes = [], $context = null): void - { - $context = Context::resolve($context, $this->contextStorage); - $attributes = $this->attributesFactory->builder($attributes)->build(); - $timestamp = $this->clock->now(); - $instrumentId = spl_object_id($instrument); - foreach ($this->instrumentToStreams[$instrumentId] ?? [] as $streamId) { - if ($aggregator = $this->synchronousAggregators[$streamId] ?? null) { - $aggregator->record($value, $attributes, $context, $timestamp); - } - } - } - - public function registerCallback(Closure $callback, Instrument $instrument, Instrument ...$instruments): int - { - $callbackId = array_key_last($this->asynchronousCallbacks) + 1; - $this->asynchronousCallbacks[$callbackId] = $callback; - - $instrumentId = spl_object_id($instrument); - $this->asynchronousCallbackArguments[$callbackId] = [$instrumentId]; - $this->instrumentToCallbacks[$instrumentId][$callbackId] = $callbackId; - foreach ($instruments as $instrument) { - $instrumentId = spl_object_id($instrument); - $this->asynchronousCallbackArguments[$callbackId][] = $instrumentId; - $this->instrumentToCallbacks[$instrumentId][$callbackId] = $callbackId; - } - - return $callbackId; - } - - public function unregisterCallback(int $callbackId): void - { - $instrumentIds = $this->asynchronousCallbackArguments[$callbackId]; - unset( - $this->asynchronousCallbacks[$callbackId], - $this->asynchronousCallbackArguments[$callbackId], - ); - foreach ($instrumentIds as $instrumentId) { - unset($this->instrumentToCallbacks[$instrumentId][$callbackId]); - if (!$this->instrumentToCallbacks[$instrumentId]) { - unset($this->instrumentToCallbacks[$instrumentId]); - } - } - } - - public function collectAndPush(iterable $streamIds): void - { - $timestamp = $this->clock->now(); - $aggregators = []; - $observers = []; - $callbackIds = []; - foreach ($streamIds as $streamId) { - if (!$aggregator = $this->synchronousAggregators[$streamId] ?? null) { - $aggregator = $this->asynchronousAggregatorFactories[$streamId]->create(); - - $instrumentId = $this->streamToInstrument[$streamId]; - $observers[$instrumentId] ??= new MultiObserver($this->attributesFactory, $timestamp); - $observers[$instrumentId]->writers[] = $aggregator; - foreach ($this->instrumentToCallbacks[$instrumentId] ?? [] as $callbackId) { - $callbackIds[$callbackId] = $callbackId; - } - } - - $aggregators[$streamId] = $aggregator; - } - - $noopObserver = new NoopObserver(); - $callbacks = []; - foreach ($callbackIds as $callbackId) { - $args = []; - foreach ($this->asynchronousCallbackArguments[$callbackId] as $instrumentId) { - $args[] = $observers[$instrumentId] ?? $noopObserver; - } - $callback = $this->asynchronousCallbacks[$callbackId]; - $callbacks[] = static fn () => $callback(...$args); - } - foreach ($callbacks as $callback) { - $callback(); - } - - $timestamp = $this->clock->now(); - foreach ($aggregators as $streamId => $aggregator) { - if ($stream = $this->streams[$streamId] ?? null) { - $stream->push($aggregator->collect($timestamp)); - } - } - } -} diff --git a/vendor/open-telemetry/sdk/Metrics/MetricRegistry/MetricRegistryInterface.php b/vendor/open-telemetry/sdk/Metrics/MetricRegistry/MetricRegistryInterface.php deleted file mode 100644 index e86731138..000000000 --- a/vendor/open-telemetry/sdk/Metrics/MetricRegistry/MetricRegistryInterface.php +++ /dev/null @@ -1,22 +0,0 @@ - */ - public array $writers = []; - - public function __construct(AttributesFactoryInterface $attributesFactory, int $timestamp) - { - $this->attributesFactory = $attributesFactory; - $this->timestamp = $timestamp; - } - - public function observe($amount, iterable $attributes = []): void - { - $context = Context::getRoot(); - $attributes = $this->attributesFactory->builder($attributes)->build(); - foreach ($this->writers as $writer) { - $writer->record($amount, $attributes, $context, $this->timestamp); - } - } -} diff --git a/vendor/open-telemetry/sdk/Metrics/MetricRegistry/NoopObserver.php b/vendor/open-telemetry/sdk/Metrics/MetricRegistry/NoopObserver.php deleted file mode 100644 index efbd94dac..000000000 --- a/vendor/open-telemetry/sdk/Metrics/MetricRegistry/NoopObserver.php +++ /dev/null @@ -1,18 +0,0 @@ -writer = $writer; - $this->referenceCounter = $referenceCounter; - $this->callbackId = $callbackId; - $this->callbackDestructor = $callbackDestructor; - $this->target = $target; - } - - public function detach(): void - { - if ($this->callbackId === null) { - return; - } - - $this->writer->unregisterCallback($this->callbackId); - $this->referenceCounter->release(); - if ($this->callbackDestructor !== null) { - unset($this->callbackDestructor->callbackIds[$this->callbackId]); - } - - $this->callbackId = null; - } - - public function __destruct() - { - if ($this->callbackDestructor !== null) { - return; - } - if ($this->callbackId === null) { - return; - } - - $this->referenceCounter->acquire(true); - $this->referenceCounter->release(); - } -} diff --git a/vendor/open-telemetry/sdk/Metrics/ObservableCallbackDestructor.php b/vendor/open-telemetry/sdk/Metrics/ObservableCallbackDestructor.php deleted file mode 100644 index 0dfea3907..000000000 --- a/vendor/open-telemetry/sdk/Metrics/ObservableCallbackDestructor.php +++ /dev/null @@ -1,32 +0,0 @@ - */ - public array $callbackIds = []; - private MetricWriterInterface $writer; - private ReferenceCounterInterface $referenceCounter; - - public function __construct(MetricWriterInterface $writer, ReferenceCounterInterface $referenceCounter) - { - $this->writer = $writer; - $this->referenceCounter = $referenceCounter; - } - - public function __destruct() - { - foreach ($this->callbackIds as $callbackId) { - $this->writer->unregisterCallback($callbackId); - $this->referenceCounter->release(); - } - } -} diff --git a/vendor/open-telemetry/sdk/Metrics/ObservableCounter.php b/vendor/open-telemetry/sdk/Metrics/ObservableCounter.php deleted file mode 100644 index 99ae43eee..000000000 --- a/vendor/open-telemetry/sdk/Metrics/ObservableCounter.php +++ /dev/null @@ -1,15 +0,0 @@ -writer = $writer; - $this->instrument = $instrument; - $this->referenceCounter = $referenceCounter; - $this->destructors = $destructors; - - $this->referenceCounter->acquire(); - } - - public function __destruct() - { - $this->referenceCounter->release(); - } - - /** - * @param callable(ObserverInterface): void $callback - */ - public function observe(callable $callback): ObservableCallbackInterface - { - $callback = weaken(closure($callback), $target); - - $callbackId = $this->writer->registerCallback($callback, $this->instrument); - $this->referenceCounter->acquire(); - - $destructor = null; - if ($target) { - $destructor = $this->destructors[$target] ??= new ObservableCallbackDestructor($this->writer, $this->referenceCounter); - $destructor->callbackIds[$callbackId] = $callbackId; - } - - return new ObservableCallback($this->writer, $this->referenceCounter, $callbackId, $destructor, $target); - } -} diff --git a/vendor/open-telemetry/sdk/Metrics/ObservableUpDownCounter.php b/vendor/open-telemetry/sdk/Metrics/ObservableUpDownCounter.php deleted file mode 100644 index 8d21be734..000000000 --- a/vendor/open-telemetry/sdk/Metrics/ObservableUpDownCounter.php +++ /dev/null @@ -1,15 +0,0 @@ -stale = $stale; - $this->freshen = $freshen; - } - - public function acquire(bool $persistent = false): void - { - if ($this->count === 0) { - ($this->freshen)($this); - } - - $this->count++; - - if ($persistent) { - $this->onStale = null; - } - } - - public function release(): void - { - if (--$this->count || $this->onStale === null) { - return; - } - - ($this->stale)($this); - } - - public function onStale(Closure $callback): void - { - if ($this->onStale === null) { - return; - } - - $this->onStale[] = $callback; - } - - public function triggerStale(): void - { - assert($this->onStale !== null); - - $callbacks = $this->onStale; - $this->onStale = []; - foreach ($callbacks as $callback) { - $callback(); - } - } -} diff --git a/vendor/open-telemetry/sdk/Metrics/StalenessHandler/DelayedStalenessHandlerFactory.php b/vendor/open-telemetry/sdk/Metrics/StalenessHandler/DelayedStalenessHandlerFactory.php deleted file mode 100644 index 0d719c74f..000000000 --- a/vendor/open-telemetry/sdk/Metrics/StalenessHandler/DelayedStalenessHandlerFactory.php +++ /dev/null @@ -1,64 +0,0 @@ -&Traversable */ - private $staleHandlers; - - /** - * @param float $delay delay in seconds - */ - public function __construct(ClockInterface $clock, float $delay) - { - $this->clock = $clock; - $this->nanoDelay = (int) ($delay * 1e9); - - $this->stale = function (DelayedStalenessHandler $handler): void { - $this->staleHandlers[$handler] = $this->clock->now(); - }; - $this->freshen = function (DelayedStalenessHandler $handler): void { - unset($this->staleHandlers[$handler]); - }; - - $this->staleHandlers = WeakMap::create(); - } - - public function create(): StalenessHandlerInterface - { - $this->triggerStaleHandlers(); - - return new DelayedStalenessHandler($this->stale, $this->freshen); - } - - private function triggerStaleHandlers(): void - { - $expired = $this->clock->now() - $this->nanoDelay; - foreach ($this->staleHandlers as $handler => $timestamp) { - if ($timestamp > $expired) { - break; - } - - /** @var DelayedStalenessHandler $handler */ - unset($this->staleHandlers[$handler]); - $handler->triggerStale(); - } - } -} diff --git a/vendor/open-telemetry/sdk/Metrics/StalenessHandler/ImmediateStalenessHandler.php b/vendor/open-telemetry/sdk/Metrics/StalenessHandler/ImmediateStalenessHandler.php deleted file mode 100644 index a5b32d5c4..000000000 --- a/vendor/open-telemetry/sdk/Metrics/StalenessHandler/ImmediateStalenessHandler.php +++ /dev/null @@ -1,50 +0,0 @@ -count++; - - if ($persistent) { - $this->onStale = null; - } - } - - public function release(): void - { - if (--$this->count !== 0 || !$this->onStale) { - return; - } - - $callbacks = $this->onStale; - $this->onStale = []; - foreach ($callbacks as $callback) { - $callback(); - } - } - - public function onStale(Closure $callback): void - { - if ($this->onStale === null) { - return; - } - - $this->onStale[] = $callback; - } -} diff --git a/vendor/open-telemetry/sdk/Metrics/StalenessHandler/ImmediateStalenessHandlerFactory.php b/vendor/open-telemetry/sdk/Metrics/StalenessHandler/ImmediateStalenessHandlerFactory.php deleted file mode 100644 index 899615dea..000000000 --- a/vendor/open-telemetry/sdk/Metrics/StalenessHandler/ImmediateStalenessHandlerFactory.php +++ /dev/null @@ -1,16 +0,0 @@ - */ - private array $lastReads = []; - - public function __construct(AggregationInterface $aggregation, int $startTimestamp) - { - $this->aggregation = $aggregation; - $this->startTimestamp = $startTimestamp; - $this->metric = new Metric([], [], $startTimestamp); - } - - public function temporality() - { - return Temporality::CUMULATIVE; - } - - public function timestamp(): int - { - return $this->metric->timestamp; - } - - public function push(Metric $metric): void - { - $this->metric = $metric; - } - - public function register($temporality): int - { - if ($temporality === Temporality::CUMULATIVE) { - return -1; - } - - if (($reader = array_search(null, $this->lastReads, true)) === false) { - $reader = count($this->lastReads); - } - - $this->lastReads[$reader] = $this->metric; - - return $reader; - } - - public function unregister(int $reader): void - { - if (!isset($this->lastReads[$reader])) { - return; - } - - $this->lastReads[$reader] = null; - } - - public function collect(int $reader): DataInterface - { - $metric = $this->metric; - - if (($lastRead = $this->lastReads[$reader] ?? null) === null) { - $temporality = Temporality::CUMULATIVE; - $startTimestamp = $this->startTimestamp; - } else { - $temporality = Temporality::DELTA; - $startTimestamp = $lastRead->timestamp; - - $this->lastReads[$reader] = $metric; - $metric = $this->diff($lastRead, $metric); - } - - return $this->aggregation->toData( - $metric->attributes, - $metric->summaries, - Exemplar::groupByIndex($metric->exemplars), - $startTimestamp, - $metric->timestamp, - $temporality, - ); - } - - private function diff(Metric $lastRead, Metric $metric): Metric - { - $diff = clone $metric; - foreach ($metric->summaries as $k => $summary) { - if (!isset($lastRead->summaries[$k])) { - continue; - } - - $diff->summaries[$k] = $this->aggregation->diff($lastRead->summaries[$k], $summary); - } - - return $diff; - } -} diff --git a/vendor/open-telemetry/sdk/Metrics/Stream/Delta.php b/vendor/open-telemetry/sdk/Metrics/Stream/Delta.php deleted file mode 100644 index a4ff56d71..000000000 --- a/vendor/open-telemetry/sdk/Metrics/Stream/Delta.php +++ /dev/null @@ -1,33 +0,0 @@ -metric = $metric; - $this->readers = $readers; - $this->prev = $prev; - } -} diff --git a/vendor/open-telemetry/sdk/Metrics/Stream/DeltaStorage.php b/vendor/open-telemetry/sdk/Metrics/Stream/DeltaStorage.php deleted file mode 100644 index b46a28d65..000000000 --- a/vendor/open-telemetry/sdk/Metrics/Stream/DeltaStorage.php +++ /dev/null @@ -1,110 +0,0 @@ -aggregation = $aggregation; - $this->head = new Delta(new Metric([], [], 0), 0); - - /** @phan-suppress-next-line PhanTypeObjectUnsetDeclaredProperty */ - unset($this->head->metric); - } - - /** - * @psalm-suppress UndefinedDocblockClass - * @phan-suppress PhanUndeclaredTypeParameter - * @param int|GMP $readers - */ - public function add(Metric $metric, $readers): void - { - /** @phpstan-ignore-next-line */ - if ($readers == 0) { - return; - } - - if (($this->head->prev->readers ?? null) != $readers) { - $this->head->prev = new Delta($metric, $readers, $this->head->prev); - } else { - assert($this->head->prev !== null); - $this->mergeInto($this->head->prev->metric, $metric); - } - } - - public function collect(int $reader, bool $retain = false): ?Metric - { - $n = null; - for ($d = $this->head; $d->prev; $d = $d->prev) { - if (($d->prev->readers >> $reader & 1) != 0) { - if ($n !== null) { - assert($n->prev !== null); - $n->prev->readers ^= $d->prev->readers; - $this->mergeInto($d->prev->metric, $n->prev->metric); - $this->tryUnlink($n); - - if ($n->prev === $d->prev) { - continue; - } - } - - $n = $d; - } - } - - $metric = $n->prev->metric ?? null; - - if (!$retain && $n) { - assert($n->prev !== null); - $n->prev->readers ^= ($n->prev->readers & 1 | 1) << $reader; - $this->tryUnlink($n); - } - - return $metric; - } - - private function tryUnlink(Delta $n): void - { - assert($n->prev !== null); - /** @phpstan-ignore-next-line */ - if ($n->prev->readers == 0) { - $n->prev = $n->prev->prev; - - return; - } - - for ($c = $n->prev->prev; - $c && ($n->prev->readers & $c->readers) == 0; - $c = $c->prev) { - } - - if ($c && $n->prev->readers === $c->readers) { - $this->mergeInto($c->metric, $n->prev->metric); - $n->prev = $n->prev->prev; - } - } - - private function mergeInto(Metric $into, Metric $metric): void - { - foreach ($metric->summaries as $k => $summary) { - $into->attributes[$k] ??= $metric->attributes[$k]; - $into->summaries[$k] = isset($into->summaries[$k]) - ? $this->aggregation->merge($into->summaries[$k], $summary) - : $summary; - } - $into->exemplars += $metric->exemplars; - } -} diff --git a/vendor/open-telemetry/sdk/Metrics/Stream/Metric.php b/vendor/open-telemetry/sdk/Metrics/Stream/Metric.php deleted file mode 100644 index 6b1db9eef..000000000 --- a/vendor/open-telemetry/sdk/Metrics/Stream/Metric.php +++ /dev/null @@ -1,44 +0,0 @@ - - */ - public array $attributes; - /** - * @var array - */ - public array $summaries; - public int $timestamp; - /** - * @var array - */ - public array $exemplars; - - /** - * @param array $attributes - * @param array $summaries - * @param array $exemplars - */ - public function __construct(array $attributes, array $summaries, int $timestamp, array $exemplars = []) - { - $this->attributes = $attributes; - $this->summaries = $summaries; - $this->timestamp = $timestamp; - $this->exemplars = $exemplars; - } -} diff --git a/vendor/open-telemetry/sdk/Metrics/Stream/MetricAggregator.php b/vendor/open-telemetry/sdk/Metrics/Stream/MetricAggregator.php deleted file mode 100644 index b1328eb07..000000000 --- a/vendor/open-telemetry/sdk/Metrics/Stream/MetricAggregator.php +++ /dev/null @@ -1,73 +0,0 @@ - */ - private array $attributes = []; - private array $summaries = []; - - public function __construct( - ?AttributeProcessorInterface $attributeProcessor, - AggregationInterface $aggregation, - ?ExemplarReservoirInterface $exemplarReservoir = null - ) { - $this->attributeProcessor = $attributeProcessor; - $this->aggregation = $aggregation; - $this->exemplarReservoir = $exemplarReservoir; - } - - /** - * @param float|int $value - */ - public function record($value, AttributesInterface $attributes, ContextInterface $context, int $timestamp): void - { - $filteredAttributes = $this->attributeProcessor !== null - ? $this->attributeProcessor->process($attributes, $context) - : $attributes; - $raw = $filteredAttributes->toArray(); - $index = $raw !== [] ? serialize($raw) : 0; - $this->attributes[$index] ??= $filteredAttributes; - $this->aggregation->record( - $this->summaries[$index] ??= $this->aggregation->initialize(), - $value, - $attributes, - $context, - $timestamp, - ); - - if ($this->exemplarReservoir !== null) { - $this->exemplarReservoir->offer($index, $value, $attributes, $context, $timestamp); - } - } - - public function collect(int $timestamp): Metric - { - $exemplars = $this->exemplarReservoir - ? $this->exemplarReservoir->collect($this->attributes) - : []; - $metric = new Metric($this->attributes, $this->summaries, $timestamp, $exemplars); - - $this->attributes = []; - $this->summaries = []; - - return $metric; - } -} diff --git a/vendor/open-telemetry/sdk/Metrics/Stream/MetricAggregatorFactory.php b/vendor/open-telemetry/sdk/Metrics/Stream/MetricAggregatorFactory.php deleted file mode 100644 index 5866a72b7..000000000 --- a/vendor/open-telemetry/sdk/Metrics/Stream/MetricAggregatorFactory.php +++ /dev/null @@ -1,28 +0,0 @@ -attributeProcessor = $attributeProcessor; - $this->aggregation = $aggregation; - } - - public function create(): MetricAggregatorInterface - { - return new MetricAggregator($this->attributeProcessor, $this->aggregation); - } -} diff --git a/vendor/open-telemetry/sdk/Metrics/Stream/MetricAggregatorFactoryInterface.php b/vendor/open-telemetry/sdk/Metrics/Stream/MetricAggregatorFactoryInterface.php deleted file mode 100644 index 356f682f2..000000000 --- a/vendor/open-telemetry/sdk/Metrics/Stream/MetricAggregatorFactoryInterface.php +++ /dev/null @@ -1,13 +0,0 @@ -aggregation = $aggregation; - $this->timestamp = $startTimestamp; - $this->delta = new DeltaStorage($aggregation); - } - - public function temporality() - { - return Temporality::DELTA; - } - - public function timestamp(): int - { - return $this->timestamp; - } - - public function push(Metric $metric): void - { - [$this->timestamp, $metric->timestamp] = [$metric->timestamp, $this->timestamp]; - $this->delta->add($metric, $this->readers); - } - - public function register($temporality): int - { - $reader = 0; - for ($r = $this->readers; ($r & 1) != 0; $r >>= 1, $reader++) { - } - - if ($reader === (PHP_INT_SIZE << 3) - 1 && is_int($this->readers)) { - if (!extension_loaded('gmp')) { - trigger_error(sprintf('GMP extension required to register over %d readers', (PHP_INT_SIZE << 3) - 1), E_USER_WARNING); - $reader = PHP_INT_SIZE << 3; - } else { - assert(is_int($this->cumulative)); - $this->readers = gmp_init($this->readers); - $this->cumulative = gmp_init($this->cumulative); - } - } - - $readerMask = ($this->readers & 1 | 1) << $reader; - $this->readers ^= $readerMask; - if ($temporality === Temporality::CUMULATIVE) { - $this->cumulative ^= $readerMask; - } - - return $reader; - } - - public function unregister(int $reader): void - { - $readerMask = ($this->readers & 1 | 1) << $reader; - if (($this->readers & $readerMask) == 0) { - return; - } - - $this->delta->collect($reader); - - $this->readers ^= $readerMask; - if (($this->cumulative & $readerMask) != 0) { - $this->cumulative ^= $readerMask; - } - } - - public function collect(int $reader): DataInterface - { - $cumulative = ($this->cumulative >> $reader & 1) != 0; - $metric = $this->delta->collect($reader, $cumulative) ?? new Metric([], [], $this->timestamp); - - $temporality = $cumulative - ? Temporality::CUMULATIVE - : Temporality::DELTA; - - return $this->aggregation->toData( - $metric->attributes, - $metric->summaries, - Exemplar::groupByIndex($metric->exemplars), - $metric->timestamp, - $this->timestamp, - $temporality, - ); - } -} diff --git a/vendor/open-telemetry/sdk/Metrics/Stream/WritableMetricStreamInterface.php b/vendor/open-telemetry/sdk/Metrics/Stream/WritableMetricStreamInterface.php deleted file mode 100644 index 9fd425a44..000000000 --- a/vendor/open-telemetry/sdk/Metrics/Stream/WritableMetricStreamInterface.php +++ /dev/null @@ -1,19 +0,0 @@ -writer = $writer; - $this->instrument = $instrument; - $this->referenceCounter = $referenceCounter; - - $this->referenceCounter->acquire(); - } - - public function __destruct() - { - $this->referenceCounter->release(); - } - - public function add($amount, iterable $attributes = [], $context = null): void - { - $this->writer->record($this->instrument, $amount, $attributes, $context); - } -} diff --git a/vendor/open-telemetry/sdk/Metrics/View/CriteriaViewRegistry.php b/vendor/open-telemetry/sdk/Metrics/View/CriteriaViewRegistry.php deleted file mode 100644 index f387abf9c..000000000 --- a/vendor/open-telemetry/sdk/Metrics/View/CriteriaViewRegistry.php +++ /dev/null @@ -1,40 +0,0 @@ - */ - private array $criteria = []; - /** @var list */ - private array $views = []; - - public function register(SelectionCriteriaInterface $criteria, ViewTemplate $view): void - { - $this->criteria[] = $criteria; - $this->views[] = $view; - } - - public function find(Instrument $instrument, InstrumentationScopeInterface $instrumentationScope): ?iterable - { - $views = $this->generateViews($instrument, $instrumentationScope); - - return $views->valid() ? $views : null; - } - - private function generateViews(Instrument $instrument, InstrumentationScopeInterface $instrumentationScope): Generator - { - foreach ($this->criteria as $i => $criteria) { - if ($criteria->accepts($instrument, $instrumentationScope)) { - yield $this->views[$i]->project($instrument); - } - } - } -} diff --git a/vendor/open-telemetry/sdk/Metrics/View/SelectionCriteria/AllCriteria.php b/vendor/open-telemetry/sdk/Metrics/View/SelectionCriteria/AllCriteria.php deleted file mode 100644 index 438297324..000000000 --- a/vendor/open-telemetry/sdk/Metrics/View/SelectionCriteria/AllCriteria.php +++ /dev/null @@ -1,33 +0,0 @@ - $criteria - */ - public function __construct(iterable $criteria) - { - $this->criteria = $criteria; - } - - public function accepts(Instrument $instrument, InstrumentationScopeInterface $instrumentationScope): bool - { - foreach ($this->criteria as $criterion) { - if (!$criterion->accepts($instrument, $instrumentationScope)) { - return false; - } - } - - return true; - } -} diff --git a/vendor/open-telemetry/sdk/Metrics/View/SelectionCriteria/InstrumentNameCriteria.php b/vendor/open-telemetry/sdk/Metrics/View/SelectionCriteria/InstrumentNameCriteria.php deleted file mode 100644 index ed6034755..000000000 --- a/vendor/open-telemetry/sdk/Metrics/View/SelectionCriteria/InstrumentNameCriteria.php +++ /dev/null @@ -1,28 +0,0 @@ -pattern = sprintf('/^%s$/', strtr(preg_quote($name, '/'), ['\\?' => '.', '\\*' => '.*'])); - } - - public function accepts(Instrument $instrument, InstrumentationScopeInterface $instrumentationScope): bool - { - return (bool) preg_match($this->pattern, $instrument->name); - } -} diff --git a/vendor/open-telemetry/sdk/Metrics/View/SelectionCriteria/InstrumentTypeCriteria.php b/vendor/open-telemetry/sdk/Metrics/View/SelectionCriteria/InstrumentTypeCriteria.php deleted file mode 100644 index 46a88def0..000000000 --- a/vendor/open-telemetry/sdk/Metrics/View/SelectionCriteria/InstrumentTypeCriteria.php +++ /dev/null @@ -1,29 +0,0 @@ -instrumentTypes = (array) $instrumentType; - } - - public function accepts(Instrument $instrument, InstrumentationScopeInterface $instrumentationScope): bool - { - return in_array($instrument->type, $this->instrumentTypes, true); - } -} diff --git a/vendor/open-telemetry/sdk/Metrics/View/SelectionCriteria/InstrumentationScopeNameCriteria.php b/vendor/open-telemetry/sdk/Metrics/View/SelectionCriteria/InstrumentationScopeNameCriteria.php deleted file mode 100644 index 201d1a7b2..000000000 --- a/vendor/open-telemetry/sdk/Metrics/View/SelectionCriteria/InstrumentationScopeNameCriteria.php +++ /dev/null @@ -1,24 +0,0 @@ -name = $name; - } - - public function accepts(Instrument $instrument, InstrumentationScopeInterface $instrumentationScope): bool - { - return $this->name === $instrumentationScope->getName(); - } -} diff --git a/vendor/open-telemetry/sdk/Metrics/View/SelectionCriteria/InstrumentationScopeSchemaUrlCriteria.php b/vendor/open-telemetry/sdk/Metrics/View/SelectionCriteria/InstrumentationScopeSchemaUrlCriteria.php deleted file mode 100644 index a11a1d589..000000000 --- a/vendor/open-telemetry/sdk/Metrics/View/SelectionCriteria/InstrumentationScopeSchemaUrlCriteria.php +++ /dev/null @@ -1,24 +0,0 @@ -schemaUrl = $schemaUrl; - } - - public function accepts(Instrument $instrument, InstrumentationScopeInterface $instrumentationScope): bool - { - return $this->schemaUrl === $instrumentationScope->getSchemaUrl(); - } -} diff --git a/vendor/open-telemetry/sdk/Metrics/View/SelectionCriteria/InstrumentationScopeVersionCriteria.php b/vendor/open-telemetry/sdk/Metrics/View/SelectionCriteria/InstrumentationScopeVersionCriteria.php deleted file mode 100644 index 37d180f99..000000000 --- a/vendor/open-telemetry/sdk/Metrics/View/SelectionCriteria/InstrumentationScopeVersionCriteria.php +++ /dev/null @@ -1,24 +0,0 @@ -version = $version; - } - - public function accepts(Instrument $instrument, InstrumentationScopeInterface $instrumentationScope): bool - { - return $this->version === $instrumentationScope->getVersion(); - } -} diff --git a/vendor/open-telemetry/sdk/Metrics/View/SelectionCriteriaInterface.php b/vendor/open-telemetry/sdk/Metrics/View/SelectionCriteriaInterface.php deleted file mode 100644 index 8abd6fa69..000000000 --- a/vendor/open-telemetry/sdk/Metrics/View/SelectionCriteriaInterface.php +++ /dev/null @@ -1,13 +0,0 @@ - - */ - private ?array $attributeKeys = null; - private ?AggregationInterface $aggregation = null; - - private function __construct() - { - } - - public static function create(): self - { - static $instance; - - return $instance ??= new self(); - } - - public function withName(string $name): self - { - $self = clone $this; - $self->name = $name; - - return $self; - } - - public function withDescription(string $description): self - { - $self = clone $this; - $self->description = $description; - - return $self; - } - - /** - * @param list $attributeKeys - */ - public function withAttributeKeys(array $attributeKeys): self - { - $self = clone $this; - $self->attributeKeys = $attributeKeys; - - return $self; - } - - public function withAggregation(?AggregationInterface $aggregation): self - { - $self = clone $this; - $self->aggregation = $aggregation; - - return $self; - } - - public function project(Instrument $instrument): ViewProjection - { - return new ViewProjection( - $this->name ?? $instrument->name, - $instrument->unit, - $this->description ?? $instrument->description, - $this->attributeKeys, - $this->aggregation, - ); - } -} diff --git a/vendor/open-telemetry/sdk/Metrics/ViewProjection.php b/vendor/open-telemetry/sdk/Metrics/ViewProjection.php deleted file mode 100644 index 046bd6bb1..000000000 --- a/vendor/open-telemetry/sdk/Metrics/ViewProjection.php +++ /dev/null @@ -1,47 +0,0 @@ -|null - */ - public ?array $attributeKeys; - /** - * @readonly - */ - public ?AggregationInterface $aggregation; - - /** - * @param list|null $attributeKeys - */ - public function __construct( - string $name, - ?string $unit, - ?string $description, - ?array $attributeKeys, - ?AggregationInterface $aggregation - ) { - $this->name = $name; - $this->unit = $unit; - $this->description = $description; - $this->attributeKeys = $attributeKeys; - $this->aggregation = $aggregation; - } -} diff --git a/vendor/open-telemetry/sdk/Metrics/ViewRegistryInterface.php b/vendor/open-telemetry/sdk/Metrics/ViewRegistryInterface.php deleted file mode 100644 index 19d8f9ffd..000000000 --- a/vendor/open-telemetry/sdk/Metrics/ViewRegistryInterface.php +++ /dev/null @@ -1,15 +0,0 @@ -|null - */ - public function find(Instrument $instrument, InstrumentationScopeInterface $instrumentationScope): ?iterable; -} diff --git a/vendor/open-telemetry/sdk/Propagation/PropagatorFactory.php b/vendor/open-telemetry/sdk/Propagation/PropagatorFactory.php deleted file mode 100644 index 2dc349dfb..000000000 --- a/vendor/open-telemetry/sdk/Propagation/PropagatorFactory.php +++ /dev/null @@ -1,55 +0,0 @@ -buildPropagator($propagators[0]); - default: - return new MultiTextMapPropagator($this->buildPropagators($propagators)); - } - } - - /** - * @return array - */ - private function buildPropagators(array $names): array - { - $propagators = []; - foreach ($names as $name) { - $propagators[] = $this->buildPropagator($name); - } - - return $propagators; - } - - private function buildPropagator(string $name): TextMapPropagatorInterface - { - try { - return Registry::textMapPropagator($name); - } catch (\RuntimeException $e) { - self::logWarning($e->getMessage()); - } - - return NoopTextMapPropagator::getInstance(); - } -} diff --git a/vendor/open-telemetry/sdk/Propagation/_register.php b/vendor/open-telemetry/sdk/Propagation/_register.php deleted file mode 100644 index fd90da184..000000000 --- a/vendor/open-telemetry/sdk/Propagation/_register.php +++ /dev/null @@ -1,16 +0,0 @@ -getTracer('example'); -$meter = \OpenTelemetry\API\Globals::meterProvider()->getMeter('example'); -``` - -If autoloading was not successful (or partially successful), no-op implementations of the above may be returned. - -See https://github.com/open-telemetry/opentelemetry-php/blob/main/examples/autoload_sdk.php for a more detailed example. - -## Contributing - -This repository is a read-only git subtree split. -To contribute, please see the main [OpenTelemetry PHP monorepo](https://github.com/open-telemetry/opentelemetry-php). diff --git a/vendor/open-telemetry/sdk/Registry.php b/vendor/open-telemetry/sdk/Registry.php deleted file mode 100644 index 2f0a20263..000000000 --- a/vendor/open-telemetry/sdk/Registry.php +++ /dev/null @@ -1,208 +0,0 @@ - $factory - */ - public static function registerTransportFactory(string $protocol, $factory, bool $clobber = false): void - { - if (!$clobber && array_key_exists($protocol, self::$transportFactories)) { - return; - } - if (!is_subclass_of($factory, TransportFactoryInterface::class)) { - trigger_error( - sprintf( - 'Cannot register transport factory: %s must exist and implement %s', - is_string($factory) ? $factory : get_class($factory), - TransportFactoryInterface::class - ), - E_USER_WARNING - ); - - return; - } - self::$transportFactories[$protocol] = $factory; - } - - /** - * @param SpanExporterFactoryInterface|class-string $factory - */ - public static function registerSpanExporterFactory(string $exporter, $factory, bool $clobber = false): void - { - if (!$clobber && array_key_exists($exporter, self::$spanExporterFactories)) { - return; - } - if (!is_subclass_of($factory, SpanExporterFactoryInterface::class)) { - trigger_error( - sprintf( - 'Cannot register span exporter factory: %s must exist and implement %s', - is_string($factory) ? $factory : get_class($factory), - SpanExporterFactoryInterface::class - ), - E_USER_WARNING - ); - - return; - } - self::$spanExporterFactories[$exporter] = $factory; - } - - /** - * @param MetricExporterFactoryInterface|class-string $factory - */ - public static function registerMetricExporterFactory(string $exporter, $factory, bool $clobber = false): void - { - if (!$clobber && array_key_exists($exporter, self::$metricExporterFactories)) { - return; - } - if (!is_subclass_of($factory, MetricExporterFactoryInterface::class)) { - trigger_error( - sprintf( - 'Cannot register metric factory: %s must exist and implement %s', - is_string($factory) ? $factory : get_class($factory), - MetricExporterFactoryInterface::class - ), - E_USER_WARNING - ); - - return; - } - self::$metricExporterFactories[$exporter] = $factory; - } - - public static function registerLogRecordExporterFactory(string $exporter, $factory, bool $clobber = false): void - { - if (!$clobber && array_key_exists($exporter, self::$logRecordExporterFactories)) { - return; - } - if (!is_subclass_of($factory, LogRecordExporterFactoryInterface::class)) { - trigger_error( - sprintf( - 'Cannot register LogRecord exporter factory: %s must exist and implement %s', - is_string($factory) ? $factory : get_class($factory), - LogRecordExporterFactoryInterface::class - ), - E_USER_WARNING - ); - - return; - } - self::$logRecordExporterFactories[$exporter] = $factory; - } - - public static function registerTextMapPropagator(string $name, TextMapPropagatorInterface $propagator, bool $clobber = false): void - { - if (!$clobber && array_key_exists($name, self::$textMapPropagators)) { - return; - } - self::$textMapPropagators[$name] = $propagator; - } - - public static function registerResourceDetector(string $name, ResourceDetectorInterface $detector): void - { - self::$resourceDetectors[$name] = $detector; - } - - public static function spanExporterFactory(string $exporter): SpanExporterFactoryInterface - { - if (!array_key_exists($exporter, self::$spanExporterFactories)) { - throw new RuntimeException('Span exporter factory not defined for: ' . $exporter); - } - $class = self::$spanExporterFactories[$exporter]; - $factory = (is_callable($class)) ? $class : new $class(); - assert($factory instanceof SpanExporterFactoryInterface); - - return $factory; - } - - public static function logRecordExporterFactory(string $exporter): LogRecordExporterFactoryInterface - { - if (!array_key_exists($exporter, self::$logRecordExporterFactories)) { - throw new RuntimeException('LogRecord exporter factory not defined for: ' . $exporter); - } - $class = self::$logRecordExporterFactories[$exporter]; - $factory = (is_callable($class)) ? $class : new $class(); - assert($factory instanceof LogRecordExporterFactoryInterface); - - return $factory; - } - - /** - * Get transport factory registered for protocol. If $protocol contains a content-type eg `http/xyz` then - * only the first part, `http`, is used. - */ - public static function transportFactory(string $protocol): TransportFactoryInterface - { - $protocol = explode('/', $protocol)[0]; - if (!array_key_exists($protocol, self::$transportFactories)) { - throw new RuntimeException('Transport factory not defined for protocol: ' . $protocol); - } - $class = self::$transportFactories[$protocol]; - $factory = (is_callable($class)) ? $class : new $class(); - assert($factory instanceof TransportFactoryInterface); - - return $factory; - } - - public static function metricExporterFactory(string $exporter): MetricExporterFactoryInterface - { - if (!array_key_exists($exporter, self::$metricExporterFactories)) { - throw new RuntimeException('Metric exporter factory not registered for protocol: ' . $exporter); - } - $class = self::$metricExporterFactories[$exporter]; - $factory = (is_callable($class)) ? $class : new $class(); - assert($factory instanceof MetricExporterFactoryInterface); - - return $factory; - } - - public static function textMapPropagator(string $name): TextMapPropagatorInterface - { - if (!array_key_exists($name, self::$textMapPropagators)) { - throw new RuntimeException('Text map propagator not registered for: ' . $name); - } - - return self::$textMapPropagators[$name]; - } - - public static function resourceDetector(string $name): ResourceDetectorInterface - { - if (!array_key_exists($name, self::$resourceDetectors)) { - throw new RuntimeException('Resource detector not registered for: ' . $name); - } - - return self::$resourceDetectors[$name]; - } - - /** - * @return array - */ - public static function resourceDetectors(): array - { - return array_values(self::$resourceDetectors); - } -} diff --git a/vendor/open-telemetry/sdk/Resource/Detectors/Composer.php b/vendor/open-telemetry/sdk/Resource/Detectors/Composer.php deleted file mode 100644 index 56b136ef1..000000000 --- a/vendor/open-telemetry/sdk/Resource/Detectors/Composer.php +++ /dev/null @@ -1,30 +0,0 @@ - InstalledVersions::getRootPackage()['name'], - ResourceAttributes::SERVICE_VERSION => InstalledVersions::getRootPackage()['pretty_version'], - ]; - - return ResourceInfo::create(Attributes::create($attributes), ResourceAttributes::SCHEMA_URL); - } -} diff --git a/vendor/open-telemetry/sdk/Resource/Detectors/Composite.php b/vendor/open-telemetry/sdk/Resource/Detectors/Composite.php deleted file mode 100644 index 9da267743..000000000 --- a/vendor/open-telemetry/sdk/Resource/Detectors/Composite.php +++ /dev/null @@ -1,32 +0,0 @@ - $resourceDetectors - */ - public function __construct(iterable $resourceDetectors) - { - $this->resourceDetectors = $resourceDetectors; - } - - public function getResource(): ResourceInfo - { - $resource = ResourceInfoFactory::emptyResource(); - foreach ($this->resourceDetectors as $resourceDetector) { - $resource = $resource->merge($resourceDetector->getResource()); - } - - return $resource; - } -} diff --git a/vendor/open-telemetry/sdk/Resource/Detectors/Constant.php b/vendor/open-telemetry/sdk/Resource/Detectors/Constant.php deleted file mode 100644 index 7ff9d19eb..000000000 --- a/vendor/open-telemetry/sdk/Resource/Detectors/Constant.php +++ /dev/null @@ -1,23 +0,0 @@ -resourceInfo = $resourceInfo; - } - - public function getResource(): ResourceInfo - { - return $this->resourceInfo; - } -} diff --git a/vendor/open-telemetry/sdk/Resource/Detectors/Environment.php b/vendor/open-telemetry/sdk/Resource/Detectors/Environment.php deleted file mode 100644 index ceee8fcf7..000000000 --- a/vendor/open-telemetry/sdk/Resource/Detectors/Environment.php +++ /dev/null @@ -1,40 +0,0 @@ - php_uname('n'), - ResourceAttributes::HOST_ARCH => php_uname('m'), - ]; - - return ResourceInfo::create(Attributes::create($attributes), ResourceAttributes::SCHEMA_URL); - } -} diff --git a/vendor/open-telemetry/sdk/Resource/Detectors/OperatingSystem.php b/vendor/open-telemetry/sdk/Resource/Detectors/OperatingSystem.php deleted file mode 100644 index 2cb350dc2..000000000 --- a/vendor/open-telemetry/sdk/Resource/Detectors/OperatingSystem.php +++ /dev/null @@ -1,32 +0,0 @@ - strtolower(PHP_OS_FAMILY), - ResourceAttributes::OS_DESCRIPTION => php_uname('r'), - ResourceAttributes::OS_NAME => PHP_OS, - ResourceAttributes::OS_VERSION => php_uname('v'), - ]; - - return ResourceInfo::create(Attributes::create($attributes), ResourceAttributes::SCHEMA_URL); - } -} diff --git a/vendor/open-telemetry/sdk/Resource/Detectors/Process.php b/vendor/open-telemetry/sdk/Resource/Detectors/Process.php deleted file mode 100644 index 7f1d99386..000000000 --- a/vendor/open-telemetry/sdk/Resource/Detectors/Process.php +++ /dev/null @@ -1,43 +0,0 @@ - php_sapi_name(), - ResourceAttributes::PROCESS_RUNTIME_VERSION => PHP_VERSION, - ]; - - return ResourceInfo::create(Attributes::create($attributes), ResourceAttributes::SCHEMA_URL); - } -} diff --git a/vendor/open-telemetry/sdk/Resource/Detectors/Sdk.php b/vendor/open-telemetry/sdk/Resource/Detectors/Sdk.php deleted file mode 100644 index dba3eb8aa..000000000 --- a/vendor/open-telemetry/sdk/Resource/Detectors/Sdk.php +++ /dev/null @@ -1,53 +0,0 @@ - 'opentelemetry', - ResourceAttributes::TELEMETRY_SDK_LANGUAGE => 'php', - ]; - - if (class_exists(InstalledVersions::class)) { - foreach (self::PACKAGES as $package) { - if (!InstalledVersions::isInstalled($package)) { - continue; - } - if (($version = InstalledVersions::getPrettyVersion($package)) === null) { - continue; - } - - $attributes[ResourceAttributes::TELEMETRY_SDK_VERSION] = $version; - - break; - } - } - - if (extension_loaded('opentelemetry')) { - $attributes[ResourceAttributes::TELEMETRY_DISTRO_NAME] = 'opentelemetry-php-instrumentation'; - $attributes[ResourceAttributes::TELEMETRY_DISTRO_VERSION] = phpversion('opentelemetry'); - } - - return ResourceInfo::create(Attributes::create($attributes), ResourceAttributes::SCHEMA_URL); - } -} diff --git a/vendor/open-telemetry/sdk/Resource/Detectors/SdkProvided.php b/vendor/open-telemetry/sdk/Resource/Detectors/SdkProvided.php deleted file mode 100644 index ec4ec7def..000000000 --- a/vendor/open-telemetry/sdk/Resource/Detectors/SdkProvided.php +++ /dev/null @@ -1,25 +0,0 @@ - 'unknown_service:php', - ]; - - return ResourceInfo::create(Attributes::create($attributes), ResourceAttributes::SCHEMA_URL); - } -} diff --git a/vendor/open-telemetry/sdk/Resource/ResourceDetectorInterface.php b/vendor/open-telemetry/sdk/Resource/ResourceDetectorInterface.php deleted file mode 100644 index f2cd5256b..000000000 --- a/vendor/open-telemetry/sdk/Resource/ResourceDetectorInterface.php +++ /dev/null @@ -1,10 +0,0 @@ -attributes = $attributes; - $this->schemaUrl = $schemaUrl; - } - - public static function create(AttributesInterface $attributes, ?string $schemaUrl = null): self - { - return new ResourceInfo($attributes, $schemaUrl); - } - - public function getAttributes(): AttributesInterface - { - return $this->attributes; - } - - public function getSchemaUrl(): ?string - { - return $this->schemaUrl; - } - - public function serialize(): string - { - $copyOfAttributesAsArray = array_slice($this->attributes->toArray(), 0); //This may be overly cautious (in trying to avoid mutating the source array) - ksort($copyOfAttributesAsArray); //sort the associative array by keys since the serializer will consider equal arrays different otherwise - - //The exact return value doesn't matter, as long as it can distingusih between instances that represent the same/different resources - return serialize([ - 'schemaUrl' => $this->schemaUrl, - 'attributes' => $copyOfAttributesAsArray, - ]); - } - - /** - * Merge current resource with an updating resource, combining all attributes. If a key exists on both the old and updating - * resource, the value of the updating resource MUST be picked (even if the updated value is empty) - * - * @see https://github.com/open-telemetry/opentelemetry-specification/blob/v1.20.0/specification/resource/sdk.md#merge - */ - public function merge(ResourceInfo $updating): ResourceInfo - { - $schemaUrl = self::mergeSchemaUrl($this->getSchemaUrl(), $updating->getSchemaUrl()); - $attributes = $updating->getAttributes()->toArray() + $this->getAttributes()->toArray(); - - return ResourceInfo::create(Attributes::create($attributes), $schemaUrl); - } - - /** - * Merge the schema URLs from the old and updating resource. - * @see https://github.com/open-telemetry/opentelemetry-specification/blob/v1.20.0/specification/resource/sdk.md#merge - */ - private static function mergeSchemaUrl(?string $old, ?string $updating): ?string - { - if (empty($old)) { - return $updating; - } - if (empty($updating)) { - return $old; - } - if ($old === $updating) { - return $old; - } - - self::logWarning('Merging resources with different schema URLs', [ - 'old' => $old, - 'updating' => $updating, - ]); - - return null; - } - - /** - * @codeCoverageIgnore - */ - public static function defaultResource(): ResourceInfo - { - BcUtil::triggerMethodDeprecationNotice( - __METHOD__, - 'defaultResource', - ResourceInfoFactory::class - ); - - return ResourceInfoFactory::defaultResource(); - } - - /** - * @codeCoverageIgnore - */ - public static function emptyResource(): ResourceInfo - { - BcUtil::triggerMethodDeprecationNotice( - __METHOD__, - 'emptyResource', - ResourceInfoFactory::class - ); - - return ResourceInfoFactory::emptyResource(); - } -} diff --git a/vendor/open-telemetry/sdk/Resource/ResourceInfoFactory.php b/vendor/open-telemetry/sdk/Resource/ResourceInfoFactory.php deleted file mode 100644 index 7fc80bcd9..000000000 --- a/vendor/open-telemetry/sdk/Resource/ResourceInfoFactory.php +++ /dev/null @@ -1,95 +0,0 @@ -getResource(); - } - - $resourceDetectors = []; - - foreach ($detectors as $detector) { - switch ($detector) { - case Values::VALUE_DETECTORS_ENVIRONMENT: - $resourceDetectors[] = new Detectors\Environment(); - - break; - case Values::VALUE_DETECTORS_HOST: - $resourceDetectors[] = new Detectors\Host(); - - break; - case Values::VALUE_DETECTORS_OS: - $resourceDetectors[] = new Detectors\OperatingSystem(); - - break; - case Values::VALUE_DETECTORS_PROCESS: - $resourceDetectors[] = new Detectors\Process(); - - break; - case Values::VALUE_DETECTORS_PROCESS_RUNTIME: - $resourceDetectors[] = new Detectors\ProcessRuntime(); - - break; - case Values::VALUE_DETECTORS_SDK: - $resourceDetectors[] = new Detectors\Sdk(); - - break; - case Values::VALUE_DETECTORS_SDK_PROVIDED: - $resourceDetectors[] = new Detectors\SdkProvided(); - - break; - - case Values::VALUE_DETECTORS_COMPOSER: - $resourceDetectors[] = new Detectors\Composer(); - - break; - case Values::VALUE_NONE: - - break; - default: - try { - $resourceDetectors[] = Registry::resourceDetector($detector); - } catch (RuntimeException $e) { - self::logWarning($e->getMessage()); - } - } - } - - return (new Detectors\Composite($resourceDetectors))->getResource(); - } - - public static function emptyResource(): ResourceInfo - { - return ResourceInfo::create(Attributes::create([])); - } -} diff --git a/vendor/open-telemetry/sdk/Sdk.php b/vendor/open-telemetry/sdk/Sdk.php deleted file mode 100644 index 3b63eb93a..000000000 --- a/vendor/open-telemetry/sdk/Sdk.php +++ /dev/null @@ -1,70 +0,0 @@ -tracerProvider = $tracerProvider; - $this->meterProvider = $meterProvider; - $this->loggerProvider = $loggerProvider; - $this->propagator = $propagator; - } - - public static function isDisabled(): bool - { - return Configuration::getBoolean(Variables::OTEL_SDK_DISABLED); - } - - /** - * Tests whether an auto-instrumentation package has been disabled by config - */ - public static function isInstrumentationDisabled(string $name): bool - { - return in_array($name, Configuration::getList(Variables::OTEL_PHP_DISABLED_INSTRUMENTATIONS)); - } - - public static function builder(): SdkBuilder - { - return new SdkBuilder(); - } - - public function getTracerProvider(): TracerProviderInterface - { - return $this->tracerProvider; - } - - public function getMeterProvider(): MeterProviderInterface - { - return $this->meterProvider; - } - - public function getLoggerProvider(): LoggerProviderInterface - { - return $this->loggerProvider; - } - - public function getPropagator(): TextMapPropagatorInterface - { - return $this->propagator; - } -} diff --git a/vendor/open-telemetry/sdk/SdkAutoloader.php b/vendor/open-telemetry/sdk/SdkAutoloader.php deleted file mode 100644 index c08195e19..000000000 --- a/vendor/open-telemetry/sdk/SdkAutoloader.php +++ /dev/null @@ -1,76 +0,0 @@ -create(); - if (Sdk::isDisabled()) { - //@see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/configuration/sdk-environment-variables.md#general-sdk-configuration - return $configurator->withPropagator($propagator); - } - $emitMetrics = Configuration::getBoolean(Variables::OTEL_PHP_INTERNAL_METRICS_ENABLED); - - $exporter = (new ExporterFactory())->create(); - $meterProvider = (new MeterProviderFactory())->create(); - $spanProcessor = (new SpanProcessorFactory())->create($exporter, $emitMetrics ? $meterProvider : null); - $tracerProvider = (new TracerProviderBuilder()) - ->addSpanProcessor($spanProcessor) - ->setSampler((new SamplerFactory())->create()) - ->build(); - - $loggerProvider = (new LoggerProviderFactory())->create($emitMetrics ? $meterProvider : null); - - ShutdownHandler::register([$tracerProvider, 'shutdown']); - ShutdownHandler::register([$meterProvider, 'shutdown']); - ShutdownHandler::register([$loggerProvider, 'shutdown']); - - return $configurator - ->withTracerProvider($tracerProvider) - ->withMeterProvider($meterProvider) - ->withLoggerProvider($loggerProvider) - ->withPropagator($propagator) - ; - }); - - return true; - } - - /** - * @internal - */ - public static function reset(): void - { - self::$enabled = null; - } -} diff --git a/vendor/open-telemetry/sdk/SdkBuilder.php b/vendor/open-telemetry/sdk/SdkBuilder.php deleted file mode 100644 index 2090c4731..000000000 --- a/vendor/open-telemetry/sdk/SdkBuilder.php +++ /dev/null @@ -1,98 +0,0 @@ -autoShutdown = $shutdown; - - return $this; - } - - public function setTracerProvider(TracerProviderInterface $provider): self - { - $this->tracerProvider = $provider; - - return $this; - } - - public function setMeterProvider(MeterProviderInterface $meterProvider): self - { - $this->meterProvider = $meterProvider; - - return $this; - } - - public function setLoggerProvider(LoggerProviderInterface $loggerProvider): self - { - $this->loggerProvider = $loggerProvider; - - return $this; - } - - public function setPropagator(TextMapPropagatorInterface $propagator): self - { - $this->propagator = $propagator; - - return $this; - } - - public function build(): Sdk - { - $tracerProvider = $this->tracerProvider ?? new NoopTracerProvider(); - $meterProvider = $this->meterProvider ?? new NoopMeterProvider(); - $loggerProvider = $this->loggerProvider ?? new NoopLoggerProvider(); - if ($this->autoShutdown) { - // rector rule disabled in config, because ShutdownHandler::register() does not keep a strong reference to $this - ShutdownHandler::register([$tracerProvider, 'shutdown']); - ShutdownHandler::register([$meterProvider, 'shutdown']); - ShutdownHandler::register([$loggerProvider, 'shutdown']); - } - - return new Sdk( - $tracerProvider, - $meterProvider, - $loggerProvider, - $this->propagator ?? NoopTextMapPropagator::getInstance(), - ); - } - - public function buildAndRegisterGlobal(): ScopeInterface - { - $sdk = $this->build(); - $context = Configurator::create() - ->withPropagator($sdk->getPropagator()) - ->withTracerProvider($sdk->getTracerProvider()) - ->withMeterProvider($sdk->getMeterProvider()) - ->withLoggerProvider($sdk->getLoggerProvider()) - ->storeInContext(); - - return Context::storage()->attach($context); - } -} diff --git a/vendor/open-telemetry/sdk/Trace/Behavior/LoggerAwareTrait.php b/vendor/open-telemetry/sdk/Trace/Behavior/LoggerAwareTrait.php deleted file mode 100644 index 24f5e56a8..000000000 --- a/vendor/open-telemetry/sdk/Trace/Behavior/LoggerAwareTrait.php +++ /dev/null @@ -1,48 +0,0 @@ -defaultLogLevel = $logLevel; - } - - /** - * @param string $message - * @param array $context - * @param string|null $level - */ - protected function log(string $message, array $context = [], ?string $level = null): void - { - $this->getLogger()->log( - $level ?? $this->defaultLogLevel, - $message, - $context - ); - } - - protected function getLogger(): LoggerInterface - { - if ($this->logger !== null) { - return $this->logger; - } - - return new NullLogger(); - } -} diff --git a/vendor/open-telemetry/sdk/Trace/Behavior/SpanExporterDecoratorTrait.php b/vendor/open-telemetry/sdk/Trace/Behavior/SpanExporterDecoratorTrait.php deleted file mode 100644 index 97839ec5b..000000000 --- a/vendor/open-telemetry/sdk/Trace/Behavior/SpanExporterDecoratorTrait.php +++ /dev/null @@ -1,47 +0,0 @@ - $batch - * @return FutureInterface - */ - public function export(iterable $batch, ?CancellationInterface $cancellation = null): FutureInterface - { - $batch = $this->beforeExport($batch); - $response = $this->decorated->export($batch, $cancellation); - $response->map(fn (bool $result) => $this->afterExport($batch, $result)); - - return $response; - } - - abstract protected function beforeExport(iterable $spans): iterable; - - abstract protected function afterExport(iterable $spans, bool $exportSuccess): void; - - public function shutdown(?CancellationInterface $cancellation = null): bool - { - return $this->decorated->shutdown($cancellation); - } - - public function forceFlush(?CancellationInterface $cancellation = null): bool - { - return $this->decorated->forceFlush($cancellation); - } - - public function setDecorated(SpanExporterInterface $decorated): void - { - $this->decorated = $decorated; - } -} diff --git a/vendor/open-telemetry/sdk/Trace/Behavior/SpanExporterTrait.php b/vendor/open-telemetry/sdk/Trace/Behavior/SpanExporterTrait.php deleted file mode 100644 index 339fecc1d..000000000 --- a/vendor/open-telemetry/sdk/Trace/Behavior/SpanExporterTrait.php +++ /dev/null @@ -1,47 +0,0 @@ -running = false; - - return true; - } - - /** @see https://github.com/open-telemetry/opentelemetry-specification/blob/v1.7.0/specification/trace/sdk.md#forceflush-2 */ - public function forceFlush(?CancellationInterface $cancellation = null): bool - { - return true; - } - - /** - * @param iterable $batch - * @return FutureInterface - */ - public function export(iterable $batch, ?CancellationInterface $cancellation = null): FutureInterface - { - if (!$this->running) { - return new CompletedFuture(false); - } - - return new CompletedFuture($this->doExport($batch)); /** @phpstan-ignore-line */ - } - - /** - * @param iterable $spans Batch of spans to export - */ - abstract protected function doExport(iterable $spans): bool; /** @phpstan-ignore-line */ -} diff --git a/vendor/open-telemetry/sdk/Trace/Behavior/UsesSpanConverterTrait.php b/vendor/open-telemetry/sdk/Trace/Behavior/UsesSpanConverterTrait.php deleted file mode 100644 index 4802cd15b..000000000 --- a/vendor/open-telemetry/sdk/Trace/Behavior/UsesSpanConverterTrait.php +++ /dev/null @@ -1,41 +0,0 @@ -converter = $converter; - } - - public function getSpanConverter(): SpanConverterInterface - { - if (null === $this->converter) { - $this->converter = new NullSpanConverter(); - } - - return $this->converter; - } - - /** - * @param SpanDataInterface $span - * @return array - * @psalm-suppress PossiblyNullReference - */ - protected function convertSpan(SpanDataInterface $span): array - { - return $this->getSpanConverter()->convert([$span]); - } -} diff --git a/vendor/open-telemetry/sdk/Trace/Event.php b/vendor/open-telemetry/sdk/Trace/Event.php deleted file mode 100644 index 28cb39bb1..000000000 --- a/vendor/open-telemetry/sdk/Trace/Event.php +++ /dev/null @@ -1,47 +0,0 @@ -name = $name; - $this->timestamp = $timestamp; - $this->attributes = $attributes; - } - - public function getAttributes(): AttributesInterface - { - return $this->attributes; - } - - public function getName(): string - { - return $this->name; - } - - public function getEpochNanos(): int - { - return $this->timestamp; - } - - public function getTotalAttributeCount(): int - { - return count($this->attributes); - } - - public function getDroppedAttributesCount(): int - { - return $this->attributes->getDroppedAttributesCount(); - } -} diff --git a/vendor/open-telemetry/sdk/Trace/EventInterface.php b/vendor/open-telemetry/sdk/Trace/EventInterface.php deleted file mode 100644 index 8b5ee2af6..000000000 --- a/vendor/open-telemetry/sdk/Trace/EventInterface.php +++ /dev/null @@ -1,15 +0,0 @@ -create(); - } -} diff --git a/vendor/open-telemetry/sdk/Trace/IdGeneratorInterface.php b/vendor/open-telemetry/sdk/Trace/IdGeneratorInterface.php deleted file mode 100644 index ad622dccc..000000000 --- a/vendor/open-telemetry/sdk/Trace/IdGeneratorInterface.php +++ /dev/null @@ -1,12 +0,0 @@ - */ - private array $events; - - /** @var list */ - private array $links; - - private AttributesInterface $attributes; - private int $totalRecordedEvents; - private StatusDataInterface $status; - private int $endEpochNanos; - private bool $hasEnded; - - /** - * @param non-empty-string $name - * @param list $links - * @param list $events - */ - public function __construct( - Span $span, - string $name, - array $links, - array $events, - AttributesInterface $attributes, - int $totalRecordedEvents, - StatusDataInterface $status, - int $endEpochNanos, - bool $hasEnded - ) { - $this->span = $span; - $this->name = $name; - $this->links = $links; - $this->events = $events; - $this->attributes = $attributes; - $this->totalRecordedEvents = $totalRecordedEvents; - $this->status = $status; - $this->endEpochNanos = $endEpochNanos; - $this->hasEnded = $hasEnded; - } - - public function getKind(): int - { - return $this->span->getKind(); - } - - public function getContext(): API\SpanContextInterface - { - return $this->span->getContext(); - } - - public function getParentContext(): API\SpanContextInterface - { - return $this->span->getParentContext(); - } - - public function getTraceId(): string - { - return $this->getContext()->getTraceId(); - } - - public function getSpanId(): string - { - return $this->getContext()->getSpanId(); - } - - public function getParentSpanId(): string - { - return $this->getParentContext()->getSpanId(); - } - - public function getStartEpochNanos(): int - { - return $this->span->getStartEpochNanos(); - } - - public function getEndEpochNanos(): int - { - return $this->endEpochNanos; - } - - public function getInstrumentationScope(): InstrumentationScopeInterface - { - return $this->span->getInstrumentationScope(); - } - - public function getResource(): ResourceInfo - { - return $this->span->getResource(); - } - - public function getName(): string - { - return $this->name; - } - - /** @inheritDoc */ - public function getLinks(): array - { - return $this->links; - } - - /** @inheritDoc */ - public function getEvents(): array - { - return $this->events; - } - - public function getAttributes(): AttributesInterface - { - return $this->attributes; - } - - public function getTotalDroppedEvents(): int - { - return max(0, $this->totalRecordedEvents - count($this->events)); - } - - public function getTotalDroppedLinks(): int - { - return max(0, $this->span->getTotalRecordedLinks() - count($this->links)); - } - - public function getStatus(): StatusDataInterface - { - return $this->status; - } - - public function hasEnded(): bool - { - return $this->hasEnded; - } -} diff --git a/vendor/open-telemetry/sdk/Trace/Link.php b/vendor/open-telemetry/sdk/Trace/Link.php deleted file mode 100644 index 9927839e7..000000000 --- a/vendor/open-telemetry/sdk/Trace/Link.php +++ /dev/null @@ -1,30 +0,0 @@ -context = $context; - $this->attributes = $attributes; - } - - public function getSpanContext(): API\SpanContextInterface - { - return $this->context; - } - - public function getAttributes(): AttributesInterface - { - return $this->attributes; - } -} diff --git a/vendor/open-telemetry/sdk/Trace/LinkInterface.php b/vendor/open-telemetry/sdk/Trace/LinkInterface.php deleted file mode 100644 index 8090fa1a5..000000000 --- a/vendor/open-telemetry/sdk/Trace/LinkInterface.php +++ /dev/null @@ -1,14 +0,0 @@ -randomHex(self::TRACE_ID_HEX_LENGTH); - } while (!SpanContextValidator::isValidTraceId($traceId)); - - return $traceId; - } - - public function generateSpanId(): string - { - do { - $spanId = $this->randomHex(self::SPAN_ID_HEX_LENGTH); - } while (!SpanContextValidator::isValidSpanId($spanId)); - - return $spanId; - } - - /** - * @psalm-suppress ArgumentTypeCoercion $hexLength is always a positive integer - */ - private function randomHex(int $hexLength): string - { - try { - return bin2hex(random_bytes(intdiv($hexLength, 2))); - } catch (Throwable $e) { - return $this->fallbackAlgorithm($hexLength); - } - } - - private function fallbackAlgorithm(int $hexLength): string - { - return substr(str_shuffle(str_repeat('0123456789abcdef', $hexLength)), 1, $hexLength); - } -} diff --git a/vendor/open-telemetry/sdk/Trace/ReadWriteSpanInterface.php b/vendor/open-telemetry/sdk/Trace/ReadWriteSpanInterface.php deleted file mode 100644 index 60940ac01..000000000 --- a/vendor/open-telemetry/sdk/Trace/ReadWriteSpanInterface.php +++ /dev/null @@ -1,11 +0,0 @@ -getContext(); - $traceState = $parentSpanContext->getTraceState(); - - return new SamplingResult( - SamplingResult::DROP, - [], - $traceState - ); - } - - public function getDescription(): string - { - return 'AlwaysOffSampler'; - } -} diff --git a/vendor/open-telemetry/sdk/Trace/Sampler/AlwaysOnSampler.php b/vendor/open-telemetry/sdk/Trace/Sampler/AlwaysOnSampler.php deleted file mode 100644 index df61d1aee..000000000 --- a/vendor/open-telemetry/sdk/Trace/Sampler/AlwaysOnSampler.php +++ /dev/null @@ -1,50 +0,0 @@ -getContext(); - $traceState = $parentSpanContext->getTraceState(); - - return new SamplingResult( - SamplingResult::RECORD_AND_SAMPLE, - [], - $traceState - ); - } - - public function getDescription(): string - { - return 'AlwaysOnSampler'; - } -} diff --git a/vendor/open-telemetry/sdk/Trace/Sampler/ParentBased.php b/vendor/open-telemetry/sdk/Trace/Sampler/ParentBased.php deleted file mode 100644 index db801d3d8..000000000 --- a/vendor/open-telemetry/sdk/Trace/Sampler/ParentBased.php +++ /dev/null @@ -1,100 +0,0 @@ -root = $root; - $this->remoteParentSampler = $remoteParentSampler ?? new AlwaysOnSampler(); - $this->remoteParentNotSampler = $remoteParentNotSampler ?? new AlwaysOffSampler(); - $this->localParentSampler = $localParentSampler ?? new AlwaysOnSampler(); - $this->localParentNotSampler = $localParentNotSampler ?? new AlwaysOffSampler(); - } - - /** - * Invokes the respective delegate sampler when parent is set or uses root sampler for the root span. - * {@inheritdoc} - */ - public function shouldSample( - ContextInterface $parentContext, - string $traceId, - string $spanName, - int $spanKind, - AttributesInterface $attributes, - array $links - ): SamplingResult { - $parentSpan = Span::fromContext($parentContext); - $parentSpanContext = $parentSpan->getContext(); - - // Invalid parent SpanContext indicates root span is being created - if (!$parentSpanContext->isValid()) { - return $this->root->shouldSample(...func_get_args()); - } - - if ($parentSpanContext->isRemote()) { - return $parentSpanContext->isSampled() - ? $this->remoteParentSampler->shouldSample(...func_get_args()) - : $this->remoteParentNotSampler->shouldSample(...func_get_args()); - } - - return $parentSpanContext->isSampled() - ? $this->localParentSampler->shouldSample(...func_get_args()) - : $this->localParentNotSampler->shouldSample(...func_get_args()); - } - - public function getDescription(): string - { - return 'ParentBased+' . $this->root->getDescription(); - } -} diff --git a/vendor/open-telemetry/sdk/Trace/Sampler/TraceIdRatioBasedSampler.php b/vendor/open-telemetry/sdk/Trace/Sampler/TraceIdRatioBasedSampler.php deleted file mode 100644 index c11a90d5d..000000000 --- a/vendor/open-telemetry/sdk/Trace/Sampler/TraceIdRatioBasedSampler.php +++ /dev/null @@ -1,70 +0,0 @@ - 1.0) { - throw new InvalidArgumentException('probability should be be between 0.0 and 1.0.'); - } - $this->probability = $probability; - } - - /** - * Returns `SamplingResult` based on probability. Respects the parent `SampleFlag` - * {@inheritdoc} - */ - public function shouldSample( - ContextInterface $parentContext, - string $traceId, - string $spanName, - int $spanKind, - AttributesInterface $attributes, - array $links - ): SamplingResult { - // TODO: Add config to adjust which spans get sampled (only default from specification is implemented) - $parentSpan = Span::fromContext($parentContext); - $parentSpanContext = $parentSpan->getContext(); - $traceState = $parentSpanContext->getTraceState(); - - /** - * Since php can only store up to 63 bit positive integers - */ - $traceIdLimit = (1 << 60) - 1; - $lowerOrderBytes = hexdec(substr($traceId, strlen($traceId) - 15, 15)); - $traceIdCondition = $lowerOrderBytes < round($this->probability * $traceIdLimit); - $decision = $traceIdCondition ? SamplingResult::RECORD_AND_SAMPLE : SamplingResult::DROP; - - return new SamplingResult($decision, [], $traceState); - } - - public function getDescription(): string - { - return sprintf('%s{%.6F}', 'TraceIdRatioBasedSampler', $this->probability); - } -} diff --git a/vendor/open-telemetry/sdk/Trace/SamplerFactory.php b/vendor/open-telemetry/sdk/Trace/SamplerFactory.php deleted file mode 100644 index f99674d79..000000000 --- a/vendor/open-telemetry/sdk/Trace/SamplerFactory.php +++ /dev/null @@ -1,48 +0,0 @@ - $links Collection of links that will be associated with the Span to be created. - * Typically, useful for batch operations. - * @see https://github.com/open-telemetry/opentelemetry-specification/blob/master/specification/overview.md#links-between-spans - * @return SamplingResult - */ - public function shouldSample( - ContextInterface $parentContext, - string $traceId, - string $spanName, - int $spanKind, - AttributesInterface $attributes, - array $links - ): SamplingResult; - - /** - * Returns the sampler name or short description with the configuration. - * This may be displayed on debug pages or in the logs. - * Example: "TraceIdRatioBasedSampler{0.000100}" - */ - public function getDescription(): string; -} diff --git a/vendor/open-telemetry/sdk/Trace/SamplingResult.php b/vendor/open-telemetry/sdk/Trace/SamplingResult.php deleted file mode 100644 index 5701b7bc6..000000000 --- a/vendor/open-telemetry/sdk/Trace/SamplingResult.php +++ /dev/null @@ -1,71 +0,0 @@ -decision = $decision; - $this->attributes = $attributes; - $this->traceState = $traceState; - } - - /** - * Return sampling decision whether span should be recorded or not. - */ - public function getDecision(): int - { - return $this->decision; - } - - /** - * Return attributes which will be attached to the span. - */ - public function getAttributes(): iterable - { - return $this->attributes; - } - - /** - * Return a collection of links that will be associated with the Span to be created. - */ - public function getTraceState(): ?API\TraceStateInterface - { - return $this->traceState; - } -} diff --git a/vendor/open-telemetry/sdk/Trace/Span.php b/vendor/open-telemetry/sdk/Trace/Span.php deleted file mode 100644 index f72ec1bd7..000000000 --- a/vendor/open-telemetry/sdk/Trace/Span.php +++ /dev/null @@ -1,359 +0,0 @@ - - */ - private array $links; - - /** @readonly */ - private int $totalRecordedLinks; - - /** @readonly */ - private int $kind; - - /** @readonly */ - private ResourceInfo $resource; - - /** @readonly */ - private InstrumentationScopeInterface $instrumentationScope; - - /** @readonly */ - private int $startEpochNanos; - - /** @var non-empty-string */ - private string $name; - - /** @var list */ - private array $events = []; - - private AttributesBuilderInterface $attributesBuilder; - private int $totalRecordedEvents = 0; - private StatusDataInterface $status; - private int $endEpochNanos = 0; - private bool $hasEnded = false; - - /** - * @param non-empty-string $name - * @param list $links - */ - private function __construct( - string $name, - API\SpanContextInterface $context, - InstrumentationScopeInterface $instrumentationScope, - int $kind, - API\SpanContextInterface $parentSpanContext, - SpanLimits $spanLimits, - SpanProcessorInterface $spanProcessor, - ResourceInfo $resource, - AttributesBuilderInterface $attributesBuilder, - array $links, - int $totalRecordedLinks, - int $startEpochNanos - ) { - $this->context = $context; - $this->instrumentationScope = $instrumentationScope; - $this->parentSpanContext = $parentSpanContext; - $this->links = $links; - $this->totalRecordedLinks = $totalRecordedLinks; - $this->name = $name; - $this->kind = $kind; - $this->spanProcessor = $spanProcessor; - $this->resource = $resource; - $this->startEpochNanos = $startEpochNanos; - $this->attributesBuilder = $attributesBuilder; - $this->status = StatusData::unset(); - $this->spanLimits = $spanLimits; - } - - /** - * This method _MUST_ not be used directly. - * End users should use a {@see API\TracerInterface} in order to create spans. - * - * @param non-empty-string $name - * @psalm-param API\SpanKind::KIND_* $kind - * @param list $links - * - * @internal - * @psalm-internal OpenTelemetry - */ - public static function startSpan( - string $name, - API\SpanContextInterface $context, - InstrumentationScopeInterface $instrumentationScope, - int $kind, - API\SpanInterface $parentSpan, - ContextInterface $parentContext, - SpanLimits $spanLimits, - SpanProcessorInterface $spanProcessor, - ResourceInfo $resource, - AttributesBuilderInterface $attributesBuilder, - array $links, - int $totalRecordedLinks, - int $startEpochNanos - ): self { - $span = new self( - $name, - $context, - $instrumentationScope, - $kind, - $parentSpan->getContext(), - $spanLimits, - $spanProcessor, - $resource, - $attributesBuilder, - $links, - $totalRecordedLinks, - $startEpochNanos !== 0 ? $startEpochNanos : ClockFactory::getDefault()->now() - ); - - // Call onStart here to ensure the span is fully initialized. - $spanProcessor->onStart($span, $parentContext); - - return $span; - } - - /** - * Backward compatibility methods - * - * @codeCoverageIgnore - */ - public static function formatStackTrace(Throwable $e, array &$seen = null): string - { - BcUtil::triggerMethodDeprecationNotice( - __METHOD__, - 'format', - StackTraceFormatter::class - ); - - return StackTraceFormatter::format($e); - } - - /** @inheritDoc */ - public function getContext(): API\SpanContextInterface - { - return $this->context; - } - - /** @inheritDoc */ - public function isRecording(): bool - { - return !$this->hasEnded; - } - - /** @inheritDoc */ - public function setAttribute(string $key, $value): self - { - if ($this->hasEnded) { - return $this; - } - - $this->attributesBuilder[$key] = $value; - - return $this; - } - - /** @inheritDoc */ - public function setAttributes(iterable $attributes): self - { - foreach ($attributes as $key => $value) { - $this->attributesBuilder[$key] = $value; - } - - return $this; - } - - /** @inheritDoc */ - public function addEvent(string $name, iterable $attributes = [], ?int $timestamp = null): self - { - if ($this->hasEnded) { - return $this; - } - if (++$this->totalRecordedEvents > $this->spanLimits->getEventCountLimit()) { - return $this; - } - - $timestamp ??= ClockFactory::getDefault()->now(); - $eventAttributesBuilder = $this->spanLimits->getEventAttributesFactory()->builder($attributes); - - $this->events[] = new Event($name, $timestamp, $eventAttributesBuilder->build()); - - return $this; - } - - /** @inheritDoc */ - public function recordException(Throwable $exception, iterable $attributes = [], ?int $timestamp = null): self - { - if ($this->hasEnded) { - return $this; - } - if (++$this->totalRecordedEvents > $this->spanLimits->getEventCountLimit()) { - return $this; - } - - $timestamp ??= ClockFactory::getDefault()->now(); - $eventAttributesBuilder = $this->spanLimits->getEventAttributesFactory()->builder([ - 'exception.type' => get_class($exception), - 'exception.message' => $exception->getMessage(), - 'exception.stacktrace' => StackTraceFormatter::format($exception), - ]); - - foreach ($attributes as $key => $value) { - $eventAttributesBuilder[$key] = $value; - } - - $this->events[] = new Event('exception', $timestamp, $eventAttributesBuilder->build()); - - return $this; - } - - /** @inheritDoc */ - public function updateName(string $name): self - { - if ($this->hasEnded) { - return $this; - } - $this->name = $name; - - return $this; - } - - /** @inheritDoc */ - public function setStatus(string $code, string $description = null): self - { - if ($this->hasEnded) { - return $this; - } - - // An attempt to set value Unset SHOULD be ignored. - if ($code === API\StatusCode::STATUS_UNSET) { - return $this; - } - - // When span status is set to Ok it SHOULD be considered final and any further attempts to change it SHOULD be ignored. - if ($this->status->getCode() === API\StatusCode::STATUS_OK) { - return $this; - } - $this->status = StatusData::create($code, $description); - - return $this; - } - - /** @inheritDoc */ - public function end(int $endEpochNanos = null): void - { - if ($this->hasEnded) { - return; - } - - $this->endEpochNanos = $endEpochNanos ?? ClockFactory::getDefault()->now(); - $this->hasEnded = true; - - $this->spanProcessor->onEnd($this); - } - - /** @inheritDoc */ - public function getName(): string - { - return $this->name; - } - - public function getParentContext(): API\SpanContextInterface - { - return $this->parentSpanContext; - } - - public function getInstrumentationScope(): InstrumentationScopeInterface - { - return $this->instrumentationScope; - } - - public function hasEnded(): bool - { - return $this->hasEnded; - } - - public function toSpanData(): SpanDataInterface - { - return new ImmutableSpan( - $this, - $this->name, - $this->links, - $this->events, - $this->attributesBuilder->build(), - $this->totalRecordedEvents, - $this->status, - $this->endEpochNanos, - $this->hasEnded - ); - } - - /** @inheritDoc */ - public function getDuration(): int - { - return ($this->hasEnded ? $this->endEpochNanos : ClockFactory::getDefault()->now()) - $this->startEpochNanos; - } - - /** @inheritDoc */ - public function getKind(): int - { - return $this->kind; - } - - /** @inheritDoc */ - public function getAttribute(string $key) - { - return $this->attributesBuilder[$key]; - } - - public function getStartEpochNanos(): int - { - return $this->startEpochNanos; - } - - public function getTotalRecordedLinks(): int - { - return $this->totalRecordedLinks; - } - - public function getTotalRecordedEvents(): int - { - return $this->totalRecordedEvents; - } - - public function getResource(): ResourceInfo - { - return $this->resource; - } -} diff --git a/vendor/open-telemetry/sdk/Trace/SpanBuilder.php b/vendor/open-telemetry/sdk/Trace/SpanBuilder.php deleted file mode 100644 index 2867c01c8..000000000 --- a/vendor/open-telemetry/sdk/Trace/SpanBuilder.php +++ /dev/null @@ -1,191 +0,0 @@ - */ - private array $links = []; - - private AttributesBuilderInterface $attributesBuilder; - private int $totalNumberOfLinksAdded = 0; - private int $startEpochNanos = 0; - - /** @param non-empty-string $spanName */ - public function __construct( - string $spanName, - InstrumentationScopeInterface $instrumentationScope, - TracerSharedState $tracerSharedState - ) { - $this->spanName = $spanName; - $this->instrumentationScope = $instrumentationScope; - $this->tracerSharedState = $tracerSharedState; - $this->attributesBuilder = $tracerSharedState->getSpanLimits()->getAttributesFactory()->builder(); - } - - /** @inheritDoc */ - public function setParent($context): API\SpanBuilderInterface - { - $this->parentContext = $context; - - return $this; - } - - /** @inheritDoc */ - public function addLink(API\SpanContextInterface $context, iterable $attributes = []): API\SpanBuilderInterface - { - if (!$context->isValid()) { - return $this; - } - - $this->totalNumberOfLinksAdded++; - - if (count($this->links) === $this->tracerSharedState->getSpanLimits()->getLinkCountLimit()) { - return $this; - } - - $this->links[] = new Link( - $context, - $this->tracerSharedState - ->getSpanLimits() - ->getLinkAttributesFactory() - ->builder($attributes) - ->build(), - ); - - return $this; - } - - /** @inheritDoc */ - public function setAttribute(string $key, $value): API\SpanBuilderInterface - { - $this->attributesBuilder[$key] = $value; - - return $this; - } - - /** @inheritDoc */ - public function setAttributes(iterable $attributes): API\SpanBuilderInterface - { - foreach ($attributes as $key => $value) { - $this->attributesBuilder[$key] = $value; - } - - return $this; - } - - /** - * @inheritDoc - * - * @psalm-param API\SpanKind::KIND_* $spanKind - */ - public function setSpanKind(int $spanKind): API\SpanBuilderInterface - { - $this->spanKind = $spanKind; - - return $this; - } - - /** @inheritDoc */ - public function setStartTimestamp(int $timestampNanos): API\SpanBuilderInterface - { - if (0 > $timestampNanos) { - return $this; - } - - $this->startEpochNanos = $timestampNanos; - - return $this; - } - - /** @inheritDoc */ - public function startSpan(): API\SpanInterface - { - $parentContext = Context::resolve($this->parentContext); - $parentSpan = Span::fromContext($parentContext); - $parentSpanContext = $parentSpan->getContext(); - - $spanId = $this->tracerSharedState->getIdGenerator()->generateSpanId(); - - if (!$parentSpanContext->isValid()) { - $traceId = $this->tracerSharedState->getIdGenerator()->generateTraceId(); - } else { - $traceId = $parentSpanContext->getTraceId(); - } - - $samplingResult = $this - ->tracerSharedState - ->getSampler() - ->shouldSample( - $parentContext, - $traceId, - $this->spanName, - $this->spanKind, - $this->attributesBuilder->build(), - $this->links, - ); - $samplingDecision = $samplingResult->getDecision(); - $samplingResultTraceState = $samplingResult->getTraceState(); - - $spanContext = API\SpanContext::create( - $traceId, - $spanId, - SamplingResult::RECORD_AND_SAMPLE === $samplingDecision ? API\TraceFlags::SAMPLED : API\TraceFlags::DEFAULT, - $samplingResultTraceState, - ); - - if (!in_array($samplingDecision, [SamplingResult::RECORD_AND_SAMPLE, SamplingResult::RECORD_ONLY], true)) { - return Span::wrap($spanContext); - } - - $attributesBuilder = clone $this->attributesBuilder; - foreach ($samplingResult->getAttributes() as $key => $value) { - $attributesBuilder[$key] = $value; - } - - return Span::startSpan( - $this->spanName, - $spanContext, - $this->instrumentationScope, - $this->spanKind, - $parentSpan, - $parentContext, - $this->tracerSharedState->getSpanLimits(), - $this->tracerSharedState->getSpanProcessor(), - $this->tracerSharedState->getResource(), - $attributesBuilder, - $this->links, - $this->totalNumberOfLinksAdded, - $this->startEpochNanos - ); - } -} diff --git a/vendor/open-telemetry/sdk/Trace/SpanConverterInterface.php b/vendor/open-telemetry/sdk/Trace/SpanConverterInterface.php deleted file mode 100644 index 40552e440..000000000 --- a/vendor/open-telemetry/sdk/Trace/SpanConverterInterface.php +++ /dev/null @@ -1,10 +0,0 @@ - */ - public function getEvents(): array; - - /** @return list */ - public function getLinks(): array; - - public function getEndEpochNanos(): int; - public function hasEnded(): bool; - public function getInstrumentationScope(): InstrumentationScopeInterface; - public function getResource(): ResourceInfo; - - /** @see https://github.com/open-telemetry/opentelemetry-specification/blob/v1.6.1/specification/trace/sdk_exporters/non-otlp.md#dropped-events-count */ - public function getTotalDroppedEvents(): int; - - /** @see https://github.com/open-telemetry/opentelemetry-specification/blob/v1.6.1/specification/trace/sdk_exporters/non-otlp.md#dropped-links-count */ - public function getTotalDroppedLinks(): int; -} diff --git a/vendor/open-telemetry/sdk/Trace/SpanExporter/AbstractDecorator.php b/vendor/open-telemetry/sdk/Trace/SpanExporter/AbstractDecorator.php deleted file mode 100644 index 42f49e815..000000000 --- a/vendor/open-telemetry/sdk/Trace/SpanExporter/AbstractDecorator.php +++ /dev/null @@ -1,12 +0,0 @@ -transport = $transport; - $this->setSpanConverter($converter ?? new FriendlySpanConverter()); - } - - public function export(iterable $batch, ?CancellationInterface $cancellation = null): FutureInterface - { - $payload = ''; - foreach ($batch as $span) { - try { - $payload .= json_encode( - $this->getSpanConverter()->convert([$span]), - JSON_THROW_ON_ERROR | JSON_PRETTY_PRINT - ) . PHP_EOL; - } catch (JsonException $e) { - self::logWarning('Error converting span: ' . $e->getMessage()); - } - } - - return $this->transport->send($payload) - ->map(fn () => true) - ->catch(fn () => false); - } - - public function shutdown(?CancellationInterface $cancellation = null): bool - { - return $this->transport->shutdown(); - } - - public function forceFlush(?CancellationInterface $cancellation = null): bool - { - return $this->transport->forceFlush(); - } -} diff --git a/vendor/open-telemetry/sdk/Trace/SpanExporter/ConsoleSpanExporterFactory.php b/vendor/open-telemetry/sdk/Trace/SpanExporter/ConsoleSpanExporterFactory.php deleted file mode 100644 index 7e45fb549..000000000 --- a/vendor/open-telemetry/sdk/Trace/SpanExporter/ConsoleSpanExporterFactory.php +++ /dev/null @@ -1,18 +0,0 @@ -create('php://stdout', 'application/json'); - - return new ConsoleSpanExporter($transport); - } -} diff --git a/vendor/open-telemetry/sdk/Trace/SpanExporter/FriendlySpanConverter.php b/vendor/open-telemetry/sdk/Trace/SpanExporter/FriendlySpanConverter.php deleted file mode 100644 index 1f8178e10..000000000 --- a/vendor/open-telemetry/sdk/Trace/SpanExporter/FriendlySpanConverter.php +++ /dev/null @@ -1,173 +0,0 @@ -convertSpan($span); - } - - return $aggregate; - } - - /** - * friendlySpan does the heavy lifting converting a span into an array - * - * @param SpanDataInterface $span - * @return array - */ - private function convertSpan(SpanDataInterface $span): array - { - return [ - self::NAME_ATTR => $span->getName(), - self::CONTEXT_ATTR => $this->convertContext($span->getContext()), - self::RESOURCE_ATTR => $this->convertResource($span->getResource()), - self::PARENT_SPAN_ATTR => $this->covertParentContext($span->getParentContext()), - self::KIND_ATTR => $this->convertKind($span->getKind()), - self::START_ATTR => $span->getStartEpochNanos(), - self::END_ATTR => $span->getEndEpochNanos(), - self::ATTRIBUTES_ATTR => $this->convertAttributes($span->getAttributes()), - self::STATUS_ATTR => $this->covertStatus($span->getStatus()), - self::EVENTS_ATTR => $this->convertEvents($span->getEvents()), - self::LINKS_ATTR => $this->convertLinks($span->getLinks()), - ]; - } - - /** - * @param SpanContextInterface $context - * @return array - */ - private function convertContext(SpanContextInterface $context): array - { - return [ - self::TRACE_ID_ATTR => $context->getTraceId(), - self::SPAN_ID_ATTR => $context->getSpanId(), - self::TRACE_STATE_ATTR => (string) $context->getTraceState(), - ]; - } - - /** - * @param ResourceInfo $resource - * @return array - */ - private function convertResource(ResourceInfo $resource): array - { - return $resource->getAttributes()->toArray(); - } - - /** - * @param SpanContextInterface $context - * @return string - */ - private function covertParentContext(SpanContextInterface $context): string - { - return $context->isValid() ? $context->getSpanId() : ''; - } - - /** - * Translates SpanKind from its integer representation to a more human friendly string. - * - * @param int $kind - * @return string - */ - private function convertKind(int $kind): string - { - return array_flip( - (new ReflectionClass(SpanKind::class)) - ->getConstants() - )[$kind]; - } - - /** - * @param \OpenTelemetry\SDK\Common\Attribute\AttributesInterface $attributes - * @return array - */ - private function convertAttributes(AttributesInterface $attributes): array - { - return $attributes->toArray(); - } - - /** - * @param StatusDataInterface $status - * @return array - */ - private function covertStatus(StatusDataInterface $status): array - { - return [ - self::CODE_ATTR => $status->getCode(), - self::DESCRIPTION_ATTR => $status->getDescription(), - ]; - } - - /** - * @param array $events - * @return array - */ - private function convertEvents(array $events): array - { - $result = []; - - foreach ($events as $event) { - $result[] = [ - self::NAME_ATTR => $event->getName(), - self::TIMESTAMP_ATTR => $event->getEpochNanos(), - self::ATTRIBUTES_ATTR => $this->convertAttributes($event->getAttributes()), - ]; - } - - return $result; - } - - /** - * @param array $links - * @return array - */ - private function convertLinks(array $links): array - { - $result = []; - - foreach ($links as $link) { - $result[] = [ - self::CONTEXT_ATTR => $this->convertContext($link->getSpanContext()), - self::ATTRIBUTES_ATTR => $this->convertAttributes($link->getAttributes()), - ]; - } - - return $result; - } -} diff --git a/vendor/open-telemetry/sdk/Trace/SpanExporter/InMemoryExporter.php b/vendor/open-telemetry/sdk/Trace/SpanExporter/InMemoryExporter.php deleted file mode 100644 index ebb022595..000000000 --- a/vendor/open-telemetry/sdk/Trace/SpanExporter/InMemoryExporter.php +++ /dev/null @@ -1,40 +0,0 @@ -storage = $storage ?? new ArrayObject(); - } - - protected function doExport(iterable $spans): bool - { - foreach ($spans as $span) { - $this->storage[] = $span; - } - - return true; - } - - public function getSpans(): array - { - return (array) $this->storage; - } - - public function getStorage(): ArrayObject - { - return $this->storage; - } -} diff --git a/vendor/open-telemetry/sdk/Trace/SpanExporter/InMemorySpanExporterFactory.php b/vendor/open-telemetry/sdk/Trace/SpanExporter/InMemorySpanExporterFactory.php deleted file mode 100644 index c19686fac..000000000 --- a/vendor/open-telemetry/sdk/Trace/SpanExporter/InMemorySpanExporterFactory.php +++ /dev/null @@ -1,15 +0,0 @@ -setDecorated($decorated); - $this->setLogger($logger ?? new NullLogger()); - $this->setSpanConverter($converter ?? new FriendlySpanConverter()); - } - - protected function beforeExport(iterable $spans): iterable - { - return $spans; - } - - /** - * @param iterable $spans - * @param bool $exportSuccess - */ - protected function afterExport(iterable $spans, bool $exportSuccess): void - { - if ($exportSuccess) { - $this->log( - 'Status Success', - $this->getSpanConverter()->convert($spans), - LogLevel::INFO, - ); - } else { - $this->log( - 'Status Failed Retryable', - $this->getSpanConverter()->convert($spans), - LogLevel::ERROR, - ); - } - } -} diff --git a/vendor/open-telemetry/sdk/Trace/SpanExporter/LoggerExporter.php b/vendor/open-telemetry/sdk/Trace/SpanExporter/LoggerExporter.php deleted file mode 100644 index 1969a5426..000000000 --- a/vendor/open-telemetry/sdk/Trace/SpanExporter/LoggerExporter.php +++ /dev/null @@ -1,96 +0,0 @@ -setServiceName($serviceName); - $this->setLogger($logger ?? new NullLogger()); - $this->setDefaultLogLevel($defaultLogLevel ?? LogLevel::DEBUG); - $this->setSpanConverter($converter ?? new FriendlySpanConverter()); - $this->setGranularity($granularity); - } - - /** @inheritDoc */ - public function doExport(iterable $spans): bool - { - try { - $this->doLog($spans); - } catch (Throwable $t) { - return false; - } - - return true; - } - - /** - * @param string $serviceName - */ - private function setServiceName(string $serviceName): void - { - $this->serviceName = $serviceName; - } - - /** - * @param int $granularity - */ - public function setGranularity(int $granularity): void - { - $this->granularity = $granularity === self::GRANULARITY_SPAN - ? self::GRANULARITY_SPAN - : self::GRANULARITY_AGGREGATE; - } - - /** - * @param iterable $spans - */ - private function doLog(iterable $spans): void - { - if ($this->granularity === self::GRANULARITY_AGGREGATE) { - $this->log($this->serviceName, $this->getSpanConverter()->convert($spans)); - - return; - } - - foreach ($spans as $span) { - $this->log($this->serviceName, $this->getSpanConverter()->convert([$span])); - } - } -} diff --git a/vendor/open-telemetry/sdk/Trace/SpanExporter/NullSpanConverter.php b/vendor/open-telemetry/sdk/Trace/SpanExporter/NullSpanConverter.php deleted file mode 100644 index 1e55431a8..000000000 --- a/vendor/open-telemetry/sdk/Trace/SpanExporter/NullSpanConverter.php +++ /dev/null @@ -1,15 +0,0 @@ - $batch Batch of spans to export - * - * @see https://github.com/open-telemetry/opentelemetry-specification/blob/v1.7.0/specification/trace/sdk.md#exportbatch - * - * @psalm-return FutureInterface - */ - public function export(iterable $batch, ?CancellationInterface $cancellation = null): FutureInterface; - - /** @see https://github.com/open-telemetry/opentelemetry-specification/blob/v1.7.0/specification/trace/sdk.md#shutdown-2 */ - public function shutdown(?CancellationInterface $cancellation = null): bool; - - /** @see https://github.com/open-telemetry/opentelemetry-specification/blob/v1.7.0/specification/trace/sdk.md#forceflush-2 */ - public function forceFlush(?CancellationInterface $cancellation = null): bool; -} diff --git a/vendor/open-telemetry/sdk/Trace/SpanLimits.php b/vendor/open-telemetry/sdk/Trace/SpanLimits.php deleted file mode 100644 index 4b07649fc..000000000 --- a/vendor/open-telemetry/sdk/Trace/SpanLimits.php +++ /dev/null @@ -1,67 +0,0 @@ -attributesFactory; - } - - public function getEventAttributesFactory(): AttributesFactoryInterface - { - return $this->eventAttributesFactory; - } - - public function getLinkAttributesFactory(): AttributesFactoryInterface - { - return $this->linkAttributesFactory; - } - - /** @return int Maximum allowed span event count */ - public function getEventCountLimit(): int - { - return $this->eventCountLimit; - } - - /** @return int Maximum allowed span link count */ - public function getLinkCountLimit(): int - { - return $this->linkCountLimit; - } - - /** - * @internal Use {@see SpanLimitsBuilder} to create {@see SpanLimits} instance. - */ - public function __construct( - AttributesFactoryInterface $attributesFactory, - AttributesFactoryInterface $eventAttributesFactory, - AttributesFactoryInterface $linkAttributesFactory, - int $eventCountLimit, - int $linkCountLimit - ) { - $this->attributesFactory = $attributesFactory; - $this->eventAttributesFactory = $eventAttributesFactory; - $this->linkAttributesFactory = $linkAttributesFactory; - $this->eventCountLimit = $eventCountLimit; - $this->linkCountLimit = $linkCountLimit; - } -} diff --git a/vendor/open-telemetry/sdk/Trace/SpanLimitsBuilder.php b/vendor/open-telemetry/sdk/Trace/SpanLimitsBuilder.php deleted file mode 100644 index 11ed5a82b..000000000 --- a/vendor/open-telemetry/sdk/Trace/SpanLimitsBuilder.php +++ /dev/null @@ -1,148 +0,0 @@ -attributeCountLimit = $attributeCountLimit; - - return $this; - } - - /** - * @param int $attributeValueLengthLimit Maximum allowed attribute value length - */ - public function setAttributeValueLengthLimit(int $attributeValueLengthLimit): SpanLimitsBuilder - { - $this->attributeValueLengthLimit = $attributeValueLengthLimit; - - return $this; - } - - /** - * @param int $eventCountLimit Maximum allowed span event count - */ - public function setEventCountLimit(int $eventCountLimit): SpanLimitsBuilder - { - $this->eventCountLimit = $eventCountLimit; - - return $this; - } - - /** - * @param int $linkCountLimit Maximum allowed span link count - */ - public function setLinkCountLimit(int $linkCountLimit): SpanLimitsBuilder - { - $this->linkCountLimit = $linkCountLimit; - - return $this; - } - - /** - * @param int $attributePerEventCountLimit Maximum allowed attribute per span event count - */ - public function setAttributePerEventCountLimit(int $attributePerEventCountLimit): SpanLimitsBuilder - { - $this->attributePerEventCountLimit = $attributePerEventCountLimit; - - return $this; - } - - /** - * @param int $attributePerLinkCountLimit Maximum allowed attribute per span link count - */ - public function setAttributePerLinkCountLimit(int $attributePerLinkCountLimit): SpanLimitsBuilder - { - $this->attributePerLinkCountLimit = $attributePerLinkCountLimit; - - return $this; - } - - /** - * @param bool $retain whether general identity attributes should be retained - * - * @see https://github.com/open-telemetry/semantic-conventions/blob/main/docs/general/attributes.md#general-identity-attributes - */ - public function retainGeneralIdentityAttributes(bool $retain = true): SpanLimitsBuilder - { - $this->retainGeneralIdentityAttributes = $retain; - - return $this; - } - - /** - * @see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/configuration/sdk-environment-variables.md#span-limits - */ - public function build(): SpanLimits - { - $attributeCountLimit = $this->attributeCountLimit - ?: Configuration::getInt(Env::OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT, SpanLimits::DEFAULT_SPAN_ATTRIBUTE_COUNT_LIMIT); - $attributeValueLengthLimit = $this->attributeValueLengthLimit - ?: Configuration::getInt(Env::OTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMIT, SpanLimits::DEFAULT_SPAN_ATTRIBUTE_LENGTH_LIMIT); - $eventCountLimit = $this->eventCountLimit - ?: Configuration::getInt(Env::OTEL_SPAN_EVENT_COUNT_LIMIT, SpanLimits::DEFAULT_SPAN_EVENT_COUNT_LIMIT); - $linkCountLimit = $this->linkCountLimit - ?: Configuration::getInt(Env::OTEL_SPAN_LINK_COUNT_LIMIT, SpanLimits::DEFAULT_SPAN_LINK_COUNT_LIMIT); - $attributePerEventCountLimit = $this->attributePerEventCountLimit - ?: Configuration::getInt(Env::OTEL_EVENT_ATTRIBUTE_COUNT_LIMIT, SpanLimits::DEFAULT_EVENT_ATTRIBUTE_COUNT_LIMIT); - $attributePerLinkCountLimit = $this->attributePerLinkCountLimit - ?: Configuration::getInt(Env::OTEL_LINK_ATTRIBUTE_COUNT_LIMIT, SpanLimits::DEFAULT_LINK_ATTRIBUTE_COUNT_LIMIT); - - if ($attributeValueLengthLimit === PHP_INT_MAX) { - $attributeValueLengthLimit = null; - } - - $spanAttributesFactory = Attributes::factory($attributeCountLimit, $attributeValueLengthLimit); - - if (!$this->retainGeneralIdentityAttributes) { - $spanAttributesFactory = new FilteredAttributesFactory($spanAttributesFactory, [ - TraceAttributes::ENDUSER_ID, - TraceAttributes::ENDUSER_ROLE, - TraceAttributes::ENDUSER_SCOPE, - ]); - } - - return new SpanLimits( - $spanAttributesFactory, - Attributes::factory($attributePerEventCountLimit, $attributeValueLengthLimit), - Attributes::factory($attributePerLinkCountLimit, $attributeValueLengthLimit), - $eventCountLimit, - $linkCountLimit, - ); - } -} diff --git a/vendor/open-telemetry/sdk/Trace/SpanProcessor/BatchSpanProcessor.php b/vendor/open-telemetry/sdk/Trace/SpanProcessor/BatchSpanProcessor.php deleted file mode 100644 index 58032749e..000000000 --- a/vendor/open-telemetry/sdk/Trace/SpanProcessor/BatchSpanProcessor.php +++ /dev/null @@ -1,290 +0,0 @@ - 'batching']; - private const ATTRIBUTES_QUEUED = self::ATTRIBUTES_PROCESSOR + ['state' => 'queued']; - private const ATTRIBUTES_PENDING = self::ATTRIBUTES_PROCESSOR + ['state' => 'pending']; - private const ATTRIBUTES_PROCESSED = self::ATTRIBUTES_PROCESSOR + ['state' => 'processed']; - private const ATTRIBUTES_DROPPED = self::ATTRIBUTES_PROCESSOR + ['state' => 'dropped']; - private const ATTRIBUTES_FREE = self::ATTRIBUTES_PROCESSOR + ['state' => 'free']; - - private SpanExporterInterface $exporter; - private ClockInterface $clock; - private int $maxQueueSize; - private int $scheduledDelayNanos; - private int $maxExportBatchSize; - private bool $autoFlush; - private ContextInterface $exportContext; - - private ?int $nextScheduledRun = null; - private bool $running = false; - private int $dropped = 0; - private int $processed = 0; - private int $batchId = 0; - private int $queueSize = 0; - /** @var list */ - private array $batch = []; - /** @var SplQueue> */ - private SplQueue $queue; - /** @var SplQueue */ - private SplQueue $flush; - - private bool $closed = false; - - public function __construct( - SpanExporterInterface $exporter, - ClockInterface $clock, - int $maxQueueSize = self::DEFAULT_MAX_QUEUE_SIZE, - int $scheduledDelayMillis = self::DEFAULT_SCHEDULE_DELAY, - int $exportTimeoutMillis = self::DEFAULT_EXPORT_TIMEOUT, - int $maxExportBatchSize = self::DEFAULT_MAX_EXPORT_BATCH_SIZE, - bool $autoFlush = true, - ?MeterProviderInterface $meterProvider = null - ) { - if ($maxQueueSize <= 0) { - throw new InvalidArgumentException(sprintf('Maximum queue size (%d) must be greater than zero', $maxQueueSize)); - } - if ($scheduledDelayMillis <= 0) { - throw new InvalidArgumentException(sprintf('Scheduled delay (%d) must be greater than zero', $scheduledDelayMillis)); - } - if ($exportTimeoutMillis <= 0) { - throw new InvalidArgumentException(sprintf('Export timeout (%d) must be greater than zero', $exportTimeoutMillis)); - } - if ($maxExportBatchSize <= 0) { - throw new InvalidArgumentException(sprintf('Maximum export batch size (%d) must be greater than zero', $maxExportBatchSize)); - } - if ($maxExportBatchSize > $maxQueueSize) { - throw new InvalidArgumentException(sprintf('Maximum export batch size (%d) must be less than or equal to maximum queue size (%d)', $maxExportBatchSize, $maxQueueSize)); - } - - $this->exporter = $exporter; - $this->clock = $clock; - $this->maxQueueSize = $maxQueueSize; - $this->scheduledDelayNanos = $scheduledDelayMillis * 1_000_000; - $this->maxExportBatchSize = $maxExportBatchSize; - $this->autoFlush = $autoFlush; - - $this->exportContext = Context::getCurrent(); - $this->queue = new SplQueue(); - $this->flush = new SplQueue(); - - if ($meterProvider === null) { - return; - } - - $meter = $meterProvider->getMeter('io.opentelemetry.sdk'); - $meter - ->createObservableUpDownCounter( - 'otel.trace.span_processor.spans', - '{spans}', - 'The number of sampled spans received by the span processor', - ) - ->observe(function (ObserverInterface $observer): void { - $queued = $this->queue->count() * $this->maxExportBatchSize + count($this->batch); - $pending = $this->queueSize - $queued; - $processed = $this->processed; - $dropped = $this->dropped; - - $observer->observe($queued, self::ATTRIBUTES_QUEUED); - $observer->observe($pending, self::ATTRIBUTES_PENDING); - $observer->observe($processed, self::ATTRIBUTES_PROCESSED); - $observer->observe($dropped, self::ATTRIBUTES_DROPPED); - }); - $meter - ->createObservableUpDownCounter( - 'otel.trace.span_processor.queue.limit', - '{spans}', - 'The queue size limit', - ) - ->observe(function (ObserverInterface $observer): void { - $observer->observe($this->maxQueueSize, self::ATTRIBUTES_PROCESSOR); - }); - $meter - ->createObservableUpDownCounter( - 'otel.trace.span_processor.queue.usage', - '{spans}', - 'The current queue usage', - ) - ->observe(function (ObserverInterface $observer): void { - $queued = $this->queue->count() * $this->maxExportBatchSize + count($this->batch); - $pending = $this->queueSize - $queued; - $free = $this->maxQueueSize - $this->queueSize; - - $observer->observe($queued, self::ATTRIBUTES_QUEUED); - $observer->observe($pending, self::ATTRIBUTES_PENDING); - $observer->observe($free, self::ATTRIBUTES_FREE); - }); - } - - public function onStart(ReadWriteSpanInterface $span, ContextInterface $parentContext): void - { - } - - public function onEnd(ReadableSpanInterface $span): void - { - if ($this->closed) { - return; - } - if (!$span->getContext()->isSampled()) { - return; - } - - if ($this->queueSize === $this->maxQueueSize) { - $this->dropped++; - - return; - } - - $this->queueSize++; - $this->batch[] = $span->toSpanData(); - $this->nextScheduledRun ??= $this->clock->now() + $this->scheduledDelayNanos; - - if (count($this->batch) === $this->maxExportBatchSize) { - $this->enqueueBatch(); - } - if ($this->autoFlush) { - $this->flush(); - } - } - - public function forceFlush(?CancellationInterface $cancellation = null): bool - { - if ($this->closed) { - return false; - } - - return $this->flush(__FUNCTION__, $cancellation); - } - - public function shutdown(?CancellationInterface $cancellation = null): bool - { - if ($this->closed) { - return false; - } - - $this->closed = true; - - return $this->flush(__FUNCTION__, $cancellation); - } - - public static function builder(SpanExporterInterface $exporter): BatchSpanProcessorBuilder - { - return new BatchSpanProcessorBuilder($exporter); - } - - private function flush(?string $flushMethod = null, ?CancellationInterface $cancellation = null): bool - { - if ($flushMethod !== null) { - $flushId = $this->batchId + $this->queue->count() + (int) (bool) $this->batch; - $this->flush->enqueue([$flushId, $flushMethod, $cancellation, !$this->running, Context::getCurrent()]); - } - - if ($this->running) { - return false; - } - - $success = true; - $exception = null; - $this->running = true; - - try { - for (;;) { - while (!$this->flush->isEmpty() && $this->flush->bottom()[0] <= $this->batchId) { - [, $flushMethod, $cancellation, $propagateResult, $context] = $this->flush->dequeue(); - $scope = $context->activate(); - - try { - $result = $this->exporter->$flushMethod($cancellation); - if ($propagateResult) { - $success = $result; - } - } catch (Throwable $e) { - if ($propagateResult) { - $exception = $e; - } else { - self::logError(sprintf('Unhandled %s error', $flushMethod), ['exception' => $e]); - } - } finally { - $scope->detach(); - } - } - - if (!$this->shouldFlush()) { - break; - } - - if ($this->queue->isEmpty()) { - $this->enqueueBatch(); - } - $batchSize = count($this->queue->bottom()); - $this->batchId++; - $scope = $this->exportContext->activate(); - - try { - $this->exporter->export($this->queue->dequeue())->await(); - } catch (Throwable $e) { - self::logError('Unhandled export error', ['exception' => $e]); - } finally { - $this->processed += $batchSize; - $this->queueSize -= $batchSize; - $scope->detach(); - } - } - } finally { - $this->running = false; - } - - if ($exception !== null) { - throw $exception; - } - - return $success; - } - - private function shouldFlush(): bool - { - return !$this->flush->isEmpty() - || $this->autoFlush && !$this->queue->isEmpty() - || $this->autoFlush && $this->nextScheduledRun !== null && $this->clock->now() > $this->nextScheduledRun; - } - - private function enqueueBatch(): void - { - assert($this->batch !== []); - - $this->queue->enqueue($this->batch); - $this->batch = []; - $this->nextScheduledRun = null; - } -} diff --git a/vendor/open-telemetry/sdk/Trace/SpanProcessor/BatchSpanProcessorBuilder.php b/vendor/open-telemetry/sdk/Trace/SpanProcessor/BatchSpanProcessorBuilder.php deleted file mode 100644 index 8e81e7dd6..000000000 --- a/vendor/open-telemetry/sdk/Trace/SpanProcessor/BatchSpanProcessorBuilder.php +++ /dev/null @@ -1,41 +0,0 @@ -exporter = $exporter; - } - - public function setMeterProvider(MeterProviderInterface $meterProvider): self - { - $this->meterProvider = $meterProvider; - - return $this; - } - - public function build(): BatchSpanProcessor - { - return new BatchSpanProcessor( - $this->exporter, - ClockFactory::getDefault(), - BatchSpanProcessor::DEFAULT_MAX_QUEUE_SIZE, - BatchSpanProcessor::DEFAULT_SCHEDULE_DELAY, - BatchSpanProcessor::DEFAULT_EXPORT_TIMEOUT, - BatchSpanProcessor::DEFAULT_MAX_EXPORT_BATCH_SIZE, - true, - $this->meterProvider - ); - } -} diff --git a/vendor/open-telemetry/sdk/Trace/SpanProcessor/MultiSpanProcessor.php b/vendor/open-telemetry/sdk/Trace/SpanProcessor/MultiSpanProcessor.php deleted file mode 100644 index e690791f2..000000000 --- a/vendor/open-telemetry/sdk/Trace/SpanProcessor/MultiSpanProcessor.php +++ /dev/null @@ -1,79 +0,0 @@ - */ - private array $processors = []; - - public function __construct(SpanProcessorInterface ...$spanProcessors) - { - foreach ($spanProcessors as $processor) { - $this->addSpanProcessor($processor); - } - } - - public function addSpanProcessor(SpanProcessorInterface $processor): void - { - $this->processors[] = $processor; - } - - /** @return list */ - public function getSpanProcessors(): array - { - return $this->processors; - } - - /** @inheritDoc */ - public function onStart(ReadWriteSpanInterface $span, ContextInterface $parentContext): void - { - foreach ($this->processors as $processor) { - $processor->onStart($span, $parentContext); - } - } - - /** @inheritDoc */ - public function onEnd(ReadableSpanInterface $span): void - { - foreach ($this->processors as $processor) { - $processor->onEnd($span); - } - } - - /** @inheritDoc */ - public function shutdown(?CancellationInterface $cancellation = null): bool - { - $result = true; - - foreach ($this->processors as $processor) { - $result = $result && $processor->shutdown(); - } - - return $result; - } - - /** @inheritDoc */ - public function forceFlush(?CancellationInterface $cancellation = null): bool - { - $result = true; - - foreach ($this->processors as $processor) { - $result = $result && $processor->forceFlush(); - } - - return $result; - } -} diff --git a/vendor/open-telemetry/sdk/Trace/SpanProcessor/NoopSpanProcessor.php b/vendor/open-telemetry/sdk/Trace/SpanProcessor/NoopSpanProcessor.php deleted file mode 100644 index 9c4d1eabe..000000000 --- a/vendor/open-telemetry/sdk/Trace/SpanProcessor/NoopSpanProcessor.php +++ /dev/null @@ -1,47 +0,0 @@ -forceFlush(); - } -} diff --git a/vendor/open-telemetry/sdk/Trace/SpanProcessor/SimpleSpanProcessor.php b/vendor/open-telemetry/sdk/Trace/SpanProcessor/SimpleSpanProcessor.php deleted file mode 100644 index 4e86e79ab..000000000 --- a/vendor/open-telemetry/sdk/Trace/SpanProcessor/SimpleSpanProcessor.php +++ /dev/null @@ -1,120 +0,0 @@ - */ - private SplQueue $queue; - - private bool $closed = false; - - public function __construct(SpanExporterInterface $exporter) - { - $this->exporter = $exporter; - - $this->exportContext = Context::getCurrent(); - $this->queue = new SplQueue(); - } - - public function onStart(ReadWriteSpanInterface $span, ContextInterface $parentContext): void - { - } - - public function onEnd(ReadableSpanInterface $span): void - { - if ($this->closed) { - return; - } - if (!$span->getContext()->isSampled()) { - return; - } - - $spanData = $span->toSpanData(); - $this->flush(fn () => $this->exporter->export([$spanData])->await(), 'export', false, $this->exportContext); - } - - public function forceFlush(?CancellationInterface $cancellation = null): bool - { - if ($this->closed) { - return false; - } - - return $this->flush(fn (): bool => $this->exporter->forceFlush($cancellation), __FUNCTION__, true, Context::getCurrent()); - } - - public function shutdown(?CancellationInterface $cancellation = null): bool - { - if ($this->closed) { - return false; - } - - $this->closed = true; - - return $this->flush(fn (): bool => $this->exporter->shutdown($cancellation), __FUNCTION__, true, Context::getCurrent()); - } - - private function flush(Closure $task, string $taskName, bool $propagateResult, ContextInterface $context): bool - { - $this->queue->enqueue([$task, $taskName, $propagateResult && !$this->running, $context]); - - if ($this->running) { - return false; - } - - $success = true; - $exception = null; - $this->running = true; - - try { - while (!$this->queue->isEmpty()) { - [$task, $taskName, $propagateResult, $context] = $this->queue->dequeue(); - $scope = $context->activate(); - - try { - $result = $task(); - if ($propagateResult) { - $success = $result; - } - } catch (Throwable $e) { - if ($propagateResult) { - $exception = $e; - } else { - self::logError(sprintf('Unhandled %s error', $taskName), ['exception' => $e]); - } - } finally { - $scope->detach(); - } - } - } finally { - $this->running = false; - } - - if ($exception !== null) { - throw $exception; - } - - return $success; - } -} diff --git a/vendor/open-telemetry/sdk/Trace/SpanProcessorFactory.php b/vendor/open-telemetry/sdk/Trace/SpanProcessorFactory.php deleted file mode 100644 index 39144cdf6..000000000 --- a/vendor/open-telemetry/sdk/Trace/SpanProcessorFactory.php +++ /dev/null @@ -1,48 +0,0 @@ -code = $code; - $this->description = $description; - } - - /** @psalm-param API\StatusCode::STATUS_* $code */ - public static function create(string $code, ?string $description = null): self - { - if (empty($description)) { - switch ($code) { - case API\StatusCode::STATUS_UNSET: - return self::unset(); - case API\StatusCode::STATUS_ERROR: - return self::error(); - case API\StatusCode::STATUS_OK: - return self::ok(); - } - } - - // Ignore description for non Error statuses. - if (API\StatusCode::STATUS_ERROR !== $code) { - $description = ''; - } - - return new self($code, $description); /** @phan-suppress-current-line PhanTypeMismatchArgumentNullable */ - } - - public static function ok(): self - { - if (null === self::$ok) { - self::$ok = new self(API\StatusCode::STATUS_OK, ''); - } - - return self::$ok; - } - - public static function error(): self - { - if (null === self::$error) { - self::$error = new self(API\StatusCode::STATUS_ERROR, ''); - } - - return self::$error; - } - - public static function unset(): self - { - if (null === self::$unset) { - self::$unset = new self(API\StatusCode::STATUS_UNSET, ''); - } - - return self::$unset; - } - - public function getCode(): string - { - return $this->code; - } - - public function getDescription(): string - { - return $this->description; - } -} diff --git a/vendor/open-telemetry/sdk/Trace/StatusDataInterface.php b/vendor/open-telemetry/sdk/Trace/StatusDataInterface.php deleted file mode 100644 index 973d2b519..000000000 --- a/vendor/open-telemetry/sdk/Trace/StatusDataInterface.php +++ /dev/null @@ -1,18 +0,0 @@ -tracerSharedState = $tracerSharedState; - $this->instrumentationScope = $instrumentationScope; - } - - /** @inheritDoc */ - public function spanBuilder(string $spanName): API\SpanBuilderInterface - { - if (ctype_space($spanName)) { - $spanName = self::FALLBACK_SPAN_NAME; - } - - if ($this->tracerSharedState->hasShutdown()) { - return new API\NoopSpanBuilder(Context::storage()); - } - - return new SpanBuilder( - $spanName, - $this->instrumentationScope, - $this->tracerSharedState, - ); - } - - public function getInstrumentationScope(): InstrumentationScopeInterface - { - return $this->instrumentationScope; - } -} diff --git a/vendor/open-telemetry/sdk/Trace/TracerProvider.php b/vendor/open-telemetry/sdk/Trace/TracerProvider.php deleted file mode 100644 index fdae4aea2..000000000 --- a/vendor/open-telemetry/sdk/Trace/TracerProvider.php +++ /dev/null @@ -1,99 +0,0 @@ -|SpanProcessorInterface|null $spanProcessors */ - public function __construct( - $spanProcessors = [], - SamplerInterface $sampler = null, - ResourceInfo $resource = null, - SpanLimits $spanLimits = null, - IdGeneratorInterface $idGenerator = null, - ?InstrumentationScopeFactoryInterface $instrumentationScopeFactory = null - ) { - if (null === $spanProcessors) { - $spanProcessors = []; - } - - $spanProcessors = is_array($spanProcessors) ? $spanProcessors : [$spanProcessors]; - $resource ??= ResourceInfoFactory::defaultResource(); - $sampler ??= new ParentBased(new AlwaysOnSampler()); - $idGenerator ??= new RandomIdGenerator(); - $spanLimits ??= (new SpanLimitsBuilder())->build(); - - $this->tracerSharedState = new TracerSharedState( - $idGenerator, - $resource, - $spanLimits, - $sampler, - $spanProcessors - ); - $this->instrumentationScopeFactory = $instrumentationScopeFactory ?? new InstrumentationScopeFactory(Attributes::factory()); - } - - public function forceFlush(?CancellationInterface $cancellation = null): bool - { - return $this->tracerSharedState->getSpanProcessor()->forceFlush($cancellation); - } - - /** - * @inheritDoc - */ - public function getTracer( - string $name, - ?string $version = null, - ?string $schemaUrl = null, - iterable $attributes = [] - ): API\TracerInterface { - if ($this->tracerSharedState->hasShutdown()) { - return NoopTracer::getInstance(); - } - - return new Tracer( - $this->tracerSharedState, - $this->instrumentationScopeFactory->create($name, $version, $schemaUrl, $attributes), - ); - } - - public function getSampler(): SamplerInterface - { - return $this->tracerSharedState->getSampler(); - } - - /** - * Returns `false` is the provider is already shutdown, otherwise `true`. - */ - public function shutdown(?CancellationInterface $cancellation = null): bool - { - if ($this->tracerSharedState->hasShutdown()) { - return true; - } - - return $this->tracerSharedState->shutdown($cancellation); - } - - public static function builder(): TracerProviderBuilder - { - return new TracerProviderBuilder(); - } -} diff --git a/vendor/open-telemetry/sdk/Trace/TracerProviderBuilder.php b/vendor/open-telemetry/sdk/Trace/TracerProviderBuilder.php deleted file mode 100644 index 8dcfdc700..000000000 --- a/vendor/open-telemetry/sdk/Trace/TracerProviderBuilder.php +++ /dev/null @@ -1,45 +0,0 @@ - - private ?array $spanProcessors = []; - private ?ResourceInfo $resource = null; - private ?SamplerInterface $sampler = null; - - public function addSpanProcessor(SpanProcessorInterface $spanProcessor): self - { - $this->spanProcessors[] = $spanProcessor; - - return $this; - } - - public function setResource(ResourceInfo $resource): self - { - $this->resource = $resource; - - return $this; - } - - public function setSampler(SamplerInterface $sampler): self - { - $this->sampler = $sampler; - - return $this; - } - - public function build(): TracerProviderInterface - { - return new TracerProvider( - $this->spanProcessors, - $this->sampler, - $this->resource, - ); - } -} diff --git a/vendor/open-telemetry/sdk/Trace/TracerProviderFactory.php b/vendor/open-telemetry/sdk/Trace/TracerProviderFactory.php deleted file mode 100644 index a545319b6..000000000 --- a/vendor/open-telemetry/sdk/Trace/TracerProviderFactory.php +++ /dev/null @@ -1,60 +0,0 @@ -exporterFactory = $exporterFactory ?: new ExporterFactory(); - $this->samplerFactory = $samplerFactory ?: new SamplerFactory(); - $this->spanProcessorFactory = $spanProcessorFactory ?: new SpanProcessorFactory(); - } - - public function create(): TracerProviderInterface - { - if (Sdk::isDisabled()) { - return new NoopTracerProvider(); - } - - try { - $exporter = $this->exporterFactory->create(); - } catch (\Throwable $t) { - self::logWarning('Unable to create exporter', ['exception' => $t]); - $exporter = null; - } - - try { - $sampler = $this->samplerFactory->create(); - } catch (\Throwable $t) { - self::logWarning('Unable to create sampler', ['exception' => $t]); - $sampler = null; - } - - try { - $spanProcessor = $this->spanProcessorFactory->create($exporter); - } catch (\Throwable $t) { - self::logWarning('Unable to create span processor', ['exception' => $t]); - $spanProcessor = null; - } - - return new TracerProvider( - $spanProcessor, - $sampler, - ); - } -} diff --git a/vendor/open-telemetry/sdk/Trace/TracerProviderInterface.php b/vendor/open-telemetry/sdk/Trace/TracerProviderInterface.php deleted file mode 100644 index d61c1ea8f..000000000 --- a/vendor/open-telemetry/sdk/Trace/TracerProviderInterface.php +++ /dev/null @@ -1,15 +0,0 @@ -idGenerator = $idGenerator; - $this->resource = $resource; - $this->spanLimits = $spanLimits; - $this->sampler = $sampler; - - switch (count($spanProcessors)) { - case 0: - $this->spanProcessor = NoopSpanProcessor::getInstance(); - - break; - case 1: - $this->spanProcessor = $spanProcessors[0]; - - break; - default: - $this->spanProcessor = new MultiSpanProcessor(...$spanProcessors); - - break; - } - } - - public function hasShutdown(): bool - { - return null !== $this->shutdownResult; - } - - public function getIdGenerator(): IdGeneratorInterface - { - return $this->idGenerator; - } - - public function getResource(): ResourceInfo - { - return $this->resource; - } - - public function getSpanLimits(): SpanLimits - { - return $this->spanLimits; - } - - public function getSampler(): SamplerInterface - { - return $this->sampler; - } - - public function getSpanProcessor(): SpanProcessorInterface - { - return $this->spanProcessor; - } - - /** - * Returns `false` is the provider is already shutdown, otherwise `true`. - */ - public function shutdown(?CancellationInterface $cancellation = null): bool - { - return $this->shutdownResult ?? ($this->shutdownResult = $this->spanProcessor->shutdown($cancellation)); - } -} diff --git a/vendor/open-telemetry/sdk/_autoload.php b/vendor/open-telemetry/sdk/_autoload.php deleted file mode 100644 index 4e1de3450..000000000 --- a/vendor/open-telemetry/sdk/_autoload.php +++ /dev/null @@ -1,5 +0,0 @@ - - *
  • AWS Lambda: The function ARN. - * Take care not to use the "invoked ARN" directly but replace any - * alias suffix - * with the resolved function version, as the same runtime instance may be invokable with - * multiple different aliases.
  • - *
  • GCP: The URI of the resource
  • - *
  • Azure: The Fully Qualified Resource ID of the invoked function, - * not the function app, having the form - * `/subscriptions//resourceGroups//providers/Microsoft.Web/sites//functions/`. - * This means that a span attribute MUST be used, as an Azure function app can host multiple functions that would usually share - * a TracerProvider.
  • - * - * - * @example arn:aws:lambda:REGION:ACCOUNT_ID:function:my-function - * @example //run.googleapis.com/projects/PROJECT_ID/locations/LOCATION_ID/services/SERVICE_ID - * @example /subscriptions//resourceGroups//providers/Microsoft.Web/sites//functions/ - */ - public const CLOUD_RESOURCE_ID = 'cloud.resource_id'; - - /** - * The ARN of an ECS cluster. - * - * @example arn:aws:ecs:us-west-2:123456789123:cluster/my-cluster - */ - public const AWS_ECS_CLUSTER_ARN = 'aws.ecs.cluster.arn'; - - /** - * The Amazon Resource Name (ARN) of an ECS container instance. - * - * @example arn:aws:ecs:us-west-1:123456789123:container/32624152-9086-4f0e-acae-1a75b14fe4d9 - */ - public const AWS_ECS_CONTAINER_ARN = 'aws.ecs.container.arn'; - - /** - * The launch type for an ECS task. - */ - public const AWS_ECS_LAUNCHTYPE = 'aws.ecs.launchtype'; - - /** - * The ARN of an ECS task definition. - * - * @example arn:aws:ecs:us-west-1:123456789123:task/10838bed-421f-43ef-870a-f43feacbbb5b - */ - public const AWS_ECS_TASK_ARN = 'aws.ecs.task.arn'; - - /** - * The task definition family this task definition is a member of. - * - * @example opentelemetry-family - */ - public const AWS_ECS_TASK_FAMILY = 'aws.ecs.task.family'; - - /** - * The revision for this task definition. - * - * @example 8 - * @example 26 - */ - public const AWS_ECS_TASK_REVISION = 'aws.ecs.task.revision'; - - /** - * The ARN of an EKS cluster. - * - * @example arn:aws:ecs:us-west-2:123456789123:cluster/my-cluster - */ - public const AWS_EKS_CLUSTER_ARN = 'aws.eks.cluster.arn'; - - /** - * The Amazon Resource Name(s) (ARN) of the AWS log group(s). - * - * See the log group ARN format documentation. - * - * @example arn:aws:logs:us-west-1:123456789012:log-group:/aws/my/group:* - */ - public const AWS_LOG_GROUP_ARNS = 'aws.log.group.arns'; - - /** - * The name(s) of the AWS log group(s) an application is writing to. - * - * Multiple log groups must be supported for cases like multi-container applications, where a single application has sidecar containers, and each write to their own log group. - * - * @example /aws/lambda/my-function - * @example opentelemetry-service - */ - public const AWS_LOG_GROUP_NAMES = 'aws.log.group.names'; - - /** - * The ARN(s) of the AWS log stream(s). - * - * See the log stream ARN format documentation. One log group can contain several log streams, so these ARNs necessarily identify both a log group and a log stream. - * - * @example arn:aws:logs:us-west-1:123456789012:log-group:/aws/my/group:log-stream:logs/main/10838bed-421f-43ef-870a-f43feacbbb5b - */ - public const AWS_LOG_STREAM_ARNS = 'aws.log.stream.arns'; - - /** - * The name(s) of the AWS log stream(s) an application is writing to. - * - * @example logs/main/10838bed-421f-43ef-870a-f43feacbbb5b - */ - public const AWS_LOG_STREAM_NAMES = 'aws.log.stream.names'; - - /** - * The name of the Cloud Run execution being run for the Job, as set by the `CLOUD_RUN_EXECUTION` environment variable. - * - * @example job-name-xxxx - * @example sample-job-mdw84 - */ - public const GCP_CLOUD_RUN_JOB_EXECUTION = 'gcp.cloud_run.job.execution'; - - /** - * The index for a task within an execution as provided by the `CLOUD_RUN_TASK_INDEX` environment variable. - * - * @example 1 - */ - public const GCP_CLOUD_RUN_JOB_TASK_INDEX = 'gcp.cloud_run.job.task_index'; - - /** - * The hostname of a GCE instance. This is the full value of the default or custom hostname. - * - * @example my-host1234.example.com - * @example sample-vm.us-west1-b.c.my-project.internal - */ - public const GCP_GCE_INSTANCE_HOSTNAME = 'gcp.gce.instance.hostname'; - - /** - * The instance name of a GCE instance. This is the value provided by `host.name`, the visible name of the instance in the Cloud Console UI, and the prefix for the default hostname of the instance as defined by the default internal DNS name. - * - * @example instance-1 - * @example my-vm-name - */ - public const GCP_GCE_INSTANCE_NAME = 'gcp.gce.instance.name'; - - /** - * Unique identifier for the application. - * - * @example 2daa2797-e42b-4624-9322-ec3f968df4da - */ - public const HEROKU_APP_ID = 'heroku.app.id'; - - /** - * Commit hash for the current release. - * - * @example e6134959463efd8966b20e75b913cafe3f5ec - */ - public const HEROKU_RELEASE_COMMIT = 'heroku.release.commit'; - - /** - * Time and date the release was created. - * - * @example 2022-10-23T18:00:42Z - */ - public const HEROKU_RELEASE_CREATION_TIMESTAMP = 'heroku.release.creation_timestamp'; - - /** - * The command used to run the container (i.e. the command name). - * - * If using embedded credentials or sensitive data, it is recommended to remove them to prevent potential leakage. - * - * @example otelcontribcol - */ - public const CONTAINER_COMMAND = 'container.command'; - - /** - * All the command arguments (including the command/executable itself) run by the container. [2]. - * - * @example otelcontribcol, --config, config.yaml - */ - public const CONTAINER_COMMAND_ARGS = 'container.command_args'; - - /** - * The full command run by the container as a single string representing the full command. [2]. - * - * @example otelcontribcol --config config.yaml - */ - public const CONTAINER_COMMAND_LINE = 'container.command_line'; - - /** - * Container ID. Usually a UUID, as for example used to identify Docker containers. The UUID might be abbreviated. - * - * @example a3bf90e006b2 - */ - public const CONTAINER_ID = 'container.id'; - - /** - * Runtime specific image identifier. Usually a hash algorithm followed by a UUID. - * - * Docker defines a sha256 of the image id; `container.image.id` corresponds to the `Image` field from the Docker container inspect API endpoint. - * K8s defines a link to the container registry repository with digest `"imageID": "registry.azurecr.io /namespace/service/dockerfile@sha256:bdeabd40c3a8a492eaf9e8e44d0ebbb84bac7ee25ac0cf8a7159d25f62555625"`. - * The ID is assinged by the container runtime and can vary in different environments. Consider using `oci.manifest.digest` if it is important to identify the same image in different environments/runtimes. - * - * @example sha256:19c92d0a00d1b66d897bceaa7319bee0dd38a10a851c60bcec9474aa3f01e50f - */ - public const CONTAINER_IMAGE_ID = 'container.image.id'; - - /** - * Name of the image the container was built on. - * - * @example gcr.io/opentelemetry/operator - */ - public const CONTAINER_IMAGE_NAME = 'container.image.name'; - - /** - * Repo digests of the container image as provided by the container runtime. - * - * Docker and CRI report those under the `RepoDigests` field. - * - * @example example@sha256:afcc7f1ac1b49db317a7196c902e61c6c3c4607d63599ee1a82d702d249a0ccb - * @example internal.registry.example.com:5000/example@sha256:b69959407d21e8a062e0416bf13405bb2b71ed7a84dde4158ebafacfa06f5578 - */ - public const CONTAINER_IMAGE_REPO_DIGESTS = 'container.image.repo_digests'; - - /** - * Container image tags. An example can be found in Docker Image Inspect. Should be only the `` section of the full name for example from `registry.example.com/my-org/my-image:`. - * - * @example v1.27.1 - * @example 3.5.7-0 - */ - public const CONTAINER_IMAGE_TAGS = 'container.image.tags'; - - /** - * Container name used by container runtime. - * - * @example opentelemetry-autoconf - */ - public const CONTAINER_NAME = 'container.name'; - - /** - * The container runtime managing this container. - * - * @example docker - * @example containerd - * @example rkt - */ - public const CONTAINER_RUNTIME = 'container.runtime'; - - /** - * Name of the deployment environment (aka deployment tier). - * - * @example staging - * @example production - */ - public const DEPLOYMENT_ENVIRONMENT = 'deployment.environment'; - - /** - * A unique identifier representing the device. - * - * The device identifier MUST only be defined using the values outlined below. This value is not an advertising identifier and MUST NOT be used as such. On iOS (Swift or Objective-C), this value MUST be equal to the vendor identifier. On Android (Java or Kotlin), this value MUST be equal to the Firebase Installation ID or a globally unique UUID which is persisted across sessions in your application. More information can be found here on best practices and exact implementation details. Caution should be taken when storing personal data or anything which can identify a user. GDPR and data protection laws may apply, ensure you do your own due diligence. - * - * @example 2ab2916d-a51f-4ac8-80ee-45ac31a28092 - */ - public const DEVICE_ID = 'device.id'; - - /** - * The name of the device manufacturer. - * - * The Android OS provides this field via Build. iOS apps SHOULD hardcode the value `Apple`. - * - * @example Apple - * @example Samsung - */ - public const DEVICE_MANUFACTURER = 'device.manufacturer'; - - /** - * The model identifier for the device. - * - * It's recommended this value represents a machine readable version of the model identifier rather than the market or consumer-friendly name of the device. - * - * @example iPhone3,4 - * @example SM-G920F - */ - public const DEVICE_MODEL_IDENTIFIER = 'device.model.identifier'; - - /** - * The marketing name for the device model. - * - * It's recommended this value represents a human readable version of the device model rather than a machine readable alternative. - * - * @example iPhone 6s Plus - * @example Samsung Galaxy S6 - */ - public const DEVICE_MODEL_NAME = 'device.model.name'; - - /** - * The execution environment ID as a string, that will be potentially reused for other invocations to the same function/function version. - * - *
      - *
    • AWS Lambda: Use the (full) log stream name.
    • - *
    - * - * @example 2021/06/28/[$LATEST]2f399eb14537447da05ab2a2e39309de - */ - public const FAAS_INSTANCE = 'faas.instance'; - - /** - * The amount of memory available to the serverless function converted to Bytes. - * - * It's recommended to set this attribute since e.g. too little memory can easily stop a Java AWS Lambda function from working correctly. On AWS Lambda, the environment variable `AWS_LAMBDA_FUNCTION_MEMORY_SIZE` provides this information (which must be multiplied by 1,048,576). - * - * @example 134217728 - */ - public const FAAS_MAX_MEMORY = 'faas.max_memory'; - - /** - * The name of the single function that this runtime instance executes. - * - * This is the name of the function as configured/deployed on the FaaS - * platform and is usually different from the name of the callback - * function (which may be stored in the - * `code.namespace`/`code.function` - * span attributes).For some cloud providers, the above definition is ambiguous. The following - * definition of function name MUST be used for this attribute - * (and consequently the span name) for the listed cloud providers/products:
      - *
    • Azure: The full name `/`, i.e., function app name - * followed by a forward slash followed by the function name (this form - * can also be seen in the resource JSON for the function). - * This means that a span attribute MUST be used, as an Azure function - * app can host multiple functions that would usually share - * a TracerProvider (see also the `cloud.resource_id` attribute).
    • - *
    - * - * @example my-function - * @example myazurefunctionapp/some-function-name - */ - public const FAAS_NAME = 'faas.name'; - - /** - * The immutable version of the function being executed. - * - * Depending on the cloud provider and platform, use:
      - *
    • AWS Lambda: The function version - * (an integer represented as a decimal string).
    • - *
    • Google Cloud Run (Services): The revision - * (i.e., the function name plus the revision suffix).
    • - *
    • Google Cloud Functions: The value of the - * `K_REVISION` environment variable.
    • - *
    • Azure Functions: Not applicable. Do not set this attribute.
    • - *
    - * - * @example 26 - * @example pinkfroid-00002 - */ - public const FAAS_VERSION = 'faas.version'; - - /** - * The CPU architecture the host system is running on. - */ - public const HOST_ARCH = 'host.arch'; - - /** - * Unique host ID. For Cloud, this must be the instance_id assigned by the cloud provider. For non-containerized systems, this should be the `machine-id`. See the table below for the sources to use to determine the `machine-id` based on operating system. - * - * @example fdbf79e8af94cb7f9e8df36789187052 - */ - public const HOST_ID = 'host.id'; - - /** - * VM image ID or host OS image ID. For Cloud, this value is from the provider. - * - * @example ami-07b06b442921831e5 - */ - public const HOST_IMAGE_ID = 'host.image.id'; - - /** - * Name of the VM image or OS install the host was instantiated from. - * - * @example infra-ami-eks-worker-node-7d4ec78312 - * @example CentOS-8-x86_64-1905 - */ - public const HOST_IMAGE_NAME = 'host.image.name'; - - /** - * The version string of the VM image or host OS as defined in Version Attributes. - * - * @example 0.1 - */ - public const HOST_IMAGE_VERSION = 'host.image.version'; - - /** - * Available IP addresses of the host, excluding loopback interfaces. - * - * IPv4 Addresses MUST be specified in dotted-quad notation. IPv6 addresses MUST be specified in the RFC 5952 format. - * - * @example 192.168.1.140 - * @example fe80::abc2:4a28:737a:609e - */ - public const HOST_IP = 'host.ip'; - - /** - * Name of the host. On Unix systems, it may contain what the hostname command returns, or the fully qualified hostname, or another name specified by the user. - * - * @example opentelemetry-test - */ - public const HOST_NAME = 'host.name'; - - /** - * Type of host. For Cloud, this must be the machine type. - * - * @example n1-standard-1 - */ - public const HOST_TYPE = 'host.type'; - - /** - * The amount of level 2 memory cache available to the processor (in Bytes). - * - * @example 12288000 - */ - public const HOST_CPU_CACHE_L2_SIZE = 'host.cpu.cache.l2.size'; - - /** - * Numeric value specifying the family or generation of the CPU. - * - * @example 6 - */ - public const HOST_CPU_FAMILY = 'host.cpu.family'; - - /** - * Model identifier. It provides more granular information about the CPU, distinguishing it from other CPUs within the same family. - * - * @example 6 - */ - public const HOST_CPU_MODEL_ID = 'host.cpu.model.id'; - - /** - * Model designation of the processor. - * - * @example 11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz - */ - public const HOST_CPU_MODEL_NAME = 'host.cpu.model.name'; - - /** - * Stepping or core revisions. - * - * @example 1 - */ - public const HOST_CPU_STEPPING = 'host.cpu.stepping'; - - /** - * Processor manufacturer identifier. A maximum 12-character string. - * - * CPUID command returns the vendor ID string in EBX, EDX and ECX registers. Writing these to memory in this order results in a 12-character string. - * - * @example GenuineIntel - */ - public const HOST_CPU_VENDOR_ID = 'host.cpu.vendor.id'; - - /** - * The name of the cluster. - * - * @example opentelemetry-cluster - */ - public const K8S_CLUSTER_NAME = 'k8s.cluster.name'; - - /** - * A pseudo-ID for the cluster, set to the UID of the `kube-system` namespace. - * - * K8s does not have support for obtaining a cluster ID. If this is ever - * added, we will recommend collecting the `k8s.cluster.uid` through the - * official APIs. In the meantime, we are able to use the `uid` of the - * `kube-system` namespace as a proxy for cluster ID. Read on for the - * rationale.Every object created in a K8s cluster is assigned a distinct UID. The - * `kube-system` namespace is used by Kubernetes itself and will exist - * for the lifetime of the cluster. Using the `uid` of the `kube-system` - * namespace is a reasonable proxy for the K8s ClusterID as it will only - * change if the cluster is rebuilt. Furthermore, Kubernetes UIDs are - * UUIDs as standardized by - * ISO/IEC 9834-8 and ITU-T X.667. - * Which states:
    - * If generated according to one of the mechanisms defined in Rec.
    - * ITU-T X.667 | ISO/IEC 9834-8, a UUID is either guaranteed to be - * different from all other UUIDs generated before 3603 A.D., or is - * extremely likely to be different (depending on the mechanism chosen).Therefore, UIDs between clusters should be extremely unlikely to - * conflict. - * - * @example 218fc5a9-a5f1-4b54-aa05-46717d0ab26d - */ - public const K8S_CLUSTER_UID = 'k8s.cluster.uid'; - - /** - * The name of the Node. - * - * @example node-1 - */ - public const K8S_NODE_NAME = 'k8s.node.name'; - - /** - * The UID of the Node. - * - * @example 1eb3a0c6-0477-4080-a9cb-0cb7db65c6a2 - */ - public const K8S_NODE_UID = 'k8s.node.uid'; - - /** - * The name of the namespace that the pod is running in. - * - * @example default - */ - public const K8S_NAMESPACE_NAME = 'k8s.namespace.name'; - - /** - * The name of the Pod. - * - * @example opentelemetry-pod-autoconf - */ - public const K8S_POD_NAME = 'k8s.pod.name'; - - /** - * The UID of the Pod. - * - * @example 275ecb36-5aa8-4c2a-9c47-d8bb681b9aff - */ - public const K8S_POD_UID = 'k8s.pod.uid'; - - /** - * The name of the Container from Pod specification, must be unique within a Pod. Container runtime usually uses different globally unique name (`container.name`). - * - * @example redis - */ - public const K8S_CONTAINER_NAME = 'k8s.container.name'; - - /** - * Number of times the container was restarted. This attribute can be used to identify a particular container (running or stopped) within a container spec. - * - * @example 2 - */ - public const K8S_CONTAINER_RESTART_COUNT = 'k8s.container.restart_count'; - - /** - * The name of the ReplicaSet. - * - * @example opentelemetry - */ - public const K8S_REPLICASET_NAME = 'k8s.replicaset.name'; - - /** - * The UID of the ReplicaSet. - * - * @example 275ecb36-5aa8-4c2a-9c47-d8bb681b9aff - */ - public const K8S_REPLICASET_UID = 'k8s.replicaset.uid'; - - /** - * The name of the Deployment. - * - * @example opentelemetry - */ - public const K8S_DEPLOYMENT_NAME = 'k8s.deployment.name'; - - /** - * The UID of the Deployment. - * - * @example 275ecb36-5aa8-4c2a-9c47-d8bb681b9aff - */ - public const K8S_DEPLOYMENT_UID = 'k8s.deployment.uid'; - - /** - * The name of the StatefulSet. - * - * @example opentelemetry - */ - public const K8S_STATEFULSET_NAME = 'k8s.statefulset.name'; - - /** - * The UID of the StatefulSet. - * - * @example 275ecb36-5aa8-4c2a-9c47-d8bb681b9aff - */ - public const K8S_STATEFULSET_UID = 'k8s.statefulset.uid'; - - /** - * The name of the DaemonSet. - * - * @example opentelemetry - */ - public const K8S_DAEMONSET_NAME = 'k8s.daemonset.name'; - - /** - * The UID of the DaemonSet. - * - * @example 275ecb36-5aa8-4c2a-9c47-d8bb681b9aff - */ - public const K8S_DAEMONSET_UID = 'k8s.daemonset.uid'; - - /** - * The name of the Job. - * - * @example opentelemetry - */ - public const K8S_JOB_NAME = 'k8s.job.name'; - - /** - * The UID of the Job. - * - * @example 275ecb36-5aa8-4c2a-9c47-d8bb681b9aff - */ - public const K8S_JOB_UID = 'k8s.job.uid'; - - /** - * The name of the CronJob. - * - * @example opentelemetry - */ - public const K8S_CRONJOB_NAME = 'k8s.cronjob.name'; - - /** - * The UID of the CronJob. - * - * @example 275ecb36-5aa8-4c2a-9c47-d8bb681b9aff - */ - public const K8S_CRONJOB_UID = 'k8s.cronjob.uid'; - - /** - * The digest of the OCI image manifest. For container images specifically is the digest by which the container image is known. - * - * Follows OCI Image Manifest Specification, and specifically the Digest property. - * An example can be found in Example Image Manifest. - * - * @example sha256:e4ca62c0d62f3e886e684806dfe9d4e0cda60d54986898173c1083856cfda0f4 - */ - public const OCI_MANIFEST_DIGEST = 'oci.manifest.digest'; - - /** - * Unique identifier for a particular build or compilation of the operating system. - * - * @example TQ3C.230805.001.B2 - * @example 20E247 - * @example 22621 - */ - public const OS_BUILD_ID = 'os.build_id'; - - /** - * Human readable (not intended to be parsed) OS version information, like e.g. reported by `ver` or `lsb_release -a` commands. - * - * @example Microsoft Windows [Version 10.0.18363.778] - * @example Ubuntu 18.04.1 LTS - */ - public const OS_DESCRIPTION = 'os.description'; - - /** - * Human readable operating system name. - * - * @example iOS - * @example Android - * @example Ubuntu - */ - public const OS_NAME = 'os.name'; - - /** - * The operating system type. - */ - public const OS_TYPE = 'os.type'; - - /** - * The version string of the operating system as defined in Version Attributes. - * - * @example 14.2.1 - * @example 18.04.1 - */ - public const OS_VERSION = 'os.version'; - - /** - * The command used to launch the process (i.e. the command name). On Linux based systems, can be set to the zeroth string in `proc/[pid]/cmdline`. On Windows, can be set to the first parameter extracted from `GetCommandLineW`. - * - * @example cmd/otelcol - */ - public const PROCESS_COMMAND = 'process.command'; - - /** - * All the command arguments (including the command/executable itself) as received by the process. On Linux-based systems (and some other Unixoid systems supporting procfs), can be set according to the list of null-delimited strings extracted from `proc/[pid]/cmdline`. For libc-based executables, this would be the full argv vector passed to `main`. - * - * @example cmd/otecol - * @example --config=config.yaml - */ - public const PROCESS_COMMAND_ARGS = 'process.command_args'; - - /** - * The full command used to launch the process as a single string representing the full command. On Windows, can be set to the result of `GetCommandLineW`. Do not set this if you have to assemble it just for monitoring; use `process.command_args` instead. - * - * @example C:\cmd\otecol --config="my directory\config.yaml" - */ - public const PROCESS_COMMAND_LINE = 'process.command_line'; - - /** - * The name of the process executable. On Linux based systems, can be set to the `Name` in `proc/[pid]/status`. On Windows, can be set to the base name of `GetProcessImageFileNameW`. - * - * @example otelcol - */ - public const PROCESS_EXECUTABLE_NAME = 'process.executable.name'; - - /** - * The full path to the process executable. On Linux based systems, can be set to the target of `proc/[pid]/exe`. On Windows, can be set to the result of `GetProcessImageFileNameW`. - * - * @example /usr/bin/cmd/otelcol - */ - public const PROCESS_EXECUTABLE_PATH = 'process.executable.path'; - - /** - * The username of the user that owns the process. - * - * @example root - */ - public const PROCESS_OWNER = 'process.owner'; - - /** - * Parent Process identifier (PID). - * - * @example 111 - */ - public const PROCESS_PARENT_PID = 'process.parent_pid'; - - /** - * Process identifier (PID). - * - * @example 1234 - */ - public const PROCESS_PID = 'process.pid'; - - /** - * An additional description about the runtime of the process, for example a specific vendor customization of the runtime environment. - * - * @example Eclipse OpenJ9 Eclipse OpenJ9 VM openj9-0.21.0 - */ - public const PROCESS_RUNTIME_DESCRIPTION = 'process.runtime.description'; - - /** - * The name of the runtime of this process. For compiled native binaries, this SHOULD be the name of the compiler. - * - * @example OpenJDK Runtime Environment - */ - public const PROCESS_RUNTIME_NAME = 'process.runtime.name'; - - /** - * The version of the runtime of this process, as returned by the runtime without modification. - * - * @example 14.0.2 - */ - public const PROCESS_RUNTIME_VERSION = 'process.runtime.version'; - - /** - * Logical name of the service. - * - * MUST be the same for all instances of horizontally scaled services. If the value was not specified, SDKs MUST fallback to `unknown_service:` concatenated with `process.executable.name`, e.g. `unknown_service:bash`. If `process.executable.name` is not available, the value MUST be set to `unknown_service`. - * - * @example shoppingcart - */ - public const SERVICE_NAME = 'service.name'; - - /** - * The version string of the service API or implementation. The format is not defined by these conventions. - * - * @example 2.0.0 - * @example a01dbef8a - */ - public const SERVICE_VERSION = 'service.version'; - - /** - * The string ID of the service instance. - * - * MUST be unique for each instance of the same `service.namespace,service.name` pair (in other words `service.namespace,service.name,service.instance.id` triplet MUST be globally unique). The ID helps to distinguish instances of the same service that exist at the same time (e.g. instances of a horizontally scaled service). It is preferable for the ID to be persistent and stay the same for the lifetime of the service instance, however it is acceptable that the ID is ephemeral and changes during important lifetime events for the service (e.g. service restarts). If the service has no inherent unique ID that can be used as the value of this attribute it is recommended to generate a random Version 1 or Version 4 RFC 4122 UUID (services aiming for reproducible UUIDs may also use Version 5, see RFC 4122 for more recommendations). - * - * @example my-k8s-pod-deployment-1 - * @example 627cc493-f310-47de-96bd-71410b7dec09 - */ - public const SERVICE_INSTANCE_ID = 'service.instance.id'; - - /** - * A namespace for `service.name`. - * - * A string value having a meaning that helps to distinguish a group of services, for example the team name that owns a group of services. `service.name` is expected to be unique within the same namespace. If `service.namespace` is not specified in the Resource then `service.name` is expected to be unique for all services that have no explicit namespace defined (so the empty/unspecified namespace is simply one more valid namespace). Zero-length namespace string is assumed equal to unspecified namespace. - * - * @example Shop - */ - public const SERVICE_NAMESPACE = 'service.namespace'; - - /** - * The language of the telemetry SDK. - */ - public const TELEMETRY_SDK_LANGUAGE = 'telemetry.sdk.language'; - - /** - * The name of the telemetry SDK as defined above. - * - * The OpenTelemetry SDK MUST set the `telemetry.sdk.name` attribute to `opentelemetry`. - * If another SDK, like a fork or a vendor-provided implementation, is used, this SDK MUST set the - * `telemetry.sdk.name` attribute to the fully-qualified class or module name of this SDK's main entry point - * or another suitable identifier depending on the language. - * The identifier `opentelemetry` is reserved and MUST NOT be used in this case. - * All custom identifiers SHOULD be stable across different versions of an implementation. - * - * @example opentelemetry - */ - public const TELEMETRY_SDK_NAME = 'telemetry.sdk.name'; - - /** - * The version string of the telemetry SDK. - * - * @example 1.2.3 - */ - public const TELEMETRY_SDK_VERSION = 'telemetry.sdk.version'; - - /** - * The name of the auto instrumentation agent or distribution, if used. - * - * Official auto instrumentation agents and distributions SHOULD set the `telemetry.distro.name` attribute to - * a string starting with `opentelemetry-`, e.g. `opentelemetry-java-instrumentation`. - * - * @example parts-unlimited-java - */ - public const TELEMETRY_DISTRO_NAME = 'telemetry.distro.name'; - - /** - * The version string of the auto instrumentation agent or distribution, if used. - * - * @example 1.2.3 - */ - public const TELEMETRY_DISTRO_VERSION = 'telemetry.distro.version'; - - /** - * Additional description of the web engine (e.g. detailed version and edition information). - * - * @example WildFly Full 21.0.0.Final (WildFly Core 13.0.1.Final) - 2.2.2.Final - */ - public const WEBENGINE_DESCRIPTION = 'webengine.description'; - - /** - * The name of the web engine. - * - * @example WildFly - */ - public const WEBENGINE_NAME = 'webengine.name'; - - /** - * The version of the web engine. - * - * @example 21.0.0 - */ - public const WEBENGINE_VERSION = 'webengine.version'; - - /** - * The name of the instrumentation scope - (`InstrumentationScope.Name` in OTLP). - * - * @example io.opentelemetry.contrib.mongodb - */ - public const OTEL_SCOPE_NAME = 'otel.scope.name'; - - /** - * The version of the instrumentation scope - (`InstrumentationScope.Version` in OTLP). - * - * @example 1.0.0 - */ - public const OTEL_SCOPE_VERSION = 'otel.scope.version'; - - /** - * Deprecated, use the `otel.scope.name` attribute. - * - * @deprecated Deprecated, use the `otel.scope.name` attribute.. - * @example io.opentelemetry.contrib.mongodb - */ - public const OTEL_LIBRARY_NAME = 'otel.library.name'; - - /** - * Deprecated, use the `otel.scope.version` attribute. - * - * @deprecated Deprecated, use the `otel.scope.version` attribute.. - * @example 1.0.0 - */ - public const OTEL_LIBRARY_VERSION = 'otel.library.version'; - - /** - * @deprecated Use USER_AGENT_ORIGINAL - */ - public const BROWSER_USER_AGENT = 'browser.user_agent'; - - /** - * @deprecated Use CLOUD_RESOURCE_ID - */ - public const FAAS_ID = 'faas.id'; - - /** - * @deprecated Use TELEMETRY_DISTRO_VERSION - */ - public const TELEMETRY_AUTO_VERSION = 'telemetry.auto.version'; - - /** - * @deprecated Use CONTAINER_IMAGE_TAGS - */ - public const CONTAINER_IMAGE_TAG = 'container.image.tag'; -} diff --git a/vendor/open-telemetry/sem-conv/TraceAttributes.php b/vendor/open-telemetry/sem-conv/TraceAttributes.php deleted file mode 100644 index 4329db5f9..000000000 --- a/vendor/open-telemetry/sem-conv/TraceAttributes.php +++ /dev/null @@ -1,2052 +0,0 @@ - - *
  • Host identifier of the request target - * if it's sent in absolute-form
  • - *
  • Host identifier of the `Host` header
  • - * - * If an HTTP client request is explicitly made to an IP address, e.g. `http://x.x.x.x:8080`, then - * `server.address` SHOULD be the IP address `x.x.x.x`. A DNS lookup SHOULD NOT be used. - * - * @example example.com - * @example 10.1.2.80 - * @example /tmp/my.sock - */ - public const SERVER_ADDRESS = 'server.address'; - - /** - * Port identifier of the "URI origin" HTTP request is sent to. - * - * When request target is absolute URI, `server.port` MUST match URI port identifier, otherwise it MUST match `Host` header port identifier. - * - * @example 80 - * @example 8080 - * @example 443 - */ - public const SERVER_PORT = 'server.port'; - - /** - * The matched route (path template in the format used by the respective server framework). See note below. - * - * MUST NOT be populated when this is not supported by the HTTP server framework as the route attribute should have low-cardinality and the URI path can NOT substitute it. - * SHOULD include the application root if there is one. - * - * @example /users/:userID? - * @example {controller}/{action}/{id?} - */ - public const HTTP_ROUTE = 'http.route'; - - /** - * The URI scheme component identifying the used protocol. - * - * @example http - * @example https - */ - public const URL_SCHEME = 'url.scheme'; - - /** - * The domain identifies the business context for the events. - * - * Events across different domains may have same `event.name`, yet be - * unrelated events. - */ - public const EVENT_DOMAIN = 'event.domain'; - - /** - * The name identifies the event. - * - * @example click - * @example exception - */ - public const EVENT_NAME = 'event.name'; - - /** - * A unique identifier for the Log Record. - * - * If an id is provided, other log records with the same id will be considered duplicates and can be removed safely. This means, that two distinguishable log records MUST have different values. - * The id MAY be an Universally Unique Lexicographically Sortable Identifier (ULID), but other identifiers (e.g. UUID) may be used as needed. - * - * @example 01ARZ3NDEKTSV4RRFFQ69G5FAV - */ - public const LOG_RECORD_UID = 'log.record.uid'; - - /** - * The unique identifier of the feature flag. - * - * @example logo-color - */ - public const FEATURE_FLAG_KEY = 'feature_flag.key'; - - /** - * The name of the service provider that performs the flag evaluation. - * - * @example Flag Manager - */ - public const FEATURE_FLAG_PROVIDER_NAME = 'feature_flag.provider_name'; - - /** - * SHOULD be a semantic identifier for a value. If one is unavailable, a stringified version of the value can be used. - * - * A semantic identifier, commonly referred to as a variant, provides a means - * for referring to a value without including the value itself. This can - * provide additional context for understanding the meaning behind a value. - * For example, the variant `red` maybe be used for the value `#c05543`.A stringified version of the value can be used in situations where a - * semantic identifier is unavailable. String representation of the value - * should be determined by the implementer. - * - * @example red - * @example true - * @example on - */ - public const FEATURE_FLAG_VARIANT = 'feature_flag.variant'; - - /** - * The stream associated with the log. See below for a list of well-known values. - */ - public const LOG_IOSTREAM = 'log.iostream'; - - /** - * The basename of the file. - * - * @example audit.log - */ - public const LOG_FILE_NAME = 'log.file.name'; - - /** - * The basename of the file, with symlinks resolved. - * - * @example uuid.log - */ - public const LOG_FILE_NAME_RESOLVED = 'log.file.name_resolved'; - - /** - * The full path to the file. - * - * @example /var/log/mysql/audit.log - */ - public const LOG_FILE_PATH = 'log.file.path'; - - /** - * The full path to the file, with symlinks resolved. - * - * @example /var/lib/docker/uuid.log - */ - public const LOG_FILE_PATH_RESOLVED = 'log.file.path_resolved'; - - /** - * The name of the connection pool; unique within the instrumented application. In case the connection pool implementation does not provide a name, then the db.connection_string should be used. - * - * @example myDataSource - */ - public const POOL_NAME = 'pool.name'; - - /** - * The state of a connection in the pool. - * - * @example idle - */ - public const STATE = 'state'; - - /** - * Name of the buffer pool. - * - * Pool names are generally obtained via BufferPoolMXBean#getName(). - * - * @example mapped - * @example direct - */ - public const JVM_BUFFER_POOL_NAME = 'jvm.buffer.pool.name'; - - /** - * Name of the memory pool. - * - * Pool names are generally obtained via MemoryPoolMXBean#getName(). - * - * @example G1 Old Gen - * @example G1 Eden space - * @example G1 Survivor Space - */ - public const JVM_MEMORY_POOL_NAME = 'jvm.memory.pool.name'; - - /** - * The type of memory. - * - * @example heap - * @example non_heap - */ - public const JVM_MEMORY_TYPE = 'jvm.memory.type'; - - /** - * OSI transport layer or inter-process communication method. - * - * The value SHOULD be normalized to lowercase.Consider always setting the transport when setting a port number, since - * a port number is ambiguous without knowing the transport, for example - * different processes could be listening on TCP port 12345 and UDP port 12345. - * - * @example tcp - * @example udp - */ - public const NETWORK_TRANSPORT = 'network.transport'; - - /** - * OSI network layer or non-OSI equivalent. - * - * The value SHOULD be normalized to lowercase. - * - * @example ipv4 - * @example ipv6 - */ - public const NETWORK_TYPE = 'network.type'; - - /** - * The name of the (logical) method being called, must be equal to the $method part in the span name. - * - * This is the logical name of the method from the RPC interface perspective, which can be different from the name of any implementing method/function. The `code.function` attribute may be used to store the latter (e.g., method actually executing the call on the server side, RPC client stub method on the client side). - * - * @example exampleMethod - */ - public const RPC_METHOD = 'rpc.method'; - - /** - * The full (logical) name of the service being called, including its package name, if applicable. - * - * This is the logical name of the service from the RPC interface perspective, which can be different from the name of any implementing class. The `code.namespace` attribute may be used to store the latter (despite the attribute name, it may include a class name; e.g., class with method actually executing the call on the server side, RPC client stub class on the client side). - * - * @example myservice.EchoService - */ - public const RPC_SERVICE = 'rpc.service'; - - /** - * A string identifying the remoting system. See below for a list of well-known identifiers. - */ - public const RPC_SYSTEM = 'rpc.system'; - - /** - * The device identifier. - * - * @example (identifier) - */ - public const SYSTEM_DEVICE = 'system.device'; - - /** - * The logical CPU number [0..n-1]. - * - * @example 1 - */ - public const SYSTEM_CPU_LOGICAL_NUMBER = 'system.cpu.logical_number'; - - /** - * The state of the CPU. - * - * @example idle - * @example interrupt - */ - public const SYSTEM_CPU_STATE = 'system.cpu.state'; - - /** - * The memory state. - * - * @example free - * @example cached - */ - public const SYSTEM_MEMORY_STATE = 'system.memory.state'; - - /** - * The paging access direction. - * - * @example in - */ - public const SYSTEM_PAGING_DIRECTION = 'system.paging.direction'; - - /** - * The memory paging state. - * - * @example free - */ - public const SYSTEM_PAGING_STATE = 'system.paging.state'; - - /** - * The memory paging type. - * - * @example minor - */ - public const SYSTEM_PAGING_TYPE = 'system.paging.type'; - - /** - * The disk operation direction. - * - * @example read - */ - public const SYSTEM_DISK_DIRECTION = 'system.disk.direction'; - - /** - * The filesystem mode. - * - * @example rw, ro - */ - public const SYSTEM_FILESYSTEM_MODE = 'system.filesystem.mode'; - - /** - * The filesystem mount path. - * - * @example /mnt/data - */ - public const SYSTEM_FILESYSTEM_MOUNTPOINT = 'system.filesystem.mountpoint'; - - /** - * The filesystem state. - * - * @example used - */ - public const SYSTEM_FILESYSTEM_STATE = 'system.filesystem.state'; - - /** - * The filesystem type. - * - * @example ext4 - */ - public const SYSTEM_FILESYSTEM_TYPE = 'system.filesystem.type'; - - /** - * . - * - * @example transmit - */ - public const SYSTEM_NETWORK_DIRECTION = 'system.network.direction'; - - /** - * A stateless protocol MUST NOT set this attribute. - * - * @example close_wait - */ - public const SYSTEM_NETWORK_STATE = 'system.network.state'; - - /** - * The process state, e.g., Linux Process State Codes. - * - * @example running - */ - public const SYSTEM_PROCESSES_STATUS = 'system.processes.status'; - - /** - * Local address of the network connection - IP address or Unix domain socket name. - * - * @example 10.1.2.80 - * @example /tmp/my.sock - */ - public const NETWORK_LOCAL_ADDRESS = 'network.local.address'; - - /** - * Local port number of the network connection. - * - * @example 65123 - */ - public const NETWORK_LOCAL_PORT = 'network.local.port'; - - /** - * Peer address of the network connection - IP address or Unix domain socket name. - * - * @example 10.1.2.80 - * @example /tmp/my.sock - */ - public const NETWORK_PEER_ADDRESS = 'network.peer.address'; - - /** - * Peer port number of the network connection. - * - * @example 65123 - */ - public const NETWORK_PEER_PORT = 'network.peer.port'; - - /** - * The ISO 3166-1 alpha-2 2-character country code associated with the mobile carrier network. - * - * @example DE - */ - public const NETWORK_CARRIER_ICC = 'network.carrier.icc'; - - /** - * The mobile carrier country code. - * - * @example 310 - */ - public const NETWORK_CARRIER_MCC = 'network.carrier.mcc'; - - /** - * The mobile carrier network code. - * - * @example 001 - */ - public const NETWORK_CARRIER_MNC = 'network.carrier.mnc'; - - /** - * The name of the mobile carrier. - * - * @example sprint - */ - public const NETWORK_CARRIER_NAME = 'network.carrier.name'; - - /** - * This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a wifi connection. - * - * @example LTE - */ - public const NETWORK_CONNECTION_SUBTYPE = 'network.connection.subtype'; - - /** - * The internet connection type. - * - * @example wifi - */ - public const NETWORK_CONNECTION_TYPE = 'network.connection.type'; - - /** - * Deprecated, use `http.request.method` instead. - * - * @deprecated Deprecated, use `http.request.method` instead.. - * @example GET - * @example POST - * @example HEAD - */ - public const HTTP_METHOD = 'http.method'; - - /** - * Deprecated, use `http.request.body.size` instead. - * - * @deprecated Deprecated, use `http.request.body.size` instead.. - * @example 3495 - */ - public const HTTP_REQUEST_CONTENT_LENGTH = 'http.request_content_length'; - - /** - * Deprecated, use `http.response.body.size` instead. - * - * @deprecated Deprecated, use `http.response.body.size` instead.. - * @example 3495 - */ - public const HTTP_RESPONSE_CONTENT_LENGTH = 'http.response_content_length'; - - /** - * Deprecated, use `url.scheme` instead. - * - * @deprecated Deprecated, use `url.scheme` instead.. - * @example http - * @example https - */ - public const HTTP_SCHEME = 'http.scheme'; - - /** - * Deprecated, use `http.response.status_code` instead. - * - * @deprecated Deprecated, use `http.response.status_code` instead.. - * @example 200 - */ - public const HTTP_STATUS_CODE = 'http.status_code'; - - /** - * Deprecated, use `url.path` and `url.query` instead. - * - * @deprecated Deprecated, use `url.path` and `url.query` instead.. - * @example /search?q=OpenTelemetry#SemConv - */ - public const HTTP_TARGET = 'http.target'; - - /** - * Deprecated, use `url.full` instead. - * - * @deprecated Deprecated, use `url.full` instead.. - * @example https://www.foo.bar/search?q=OpenTelemetry#SemConv - */ - public const HTTP_URL = 'http.url'; - - /** - * The size of the request payload body in bytes. This is the number of bytes transferred excluding headers and is often, but not always, present as the Content-Length header. For requests using transport encoding, this should be the compressed size. - * - * @example 3495 - */ - public const HTTP_REQUEST_BODY_SIZE = 'http.request.body.size'; - - /** - * Original HTTP method sent by the client in the request line. - * - * @example GeT - * @example ACL - * @example foo - */ - public const HTTP_REQUEST_METHOD_ORIGINAL = 'http.request.method_original'; - - /** - * The ordinal number of request resending attempt (for any reason, including redirects). - * - * The resend count SHOULD be updated each time an HTTP request gets resent by the client, regardless of what was the cause of the resending (e.g. redirection, authorization failure, 503 Server Unavailable, network issues, or any other). - * - * @example 3 - */ - public const HTTP_RESEND_COUNT = 'http.resend_count'; - - /** - * The size of the response payload body in bytes. This is the number of bytes transferred excluding headers and is often, but not always, present as the Content-Length header. For requests using transport encoding, this should be the compressed size. - * - * @example 3495 - */ - public const HTTP_RESPONSE_BODY_SIZE = 'http.response.body.size'; - - /** - * A unique id to identify a session. - * - * @example 00112233-4455-6677-8899-aabbccddeeff - */ - public const SESSION_ID = 'session.id'; - - /** - * Source address - domain name if available without reverse DNS lookup, otherwise IP address or Unix domain socket name. - * - * When observed from the destination side, and when communicating through an intermediary, `source.address` SHOULD represent the source address behind any intermediaries (e.g. proxies) if it's available. - * - * @example source.example.com - * @example 10.1.2.80 - * @example /tmp/my.sock - */ - public const SOURCE_ADDRESS = 'source.address'; - - /** - * Source port number. - * - * @example 3389 - * @example 2888 - */ - public const SOURCE_PORT = 'source.port'; - - /** - * The full invoked ARN as provided on the `Context` passed to the function (`Lambda-Runtime-Invoked-Function-Arn` header on the `/runtime/invocation/next` applicable). - * - * This may be different from `cloud.resource_id` if an alias is involved. - * - * @example arn:aws:lambda:us-east-1:123456:function:myfunction:myalias - */ - public const AWS_LAMBDA_INVOKED_ARN = 'aws.lambda.invoked_arn'; - - /** - * The event_id uniquely identifies the event. - * - * @example 123e4567-e89b-12d3-a456-426614174000 - * @example 0001 - */ - public const CLOUDEVENTS_EVENT_ID = 'cloudevents.event_id'; - - /** - * The source identifies the context in which an event happened. - * - * @example https://github.com/cloudevents - * @example /cloudevents/spec/pull/123 - * @example my-service - */ - public const CLOUDEVENTS_EVENT_SOURCE = 'cloudevents.event_source'; - - /** - * The version of the CloudEvents specification which the event uses. - * - * @example 1.0 - */ - public const CLOUDEVENTS_EVENT_SPEC_VERSION = 'cloudevents.event_spec_version'; - - /** - * The subject of the event in the context of the event producer (identified by source). - * - * @example mynewfile.jpg - */ - public const CLOUDEVENTS_EVENT_SUBJECT = 'cloudevents.event_subject'; - - /** - * The event_type contains a value describing the type of event related to the originating occurrence. - * - * @example com.github.pull_request.opened - * @example com.example.object.deleted.v2 - */ - public const CLOUDEVENTS_EVENT_TYPE = 'cloudevents.event_type'; - - /** - * Parent-child Reference type. - * - * The causal relationship between a child Span and a parent Span. - */ - public const OPENTRACING_REF_TYPE = 'opentracing.ref_type'; - - /** - * The connection string used to connect to the database. It is recommended to remove embedded credentials. - * - * @example Server=(localdb)\v11.0;Integrated Security=true; - */ - public const DB_CONNECTION_STRING = 'db.connection_string'; - - /** - * The fully-qualified class name of the Java Database Connectivity (JDBC) driver used to connect. - * - * @example org.postgresql.Driver - * @example com.microsoft.sqlserver.jdbc.SQLServerDriver - */ - public const DB_JDBC_DRIVER_CLASSNAME = 'db.jdbc.driver_classname'; - - /** - * This attribute is used to report the name of the database being accessed. For commands that switch the database, this should be set to the target database (even if the command fails). - * - * In some SQL databases, the database name to be used is called "schema name". In case there are multiple layers that could be considered for database name (e.g. Oracle instance name and schema name), the database name to be used is the more specific layer (e.g. Oracle schema name). - * - * @example customers - * @example main - */ - public const DB_NAME = 'db.name'; - - /** - * The name of the operation being executed, e.g. the MongoDB command name such as `findAndModify`, or the SQL keyword. - * - * When setting this to an SQL keyword, it is not recommended to attempt any client-side parsing of `db.statement` just to get this property, but it should be set if the operation name is provided by the library being instrumented. If the SQL statement has an ambiguous operation, or performs more than one operation, this value may be omitted. - * - * @example findAndModify - * @example HMSET - * @example SELECT - */ - public const DB_OPERATION = 'db.operation'; - - /** - * The database statement being executed. - * - * @example SELECT * FROM wuser_table - * @example SET mykey "WuValue" - */ - public const DB_STATEMENT = 'db.statement'; - - /** - * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. - */ - public const DB_SYSTEM = 'db.system'; - - /** - * Username for accessing the database. - * - * @example readonly_user - * @example reporting_user - */ - public const DB_USER = 'db.user'; - - /** - * The Microsoft SQL Server instance name connecting to. This name is used to determine the port of a named instance. - * - * If setting a `db.mssql.instance_name`, `server.port` is no longer required (but still recommended if non-standard). - * - * @example MSSQLSERVER - */ - public const DB_MSSQL_INSTANCE_NAME = 'db.mssql.instance_name'; - - /** - * The consistency level of the query. Based on consistency values from CQL. - */ - public const DB_CASSANDRA_CONSISTENCY_LEVEL = 'db.cassandra.consistency_level'; - - /** - * The data center of the coordinating node for a query. - * - * @example us-west-2 - */ - public const DB_CASSANDRA_COORDINATOR_DC = 'db.cassandra.coordinator.dc'; - - /** - * The ID of the coordinating node for a query. - * - * @example be13faa2-8574-4d71-926d-27f16cf8a7af - */ - public const DB_CASSANDRA_COORDINATOR_ID = 'db.cassandra.coordinator.id'; - - /** - * Whether or not the query is idempotent. - */ - public const DB_CASSANDRA_IDEMPOTENCE = 'db.cassandra.idempotence'; - - /** - * The fetch size used for paging, i.e. how many rows will be returned at once. - * - * @example 5000 - */ - public const DB_CASSANDRA_PAGE_SIZE = 'db.cassandra.page_size'; - - /** - * The number of times a query was speculatively executed. Not set or `0` if the query was not executed speculatively. - * - * @example 2 - */ - public const DB_CASSANDRA_SPECULATIVE_EXECUTION_COUNT = 'db.cassandra.speculative_execution_count'; - - /** - * The name of the primary table that the operation is acting upon, including the keyspace name (if applicable). - * - * This mirrors the db.sql.table attribute but references cassandra rather than sql. It is not recommended to attempt any client-side parsing of `db.statement` just to get this property, but it should be set if it is provided by the library being instrumented. If the operation is acting upon an anonymous table, or more than one table, this value MUST NOT be set. - * - * @example mytable - */ - public const DB_CASSANDRA_TABLE = 'db.cassandra.table'; - - /** - * The index of the database being accessed as used in the `SELECT` command, provided as an integer. To be used instead of the generic `db.name` attribute. - * - * @example 1 - * @example 15 - */ - public const DB_REDIS_DATABASE_INDEX = 'db.redis.database_index'; - - /** - * The collection being accessed within the database stated in `db.name`. - * - * @example customers - * @example products - */ - public const DB_MONGODB_COLLECTION = 'db.mongodb.collection'; - - /** - * Represents the identifier of an Elasticsearch cluster. - * - * @example e9106fc68e3044f0b1475b04bf4ffd5f - */ - public const DB_ELASTICSEARCH_CLUSTER_NAME = 'db.elasticsearch.cluster.name'; - - /** - * Represents the human-readable identifier of the node/instance to which a request was routed. - * - * @example instance-0000000001 - */ - public const DB_ELASTICSEARCH_NODE_NAME = 'db.elasticsearch.node.name'; - - /** - * Absolute URL describing a network resource according to RFC3986. - * - * For network calls, URL usually has `scheme://host[:port][path][?query][#fragment]` format, where the fragment is not transmitted over HTTP, but if it is known, it should be included nevertheless. - * `url.full` MUST NOT contain credentials passed via URL in form of `https://username:password@www.example.com/`. In such case username and password should be redacted and attribute's value should be `https://REDACTED:REDACTED@www.example.com/`. - * `url.full` SHOULD capture the absolute URL when it is available (or can be reconstructed) and SHOULD NOT be validated or modified except for sanitizing purposes. - * - * @example https://localhost:9200/index/_search?q=user.id:kimchy - */ - public const URL_FULL = 'url.full'; - - /** - * The name of the primary table that the operation is acting upon, including the database name (if applicable). - * - * It is not recommended to attempt any client-side parsing of `db.statement` just to get this property, but it should be set if it is provided by the library being instrumented. If the operation is acting upon an anonymous table, or more than one table, this value MUST NOT be set. - * - * @example public.users - * @example customers - */ - public const DB_SQL_TABLE = 'db.sql.table'; - - /** - * Unique Cosmos client instance id. - * - * @example 3ba4827d-4422-483f-b59f-85b74211c11d - */ - public const DB_COSMOSDB_CLIENT_ID = 'db.cosmosdb.client_id'; - - /** - * Cosmos client connection mode. - */ - public const DB_COSMOSDB_CONNECTION_MODE = 'db.cosmosdb.connection_mode'; - - /** - * Cosmos DB container name. - * - * @example anystring - */ - public const DB_COSMOSDB_CONTAINER = 'db.cosmosdb.container'; - - /** - * CosmosDB Operation Type. - */ - public const DB_COSMOSDB_OPERATION_TYPE = 'db.cosmosdb.operation_type'; - - /** - * RU consumed for that operation. - * - * @example 46.18 - * @example 1.0 - */ - public const DB_COSMOSDB_REQUEST_CHARGE = 'db.cosmosdb.request_charge'; - - /** - * Request payload size in bytes. - */ - public const DB_COSMOSDB_REQUEST_CONTENT_LENGTH = 'db.cosmosdb.request_content_length'; - - /** - * Cosmos DB status code. - * - * @example 200 - * @example 201 - */ - public const DB_COSMOSDB_STATUS_CODE = 'db.cosmosdb.status_code'; - - /** - * Cosmos DB sub status code. - * - * @example 1000 - * @example 1002 - */ - public const DB_COSMOSDB_SUB_STATUS_CODE = 'db.cosmosdb.sub_status_code'; - - /** - * Full user-agent string is generated by Cosmos DB SDK. - * - * The user-agent value is generated by SDK which is a combination of<br> `sdk_version` : Current version of SDK. e.g. 'cosmos-netstandard-sdk/3.23.0'<br> `direct_pkg_version` : Direct package version used by Cosmos DB SDK. e.g. '3.23.1'<br> `number_of_client_instances` : Number of cosmos client instances created by the application. e.g. '1'<br> `type_of_machine_architecture` : Machine architecture. e.g. 'X64'<br> `operating_system` : Operating System. e.g. 'Linux 5.4.0-1098-azure 104 18'<br> `runtime_framework` : Runtime Framework. e.g. '.NET Core 3.1.32'<br> `failover_information` : Generated key to determine if region failover enabled. - * Format Reg-{D (Disabled discovery)}-S(application region)|L(List of preferred regions)|N(None, user did not configure it). - * Default value is "NS". - * - * @example cosmos-netstandard-sdk/3.23.0\|3.23.1\|1\|X64\|Linux 5.4.0-1098-azure 104 18\|.NET Core 3.1.32\|S\| - */ - public const USER_AGENT_ORIGINAL = 'user_agent.original'; - - /** - * Name of the code, either "OK" or "ERROR". MUST NOT be set if the status code is UNSET. - */ - public const OTEL_STATUS_CODE = 'otel.status_code'; - - /** - * Description of the Status if it has a value, otherwise not set. - * - * @example resource not found - */ - public const OTEL_STATUS_DESCRIPTION = 'otel.status_description'; - - /** - * Cloud provider-specific native identifier of the monitored cloud resource (e.g. an ARN on AWS, a fully qualified resource ID on Azure, a full resource name on GCP). - * - * On some cloud providers, it may not be possible to determine the full ID at startup, - * so it may be necessary to set `cloud.resource_id` as a span attribute instead.The exact value to use for `cloud.resource_id` depends on the cloud provider. - * The following well-known definitions MUST be used if you set this attribute and they apply:
      - *
    • AWS Lambda: The function ARN. - * Take care not to use the "invoked ARN" directly but replace any - * alias suffix - * with the resolved function version, as the same runtime instance may be invokable with - * multiple different aliases.
    • - *
    • GCP: The URI of the resource
    • - *
    • Azure: The Fully Qualified Resource ID of the invoked function, - * not the function app, having the form - * `/subscriptions//resourceGroups//providers/Microsoft.Web/sites//functions/`. - * This means that a span attribute MUST be used, as an Azure function app can host multiple functions that would usually share - * a TracerProvider.
    • - *
    - * - * @example arn:aws:lambda:REGION:ACCOUNT_ID:function:my-function - * @example //run.googleapis.com/projects/PROJECT_ID/locations/LOCATION_ID/services/SERVICE_ID - * @example /subscriptions//resourceGroups//providers/Microsoft.Web/sites//functions/ - */ - public const CLOUD_RESOURCE_ID = 'cloud.resource_id'; - - /** - * The invocation ID of the current function invocation. - * - * @example af9d5aa4-a685-4c5f-a22b-444f80b3cc28 - */ - public const FAAS_INVOCATION_ID = 'faas.invocation_id'; - - /** - * The name of the source on which the triggering operation was performed. For example, in Cloud Storage or S3 corresponds to the bucket name, and in Cosmos DB to the database name. - * - * @example myBucketName - * @example myDbName - */ - public const FAAS_DOCUMENT_COLLECTION = 'faas.document.collection'; - - /** - * The document name/table subjected to the operation. For example, in Cloud Storage or S3 is the name of the file, and in Cosmos DB the table name. - * - * @example myFile.txt - * @example myTableName - */ - public const FAAS_DOCUMENT_NAME = 'faas.document.name'; - - /** - * Describes the type of the operation that was performed on the data. - */ - public const FAAS_DOCUMENT_OPERATION = 'faas.document.operation'; - - /** - * A string containing the time when the data was accessed in the ISO 8601 format expressed in UTC. - * - * @example 2020-01-23T13:47:06Z - */ - public const FAAS_DOCUMENT_TIME = 'faas.document.time'; - - /** - * The URI path component. - * - * When missing, the value is assumed to be `/` - * - * @example /search - */ - public const URL_PATH = 'url.path'; - - /** - * The URI query component. - * - * Sensitive content provided in query string SHOULD be scrubbed when instrumentations can identify it. - * - * @example q=OpenTelemetry - */ - public const URL_QUERY = 'url.query'; - - /** - * The number of messages sent, received, or processed in the scope of the batching operation. - * - * Instrumentations SHOULD NOT set `messaging.batch.message_count` on spans that operate with a single message. When a messaging client library supports both batch and single-message API for the same operation, instrumentations SHOULD use `messaging.batch.message_count` for batching APIs and SHOULD NOT use it for single-message APIs. - * - * @example 1 - * @example 2 - */ - public const MESSAGING_BATCH_MESSAGE_COUNT = 'messaging.batch.message_count'; - - /** - * A unique identifier for the client that consumes or produces a message. - * - * @example client-5 - * @example myhost@8742@s8083jm - */ - public const MESSAGING_CLIENT_ID = 'messaging.client_id'; - - /** - * A boolean that is true if the message destination is anonymous (could be unnamed or have auto-generated name). - */ - public const MESSAGING_DESTINATION_ANONYMOUS = 'messaging.destination.anonymous'; - - /** - * The message destination name. - * - * Destination name SHOULD uniquely identify a specific queue, topic or other entity within the broker. If - * the broker does not have such notion, the destination name SHOULD uniquely identify the broker. - * - * @example MyQueue - * @example MyTopic - */ - public const MESSAGING_DESTINATION_NAME = 'messaging.destination.name'; - - /** - * Low cardinality representation of the messaging destination name. - * - * Destination names could be constructed from templates. An example would be a destination name involving a user name or product id. Although the destination name in this case is of high cardinality, the underlying template is of low cardinality and can be effectively used for grouping and aggregation. - * - * @example /customers/{customerId} - */ - public const MESSAGING_DESTINATION_TEMPLATE = 'messaging.destination.template'; - - /** - * A boolean that is true if the message destination is temporary and might not exist anymore after messages are processed. - */ - public const MESSAGING_DESTINATION_TEMPORARY = 'messaging.destination.temporary'; - - /** - * The size of the message body in bytes. - * - * This can refer to both the compressed or uncompressed body size. If both sizes are known, the uncompressed - * body size should be used. - * - * @example 1439 - */ - public const MESSAGING_MESSAGE_BODY_SIZE = 'messaging.message.body.size'; - - /** - * The conversation ID identifying the conversation to which the message belongs, represented as a string. Sometimes called "Correlation ID". - * - * @example MyConversationId - */ - public const MESSAGING_MESSAGE_CONVERSATION_ID = 'messaging.message.conversation_id'; - - /** - * The size of the message body and metadata in bytes. - * - * This can refer to both the compressed or uncompressed size. If both sizes are known, the uncompressed - * size should be used. - * - * @example 2738 - */ - public const MESSAGING_MESSAGE_ENVELOPE_SIZE = 'messaging.message.envelope.size'; - - /** - * A value used by the messaging system as an identifier for the message, represented as a string. - * - * @example 452a7c7c7c7048c2f887f61572b18fc2 - */ - public const MESSAGING_MESSAGE_ID = 'messaging.message.id'; - - /** - * A string identifying the kind of messaging operation as defined in the Operation names section above. - * - * If a custom value is used, it MUST be of low cardinality. - */ - public const MESSAGING_OPERATION = 'messaging.operation'; - - /** - * A string identifying the messaging system. - * - * @example kafka - * @example rabbitmq - * @example rocketmq - * @example activemq - * @example AmazonSQS - */ - public const MESSAGING_SYSTEM = 'messaging.system'; - - /** - * A string containing the schedule period as Cron Expression. - * - * @example 0/5 * * * ? * - */ - public const FAAS_CRON = 'faas.cron'; - - /** - * A string containing the function invocation time in the ISO 8601 format expressed in UTC. - * - * @example 2020-01-23T13:47:06Z - */ - public const FAAS_TIME = 'faas.time'; - - /** - * A boolean that is true if the serverless function is executed for the first time (aka cold-start). - */ - public const FAAS_COLDSTART = 'faas.coldstart'; - - /** - * The AWS request ID as returned in the response headers `x-amz-request-id` or `x-amz-requestid`. - * - * @example 79b9da39-b7ae-508a-a6bc-864b2829c622 - * @example C9ER4AJX75574TDJ - */ - public const AWS_REQUEST_ID = 'aws.request_id'; - - /** - * The value of the `AttributesToGet` request parameter. - * - * @example lives - * @example id - */ - public const AWS_DYNAMODB_ATTRIBUTES_TO_GET = 'aws.dynamodb.attributes_to_get'; - - /** - * The value of the `ConsistentRead` request parameter. - */ - public const AWS_DYNAMODB_CONSISTENT_READ = 'aws.dynamodb.consistent_read'; - - /** - * The JSON-serialized value of each item in the `ConsumedCapacity` response field. - * - * @example { "CapacityUnits": number, "GlobalSecondaryIndexes": { "string" : { "CapacityUnits": number, "ReadCapacityUnits": number, "WriteCapacityUnits": number } }, "LocalSecondaryIndexes": { "string" : { "CapacityUnits": number, "ReadCapacityUnits": number, "WriteCapacityUnits": number } }, "ReadCapacityUnits": number, "Table": { "CapacityUnits": number, "ReadCapacityUnits": number, "WriteCapacityUnits": number }, "TableName": "string", "WriteCapacityUnits": number } - */ - public const AWS_DYNAMODB_CONSUMED_CAPACITY = 'aws.dynamodb.consumed_capacity'; - - /** - * The value of the `IndexName` request parameter. - * - * @example name_to_group - */ - public const AWS_DYNAMODB_INDEX_NAME = 'aws.dynamodb.index_name'; - - /** - * The JSON-serialized value of the `ItemCollectionMetrics` response field. - * - * @example { "string" : [ { "ItemCollectionKey": { "string" : { "B": blob, "BOOL": boolean, "BS": [ blob ], "L": [ "AttributeValue" ], "M": { "string" : "AttributeValue" }, "N": "string", "NS": [ "string" ], "NULL": boolean, "S": "string", "SS": [ "string" ] } }, "SizeEstimateRangeGB": [ number ] } ] } - */ - public const AWS_DYNAMODB_ITEM_COLLECTION_METRICS = 'aws.dynamodb.item_collection_metrics'; - - /** - * The value of the `Limit` request parameter. - * - * @example 10 - */ - public const AWS_DYNAMODB_LIMIT = 'aws.dynamodb.limit'; - - /** - * The value of the `ProjectionExpression` request parameter. - * - * @example Title - * @example Title, Price, Color - * @example Title, Description, RelatedItems, ProductReviews - */ - public const AWS_DYNAMODB_PROJECTION = 'aws.dynamodb.projection'; - - /** - * The value of the `ProvisionedThroughput.ReadCapacityUnits` request parameter. - * - * @example 1.0 - * @example 2.0 - */ - public const AWS_DYNAMODB_PROVISIONED_READ_CAPACITY = 'aws.dynamodb.provisioned_read_capacity'; - - /** - * The value of the `ProvisionedThroughput.WriteCapacityUnits` request parameter. - * - * @example 1.0 - * @example 2.0 - */ - public const AWS_DYNAMODB_PROVISIONED_WRITE_CAPACITY = 'aws.dynamodb.provisioned_write_capacity'; - - /** - * The value of the `Select` request parameter. - * - * @example ALL_ATTRIBUTES - * @example COUNT - */ - public const AWS_DYNAMODB_SELECT = 'aws.dynamodb.select'; - - /** - * The keys in the `RequestItems` object field. - * - * @example Users - * @example Cats - */ - public const AWS_DYNAMODB_TABLE_NAMES = 'aws.dynamodb.table_names'; - - /** - * The JSON-serialized value of each item of the `GlobalSecondaryIndexes` request field. - * - * @example { "IndexName": "string", "KeySchema": [ { "AttributeName": "string", "KeyType": "string" } ], "Projection": { "NonKeyAttributes": [ "string" ], "ProjectionType": "string" }, "ProvisionedThroughput": { "ReadCapacityUnits": number, "WriteCapacityUnits": number } } - */ - public const AWS_DYNAMODB_GLOBAL_SECONDARY_INDEXES = 'aws.dynamodb.global_secondary_indexes'; - - /** - * The JSON-serialized value of each item of the `LocalSecondaryIndexes` request field. - * - * @example { "IndexArn": "string", "IndexName": "string", "IndexSizeBytes": number, "ItemCount": number, "KeySchema": [ { "AttributeName": "string", "KeyType": "string" } ], "Projection": { "NonKeyAttributes": [ "string" ], "ProjectionType": "string" } } - */ - public const AWS_DYNAMODB_LOCAL_SECONDARY_INDEXES = 'aws.dynamodb.local_secondary_indexes'; - - /** - * The value of the `ExclusiveStartTableName` request parameter. - * - * @example Users - * @example CatsTable - */ - public const AWS_DYNAMODB_EXCLUSIVE_START_TABLE = 'aws.dynamodb.exclusive_start_table'; - - /** - * The the number of items in the `TableNames` response parameter. - * - * @example 20 - */ - public const AWS_DYNAMODB_TABLE_COUNT = 'aws.dynamodb.table_count'; - - /** - * The value of the `ScanIndexForward` request parameter. - */ - public const AWS_DYNAMODB_SCAN_FORWARD = 'aws.dynamodb.scan_forward'; - - /** - * The value of the `Count` response parameter. - * - * @example 10 - */ - public const AWS_DYNAMODB_COUNT = 'aws.dynamodb.count'; - - /** - * The value of the `ScannedCount` response parameter. - * - * @example 50 - */ - public const AWS_DYNAMODB_SCANNED_COUNT = 'aws.dynamodb.scanned_count'; - - /** - * The value of the `Segment` request parameter. - * - * @example 10 - */ - public const AWS_DYNAMODB_SEGMENT = 'aws.dynamodb.segment'; - - /** - * The value of the `TotalSegments` request parameter. - * - * @example 100 - */ - public const AWS_DYNAMODB_TOTAL_SEGMENTS = 'aws.dynamodb.total_segments'; - - /** - * The JSON-serialized value of each item in the `AttributeDefinitions` request field. - * - * @example { "AttributeName": "string", "AttributeType": "string" } - */ - public const AWS_DYNAMODB_ATTRIBUTE_DEFINITIONS = 'aws.dynamodb.attribute_definitions'; - - /** - * The JSON-serialized value of each item in the the `GlobalSecondaryIndexUpdates` request field. - * - * @example { "Create": { "IndexName": "string", "KeySchema": [ { "AttributeName": "string", "KeyType": "string" } ], "Projection": { "NonKeyAttributes": [ "string" ], "ProjectionType": "string" }, "ProvisionedThroughput": { "ReadCapacityUnits": number, "WriteCapacityUnits": number } } - */ - public const AWS_DYNAMODB_GLOBAL_SECONDARY_INDEX_UPDATES = 'aws.dynamodb.global_secondary_index_updates'; - - /** - * The S3 bucket name the request refers to. Corresponds to the `--bucket` parameter of the S3 API operations. - * - * The `bucket` attribute is applicable to all S3 operations that reference a bucket, i.e. that require the bucket name as a mandatory parameter. - * This applies to almost all S3 operations except `list-buckets`. - * - * @example some-bucket-name - */ - public const AWS_S3_BUCKET = 'aws.s3.bucket'; - - /** - * The source object (in the form `bucket`/`key`) for the copy operation. - * - * The `copy_source` attribute applies to S3 copy operations and corresponds to the `--copy-source` parameter - * of the copy-object operation within the S3 API. - * This applies in particular to the following operations:
      - *
    • copy-object
    • - *
    • upload-part-copy
    • - *
    - * - * @example someFile.yml - */ - public const AWS_S3_COPY_SOURCE = 'aws.s3.copy_source'; - - /** - * The delete request container that specifies the objects to be deleted. - * - * The `delete` attribute is only applicable to the delete-object operation. - * The `delete` attribute corresponds to the `--delete` parameter of the - * delete-objects operation within the S3 API. - * - * @example Objects=[{Key=string,VersionId=string},{Key=string,VersionId=string}],Quiet=boolean - */ - public const AWS_S3_DELETE = 'aws.s3.delete'; - - /** - * The S3 object key the request refers to. Corresponds to the `--key` parameter of the S3 API operations. - * - * The `key` attribute is applicable to all object-related S3 operations, i.e. that require the object key as a mandatory parameter. - * This applies in particular to the following operations:
      - *
    • copy-object
    • - *
    • delete-object
    • - *
    • get-object
    • - *
    • head-object
    • - *
    • put-object
    • - *
    • restore-object
    • - *
    • select-object-content
    • - *
    • abort-multipart-upload
    • - *
    • complete-multipart-upload
    • - *
    • create-multipart-upload
    • - *
    • list-parts
    • - *
    • upload-part
    • - *
    • upload-part-copy
    • - *
    - * - * @example someFile.yml - */ - public const AWS_S3_KEY = 'aws.s3.key'; - - /** - * The part number of the part being uploaded in a multipart-upload operation. This is a positive integer between 1 and 10,000. - * - * The `part_number` attribute is only applicable to the upload-part - * and upload-part-copy operations. - * The `part_number` attribute corresponds to the `--part-number` parameter of the - * upload-part operation within the S3 API. - * - * @example 3456 - */ - public const AWS_S3_PART_NUMBER = 'aws.s3.part_number'; - - /** - * Upload ID that identifies the multipart upload. - * - * The `upload_id` attribute applies to S3 multipart-upload operations and corresponds to the `--upload-id` parameter - * of the S3 API multipart operations. - * This applies in particular to the following operations:
      - *
    • abort-multipart-upload
    • - *
    • complete-multipart-upload
    • - *
    • list-parts
    • - *
    • upload-part
    • - *
    • upload-part-copy
    • - *
    - * - * @example dfRtDYWFbkRONycy.Yxwh66Yjlx.cph0gtNBtJ - */ - public const AWS_S3_UPLOAD_ID = 'aws.s3.upload_id'; - - /** - * The GraphQL document being executed. - * - * The value may be sanitized to exclude sensitive information. - * - * @example query findBookById { bookById(id: ?) { name } } - */ - public const GRAPHQL_DOCUMENT = 'graphql.document'; - - /** - * The name of the operation being executed. - * - * @example findBookById - */ - public const GRAPHQL_OPERATION_NAME = 'graphql.operation.name'; - - /** - * The type of the operation being executed. - * - * @example query - * @example mutation - * @example subscription - */ - public const GRAPHQL_OPERATION_TYPE = 'graphql.operation.type'; - - /** - * A boolean that is true if the publish message destination is anonymous (could be unnamed or have auto-generated name). - */ - public const MESSAGING_DESTINATION_PUBLISH_ANONYMOUS = 'messaging.destination_publish.anonymous'; - - /** - * The name of the original destination the message was published to. - * - * The name SHOULD uniquely identify a specific queue, topic, or other entity within the broker. If - * the broker does not have such notion, the original destination name SHOULD uniquely identify the broker. - * - * @example MyQueue - * @example MyTopic - */ - public const MESSAGING_DESTINATION_PUBLISH_NAME = 'messaging.destination_publish.name'; - - /** - * RabbitMQ message routing key. - * - * @example myKey - */ - public const MESSAGING_RABBITMQ_DESTINATION_ROUTING_KEY = 'messaging.rabbitmq.destination.routing_key'; - - /** - * Name of the Kafka Consumer Group that is handling the message. Only applies to consumers, not producers. - * - * @example my-group - */ - public const MESSAGING_KAFKA_CONSUMER_GROUP = 'messaging.kafka.consumer.group'; - - /** - * Partition the message is sent to. - * - * @example 2 - */ - public const MESSAGING_KAFKA_DESTINATION_PARTITION = 'messaging.kafka.destination.partition'; - - /** - * Message keys in Kafka are used for grouping alike messages to ensure they're processed on the same partition. They differ from `messaging.message.id` in that they're not unique. If the key is `null`, the attribute MUST NOT be set. - * - * If the key type is not string, it's string representation has to be supplied for the attribute. If the key has no unambiguous, canonical string form, don't include its value. - * - * @example myKey - */ - public const MESSAGING_KAFKA_MESSAGE_KEY = 'messaging.kafka.message.key'; - - /** - * The offset of a record in the corresponding Kafka partition. - * - * @example 42 - */ - public const MESSAGING_KAFKA_MESSAGE_OFFSET = 'messaging.kafka.message.offset'; - - /** - * A boolean that is true if the message is a tombstone. - */ - public const MESSAGING_KAFKA_MESSAGE_TOMBSTONE = 'messaging.kafka.message.tombstone'; - - /** - * Name of the RocketMQ producer/consumer group that is handling the message. The client type is identified by the SpanKind. - * - * @example myConsumerGroup - */ - public const MESSAGING_ROCKETMQ_CLIENT_GROUP = 'messaging.rocketmq.client_group'; - - /** - * Model of message consumption. This only applies to consumer spans. - */ - public const MESSAGING_ROCKETMQ_CONSUMPTION_MODEL = 'messaging.rocketmq.consumption_model'; - - /** - * The delay time level for delay message, which determines the message delay time. - * - * @example 3 - */ - public const MESSAGING_ROCKETMQ_MESSAGE_DELAY_TIME_LEVEL = 'messaging.rocketmq.message.delay_time_level'; - - /** - * The timestamp in milliseconds that the delay message is expected to be delivered to consumer. - * - * @example 1665987217045 - */ - public const MESSAGING_ROCKETMQ_MESSAGE_DELIVERY_TIMESTAMP = 'messaging.rocketmq.message.delivery_timestamp'; - - /** - * It is essential for FIFO message. Messages that belong to the same message group are always processed one by one within the same consumer group. - * - * @example myMessageGroup - */ - public const MESSAGING_ROCKETMQ_MESSAGE_GROUP = 'messaging.rocketmq.message.group'; - - /** - * Key(s) of message, another way to mark message besides message id. - * - * @example keyA - * @example keyB - */ - public const MESSAGING_ROCKETMQ_MESSAGE_KEYS = 'messaging.rocketmq.message.keys'; - - /** - * The secondary classifier of message besides topic. - * - * @example tagA - */ - public const MESSAGING_ROCKETMQ_MESSAGE_TAG = 'messaging.rocketmq.message.tag'; - - /** - * Type of message. - */ - public const MESSAGING_ROCKETMQ_MESSAGE_TYPE = 'messaging.rocketmq.message.type'; - - /** - * Namespace of RocketMQ resources, resources in different namespaces are individual. - * - * @example myNamespace - */ - public const MESSAGING_ROCKETMQ_NAMESPACE = 'messaging.rocketmq.namespace'; - - /** - * The numeric status code of the gRPC request. - */ - public const RPC_GRPC_STATUS_CODE = 'rpc.grpc.status_code'; - - /** - * `error.code` property of response if it is an error response. - * - * @example -32700 - * @example 100 - */ - public const RPC_JSONRPC_ERROR_CODE = 'rpc.jsonrpc.error_code'; - - /** - * `error.message` property of response if it is an error response. - * - * @example Parse error - * @example User already exists - */ - public const RPC_JSONRPC_ERROR_MESSAGE = 'rpc.jsonrpc.error_message'; - - /** - * `id` property of request or response. Since protocol allows id to be int, string, `null` or missing (for notifications), value is expected to be cast to string for simplicity. Use empty string in case of `null` value. Omit entirely if this is a notification. - * - * @example 10 - * @example request-7 - */ - public const RPC_JSONRPC_REQUEST_ID = 'rpc.jsonrpc.request_id'; - - /** - * Protocol version as in `jsonrpc` property of request/response. Since JSON-RPC 1.0 does not specify this, the value can be omitted. - * - * @example 2.0 - * @example 1.0 - */ - public const RPC_JSONRPC_VERSION = 'rpc.jsonrpc.version'; - - /** - * Compressed size of the message in bytes. - */ - public const MESSAGE_COMPRESSED_SIZE = 'message.compressed_size'; - - /** - * MUST be calculated as two different counters starting from `1` one for sent messages and one for received message. - * - * This way we guarantee that the values will be consistent between different implementations. - */ - public const MESSAGE_ID = 'message.id'; - - /** - * Whether this is a received or sent message. - */ - public const MESSAGE_TYPE = 'message.type'; - - /** - * Uncompressed size of the message in bytes. - */ - public const MESSAGE_UNCOMPRESSED_SIZE = 'message.uncompressed_size'; - - /** - * The error codes of the Connect request. Error codes are always string values. - */ - public const RPC_CONNECT_RPC_ERROR_CODE = 'rpc.connect_rpc.error_code'; - - /** - * SHOULD be set to true if the exception event is recorded at a point where it is known that the exception is escaping the scope of the span. - * - * An exception is considered to have escaped (or left) the scope of a span, - * if that span is ended while the exception is still logically "in flight". - * This may be actually "in flight" in some languages (e.g. if the exception - * is passed to a Context manager's `__exit__` method in Python) but will - * usually be caught at the point of recording the exception in most languages.It is usually not possible to determine at the point where an exception is thrown - * whether it will escape the scope of a span. - * However, it is trivial to know that an exception - * will escape, if one checks for an active exception just before ending the span, - * as done in the example above.It follows that an exception may still escape the scope of the span - * even if the `exception.escaped` attribute was not set or set to false, - * since the event might have been recorded at a time where it was not - * clear whether the exception will escape. - */ - public const EXCEPTION_ESCAPED = 'exception.escaped'; - - /** - * The URI fragment component. - * - * @example SemConv - */ - public const URL_FRAGMENT = 'url.fragment'; - - /** - * @deprecated - */ - public const FAAS_EXECUTION = 'faas.execution'; - - /** - * @deprecated - */ - public const HTTP_HOST = 'http.host'; - - /** - * @deprecated - */ - public const HTTP_REQUEST_CONTENT_LENGTH_UNCOMPRESSED = 'http.request_content_length_uncompressed'; - - /** - * @deprecated - */ - public const HTTP_RESPONSE_CONTENT_LENGTH_UNCOMPRESSED = 'http.response_content_length_uncompressed'; - - /** - * @deprecated - */ - public const HTTP_RETRY_COUNT = 'http.retry_count'; - - /** - * @deprecated - */ - public const HTTP_SERVER_NAME = 'http.server_name'; - - /** - * @deprecated - */ - public const HTTP_USER_AGENT = 'http.user_agent'; - - /** - * @deprecated - */ - public const MESSAGING_CONVERSATION_ID = 'messaging.conversation_id'; - - /** - * @deprecated - */ - public const MESSAGING_DESTINATION = 'messaging.destination'; - - /** - * @deprecated - */ - public const MESSAGING_KAFKA_PARTITION = 'messaging.kafka.partition'; - - /** - * @deprecated - */ - public const MESSAGING_KAFKA_TOMBSTONE = 'messaging.kafka.tombstone'; - - /** - * @deprecated - */ - public const MESSAGING_PROTOCOL = 'messaging.protocol'; - - /** - * @deprecated - */ - public const MESSAGING_PROTOCOL_VERSION = 'messaging.protocol_version'; - - /** - * @deprecated - */ - public const MESSAGING_RABBITMQ_ROUTING_KEY = 'messaging.rabbitmq.routing_key'; - - /** - * @deprecated - */ - public const MESSAGING_TEMP_DESTINATION = 'messaging.temp_destination'; - - /** - * @deprecated - */ - public const MESSAGING_URL = 'messaging.url'; - - /** - * @deprecated - */ - public const NET_HOST_IP = 'net.host.ip'; - - /** - * @deprecated - */ - public const NET_PEER_IP = 'net.peer.ip'; - - /** - * @deprecated - */ - public const HTTP_CLIENT_IP = 'http.client_ip'; - - /** - * @deprecated - */ - public const HTTP_FLAVOR = 'http.flavor'; - - /** - * @deprecated - */ - public const MESSAGING_CONSUMER_ID = 'messaging.consumer.id'; - - /** - * @deprecated - */ - public const MESSAGING_DESTINATION_KIND = 'messaging.destination.kind'; - - /** - * @deprecated - */ - public const MESSAGING_KAFKA_CLIENT_ID = 'messaging.kafka.client_id'; - - /** - * @deprecated - */ - public const MESSAGING_KAFKA_SOURCE_PARTITION = 'messaging.kafka.source.partition'; - - /** - * @deprecated - */ - public const MESSAGING_MESSAGE_PAYLOAD_COMPRESSED_SIZE_BYTES = 'messaging.message.payload_compressed_size_bytes'; - - /** - * @deprecated - */ - public const MESSAGING_MESSAGE_PAYLOAD_SIZE_BYTES = 'messaging.message.payload_size_bytes'; - - /** - * @deprecated - */ - public const MESSAGING_ROCKETMQ_CLIENT_ID = 'messaging.rocketmq.client_id'; - - /** - * @deprecated - */ - public const MESSAGING_SOURCE_ANONYMOUS = 'messaging.source.anonymous'; - - /** - * @deprecated - */ - public const MESSAGING_SOURCE_KIND = 'messaging.source.kind'; - - /** - * @deprecated - */ - public const MESSAGING_SOURCE_NAME = 'messaging.source.name'; - - /** - * @deprecated - */ - public const MESSAGING_SOURCE_TEMPLATE = 'messaging.source.template'; - - /** - * @deprecated - */ - public const MESSAGING_SOURCE_TEMPORARY = 'messaging.source.temporary'; - - /** - * @deprecated - */ - public const NET_APP_PROTOCOL_NAME = 'net.app.protocol.name'; - - /** - * @deprecated - */ - public const NET_APP_PROTOCOL_VERSION = 'net.app.protocol.version'; - - /** - * @deprecated - */ - public const NET_HOST_CARRIER_ICC = 'net.host.carrier.icc'; - - /** - * @deprecated - */ - public const NET_HOST_CARRIER_MCC = 'net.host.carrier.mcc'; - - /** - * @deprecated - */ - public const NET_HOST_CARRIER_MNC = 'net.host.carrier.mnc'; - - /** - * @deprecated - */ - public const NET_HOST_CARRIER_NAME = 'net.host.carrier.name'; - - /** - * @deprecated - */ - public const NET_HOST_CONNECTION_SUBTYPE = 'net.host.connection.subtype'; - - /** - * @deprecated - */ - public const NET_HOST_CONNECTION_TYPE = 'net.host.connection.type'; -} diff --git a/vendor/open-telemetry/sem-conv/composer.json b/vendor/open-telemetry/sem-conv/composer.json deleted file mode 100644 index a601ca5dc..000000000 --- a/vendor/open-telemetry/sem-conv/composer.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "name": "open-telemetry/sem-conv", - "description": "Semantic conventions for OpenTelemetry PHP.", - "keywords": ["opentelemetry", "otel", "metrics", "tracing", "logging", "apm", "semconv", "semantic conventions"], - "type": "library", - "support": { - "issues": "https://github.com/open-telemetry/opentelemetry-php/issues", - "source": "https://github.com/open-telemetry/opentelemetry-php", - "docs": "https://opentelemetry.io/docs/php", - "chat": "https://app.slack.com/client/T08PSQ7BQ/C01NFPCV44V" - }, - "license": "Apache-2.0", - "authors": [ - { - "name": "opentelemetry-php contributors", - "homepage": "https://github.com/open-telemetry/opentelemetry-php/graphs/contributors" - } - ], - "require": { - "php": "^7.4 || ^8.0" - }, - "autoload": { - "psr-4": { - "OpenTelemetry\\SemConv\\": "." - } - }, - "extra": { - "branch-alias": { - "dev-main": "1.x-dev" - } - } -} diff --git a/vendor/php-http/discovery/.php-cs-fixer.php b/vendor/php-http/discovery/.php-cs-fixer.php deleted file mode 100644 index 83809c25d..000000000 --- a/vendor/php-http/discovery/.php-cs-fixer.php +++ /dev/null @@ -1,16 +0,0 @@ -in(__DIR__.'/src') - ->name('*.php') -; - -$config = (new PhpCsFixer\Config()) - ->setRiskyAllowed(true) - ->setRules([ - '@Symfony' => true, - ]) - ->setFinder($finder) -; - -return $config; diff --git a/vendor/php-http/discovery/CHANGELOG.md b/vendor/php-http/discovery/CHANGELOG.md deleted file mode 100644 index 169f7f40f..000000000 --- a/vendor/php-http/discovery/CHANGELOG.md +++ /dev/null @@ -1,374 +0,0 @@ -# Change Log - -## 1.19.1 - 2023-07-11 - -- [#250](https://github.com/php-http/discovery/pull/250) - Fix: Buzz client instantiation using deprecated Message Factory Discovery, use PSR-17 factory discovery instead. - -## 1.19.0 - 2023-06-19 - -- [#249](https://github.com/php-http/discovery/pull/249) - Have composer plugin correctly install Symfony http client when nothing explicitly requires psr 18 resp. httplug. -- [#241](https://github.com/php-http/discovery/pull/241) - Support discovering PSR-17 factories of `httpsoft/http-message` package - -## 1.18.1 - 2023-05-17 - -- [#242](https://github.com/php-http/discovery/pull/242) - Better exception message when no legacy php-http message factories can be built. Also needs php-http/message-factory package and they are deprecated in favor of PSR-17 anyways. - -## 1.18.0 - 2023-05-03 - -- [#235](https://github.com/php-http/discovery/pull/235) - Deprecate HttpClientDiscovery, use Psr18ClientDiscovery instead -- [#238](https://github.com/php-http/discovery/pull/238) - Skip requiring php-http/message-factory when installing symfony/http-client 6.3+ -- [#239](https://github.com/php-http/discovery/pull/239) - Skip auto-installing when the root package's extra.discovery is enough - -## 1.17.0 - 2023-04-26 - -- [#230](https://github.com/php-http/discovery/pull/230) - Add Psr18Client to make it straightforward to use PSR-18 -- [#232](https://github.com/php-http/discovery/pull/232) - Allow pinning the preferred implementations in composer.json -- [#233](https://github.com/php-http/discovery/pull/233) - Fix Psr17Factory::createServerRequestFromGlobals() when uploaded files have been moved - -## 1.16.0 - 2023-04-26 - -- [#225](https://github.com/php-http/discovery/pull/225) - Remove support for the abandoned Zend Diactoros which has been replaced with Laminas Diactoros; marked the zend library as conflict in composer.json to avoid confusion -- [#227](https://github.com/php-http/discovery/pull/227) - Fix handling requests with nested files - -## 1.15.3 - 2023-03-31 - -- [#224](https://github.com/php-http/discovery/pull/224) - Fix regression with Magento classloader - -## 1.15.2 - 2023-02-11 - -- [#219](https://github.com/php-http/discovery/pull/219) - Fix handling of replaced packages - -## 1.15.1 - 2023-02-10 - -- [#214](https://github.com/php-http/discovery/pull/214) - Fix resolving deps for psr/http-message-implementation -- [#216](https://github.com/php-http/discovery/pull/216) - Fix keeping platform requirements when rebooting composer -- [#217](https://github.com/php-http/discovery/pull/217) - Set extra.plugin-optional composer flag - -## 1.15.0 - 2023-02-09 - -- [#209](https://github.com/php-http/discovery/pull/209) - Add generic `Psr17Factory` class -- [#208](https://github.com/php-http/discovery/pull/208) - Add composer plugin to auto-install missing implementations. - When libraries require an http implementation but no packages providing that implementation is installed in the application, the plugin will automatically install one. - This is only done for libraries that directly require php-http/discovery to avoid unexpected dependency installation. - -## 1.14.3 - 2022-07-11 - -- [#207](https://github.com/php-http/discovery/pull/207) - Updates Exception to extend Throwable solving static analysis errors for consumers - -## 1.14.2 - 2022-05-25 - -- [#202](https://github.com/php-http/discovery/pull/202) - Avoid error when the Symfony PSR-18 client exists but its dependencies are not installed - -## 1.14.1 - 2021-09-18 - -- [#199](https://github.com/php-http/discovery/pull/199) - Fixes message factory discovery for `laminas-diactoros ^2.7` - -## 1.14.0 - 2021-06-21 - -- Deprecate puli as it has been unmaintained for a long time and is not compatible with composer 2 https://github.com/php-http/discovery/pull/195 - -## 1.13.0 - 2020-11-27 - -- Support discovering PSR-17 factories of `slim/psr7` package https://github.com/php-http/discovery/pull/192 - -## 1.12.0 - 2020-09-22 - -- Support discovering HttpClient of `php-http/guzzle7-adapter` https://github.com/php-http/discovery/pull/189 - -## 1.11.0 - 2020-09-22 - -- Use correct method name to find Uri Factory in PSR17 https://github.com/php-http/discovery/pull/181 - -## 1.10.0 - 2020-09-04 - -- Discover PSR-18 implementation of phalcon - -## 1.9.1 - 2020-07-13 - -### Fixed - -- Support PHP 7.4 and 8.0 - -## 1.9.0 - 2020-07-02 - -### Added - -- Support discovering PSR-18 factories of `guzzlehttp/guzzle` 7+ - -## 1.8.0 - 2020-06-14 - -### Added - -- Support discovering PSR-17 factories of `guzzlehttp/psr7` package -- Support discovering PSR-17 factories of `laminas/laminas-diactoros` package -- `ClassDiscovery::getStrategies()` to retrieve the list of current strategies. - -### Fixed - -- Ignore exception during discovery when Symfony HttplugClient checks if HTTPlug is available. - -## 1.7.4 - 2020-01-03 - -### Fixed - -- Improve conditions on Symfony's async HTTPlug client. - -## 1.7.3 - 2019-12-27 - -### Fixed - -- Enough conditions to only use Symfony HTTP client if all needed components are available. - -## 1.7.2 - 2019-12-27 - -### Fixed - -- Allow a condition to specify an interface and not just classes. - -## 1.7.1 - 2019-12-26 - -### Fixed - -- Better conditions to see if Symfony's HTTP clients are available. - -## 1.7.0 - 2019-06-30 - -### Added - -- Dropped support for PHP < 7.1 -- Support for `symfony/http-client` - -## 1.6.1 - 2019-02-23 - -### Fixed - -- MockClientStrategy also provides the mock client when requesting an async client - -## 1.6.0 - 2019-01-23 - -### Added - -- Support for PSR-17 factories -- Support for PSR-18 clients - -## 1.5.2 - 2018-12-31 - -Corrected mistakes in 1.5.1. The different between 1.5.2 and 1.5.0 is that -we removed some PHP 7 code. - -https://github.com/php-http/discovery/compare/1.5.0...1.5.2 - -## 1.5.1 - 2018-12-31 - -This version added new features by mistake. These are reverted in 1.5.2. - -Do not use 1.5.1. - -### Fixed - -- Removed PHP 7 code - -## 1.5.0 - 2018-12-30 - -### Added - -- Support for `nyholm/psr7` version 1.0. -- `ClassDiscovery::safeClassExists` which will help Magento users. -- Support for HTTPlug 2.0 -- Support for Buzz 1.0 -- Better error message when nothing found by introducing a new exception: `NoCandidateFoundException`. - -### Fixed - -- Fixed condition evaluation, it should stop after first invalid condition. - -## 1.4.0 - 2018-02-06 - -### Added - -- Discovery support for nyholm/psr7 - -## 1.3.0 - 2017-08-03 - -### Added - -- Discovery support for CakePHP adapter -- Discovery support for Zend adapter -- Discovery support for Artax adapter - -## 1.2.1 - 2017-03-02 - -### Fixed - -- Fixed minor issue with `MockClientStrategy`, also added more tests. - -## 1.2.0 - 2017-02-12 - -### Added - -- MockClientStrategy class. - -## 1.1.1 - 2016-11-27 - -### Changed - -- Made exception messages clearer. `StrategyUnavailableException` is no longer the previous exception to `DiscoveryFailedException`. -- `CommonClassesStrategy` is using `self` instead of `static`. Using `static` makes no sense when `CommonClassesStrategy` is final. - -## 1.1.0 - 2016-10-20 - -### Added - -- Discovery support for Slim Framework factories - -## 1.0.0 - 2016-07-18 - -### Added - -- Added back `Http\Discovery\NotFoundException` to preserve BC with 0.8 version. You may upgrade from 0.8.x and 0.9.x to 1.0.0 without any BC breaks. -- Added interface `Http\Discovery\Exception` which is implemented by all our exceptions - -### Changed - -- Puli strategy renamed to Puli Beta strategy to prevent incompatibility with a future Puli stable - -### Deprecated - -- For BC reasons, the old `Http\Discovery\NotFoundException` (extending the new exception) will be thrown until version 2.0 - - -## 0.9.1 - 2016-06-28 - -### Changed - -- Dropping PHP 5.4 support because we use the ::class constant. - - -## 0.9.0 - 2016-06-25 - -### Added - -- Discovery strategies to find classes - -### Changed - -- [Puli](http://puli.io) made optional -- Improved exceptions -- **[BC] `NotFoundException` moved to `Http\Discovery\Exception\NotFoundException`** - - -## 0.8.0 - 2016-02-11 - -### Changed - -- Puli composer plugin must be installed separately - - -## 0.7.0 - 2016-01-15 - -### Added - -- Temporary puli.phar (Beta 10) executable - -### Changed - -- Updated HTTPlug dependencies -- Updated Puli dependencies -- Local configuration to make tests passing - -### Removed - -- Puli CLI dependency - - -## 0.6.4 - 2016-01-07 - -### Fixed - -- Puli [not working](https://twitter.com/PuliPHP/status/685132540588507137) with the latest json-schema - - -## 0.6.3 - 2016-01-04 - -### Changed - -- Adjust Puli dependencies - - -## 0.6.2 - 2016-01-04 - -### Changed - -- Make Puli CLI a requirement - - -## 0.6.1 - 2016-01-03 - -### Changed - -- More flexible Puli requirement - - -## 0.6.0 - 2015-12-30 - -### Changed - -- Use [Puli](http://puli.io) for discovery -- Improved exception messages - - -## 0.5.0 - 2015-12-25 - -### Changed - -- Updated message factory dependency (php-http/message) - - -## 0.4.0 - 2015-12-17 - -### Added - -- Array condition evaluation in the Class Discovery - -### Removed - -- Message factories (moved to php-http/utils) - - -## 0.3.0 - 2015-11-18 - -### Added - -- HTTP Async Client Discovery -- Stream factories - -### Changed - -- Discoveries and Factories are final -- Message and Uri factories have the type in their names -- Diactoros Message factory uses Stream factory internally - -### Fixed - -- Improved docblocks for API documentation generation - - -## 0.2.0 - 2015-10-31 - -### Changed - -- Renamed AdapterDiscovery to ClientDiscovery - - -## 0.1.1 - 2015-06-13 - -### Fixed - -- Bad HTTP Adapter class name for Guzzle 5 - - -## 0.1.0 - 2015-06-12 - -### Added - -- Initial release diff --git a/vendor/php-http/discovery/LICENSE b/vendor/php-http/discovery/LICENSE deleted file mode 100644 index 4558d6f06..000000000 --- a/vendor/php-http/discovery/LICENSE +++ /dev/null @@ -1,19 +0,0 @@ -Copyright (c) 2015-2016 PHP HTTP Team - -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/php-http/discovery/README.md b/vendor/php-http/discovery/README.md deleted file mode 100644 index ef7e4991b..000000000 --- a/vendor/php-http/discovery/README.md +++ /dev/null @@ -1,122 +0,0 @@ -# HTTPlug Discovery - -[![Latest Version](https://img.shields.io/github/release/php-http/discovery.svg?style=flat-square)](https://github.com/php-http/discovery/releases) -[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE) -[![Tests](https://github.com/php-http/discovery/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/php-http/discovery/actions/workflows/ci.yml?query=branch%3Amaster) -[![Code Coverage](https://img.shields.io/scrutinizer/coverage/g/php-http/discovery.svg?style=flat-square)](https://scrutinizer-ci.com/g/php-http/discovery) -[![Quality Score](https://img.shields.io/scrutinizer/g/php-http/discovery.svg?style=flat-square)](https://scrutinizer-ci.com/g/php-http/discovery) -[![Total Downloads](https://img.shields.io/packagist/dt/php-http/discovery.svg?style=flat-square)](https://packagist.org/packages/php-http/discovery) - -**This library provides auto-discovery and auto-installation of well-known PSR-17, PSR-18 and HTTPlug implementations.** - - -## Install - -Via Composer - -``` bash -composer require php-http/discovery -``` - - -## Usage as a library author - -Please see the [official documentation](http://php-http.readthedocs.org/en/latest/discovery.html). - -If your library/SDK needs a PSR-18 client, here is a quick example. - -First, you need to install a PSR-18 client and a PSR-17 factory implementations. -This should be done only for dev dependencies as you don't want to force a -specific implementation on your users: - -```bash -composer require --dev symfony/http-client -composer require --dev nyholm/psr7 -``` - -Then, you can disable the Composer plugin embeded in `php-http/discovery` -because you just installed the dev dependencies you need for testing: - -```bash -composer config allow-plugins.php-http/discovery false -``` - -Finally, you need to require `php-http/discovery` and the generic implementations -that your library is going to need: - -```bash -composer require 'php-http/discovery:^1.17' -composer require 'psr/http-client-implementation:*' -composer require 'psr/http-factory-implementation:*' -``` - -Now, you're ready to make an HTTP request: - -```php -use Http\Discovery\Psr18Client; - -$client = new Psr18Client(); - -$request = $client->createRequest('GET', 'https://example.com'); -$response = $client->sendRequest($request); -``` - -Internally, this code will use whatever PSR-7, PSR-17 and PSR-18 implementations -that your users have installed. - - -## Usage as a library user - -If you use a library/SDK that requires `php-http/discovery`, you can configure -the auto-discovery mechanism to use a specific implementation when many are -available in your project. - -For example, if you have both `nyholm/psr7` and `guzzlehttp/guzzle` in your -project, you can tell `php-http/discovery` to use `guzzlehttp/guzzle` instead of -`nyholm/psr7` by running the following command: - -```bash -composer config extra.discovery.psr/http-factory-implementation GuzzleHttp\\Psr7\\HttpFactory -``` - -This will update your `composer.json` file to add the following configuration: - -```json -{ - "extra": { - "discovery": { - "psr/http-factory-implementation": "GuzzleHttp\\Psr7\\HttpFactory" - } - } -} -``` - -Don't forget to run `composer install` to apply the changes, and ensure that -the composer plugin is enabled: - -```bash -composer config allow-plugins.php-http/discovery true -composer install -``` - - -## Testing - -``` bash -composer test -``` - - -## Contributing - -Please see our [contributing guide](http://docs.php-http.org/en/latest/development/contributing.html). - - -## Security - -If you discover any security related issues, please contact us at [security@php-http.org](mailto:security@php-http.org). - - -## License - -The MIT License (MIT). Please see [License File](LICENSE) for more information. diff --git a/vendor/php-http/discovery/composer.json b/vendor/php-http/discovery/composer.json deleted file mode 100644 index d38ab83b3..000000000 --- a/vendor/php-http/discovery/composer.json +++ /dev/null @@ -1,63 +0,0 @@ -{ - "name": "php-http/discovery", - "description": "Finds and installs PSR-7, PSR-17, PSR-18 and HTTPlug implementations", - "type": "composer-plugin", - "license": "MIT", - "keywords": ["http", "discovery", "client", "adapter", "message", "factory", "psr7", "psr17"], - "homepage": "http://php-http.org", - "authors": [ - { - "name": "Márk Sági-Kazár", - "email": "mark.sagikazar@gmail.com" - } - ], - "provide": { - "php-http/async-client-implementation": "*", - "php-http/client-implementation": "*", - "psr/http-client-implementation": "*", - "psr/http-factory-implementation": "*", - "psr/http-message-implementation": "*" - }, - "require": { - "php": "^7.1 || ^8.0", - "composer-plugin-api": "^1.0|^2.0" - }, - "require-dev": { - "composer/composer": "^1.0.2|^2.0", - "graham-campbell/phpspec-skip-example-extension": "^5.0", - "php-http/httplug": "^1.0 || ^2.0", - "php-http/message-factory": "^1.0", - "phpspec/phpspec": "^5.1 || ^6.1 || ^7.3", - "symfony/phpunit-bridge": "^6.2" - }, - "autoload": { - "psr-4": { - "Http\\Discovery\\": "src/" - }, - "exclude-from-classmap": [ - "src/Composer/Plugin.php" - ] - }, - "autoload-dev": { - "psr-4": { - "spec\\Http\\Discovery\\": "spec/" - } - }, - "scripts": { - "test": [ - "vendor/bin/phpspec run", - "vendor/bin/simple-phpunit --group NothingInstalled" - ], - "test-ci": "vendor/bin/phpspec run -c phpspec.ci.yml" - }, - "extra": { - "class": "Http\\Discovery\\Composer\\Plugin", - "plugin-optional": true - }, - "conflict": { - "nyholm/psr7": "<1.0", - "zendframework/zend-diactoros": "*" - }, - "prefer-stable": true, - "minimum-stability": "beta" -} diff --git a/vendor/php-http/discovery/src/ClassDiscovery.php b/vendor/php-http/discovery/src/ClassDiscovery.php deleted file mode 100644 index 5ea469797..000000000 --- a/vendor/php-http/discovery/src/ClassDiscovery.php +++ /dev/null @@ -1,255 +0,0 @@ - - * @author Márk Sági-Kazár - * @author Tobias Nyholm - */ -abstract class ClassDiscovery -{ - /** - * A list of strategies to find classes. - * - * @var DiscoveryStrategy[] - */ - private static $strategies = [ - Strategy\GeneratedDiscoveryStrategy::class, - Strategy\CommonClassesStrategy::class, - Strategy\CommonPsr17ClassesStrategy::class, - Strategy\PuliBetaStrategy::class, - ]; - - private static $deprecatedStrategies = [ - Strategy\PuliBetaStrategy::class => true, - ]; - - /** - * Discovery cache to make the second time we use discovery faster. - * - * @var array - */ - private static $cache = []; - - /** - * Finds a class. - * - * @param string $type - * - * @return string|\Closure - * - * @throws DiscoveryFailedException - */ - protected static function findOneByType($type) - { - // Look in the cache - if (null !== ($class = self::getFromCache($type))) { - return $class; - } - - static $skipStrategy; - $skipStrategy ?? $skipStrategy = self::safeClassExists(Strategy\GeneratedDiscoveryStrategy::class) ? false : Strategy\GeneratedDiscoveryStrategy::class; - - $exceptions = []; - foreach (self::$strategies as $strategy) { - if ($skipStrategy === $strategy) { - continue; - } - - try { - $candidates = $strategy::getCandidates($type); - } catch (StrategyUnavailableException $e) { - if (!isset(self::$deprecatedStrategies[$strategy])) { - $exceptions[] = $e; - } - - continue; - } - - foreach ($candidates as $candidate) { - if (isset($candidate['condition'])) { - if (!self::evaluateCondition($candidate['condition'])) { - continue; - } - } - - // save the result for later use - self::storeInCache($type, $candidate); - - return $candidate['class']; - } - - $exceptions[] = new NoCandidateFoundException($strategy, $candidates); - } - - throw DiscoveryFailedException::create($exceptions); - } - - /** - * Get a value from cache. - * - * @param string $type - * - * @return string|null - */ - private static function getFromCache($type) - { - if (!isset(self::$cache[$type])) { - return; - } - - $candidate = self::$cache[$type]; - if (isset($candidate['condition'])) { - if (!self::evaluateCondition($candidate['condition'])) { - return; - } - } - - return $candidate['class']; - } - - /** - * Store a value in cache. - * - * @param string $type - * @param string $class - */ - private static function storeInCache($type, $class) - { - self::$cache[$type] = $class; - } - - /** - * Set new strategies and clear the cache. - * - * @param string[] $strategies list of fully qualified class names that implement DiscoveryStrategy - */ - public static function setStrategies(array $strategies) - { - self::$strategies = $strategies; - self::clearCache(); - } - - /** - * Returns the currently configured discovery strategies as fully qualified class names. - * - * @return string[] - */ - public static function getStrategies(): iterable - { - return self::$strategies; - } - - /** - * Append a strategy at the end of the strategy queue. - * - * @param string $strategy Fully qualified class name of a DiscoveryStrategy - */ - public static function appendStrategy($strategy) - { - self::$strategies[] = $strategy; - self::clearCache(); - } - - /** - * Prepend a strategy at the beginning of the strategy queue. - * - * @param string $strategy Fully qualified class name to a DiscoveryStrategy - */ - public static function prependStrategy($strategy) - { - array_unshift(self::$strategies, $strategy); - self::clearCache(); - } - - public static function clearCache() - { - self::$cache = []; - } - - /** - * Evaluates conditions to boolean. - * - * @return bool - */ - protected static function evaluateCondition($condition) - { - if (is_string($condition)) { - // Should be extended for functions, extensions??? - return self::safeClassExists($condition); - } - if (is_callable($condition)) { - return (bool) $condition(); - } - if (is_bool($condition)) { - return $condition; - } - if (is_array($condition)) { - foreach ($condition as $c) { - if (false === static::evaluateCondition($c)) { - // Immediately stop execution if the condition is false - return false; - } - } - - return true; - } - - return false; - } - - /** - * Get an instance of the $class. - * - * @param string|\Closure $class a FQCN of a class or a closure that instantiate the class - * - * @return object - * - * @throws ClassInstantiationFailedException - */ - protected static function instantiateClass($class) - { - try { - if (is_string($class)) { - return new $class(); - } - - if (is_callable($class)) { - return $class(); - } - } catch (\Exception $e) { - throw new ClassInstantiationFailedException('Unexpected exception when instantiating class.', 0, $e); - } - - throw new ClassInstantiationFailedException('Could not instantiate class because parameter is neither a callable nor a string'); - } - - /** - * We need a "safe" version of PHP's "class_exists" because Magento has a bug - * (or they call it a "feature"). Magento is throwing an exception if you do class_exists() - * on a class that ends with "Factory" and if that file does not exits. - * - * This function catches all potential exceptions and makes sure to always return a boolean. - * - * @param string $class - * - * @return bool - */ - public static function safeClassExists($class) - { - try { - return class_exists($class) || interface_exists($class); - } catch (\Exception $e) { - return false; - } - } -} diff --git a/vendor/php-http/discovery/src/Composer/Plugin.php b/vendor/php-http/discovery/src/Composer/Plugin.php deleted file mode 100644 index 32ef401e3..000000000 --- a/vendor/php-http/discovery/src/Composer/Plugin.php +++ /dev/null @@ -1,465 +0,0 @@ - - * - * @internal - */ -class Plugin implements PluginInterface, EventSubscriberInterface -{ - /** - * Describes, for every supported virtual implementation, which packages - * provide said implementation and which extra dependencies each package - * requires to provide the implementation. - */ - private const PROVIDE_RULES = [ - 'php-http/async-client-implementation' => [ - 'symfony/http-client:>=6.3' => ['guzzlehttp/promises', 'psr/http-factory-implementation', 'php-http/httplug'], - 'symfony/http-client' => ['guzzlehttp/promises', 'php-http/message-factory', 'psr/http-factory-implementation', 'php-http/httplug'], - 'php-http/guzzle7-adapter' => [], - 'php-http/guzzle6-adapter' => [], - 'php-http/curl-client' => [], - 'php-http/react-adapter' => [], - ], - 'php-http/client-implementation' => [ - 'symfony/http-client:>=6.3' => ['psr/http-factory-implementation', 'php-http/httplug'], - 'symfony/http-client' => ['php-http/message-factory', 'psr/http-factory-implementation', 'php-http/httplug'], - 'php-http/guzzle7-adapter' => [], - 'php-http/guzzle6-adapter' => [], - 'php-http/cakephp-adapter' => [], - 'php-http/curl-client' => [], - 'php-http/react-adapter' => [], - 'php-http/buzz-adapter' => [], - 'php-http/artax-adapter' => [], - 'kriswallsmith/buzz:^1' => [], - ], - 'psr/http-client-implementation' => [ - 'symfony/http-client' => ['psr/http-factory-implementation', 'psr/http-client'], - 'guzzlehttp/guzzle' => [], - 'kriswallsmith/buzz:^1' => [], - ], - 'psr/http-message-implementation' => [ - 'php-http/discovery' => ['psr/http-factory-implementation'], - ], - 'psr/http-factory-implementation' => [ - 'nyholm/psr7' => [], - 'guzzlehttp/psr7:>=2' => [], - 'slim/psr7' => [], - 'laminas/laminas-diactoros' => [], - 'phalcon/cphalcon:^4' => [], - 'http-interop/http-factory-guzzle' => [], - 'http-interop/http-factory-diactoros' => [], - 'http-interop/http-factory-slim' => [], - 'httpsoft/http-message' => [], - ], - ]; - - /** - * Describes which package should be preferred on the left side - * depending on which one is already installed on the right side. - */ - private const STICKYNESS_RULES = [ - 'symfony/http-client' => 'symfony/framework-bundle', - 'php-http/guzzle7-adapter' => 'guzzlehttp/guzzle:^7', - 'php-http/guzzle6-adapter' => 'guzzlehttp/guzzle:^6', - 'php-http/guzzle5-adapter' => 'guzzlehttp/guzzle:^5', - 'php-http/cakephp-adapter' => 'cakephp/cakephp', - 'php-http/react-adapter' => 'react/event-loop', - 'php-http/buzz-adapter' => 'kriswallsmith/buzz:^0.15.1', - 'php-http/artax-adapter' => 'amphp/artax:^3', - 'http-interop/http-factory-guzzle' => 'guzzlehttp/psr7:^1', - 'http-interop/http-factory-slim' => 'slim/slim:^3', - ]; - - private const INTERFACE_MAP = [ - 'php-http/async-client-implementation' => [ - 'Http\Client\HttpAsyncClient', - ], - 'php-http/client-implementation' => [ - 'Http\Client\HttpClient', - ], - 'psr/http-client-implementation' => [ - 'Psr\Http\Client\ClientInterface', - ], - 'psr/http-factory-implementation' => [ - 'Psr\Http\Message\RequestFactoryInterface', - 'Psr\Http\Message\ResponseFactoryInterface', - 'Psr\Http\Message\ServerRequestFactoryInterface', - 'Psr\Http\Message\StreamFactoryInterface', - 'Psr\Http\Message\UploadedFileFactoryInterface', - 'Psr\Http\Message\UriFactoryInterface', - ], - ]; - - public static function getSubscribedEvents(): array - { - return [ - ScriptEvents::PRE_AUTOLOAD_DUMP => 'preAutoloadDump', - ScriptEvents::POST_UPDATE_CMD => 'postUpdate', - ]; - } - - public function activate(Composer $composer, IOInterface $io): void - { - } - - public function deactivate(Composer $composer, IOInterface $io) - { - } - - public function uninstall(Composer $composer, IOInterface $io) - { - } - - public function postUpdate(Event $event) - { - $composer = $event->getComposer(); - $repo = $composer->getRepositoryManager()->getLocalRepository(); - $requires = [ - $composer->getPackage()->getRequires(), - $composer->getPackage()->getDevRequires(), - ]; - $pinnedAbstractions = []; - $pinned = $composer->getPackage()->getExtra()['discovery'] ?? []; - foreach (self::INTERFACE_MAP as $abstraction => $interfaces) { - foreach (isset($pinned[$abstraction]) ? [] : $interfaces as $interface) { - if (!isset($pinned[$interface])) { - continue 2; - } - } - $pinnedAbstractions[$abstraction] = true; - } - - $missingRequires = $this->getMissingRequires($repo, $requires, 'project' === $composer->getPackage()->getType(), $pinnedAbstractions); - $missingRequires = [ - 'require' => array_fill_keys(array_merge([], ...array_values($missingRequires[0])), '*'), - 'require-dev' => array_fill_keys(array_merge([], ...array_values($missingRequires[1])), '*'), - 'remove' => array_fill_keys(array_merge([], ...array_values($missingRequires[2])), '*'), - ]; - - if (!$missingRequires = array_filter($missingRequires)) { - return; - } - - $composerJsonContents = file_get_contents(Factory::getComposerFile()); - $this->updateComposerJson($missingRequires, $composer->getConfig()->get('sort-packages')); - - $installer = null; - // Find the composer installer, hack borrowed from symfony/flex - foreach (debug_backtrace(\DEBUG_BACKTRACE_PROVIDE_OBJECT) as $trace) { - if (isset($trace['object']) && $trace['object'] instanceof Installer) { - $installer = $trace['object']; - break; - } - } - - if (!$installer) { - return; - } - - $event->stopPropagation(); - - $dispatcher = $composer->getEventDispatcher(); - $disableScripts = !method_exists($dispatcher, 'setRunScripts') || !((array) $dispatcher)["\0*\0runScripts"]; - $composer = Factory::create($event->getIO(), null, false, $disableScripts); - - /** @var Installer $installer */ - $installer = clone $installer; - if (method_exists($installer, 'setAudit')) { - $trace['object']->setAudit(false); - } - // we need a clone of the installer to preserve its configuration state but with our own service objects - $installer->__construct( - $event->getIO(), - $composer->getConfig(), - $composer->getPackage(), - $composer->getDownloadManager(), - $composer->getRepositoryManager(), - $composer->getLocker(), - $composer->getInstallationManager(), - $composer->getEventDispatcher(), - $composer->getAutoloadGenerator() - ); - if (method_exists($installer, 'setPlatformRequirementFilter')) { - $installer->setPlatformRequirementFilter(((array) $trace['object'])["\0*\0platformRequirementFilter"]); - } - - if (0 !== $installer->run()) { - file_put_contents(Factory::getComposerFile(), $composerJsonContents); - - return; - } - - $versionSelector = new VersionSelector(ClassDiscovery::safeClassExists(RepositorySet::class) ? new RepositorySet() : new Pool()); - $updateComposerJson = false; - - foreach ($composer->getRepositoryManager()->getLocalRepository()->getPackages() as $package) { - foreach (['require', 'require-dev'] as $key) { - if (!isset($missingRequires[$key][$package->getName()])) { - continue; - } - $updateComposerJson = true; - $missingRequires[$key][$package->getName()] = $versionSelector->findRecommendedRequireVersion($package); - } - } - - if ($updateComposerJson) { - $this->updateComposerJson($missingRequires, $composer->getConfig()->get('sort-packages')); - $this->updateComposerLock($composer, $event->getIO()); - } - } - - public function getMissingRequires(InstalledRepositoryInterface $repo, array $requires, bool $isProject, array $pinnedAbstractions): array - { - $allPackages = []; - $devPackages = method_exists($repo, 'getDevPackageNames') ? array_fill_keys($repo->getDevPackageNames(), true) : []; - - // One must require "php-http/discovery" - // to opt-in for auto-installation of virtual package implementations - if (!isset($requires[0]['php-http/discovery'])) { - $requires = [[], []]; - } - - foreach ($repo->getPackages() as $package) { - $allPackages[$package->getName()] = true; - - if (1 < \count($names = $package->getNames(false))) { - $allPackages += array_fill_keys($names, false); - - if (isset($devPackages[$package->getName()])) { - $devPackages += $names; - } - } - - if (isset($package->getRequires()['php-http/discovery'])) { - $requires[(int) isset($devPackages[$package->getName()])] += $package->getRequires(); - } - } - - $missingRequires = [[], [], []]; - $versionParser = new VersionParser(); - - if (ClassDiscovery::safeClassExists(\Phalcon\Http\Message\RequestFactory::class, false)) { - $missingRequires[0]['psr/http-factory-implementation'] = []; - $missingRequires[1]['psr/http-factory-implementation'] = []; - } - - foreach ($requires as $dev => $rules) { - $abstractions = []; - $rules = array_intersect_key(self::PROVIDE_RULES, $rules); - - while ($rules) { - $abstraction = key($rules); - - if (isset($pinnedAbstractions[$abstraction])) { - unset($rules[$abstraction]); - continue; - } - - $abstractions[] = $abstraction; - - foreach (array_shift($rules) as $candidate => $deps) { - [$candidate, $version] = explode(':', $candidate, 2) + [1 => null]; - - if (!isset($allPackages[$candidate])) { - continue; - } - if (null !== $version && !$repo->findPackage($candidate, $versionParser->parseConstraints($version))) { - continue; - } - if ($isProject && !$dev && isset($devPackages[$candidate])) { - $missingRequires[0][$abstraction] = [$candidate]; - $missingRequires[2][$abstraction] = [$candidate]; - } else { - $missingRequires[$dev][$abstraction] = []; - } - - foreach ($deps as $dep) { - if (isset(self::PROVIDE_RULES[$dep])) { - $rules[$dep] = self::PROVIDE_RULES[$dep]; - } elseif (!isset($allPackages[$dep])) { - $missingRequires[$dev][$abstraction][] = $dep; - } elseif ($isProject && !$dev && isset($devPackages[$dep])) { - $missingRequires[0][$abstraction][] = $dep; - $missingRequires[2][$abstraction][] = $dep; - } - } - break; - } - } - - while ($abstractions) { - $abstraction = array_shift($abstractions); - - if (isset($missingRequires[$dev][$abstraction])) { - continue; - } - $candidates = self::PROVIDE_RULES[$abstraction]; - - foreach ($candidates as $candidate => $deps) { - [$candidate, $version] = explode(':', $candidate, 2) + [1 => null]; - - if (null !== $version && !$repo->findPackage($candidate, $versionParser->parseConstraints($version))) { - continue; - } - if (isset($allPackages[$candidate]) && (!$isProject || $dev || !isset($devPackages[$candidate]))) { - continue 2; - } - } - - foreach (array_intersect_key(self::STICKYNESS_RULES, $candidates) as $candidate => $stickyRule) { - [$stickyName, $stickyVersion] = explode(':', $stickyRule, 2) + [1 => null]; - if (!isset($allPackages[$stickyName]) || ($isProject && !$dev && isset($devPackages[$stickyName]))) { - continue; - } - if (null !== $stickyVersion && !$repo->findPackage($stickyName, $versionParser->parseConstraints($stickyVersion))) { - continue; - } - - $candidates = [$candidate => $candidates[$candidate]]; - break; - } - - $dep = key($candidates); - [$dep] = explode(':', $dep, 2); - $missingRequires[$dev][$abstraction] = [$dep]; - - if ($isProject && !$dev && isset($devPackages[$dep])) { - $missingRequires[2][$abstraction][] = $dep; - } - } - } - - $missingRequires[1] = array_diff_key($missingRequires[1], $missingRequires[0]); - - return $missingRequires; - } - - public function preAutoloadDump(Event $event) - { - $filesystem = new Filesystem(); - // Double realpath() on purpose, see https://bugs.php.net/72738 - $vendorDir = $filesystem->normalizePath(realpath(realpath($event->getComposer()->getConfig()->get('vendor-dir')))); - $filesystem->ensureDirectoryExists($vendorDir.'/composer'); - $pinned = $event->getComposer()->getPackage()->getExtra()['discovery'] ?? []; - $candidates = []; - - $allInterfaces = array_merge(...array_values(self::INTERFACE_MAP)); - foreach ($pinned as $abstraction => $class) { - if (isset(self::INTERFACE_MAP[$abstraction])) { - $interfaces = self::INTERFACE_MAP[$abstraction]; - } elseif (false !== $k = array_search($abstraction, $allInterfaces, true)) { - $interfaces = [$allInterfaces[$k]]; - } else { - throw new \UnexpectedValueException(sprintf('Invalid "extra.discovery" pinned in composer.json: "%s" is not one of ["%s"].', $abstraction, implode('", "', array_keys(self::INTERFACE_MAP)))); - } - - foreach ($interfaces as $interface) { - $candidates[] = sprintf("case %s: return [['class' => %s]];\n", var_export($interface, true), var_export($class, true)); - } - } - - $file = $vendorDir.'/composer/GeneratedDiscoveryStrategy.php'; - - if (!$candidates) { - if (file_exists($file)) { - unlink($file); - } - - return; - } - - $candidates = implode(' ', $candidates); - $code = <<getComposer()->getPackage(); - $autoload = $rootPackage->getAutoload(); - $autoload['classmap'][] = $vendorDir.'/composer/GeneratedDiscoveryStrategy.php'; - $rootPackage->setAutoload($autoload); - } - - private function updateComposerJson(array $missingRequires, bool $sortPackages) - { - $file = Factory::getComposerFile(); - $contents = file_get_contents($file); - - $manipulator = new JsonManipulator($contents); - - foreach ($missingRequires as $key => $packages) { - foreach ($packages as $package => $constraint) { - if ('remove' === $key) { - $manipulator->removeSubNode('require-dev', $package); - } else { - $manipulator->addLink($key, $package, $constraint, $sortPackages); - } - } - } - - file_put_contents($file, $manipulator->getContents()); - } - - private function updateComposerLock(Composer $composer, IOInterface $io) - { - $lock = substr(Factory::getComposerFile(), 0, -4).'lock'; - $composerJson = file_get_contents(Factory::getComposerFile()); - $lockFile = new JsonFile($lock, null, $io); - $locker = ClassDiscovery::safeClassExists(RepositorySet::class) - ? new Locker($io, $lockFile, $composer->getInstallationManager(), $composerJson) - : new Locker($io, $lockFile, $composer->getRepositoryManager(), $composer->getInstallationManager(), $composerJson); - $lockData = $locker->getLockData(); - $lockData['content-hash'] = Locker::getContentHash($composerJson); - $lockFile->write($lockData); - } -} diff --git a/vendor/php-http/discovery/src/Exception.php b/vendor/php-http/discovery/src/Exception.php deleted file mode 100644 index 0fa8c767e..000000000 --- a/vendor/php-http/discovery/src/Exception.php +++ /dev/null @@ -1,12 +0,0 @@ - - */ -interface Exception extends \Throwable -{ -} diff --git a/vendor/php-http/discovery/src/Exception/ClassInstantiationFailedException.php b/vendor/php-http/discovery/src/Exception/ClassInstantiationFailedException.php deleted file mode 100644 index e95bf5d82..000000000 --- a/vendor/php-http/discovery/src/Exception/ClassInstantiationFailedException.php +++ /dev/null @@ -1,14 +0,0 @@ - - */ -final class ClassInstantiationFailedException extends \RuntimeException implements Exception -{ -} diff --git a/vendor/php-http/discovery/src/Exception/DiscoveryFailedException.php b/vendor/php-http/discovery/src/Exception/DiscoveryFailedException.php deleted file mode 100644 index 304b7276e..000000000 --- a/vendor/php-http/discovery/src/Exception/DiscoveryFailedException.php +++ /dev/null @@ -1,51 +0,0 @@ - - */ -final class DiscoveryFailedException extends \Exception implements Exception -{ - /** - * @var \Exception[] - */ - private $exceptions; - - /** - * @param string $message - * @param \Exception[] $exceptions - */ - public function __construct($message, array $exceptions = []) - { - $this->exceptions = $exceptions; - - parent::__construct($message); - } - - /** - * @param \Exception[] $exceptions - */ - public static function create($exceptions) - { - $message = 'Could not find resource using any discovery strategy. Find more information at http://docs.php-http.org/en/latest/discovery.html#common-errors'; - foreach ($exceptions as $e) { - $message .= "\n - ".$e->getMessage(); - } - $message .= "\n\n"; - - return new self($message, $exceptions); - } - - /** - * @return \Exception[] - */ - public function getExceptions() - { - return $this->exceptions; - } -} diff --git a/vendor/php-http/discovery/src/Exception/NoCandidateFoundException.php b/vendor/php-http/discovery/src/Exception/NoCandidateFoundException.php deleted file mode 100644 index 32f65db7b..000000000 --- a/vendor/php-http/discovery/src/Exception/NoCandidateFoundException.php +++ /dev/null @@ -1,47 +0,0 @@ - - */ -final class NoCandidateFoundException extends \Exception implements Exception -{ - /** - * @param string $strategy - */ - public function __construct($strategy, array $candidates) - { - $classes = array_map( - function ($a) { - return $a['class']; - }, - $candidates - ); - - $message = sprintf( - 'No valid candidate found using strategy "%s". We tested the following candidates: %s.', - $strategy, - implode(', ', array_map([$this, 'stringify'], $classes)) - ); - - parent::__construct($message); - } - - private function stringify($mixed) - { - if (is_string($mixed)) { - return $mixed; - } - - if (is_array($mixed) && 2 === count($mixed)) { - return sprintf('%s::%s', $this->stringify($mixed[0]), $mixed[1]); - } - - return is_object($mixed) ? get_class($mixed) : gettype($mixed); - } -} diff --git a/vendor/php-http/discovery/src/Exception/NotFoundException.php b/vendor/php-http/discovery/src/Exception/NotFoundException.php deleted file mode 100644 index ef8b9c584..000000000 --- a/vendor/php-http/discovery/src/Exception/NotFoundException.php +++ /dev/null @@ -1,16 +0,0 @@ - - */ -/* final */ class NotFoundException extends \RuntimeException implements Exception -{ -} diff --git a/vendor/php-http/discovery/src/Exception/PuliUnavailableException.php b/vendor/php-http/discovery/src/Exception/PuliUnavailableException.php deleted file mode 100644 index a6ade7332..000000000 --- a/vendor/php-http/discovery/src/Exception/PuliUnavailableException.php +++ /dev/null @@ -1,12 +0,0 @@ - - */ -final class PuliUnavailableException extends StrategyUnavailableException -{ -} diff --git a/vendor/php-http/discovery/src/Exception/StrategyUnavailableException.php b/vendor/php-http/discovery/src/Exception/StrategyUnavailableException.php deleted file mode 100644 index 89ecf3523..000000000 --- a/vendor/php-http/discovery/src/Exception/StrategyUnavailableException.php +++ /dev/null @@ -1,15 +0,0 @@ - - */ -class StrategyUnavailableException extends \RuntimeException implements Exception -{ -} diff --git a/vendor/php-http/discovery/src/HttpAsyncClientDiscovery.php b/vendor/php-http/discovery/src/HttpAsyncClientDiscovery.php deleted file mode 100644 index a0c4d5b7c..000000000 --- a/vendor/php-http/discovery/src/HttpAsyncClientDiscovery.php +++ /dev/null @@ -1,32 +0,0 @@ - - */ -final class HttpAsyncClientDiscovery extends ClassDiscovery -{ - /** - * Finds an HTTP Async Client. - * - * @return HttpAsyncClient - * - * @throws Exception\NotFoundException - */ - public static function find() - { - try { - $asyncClient = static::findOneByType(HttpAsyncClient::class); - } catch (DiscoveryFailedException $e) { - throw new NotFoundException('No HTTPlug async clients found. Make sure to install a package providing "php-http/async-client-implementation". Example: "php-http/guzzle6-adapter".', 0, $e); - } - - return static::instantiateClass($asyncClient); - } -} diff --git a/vendor/php-http/discovery/src/HttpClientDiscovery.php b/vendor/php-http/discovery/src/HttpClientDiscovery.php deleted file mode 100644 index 2501e5bbf..000000000 --- a/vendor/php-http/discovery/src/HttpClientDiscovery.php +++ /dev/null @@ -1,34 +0,0 @@ - - * - * @deprecated This will be removed in 2.0. Consider using Psr18ClientDiscovery. - */ -final class HttpClientDiscovery extends ClassDiscovery -{ - /** - * Finds an HTTP Client. - * - * @return HttpClient - * - * @throws Exception\NotFoundException - */ - public static function find() - { - try { - $client = static::findOneByType(HttpClient::class); - } catch (DiscoveryFailedException $e) { - throw new NotFoundException('No HTTPlug clients found. Make sure to install a package providing "php-http/client-implementation". Example: "php-http/guzzle6-adapter".', 0, $e); - } - - return static::instantiateClass($client); - } -} diff --git a/vendor/php-http/discovery/src/MessageFactoryDiscovery.php b/vendor/php-http/discovery/src/MessageFactoryDiscovery.php deleted file mode 100644 index 4ae104aa6..000000000 --- a/vendor/php-http/discovery/src/MessageFactoryDiscovery.php +++ /dev/null @@ -1,34 +0,0 @@ - - * - * @deprecated This will be removed in 2.0. Consider using Psr17FactoryDiscovery. - */ -final class MessageFactoryDiscovery extends ClassDiscovery -{ - /** - * Finds a Message Factory. - * - * @return MessageFactory - * - * @throws Exception\NotFoundException - */ - public static function find() - { - try { - $messageFactory = static::findOneByType(MessageFactory::class); - } catch (DiscoveryFailedException $e) { - throw new NotFoundException('No php-http message factories found. Note that the php-http message factories are deprecated in favor of the PSR-17 message factories. To use the legacy Guzzle, Diactoros or Slim Framework factories of php-http, install php-http/message and php-http/message-factory and the chosen message implementation.', 0, $e); - } - - return static::instantiateClass($messageFactory); - } -} diff --git a/vendor/php-http/discovery/src/NotFoundException.php b/vendor/php-http/discovery/src/NotFoundException.php deleted file mode 100644 index d59dadbf8..000000000 --- a/vendor/php-http/discovery/src/NotFoundException.php +++ /dev/null @@ -1,14 +0,0 @@ - - * - * @deprecated since since version 1.0, and will be removed in 2.0. Use {@link \Http\Discovery\Exception\NotFoundException} instead. - */ -final class NotFoundException extends \Http\Discovery\Exception\NotFoundException -{ -} diff --git a/vendor/php-http/discovery/src/Psr17Factory.php b/vendor/php-http/discovery/src/Psr17Factory.php deleted file mode 100644 index 5d3ab9273..000000000 --- a/vendor/php-http/discovery/src/Psr17Factory.php +++ /dev/null @@ -1,303 +0,0 @@ - - * Copyright (c) 2015 Michael Dowling - * Copyright (c) 2015 Márk Sági-Kazár - * Copyright (c) 2015 Graham Campbell - * Copyright (c) 2016 Tobias Schultze - * Copyright (c) 2016 George Mponos - * Copyright (c) 2016-2018 Tobias Nyholm - * - * @author Nicolas Grekas - */ -class Psr17Factory implements RequestFactoryInterface, ResponseFactoryInterface, ServerRequestFactoryInterface, StreamFactoryInterface, UploadedFileFactoryInterface, UriFactoryInterface -{ - private $requestFactory; - private $responseFactory; - private $serverRequestFactory; - private $streamFactory; - private $uploadedFileFactory; - private $uriFactory; - - public function __construct( - RequestFactoryInterface $requestFactory = null, - ResponseFactoryInterface $responseFactory = null, - ServerRequestFactoryInterface $serverRequestFactory = null, - StreamFactoryInterface $streamFactory = null, - UploadedFileFactoryInterface $uploadedFileFactory = null, - UriFactoryInterface $uriFactory = null - ) { - $this->requestFactory = $requestFactory; - $this->responseFactory = $responseFactory; - $this->serverRequestFactory = $serverRequestFactory; - $this->streamFactory = $streamFactory; - $this->uploadedFileFactory = $uploadedFileFactory; - $this->uriFactory = $uriFactory; - - $this->setFactory($requestFactory); - $this->setFactory($responseFactory); - $this->setFactory($serverRequestFactory); - $this->setFactory($streamFactory); - $this->setFactory($uploadedFileFactory); - $this->setFactory($uriFactory); - } - - /** - * @param UriInterface|string $uri - */ - public function createRequest(string $method, $uri): RequestInterface - { - $factory = $this->requestFactory ?? $this->setFactory(Psr17FactoryDiscovery::findRequestFactory()); - - return $factory->createRequest(...\func_get_args()); - } - - public function createResponse(int $code = 200, string $reasonPhrase = ''): ResponseInterface - { - $factory = $this->responseFactory ?? $this->setFactory(Psr17FactoryDiscovery::findResponseFactory()); - - return $factory->createResponse(...\func_get_args()); - } - - /** - * @param UriInterface|string $uri - */ - public function createServerRequest(string $method, $uri, array $serverParams = []): ServerRequestInterface - { - $factory = $this->serverRequestFactory ?? $this->setFactory(Psr17FactoryDiscovery::findServerRequestFactory()); - - return $factory->createServerRequest(...\func_get_args()); - } - - public function createServerRequestFromGlobals(array $server = null, array $get = null, array $post = null, array $cookie = null, array $files = null, StreamInterface $body = null): ServerRequestInterface - { - $server = $server ?? $_SERVER; - $request = $this->createServerRequest($server['REQUEST_METHOD'] ?? 'GET', $this->createUriFromGlobals($server), $server); - - return $this->buildServerRequestFromGlobals($request, $server, $files ?? $_FILES) - ->withQueryParams($get ?? $_GET) - ->withParsedBody($post ?? $_POST) - ->withCookieParams($cookie ?? $_COOKIE) - ->withBody($body ?? $this->createStreamFromFile('php://input', 'r+')); - } - - public function createStream(string $content = ''): StreamInterface - { - $factory = $this->streamFactory ?? $this->setFactory(Psr17FactoryDiscovery::findStreamFactory()); - - return $factory->createStream($content); - } - - public function createStreamFromFile(string $filename, string $mode = 'r'): StreamInterface - { - $factory = $this->streamFactory ?? $this->setFactory(Psr17FactoryDiscovery::findStreamFactory()); - - return $factory->createStreamFromFile($filename, $mode); - } - - /** - * @param resource $resource - */ - public function createStreamFromResource($resource): StreamInterface - { - $factory = $this->streamFactory ?? $this->setFactory(Psr17FactoryDiscovery::findStreamFactory()); - - return $factory->createStreamFromResource($resource); - } - - public function createUploadedFile(StreamInterface $stream, int $size = null, int $error = \UPLOAD_ERR_OK, string $clientFilename = null, string $clientMediaType = null): UploadedFileInterface - { - $factory = $this->uploadedFileFactory ?? $this->setFactory(Psr17FactoryDiscovery::findUploadedFileFactory()); - - return $factory->createUploadedFile(...\func_get_args()); - } - - public function createUri(string $uri = ''): UriInterface - { - $factory = $this->uriFactory ?? $this->setFactory(Psr17FactoryDiscovery::findUriFactory()); - - return $factory->createUri(...\func_get_args()); - } - - public function createUriFromGlobals(array $server = null): UriInterface - { - return $this->buildUriFromGlobals($this->createUri(''), $server ?? $_SERVER); - } - - private function setFactory($factory) - { - if (!$this->requestFactory && $factory instanceof RequestFactoryInterface) { - $this->requestFactory = $factory; - } - if (!$this->responseFactory && $factory instanceof ResponseFactoryInterface) { - $this->responseFactory = $factory; - } - if (!$this->serverRequestFactory && $factory instanceof ServerRequestFactoryInterface) { - $this->serverRequestFactory = $factory; - } - if (!$this->streamFactory && $factory instanceof StreamFactoryInterface) { - $this->streamFactory = $factory; - } - if (!$this->uploadedFileFactory && $factory instanceof UploadedFileFactoryInterface) { - $this->uploadedFileFactory = $factory; - } - if (!$this->uriFactory && $factory instanceof UriFactoryInterface) { - $this->uriFactory = $factory; - } - - return $factory; - } - - private function buildServerRequestFromGlobals(ServerRequestInterface $request, array $server, array $files): ServerRequestInterface - { - $request = $request - ->withProtocolVersion(isset($server['SERVER_PROTOCOL']) ? str_replace('HTTP/', '', $server['SERVER_PROTOCOL']) : '1.1') - ->withUploadedFiles($this->normalizeFiles($files)); - - $headers = []; - foreach ($server as $k => $v) { - if (0 === strpos($k, 'HTTP_')) { - $k = substr($k, 5); - } elseif (!\in_array($k, ['CONTENT_TYPE', 'CONTENT_LENGTH', 'CONTENT_MD5'], true)) { - continue; - } - $k = str_replace(' ', '-', ucwords(strtolower(str_replace('_', ' ', $k)))); - - $headers[$k] = $v; - } - - if (!isset($headers['Authorization'])) { - if (isset($_SERVER['REDIRECT_HTTP_AUTHORIZATION'])) { - $headers['Authorization'] = $_SERVER['REDIRECT_HTTP_AUTHORIZATION']; - } elseif (isset($_SERVER['PHP_AUTH_USER'])) { - $headers['Authorization'] = 'Basic '.base64_encode($_SERVER['PHP_AUTH_USER'].':'.($_SERVER['PHP_AUTH_PW'] ?? '')); - } elseif (isset($_SERVER['PHP_AUTH_DIGEST'])) { - $headers['Authorization'] = $_SERVER['PHP_AUTH_DIGEST']; - } - } - - foreach ($headers as $k => $v) { - try { - $request = $request->withHeader($k, $v); - } catch (\InvalidArgumentException $e) { - // ignore invalid headers - } - } - - return $request; - } - - private function buildUriFromGlobals(UriInterface $uri, array $server): UriInterface - { - $uri = $uri->withScheme(!empty($server['HTTPS']) && 'off' !== strtolower($server['HTTPS']) ? 'https' : 'http'); - - $hasPort = false; - if (isset($server['HTTP_HOST'])) { - $parts = parse_url('http://'.$server['HTTP_HOST']); - - $uri = $uri->withHost($parts['host'] ?? 'localhost'); - - if ($parts['port'] ?? false) { - $hasPort = true; - $uri = $uri->withPort($parts['port']); - } - } else { - $uri = $uri->withHost($server['SERVER_NAME'] ?? $server['SERVER_ADDR'] ?? 'localhost'); - } - - if (!$hasPort && isset($server['SERVER_PORT'])) { - $uri = $uri->withPort($server['SERVER_PORT']); - } - - $hasQuery = false; - if (isset($server['REQUEST_URI'])) { - $requestUriParts = explode('?', $server['REQUEST_URI'], 2); - $uri = $uri->withPath($requestUriParts[0]); - if (isset($requestUriParts[1])) { - $hasQuery = true; - $uri = $uri->withQuery($requestUriParts[1]); - } - } - - if (!$hasQuery && isset($server['QUERY_STRING'])) { - $uri = $uri->withQuery($server['QUERY_STRING']); - } - - return $uri; - } - - private function normalizeFiles(array $files): array - { - foreach ($files as $k => $v) { - if ($v instanceof UploadedFileInterface) { - continue; - } - if (!\is_array($v)) { - unset($files[$k]); - } elseif (!isset($v['tmp_name'])) { - $files[$k] = $this->normalizeFiles($v); - } else { - $files[$k] = $this->createUploadedFileFromSpec($v); - } - } - - return $files; - } - - /** - * Create and return an UploadedFile instance from a $_FILES specification. - * - * @param array $value $_FILES struct - * - * @return UploadedFileInterface|UploadedFileInterface[] - */ - private function createUploadedFileFromSpec(array $value) - { - if (!is_array($tmpName = $value['tmp_name'])) { - $file = is_file($tmpName) ? $this->createStreamFromFile($tmpName, 'r') : $this->createStream(); - - return $this->createUploadedFile($file, $value['size'], $value['error'], $value['name'], $value['type']); - } - - foreach ($tmpName as $k => $v) { - $tmpName[$k] = $this->createUploadedFileFromSpec([ - 'tmp_name' => $v, - 'size' => $value['size'][$k] ?? null, - 'error' => $value['error'][$k] ?? null, - 'name' => $value['name'][$k] ?? null, - 'type' => $value['type'][$k] ?? null, - ]); - } - - return $tmpName; - } -} diff --git a/vendor/php-http/discovery/src/Psr17FactoryDiscovery.php b/vendor/php-http/discovery/src/Psr17FactoryDiscovery.php deleted file mode 100644 index a73c6414b..000000000 --- a/vendor/php-http/discovery/src/Psr17FactoryDiscovery.php +++ /dev/null @@ -1,136 +0,0 @@ - - */ -final class Psr17FactoryDiscovery extends ClassDiscovery -{ - private static function createException($type, Exception $e) - { - return new \Http\Discovery\Exception\NotFoundException( - 'No PSR-17 '.$type.' found. Install a package from this list: https://packagist.org/providers/psr/http-factory-implementation', - 0, - $e - ); - } - - /** - * @return RequestFactoryInterface - * - * @throws Exception\NotFoundException - */ - public static function findRequestFactory() - { - try { - $messageFactory = static::findOneByType(RequestFactoryInterface::class); - } catch (DiscoveryFailedException $e) { - throw self::createException('request factory', $e); - } - - return static::instantiateClass($messageFactory); - } - - /** - * @return ResponseFactoryInterface - * - * @throws Exception\NotFoundException - */ - public static function findResponseFactory() - { - try { - $messageFactory = static::findOneByType(ResponseFactoryInterface::class); - } catch (DiscoveryFailedException $e) { - throw self::createException('response factory', $e); - } - - return static::instantiateClass($messageFactory); - } - - /** - * @return ServerRequestFactoryInterface - * - * @throws Exception\NotFoundException - */ - public static function findServerRequestFactory() - { - try { - $messageFactory = static::findOneByType(ServerRequestFactoryInterface::class); - } catch (DiscoveryFailedException $e) { - throw self::createException('server request factory', $e); - } - - return static::instantiateClass($messageFactory); - } - - /** - * @return StreamFactoryInterface - * - * @throws Exception\NotFoundException - */ - public static function findStreamFactory() - { - try { - $messageFactory = static::findOneByType(StreamFactoryInterface::class); - } catch (DiscoveryFailedException $e) { - throw self::createException('stream factory', $e); - } - - return static::instantiateClass($messageFactory); - } - - /** - * @return UploadedFileFactoryInterface - * - * @throws Exception\NotFoundException - */ - public static function findUploadedFileFactory() - { - try { - $messageFactory = static::findOneByType(UploadedFileFactoryInterface::class); - } catch (DiscoveryFailedException $e) { - throw self::createException('uploaded file factory', $e); - } - - return static::instantiateClass($messageFactory); - } - - /** - * @return UriFactoryInterface - * - * @throws Exception\NotFoundException - */ - public static function findUriFactory() - { - try { - $messageFactory = static::findOneByType(UriFactoryInterface::class); - } catch (DiscoveryFailedException $e) { - throw self::createException('url factory', $e); - } - - return static::instantiateClass($messageFactory); - } - - /** - * @return UriFactoryInterface - * - * @throws Exception\NotFoundException - * - * @deprecated This will be removed in 2.0. Consider using the findUriFactory() method. - */ - public static function findUrlFactory() - { - return static::findUriFactory(); - } -} diff --git a/vendor/php-http/discovery/src/Psr18Client.php b/vendor/php-http/discovery/src/Psr18Client.php deleted file mode 100644 index c47780ec6..000000000 --- a/vendor/php-http/discovery/src/Psr18Client.php +++ /dev/null @@ -1,45 +0,0 @@ - - */ -class Psr18Client extends Psr17Factory implements ClientInterface -{ - private $client; - - public function __construct( - ClientInterface $client = null, - RequestFactoryInterface $requestFactory = null, - ResponseFactoryInterface $responseFactory = null, - ServerRequestFactoryInterface $serverRequestFactory = null, - StreamFactoryInterface $streamFactory = null, - UploadedFileFactoryInterface $uploadedFileFactory = null, - UriFactoryInterface $uriFactory = null - ) { - parent::__construct($requestFactory, $responseFactory, $serverRequestFactory, $streamFactory, $uploadedFileFactory, $uriFactory); - - $this->client = $client ?? Psr18ClientDiscovery::find(); - } - - public function sendRequest(RequestInterface $request): ResponseInterface - { - return $this->client->sendRequest($request); - } -} diff --git a/vendor/php-http/discovery/src/Psr18ClientDiscovery.php b/vendor/php-http/discovery/src/Psr18ClientDiscovery.php deleted file mode 100644 index dfd2dd1e7..000000000 --- a/vendor/php-http/discovery/src/Psr18ClientDiscovery.php +++ /dev/null @@ -1,32 +0,0 @@ - - */ -final class Psr18ClientDiscovery extends ClassDiscovery -{ - /** - * Finds a PSR-18 HTTP Client. - * - * @return ClientInterface - * - * @throws Exception\NotFoundException - */ - public static function find() - { - try { - $client = static::findOneByType(ClientInterface::class); - } catch (DiscoveryFailedException $e) { - throw new \Http\Discovery\Exception\NotFoundException('No PSR-18 clients found. Make sure to install a package providing "psr/http-client-implementation". Example: "php-http/guzzle7-adapter".', 0, $e); - } - - return static::instantiateClass($client); - } -} diff --git a/vendor/php-http/discovery/src/Strategy/CommonClassesStrategy.php b/vendor/php-http/discovery/src/Strategy/CommonClassesStrategy.php deleted file mode 100644 index ae0b0d842..000000000 --- a/vendor/php-http/discovery/src/Strategy/CommonClassesStrategy.php +++ /dev/null @@ -1,180 +0,0 @@ - - * - * Don't miss updating src/Composer/Plugin.php when adding a new supported class. - */ -final class CommonClassesStrategy implements DiscoveryStrategy -{ - /** - * @var array - */ - private static $classes = [ - MessageFactory::class => [ - ['class' => NyholmHttplugFactory::class, 'condition' => [NyholmHttplugFactory::class]], - ['class' => GuzzleMessageFactory::class, 'condition' => [GuzzleRequest::class, GuzzleMessageFactory::class]], - ['class' => DiactorosMessageFactory::class, 'condition' => [DiactorosRequest::class, DiactorosMessageFactory::class]], - ['class' => SlimMessageFactory::class, 'condition' => [SlimRequest::class, SlimMessageFactory::class]], - ], - StreamFactory::class => [ - ['class' => NyholmHttplugFactory::class, 'condition' => [NyholmHttplugFactory::class]], - ['class' => GuzzleStreamFactory::class, 'condition' => [GuzzleRequest::class, GuzzleStreamFactory::class]], - ['class' => DiactorosStreamFactory::class, 'condition' => [DiactorosRequest::class, DiactorosStreamFactory::class]], - ['class' => SlimStreamFactory::class, 'condition' => [SlimRequest::class, SlimStreamFactory::class]], - ], - UriFactory::class => [ - ['class' => NyholmHttplugFactory::class, 'condition' => [NyholmHttplugFactory::class]], - ['class' => GuzzleUriFactory::class, 'condition' => [GuzzleRequest::class, GuzzleUriFactory::class]], - ['class' => DiactorosUriFactory::class, 'condition' => [DiactorosRequest::class, DiactorosUriFactory::class]], - ['class' => SlimUriFactory::class, 'condition' => [SlimRequest::class, SlimUriFactory::class]], - ], - HttpAsyncClient::class => [ - ['class' => SymfonyHttplug::class, 'condition' => [SymfonyHttplug::class, Promise::class, [self::class, 'isPsr17FactoryInstalled']]], - ['class' => Guzzle7::class, 'condition' => Guzzle7::class], - ['class' => Guzzle6::class, 'condition' => Guzzle6::class], - ['class' => Curl::class, 'condition' => Curl::class], - ['class' => React::class, 'condition' => React::class], - ], - HttpClient::class => [ - ['class' => SymfonyHttplug::class, 'condition' => [SymfonyHttplug::class, [self::class, 'isPsr17FactoryInstalled']]], - ['class' => Guzzle7::class, 'condition' => Guzzle7::class], - ['class' => Guzzle6::class, 'condition' => Guzzle6::class], - ['class' => Guzzle5::class, 'condition' => Guzzle5::class], - ['class' => Curl::class, 'condition' => Curl::class], - ['class' => Socket::class, 'condition' => Socket::class], - ['class' => Buzz::class, 'condition' => Buzz::class], - ['class' => React::class, 'condition' => React::class], - ['class' => Cake::class, 'condition' => Cake::class], - ['class' => Artax::class, 'condition' => Artax::class], - [ - 'class' => [self::class, 'buzzInstantiate'], - 'condition' => [\Buzz\Client\FileGetContents::class, \Buzz\Message\ResponseBuilder::class], - ], - ], - Psr18Client::class => [ - [ - 'class' => [self::class, 'symfonyPsr18Instantiate'], - 'condition' => [SymfonyPsr18::class, Psr17RequestFactory::class], - ], - [ - 'class' => GuzzleHttp::class, - 'condition' => [self::class, 'isGuzzleImplementingPsr18'], - ], - [ - 'class' => [self::class, 'buzzInstantiate'], - 'condition' => [\Buzz\Client\FileGetContents::class, \Buzz\Message\ResponseBuilder::class], - ], - ], - ]; - - public static function getCandidates($type) - { - if (Psr18Client::class === $type) { - return self::getPsr18Candidates(); - } - - return self::$classes[$type] ?? []; - } - - /** - * @return array The return value is always an array with zero or more elements. Each - * element is an array with two keys ['class' => string, 'condition' => mixed]. - */ - private static function getPsr18Candidates() - { - $candidates = self::$classes[Psr18Client::class]; - - // HTTPlug 2.0 clients implements PSR18Client too. - foreach (self::$classes[HttpClient::class] as $c) { - if (!is_string($c['class'])) { - continue; - } - try { - if (ClassDiscovery::safeClassExists($c['class']) && is_subclass_of($c['class'], Psr18Client::class)) { - $candidates[] = $c; - } - } catch (\Throwable $e) { - trigger_error(sprintf('Got exception "%s (%s)" while checking if a PSR-18 Client is available', get_class($e), $e->getMessage()), E_USER_WARNING); - } - } - - return $candidates; - } - - public static function buzzInstantiate() - { - return new \Buzz\Client\FileGetContents(Psr17FactoryDiscovery::findResponseFactory()); - } - - public static function symfonyPsr18Instantiate() - { - return new SymfonyPsr18(null, Psr17FactoryDiscovery::findResponseFactory(), Psr17FactoryDiscovery::findStreamFactory()); - } - - public static function isGuzzleImplementingPsr18() - { - return defined('GuzzleHttp\ClientInterface::MAJOR_VERSION'); - } - - /** - * Can be used as a condition. - * - * @return bool - */ - public static function isPsr17FactoryInstalled() - { - try { - Psr17FactoryDiscovery::findResponseFactory(); - } catch (NotFoundException $e) { - return false; - } catch (\Throwable $e) { - trigger_error(sprintf('Got exception "%s (%s)" while checking if a PSR-17 ResponseFactory is available', get_class($e), $e->getMessage()), E_USER_WARNING); - - return false; - } - - return true; - } -} diff --git a/vendor/php-http/discovery/src/Strategy/CommonPsr17ClassesStrategy.php b/vendor/php-http/discovery/src/Strategy/CommonPsr17ClassesStrategy.php deleted file mode 100644 index 04cf4baf8..000000000 --- a/vendor/php-http/discovery/src/Strategy/CommonPsr17ClassesStrategy.php +++ /dev/null @@ -1,104 +0,0 @@ - - * - * Don't miss updating src/Composer/Plugin.php when adding a new supported class. - */ -final class CommonPsr17ClassesStrategy implements DiscoveryStrategy -{ - /** - * @var array - */ - private static $classes = [ - RequestFactoryInterface::class => [ - 'Phalcon\Http\Message\RequestFactory', - 'Nyholm\Psr7\Factory\Psr17Factory', - 'GuzzleHttp\Psr7\HttpFactory', - 'Http\Factory\Diactoros\RequestFactory', - 'Http\Factory\Guzzle\RequestFactory', - 'Http\Factory\Slim\RequestFactory', - 'Laminas\Diactoros\RequestFactory', - 'Slim\Psr7\Factory\RequestFactory', - 'HttpSoft\Message\RequestFactory', - ], - ResponseFactoryInterface::class => [ - 'Phalcon\Http\Message\ResponseFactory', - 'Nyholm\Psr7\Factory\Psr17Factory', - 'GuzzleHttp\Psr7\HttpFactory', - 'Http\Factory\Diactoros\ResponseFactory', - 'Http\Factory\Guzzle\ResponseFactory', - 'Http\Factory\Slim\ResponseFactory', - 'Laminas\Diactoros\ResponseFactory', - 'Slim\Psr7\Factory\ResponseFactory', - 'HttpSoft\Message\ResponseFactory', - ], - ServerRequestFactoryInterface::class => [ - 'Phalcon\Http\Message\ServerRequestFactory', - 'Nyholm\Psr7\Factory\Psr17Factory', - 'GuzzleHttp\Psr7\HttpFactory', - 'Http\Factory\Diactoros\ServerRequestFactory', - 'Http\Factory\Guzzle\ServerRequestFactory', - 'Http\Factory\Slim\ServerRequestFactory', - 'Laminas\Diactoros\ServerRequestFactory', - 'Slim\Psr7\Factory\ServerRequestFactory', - 'HttpSoft\Message\ServerRequestFactory', - ], - StreamFactoryInterface::class => [ - 'Phalcon\Http\Message\StreamFactory', - 'Nyholm\Psr7\Factory\Psr17Factory', - 'GuzzleHttp\Psr7\HttpFactory', - 'Http\Factory\Diactoros\StreamFactory', - 'Http\Factory\Guzzle\StreamFactory', - 'Http\Factory\Slim\StreamFactory', - 'Laminas\Diactoros\StreamFactory', - 'Slim\Psr7\Factory\StreamFactory', - 'HttpSoft\Message\StreamFactory', - ], - UploadedFileFactoryInterface::class => [ - 'Phalcon\Http\Message\UploadedFileFactory', - 'Nyholm\Psr7\Factory\Psr17Factory', - 'GuzzleHttp\Psr7\HttpFactory', - 'Http\Factory\Diactoros\UploadedFileFactory', - 'Http\Factory\Guzzle\UploadedFileFactory', - 'Http\Factory\Slim\UploadedFileFactory', - 'Laminas\Diactoros\UploadedFileFactory', - 'Slim\Psr7\Factory\UploadedFileFactory', - 'HttpSoft\Message\UploadedFileFactory', - ], - UriFactoryInterface::class => [ - 'Phalcon\Http\Message\UriFactory', - 'Nyholm\Psr7\Factory\Psr17Factory', - 'GuzzleHttp\Psr7\HttpFactory', - 'Http\Factory\Diactoros\UriFactory', - 'Http\Factory\Guzzle\UriFactory', - 'Http\Factory\Slim\UriFactory', - 'Laminas\Diactoros\UriFactory', - 'Slim\Psr7\Factory\UriFactory', - 'HttpSoft\Message\UriFactory', - ], - ]; - - public static function getCandidates($type) - { - $candidates = []; - if (isset(self::$classes[$type])) { - foreach (self::$classes[$type] as $class) { - $candidates[] = ['class' => $class, 'condition' => [$class]]; - } - } - - return $candidates; - } -} diff --git a/vendor/php-http/discovery/src/Strategy/DiscoveryStrategy.php b/vendor/php-http/discovery/src/Strategy/DiscoveryStrategy.php deleted file mode 100644 index 1eadb145b..000000000 --- a/vendor/php-http/discovery/src/Strategy/DiscoveryStrategy.php +++ /dev/null @@ -1,23 +0,0 @@ - - */ -interface DiscoveryStrategy -{ - /** - * Find a resource of a specific type. - * - * @param string $type - * - * @return array The return value is always an array with zero or more elements. Each - * element is an array with two keys ['class' => string, 'condition' => mixed]. - * - * @throws StrategyUnavailableException if we cannot use this strategy - */ - public static function getCandidates($type); -} diff --git a/vendor/php-http/discovery/src/Strategy/MockClientStrategy.php b/vendor/php-http/discovery/src/Strategy/MockClientStrategy.php deleted file mode 100644 index 77b9d276f..000000000 --- a/vendor/php-http/discovery/src/Strategy/MockClientStrategy.php +++ /dev/null @@ -1,24 +0,0 @@ - - */ -final class MockClientStrategy implements DiscoveryStrategy -{ - public static function getCandidates($type) - { - if (is_a(HttpClient::class, $type, true) || is_a(HttpAsyncClient::class, $type, true)) { - return [['class' => Mock::class, 'condition' => Mock::class]]; - } - - return []; - } -} diff --git a/vendor/php-http/discovery/src/Strategy/PuliBetaStrategy.php b/vendor/php-http/discovery/src/Strategy/PuliBetaStrategy.php deleted file mode 100644 index 74b78b83f..000000000 --- a/vendor/php-http/discovery/src/Strategy/PuliBetaStrategy.php +++ /dev/null @@ -1,90 +0,0 @@ - - * @author Márk Sági-Kazár - */ -class PuliBetaStrategy implements DiscoveryStrategy -{ - /** - * @var GeneratedPuliFactory - */ - protected static $puliFactory; - - /** - * @var Discovery - */ - protected static $puliDiscovery; - - /** - * @return GeneratedPuliFactory - * - * @throws PuliUnavailableException - */ - private static function getPuliFactory() - { - if (null === self::$puliFactory) { - if (!defined('PULI_FACTORY_CLASS')) { - throw new PuliUnavailableException('Puli Factory is not available'); - } - - $puliFactoryClass = PULI_FACTORY_CLASS; - - if (!ClassDiscovery::safeClassExists($puliFactoryClass)) { - throw new PuliUnavailableException('Puli Factory class does not exist'); - } - - self::$puliFactory = new $puliFactoryClass(); - } - - return self::$puliFactory; - } - - /** - * Returns the Puli discovery layer. - * - * @return Discovery - * - * @throws PuliUnavailableException - */ - private static function getPuliDiscovery() - { - if (!isset(self::$puliDiscovery)) { - $factory = self::getPuliFactory(); - $repository = $factory->createRepository(); - - self::$puliDiscovery = $factory->createDiscovery($repository); - } - - return self::$puliDiscovery; - } - - public static function getCandidates($type) - { - $returnData = []; - $bindings = self::getPuliDiscovery()->findBindings($type); - - foreach ($bindings as $binding) { - $condition = true; - if ($binding->hasParameterValue('depends')) { - $condition = $binding->getParameterValue('depends'); - } - $returnData[] = ['class' => $binding->getClassName(), 'condition' => $condition]; - } - - return $returnData; - } -} diff --git a/vendor/php-http/discovery/src/StreamFactoryDiscovery.php b/vendor/php-http/discovery/src/StreamFactoryDiscovery.php deleted file mode 100644 index e11c49ae2..000000000 --- a/vendor/php-http/discovery/src/StreamFactoryDiscovery.php +++ /dev/null @@ -1,34 +0,0 @@ - - * - * @deprecated This will be removed in 2.0. Consider using Psr17FactoryDiscovery. - */ -final class StreamFactoryDiscovery extends ClassDiscovery -{ - /** - * Finds a Stream Factory. - * - * @return StreamFactory - * - * @throws Exception\NotFoundException - */ - public static function find() - { - try { - $streamFactory = static::findOneByType(StreamFactory::class); - } catch (DiscoveryFailedException $e) { - throw new NotFoundException('No stream factories found. To use Guzzle, Diactoros or Slim Framework factories install php-http/message and the chosen message implementation.', 0, $e); - } - - return static::instantiateClass($streamFactory); - } -} diff --git a/vendor/php-http/discovery/src/UriFactoryDiscovery.php b/vendor/php-http/discovery/src/UriFactoryDiscovery.php deleted file mode 100644 index db3add206..000000000 --- a/vendor/php-http/discovery/src/UriFactoryDiscovery.php +++ /dev/null @@ -1,34 +0,0 @@ - - * - * @deprecated This will be removed in 2.0. Consider using Psr17FactoryDiscovery. - */ -final class UriFactoryDiscovery extends ClassDiscovery -{ - /** - * Finds a URI Factory. - * - * @return UriFactory - * - * @throws Exception\NotFoundException - */ - public static function find() - { - try { - $uriFactory = static::findOneByType(UriFactory::class); - } catch (DiscoveryFailedException $e) { - throw new NotFoundException('No uri factories found. To use Guzzle, Diactoros or Slim Framework factories install php-http/message and the chosen message implementation.', 0, $e); - } - - return static::instantiateClass($uriFactory); - } -} diff --git a/vendor/psr/log/LICENSE b/vendor/psr/log/LICENSE deleted file mode 100644 index 474c952b4..000000000 --- a/vendor/psr/log/LICENSE +++ /dev/null @@ -1,19 +0,0 @@ -Copyright (c) 2012 PHP Framework Interoperability Group - -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/psr/log/README.md b/vendor/psr/log/README.md deleted file mode 100644 index a9f20c437..000000000 --- a/vendor/psr/log/README.md +++ /dev/null @@ -1,58 +0,0 @@ -PSR Log -======= - -This repository holds all interfaces/classes/traits related to -[PSR-3](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-3-logger-interface.md). - -Note that this is not a logger of its own. It is merely an interface that -describes a logger. See the specification for more details. - -Installation ------------- - -```bash -composer require psr/log -``` - -Usage ------ - -If you need a logger, you can use the interface like this: - -```php -logger = $logger; - } - - public function doSomething() - { - if ($this->logger) { - $this->logger->info('Doing work'); - } - - try { - $this->doSomethingElse(); - } catch (Exception $exception) { - $this->logger->error('Oh no!', array('exception' => $exception)); - } - - // do something useful - } -} -``` - -You can then pick one of the implementations of the interface to get a logger. - -If you want to implement the interface, you can require this package and -implement `Psr\Log\LoggerInterface` in your code. Please read the -[specification text](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-3-logger-interface.md) -for details. diff --git a/vendor/psr/log/composer.json b/vendor/psr/log/composer.json deleted file mode 100644 index 879fc6f53..000000000 --- a/vendor/psr/log/composer.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "name": "psr/log", - "description": "Common interface for logging libraries", - "keywords": ["psr", "psr-3", "log"], - "homepage": "https://github.com/php-fig/log", - "license": "MIT", - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "require": { - "php": ">=8.0.0" - }, - "autoload": { - "psr-4": { - "Psr\\Log\\": "src" - } - }, - "extra": { - "branch-alias": { - "dev-master": "3.x-dev" - } - } -} diff --git a/vendor/psr/log/src/AbstractLogger.php b/vendor/psr/log/src/AbstractLogger.php deleted file mode 100644 index d60a091af..000000000 --- a/vendor/psr/log/src/AbstractLogger.php +++ /dev/null @@ -1,15 +0,0 @@ -logger = $logger; - } -} diff --git a/vendor/psr/log/src/LoggerInterface.php b/vendor/psr/log/src/LoggerInterface.php deleted file mode 100644 index b3a24b5f7..000000000 --- a/vendor/psr/log/src/LoggerInterface.php +++ /dev/null @@ -1,125 +0,0 @@ -log(LogLevel::EMERGENCY, $message, $context); - } - - /** - * Action must be taken immediately. - * - * Example: Entire website down, database unavailable, etc. This should - * trigger the SMS alerts and wake you up. - * - * @param string|\Stringable $message - * @param array $context - * - * @return void - */ - public function alert(string|\Stringable $message, array $context = []): void - { - $this->log(LogLevel::ALERT, $message, $context); - } - - /** - * Critical conditions. - * - * Example: Application component unavailable, unexpected exception. - * - * @param string|\Stringable $message - * @param array $context - * - * @return void - */ - public function critical(string|\Stringable $message, array $context = []): void - { - $this->log(LogLevel::CRITICAL, $message, $context); - } - - /** - * Runtime errors that do not require immediate action but should typically - * be logged and monitored. - * - * @param string|\Stringable $message - * @param array $context - * - * @return void - */ - public function error(string|\Stringable $message, array $context = []): void - { - $this->log(LogLevel::ERROR, $message, $context); - } - - /** - * Exceptional occurrences that are not errors. - * - * Example: Use of deprecated APIs, poor use of an API, undesirable things - * that are not necessarily wrong. - * - * @param string|\Stringable $message - * @param array $context - * - * @return void - */ - public function warning(string|\Stringable $message, array $context = []): void - { - $this->log(LogLevel::WARNING, $message, $context); - } - - /** - * Normal but significant events. - * - * @param string|\Stringable $message - * @param array $context - * - * @return void - */ - public function notice(string|\Stringable $message, array $context = []): void - { - $this->log(LogLevel::NOTICE, $message, $context); - } - - /** - * Interesting events. - * - * Example: User logs in, SQL logs. - * - * @param string|\Stringable $message - * @param array $context - * - * @return void - */ - public function info(string|\Stringable $message, array $context = []): void - { - $this->log(LogLevel::INFO, $message, $context); - } - - /** - * Detailed debug information. - * - * @param string|\Stringable $message - * @param array $context - * - * @return void - */ - public function debug(string|\Stringable $message, array $context = []): void - { - $this->log(LogLevel::DEBUG, $message, $context); - } - - /** - * Logs with an arbitrary level. - * - * @param mixed $level - * @param string|\Stringable $message - * @param array $context - * - * @return void - * - * @throws \Psr\Log\InvalidArgumentException - */ - abstract public function log($level, string|\Stringable $message, array $context = []): void; -} diff --git a/vendor/psr/log/src/NullLogger.php b/vendor/psr/log/src/NullLogger.php deleted file mode 100644 index c1cc3c069..000000000 --- a/vendor/psr/log/src/NullLogger.php +++ /dev/null @@ -1,30 +0,0 @@ -logger) { }` - * blocks. - */ -class NullLogger extends AbstractLogger -{ - /** - * Logs with an arbitrary level. - * - * @param mixed $level - * @param string|\Stringable $message - * @param array $context - * - * @return void - * - * @throws \Psr\Log\InvalidArgumentException - */ - public function log($level, string|\Stringable $message, array $context = []): void - { - // noop - } -} diff --git a/vendor/symfony/polyfill-mbstring/LICENSE b/vendor/symfony/polyfill-mbstring/LICENSE deleted file mode 100644 index 6e3afce69..000000000 --- a/vendor/symfony/polyfill-mbstring/LICENSE +++ /dev/null @@ -1,19 +0,0 @@ -Copyright (c) 2015-present Fabien Potencier - -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/symfony/polyfill-mbstring/Mbstring.php b/vendor/symfony/polyfill-mbstring/Mbstring.php deleted file mode 100644 index 2e0b96940..000000000 --- a/vendor/symfony/polyfill-mbstring/Mbstring.php +++ /dev/null @@ -1,947 +0,0 @@ - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace Symfony\Polyfill\Mbstring; - -/** - * Partial mbstring implementation in PHP, iconv based, UTF-8 centric. - * - * Implemented: - * - mb_chr - Returns a specific character from its Unicode code point - * - mb_convert_encoding - Convert character encoding - * - mb_convert_variables - Convert character code in variable(s) - * - mb_decode_mimeheader - Decode string in MIME header field - * - mb_encode_mimeheader - Encode string for MIME header XXX NATIVE IMPLEMENTATION IS REALLY BUGGED - * - mb_decode_numericentity - Decode HTML numeric string reference to character - * - mb_encode_numericentity - Encode character to HTML numeric string reference - * - mb_convert_case - Perform case folding on a string - * - mb_detect_encoding - Detect character encoding - * - mb_get_info - Get internal settings of mbstring - * - mb_http_input - Detect HTTP input character encoding - * - mb_http_output - Set/Get HTTP output character encoding - * - mb_internal_encoding - Set/Get internal character encoding - * - mb_list_encodings - Returns an array of all supported encodings - * - mb_ord - Returns the Unicode code point of a character - * - mb_output_handler - Callback function converts character encoding in output buffer - * - mb_scrub - Replaces ill-formed byte sequences with substitute characters - * - mb_strlen - Get string length - * - mb_strpos - Find position of first occurrence of string in a string - * - mb_strrpos - Find position of last occurrence of a string in a string - * - mb_str_split - Convert a string to an array - * - mb_strtolower - Make a string lowercase - * - mb_strtoupper - Make a string uppercase - * - mb_substitute_character - Set/Get substitution character - * - mb_substr - Get part of string - * - mb_stripos - Finds position of first occurrence of a string within another, case insensitive - * - mb_stristr - Finds first occurrence of a string within another, case insensitive - * - mb_strrchr - Finds the last occurrence of a character in a string within another - * - mb_strrichr - Finds the last occurrence of a character in a string within another, case insensitive - * - mb_strripos - Finds position of last occurrence of a string within another, case insensitive - * - mb_strstr - Finds first occurrence of a string within another - * - mb_strwidth - Return width of string - * - mb_substr_count - Count the number of substring occurrences - * - * Not implemented: - * - mb_convert_kana - Convert "kana" one from another ("zen-kaku", "han-kaku" and more) - * - mb_ereg_* - Regular expression with multibyte support - * - mb_parse_str - Parse GET/POST/COOKIE data and set global variable - * - mb_preferred_mime_name - Get MIME charset string - * - mb_regex_encoding - Returns current encoding for multibyte regex as string - * - mb_regex_set_options - Set/Get the default options for mbregex functions - * - mb_send_mail - Send encoded mail - * - mb_split - Split multibyte string using regular expression - * - mb_strcut - Get part of string - * - mb_strimwidth - Get truncated string with specified width - * - * @author Nicolas Grekas - * - * @internal - */ -final class Mbstring -{ - public const MB_CASE_FOLD = \PHP_INT_MAX; - - private const SIMPLE_CASE_FOLD = [ - ['µ', 'ſ', "\xCD\x85", 'ς', "\xCF\x90", "\xCF\x91", "\xCF\x95", "\xCF\x96", "\xCF\xB0", "\xCF\xB1", "\xCF\xB5", "\xE1\xBA\x9B", "\xE1\xBE\xBE"], - ['μ', 's', 'ι', 'σ', 'β', 'θ', 'φ', 'π', 'κ', 'ρ', 'ε', "\xE1\xB9\xA1", 'ι'], - ]; - - private static $encodingList = ['ASCII', 'UTF-8']; - private static $language = 'neutral'; - private static $internalEncoding = 'UTF-8'; - - public static function mb_convert_encoding($s, $toEncoding, $fromEncoding = null) - { - if (\is_array($fromEncoding) || (null !== $fromEncoding && false !== strpos($fromEncoding, ','))) { - $fromEncoding = self::mb_detect_encoding($s, $fromEncoding); - } else { - $fromEncoding = self::getEncoding($fromEncoding); - } - - $toEncoding = self::getEncoding($toEncoding); - - if ('BASE64' === $fromEncoding) { - $s = base64_decode($s); - $fromEncoding = $toEncoding; - } - - if ('BASE64' === $toEncoding) { - return base64_encode($s); - } - - if ('HTML-ENTITIES' === $toEncoding || 'HTML' === $toEncoding) { - if ('HTML-ENTITIES' === $fromEncoding || 'HTML' === $fromEncoding) { - $fromEncoding = 'Windows-1252'; - } - if ('UTF-8' !== $fromEncoding) { - $s = iconv($fromEncoding, 'UTF-8//IGNORE', $s); - } - - return preg_replace_callback('/[\x80-\xFF]+/', [__CLASS__, 'html_encoding_callback'], $s); - } - - if ('HTML-ENTITIES' === $fromEncoding) { - $s = html_entity_decode($s, \ENT_COMPAT, 'UTF-8'); - $fromEncoding = 'UTF-8'; - } - - return iconv($fromEncoding, $toEncoding.'//IGNORE', $s); - } - - public static function mb_convert_variables($toEncoding, $fromEncoding, &...$vars) - { - $ok = true; - array_walk_recursive($vars, function (&$v) use (&$ok, $toEncoding, $fromEncoding) { - if (false === $v = self::mb_convert_encoding($v, $toEncoding, $fromEncoding)) { - $ok = false; - } - }); - - return $ok ? $fromEncoding : false; - } - - public static function mb_decode_mimeheader($s) - { - return iconv_mime_decode($s, 2, self::$internalEncoding); - } - - public static function mb_encode_mimeheader($s, $charset = null, $transferEncoding = null, $linefeed = null, $indent = null) - { - trigger_error('mb_encode_mimeheader() is bugged. Please use iconv_mime_encode() instead', \E_USER_WARNING); - } - - public static function mb_decode_numericentity($s, $convmap, $encoding = null) - { - if (null !== $s && !\is_scalar($s) && !(\is_object($s) && method_exists($s, '__toString'))) { - trigger_error('mb_decode_numericentity() expects parameter 1 to be string, '.\gettype($s).' given', \E_USER_WARNING); - - return null; - } - - if (!\is_array($convmap) || (80000 > \PHP_VERSION_ID && !$convmap)) { - return false; - } - - if (null !== $encoding && !\is_scalar($encoding)) { - trigger_error('mb_decode_numericentity() expects parameter 3 to be string, '.\gettype($s).' given', \E_USER_WARNING); - - return ''; // Instead of null (cf. mb_encode_numericentity). - } - - $s = (string) $s; - if ('' === $s) { - return ''; - } - - $encoding = self::getEncoding($encoding); - - if ('UTF-8' === $encoding) { - $encoding = null; - if (!preg_match('//u', $s)) { - $s = @iconv('UTF-8', 'UTF-8//IGNORE', $s); - } - } else { - $s = iconv($encoding, 'UTF-8//IGNORE', $s); - } - - $cnt = floor(\count($convmap) / 4) * 4; - - for ($i = 0; $i < $cnt; $i += 4) { - // collector_decode_htmlnumericentity ignores $convmap[$i + 3] - $convmap[$i] += $convmap[$i + 2]; - $convmap[$i + 1] += $convmap[$i + 2]; - } - - $s = preg_replace_callback('/&#(?:0*([0-9]+)|x0*([0-9a-fA-F]+))(?!&);?/', function (array $m) use ($cnt, $convmap) { - $c = isset($m[2]) ? (int) hexdec($m[2]) : $m[1]; - for ($i = 0; $i < $cnt; $i += 4) { - if ($c >= $convmap[$i] && $c <= $convmap[$i + 1]) { - return self::mb_chr($c - $convmap[$i + 2]); - } - } - - return $m[0]; - }, $s); - - if (null === $encoding) { - return $s; - } - - return iconv('UTF-8', $encoding.'//IGNORE', $s); - } - - public static function mb_encode_numericentity($s, $convmap, $encoding = null, $is_hex = false) - { - if (null !== $s && !\is_scalar($s) && !(\is_object($s) && method_exists($s, '__toString'))) { - trigger_error('mb_encode_numericentity() expects parameter 1 to be string, '.\gettype($s).' given', \E_USER_WARNING); - - return null; - } - - if (!\is_array($convmap) || (80000 > \PHP_VERSION_ID && !$convmap)) { - return false; - } - - if (null !== $encoding && !\is_scalar($encoding)) { - trigger_error('mb_encode_numericentity() expects parameter 3 to be string, '.\gettype($s).' given', \E_USER_WARNING); - - return null; // Instead of '' (cf. mb_decode_numericentity). - } - - if (null !== $is_hex && !\is_scalar($is_hex)) { - trigger_error('mb_encode_numericentity() expects parameter 4 to be boolean, '.\gettype($s).' given', \E_USER_WARNING); - - return null; - } - - $s = (string) $s; - if ('' === $s) { - return ''; - } - - $encoding = self::getEncoding($encoding); - - if ('UTF-8' === $encoding) { - $encoding = null; - if (!preg_match('//u', $s)) { - $s = @iconv('UTF-8', 'UTF-8//IGNORE', $s); - } - } else { - $s = iconv($encoding, 'UTF-8//IGNORE', $s); - } - - static $ulenMask = ["\xC0" => 2, "\xD0" => 2, "\xE0" => 3, "\xF0" => 4]; - - $cnt = floor(\count($convmap) / 4) * 4; - $i = 0; - $len = \strlen($s); - $result = ''; - - while ($i < $len) { - $ulen = $s[$i] < "\x80" ? 1 : $ulenMask[$s[$i] & "\xF0"]; - $uchr = substr($s, $i, $ulen); - $i += $ulen; - $c = self::mb_ord($uchr); - - for ($j = 0; $j < $cnt; $j += 4) { - if ($c >= $convmap[$j] && $c <= $convmap[$j + 1]) { - $cOffset = ($c + $convmap[$j + 2]) & $convmap[$j + 3]; - $result .= $is_hex ? sprintf('&#x%X;', $cOffset) : '&#'.$cOffset.';'; - continue 2; - } - } - $result .= $uchr; - } - - if (null === $encoding) { - return $result; - } - - return iconv('UTF-8', $encoding.'//IGNORE', $result); - } - - public static function mb_convert_case($s, $mode, $encoding = null) - { - $s = (string) $s; - if ('' === $s) { - return ''; - } - - $encoding = self::getEncoding($encoding); - - if ('UTF-8' === $encoding) { - $encoding = null; - if (!preg_match('//u', $s)) { - $s = @iconv('UTF-8', 'UTF-8//IGNORE', $s); - } - } else { - $s = iconv($encoding, 'UTF-8//IGNORE', $s); - } - - if (\MB_CASE_TITLE == $mode) { - static $titleRegexp = null; - if (null === $titleRegexp) { - $titleRegexp = self::getData('titleCaseRegexp'); - } - $s = preg_replace_callback($titleRegexp, [__CLASS__, 'title_case'], $s); - } else { - if (\MB_CASE_UPPER == $mode) { - static $upper = null; - if (null === $upper) { - $upper = self::getData('upperCase'); - } - $map = $upper; - } else { - if (self::MB_CASE_FOLD === $mode) { - static $caseFolding = null; - if (null === $caseFolding) { - $caseFolding = self::getData('caseFolding'); - } - $s = strtr($s, $caseFolding); - } - - static $lower = null; - if (null === $lower) { - $lower = self::getData('lowerCase'); - } - $map = $lower; - } - - static $ulenMask = ["\xC0" => 2, "\xD0" => 2, "\xE0" => 3, "\xF0" => 4]; - - $i = 0; - $len = \strlen($s); - - while ($i < $len) { - $ulen = $s[$i] < "\x80" ? 1 : $ulenMask[$s[$i] & "\xF0"]; - $uchr = substr($s, $i, $ulen); - $i += $ulen; - - if (isset($map[$uchr])) { - $uchr = $map[$uchr]; - $nlen = \strlen($uchr); - - if ($nlen == $ulen) { - $nlen = $i; - do { - $s[--$nlen] = $uchr[--$ulen]; - } while ($ulen); - } else { - $s = substr_replace($s, $uchr, $i - $ulen, $ulen); - $len += $nlen - $ulen; - $i += $nlen - $ulen; - } - } - } - } - - if (null === $encoding) { - return $s; - } - - return iconv('UTF-8', $encoding.'//IGNORE', $s); - } - - public static function mb_internal_encoding($encoding = null) - { - if (null === $encoding) { - return self::$internalEncoding; - } - - $normalizedEncoding = self::getEncoding($encoding); - - if ('UTF-8' === $normalizedEncoding || false !== @iconv($normalizedEncoding, $normalizedEncoding, ' ')) { - self::$internalEncoding = $normalizedEncoding; - - return true; - } - - if (80000 > \PHP_VERSION_ID) { - return false; - } - - throw new \ValueError(sprintf('Argument #1 ($encoding) must be a valid encoding, "%s" given', $encoding)); - } - - public static function mb_language($lang = null) - { - if (null === $lang) { - return self::$language; - } - - switch ($normalizedLang = strtolower($lang)) { - case 'uni': - case 'neutral': - self::$language = $normalizedLang; - - return true; - } - - if (80000 > \PHP_VERSION_ID) { - return false; - } - - throw new \ValueError(sprintf('Argument #1 ($language) must be a valid language, "%s" given', $lang)); - } - - public static function mb_list_encodings() - { - return ['UTF-8']; - } - - public static function mb_encoding_aliases($encoding) - { - switch (strtoupper($encoding)) { - case 'UTF8': - case 'UTF-8': - return ['utf8']; - } - - return false; - } - - public static function mb_check_encoding($var = null, $encoding = null) - { - if (PHP_VERSION_ID < 70200 && \is_array($var)) { - trigger_error('mb_check_encoding() expects parameter 1 to be string, array given', \E_USER_WARNING); - - return null; - } - - if (null === $encoding) { - if (null === $var) { - return false; - } - $encoding = self::$internalEncoding; - } - - if (!\is_array($var)) { - return self::mb_detect_encoding($var, [$encoding]) || false !== @iconv($encoding, $encoding, $var); - } - - foreach ($var as $key => $value) { - if (!self::mb_check_encoding($key, $encoding)) { - return false; - } - if (!self::mb_check_encoding($value, $encoding)) { - return false; - } - } - - return true; - - } - - public static function mb_detect_encoding($str, $encodingList = null, $strict = false) - { - if (null === $encodingList) { - $encodingList = self::$encodingList; - } else { - if (!\is_array($encodingList)) { - $encodingList = array_map('trim', explode(',', $encodingList)); - } - $encodingList = array_map('strtoupper', $encodingList); - } - - foreach ($encodingList as $enc) { - switch ($enc) { - case 'ASCII': - if (!preg_match('/[\x80-\xFF]/', $str)) { - return $enc; - } - break; - - case 'UTF8': - case 'UTF-8': - if (preg_match('//u', $str)) { - return 'UTF-8'; - } - break; - - default: - if (0 === strncmp($enc, 'ISO-8859-', 9)) { - return $enc; - } - } - } - - return false; - } - - public static function mb_detect_order($encodingList = null) - { - if (null === $encodingList) { - return self::$encodingList; - } - - if (!\is_array($encodingList)) { - $encodingList = array_map('trim', explode(',', $encodingList)); - } - $encodingList = array_map('strtoupper', $encodingList); - - foreach ($encodingList as $enc) { - switch ($enc) { - default: - if (strncmp($enc, 'ISO-8859-', 9)) { - return false; - } - // no break - case 'ASCII': - case 'UTF8': - case 'UTF-8': - } - } - - self::$encodingList = $encodingList; - - return true; - } - - public static function mb_strlen($s, $encoding = null) - { - $encoding = self::getEncoding($encoding); - if ('CP850' === $encoding || 'ASCII' === $encoding) { - return \strlen($s); - } - - return @iconv_strlen($s, $encoding); - } - - public static function mb_strpos($haystack, $needle, $offset = 0, $encoding = null) - { - $encoding = self::getEncoding($encoding); - if ('CP850' === $encoding || 'ASCII' === $encoding) { - return strpos($haystack, $needle, $offset); - } - - $needle = (string) $needle; - if ('' === $needle) { - if (80000 > \PHP_VERSION_ID) { - trigger_error(__METHOD__.': Empty delimiter', \E_USER_WARNING); - - return false; - } - - return 0; - } - - return iconv_strpos($haystack, $needle, $offset, $encoding); - } - - public static function mb_strrpos($haystack, $needle, $offset = 0, $encoding = null) - { - $encoding = self::getEncoding($encoding); - if ('CP850' === $encoding || 'ASCII' === $encoding) { - return strrpos($haystack, $needle, $offset); - } - - if ($offset != (int) $offset) { - $offset = 0; - } elseif ($offset = (int) $offset) { - if ($offset < 0) { - if (0 > $offset += self::mb_strlen($needle)) { - $haystack = self::mb_substr($haystack, 0, $offset, $encoding); - } - $offset = 0; - } else { - $haystack = self::mb_substr($haystack, $offset, 2147483647, $encoding); - } - } - - $pos = '' !== $needle || 80000 > \PHP_VERSION_ID - ? iconv_strrpos($haystack, $needle, $encoding) - : self::mb_strlen($haystack, $encoding); - - return false !== $pos ? $offset + $pos : false; - } - - public static function mb_str_split($string, $split_length = 1, $encoding = null) - { - if (null !== $string && !\is_scalar($string) && !(\is_object($string) && method_exists($string, '__toString'))) { - trigger_error('mb_str_split() expects parameter 1 to be string, '.\gettype($string).' given', \E_USER_WARNING); - - return null; - } - - if (1 > $split_length = (int) $split_length) { - if (80000 > \PHP_VERSION_ID) { - trigger_error('The length of each segment must be greater than zero', \E_USER_WARNING); - - return false; - } - - throw new \ValueError('Argument #2 ($length) must be greater than 0'); - } - - if (null === $encoding) { - $encoding = mb_internal_encoding(); - } - - if ('UTF-8' === $encoding = self::getEncoding($encoding)) { - $rx = '/('; - while (65535 < $split_length) { - $rx .= '.{65535}'; - $split_length -= 65535; - } - $rx .= '.{'.$split_length.'})/us'; - - return preg_split($rx, $string, -1, \PREG_SPLIT_DELIM_CAPTURE | \PREG_SPLIT_NO_EMPTY); - } - - $result = []; - $length = mb_strlen($string, $encoding); - - for ($i = 0; $i < $length; $i += $split_length) { - $result[] = mb_substr($string, $i, $split_length, $encoding); - } - - return $result; - } - - public static function mb_strtolower($s, $encoding = null) - { - return self::mb_convert_case($s, \MB_CASE_LOWER, $encoding); - } - - public static function mb_strtoupper($s, $encoding = null) - { - return self::mb_convert_case($s, \MB_CASE_UPPER, $encoding); - } - - public static function mb_substitute_character($c = null) - { - if (null === $c) { - return 'none'; - } - if (0 === strcasecmp($c, 'none')) { - return true; - } - if (80000 > \PHP_VERSION_ID) { - return false; - } - if (\is_int($c) || 'long' === $c || 'entity' === $c) { - return false; - } - - throw new \ValueError('Argument #1 ($substitute_character) must be "none", "long", "entity" or a valid codepoint'); - } - - public static function mb_substr($s, $start, $length = null, $encoding = null) - { - $encoding = self::getEncoding($encoding); - if ('CP850' === $encoding || 'ASCII' === $encoding) { - return (string) substr($s, $start, null === $length ? 2147483647 : $length); - } - - if ($start < 0) { - $start = iconv_strlen($s, $encoding) + $start; - if ($start < 0) { - $start = 0; - } - } - - if (null === $length) { - $length = 2147483647; - } elseif ($length < 0) { - $length = iconv_strlen($s, $encoding) + $length - $start; - if ($length < 0) { - return ''; - } - } - - return (string) iconv_substr($s, $start, $length, $encoding); - } - - public static function mb_stripos($haystack, $needle, $offset = 0, $encoding = null) - { - [$haystack, $needle] = str_replace(self::SIMPLE_CASE_FOLD[0], self::SIMPLE_CASE_FOLD[1], [ - self::mb_convert_case($haystack, \MB_CASE_LOWER, $encoding), - self::mb_convert_case($needle, \MB_CASE_LOWER, $encoding), - ]); - - return self::mb_strpos($haystack, $needle, $offset, $encoding); - } - - public static function mb_stristr($haystack, $needle, $part = false, $encoding = null) - { - $pos = self::mb_stripos($haystack, $needle, 0, $encoding); - - return self::getSubpart($pos, $part, $haystack, $encoding); - } - - public static function mb_strrchr($haystack, $needle, $part = false, $encoding = null) - { - $encoding = self::getEncoding($encoding); - if ('CP850' === $encoding || 'ASCII' === $encoding) { - $pos = strrpos($haystack, $needle); - } else { - $needle = self::mb_substr($needle, 0, 1, $encoding); - $pos = iconv_strrpos($haystack, $needle, $encoding); - } - - return self::getSubpart($pos, $part, $haystack, $encoding); - } - - public static function mb_strrichr($haystack, $needle, $part = false, $encoding = null) - { - $needle = self::mb_substr($needle, 0, 1, $encoding); - $pos = self::mb_strripos($haystack, $needle, $encoding); - - return self::getSubpart($pos, $part, $haystack, $encoding); - } - - public static function mb_strripos($haystack, $needle, $offset = 0, $encoding = null) - { - $haystack = self::mb_convert_case($haystack, \MB_CASE_LOWER, $encoding); - $needle = self::mb_convert_case($needle, \MB_CASE_LOWER, $encoding); - - $haystack = str_replace(self::SIMPLE_CASE_FOLD[0], self::SIMPLE_CASE_FOLD[1], $haystack); - $needle = str_replace(self::SIMPLE_CASE_FOLD[0], self::SIMPLE_CASE_FOLD[1], $needle); - - return self::mb_strrpos($haystack, $needle, $offset, $encoding); - } - - public static function mb_strstr($haystack, $needle, $part = false, $encoding = null) - { - $pos = strpos($haystack, $needle); - if (false === $pos) { - return false; - } - if ($part) { - return substr($haystack, 0, $pos); - } - - return substr($haystack, $pos); - } - - public static function mb_get_info($type = 'all') - { - $info = [ - 'internal_encoding' => self::$internalEncoding, - 'http_output' => 'pass', - 'http_output_conv_mimetypes' => '^(text/|application/xhtml\+xml)', - 'func_overload' => 0, - 'func_overload_list' => 'no overload', - 'mail_charset' => 'UTF-8', - 'mail_header_encoding' => 'BASE64', - 'mail_body_encoding' => 'BASE64', - 'illegal_chars' => 0, - 'encoding_translation' => 'Off', - 'language' => self::$language, - 'detect_order' => self::$encodingList, - 'substitute_character' => 'none', - 'strict_detection' => 'Off', - ]; - - if ('all' === $type) { - return $info; - } - if (isset($info[$type])) { - return $info[$type]; - } - - return false; - } - - public static function mb_http_input($type = '') - { - return false; - } - - public static function mb_http_output($encoding = null) - { - return null !== $encoding ? 'pass' === $encoding : 'pass'; - } - - public static function mb_strwidth($s, $encoding = null) - { - $encoding = self::getEncoding($encoding); - - if ('UTF-8' !== $encoding) { - $s = iconv($encoding, 'UTF-8//IGNORE', $s); - } - - $s = preg_replace('/[\x{1100}-\x{115F}\x{2329}\x{232A}\x{2E80}-\x{303E}\x{3040}-\x{A4CF}\x{AC00}-\x{D7A3}\x{F900}-\x{FAFF}\x{FE10}-\x{FE19}\x{FE30}-\x{FE6F}\x{FF00}-\x{FF60}\x{FFE0}-\x{FFE6}\x{20000}-\x{2FFFD}\x{30000}-\x{3FFFD}]/u', '', $s, -1, $wide); - - return ($wide << 1) + iconv_strlen($s, 'UTF-8'); - } - - public static function mb_substr_count($haystack, $needle, $encoding = null) - { - return substr_count($haystack, $needle); - } - - public static function mb_output_handler($contents, $status) - { - return $contents; - } - - public static function mb_chr($code, $encoding = null) - { - if (0x80 > $code %= 0x200000) { - $s = \chr($code); - } elseif (0x800 > $code) { - $s = \chr(0xC0 | $code >> 6).\chr(0x80 | $code & 0x3F); - } elseif (0x10000 > $code) { - $s = \chr(0xE0 | $code >> 12).\chr(0x80 | $code >> 6 & 0x3F).\chr(0x80 | $code & 0x3F); - } else { - $s = \chr(0xF0 | $code >> 18).\chr(0x80 | $code >> 12 & 0x3F).\chr(0x80 | $code >> 6 & 0x3F).\chr(0x80 | $code & 0x3F); - } - - if ('UTF-8' !== $encoding = self::getEncoding($encoding)) { - $s = mb_convert_encoding($s, $encoding, 'UTF-8'); - } - - return $s; - } - - public static function mb_ord($s, $encoding = null) - { - if ('UTF-8' !== $encoding = self::getEncoding($encoding)) { - $s = mb_convert_encoding($s, 'UTF-8', $encoding); - } - - if (1 === \strlen($s)) { - return \ord($s); - } - - $code = ($s = unpack('C*', substr($s, 0, 4))) ? $s[1] : 0; - if (0xF0 <= $code) { - return (($code - 0xF0) << 18) + (($s[2] - 0x80) << 12) + (($s[3] - 0x80) << 6) + $s[4] - 0x80; - } - if (0xE0 <= $code) { - return (($code - 0xE0) << 12) + (($s[2] - 0x80) << 6) + $s[3] - 0x80; - } - if (0xC0 <= $code) { - return (($code - 0xC0) << 6) + $s[2] - 0x80; - } - - return $code; - } - - public static function mb_str_pad(string $string, int $length, string $pad_string = ' ', int $pad_type = \STR_PAD_RIGHT, string $encoding = null): string - { - if (!\in_array($pad_type, [\STR_PAD_RIGHT, \STR_PAD_LEFT, \STR_PAD_BOTH], true)) { - throw new \ValueError('mb_str_pad(): Argument #4 ($pad_type) must be STR_PAD_LEFT, STR_PAD_RIGHT, or STR_PAD_BOTH'); - } - - if (null === $encoding) { - $encoding = self::mb_internal_encoding(); - } - - try { - $validEncoding = @self::mb_check_encoding('', $encoding); - } catch (\ValueError $e) { - throw new \ValueError(sprintf('mb_str_pad(): Argument #5 ($encoding) must be a valid encoding, "%s" given', $encoding)); - } - - // BC for PHP 7.3 and lower - if (!$validEncoding) { - throw new \ValueError(sprintf('mb_str_pad(): Argument #5 ($encoding) must be a valid encoding, "%s" given', $encoding)); - } - - if (self::mb_strlen($pad_string, $encoding) <= 0) { - throw new \ValueError('mb_str_pad(): Argument #3 ($pad_string) must be a non-empty string'); - } - - $paddingRequired = $length - self::mb_strlen($string, $encoding); - - if ($paddingRequired < 1) { - return $string; - } - - switch ($pad_type) { - case \STR_PAD_LEFT: - return self::mb_substr(str_repeat($pad_string, $paddingRequired), 0, $paddingRequired, $encoding).$string; - case \STR_PAD_RIGHT: - return $string.self::mb_substr(str_repeat($pad_string, $paddingRequired), 0, $paddingRequired, $encoding); - default: - $leftPaddingLength = floor($paddingRequired / 2); - $rightPaddingLength = $paddingRequired - $leftPaddingLength; - - return self::mb_substr(str_repeat($pad_string, $leftPaddingLength), 0, $leftPaddingLength, $encoding).$string.self::mb_substr(str_repeat($pad_string, $rightPaddingLength), 0, $rightPaddingLength, $encoding); - } - } - - private static function getSubpart($pos, $part, $haystack, $encoding) - { - if (false === $pos) { - return false; - } - if ($part) { - return self::mb_substr($haystack, 0, $pos, $encoding); - } - - return self::mb_substr($haystack, $pos, null, $encoding); - } - - private static function html_encoding_callback(array $m) - { - $i = 1; - $entities = ''; - $m = unpack('C*', htmlentities($m[0], \ENT_COMPAT, 'UTF-8')); - - while (isset($m[$i])) { - if (0x80 > $m[$i]) { - $entities .= \chr($m[$i++]); - continue; - } - if (0xF0 <= $m[$i]) { - $c = (($m[$i++] - 0xF0) << 18) + (($m[$i++] - 0x80) << 12) + (($m[$i++] - 0x80) << 6) + $m[$i++] - 0x80; - } elseif (0xE0 <= $m[$i]) { - $c = (($m[$i++] - 0xE0) << 12) + (($m[$i++] - 0x80) << 6) + $m[$i++] - 0x80; - } else { - $c = (($m[$i++] - 0xC0) << 6) + $m[$i++] - 0x80; - } - - $entities .= '&#'.$c.';'; - } - - return $entities; - } - - private static function title_case(array $s) - { - return self::mb_convert_case($s[1], \MB_CASE_UPPER, 'UTF-8').self::mb_convert_case($s[2], \MB_CASE_LOWER, 'UTF-8'); - } - - private static function getData($file) - { - if (file_exists($file = __DIR__.'/Resources/unidata/'.$file.'.php')) { - return require $file; - } - - return false; - } - - private static function getEncoding($encoding) - { - if (null === $encoding) { - return self::$internalEncoding; - } - - if ('UTF-8' === $encoding) { - return 'UTF-8'; - } - - $encoding = strtoupper($encoding); - - if ('8BIT' === $encoding || 'BINARY' === $encoding) { - return 'CP850'; - } - - if ('UTF8' === $encoding) { - return 'UTF-8'; - } - - return $encoding; - } -} diff --git a/vendor/symfony/polyfill-mbstring/README.md b/vendor/symfony/polyfill-mbstring/README.md deleted file mode 100644 index 478b40da2..000000000 --- a/vendor/symfony/polyfill-mbstring/README.md +++ /dev/null @@ -1,13 +0,0 @@ -Symfony Polyfill / Mbstring -=========================== - -This component provides a partial, native PHP implementation for the -[Mbstring](https://php.net/mbstring) extension. - -More information can be found in the -[main Polyfill README](https://github.com/symfony/polyfill/blob/main/README.md). - -License -======= - -This library is released under the [MIT license](LICENSE). diff --git a/vendor/symfony/polyfill-mbstring/Resources/unidata/caseFolding.php b/vendor/symfony/polyfill-mbstring/Resources/unidata/caseFolding.php deleted file mode 100644 index 512bba0bf..000000000 --- a/vendor/symfony/polyfill-mbstring/Resources/unidata/caseFolding.php +++ /dev/null @@ -1,119 +0,0 @@ - 'i̇', - 'µ' => 'μ', - 'ſ' => 's', - 'ͅ' => 'ι', - 'ς' => 'σ', - 'ϐ' => 'β', - 'ϑ' => 'θ', - 'ϕ' => 'φ', - 'ϖ' => 'π', - 'ϰ' => 'κ', - 'ϱ' => 'ρ', - 'ϵ' => 'ε', - 'ẛ' => 'ṡ', - 'ι' => 'ι', - 'ß' => 'ss', - 'ʼn' => 'ʼn', - 'ǰ' => 'ǰ', - 'ΐ' => 'ΐ', - 'ΰ' => 'ΰ', - 'և' => 'եւ', - 'ẖ' => 'ẖ', - 'ẗ' => 'ẗ', - 'ẘ' => 'ẘ', - 'ẙ' => 'ẙ', - 'ẚ' => 'aʾ', - 'ẞ' => 'ss', - 'ὐ' => 'ὐ', - 'ὒ' => 'ὒ', - 'ὔ' => 'ὔ', - 'ὖ' => 'ὖ', - 'ᾀ' => 'ἀι', - 'ᾁ' => 'ἁι', - 'ᾂ' => 'ἂι', - 'ᾃ' => 'ἃι', - 'ᾄ' => 'ἄι', - 'ᾅ' => 'ἅι', - 'ᾆ' => 'ἆι', - 'ᾇ' => 'ἇι', - 'ᾈ' => 'ἀι', - 'ᾉ' => 'ἁι', - 'ᾊ' => 'ἂι', - 'ᾋ' => 'ἃι', - 'ᾌ' => 'ἄι', - 'ᾍ' => 'ἅι', - 'ᾎ' => 'ἆι', - 'ᾏ' => 'ἇι', - 'ᾐ' => 'ἠι', - 'ᾑ' => 'ἡι', - 'ᾒ' => 'ἢι', - 'ᾓ' => 'ἣι', - 'ᾔ' => 'ἤι', - 'ᾕ' => 'ἥι', - 'ᾖ' => 'ἦι', - 'ᾗ' => 'ἧι', - 'ᾘ' => 'ἠι', - 'ᾙ' => 'ἡι', - 'ᾚ' => 'ἢι', - 'ᾛ' => 'ἣι', - 'ᾜ' => 'ἤι', - 'ᾝ' => 'ἥι', - 'ᾞ' => 'ἦι', - 'ᾟ' => 'ἧι', - 'ᾠ' => 'ὠι', - 'ᾡ' => 'ὡι', - 'ᾢ' => 'ὢι', - 'ᾣ' => 'ὣι', - 'ᾤ' => 'ὤι', - 'ᾥ' => 'ὥι', - 'ᾦ' => 'ὦι', - 'ᾧ' => 'ὧι', - 'ᾨ' => 'ὠι', - 'ᾩ' => 'ὡι', - 'ᾪ' => 'ὢι', - 'ᾫ' => 'ὣι', - 'ᾬ' => 'ὤι', - 'ᾭ' => 'ὥι', - 'ᾮ' => 'ὦι', - 'ᾯ' => 'ὧι', - 'ᾲ' => 'ὰι', - 'ᾳ' => 'αι', - 'ᾴ' => 'άι', - 'ᾶ' => 'ᾶ', - 'ᾷ' => 'ᾶι', - 'ᾼ' => 'αι', - 'ῂ' => 'ὴι', - 'ῃ' => 'ηι', - 'ῄ' => 'ήι', - 'ῆ' => 'ῆ', - 'ῇ' => 'ῆι', - 'ῌ' => 'ηι', - 'ῒ' => 'ῒ', - 'ῖ' => 'ῖ', - 'ῗ' => 'ῗ', - 'ῢ' => 'ῢ', - 'ῤ' => 'ῤ', - 'ῦ' => 'ῦ', - 'ῧ' => 'ῧ', - 'ῲ' => 'ὼι', - 'ῳ' => 'ωι', - 'ῴ' => 'ώι', - 'ῶ' => 'ῶ', - 'ῷ' => 'ῶι', - 'ῼ' => 'ωι', - 'ff' => 'ff', - 'fi' => 'fi', - 'fl' => 'fl', - 'ffi' => 'ffi', - 'ffl' => 'ffl', - 'ſt' => 'st', - 'st' => 'st', - 'ﬓ' => 'մն', - 'ﬔ' => 'մե', - 'ﬕ' => 'մի', - 'ﬖ' => 'վն', - 'ﬗ' => 'մխ', -]; diff --git a/vendor/symfony/polyfill-mbstring/Resources/unidata/lowerCase.php b/vendor/symfony/polyfill-mbstring/Resources/unidata/lowerCase.php deleted file mode 100644 index fac60b081..000000000 --- a/vendor/symfony/polyfill-mbstring/Resources/unidata/lowerCase.php +++ /dev/null @@ -1,1397 +0,0 @@ - 'a', - 'B' => 'b', - 'C' => 'c', - 'D' => 'd', - 'E' => 'e', - 'F' => 'f', - 'G' => 'g', - 'H' => 'h', - 'I' => 'i', - 'J' => 'j', - 'K' => 'k', - 'L' => 'l', - 'M' => 'm', - 'N' => 'n', - 'O' => 'o', - 'P' => 'p', - 'Q' => 'q', - 'R' => 'r', - 'S' => 's', - 'T' => 't', - 'U' => 'u', - 'V' => 'v', - 'W' => 'w', - 'X' => 'x', - 'Y' => 'y', - 'Z' => 'z', - 'À' => 'à', - 'Á' => 'á', - 'Â' => 'â', - 'Ã' => 'ã', - 'Ä' => 'ä', - 'Å' => 'å', - 'Æ' => 'æ', - 'Ç' => 'ç', - 'È' => 'è', - 'É' => 'é', - 'Ê' => 'ê', - 'Ë' => 'ë', - 'Ì' => 'ì', - 'Í' => 'í', - 'Î' => 'î', - 'Ï' => 'ï', - 'Ð' => 'ð', - 'Ñ' => 'ñ', - 'Ò' => 'ò', - 'Ó' => 'ó', - 'Ô' => 'ô', - 'Õ' => 'õ', - 'Ö' => 'ö', - 'Ø' => 'ø', - 'Ù' => 'ù', - 'Ú' => 'ú', - 'Û' => 'û', - 'Ü' => 'ü', - 'Ý' => 'ý', - 'Þ' => 'þ', - 'Ā' => 'ā', - 'Ă' => 'ă', - 'Ą' => 'ą', - 'Ć' => 'ć', - 'Ĉ' => 'ĉ', - 'Ċ' => 'ċ', - 'Č' => 'č', - 'Ď' => 'ď', - 'Đ' => 'đ', - 'Ē' => 'ē', - 'Ĕ' => 'ĕ', - 'Ė' => 'ė', - 'Ę' => 'ę', - 'Ě' => 'ě', - 'Ĝ' => 'ĝ', - 'Ğ' => 'ğ', - 'Ġ' => 'ġ', - 'Ģ' => 'ģ', - 'Ĥ' => 'ĥ', - 'Ħ' => 'ħ', - 'Ĩ' => 'ĩ', - 'Ī' => 'ī', - 'Ĭ' => 'ĭ', - 'Į' => 'į', - 'İ' => 'i̇', - 'IJ' => 'ij', - 'Ĵ' => 'ĵ', - 'Ķ' => 'ķ', - 'Ĺ' => 'ĺ', - 'Ļ' => 'ļ', - 'Ľ' => 'ľ', - 'Ŀ' => 'ŀ', - 'Ł' => 'ł', - 'Ń' => 'ń', - 'Ņ' => 'ņ', - 'Ň' => 'ň', - 'Ŋ' => 'ŋ', - 'Ō' => 'ō', - 'Ŏ' => 'ŏ', - 'Ő' => 'ő', - 'Œ' => 'œ', - 'Ŕ' => 'ŕ', - 'Ŗ' => 'ŗ', - 'Ř' => 'ř', - 'Ś' => 'ś', - 'Ŝ' => 'ŝ', - 'Ş' => 'ş', - 'Š' => 'š', - 'Ţ' => 'ţ', - 'Ť' => 'ť', - 'Ŧ' => 'ŧ', - 'Ũ' => 'ũ', - 'Ū' => 'ū', - 'Ŭ' => 'ŭ', - 'Ů' => 'ů', - 'Ű' => 'ű', - 'Ų' => 'ų', - 'Ŵ' => 'ŵ', - 'Ŷ' => 'ŷ', - 'Ÿ' => 'ÿ', - 'Ź' => 'ź', - 'Ż' => 'ż', - 'Ž' => 'ž', - 'Ɓ' => 'ɓ', - 'Ƃ' => 'ƃ', - 'Ƅ' => 'ƅ', - 'Ɔ' => 'ɔ', - 'Ƈ' => 'ƈ', - 'Ɖ' => 'ɖ', - 'Ɗ' => 'ɗ', - 'Ƌ' => 'ƌ', - 'Ǝ' => 'ǝ', - 'Ə' => 'ə', - 'Ɛ' => 'ɛ', - 'Ƒ' => 'ƒ', - 'Ɠ' => 'ɠ', - 'Ɣ' => 'ɣ', - 'Ɩ' => 'ɩ', - 'Ɨ' => 'ɨ', - 'Ƙ' => 'ƙ', - 'Ɯ' => 'ɯ', - 'Ɲ' => 'ɲ', - 'Ɵ' => 'ɵ', - 'Ơ' => 'ơ', - 'Ƣ' => 'ƣ', - 'Ƥ' => 'ƥ', - 'Ʀ' => 'ʀ', - 'Ƨ' => 'ƨ', - 'Ʃ' => 'ʃ', - 'Ƭ' => 'ƭ', - 'Ʈ' => 'ʈ', - 'Ư' => 'ư', - 'Ʊ' => 'ʊ', - 'Ʋ' => 'ʋ', - 'Ƴ' => 'ƴ', - 'Ƶ' => 'ƶ', - 'Ʒ' => 'ʒ', - 'Ƹ' => 'ƹ', - 'Ƽ' => 'ƽ', - 'DŽ' => 'dž', - 'Dž' => 'dž', - 'LJ' => 'lj', - 'Lj' => 'lj', - 'NJ' => 'nj', - 'Nj' => 'nj', - 'Ǎ' => 'ǎ', - 'Ǐ' => 'ǐ', - 'Ǒ' => 'ǒ', - 'Ǔ' => 'ǔ', - 'Ǖ' => 'ǖ', - 'Ǘ' => 'ǘ', - 'Ǚ' => 'ǚ', - 'Ǜ' => 'ǜ', - 'Ǟ' => 'ǟ', - 'Ǡ' => 'ǡ', - 'Ǣ' => 'ǣ', - 'Ǥ' => 'ǥ', - 'Ǧ' => 'ǧ', - 'Ǩ' => 'ǩ', - 'Ǫ' => 'ǫ', - 'Ǭ' => 'ǭ', - 'Ǯ' => 'ǯ', - 'DZ' => 'dz', - 'Dz' => 'dz', - 'Ǵ' => 'ǵ', - 'Ƕ' => 'ƕ', - 'Ƿ' => 'ƿ', - 'Ǹ' => 'ǹ', - 'Ǻ' => 'ǻ', - 'Ǽ' => 'ǽ', - 'Ǿ' => 'ǿ', - 'Ȁ' => 'ȁ', - 'Ȃ' => 'ȃ', - 'Ȅ' => 'ȅ', - 'Ȇ' => 'ȇ', - 'Ȉ' => 'ȉ', - 'Ȋ' => 'ȋ', - 'Ȍ' => 'ȍ', - 'Ȏ' => 'ȏ', - 'Ȑ' => 'ȑ', - 'Ȓ' => 'ȓ', - 'Ȕ' => 'ȕ', - 'Ȗ' => 'ȗ', - 'Ș' => 'ș', - 'Ț' => 'ț', - 'Ȝ' => 'ȝ', - 'Ȟ' => 'ȟ', - 'Ƞ' => 'ƞ', - 'Ȣ' => 'ȣ', - 'Ȥ' => 'ȥ', - 'Ȧ' => 'ȧ', - 'Ȩ' => 'ȩ', - 'Ȫ' => 'ȫ', - 'Ȭ' => 'ȭ', - 'Ȯ' => 'ȯ', - 'Ȱ' => 'ȱ', - 'Ȳ' => 'ȳ', - 'Ⱥ' => 'ⱥ', - 'Ȼ' => 'ȼ', - 'Ƚ' => 'ƚ', - 'Ⱦ' => 'ⱦ', - 'Ɂ' => 'ɂ', - 'Ƀ' => 'ƀ', - 'Ʉ' => 'ʉ', - 'Ʌ' => 'ʌ', - 'Ɇ' => 'ɇ', - 'Ɉ' => 'ɉ', - 'Ɋ' => 'ɋ', - 'Ɍ' => 'ɍ', - 'Ɏ' => 'ɏ', - 'Ͱ' => 'ͱ', - 'Ͳ' => 'ͳ', - 'Ͷ' => 'ͷ', - 'Ϳ' => 'ϳ', - 'Ά' => 'ά', - 'Έ' => 'έ', - 'Ή' => 'ή', - 'Ί' => 'ί', - 'Ό' => 'ό', - 'Ύ' => 'ύ', - 'Ώ' => 'ώ', - 'Α' => 'α', - 'Β' => 'β', - 'Γ' => 'γ', - 'Δ' => 'δ', - 'Ε' => 'ε', - 'Ζ' => 'ζ', - 'Η' => 'η', - 'Θ' => 'θ', - 'Ι' => 'ι', - 'Κ' => 'κ', - 'Λ' => 'λ', - 'Μ' => 'μ', - 'Ν' => 'ν', - 'Ξ' => 'ξ', - 'Ο' => 'ο', - 'Π' => 'π', - 'Ρ' => 'ρ', - 'Σ' => 'σ', - 'Τ' => 'τ', - 'Υ' => 'υ', - 'Φ' => 'φ', - 'Χ' => 'χ', - 'Ψ' => 'ψ', - 'Ω' => 'ω', - 'Ϊ' => 'ϊ', - 'Ϋ' => 'ϋ', - 'Ϗ' => 'ϗ', - 'Ϙ' => 'ϙ', - 'Ϛ' => 'ϛ', - 'Ϝ' => 'ϝ', - 'Ϟ' => 'ϟ', - 'Ϡ' => 'ϡ', - 'Ϣ' => 'ϣ', - 'Ϥ' => 'ϥ', - 'Ϧ' => 'ϧ', - 'Ϩ' => 'ϩ', - 'Ϫ' => 'ϫ', - 'Ϭ' => 'ϭ', - 'Ϯ' => 'ϯ', - 'ϴ' => 'θ', - 'Ϸ' => 'ϸ', - 'Ϲ' => 'ϲ', - 'Ϻ' => 'ϻ', - 'Ͻ' => 'ͻ', - 'Ͼ' => 'ͼ', - 'Ͽ' => 'ͽ', - 'Ѐ' => 'ѐ', - 'Ё' => 'ё', - 'Ђ' => 'ђ', - 'Ѓ' => 'ѓ', - 'Є' => 'є', - 'Ѕ' => 'ѕ', - 'І' => 'і', - 'Ї' => 'ї', - 'Ј' => 'ј', - 'Љ' => 'љ', - 'Њ' => 'њ', - 'Ћ' => 'ћ', - 'Ќ' => 'ќ', - 'Ѝ' => 'ѝ', - 'Ў' => 'ў', - 'Џ' => 'џ', - 'А' => 'а', - 'Б' => 'б', - 'В' => 'в', - 'Г' => 'г', - 'Д' => 'д', - 'Е' => 'е', - 'Ж' => 'ж', - 'З' => 'з', - 'И' => 'и', - 'Й' => 'й', - 'К' => 'к', - 'Л' => 'л', - 'М' => 'м', - 'Н' => 'н', - 'О' => 'о', - 'П' => 'п', - 'Р' => 'р', - 'С' => 'с', - 'Т' => 'т', - 'У' => 'у', - 'Ф' => 'ф', - 'Х' => 'х', - 'Ц' => 'ц', - 'Ч' => 'ч', - 'Ш' => 'ш', - 'Щ' => 'щ', - 'Ъ' => 'ъ', - 'Ы' => 'ы', - 'Ь' => 'ь', - 'Э' => 'э', - 'Ю' => 'ю', - 'Я' => 'я', - 'Ѡ' => 'ѡ', - 'Ѣ' => 'ѣ', - 'Ѥ' => 'ѥ', - 'Ѧ' => 'ѧ', - 'Ѩ' => 'ѩ', - 'Ѫ' => 'ѫ', - 'Ѭ' => 'ѭ', - 'Ѯ' => 'ѯ', - 'Ѱ' => 'ѱ', - 'Ѳ' => 'ѳ', - 'Ѵ' => 'ѵ', - 'Ѷ' => 'ѷ', - 'Ѹ' => 'ѹ', - 'Ѻ' => 'ѻ', - 'Ѽ' => 'ѽ', - 'Ѿ' => 'ѿ', - 'Ҁ' => 'ҁ', - 'Ҋ' => 'ҋ', - 'Ҍ' => 'ҍ', - 'Ҏ' => 'ҏ', - 'Ґ' => 'ґ', - 'Ғ' => 'ғ', - 'Ҕ' => 'ҕ', - 'Җ' => 'җ', - 'Ҙ' => 'ҙ', - 'Қ' => 'қ', - 'Ҝ' => 'ҝ', - 'Ҟ' => 'ҟ', - 'Ҡ' => 'ҡ', - 'Ң' => 'ң', - 'Ҥ' => 'ҥ', - 'Ҧ' => 'ҧ', - 'Ҩ' => 'ҩ', - 'Ҫ' => 'ҫ', - 'Ҭ' => 'ҭ', - 'Ү' => 'ү', - 'Ұ' => 'ұ', - 'Ҳ' => 'ҳ', - 'Ҵ' => 'ҵ', - 'Ҷ' => 'ҷ', - 'Ҹ' => 'ҹ', - 'Һ' => 'һ', - 'Ҽ' => 'ҽ', - 'Ҿ' => 'ҿ', - 'Ӏ' => 'ӏ', - 'Ӂ' => 'ӂ', - 'Ӄ' => 'ӄ', - 'Ӆ' => 'ӆ', - 'Ӈ' => 'ӈ', - 'Ӊ' => 'ӊ', - 'Ӌ' => 'ӌ', - 'Ӎ' => 'ӎ', - 'Ӑ' => 'ӑ', - 'Ӓ' => 'ӓ', - 'Ӕ' => 'ӕ', - 'Ӗ' => 'ӗ', - 'Ә' => 'ә', - 'Ӛ' => 'ӛ', - 'Ӝ' => 'ӝ', - 'Ӟ' => 'ӟ', - 'Ӡ' => 'ӡ', - 'Ӣ' => 'ӣ', - 'Ӥ' => 'ӥ', - 'Ӧ' => 'ӧ', - 'Ө' => 'ө', - 'Ӫ' => 'ӫ', - 'Ӭ' => 'ӭ', - 'Ӯ' => 'ӯ', - 'Ӱ' => 'ӱ', - 'Ӳ' => 'ӳ', - 'Ӵ' => 'ӵ', - 'Ӷ' => 'ӷ', - 'Ӹ' => 'ӹ', - 'Ӻ' => 'ӻ', - 'Ӽ' => 'ӽ', - 'Ӿ' => 'ӿ', - 'Ԁ' => 'ԁ', - 'Ԃ' => 'ԃ', - 'Ԅ' => 'ԅ', - 'Ԇ' => 'ԇ', - 'Ԉ' => 'ԉ', - 'Ԋ' => 'ԋ', - 'Ԍ' => 'ԍ', - 'Ԏ' => 'ԏ', - 'Ԑ' => 'ԑ', - 'Ԓ' => 'ԓ', - 'Ԕ' => 'ԕ', - 'Ԗ' => 'ԗ', - 'Ԙ' => 'ԙ', - 'Ԛ' => 'ԛ', - 'Ԝ' => 'ԝ', - 'Ԟ' => 'ԟ', - 'Ԡ' => 'ԡ', - 'Ԣ' => 'ԣ', - 'Ԥ' => 'ԥ', - 'Ԧ' => 'ԧ', - 'Ԩ' => 'ԩ', - 'Ԫ' => 'ԫ', - 'Ԭ' => 'ԭ', - 'Ԯ' => 'ԯ', - 'Ա' => 'ա', - 'Բ' => 'բ', - 'Գ' => 'գ', - 'Դ' => 'դ', - 'Ե' => 'ե', - 'Զ' => 'զ', - 'Է' => 'է', - 'Ը' => 'ը', - 'Թ' => 'թ', - 'Ժ' => 'ժ', - 'Ի' => 'ի', - 'Լ' => 'լ', - 'Խ' => 'խ', - 'Ծ' => 'ծ', - 'Կ' => 'կ', - 'Հ' => 'հ', - 'Ձ' => 'ձ', - 'Ղ' => 'ղ', - 'Ճ' => 'ճ', - 'Մ' => 'մ', - 'Յ' => 'յ', - 'Ն' => 'ն', - 'Շ' => 'շ', - 'Ո' => 'ո', - 'Չ' => 'չ', - 'Պ' => 'պ', - 'Ջ' => 'ջ', - 'Ռ' => 'ռ', - 'Ս' => 'ս', - 'Վ' => 'վ', - 'Տ' => 'տ', - 'Ր' => 'ր', - 'Ց' => 'ց', - 'Ւ' => 'ւ', - 'Փ' => 'փ', - 'Ք' => 'ք', - 'Օ' => 'օ', - 'Ֆ' => 'ֆ', - 'Ⴀ' => 'ⴀ', - 'Ⴁ' => 'ⴁ', - 'Ⴂ' => 'ⴂ', - 'Ⴃ' => 'ⴃ', - 'Ⴄ' => 'ⴄ', - 'Ⴅ' => 'ⴅ', - 'Ⴆ' => 'ⴆ', - 'Ⴇ' => 'ⴇ', - 'Ⴈ' => 'ⴈ', - 'Ⴉ' => 'ⴉ', - 'Ⴊ' => 'ⴊ', - 'Ⴋ' => 'ⴋ', - 'Ⴌ' => 'ⴌ', - 'Ⴍ' => 'ⴍ', - 'Ⴎ' => 'ⴎ', - 'Ⴏ' => 'ⴏ', - 'Ⴐ' => 'ⴐ', - 'Ⴑ' => 'ⴑ', - 'Ⴒ' => 'ⴒ', - 'Ⴓ' => 'ⴓ', - 'Ⴔ' => 'ⴔ', - 'Ⴕ' => 'ⴕ', - 'Ⴖ' => 'ⴖ', - 'Ⴗ' => 'ⴗ', - 'Ⴘ' => 'ⴘ', - 'Ⴙ' => 'ⴙ', - 'Ⴚ' => 'ⴚ', - 'Ⴛ' => 'ⴛ', - 'Ⴜ' => 'ⴜ', - 'Ⴝ' => 'ⴝ', - 'Ⴞ' => 'ⴞ', - 'Ⴟ' => 'ⴟ', - 'Ⴠ' => 'ⴠ', - 'Ⴡ' => 'ⴡ', - 'Ⴢ' => 'ⴢ', - 'Ⴣ' => 'ⴣ', - 'Ⴤ' => 'ⴤ', - 'Ⴥ' => 'ⴥ', - 'Ⴧ' => 'ⴧ', - 'Ⴭ' => 'ⴭ', - 'Ꭰ' => 'ꭰ', - 'Ꭱ' => 'ꭱ', - 'Ꭲ' => 'ꭲ', - 'Ꭳ' => 'ꭳ', - 'Ꭴ' => 'ꭴ', - 'Ꭵ' => 'ꭵ', - 'Ꭶ' => 'ꭶ', - 'Ꭷ' => 'ꭷ', - 'Ꭸ' => 'ꭸ', - 'Ꭹ' => 'ꭹ', - 'Ꭺ' => 'ꭺ', - 'Ꭻ' => 'ꭻ', - 'Ꭼ' => 'ꭼ', - 'Ꭽ' => 'ꭽ', - 'Ꭾ' => 'ꭾ', - 'Ꭿ' => 'ꭿ', - 'Ꮀ' => 'ꮀ', - 'Ꮁ' => 'ꮁ', - 'Ꮂ' => 'ꮂ', - 'Ꮃ' => 'ꮃ', - 'Ꮄ' => 'ꮄ', - 'Ꮅ' => 'ꮅ', - 'Ꮆ' => 'ꮆ', - 'Ꮇ' => 'ꮇ', - 'Ꮈ' => 'ꮈ', - 'Ꮉ' => 'ꮉ', - 'Ꮊ' => 'ꮊ', - 'Ꮋ' => 'ꮋ', - 'Ꮌ' => 'ꮌ', - 'Ꮍ' => 'ꮍ', - 'Ꮎ' => 'ꮎ', - 'Ꮏ' => 'ꮏ', - 'Ꮐ' => 'ꮐ', - 'Ꮑ' => 'ꮑ', - 'Ꮒ' => 'ꮒ', - 'Ꮓ' => 'ꮓ', - 'Ꮔ' => 'ꮔ', - 'Ꮕ' => 'ꮕ', - 'Ꮖ' => 'ꮖ', - 'Ꮗ' => 'ꮗ', - 'Ꮘ' => 'ꮘ', - 'Ꮙ' => 'ꮙ', - 'Ꮚ' => 'ꮚ', - 'Ꮛ' => 'ꮛ', - 'Ꮜ' => 'ꮜ', - 'Ꮝ' => 'ꮝ', - 'Ꮞ' => 'ꮞ', - 'Ꮟ' => 'ꮟ', - 'Ꮠ' => 'ꮠ', - 'Ꮡ' => 'ꮡ', - 'Ꮢ' => 'ꮢ', - 'Ꮣ' => 'ꮣ', - 'Ꮤ' => 'ꮤ', - 'Ꮥ' => 'ꮥ', - 'Ꮦ' => 'ꮦ', - 'Ꮧ' => 'ꮧ', - 'Ꮨ' => 'ꮨ', - 'Ꮩ' => 'ꮩ', - 'Ꮪ' => 'ꮪ', - 'Ꮫ' => 'ꮫ', - 'Ꮬ' => 'ꮬ', - 'Ꮭ' => 'ꮭ', - 'Ꮮ' => 'ꮮ', - 'Ꮯ' => 'ꮯ', - 'Ꮰ' => 'ꮰ', - 'Ꮱ' => 'ꮱ', - 'Ꮲ' => 'ꮲ', - 'Ꮳ' => 'ꮳ', - 'Ꮴ' => 'ꮴ', - 'Ꮵ' => 'ꮵ', - 'Ꮶ' => 'ꮶ', - 'Ꮷ' => 'ꮷ', - 'Ꮸ' => 'ꮸ', - 'Ꮹ' => 'ꮹ', - 'Ꮺ' => 'ꮺ', - 'Ꮻ' => 'ꮻ', - 'Ꮼ' => 'ꮼ', - 'Ꮽ' => 'ꮽ', - 'Ꮾ' => 'ꮾ', - 'Ꮿ' => 'ꮿ', - 'Ᏸ' => 'ᏸ', - 'Ᏹ' => 'ᏹ', - 'Ᏺ' => 'ᏺ', - 'Ᏻ' => 'ᏻ', - 'Ᏼ' => 'ᏼ', - 'Ᏽ' => 'ᏽ', - 'Ა' => 'ა', - 'Ბ' => 'ბ', - 'Გ' => 'გ', - 'Დ' => 'დ', - 'Ე' => 'ე', - 'Ვ' => 'ვ', - 'Ზ' => 'ზ', - 'Თ' => 'თ', - 'Ი' => 'ი', - 'Კ' => 'კ', - 'Ლ' => 'ლ', - 'Მ' => 'მ', - 'Ნ' => 'ნ', - 'Ო' => 'ო', - 'Პ' => 'პ', - 'Ჟ' => 'ჟ', - 'Რ' => 'რ', - 'Ს' => 'ს', - 'Ტ' => 'ტ', - 'Უ' => 'უ', - 'Ფ' => 'ფ', - 'Ქ' => 'ქ', - 'Ღ' => 'ღ', - 'Ყ' => 'ყ', - 'Შ' => 'შ', - 'Ჩ' => 'ჩ', - 'Ც' => 'ც', - 'Ძ' => 'ძ', - 'Წ' => 'წ', - 'Ჭ' => 'ჭ', - 'Ხ' => 'ხ', - 'Ჯ' => 'ჯ', - 'Ჰ' => 'ჰ', - 'Ჱ' => 'ჱ', - 'Ჲ' => 'ჲ', - 'Ჳ' => 'ჳ', - 'Ჴ' => 'ჴ', - 'Ჵ' => 'ჵ', - 'Ჶ' => 'ჶ', - 'Ჷ' => 'ჷ', - 'Ჸ' => 'ჸ', - 'Ჹ' => 'ჹ', - 'Ჺ' => 'ჺ', - 'Ჽ' => 'ჽ', - 'Ჾ' => 'ჾ', - 'Ჿ' => 'ჿ', - 'Ḁ' => 'ḁ', - 'Ḃ' => 'ḃ', - 'Ḅ' => 'ḅ', - 'Ḇ' => 'ḇ', - 'Ḉ' => 'ḉ', - 'Ḋ' => 'ḋ', - 'Ḍ' => 'ḍ', - 'Ḏ' => 'ḏ', - 'Ḑ' => 'ḑ', - 'Ḓ' => 'ḓ', - 'Ḕ' => 'ḕ', - 'Ḗ' => 'ḗ', - 'Ḙ' => 'ḙ', - 'Ḛ' => 'ḛ', - 'Ḝ' => 'ḝ', - 'Ḟ' => 'ḟ', - 'Ḡ' => 'ḡ', - 'Ḣ' => 'ḣ', - 'Ḥ' => 'ḥ', - 'Ḧ' => 'ḧ', - 'Ḩ' => 'ḩ', - 'Ḫ' => 'ḫ', - 'Ḭ' => 'ḭ', - 'Ḯ' => 'ḯ', - 'Ḱ' => 'ḱ', - 'Ḳ' => 'ḳ', - 'Ḵ' => 'ḵ', - 'Ḷ' => 'ḷ', - 'Ḹ' => 'ḹ', - 'Ḻ' => 'ḻ', - 'Ḽ' => 'ḽ', - 'Ḿ' => 'ḿ', - 'Ṁ' => 'ṁ', - 'Ṃ' => 'ṃ', - 'Ṅ' => 'ṅ', - 'Ṇ' => 'ṇ', - 'Ṉ' => 'ṉ', - 'Ṋ' => 'ṋ', - 'Ṍ' => 'ṍ', - 'Ṏ' => 'ṏ', - 'Ṑ' => 'ṑ', - 'Ṓ' => 'ṓ', - 'Ṕ' => 'ṕ', - 'Ṗ' => 'ṗ', - 'Ṙ' => 'ṙ', - 'Ṛ' => 'ṛ', - 'Ṝ' => 'ṝ', - 'Ṟ' => 'ṟ', - 'Ṡ' => 'ṡ', - 'Ṣ' => 'ṣ', - 'Ṥ' => 'ṥ', - 'Ṧ' => 'ṧ', - 'Ṩ' => 'ṩ', - 'Ṫ' => 'ṫ', - 'Ṭ' => 'ṭ', - 'Ṯ' => 'ṯ', - 'Ṱ' => 'ṱ', - 'Ṳ' => 'ṳ', - 'Ṵ' => 'ṵ', - 'Ṷ' => 'ṷ', - 'Ṹ' => 'ṹ', - 'Ṻ' => 'ṻ', - 'Ṽ' => 'ṽ', - 'Ṿ' => 'ṿ', - 'Ẁ' => 'ẁ', - 'Ẃ' => 'ẃ', - 'Ẅ' => 'ẅ', - 'Ẇ' => 'ẇ', - 'Ẉ' => 'ẉ', - 'Ẋ' => 'ẋ', - 'Ẍ' => 'ẍ', - 'Ẏ' => 'ẏ', - 'Ẑ' => 'ẑ', - 'Ẓ' => 'ẓ', - 'Ẕ' => 'ẕ', - 'ẞ' => 'ß', - 'Ạ' => 'ạ', - 'Ả' => 'ả', - 'Ấ' => 'ấ', - 'Ầ' => 'ầ', - 'Ẩ' => 'ẩ', - 'Ẫ' => 'ẫ', - 'Ậ' => 'ậ', - 'Ắ' => 'ắ', - 'Ằ' => 'ằ', - 'Ẳ' => 'ẳ', - 'Ẵ' => 'ẵ', - 'Ặ' => 'ặ', - 'Ẹ' => 'ẹ', - 'Ẻ' => 'ẻ', - 'Ẽ' => 'ẽ', - 'Ế' => 'ế', - 'Ề' => 'ề', - 'Ể' => 'ể', - 'Ễ' => 'ễ', - 'Ệ' => 'ệ', - 'Ỉ' => 'ỉ', - 'Ị' => 'ị', - 'Ọ' => 'ọ', - 'Ỏ' => 'ỏ', - 'Ố' => 'ố', - 'Ồ' => 'ồ', - 'Ổ' => 'ổ', - 'Ỗ' => 'ỗ', - 'Ộ' => 'ộ', - 'Ớ' => 'ớ', - 'Ờ' => 'ờ', - 'Ở' => 'ở', - 'Ỡ' => 'ỡ', - 'Ợ' => 'ợ', - 'Ụ' => 'ụ', - 'Ủ' => 'ủ', - 'Ứ' => 'ứ', - 'Ừ' => 'ừ', - 'Ử' => 'ử', - 'Ữ' => 'ữ', - 'Ự' => 'ự', - 'Ỳ' => 'ỳ', - 'Ỵ' => 'ỵ', - 'Ỷ' => 'ỷ', - 'Ỹ' => 'ỹ', - 'Ỻ' => 'ỻ', - 'Ỽ' => 'ỽ', - 'Ỿ' => 'ỿ', - 'Ἀ' => 'ἀ', - 'Ἁ' => 'ἁ', - 'Ἂ' => 'ἂ', - 'Ἃ' => 'ἃ', - 'Ἄ' => 'ἄ', - 'Ἅ' => 'ἅ', - 'Ἆ' => 'ἆ', - 'Ἇ' => 'ἇ', - 'Ἐ' => 'ἐ', - 'Ἑ' => 'ἑ', - 'Ἒ' => 'ἒ', - 'Ἓ' => 'ἓ', - 'Ἔ' => 'ἔ', - 'Ἕ' => 'ἕ', - 'Ἠ' => 'ἠ', - 'Ἡ' => 'ἡ', - 'Ἢ' => 'ἢ', - 'Ἣ' => 'ἣ', - 'Ἤ' => 'ἤ', - 'Ἥ' => 'ἥ', - 'Ἦ' => 'ἦ', - 'Ἧ' => 'ἧ', - 'Ἰ' => 'ἰ', - 'Ἱ' => 'ἱ', - 'Ἲ' => 'ἲ', - 'Ἳ' => 'ἳ', - 'Ἴ' => 'ἴ', - 'Ἵ' => 'ἵ', - 'Ἶ' => 'ἶ', - 'Ἷ' => 'ἷ', - 'Ὀ' => 'ὀ', - 'Ὁ' => 'ὁ', - 'Ὂ' => 'ὂ', - 'Ὃ' => 'ὃ', - 'Ὄ' => 'ὄ', - 'Ὅ' => 'ὅ', - 'Ὑ' => 'ὑ', - 'Ὓ' => 'ὓ', - 'Ὕ' => 'ὕ', - 'Ὗ' => 'ὗ', - 'Ὠ' => 'ὠ', - 'Ὡ' => 'ὡ', - 'Ὢ' => 'ὢ', - 'Ὣ' => 'ὣ', - 'Ὤ' => 'ὤ', - 'Ὥ' => 'ὥ', - 'Ὦ' => 'ὦ', - 'Ὧ' => 'ὧ', - 'ᾈ' => 'ᾀ', - 'ᾉ' => 'ᾁ', - 'ᾊ' => 'ᾂ', - 'ᾋ' => 'ᾃ', - 'ᾌ' => 'ᾄ', - 'ᾍ' => 'ᾅ', - 'ᾎ' => 'ᾆ', - 'ᾏ' => 'ᾇ', - 'ᾘ' => 'ᾐ', - 'ᾙ' => 'ᾑ', - 'ᾚ' => 'ᾒ', - 'ᾛ' => 'ᾓ', - 'ᾜ' => 'ᾔ', - 'ᾝ' => 'ᾕ', - 'ᾞ' => 'ᾖ', - 'ᾟ' => 'ᾗ', - 'ᾨ' => 'ᾠ', - 'ᾩ' => 'ᾡ', - 'ᾪ' => 'ᾢ', - 'ᾫ' => 'ᾣ', - 'ᾬ' => 'ᾤ', - 'ᾭ' => 'ᾥ', - 'ᾮ' => 'ᾦ', - 'ᾯ' => 'ᾧ', - 'Ᾰ' => 'ᾰ', - 'Ᾱ' => 'ᾱ', - 'Ὰ' => 'ὰ', - 'Ά' => 'ά', - 'ᾼ' => 'ᾳ', - 'Ὲ' => 'ὲ', - 'Έ' => 'έ', - 'Ὴ' => 'ὴ', - 'Ή' => 'ή', - 'ῌ' => 'ῃ', - 'Ῐ' => 'ῐ', - 'Ῑ' => 'ῑ', - 'Ὶ' => 'ὶ', - 'Ί' => 'ί', - 'Ῠ' => 'ῠ', - 'Ῡ' => 'ῡ', - 'Ὺ' => 'ὺ', - 'Ύ' => 'ύ', - 'Ῥ' => 'ῥ', - 'Ὸ' => 'ὸ', - 'Ό' => 'ό', - 'Ὼ' => 'ὼ', - 'Ώ' => 'ώ', - 'ῼ' => 'ῳ', - 'Ω' => 'ω', - 'K' => 'k', - 'Å' => 'å', - 'Ⅎ' => 'ⅎ', - 'Ⅰ' => 'ⅰ', - 'Ⅱ' => 'ⅱ', - 'Ⅲ' => 'ⅲ', - 'Ⅳ' => 'ⅳ', - 'Ⅴ' => 'ⅴ', - 'Ⅵ' => 'ⅵ', - 'Ⅶ' => 'ⅶ', - 'Ⅷ' => 'ⅷ', - 'Ⅸ' => 'ⅸ', - 'Ⅹ' => 'ⅹ', - 'Ⅺ' => 'ⅺ', - 'Ⅻ' => 'ⅻ', - 'Ⅼ' => 'ⅼ', - 'Ⅽ' => 'ⅽ', - 'Ⅾ' => 'ⅾ', - 'Ⅿ' => 'ⅿ', - 'Ↄ' => 'ↄ', - 'Ⓐ' => 'ⓐ', - 'Ⓑ' => 'ⓑ', - 'Ⓒ' => 'ⓒ', - 'Ⓓ' => 'ⓓ', - 'Ⓔ' => 'ⓔ', - 'Ⓕ' => 'ⓕ', - 'Ⓖ' => 'ⓖ', - 'Ⓗ' => 'ⓗ', - 'Ⓘ' => 'ⓘ', - 'Ⓙ' => 'ⓙ', - 'Ⓚ' => 'ⓚ', - 'Ⓛ' => 'ⓛ', - 'Ⓜ' => 'ⓜ', - 'Ⓝ' => 'ⓝ', - 'Ⓞ' => 'ⓞ', - 'Ⓟ' => 'ⓟ', - 'Ⓠ' => 'ⓠ', - 'Ⓡ' => 'ⓡ', - 'Ⓢ' => 'ⓢ', - 'Ⓣ' => 'ⓣ', - 'Ⓤ' => 'ⓤ', - 'Ⓥ' => 'ⓥ', - 'Ⓦ' => 'ⓦ', - 'Ⓧ' => 'ⓧ', - 'Ⓨ' => 'ⓨ', - 'Ⓩ' => 'ⓩ', - 'Ⰰ' => 'ⰰ', - 'Ⰱ' => 'ⰱ', - 'Ⰲ' => 'ⰲ', - 'Ⰳ' => 'ⰳ', - 'Ⰴ' => 'ⰴ', - 'Ⰵ' => 'ⰵ', - 'Ⰶ' => 'ⰶ', - 'Ⰷ' => 'ⰷ', - 'Ⰸ' => 'ⰸ', - 'Ⰹ' => 'ⰹ', - 'Ⰺ' => 'ⰺ', - 'Ⰻ' => 'ⰻ', - 'Ⰼ' => 'ⰼ', - 'Ⰽ' => 'ⰽ', - 'Ⰾ' => 'ⰾ', - 'Ⰿ' => 'ⰿ', - 'Ⱀ' => 'ⱀ', - 'Ⱁ' => 'ⱁ', - 'Ⱂ' => 'ⱂ', - 'Ⱃ' => 'ⱃ', - 'Ⱄ' => 'ⱄ', - 'Ⱅ' => 'ⱅ', - 'Ⱆ' => 'ⱆ', - 'Ⱇ' => 'ⱇ', - 'Ⱈ' => 'ⱈ', - 'Ⱉ' => 'ⱉ', - 'Ⱊ' => 'ⱊ', - 'Ⱋ' => 'ⱋ', - 'Ⱌ' => 'ⱌ', - 'Ⱍ' => 'ⱍ', - 'Ⱎ' => 'ⱎ', - 'Ⱏ' => 'ⱏ', - 'Ⱐ' => 'ⱐ', - 'Ⱑ' => 'ⱑ', - 'Ⱒ' => 'ⱒ', - 'Ⱓ' => 'ⱓ', - 'Ⱔ' => 'ⱔ', - 'Ⱕ' => 'ⱕ', - 'Ⱖ' => 'ⱖ', - 'Ⱗ' => 'ⱗ', - 'Ⱘ' => 'ⱘ', - 'Ⱙ' => 'ⱙ', - 'Ⱚ' => 'ⱚ', - 'Ⱛ' => 'ⱛ', - 'Ⱜ' => 'ⱜ', - 'Ⱝ' => 'ⱝ', - 'Ⱞ' => 'ⱞ', - 'Ⱡ' => 'ⱡ', - 'Ɫ' => 'ɫ', - 'Ᵽ' => 'ᵽ', - 'Ɽ' => 'ɽ', - 'Ⱨ' => 'ⱨ', - 'Ⱪ' => 'ⱪ', - 'Ⱬ' => 'ⱬ', - 'Ɑ' => 'ɑ', - 'Ɱ' => 'ɱ', - 'Ɐ' => 'ɐ', - 'Ɒ' => 'ɒ', - 'Ⱳ' => 'ⱳ', - 'Ⱶ' => 'ⱶ', - 'Ȿ' => 'ȿ', - 'Ɀ' => 'ɀ', - 'Ⲁ' => 'ⲁ', - 'Ⲃ' => 'ⲃ', - 'Ⲅ' => 'ⲅ', - 'Ⲇ' => 'ⲇ', - 'Ⲉ' => 'ⲉ', - 'Ⲋ' => 'ⲋ', - 'Ⲍ' => 'ⲍ', - 'Ⲏ' => 'ⲏ', - 'Ⲑ' => 'ⲑ', - 'Ⲓ' => 'ⲓ', - 'Ⲕ' => 'ⲕ', - 'Ⲗ' => 'ⲗ', - 'Ⲙ' => 'ⲙ', - 'Ⲛ' => 'ⲛ', - 'Ⲝ' => 'ⲝ', - 'Ⲟ' => 'ⲟ', - 'Ⲡ' => 'ⲡ', - 'Ⲣ' => 'ⲣ', - 'Ⲥ' => 'ⲥ', - 'Ⲧ' => 'ⲧ', - 'Ⲩ' => 'ⲩ', - 'Ⲫ' => 'ⲫ', - 'Ⲭ' => 'ⲭ', - 'Ⲯ' => 'ⲯ', - 'Ⲱ' => 'ⲱ', - 'Ⲳ' => 'ⲳ', - 'Ⲵ' => 'ⲵ', - 'Ⲷ' => 'ⲷ', - 'Ⲹ' => 'ⲹ', - 'Ⲻ' => 'ⲻ', - 'Ⲽ' => 'ⲽ', - 'Ⲿ' => 'ⲿ', - 'Ⳁ' => 'ⳁ', - 'Ⳃ' => 'ⳃ', - 'Ⳅ' => 'ⳅ', - 'Ⳇ' => 'ⳇ', - 'Ⳉ' => 'ⳉ', - 'Ⳋ' => 'ⳋ', - 'Ⳍ' => 'ⳍ', - 'Ⳏ' => 'ⳏ', - 'Ⳑ' => 'ⳑ', - 'Ⳓ' => 'ⳓ', - 'Ⳕ' => 'ⳕ', - 'Ⳗ' => 'ⳗ', - 'Ⳙ' => 'ⳙ', - 'Ⳛ' => 'ⳛ', - 'Ⳝ' => 'ⳝ', - 'Ⳟ' => 'ⳟ', - 'Ⳡ' => 'ⳡ', - 'Ⳣ' => 'ⳣ', - 'Ⳬ' => 'ⳬ', - 'Ⳮ' => 'ⳮ', - 'Ⳳ' => 'ⳳ', - 'Ꙁ' => 'ꙁ', - 'Ꙃ' => 'ꙃ', - 'Ꙅ' => 'ꙅ', - 'Ꙇ' => 'ꙇ', - 'Ꙉ' => 'ꙉ', - 'Ꙋ' => 'ꙋ', - 'Ꙍ' => 'ꙍ', - 'Ꙏ' => 'ꙏ', - 'Ꙑ' => 'ꙑ', - 'Ꙓ' => 'ꙓ', - 'Ꙕ' => 'ꙕ', - 'Ꙗ' => 'ꙗ', - 'Ꙙ' => 'ꙙ', - 'Ꙛ' => 'ꙛ', - 'Ꙝ' => 'ꙝ', - 'Ꙟ' => 'ꙟ', - 'Ꙡ' => 'ꙡ', - 'Ꙣ' => 'ꙣ', - 'Ꙥ' => 'ꙥ', - 'Ꙧ' => 'ꙧ', - 'Ꙩ' => 'ꙩ', - 'Ꙫ' => 'ꙫ', - 'Ꙭ' => 'ꙭ', - 'Ꚁ' => 'ꚁ', - 'Ꚃ' => 'ꚃ', - 'Ꚅ' => 'ꚅ', - 'Ꚇ' => 'ꚇ', - 'Ꚉ' => 'ꚉ', - 'Ꚋ' => 'ꚋ', - 'Ꚍ' => 'ꚍ', - 'Ꚏ' => 'ꚏ', - 'Ꚑ' => 'ꚑ', - 'Ꚓ' => 'ꚓ', - 'Ꚕ' => 'ꚕ', - 'Ꚗ' => 'ꚗ', - 'Ꚙ' => 'ꚙ', - 'Ꚛ' => 'ꚛ', - 'Ꜣ' => 'ꜣ', - 'Ꜥ' => 'ꜥ', - 'Ꜧ' => 'ꜧ', - 'Ꜩ' => 'ꜩ', - 'Ꜫ' => 'ꜫ', - 'Ꜭ' => 'ꜭ', - 'Ꜯ' => 'ꜯ', - 'Ꜳ' => 'ꜳ', - 'Ꜵ' => 'ꜵ', - 'Ꜷ' => 'ꜷ', - 'Ꜹ' => 'ꜹ', - 'Ꜻ' => 'ꜻ', - 'Ꜽ' => 'ꜽ', - 'Ꜿ' => 'ꜿ', - 'Ꝁ' => 'ꝁ', - 'Ꝃ' => 'ꝃ', - 'Ꝅ' => 'ꝅ', - 'Ꝇ' => 'ꝇ', - 'Ꝉ' => 'ꝉ', - 'Ꝋ' => 'ꝋ', - 'Ꝍ' => 'ꝍ', - 'Ꝏ' => 'ꝏ', - 'Ꝑ' => 'ꝑ', - 'Ꝓ' => 'ꝓ', - 'Ꝕ' => 'ꝕ', - 'Ꝗ' => 'ꝗ', - 'Ꝙ' => 'ꝙ', - 'Ꝛ' => 'ꝛ', - 'Ꝝ' => 'ꝝ', - 'Ꝟ' => 'ꝟ', - 'Ꝡ' => 'ꝡ', - 'Ꝣ' => 'ꝣ', - 'Ꝥ' => 'ꝥ', - 'Ꝧ' => 'ꝧ', - 'Ꝩ' => 'ꝩ', - 'Ꝫ' => 'ꝫ', - 'Ꝭ' => 'ꝭ', - 'Ꝯ' => 'ꝯ', - 'Ꝺ' => 'ꝺ', - 'Ꝼ' => 'ꝼ', - 'Ᵹ' => 'ᵹ', - 'Ꝿ' => 'ꝿ', - 'Ꞁ' => 'ꞁ', - 'Ꞃ' => 'ꞃ', - 'Ꞅ' => 'ꞅ', - 'Ꞇ' => 'ꞇ', - 'Ꞌ' => 'ꞌ', - 'Ɥ' => 'ɥ', - 'Ꞑ' => 'ꞑ', - 'Ꞓ' => 'ꞓ', - 'Ꞗ' => 'ꞗ', - 'Ꞙ' => 'ꞙ', - 'Ꞛ' => 'ꞛ', - 'Ꞝ' => 'ꞝ', - 'Ꞟ' => 'ꞟ', - 'Ꞡ' => 'ꞡ', - 'Ꞣ' => 'ꞣ', - 'Ꞥ' => 'ꞥ', - 'Ꞧ' => 'ꞧ', - 'Ꞩ' => 'ꞩ', - 'Ɦ' => 'ɦ', - 'Ɜ' => 'ɜ', - 'Ɡ' => 'ɡ', - 'Ɬ' => 'ɬ', - 'Ɪ' => 'ɪ', - 'Ʞ' => 'ʞ', - 'Ʇ' => 'ʇ', - 'Ʝ' => 'ʝ', - 'Ꭓ' => 'ꭓ', - 'Ꞵ' => 'ꞵ', - 'Ꞷ' => 'ꞷ', - 'Ꞹ' => 'ꞹ', - 'Ꞻ' => 'ꞻ', - 'Ꞽ' => 'ꞽ', - 'Ꞿ' => 'ꞿ', - 'Ꟃ' => 'ꟃ', - 'Ꞔ' => 'ꞔ', - 'Ʂ' => 'ʂ', - 'Ᶎ' => 'ᶎ', - 'Ꟈ' => 'ꟈ', - 'Ꟊ' => 'ꟊ', - 'Ꟶ' => 'ꟶ', - 'A' => 'a', - 'B' => 'b', - 'C' => 'c', - 'D' => 'd', - 'E' => 'e', - 'F' => 'f', - 'G' => 'g', - 'H' => 'h', - 'I' => 'i', - 'J' => 'j', - 'K' => 'k', - 'L' => 'l', - 'M' => 'm', - 'N' => 'n', - 'O' => 'o', - 'P' => 'p', - 'Q' => 'q', - 'R' => 'r', - 'S' => 's', - 'T' => 't', - 'U' => 'u', - 'V' => 'v', - 'W' => 'w', - 'X' => 'x', - 'Y' => 'y', - 'Z' => 'z', - '𐐀' => '𐐨', - '𐐁' => '𐐩', - '𐐂' => '𐐪', - '𐐃' => '𐐫', - '𐐄' => '𐐬', - '𐐅' => '𐐭', - '𐐆' => '𐐮', - '𐐇' => '𐐯', - '𐐈' => '𐐰', - '𐐉' => '𐐱', - '𐐊' => '𐐲', - '𐐋' => '𐐳', - '𐐌' => '𐐴', - '𐐍' => '𐐵', - '𐐎' => '𐐶', - '𐐏' => '𐐷', - '𐐐' => '𐐸', - '𐐑' => '𐐹', - '𐐒' => '𐐺', - '𐐓' => '𐐻', - '𐐔' => '𐐼', - '𐐕' => '𐐽', - '𐐖' => '𐐾', - '𐐗' => '𐐿', - '𐐘' => '𐑀', - '𐐙' => '𐑁', - '𐐚' => '𐑂', - '𐐛' => '𐑃', - '𐐜' => '𐑄', - '𐐝' => '𐑅', - '𐐞' => '𐑆', - '𐐟' => '𐑇', - '𐐠' => '𐑈', - '𐐡' => '𐑉', - '𐐢' => '𐑊', - '𐐣' => '𐑋', - '𐐤' => '𐑌', - '𐐥' => '𐑍', - '𐐦' => '𐑎', - '𐐧' => '𐑏', - '𐒰' => '𐓘', - '𐒱' => '𐓙', - '𐒲' => '𐓚', - '𐒳' => '𐓛', - '𐒴' => '𐓜', - '𐒵' => '𐓝', - '𐒶' => '𐓞', - '𐒷' => '𐓟', - '𐒸' => '𐓠', - '𐒹' => '𐓡', - '𐒺' => '𐓢', - '𐒻' => '𐓣', - '𐒼' => '𐓤', - '𐒽' => '𐓥', - '𐒾' => '𐓦', - '𐒿' => '𐓧', - '𐓀' => '𐓨', - '𐓁' => '𐓩', - '𐓂' => '𐓪', - '𐓃' => '𐓫', - '𐓄' => '𐓬', - '𐓅' => '𐓭', - '𐓆' => '𐓮', - '𐓇' => '𐓯', - '𐓈' => '𐓰', - '𐓉' => '𐓱', - '𐓊' => '𐓲', - '𐓋' => '𐓳', - '𐓌' => '𐓴', - '𐓍' => '𐓵', - '𐓎' => '𐓶', - '𐓏' => '𐓷', - '𐓐' => '𐓸', - '𐓑' => '𐓹', - '𐓒' => '𐓺', - '𐓓' => '𐓻', - '𐲀' => '𐳀', - '𐲁' => '𐳁', - '𐲂' => '𐳂', - '𐲃' => '𐳃', - '𐲄' => '𐳄', - '𐲅' => '𐳅', - '𐲆' => '𐳆', - '𐲇' => '𐳇', - '𐲈' => '𐳈', - '𐲉' => '𐳉', - '𐲊' => '𐳊', - '𐲋' => '𐳋', - '𐲌' => '𐳌', - '𐲍' => '𐳍', - '𐲎' => '𐳎', - '𐲏' => '𐳏', - '𐲐' => '𐳐', - '𐲑' => '𐳑', - '𐲒' => '𐳒', - '𐲓' => '𐳓', - '𐲔' => '𐳔', - '𐲕' => '𐳕', - '𐲖' => '𐳖', - '𐲗' => '𐳗', - '𐲘' => '𐳘', - '𐲙' => '𐳙', - '𐲚' => '𐳚', - '𐲛' => '𐳛', - '𐲜' => '𐳜', - '𐲝' => '𐳝', - '𐲞' => '𐳞', - '𐲟' => '𐳟', - '𐲠' => '𐳠', - '𐲡' => '𐳡', - '𐲢' => '𐳢', - '𐲣' => '𐳣', - '𐲤' => '𐳤', - '𐲥' => '𐳥', - '𐲦' => '𐳦', - '𐲧' => '𐳧', - '𐲨' => '𐳨', - '𐲩' => '𐳩', - '𐲪' => '𐳪', - '𐲫' => '𐳫', - '𐲬' => '𐳬', - '𐲭' => '𐳭', - '𐲮' => '𐳮', - '𐲯' => '𐳯', - '𐲰' => '𐳰', - '𐲱' => '𐳱', - '𐲲' => '𐳲', - '𑢠' => '𑣀', - '𑢡' => '𑣁', - '𑢢' => '𑣂', - '𑢣' => '𑣃', - '𑢤' => '𑣄', - '𑢥' => '𑣅', - '𑢦' => '𑣆', - '𑢧' => '𑣇', - '𑢨' => '𑣈', - '𑢩' => '𑣉', - '𑢪' => '𑣊', - '𑢫' => '𑣋', - '𑢬' => '𑣌', - '𑢭' => '𑣍', - '𑢮' => '𑣎', - '𑢯' => '𑣏', - '𑢰' => '𑣐', - '𑢱' => '𑣑', - '𑢲' => '𑣒', - '𑢳' => '𑣓', - '𑢴' => '𑣔', - '𑢵' => '𑣕', - '𑢶' => '𑣖', - '𑢷' => '𑣗', - '𑢸' => '𑣘', - '𑢹' => '𑣙', - '𑢺' => '𑣚', - '𑢻' => '𑣛', - '𑢼' => '𑣜', - '𑢽' => '𑣝', - '𑢾' => '𑣞', - '𑢿' => '𑣟', - '𖹀' => '𖹠', - '𖹁' => '𖹡', - '𖹂' => '𖹢', - '𖹃' => '𖹣', - '𖹄' => '𖹤', - '𖹅' => '𖹥', - '𖹆' => '𖹦', - '𖹇' => '𖹧', - '𖹈' => '𖹨', - '𖹉' => '𖹩', - '𖹊' => '𖹪', - '𖹋' => '𖹫', - '𖹌' => '𖹬', - '𖹍' => '𖹭', - '𖹎' => '𖹮', - '𖹏' => '𖹯', - '𖹐' => '𖹰', - '𖹑' => '𖹱', - '𖹒' => '𖹲', - '𖹓' => '𖹳', - '𖹔' => '𖹴', - '𖹕' => '𖹵', - '𖹖' => '𖹶', - '𖹗' => '𖹷', - '𖹘' => '𖹸', - '𖹙' => '𖹹', - '𖹚' => '𖹺', - '𖹛' => '𖹻', - '𖹜' => '𖹼', - '𖹝' => '𖹽', - '𖹞' => '𖹾', - '𖹟' => '𖹿', - '𞤀' => '𞤢', - '𞤁' => '𞤣', - '𞤂' => '𞤤', - '𞤃' => '𞤥', - '𞤄' => '𞤦', - '𞤅' => '𞤧', - '𞤆' => '𞤨', - '𞤇' => '𞤩', - '𞤈' => '𞤪', - '𞤉' => '𞤫', - '𞤊' => '𞤬', - '𞤋' => '𞤭', - '𞤌' => '𞤮', - '𞤍' => '𞤯', - '𞤎' => '𞤰', - '𞤏' => '𞤱', - '𞤐' => '𞤲', - '𞤑' => '𞤳', - '𞤒' => '𞤴', - '𞤓' => '𞤵', - '𞤔' => '𞤶', - '𞤕' => '𞤷', - '𞤖' => '𞤸', - '𞤗' => '𞤹', - '𞤘' => '𞤺', - '𞤙' => '𞤻', - '𞤚' => '𞤼', - '𞤛' => '𞤽', - '𞤜' => '𞤾', - '𞤝' => '𞤿', - '𞤞' => '𞥀', - '𞤟' => '𞥁', - '𞤠' => '𞥂', - '𞤡' => '𞥃', -); diff --git a/vendor/symfony/polyfill-mbstring/Resources/unidata/titleCaseRegexp.php b/vendor/symfony/polyfill-mbstring/Resources/unidata/titleCaseRegexp.php deleted file mode 100644 index 2a8f6e73b..000000000 --- a/vendor/symfony/polyfill-mbstring/Resources/unidata/titleCaseRegexp.php +++ /dev/null @@ -1,5 +0,0 @@ - 'A', - 'b' => 'B', - 'c' => 'C', - 'd' => 'D', - 'e' => 'E', - 'f' => 'F', - 'g' => 'G', - 'h' => 'H', - 'i' => 'I', - 'j' => 'J', - 'k' => 'K', - 'l' => 'L', - 'm' => 'M', - 'n' => 'N', - 'o' => 'O', - 'p' => 'P', - 'q' => 'Q', - 'r' => 'R', - 's' => 'S', - 't' => 'T', - 'u' => 'U', - 'v' => 'V', - 'w' => 'W', - 'x' => 'X', - 'y' => 'Y', - 'z' => 'Z', - 'µ' => 'Μ', - 'à' => 'À', - 'á' => 'Á', - 'â' => 'Â', - 'ã' => 'Ã', - 'ä' => 'Ä', - 'å' => 'Å', - 'æ' => 'Æ', - 'ç' => 'Ç', - 'è' => 'È', - 'é' => 'É', - 'ê' => 'Ê', - 'ë' => 'Ë', - 'ì' => 'Ì', - 'í' => 'Í', - 'î' => 'Î', - 'ï' => 'Ï', - 'ð' => 'Ð', - 'ñ' => 'Ñ', - 'ò' => 'Ò', - 'ó' => 'Ó', - 'ô' => 'Ô', - 'õ' => 'Õ', - 'ö' => 'Ö', - 'ø' => 'Ø', - 'ù' => 'Ù', - 'ú' => 'Ú', - 'û' => 'Û', - 'ü' => 'Ü', - 'ý' => 'Ý', - 'þ' => 'Þ', - 'ÿ' => 'Ÿ', - 'ā' => 'Ā', - 'ă' => 'Ă', - 'ą' => 'Ą', - 'ć' => 'Ć', - 'ĉ' => 'Ĉ', - 'ċ' => 'Ċ', - 'č' => 'Č', - 'ď' => 'Ď', - 'đ' => 'Đ', - 'ē' => 'Ē', - 'ĕ' => 'Ĕ', - 'ė' => 'Ė', - 'ę' => 'Ę', - 'ě' => 'Ě', - 'ĝ' => 'Ĝ', - 'ğ' => 'Ğ', - 'ġ' => 'Ġ', - 'ģ' => 'Ģ', - 'ĥ' => 'Ĥ', - 'ħ' => 'Ħ', - 'ĩ' => 'Ĩ', - 'ī' => 'Ī', - 'ĭ' => 'Ĭ', - 'į' => 'Į', - 'ı' => 'I', - 'ij' => 'IJ', - 'ĵ' => 'Ĵ', - 'ķ' => 'Ķ', - 'ĺ' => 'Ĺ', - 'ļ' => 'Ļ', - 'ľ' => 'Ľ', - 'ŀ' => 'Ŀ', - 'ł' => 'Ł', - 'ń' => 'Ń', - 'ņ' => 'Ņ', - 'ň' => 'Ň', - 'ŋ' => 'Ŋ', - 'ō' => 'Ō', - 'ŏ' => 'Ŏ', - 'ő' => 'Ő', - 'œ' => 'Œ', - 'ŕ' => 'Ŕ', - 'ŗ' => 'Ŗ', - 'ř' => 'Ř', - 'ś' => 'Ś', - 'ŝ' => 'Ŝ', - 'ş' => 'Ş', - 'š' => 'Š', - 'ţ' => 'Ţ', - 'ť' => 'Ť', - 'ŧ' => 'Ŧ', - 'ũ' => 'Ũ', - 'ū' => 'Ū', - 'ŭ' => 'Ŭ', - 'ů' => 'Ů', - 'ű' => 'Ű', - 'ų' => 'Ų', - 'ŵ' => 'Ŵ', - 'ŷ' => 'Ŷ', - 'ź' => 'Ź', - 'ż' => 'Ż', - 'ž' => 'Ž', - 'ſ' => 'S', - 'ƀ' => 'Ƀ', - 'ƃ' => 'Ƃ', - 'ƅ' => 'Ƅ', - 'ƈ' => 'Ƈ', - 'ƌ' => 'Ƌ', - 'ƒ' => 'Ƒ', - 'ƕ' => 'Ƕ', - 'ƙ' => 'Ƙ', - 'ƚ' => 'Ƚ', - 'ƞ' => 'Ƞ', - 'ơ' => 'Ơ', - 'ƣ' => 'Ƣ', - 'ƥ' => 'Ƥ', - 'ƨ' => 'Ƨ', - 'ƭ' => 'Ƭ', - 'ư' => 'Ư', - 'ƴ' => 'Ƴ', - 'ƶ' => 'Ƶ', - 'ƹ' => 'Ƹ', - 'ƽ' => 'Ƽ', - 'ƿ' => 'Ƿ', - 'Dž' => 'DŽ', - 'dž' => 'DŽ', - 'Lj' => 'LJ', - 'lj' => 'LJ', - 'Nj' => 'NJ', - 'nj' => 'NJ', - 'ǎ' => 'Ǎ', - 'ǐ' => 'Ǐ', - 'ǒ' => 'Ǒ', - 'ǔ' => 'Ǔ', - 'ǖ' => 'Ǖ', - 'ǘ' => 'Ǘ', - 'ǚ' => 'Ǚ', - 'ǜ' => 'Ǜ', - 'ǝ' => 'Ǝ', - 'ǟ' => 'Ǟ', - 'ǡ' => 'Ǡ', - 'ǣ' => 'Ǣ', - 'ǥ' => 'Ǥ', - 'ǧ' => 'Ǧ', - 'ǩ' => 'Ǩ', - 'ǫ' => 'Ǫ', - 'ǭ' => 'Ǭ', - 'ǯ' => 'Ǯ', - 'Dz' => 'DZ', - 'dz' => 'DZ', - 'ǵ' => 'Ǵ', - 'ǹ' => 'Ǹ', - 'ǻ' => 'Ǻ', - 'ǽ' => 'Ǽ', - 'ǿ' => 'Ǿ', - 'ȁ' => 'Ȁ', - 'ȃ' => 'Ȃ', - 'ȅ' => 'Ȅ', - 'ȇ' => 'Ȇ', - 'ȉ' => 'Ȉ', - 'ȋ' => 'Ȋ', - 'ȍ' => 'Ȍ', - 'ȏ' => 'Ȏ', - 'ȑ' => 'Ȑ', - 'ȓ' => 'Ȓ', - 'ȕ' => 'Ȕ', - 'ȗ' => 'Ȗ', - 'ș' => 'Ș', - 'ț' => 'Ț', - 'ȝ' => 'Ȝ', - 'ȟ' => 'Ȟ', - 'ȣ' => 'Ȣ', - 'ȥ' => 'Ȥ', - 'ȧ' => 'Ȧ', - 'ȩ' => 'Ȩ', - 'ȫ' => 'Ȫ', - 'ȭ' => 'Ȭ', - 'ȯ' => 'Ȯ', - 'ȱ' => 'Ȱ', - 'ȳ' => 'Ȳ', - 'ȼ' => 'Ȼ', - 'ȿ' => 'Ȿ', - 'ɀ' => 'Ɀ', - 'ɂ' => 'Ɂ', - 'ɇ' => 'Ɇ', - 'ɉ' => 'Ɉ', - 'ɋ' => 'Ɋ', - 'ɍ' => 'Ɍ', - 'ɏ' => 'Ɏ', - 'ɐ' => 'Ɐ', - 'ɑ' => 'Ɑ', - 'ɒ' => 'Ɒ', - 'ɓ' => 'Ɓ', - 'ɔ' => 'Ɔ', - 'ɖ' => 'Ɖ', - 'ɗ' => 'Ɗ', - 'ə' => 'Ə', - 'ɛ' => 'Ɛ', - 'ɜ' => 'Ɜ', - 'ɠ' => 'Ɠ', - 'ɡ' => 'Ɡ', - 'ɣ' => 'Ɣ', - 'ɥ' => 'Ɥ', - 'ɦ' => 'Ɦ', - 'ɨ' => 'Ɨ', - 'ɩ' => 'Ɩ', - 'ɪ' => 'Ɪ', - 'ɫ' => 'Ɫ', - 'ɬ' => 'Ɬ', - 'ɯ' => 'Ɯ', - 'ɱ' => 'Ɱ', - 'ɲ' => 'Ɲ', - 'ɵ' => 'Ɵ', - 'ɽ' => 'Ɽ', - 'ʀ' => 'Ʀ', - 'ʂ' => 'Ʂ', - 'ʃ' => 'Ʃ', - 'ʇ' => 'Ʇ', - 'ʈ' => 'Ʈ', - 'ʉ' => 'Ʉ', - 'ʊ' => 'Ʊ', - 'ʋ' => 'Ʋ', - 'ʌ' => 'Ʌ', - 'ʒ' => 'Ʒ', - 'ʝ' => 'Ʝ', - 'ʞ' => 'Ʞ', - 'ͅ' => 'Ι', - 'ͱ' => 'Ͱ', - 'ͳ' => 'Ͳ', - 'ͷ' => 'Ͷ', - 'ͻ' => 'Ͻ', - 'ͼ' => 'Ͼ', - 'ͽ' => 'Ͽ', - 'ά' => 'Ά', - 'έ' => 'Έ', - 'ή' => 'Ή', - 'ί' => 'Ί', - 'α' => 'Α', - 'β' => 'Β', - 'γ' => 'Γ', - 'δ' => 'Δ', - 'ε' => 'Ε', - 'ζ' => 'Ζ', - 'η' => 'Η', - 'θ' => 'Θ', - 'ι' => 'Ι', - 'κ' => 'Κ', - 'λ' => 'Λ', - 'μ' => 'Μ', - 'ν' => 'Ν', - 'ξ' => 'Ξ', - 'ο' => 'Ο', - 'π' => 'Π', - 'ρ' => 'Ρ', - 'ς' => 'Σ', - 'σ' => 'Σ', - 'τ' => 'Τ', - 'υ' => 'Υ', - 'φ' => 'Φ', - 'χ' => 'Χ', - 'ψ' => 'Ψ', - 'ω' => 'Ω', - 'ϊ' => 'Ϊ', - 'ϋ' => 'Ϋ', - 'ό' => 'Ό', - 'ύ' => 'Ύ', - 'ώ' => 'Ώ', - 'ϐ' => 'Β', - 'ϑ' => 'Θ', - 'ϕ' => 'Φ', - 'ϖ' => 'Π', - 'ϗ' => 'Ϗ', - 'ϙ' => 'Ϙ', - 'ϛ' => 'Ϛ', - 'ϝ' => 'Ϝ', - 'ϟ' => 'Ϟ', - 'ϡ' => 'Ϡ', - 'ϣ' => 'Ϣ', - 'ϥ' => 'Ϥ', - 'ϧ' => 'Ϧ', - 'ϩ' => 'Ϩ', - 'ϫ' => 'Ϫ', - 'ϭ' => 'Ϭ', - 'ϯ' => 'Ϯ', - 'ϰ' => 'Κ', - 'ϱ' => 'Ρ', - 'ϲ' => 'Ϲ', - 'ϳ' => 'Ϳ', - 'ϵ' => 'Ε', - 'ϸ' => 'Ϸ', - 'ϻ' => 'Ϻ', - 'а' => 'А', - 'б' => 'Б', - 'в' => 'В', - 'г' => 'Г', - 'д' => 'Д', - 'е' => 'Е', - 'ж' => 'Ж', - 'з' => 'З', - 'и' => 'И', - 'й' => 'Й', - 'к' => 'К', - 'л' => 'Л', - 'м' => 'М', - 'н' => 'Н', - 'о' => 'О', - 'п' => 'П', - 'р' => 'Р', - 'с' => 'С', - 'т' => 'Т', - 'у' => 'У', - 'ф' => 'Ф', - 'х' => 'Х', - 'ц' => 'Ц', - 'ч' => 'Ч', - 'ш' => 'Ш', - 'щ' => 'Щ', - 'ъ' => 'Ъ', - 'ы' => 'Ы', - 'ь' => 'Ь', - 'э' => 'Э', - 'ю' => 'Ю', - 'я' => 'Я', - 'ѐ' => 'Ѐ', - 'ё' => 'Ё', - 'ђ' => 'Ђ', - 'ѓ' => 'Ѓ', - 'є' => 'Є', - 'ѕ' => 'Ѕ', - 'і' => 'І', - 'ї' => 'Ї', - 'ј' => 'Ј', - 'љ' => 'Љ', - 'њ' => 'Њ', - 'ћ' => 'Ћ', - 'ќ' => 'Ќ', - 'ѝ' => 'Ѝ', - 'ў' => 'Ў', - 'џ' => 'Џ', - 'ѡ' => 'Ѡ', - 'ѣ' => 'Ѣ', - 'ѥ' => 'Ѥ', - 'ѧ' => 'Ѧ', - 'ѩ' => 'Ѩ', - 'ѫ' => 'Ѫ', - 'ѭ' => 'Ѭ', - 'ѯ' => 'Ѯ', - 'ѱ' => 'Ѱ', - 'ѳ' => 'Ѳ', - 'ѵ' => 'Ѵ', - 'ѷ' => 'Ѷ', - 'ѹ' => 'Ѹ', - 'ѻ' => 'Ѻ', - 'ѽ' => 'Ѽ', - 'ѿ' => 'Ѿ', - 'ҁ' => 'Ҁ', - 'ҋ' => 'Ҋ', - 'ҍ' => 'Ҍ', - 'ҏ' => 'Ҏ', - 'ґ' => 'Ґ', - 'ғ' => 'Ғ', - 'ҕ' => 'Ҕ', - 'җ' => 'Җ', - 'ҙ' => 'Ҙ', - 'қ' => 'Қ', - 'ҝ' => 'Ҝ', - 'ҟ' => 'Ҟ', - 'ҡ' => 'Ҡ', - 'ң' => 'Ң', - 'ҥ' => 'Ҥ', - 'ҧ' => 'Ҧ', - 'ҩ' => 'Ҩ', - 'ҫ' => 'Ҫ', - 'ҭ' => 'Ҭ', - 'ү' => 'Ү', - 'ұ' => 'Ұ', - 'ҳ' => 'Ҳ', - 'ҵ' => 'Ҵ', - 'ҷ' => 'Ҷ', - 'ҹ' => 'Ҹ', - 'һ' => 'Һ', - 'ҽ' => 'Ҽ', - 'ҿ' => 'Ҿ', - 'ӂ' => 'Ӂ', - 'ӄ' => 'Ӄ', - 'ӆ' => 'Ӆ', - 'ӈ' => 'Ӈ', - 'ӊ' => 'Ӊ', - 'ӌ' => 'Ӌ', - 'ӎ' => 'Ӎ', - 'ӏ' => 'Ӏ', - 'ӑ' => 'Ӑ', - 'ӓ' => 'Ӓ', - 'ӕ' => 'Ӕ', - 'ӗ' => 'Ӗ', - 'ә' => 'Ә', - 'ӛ' => 'Ӛ', - 'ӝ' => 'Ӝ', - 'ӟ' => 'Ӟ', - 'ӡ' => 'Ӡ', - 'ӣ' => 'Ӣ', - 'ӥ' => 'Ӥ', - 'ӧ' => 'Ӧ', - 'ө' => 'Ө', - 'ӫ' => 'Ӫ', - 'ӭ' => 'Ӭ', - 'ӯ' => 'Ӯ', - 'ӱ' => 'Ӱ', - 'ӳ' => 'Ӳ', - 'ӵ' => 'Ӵ', - 'ӷ' => 'Ӷ', - 'ӹ' => 'Ӹ', - 'ӻ' => 'Ӻ', - 'ӽ' => 'Ӽ', - 'ӿ' => 'Ӿ', - 'ԁ' => 'Ԁ', - 'ԃ' => 'Ԃ', - 'ԅ' => 'Ԅ', - 'ԇ' => 'Ԇ', - 'ԉ' => 'Ԉ', - 'ԋ' => 'Ԋ', - 'ԍ' => 'Ԍ', - 'ԏ' => 'Ԏ', - 'ԑ' => 'Ԑ', - 'ԓ' => 'Ԓ', - 'ԕ' => 'Ԕ', - 'ԗ' => 'Ԗ', - 'ԙ' => 'Ԙ', - 'ԛ' => 'Ԛ', - 'ԝ' => 'Ԝ', - 'ԟ' => 'Ԟ', - 'ԡ' => 'Ԡ', - 'ԣ' => 'Ԣ', - 'ԥ' => 'Ԥ', - 'ԧ' => 'Ԧ', - 'ԩ' => 'Ԩ', - 'ԫ' => 'Ԫ', - 'ԭ' => 'Ԭ', - 'ԯ' => 'Ԯ', - 'ա' => 'Ա', - 'բ' => 'Բ', - 'գ' => 'Գ', - 'դ' => 'Դ', - 'ե' => 'Ե', - 'զ' => 'Զ', - 'է' => 'Է', - 'ը' => 'Ը', - 'թ' => 'Թ', - 'ժ' => 'Ժ', - 'ի' => 'Ի', - 'լ' => 'Լ', - 'խ' => 'Խ', - 'ծ' => 'Ծ', - 'կ' => 'Կ', - 'հ' => 'Հ', - 'ձ' => 'Ձ', - 'ղ' => 'Ղ', - 'ճ' => 'Ճ', - 'մ' => 'Մ', - 'յ' => 'Յ', - 'ն' => 'Ն', - 'շ' => 'Շ', - 'ո' => 'Ո', - 'չ' => 'Չ', - 'պ' => 'Պ', - 'ջ' => 'Ջ', - 'ռ' => 'Ռ', - 'ս' => 'Ս', - 'վ' => 'Վ', - 'տ' => 'Տ', - 'ր' => 'Ր', - 'ց' => 'Ց', - 'ւ' => 'Ւ', - 'փ' => 'Փ', - 'ք' => 'Ք', - 'օ' => 'Օ', - 'ֆ' => 'Ֆ', - 'ა' => 'Ა', - 'ბ' => 'Ბ', - 'გ' => 'Გ', - 'დ' => 'Დ', - 'ე' => 'Ე', - 'ვ' => 'Ვ', - 'ზ' => 'Ზ', - 'თ' => 'Თ', - 'ი' => 'Ი', - 'კ' => 'Კ', - 'ლ' => 'Ლ', - 'მ' => 'Მ', - 'ნ' => 'Ნ', - 'ო' => 'Ო', - 'პ' => 'Პ', - 'ჟ' => 'Ჟ', - 'რ' => 'Რ', - 'ს' => 'Ს', - 'ტ' => 'Ტ', - 'უ' => 'Უ', - 'ფ' => 'Ფ', - 'ქ' => 'Ქ', - 'ღ' => 'Ღ', - 'ყ' => 'Ყ', - 'შ' => 'Შ', - 'ჩ' => 'Ჩ', - 'ც' => 'Ც', - 'ძ' => 'Ძ', - 'წ' => 'Წ', - 'ჭ' => 'Ჭ', - 'ხ' => 'Ხ', - 'ჯ' => 'Ჯ', - 'ჰ' => 'Ჰ', - 'ჱ' => 'Ჱ', - 'ჲ' => 'Ჲ', - 'ჳ' => 'Ჳ', - 'ჴ' => 'Ჴ', - 'ჵ' => 'Ჵ', - 'ჶ' => 'Ჶ', - 'ჷ' => 'Ჷ', - 'ჸ' => 'Ჸ', - 'ჹ' => 'Ჹ', - 'ჺ' => 'Ჺ', - 'ჽ' => 'Ჽ', - 'ჾ' => 'Ჾ', - 'ჿ' => 'Ჿ', - 'ᏸ' => 'Ᏸ', - 'ᏹ' => 'Ᏹ', - 'ᏺ' => 'Ᏺ', - 'ᏻ' => 'Ᏻ', - 'ᏼ' => 'Ᏼ', - 'ᏽ' => 'Ᏽ', - 'ᲀ' => 'В', - 'ᲁ' => 'Д', - 'ᲂ' => 'О', - 'ᲃ' => 'С', - 'ᲄ' => 'Т', - 'ᲅ' => 'Т', - 'ᲆ' => 'Ъ', - 'ᲇ' => 'Ѣ', - 'ᲈ' => 'Ꙋ', - 'ᵹ' => 'Ᵹ', - 'ᵽ' => 'Ᵽ', - 'ᶎ' => 'Ᶎ', - 'ḁ' => 'Ḁ', - 'ḃ' => 'Ḃ', - 'ḅ' => 'Ḅ', - 'ḇ' => 'Ḇ', - 'ḉ' => 'Ḉ', - 'ḋ' => 'Ḋ', - 'ḍ' => 'Ḍ', - 'ḏ' => 'Ḏ', - 'ḑ' => 'Ḑ', - 'ḓ' => 'Ḓ', - 'ḕ' => 'Ḕ', - 'ḗ' => 'Ḗ', - 'ḙ' => 'Ḙ', - 'ḛ' => 'Ḛ', - 'ḝ' => 'Ḝ', - 'ḟ' => 'Ḟ', - 'ḡ' => 'Ḡ', - 'ḣ' => 'Ḣ', - 'ḥ' => 'Ḥ', - 'ḧ' => 'Ḧ', - 'ḩ' => 'Ḩ', - 'ḫ' => 'Ḫ', - 'ḭ' => 'Ḭ', - 'ḯ' => 'Ḯ', - 'ḱ' => 'Ḱ', - 'ḳ' => 'Ḳ', - 'ḵ' => 'Ḵ', - 'ḷ' => 'Ḷ', - 'ḹ' => 'Ḹ', - 'ḻ' => 'Ḻ', - 'ḽ' => 'Ḽ', - 'ḿ' => 'Ḿ', - 'ṁ' => 'Ṁ', - 'ṃ' => 'Ṃ', - 'ṅ' => 'Ṅ', - 'ṇ' => 'Ṇ', - 'ṉ' => 'Ṉ', - 'ṋ' => 'Ṋ', - 'ṍ' => 'Ṍ', - 'ṏ' => 'Ṏ', - 'ṑ' => 'Ṑ', - 'ṓ' => 'Ṓ', - 'ṕ' => 'Ṕ', - 'ṗ' => 'Ṗ', - 'ṙ' => 'Ṙ', - 'ṛ' => 'Ṛ', - 'ṝ' => 'Ṝ', - 'ṟ' => 'Ṟ', - 'ṡ' => 'Ṡ', - 'ṣ' => 'Ṣ', - 'ṥ' => 'Ṥ', - 'ṧ' => 'Ṧ', - 'ṩ' => 'Ṩ', - 'ṫ' => 'Ṫ', - 'ṭ' => 'Ṭ', - 'ṯ' => 'Ṯ', - 'ṱ' => 'Ṱ', - 'ṳ' => 'Ṳ', - 'ṵ' => 'Ṵ', - 'ṷ' => 'Ṷ', - 'ṹ' => 'Ṹ', - 'ṻ' => 'Ṻ', - 'ṽ' => 'Ṽ', - 'ṿ' => 'Ṿ', - 'ẁ' => 'Ẁ', - 'ẃ' => 'Ẃ', - 'ẅ' => 'Ẅ', - 'ẇ' => 'Ẇ', - 'ẉ' => 'Ẉ', - 'ẋ' => 'Ẋ', - 'ẍ' => 'Ẍ', - 'ẏ' => 'Ẏ', - 'ẑ' => 'Ẑ', - 'ẓ' => 'Ẓ', - 'ẕ' => 'Ẕ', - 'ẛ' => 'Ṡ', - 'ạ' => 'Ạ', - 'ả' => 'Ả', - 'ấ' => 'Ấ', - 'ầ' => 'Ầ', - 'ẩ' => 'Ẩ', - 'ẫ' => 'Ẫ', - 'ậ' => 'Ậ', - 'ắ' => 'Ắ', - 'ằ' => 'Ằ', - 'ẳ' => 'Ẳ', - 'ẵ' => 'Ẵ', - 'ặ' => 'Ặ', - 'ẹ' => 'Ẹ', - 'ẻ' => 'Ẻ', - 'ẽ' => 'Ẽ', - 'ế' => 'Ế', - 'ề' => 'Ề', - 'ể' => 'Ể', - 'ễ' => 'Ễ', - 'ệ' => 'Ệ', - 'ỉ' => 'Ỉ', - 'ị' => 'Ị', - 'ọ' => 'Ọ', - 'ỏ' => 'Ỏ', - 'ố' => 'Ố', - 'ồ' => 'Ồ', - 'ổ' => 'Ổ', - 'ỗ' => 'Ỗ', - 'ộ' => 'Ộ', - 'ớ' => 'Ớ', - 'ờ' => 'Ờ', - 'ở' => 'Ở', - 'ỡ' => 'Ỡ', - 'ợ' => 'Ợ', - 'ụ' => 'Ụ', - 'ủ' => 'Ủ', - 'ứ' => 'Ứ', - 'ừ' => 'Ừ', - 'ử' => 'Ử', - 'ữ' => 'Ữ', - 'ự' => 'Ự', - 'ỳ' => 'Ỳ', - 'ỵ' => 'Ỵ', - 'ỷ' => 'Ỷ', - 'ỹ' => 'Ỹ', - 'ỻ' => 'Ỻ', - 'ỽ' => 'Ỽ', - 'ỿ' => 'Ỿ', - 'ἀ' => 'Ἀ', - 'ἁ' => 'Ἁ', - 'ἂ' => 'Ἂ', - 'ἃ' => 'Ἃ', - 'ἄ' => 'Ἄ', - 'ἅ' => 'Ἅ', - 'ἆ' => 'Ἆ', - 'ἇ' => 'Ἇ', - 'ἐ' => 'Ἐ', - 'ἑ' => 'Ἑ', - 'ἒ' => 'Ἒ', - 'ἓ' => 'Ἓ', - 'ἔ' => 'Ἔ', - 'ἕ' => 'Ἕ', - 'ἠ' => 'Ἠ', - 'ἡ' => 'Ἡ', - 'ἢ' => 'Ἢ', - 'ἣ' => 'Ἣ', - 'ἤ' => 'Ἤ', - 'ἥ' => 'Ἥ', - 'ἦ' => 'Ἦ', - 'ἧ' => 'Ἧ', - 'ἰ' => 'Ἰ', - 'ἱ' => 'Ἱ', - 'ἲ' => 'Ἲ', - 'ἳ' => 'Ἳ', - 'ἴ' => 'Ἴ', - 'ἵ' => 'Ἵ', - 'ἶ' => 'Ἶ', - 'ἷ' => 'Ἷ', - 'ὀ' => 'Ὀ', - 'ὁ' => 'Ὁ', - 'ὂ' => 'Ὂ', - 'ὃ' => 'Ὃ', - 'ὄ' => 'Ὄ', - 'ὅ' => 'Ὅ', - 'ὑ' => 'Ὑ', - 'ὓ' => 'Ὓ', - 'ὕ' => 'Ὕ', - 'ὗ' => 'Ὗ', - 'ὠ' => 'Ὠ', - 'ὡ' => 'Ὡ', - 'ὢ' => 'Ὢ', - 'ὣ' => 'Ὣ', - 'ὤ' => 'Ὤ', - 'ὥ' => 'Ὥ', - 'ὦ' => 'Ὦ', - 'ὧ' => 'Ὧ', - 'ὰ' => 'Ὰ', - 'ά' => 'Ά', - 'ὲ' => 'Ὲ', - 'έ' => 'Έ', - 'ὴ' => 'Ὴ', - 'ή' => 'Ή', - 'ὶ' => 'Ὶ', - 'ί' => 'Ί', - 'ὸ' => 'Ὸ', - 'ό' => 'Ό', - 'ὺ' => 'Ὺ', - 'ύ' => 'Ύ', - 'ὼ' => 'Ὼ', - 'ώ' => 'Ώ', - 'ᾀ' => 'ἈΙ', - 'ᾁ' => 'ἉΙ', - 'ᾂ' => 'ἊΙ', - 'ᾃ' => 'ἋΙ', - 'ᾄ' => 'ἌΙ', - 'ᾅ' => 'ἍΙ', - 'ᾆ' => 'ἎΙ', - 'ᾇ' => 'ἏΙ', - 'ᾐ' => 'ἨΙ', - 'ᾑ' => 'ἩΙ', - 'ᾒ' => 'ἪΙ', - 'ᾓ' => 'ἫΙ', - 'ᾔ' => 'ἬΙ', - 'ᾕ' => 'ἭΙ', - 'ᾖ' => 'ἮΙ', - 'ᾗ' => 'ἯΙ', - 'ᾠ' => 'ὨΙ', - 'ᾡ' => 'ὩΙ', - 'ᾢ' => 'ὪΙ', - 'ᾣ' => 'ὫΙ', - 'ᾤ' => 'ὬΙ', - 'ᾥ' => 'ὭΙ', - 'ᾦ' => 'ὮΙ', - 'ᾧ' => 'ὯΙ', - 'ᾰ' => 'Ᾰ', - 'ᾱ' => 'Ᾱ', - 'ᾳ' => 'ΑΙ', - 'ι' => 'Ι', - 'ῃ' => 'ΗΙ', - 'ῐ' => 'Ῐ', - 'ῑ' => 'Ῑ', - 'ῠ' => 'Ῠ', - 'ῡ' => 'Ῡ', - 'ῥ' => 'Ῥ', - 'ῳ' => 'ΩΙ', - 'ⅎ' => 'Ⅎ', - 'ⅰ' => 'Ⅰ', - 'ⅱ' => 'Ⅱ', - 'ⅲ' => 'Ⅲ', - 'ⅳ' => 'Ⅳ', - 'ⅴ' => 'Ⅴ', - 'ⅵ' => 'Ⅵ', - 'ⅶ' => 'Ⅶ', - 'ⅷ' => 'Ⅷ', - 'ⅸ' => 'Ⅸ', - 'ⅹ' => 'Ⅹ', - 'ⅺ' => 'Ⅺ', - 'ⅻ' => 'Ⅻ', - 'ⅼ' => 'Ⅼ', - 'ⅽ' => 'Ⅽ', - 'ⅾ' => 'Ⅾ', - 'ⅿ' => 'Ⅿ', - 'ↄ' => 'Ↄ', - 'ⓐ' => 'Ⓐ', - 'ⓑ' => 'Ⓑ', - 'ⓒ' => 'Ⓒ', - 'ⓓ' => 'Ⓓ', - 'ⓔ' => 'Ⓔ', - 'ⓕ' => 'Ⓕ', - 'ⓖ' => 'Ⓖ', - 'ⓗ' => 'Ⓗ', - 'ⓘ' => 'Ⓘ', - 'ⓙ' => 'Ⓙ', - 'ⓚ' => 'Ⓚ', - 'ⓛ' => 'Ⓛ', - 'ⓜ' => 'Ⓜ', - 'ⓝ' => 'Ⓝ', - 'ⓞ' => 'Ⓞ', - 'ⓟ' => 'Ⓟ', - 'ⓠ' => 'Ⓠ', - 'ⓡ' => 'Ⓡ', - 'ⓢ' => 'Ⓢ', - 'ⓣ' => 'Ⓣ', - 'ⓤ' => 'Ⓤ', - 'ⓥ' => 'Ⓥ', - 'ⓦ' => 'Ⓦ', - 'ⓧ' => 'Ⓧ', - 'ⓨ' => 'Ⓨ', - 'ⓩ' => 'Ⓩ', - 'ⰰ' => 'Ⰰ', - 'ⰱ' => 'Ⰱ', - 'ⰲ' => 'Ⰲ', - 'ⰳ' => 'Ⰳ', - 'ⰴ' => 'Ⰴ', - 'ⰵ' => 'Ⰵ', - 'ⰶ' => 'Ⰶ', - 'ⰷ' => 'Ⰷ', - 'ⰸ' => 'Ⰸ', - 'ⰹ' => 'Ⰹ', - 'ⰺ' => 'Ⰺ', - 'ⰻ' => 'Ⰻ', - 'ⰼ' => 'Ⰼ', - 'ⰽ' => 'Ⰽ', - 'ⰾ' => 'Ⰾ', - 'ⰿ' => 'Ⰿ', - 'ⱀ' => 'Ⱀ', - 'ⱁ' => 'Ⱁ', - 'ⱂ' => 'Ⱂ', - 'ⱃ' => 'Ⱃ', - 'ⱄ' => 'Ⱄ', - 'ⱅ' => 'Ⱅ', - 'ⱆ' => 'Ⱆ', - 'ⱇ' => 'Ⱇ', - 'ⱈ' => 'Ⱈ', - 'ⱉ' => 'Ⱉ', - 'ⱊ' => 'Ⱊ', - 'ⱋ' => 'Ⱋ', - 'ⱌ' => 'Ⱌ', - 'ⱍ' => 'Ⱍ', - 'ⱎ' => 'Ⱎ', - 'ⱏ' => 'Ⱏ', - 'ⱐ' => 'Ⱐ', - 'ⱑ' => 'Ⱑ', - 'ⱒ' => 'Ⱒ', - 'ⱓ' => 'Ⱓ', - 'ⱔ' => 'Ⱔ', - 'ⱕ' => 'Ⱕ', - 'ⱖ' => 'Ⱖ', - 'ⱗ' => 'Ⱗ', - 'ⱘ' => 'Ⱘ', - 'ⱙ' => 'Ⱙ', - 'ⱚ' => 'Ⱚ', - 'ⱛ' => 'Ⱛ', - 'ⱜ' => 'Ⱜ', - 'ⱝ' => 'Ⱝ', - 'ⱞ' => 'Ⱞ', - 'ⱡ' => 'Ⱡ', - 'ⱥ' => 'Ⱥ', - 'ⱦ' => 'Ⱦ', - 'ⱨ' => 'Ⱨ', - 'ⱪ' => 'Ⱪ', - 'ⱬ' => 'Ⱬ', - 'ⱳ' => 'Ⱳ', - 'ⱶ' => 'Ⱶ', - 'ⲁ' => 'Ⲁ', - 'ⲃ' => 'Ⲃ', - 'ⲅ' => 'Ⲅ', - 'ⲇ' => 'Ⲇ', - 'ⲉ' => 'Ⲉ', - 'ⲋ' => 'Ⲋ', - 'ⲍ' => 'Ⲍ', - 'ⲏ' => 'Ⲏ', - 'ⲑ' => 'Ⲑ', - 'ⲓ' => 'Ⲓ', - 'ⲕ' => 'Ⲕ', - 'ⲗ' => 'Ⲗ', - 'ⲙ' => 'Ⲙ', - 'ⲛ' => 'Ⲛ', - 'ⲝ' => 'Ⲝ', - 'ⲟ' => 'Ⲟ', - 'ⲡ' => 'Ⲡ', - 'ⲣ' => 'Ⲣ', - 'ⲥ' => 'Ⲥ', - 'ⲧ' => 'Ⲧ', - 'ⲩ' => 'Ⲩ', - 'ⲫ' => 'Ⲫ', - 'ⲭ' => 'Ⲭ', - 'ⲯ' => 'Ⲯ', - 'ⲱ' => 'Ⲱ', - 'ⲳ' => 'Ⲳ', - 'ⲵ' => 'Ⲵ', - 'ⲷ' => 'Ⲷ', - 'ⲹ' => 'Ⲹ', - 'ⲻ' => 'Ⲻ', - 'ⲽ' => 'Ⲽ', - 'ⲿ' => 'Ⲿ', - 'ⳁ' => 'Ⳁ', - 'ⳃ' => 'Ⳃ', - 'ⳅ' => 'Ⳅ', - 'ⳇ' => 'Ⳇ', - 'ⳉ' => 'Ⳉ', - 'ⳋ' => 'Ⳋ', - 'ⳍ' => 'Ⳍ', - 'ⳏ' => 'Ⳏ', - 'ⳑ' => 'Ⳑ', - 'ⳓ' => 'Ⳓ', - 'ⳕ' => 'Ⳕ', - 'ⳗ' => 'Ⳗ', - 'ⳙ' => 'Ⳙ', - 'ⳛ' => 'Ⳛ', - 'ⳝ' => 'Ⳝ', - 'ⳟ' => 'Ⳟ', - 'ⳡ' => 'Ⳡ', - 'ⳣ' => 'Ⳣ', - 'ⳬ' => 'Ⳬ', - 'ⳮ' => 'Ⳮ', - 'ⳳ' => 'Ⳳ', - 'ⴀ' => 'Ⴀ', - 'ⴁ' => 'Ⴁ', - 'ⴂ' => 'Ⴂ', - 'ⴃ' => 'Ⴃ', - 'ⴄ' => 'Ⴄ', - 'ⴅ' => 'Ⴅ', - 'ⴆ' => 'Ⴆ', - 'ⴇ' => 'Ⴇ', - 'ⴈ' => 'Ⴈ', - 'ⴉ' => 'Ⴉ', - 'ⴊ' => 'Ⴊ', - 'ⴋ' => 'Ⴋ', - 'ⴌ' => 'Ⴌ', - 'ⴍ' => 'Ⴍ', - 'ⴎ' => 'Ⴎ', - 'ⴏ' => 'Ⴏ', - 'ⴐ' => 'Ⴐ', - 'ⴑ' => 'Ⴑ', - 'ⴒ' => 'Ⴒ', - 'ⴓ' => 'Ⴓ', - 'ⴔ' => 'Ⴔ', - 'ⴕ' => 'Ⴕ', - 'ⴖ' => 'Ⴖ', - 'ⴗ' => 'Ⴗ', - 'ⴘ' => 'Ⴘ', - 'ⴙ' => 'Ⴙ', - 'ⴚ' => 'Ⴚ', - 'ⴛ' => 'Ⴛ', - 'ⴜ' => 'Ⴜ', - 'ⴝ' => 'Ⴝ', - 'ⴞ' => 'Ⴞ', - 'ⴟ' => 'Ⴟ', - 'ⴠ' => 'Ⴠ', - 'ⴡ' => 'Ⴡ', - 'ⴢ' => 'Ⴢ', - 'ⴣ' => 'Ⴣ', - 'ⴤ' => 'Ⴤ', - 'ⴥ' => 'Ⴥ', - 'ⴧ' => 'Ⴧ', - 'ⴭ' => 'Ⴭ', - 'ꙁ' => 'Ꙁ', - 'ꙃ' => 'Ꙃ', - 'ꙅ' => 'Ꙅ', - 'ꙇ' => 'Ꙇ', - 'ꙉ' => 'Ꙉ', - 'ꙋ' => 'Ꙋ', - 'ꙍ' => 'Ꙍ', - 'ꙏ' => 'Ꙏ', - 'ꙑ' => 'Ꙑ', - 'ꙓ' => 'Ꙓ', - 'ꙕ' => 'Ꙕ', - 'ꙗ' => 'Ꙗ', - 'ꙙ' => 'Ꙙ', - 'ꙛ' => 'Ꙛ', - 'ꙝ' => 'Ꙝ', - 'ꙟ' => 'Ꙟ', - 'ꙡ' => 'Ꙡ', - 'ꙣ' => 'Ꙣ', - 'ꙥ' => 'Ꙥ', - 'ꙧ' => 'Ꙧ', - 'ꙩ' => 'Ꙩ', - 'ꙫ' => 'Ꙫ', - 'ꙭ' => 'Ꙭ', - 'ꚁ' => 'Ꚁ', - 'ꚃ' => 'Ꚃ', - 'ꚅ' => 'Ꚅ', - 'ꚇ' => 'Ꚇ', - 'ꚉ' => 'Ꚉ', - 'ꚋ' => 'Ꚋ', - 'ꚍ' => 'Ꚍ', - 'ꚏ' => 'Ꚏ', - 'ꚑ' => 'Ꚑ', - 'ꚓ' => 'Ꚓ', - 'ꚕ' => 'Ꚕ', - 'ꚗ' => 'Ꚗ', - 'ꚙ' => 'Ꚙ', - 'ꚛ' => 'Ꚛ', - 'ꜣ' => 'Ꜣ', - 'ꜥ' => 'Ꜥ', - 'ꜧ' => 'Ꜧ', - 'ꜩ' => 'Ꜩ', - 'ꜫ' => 'Ꜫ', - 'ꜭ' => 'Ꜭ', - 'ꜯ' => 'Ꜯ', - 'ꜳ' => 'Ꜳ', - 'ꜵ' => 'Ꜵ', - 'ꜷ' => 'Ꜷ', - 'ꜹ' => 'Ꜹ', - 'ꜻ' => 'Ꜻ', - 'ꜽ' => 'Ꜽ', - 'ꜿ' => 'Ꜿ', - 'ꝁ' => 'Ꝁ', - 'ꝃ' => 'Ꝃ', - 'ꝅ' => 'Ꝅ', - 'ꝇ' => 'Ꝇ', - 'ꝉ' => 'Ꝉ', - 'ꝋ' => 'Ꝋ', - 'ꝍ' => 'Ꝍ', - 'ꝏ' => 'Ꝏ', - 'ꝑ' => 'Ꝑ', - 'ꝓ' => 'Ꝓ', - 'ꝕ' => 'Ꝕ', - 'ꝗ' => 'Ꝗ', - 'ꝙ' => 'Ꝙ', - 'ꝛ' => 'Ꝛ', - 'ꝝ' => 'Ꝝ', - 'ꝟ' => 'Ꝟ', - 'ꝡ' => 'Ꝡ', - 'ꝣ' => 'Ꝣ', - 'ꝥ' => 'Ꝥ', - 'ꝧ' => 'Ꝧ', - 'ꝩ' => 'Ꝩ', - 'ꝫ' => 'Ꝫ', - 'ꝭ' => 'Ꝭ', - 'ꝯ' => 'Ꝯ', - 'ꝺ' => 'Ꝺ', - 'ꝼ' => 'Ꝼ', - 'ꝿ' => 'Ꝿ', - 'ꞁ' => 'Ꞁ', - 'ꞃ' => 'Ꞃ', - 'ꞅ' => 'Ꞅ', - 'ꞇ' => 'Ꞇ', - 'ꞌ' => 'Ꞌ', - 'ꞑ' => 'Ꞑ', - 'ꞓ' => 'Ꞓ', - 'ꞔ' => 'Ꞔ', - 'ꞗ' => 'Ꞗ', - 'ꞙ' => 'Ꞙ', - 'ꞛ' => 'Ꞛ', - 'ꞝ' => 'Ꞝ', - 'ꞟ' => 'Ꞟ', - 'ꞡ' => 'Ꞡ', - 'ꞣ' => 'Ꞣ', - 'ꞥ' => 'Ꞥ', - 'ꞧ' => 'Ꞧ', - 'ꞩ' => 'Ꞩ', - 'ꞵ' => 'Ꞵ', - 'ꞷ' => 'Ꞷ', - 'ꞹ' => 'Ꞹ', - 'ꞻ' => 'Ꞻ', - 'ꞽ' => 'Ꞽ', - 'ꞿ' => 'Ꞿ', - 'ꟃ' => 'Ꟃ', - 'ꟈ' => 'Ꟈ', - 'ꟊ' => 'Ꟊ', - 'ꟶ' => 'Ꟶ', - 'ꭓ' => 'Ꭓ', - 'ꭰ' => 'Ꭰ', - 'ꭱ' => 'Ꭱ', - 'ꭲ' => 'Ꭲ', - 'ꭳ' => 'Ꭳ', - 'ꭴ' => 'Ꭴ', - 'ꭵ' => 'Ꭵ', - 'ꭶ' => 'Ꭶ', - 'ꭷ' => 'Ꭷ', - 'ꭸ' => 'Ꭸ', - 'ꭹ' => 'Ꭹ', - 'ꭺ' => 'Ꭺ', - 'ꭻ' => 'Ꭻ', - 'ꭼ' => 'Ꭼ', - 'ꭽ' => 'Ꭽ', - 'ꭾ' => 'Ꭾ', - 'ꭿ' => 'Ꭿ', - 'ꮀ' => 'Ꮀ', - 'ꮁ' => 'Ꮁ', - 'ꮂ' => 'Ꮂ', - 'ꮃ' => 'Ꮃ', - 'ꮄ' => 'Ꮄ', - 'ꮅ' => 'Ꮅ', - 'ꮆ' => 'Ꮆ', - 'ꮇ' => 'Ꮇ', - 'ꮈ' => 'Ꮈ', - 'ꮉ' => 'Ꮉ', - 'ꮊ' => 'Ꮊ', - 'ꮋ' => 'Ꮋ', - 'ꮌ' => 'Ꮌ', - 'ꮍ' => 'Ꮍ', - 'ꮎ' => 'Ꮎ', - 'ꮏ' => 'Ꮏ', - 'ꮐ' => 'Ꮐ', - 'ꮑ' => 'Ꮑ', - 'ꮒ' => 'Ꮒ', - 'ꮓ' => 'Ꮓ', - 'ꮔ' => 'Ꮔ', - 'ꮕ' => 'Ꮕ', - 'ꮖ' => 'Ꮖ', - 'ꮗ' => 'Ꮗ', - 'ꮘ' => 'Ꮘ', - 'ꮙ' => 'Ꮙ', - 'ꮚ' => 'Ꮚ', - 'ꮛ' => 'Ꮛ', - 'ꮜ' => 'Ꮜ', - 'ꮝ' => 'Ꮝ', - 'ꮞ' => 'Ꮞ', - 'ꮟ' => 'Ꮟ', - 'ꮠ' => 'Ꮠ', - 'ꮡ' => 'Ꮡ', - 'ꮢ' => 'Ꮢ', - 'ꮣ' => 'Ꮣ', - 'ꮤ' => 'Ꮤ', - 'ꮥ' => 'Ꮥ', - 'ꮦ' => 'Ꮦ', - 'ꮧ' => 'Ꮧ', - 'ꮨ' => 'Ꮨ', - 'ꮩ' => 'Ꮩ', - 'ꮪ' => 'Ꮪ', - 'ꮫ' => 'Ꮫ', - 'ꮬ' => 'Ꮬ', - 'ꮭ' => 'Ꮭ', - 'ꮮ' => 'Ꮮ', - 'ꮯ' => 'Ꮯ', - 'ꮰ' => 'Ꮰ', - 'ꮱ' => 'Ꮱ', - 'ꮲ' => 'Ꮲ', - 'ꮳ' => 'Ꮳ', - 'ꮴ' => 'Ꮴ', - 'ꮵ' => 'Ꮵ', - 'ꮶ' => 'Ꮶ', - 'ꮷ' => 'Ꮷ', - 'ꮸ' => 'Ꮸ', - 'ꮹ' => 'Ꮹ', - 'ꮺ' => 'Ꮺ', - 'ꮻ' => 'Ꮻ', - 'ꮼ' => 'Ꮼ', - 'ꮽ' => 'Ꮽ', - 'ꮾ' => 'Ꮾ', - 'ꮿ' => 'Ꮿ', - 'a' => 'A', - 'b' => 'B', - 'c' => 'C', - 'd' => 'D', - 'e' => 'E', - 'f' => 'F', - 'g' => 'G', - 'h' => 'H', - 'i' => 'I', - 'j' => 'J', - 'k' => 'K', - 'l' => 'L', - 'm' => 'M', - 'n' => 'N', - 'o' => 'O', - 'p' => 'P', - 'q' => 'Q', - 'r' => 'R', - 's' => 'S', - 't' => 'T', - 'u' => 'U', - 'v' => 'V', - 'w' => 'W', - 'x' => 'X', - 'y' => 'Y', - 'z' => 'Z', - '𐐨' => '𐐀', - '𐐩' => '𐐁', - '𐐪' => '𐐂', - '𐐫' => '𐐃', - '𐐬' => '𐐄', - '𐐭' => '𐐅', - '𐐮' => '𐐆', - '𐐯' => '𐐇', - '𐐰' => '𐐈', - '𐐱' => '𐐉', - '𐐲' => '𐐊', - '𐐳' => '𐐋', - '𐐴' => '𐐌', - '𐐵' => '𐐍', - '𐐶' => '𐐎', - '𐐷' => '𐐏', - '𐐸' => '𐐐', - '𐐹' => '𐐑', - '𐐺' => '𐐒', - '𐐻' => '𐐓', - '𐐼' => '𐐔', - '𐐽' => '𐐕', - '𐐾' => '𐐖', - '𐐿' => '𐐗', - '𐑀' => '𐐘', - '𐑁' => '𐐙', - '𐑂' => '𐐚', - '𐑃' => '𐐛', - '𐑄' => '𐐜', - '𐑅' => '𐐝', - '𐑆' => '𐐞', - '𐑇' => '𐐟', - '𐑈' => '𐐠', - '𐑉' => '𐐡', - '𐑊' => '𐐢', - '𐑋' => '𐐣', - '𐑌' => '𐐤', - '𐑍' => '𐐥', - '𐑎' => '𐐦', - '𐑏' => '𐐧', - '𐓘' => '𐒰', - '𐓙' => '𐒱', - '𐓚' => '𐒲', - '𐓛' => '𐒳', - '𐓜' => '𐒴', - '𐓝' => '𐒵', - '𐓞' => '𐒶', - '𐓟' => '𐒷', - '𐓠' => '𐒸', - '𐓡' => '𐒹', - '𐓢' => '𐒺', - '𐓣' => '𐒻', - '𐓤' => '𐒼', - '𐓥' => '𐒽', - '𐓦' => '𐒾', - '𐓧' => '𐒿', - '𐓨' => '𐓀', - '𐓩' => '𐓁', - '𐓪' => '𐓂', - '𐓫' => '𐓃', - '𐓬' => '𐓄', - '𐓭' => '𐓅', - '𐓮' => '𐓆', - '𐓯' => '𐓇', - '𐓰' => '𐓈', - '𐓱' => '𐓉', - '𐓲' => '𐓊', - '𐓳' => '𐓋', - '𐓴' => '𐓌', - '𐓵' => '𐓍', - '𐓶' => '𐓎', - '𐓷' => '𐓏', - '𐓸' => '𐓐', - '𐓹' => '𐓑', - '𐓺' => '𐓒', - '𐓻' => '𐓓', - '𐳀' => '𐲀', - '𐳁' => '𐲁', - '𐳂' => '𐲂', - '𐳃' => '𐲃', - '𐳄' => '𐲄', - '𐳅' => '𐲅', - '𐳆' => '𐲆', - '𐳇' => '𐲇', - '𐳈' => '𐲈', - '𐳉' => '𐲉', - '𐳊' => '𐲊', - '𐳋' => '𐲋', - '𐳌' => '𐲌', - '𐳍' => '𐲍', - '𐳎' => '𐲎', - '𐳏' => '𐲏', - '𐳐' => '𐲐', - '𐳑' => '𐲑', - '𐳒' => '𐲒', - '𐳓' => '𐲓', - '𐳔' => '𐲔', - '𐳕' => '𐲕', - '𐳖' => '𐲖', - '𐳗' => '𐲗', - '𐳘' => '𐲘', - '𐳙' => '𐲙', - '𐳚' => '𐲚', - '𐳛' => '𐲛', - '𐳜' => '𐲜', - '𐳝' => '𐲝', - '𐳞' => '𐲞', - '𐳟' => '𐲟', - '𐳠' => '𐲠', - '𐳡' => '𐲡', - '𐳢' => '𐲢', - '𐳣' => '𐲣', - '𐳤' => '𐲤', - '𐳥' => '𐲥', - '𐳦' => '𐲦', - '𐳧' => '𐲧', - '𐳨' => '𐲨', - '𐳩' => '𐲩', - '𐳪' => '𐲪', - '𐳫' => '𐲫', - '𐳬' => '𐲬', - '𐳭' => '𐲭', - '𐳮' => '𐲮', - '𐳯' => '𐲯', - '𐳰' => '𐲰', - '𐳱' => '𐲱', - '𐳲' => '𐲲', - '𑣀' => '𑢠', - '𑣁' => '𑢡', - '𑣂' => '𑢢', - '𑣃' => '𑢣', - '𑣄' => '𑢤', - '𑣅' => '𑢥', - '𑣆' => '𑢦', - '𑣇' => '𑢧', - '𑣈' => '𑢨', - '𑣉' => '𑢩', - '𑣊' => '𑢪', - '𑣋' => '𑢫', - '𑣌' => '𑢬', - '𑣍' => '𑢭', - '𑣎' => '𑢮', - '𑣏' => '𑢯', - '𑣐' => '𑢰', - '𑣑' => '𑢱', - '𑣒' => '𑢲', - '𑣓' => '𑢳', - '𑣔' => '𑢴', - '𑣕' => '𑢵', - '𑣖' => '𑢶', - '𑣗' => '𑢷', - '𑣘' => '𑢸', - '𑣙' => '𑢹', - '𑣚' => '𑢺', - '𑣛' => '𑢻', - '𑣜' => '𑢼', - '𑣝' => '𑢽', - '𑣞' => '𑢾', - '𑣟' => '𑢿', - '𖹠' => '𖹀', - '𖹡' => '𖹁', - '𖹢' => '𖹂', - '𖹣' => '𖹃', - '𖹤' => '𖹄', - '𖹥' => '𖹅', - '𖹦' => '𖹆', - '𖹧' => '𖹇', - '𖹨' => '𖹈', - '𖹩' => '𖹉', - '𖹪' => '𖹊', - '𖹫' => '𖹋', - '𖹬' => '𖹌', - '𖹭' => '𖹍', - '𖹮' => '𖹎', - '𖹯' => '𖹏', - '𖹰' => '𖹐', - '𖹱' => '𖹑', - '𖹲' => '𖹒', - '𖹳' => '𖹓', - '𖹴' => '𖹔', - '𖹵' => '𖹕', - '𖹶' => '𖹖', - '𖹷' => '𖹗', - '𖹸' => '𖹘', - '𖹹' => '𖹙', - '𖹺' => '𖹚', - '𖹻' => '𖹛', - '𖹼' => '𖹜', - '𖹽' => '𖹝', - '𖹾' => '𖹞', - '𖹿' => '𖹟', - '𞤢' => '𞤀', - '𞤣' => '𞤁', - '𞤤' => '𞤂', - '𞤥' => '𞤃', - '𞤦' => '𞤄', - '𞤧' => '𞤅', - '𞤨' => '𞤆', - '𞤩' => '𞤇', - '𞤪' => '𞤈', - '𞤫' => '𞤉', - '𞤬' => '𞤊', - '𞤭' => '𞤋', - '𞤮' => '𞤌', - '𞤯' => '𞤍', - '𞤰' => '𞤎', - '𞤱' => '𞤏', - '𞤲' => '𞤐', - '𞤳' => '𞤑', - '𞤴' => '𞤒', - '𞤵' => '𞤓', - '𞤶' => '𞤔', - '𞤷' => '𞤕', - '𞤸' => '𞤖', - '𞤹' => '𞤗', - '𞤺' => '𞤘', - '𞤻' => '𞤙', - '𞤼' => '𞤚', - '𞤽' => '𞤛', - '𞤾' => '𞤜', - '𞤿' => '𞤝', - '𞥀' => '𞤞', - '𞥁' => '𞤟', - '𞥂' => '𞤠', - '𞥃' => '𞤡', - 'ß' => 'SS', - 'ff' => 'FF', - 'fi' => 'FI', - 'fl' => 'FL', - 'ffi' => 'FFI', - 'ffl' => 'FFL', - 'ſt' => 'ST', - 'st' => 'ST', - 'և' => 'ԵՒ', - 'ﬓ' => 'ՄՆ', - 'ﬔ' => 'ՄԵ', - 'ﬕ' => 'ՄԻ', - 'ﬖ' => 'ՎՆ', - 'ﬗ' => 'ՄԽ', - 'ʼn' => 'ʼN', - 'ΐ' => 'Ϊ́', - 'ΰ' => 'Ϋ́', - 'ǰ' => 'J̌', - 'ẖ' => 'H̱', - 'ẗ' => 'T̈', - 'ẘ' => 'W̊', - 'ẙ' => 'Y̊', - 'ẚ' => 'Aʾ', - 'ὐ' => 'Υ̓', - 'ὒ' => 'Υ̓̀', - 'ὔ' => 'Υ̓́', - 'ὖ' => 'Υ̓͂', - 'ᾶ' => 'Α͂', - 'ῆ' => 'Η͂', - 'ῒ' => 'Ϊ̀', - 'ΐ' => 'Ϊ́', - 'ῖ' => 'Ι͂', - 'ῗ' => 'Ϊ͂', - 'ῢ' => 'Ϋ̀', - 'ΰ' => 'Ϋ́', - 'ῤ' => 'Ρ̓', - 'ῦ' => 'Υ͂', - 'ῧ' => 'Ϋ͂', - 'ῶ' => 'Ω͂', - 'ᾈ' => 'ἈΙ', - 'ᾉ' => 'ἉΙ', - 'ᾊ' => 'ἊΙ', - 'ᾋ' => 'ἋΙ', - 'ᾌ' => 'ἌΙ', - 'ᾍ' => 'ἍΙ', - 'ᾎ' => 'ἎΙ', - 'ᾏ' => 'ἏΙ', - 'ᾘ' => 'ἨΙ', - 'ᾙ' => 'ἩΙ', - 'ᾚ' => 'ἪΙ', - 'ᾛ' => 'ἫΙ', - 'ᾜ' => 'ἬΙ', - 'ᾝ' => 'ἭΙ', - 'ᾞ' => 'ἮΙ', - 'ᾟ' => 'ἯΙ', - 'ᾨ' => 'ὨΙ', - 'ᾩ' => 'ὩΙ', - 'ᾪ' => 'ὪΙ', - 'ᾫ' => 'ὫΙ', - 'ᾬ' => 'ὬΙ', - 'ᾭ' => 'ὭΙ', - 'ᾮ' => 'ὮΙ', - 'ᾯ' => 'ὯΙ', - 'ᾼ' => 'ΑΙ', - 'ῌ' => 'ΗΙ', - 'ῼ' => 'ΩΙ', - 'ᾲ' => 'ᾺΙ', - 'ᾴ' => 'ΆΙ', - 'ῂ' => 'ῊΙ', - 'ῄ' => 'ΉΙ', - 'ῲ' => 'ῺΙ', - 'ῴ' => 'ΏΙ', - 'ᾷ' => 'Α͂Ι', - 'ῇ' => 'Η͂Ι', - 'ῷ' => 'Ω͂Ι', -); diff --git a/vendor/symfony/polyfill-mbstring/bootstrap.php b/vendor/symfony/polyfill-mbstring/bootstrap.php deleted file mode 100644 index ecf1a0352..000000000 --- a/vendor/symfony/polyfill-mbstring/bootstrap.php +++ /dev/null @@ -1,151 +0,0 @@ - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -use Symfony\Polyfill\Mbstring as p; - -if (\PHP_VERSION_ID >= 80000) { - return require __DIR__.'/bootstrap80.php'; -} - -if (!function_exists('mb_convert_encoding')) { - function mb_convert_encoding($string, $to_encoding, $from_encoding = null) { return p\Mbstring::mb_convert_encoding($string, $to_encoding, $from_encoding); } -} -if (!function_exists('mb_decode_mimeheader')) { - function mb_decode_mimeheader($string) { return p\Mbstring::mb_decode_mimeheader($string); } -} -if (!function_exists('mb_encode_mimeheader')) { - function mb_encode_mimeheader($string, $charset = null, $transfer_encoding = null, $newline = "\r\n", $indent = 0) { return p\Mbstring::mb_encode_mimeheader($string, $charset, $transfer_encoding, $newline, $indent); } -} -if (!function_exists('mb_decode_numericentity')) { - function mb_decode_numericentity($string, $map, $encoding = null) { return p\Mbstring::mb_decode_numericentity($string, $map, $encoding); } -} -if (!function_exists('mb_encode_numericentity')) { - function mb_encode_numericentity($string, $map, $encoding = null, $hex = false) { return p\Mbstring::mb_encode_numericentity($string, $map, $encoding, $hex); } -} -if (!function_exists('mb_convert_case')) { - function mb_convert_case($string, $mode, $encoding = null) { return p\Mbstring::mb_convert_case($string, $mode, $encoding); } -} -if (!function_exists('mb_internal_encoding')) { - function mb_internal_encoding($encoding = null) { return p\Mbstring::mb_internal_encoding($encoding); } -} -if (!function_exists('mb_language')) { - function mb_language($language = null) { return p\Mbstring::mb_language($language); } -} -if (!function_exists('mb_list_encodings')) { - function mb_list_encodings() { return p\Mbstring::mb_list_encodings(); } -} -if (!function_exists('mb_encoding_aliases')) { - function mb_encoding_aliases($encoding) { return p\Mbstring::mb_encoding_aliases($encoding); } -} -if (!function_exists('mb_check_encoding')) { - function mb_check_encoding($value = null, $encoding = null) { return p\Mbstring::mb_check_encoding($value, $encoding); } -} -if (!function_exists('mb_detect_encoding')) { - function mb_detect_encoding($string, $encodings = null, $strict = false) { return p\Mbstring::mb_detect_encoding($string, $encodings, $strict); } -} -if (!function_exists('mb_detect_order')) { - function mb_detect_order($encoding = null) { return p\Mbstring::mb_detect_order($encoding); } -} -if (!function_exists('mb_parse_str')) { - function mb_parse_str($string, &$result = []) { parse_str($string, $result); return (bool) $result; } -} -if (!function_exists('mb_strlen')) { - function mb_strlen($string, $encoding = null) { return p\Mbstring::mb_strlen($string, $encoding); } -} -if (!function_exists('mb_strpos')) { - function mb_strpos($haystack, $needle, $offset = 0, $encoding = null) { return p\Mbstring::mb_strpos($haystack, $needle, $offset, $encoding); } -} -if (!function_exists('mb_strtolower')) { - function mb_strtolower($string, $encoding = null) { return p\Mbstring::mb_strtolower($string, $encoding); } -} -if (!function_exists('mb_strtoupper')) { - function mb_strtoupper($string, $encoding = null) { return p\Mbstring::mb_strtoupper($string, $encoding); } -} -if (!function_exists('mb_substitute_character')) { - function mb_substitute_character($substitute_character = null) { return p\Mbstring::mb_substitute_character($substitute_character); } -} -if (!function_exists('mb_substr')) { - function mb_substr($string, $start, $length = 2147483647, $encoding = null) { return p\Mbstring::mb_substr($string, $start, $length, $encoding); } -} -if (!function_exists('mb_stripos')) { - function mb_stripos($haystack, $needle, $offset = 0, $encoding = null) { return p\Mbstring::mb_stripos($haystack, $needle, $offset, $encoding); } -} -if (!function_exists('mb_stristr')) { - function mb_stristr($haystack, $needle, $before_needle = false, $encoding = null) { return p\Mbstring::mb_stristr($haystack, $needle, $before_needle, $encoding); } -} -if (!function_exists('mb_strrchr')) { - function mb_strrchr($haystack, $needle, $before_needle = false, $encoding = null) { return p\Mbstring::mb_strrchr($haystack, $needle, $before_needle, $encoding); } -} -if (!function_exists('mb_strrichr')) { - function mb_strrichr($haystack, $needle, $before_needle = false, $encoding = null) { return p\Mbstring::mb_strrichr($haystack, $needle, $before_needle, $encoding); } -} -if (!function_exists('mb_strripos')) { - function mb_strripos($haystack, $needle, $offset = 0, $encoding = null) { return p\Mbstring::mb_strripos($haystack, $needle, $offset, $encoding); } -} -if (!function_exists('mb_strrpos')) { - function mb_strrpos($haystack, $needle, $offset = 0, $encoding = null) { return p\Mbstring::mb_strrpos($haystack, $needle, $offset, $encoding); } -} -if (!function_exists('mb_strstr')) { - function mb_strstr($haystack, $needle, $before_needle = false, $encoding = null) { return p\Mbstring::mb_strstr($haystack, $needle, $before_needle, $encoding); } -} -if (!function_exists('mb_get_info')) { - function mb_get_info($type = 'all') { return p\Mbstring::mb_get_info($type); } -} -if (!function_exists('mb_http_output')) { - function mb_http_output($encoding = null) { return p\Mbstring::mb_http_output($encoding); } -} -if (!function_exists('mb_strwidth')) { - function mb_strwidth($string, $encoding = null) { return p\Mbstring::mb_strwidth($string, $encoding); } -} -if (!function_exists('mb_substr_count')) { - function mb_substr_count($haystack, $needle, $encoding = null) { return p\Mbstring::mb_substr_count($haystack, $needle, $encoding); } -} -if (!function_exists('mb_output_handler')) { - function mb_output_handler($string, $status) { return p\Mbstring::mb_output_handler($string, $status); } -} -if (!function_exists('mb_http_input')) { - function mb_http_input($type = null) { return p\Mbstring::mb_http_input($type); } -} - -if (!function_exists('mb_convert_variables')) { - function mb_convert_variables($to_encoding, $from_encoding, &...$vars) { return p\Mbstring::mb_convert_variables($to_encoding, $from_encoding, ...$vars); } -} - -if (!function_exists('mb_ord')) { - function mb_ord($string, $encoding = null) { return p\Mbstring::mb_ord($string, $encoding); } -} -if (!function_exists('mb_chr')) { - function mb_chr($codepoint, $encoding = null) { return p\Mbstring::mb_chr($codepoint, $encoding); } -} -if (!function_exists('mb_scrub')) { - function mb_scrub($string, $encoding = null) { $encoding = null === $encoding ? mb_internal_encoding() : $encoding; return mb_convert_encoding($string, $encoding, $encoding); } -} -if (!function_exists('mb_str_split')) { - function mb_str_split($string, $length = 1, $encoding = null) { return p\Mbstring::mb_str_split($string, $length, $encoding); } -} - -if (!function_exists('mb_str_pad')) { - function mb_str_pad(string $string, int $length, string $pad_string = ' ', int $pad_type = STR_PAD_RIGHT, ?string $encoding = null): string { return p\Mbstring::mb_str_pad($string, $length, $pad_string, $pad_type, $encoding); } -} - -if (extension_loaded('mbstring')) { - return; -} - -if (!defined('MB_CASE_UPPER')) { - define('MB_CASE_UPPER', 0); -} -if (!defined('MB_CASE_LOWER')) { - define('MB_CASE_LOWER', 1); -} -if (!defined('MB_CASE_TITLE')) { - define('MB_CASE_TITLE', 2); -} diff --git a/vendor/symfony/polyfill-mbstring/bootstrap80.php b/vendor/symfony/polyfill-mbstring/bootstrap80.php deleted file mode 100644 index 2f9fb5b42..000000000 --- a/vendor/symfony/polyfill-mbstring/bootstrap80.php +++ /dev/null @@ -1,147 +0,0 @@ - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -use Symfony\Polyfill\Mbstring as p; - -if (!function_exists('mb_convert_encoding')) { - function mb_convert_encoding(array|string|null $string, ?string $to_encoding, array|string|null $from_encoding = null): array|string|false { return p\Mbstring::mb_convert_encoding($string ?? '', (string) $to_encoding, $from_encoding); } -} -if (!function_exists('mb_decode_mimeheader')) { - function mb_decode_mimeheader(?string $string): string { return p\Mbstring::mb_decode_mimeheader((string) $string); } -} -if (!function_exists('mb_encode_mimeheader')) { - function mb_encode_mimeheader(?string $string, ?string $charset = null, ?string $transfer_encoding = null, ?string $newline = "\r\n", ?int $indent = 0): string { return p\Mbstring::mb_encode_mimeheader((string) $string, $charset, $transfer_encoding, (string) $newline, (int) $indent); } -} -if (!function_exists('mb_decode_numericentity')) { - function mb_decode_numericentity(?string $string, array $map, ?string $encoding = null): string { return p\Mbstring::mb_decode_numericentity((string) $string, $map, $encoding); } -} -if (!function_exists('mb_encode_numericentity')) { - function mb_encode_numericentity(?string $string, array $map, ?string $encoding = null, ?bool $hex = false): string { return p\Mbstring::mb_encode_numericentity((string) $string, $map, $encoding, (bool) $hex); } -} -if (!function_exists('mb_convert_case')) { - function mb_convert_case(?string $string, ?int $mode, ?string $encoding = null): string { return p\Mbstring::mb_convert_case((string) $string, (int) $mode, $encoding); } -} -if (!function_exists('mb_internal_encoding')) { - function mb_internal_encoding(?string $encoding = null): string|bool { return p\Mbstring::mb_internal_encoding($encoding); } -} -if (!function_exists('mb_language')) { - function mb_language(?string $language = null): string|bool { return p\Mbstring::mb_language($language); } -} -if (!function_exists('mb_list_encodings')) { - function mb_list_encodings(): array { return p\Mbstring::mb_list_encodings(); } -} -if (!function_exists('mb_encoding_aliases')) { - function mb_encoding_aliases(?string $encoding): array { return p\Mbstring::mb_encoding_aliases((string) $encoding); } -} -if (!function_exists('mb_check_encoding')) { - function mb_check_encoding(array|string|null $value = null, ?string $encoding = null): bool { return p\Mbstring::mb_check_encoding($value, $encoding); } -} -if (!function_exists('mb_detect_encoding')) { - function mb_detect_encoding(?string $string, array|string|null $encodings = null, ?bool $strict = false): string|false { return p\Mbstring::mb_detect_encoding((string) $string, $encodings, (bool) $strict); } -} -if (!function_exists('mb_detect_order')) { - function mb_detect_order(array|string|null $encoding = null): array|bool { return p\Mbstring::mb_detect_order($encoding); } -} -if (!function_exists('mb_parse_str')) { - function mb_parse_str(?string $string, &$result = []): bool { parse_str((string) $string, $result); return (bool) $result; } -} -if (!function_exists('mb_strlen')) { - function mb_strlen(?string $string, ?string $encoding = null): int { return p\Mbstring::mb_strlen((string) $string, $encoding); } -} -if (!function_exists('mb_strpos')) { - function mb_strpos(?string $haystack, ?string $needle, ?int $offset = 0, ?string $encoding = null): int|false { return p\Mbstring::mb_strpos((string) $haystack, (string) $needle, (int) $offset, $encoding); } -} -if (!function_exists('mb_strtolower')) { - function mb_strtolower(?string $string, ?string $encoding = null): string { return p\Mbstring::mb_strtolower((string) $string, $encoding); } -} -if (!function_exists('mb_strtoupper')) { - function mb_strtoupper(?string $string, ?string $encoding = null): string { return p\Mbstring::mb_strtoupper((string) $string, $encoding); } -} -if (!function_exists('mb_substitute_character')) { - function mb_substitute_character(string|int|null $substitute_character = null): string|int|bool { return p\Mbstring::mb_substitute_character($substitute_character); } -} -if (!function_exists('mb_substr')) { - function mb_substr(?string $string, ?int $start, ?int $length = null, ?string $encoding = null): string { return p\Mbstring::mb_substr((string) $string, (int) $start, $length, $encoding); } -} -if (!function_exists('mb_stripos')) { - function mb_stripos(?string $haystack, ?string $needle, ?int $offset = 0, ?string $encoding = null): int|false { return p\Mbstring::mb_stripos((string) $haystack, (string) $needle, (int) $offset, $encoding); } -} -if (!function_exists('mb_stristr')) { - function mb_stristr(?string $haystack, ?string $needle, ?bool $before_needle = false, ?string $encoding = null): string|false { return p\Mbstring::mb_stristr((string) $haystack, (string) $needle, (bool) $before_needle, $encoding); } -} -if (!function_exists('mb_strrchr')) { - function mb_strrchr(?string $haystack, ?string $needle, ?bool $before_needle = false, ?string $encoding = null): string|false { return p\Mbstring::mb_strrchr((string) $haystack, (string) $needle, (bool) $before_needle, $encoding); } -} -if (!function_exists('mb_strrichr')) { - function mb_strrichr(?string $haystack, ?string $needle, ?bool $before_needle = false, ?string $encoding = null): string|false { return p\Mbstring::mb_strrichr((string) $haystack, (string) $needle, (bool) $before_needle, $encoding); } -} -if (!function_exists('mb_strripos')) { - function mb_strripos(?string $haystack, ?string $needle, ?int $offset = 0, ?string $encoding = null): int|false { return p\Mbstring::mb_strripos((string) $haystack, (string) $needle, (int) $offset, $encoding); } -} -if (!function_exists('mb_strrpos')) { - function mb_strrpos(?string $haystack, ?string $needle, ?int $offset = 0, ?string $encoding = null): int|false { return p\Mbstring::mb_strrpos((string) $haystack, (string) $needle, (int) $offset, $encoding); } -} -if (!function_exists('mb_strstr')) { - function mb_strstr(?string $haystack, ?string $needle, ?bool $before_needle = false, ?string $encoding = null): string|false { return p\Mbstring::mb_strstr((string) $haystack, (string) $needle, (bool) $before_needle, $encoding); } -} -if (!function_exists('mb_get_info')) { - function mb_get_info(?string $type = 'all'): array|string|int|false { return p\Mbstring::mb_get_info((string) $type); } -} -if (!function_exists('mb_http_output')) { - function mb_http_output(?string $encoding = null): string|bool { return p\Mbstring::mb_http_output($encoding); } -} -if (!function_exists('mb_strwidth')) { - function mb_strwidth(?string $string, ?string $encoding = null): int { return p\Mbstring::mb_strwidth((string) $string, $encoding); } -} -if (!function_exists('mb_substr_count')) { - function mb_substr_count(?string $haystack, ?string $needle, ?string $encoding = null): int { return p\Mbstring::mb_substr_count((string) $haystack, (string) $needle, $encoding); } -} -if (!function_exists('mb_output_handler')) { - function mb_output_handler(?string $string, ?int $status): string { return p\Mbstring::mb_output_handler((string) $string, (int) $status); } -} -if (!function_exists('mb_http_input')) { - function mb_http_input(?string $type = null): array|string|false { return p\Mbstring::mb_http_input($type); } -} - -if (!function_exists('mb_convert_variables')) { - function mb_convert_variables(?string $to_encoding, array|string|null $from_encoding, mixed &$var, mixed &...$vars): string|false { return p\Mbstring::mb_convert_variables((string) $to_encoding, $from_encoding ?? '', $var, ...$vars); } -} - -if (!function_exists('mb_ord')) { - function mb_ord(?string $string, ?string $encoding = null): int|false { return p\Mbstring::mb_ord((string) $string, $encoding); } -} -if (!function_exists('mb_chr')) { - function mb_chr(?int $codepoint, ?string $encoding = null): string|false { return p\Mbstring::mb_chr((int) $codepoint, $encoding); } -} -if (!function_exists('mb_scrub')) { - function mb_scrub(?string $string, ?string $encoding = null): string { $encoding ??= mb_internal_encoding(); return mb_convert_encoding((string) $string, $encoding, $encoding); } -} -if (!function_exists('mb_str_split')) { - function mb_str_split(?string $string, ?int $length = 1, ?string $encoding = null): array { return p\Mbstring::mb_str_split((string) $string, (int) $length, $encoding); } -} - -if (!function_exists('mb_str_pad')) { - function mb_str_pad(string $string, int $length, string $pad_string = ' ', int $pad_type = STR_PAD_RIGHT, ?string $encoding = null): string { return p\Mbstring::mb_str_pad($string, $length, $pad_string, $pad_type, $encoding); } -} - -if (extension_loaded('mbstring')) { - return; -} - -if (!defined('MB_CASE_UPPER')) { - define('MB_CASE_UPPER', 0); -} -if (!defined('MB_CASE_LOWER')) { - define('MB_CASE_LOWER', 1); -} -if (!defined('MB_CASE_TITLE')) { - define('MB_CASE_TITLE', 2); -} diff --git a/vendor/symfony/polyfill-mbstring/composer.json b/vendor/symfony/polyfill-mbstring/composer.json deleted file mode 100644 index 943e50296..000000000 --- a/vendor/symfony/polyfill-mbstring/composer.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "name": "symfony/polyfill-mbstring", - "type": "library", - "description": "Symfony polyfill for the Mbstring extension", - "keywords": ["polyfill", "shim", "compatibility", "portable", "mbstring"], - "homepage": "https://symfony.com", - "license": "MIT", - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "require": { - "php": ">=7.1" - }, - "provide": { - "ext-mbstring": "*" - }, - "autoload": { - "psr-4": { "Symfony\\Polyfill\\Mbstring\\": "" }, - "files": [ "bootstrap.php" ] - }, - "suggest": { - "ext-mbstring": "For best performance" - }, - "minimum-stability": "dev", - "extra": { - "branch-alias": { - "dev-main": "1.28-dev" - }, - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" - } - } -} diff --git a/vendor/symfony/polyfill-php80/LICENSE b/vendor/symfony/polyfill-php80/LICENSE deleted file mode 100644 index 0ed3a2465..000000000 --- a/vendor/symfony/polyfill-php80/LICENSE +++ /dev/null @@ -1,19 +0,0 @@ -Copyright (c) 2020-present Fabien Potencier - -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/symfony/polyfill-php80/Php80.php b/vendor/symfony/polyfill-php80/Php80.php deleted file mode 100644 index 362dd1a95..000000000 --- a/vendor/symfony/polyfill-php80/Php80.php +++ /dev/null @@ -1,115 +0,0 @@ - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace Symfony\Polyfill\Php80; - -/** - * @author Ion Bazan - * @author Nico Oelgart - * @author Nicolas Grekas - * - * @internal - */ -final class Php80 -{ - public static function fdiv(float $dividend, float $divisor): float - { - return @($dividend / $divisor); - } - - public static function get_debug_type($value): string - { - switch (true) { - case null === $value: return 'null'; - case \is_bool($value): return 'bool'; - case \is_string($value): return 'string'; - case \is_array($value): return 'array'; - case \is_int($value): return 'int'; - case \is_float($value): return 'float'; - case \is_object($value): break; - case $value instanceof \__PHP_Incomplete_Class: return '__PHP_Incomplete_Class'; - default: - if (null === $type = @get_resource_type($value)) { - return 'unknown'; - } - - if ('Unknown' === $type) { - $type = 'closed'; - } - - return "resource ($type)"; - } - - $class = \get_class($value); - - if (false === strpos($class, '@')) { - return $class; - } - - return (get_parent_class($class) ?: key(class_implements($class)) ?: 'class').'@anonymous'; - } - - public static function get_resource_id($res): int - { - if (!\is_resource($res) && null === @get_resource_type($res)) { - throw new \TypeError(sprintf('Argument 1 passed to get_resource_id() must be of the type resource, %s given', get_debug_type($res))); - } - - return (int) $res; - } - - public static function preg_last_error_msg(): string - { - switch (preg_last_error()) { - case \PREG_INTERNAL_ERROR: - return 'Internal error'; - case \PREG_BAD_UTF8_ERROR: - return 'Malformed UTF-8 characters, possibly incorrectly encoded'; - case \PREG_BAD_UTF8_OFFSET_ERROR: - return 'The offset did not correspond to the beginning of a valid UTF-8 code point'; - case \PREG_BACKTRACK_LIMIT_ERROR: - return 'Backtrack limit exhausted'; - case \PREG_RECURSION_LIMIT_ERROR: - return 'Recursion limit exhausted'; - case \PREG_JIT_STACKLIMIT_ERROR: - return 'JIT stack limit exhausted'; - case \PREG_NO_ERROR: - return 'No error'; - default: - return 'Unknown error'; - } - } - - public static function str_contains(string $haystack, string $needle): bool - { - return '' === $needle || false !== strpos($haystack, $needle); - } - - public static function str_starts_with(string $haystack, string $needle): bool - { - return 0 === strncmp($haystack, $needle, \strlen($needle)); - } - - public static function str_ends_with(string $haystack, string $needle): bool - { - if ('' === $needle || $needle === $haystack) { - return true; - } - - if ('' === $haystack) { - return false; - } - - $needleLength = \strlen($needle); - - return $needleLength <= \strlen($haystack) && 0 === substr_compare($haystack, $needle, -$needleLength); - } -} diff --git a/vendor/symfony/polyfill-php80/PhpToken.php b/vendor/symfony/polyfill-php80/PhpToken.php deleted file mode 100644 index fe6e69105..000000000 --- a/vendor/symfony/polyfill-php80/PhpToken.php +++ /dev/null @@ -1,103 +0,0 @@ - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace Symfony\Polyfill\Php80; - -/** - * @author Fedonyuk Anton - * - * @internal - */ -class PhpToken implements \Stringable -{ - /** - * @var int - */ - public $id; - - /** - * @var string - */ - public $text; - - /** - * @var int - */ - public $line; - - /** - * @var int - */ - public $pos; - - public function __construct(int $id, string $text, int $line = -1, int $position = -1) - { - $this->id = $id; - $this->text = $text; - $this->line = $line; - $this->pos = $position; - } - - public function getTokenName(): ?string - { - if ('UNKNOWN' === $name = token_name($this->id)) { - $name = \strlen($this->text) > 1 || \ord($this->text) < 32 ? null : $this->text; - } - - return $name; - } - - /** - * @param int|string|array $kind - */ - public function is($kind): bool - { - foreach ((array) $kind as $value) { - if (\in_array($value, [$this->id, $this->text], true)) { - return true; - } - } - - return false; - } - - public function isIgnorable(): bool - { - return \in_array($this->id, [\T_WHITESPACE, \T_COMMENT, \T_DOC_COMMENT, \T_OPEN_TAG], true); - } - - public function __toString(): string - { - return (string) $this->text; - } - - /** - * @return static[] - */ - public static function tokenize(string $code, int $flags = 0): array - { - $line = 1; - $position = 0; - $tokens = token_get_all($code, $flags); - foreach ($tokens as $index => $token) { - if (\is_string($token)) { - $id = \ord($token); - $text = $token; - } else { - [$id, $text, $line] = $token; - } - $tokens[$index] = new static($id, $text, $line, $position); - $position += \strlen($text); - } - - return $tokens; - } -} diff --git a/vendor/symfony/polyfill-php80/README.md b/vendor/symfony/polyfill-php80/README.md deleted file mode 100644 index 3816c559d..000000000 --- a/vendor/symfony/polyfill-php80/README.md +++ /dev/null @@ -1,25 +0,0 @@ -Symfony Polyfill / Php80 -======================== - -This component provides features added to PHP 8.0 core: - -- [`Stringable`](https://php.net/stringable) interface -- [`fdiv`](https://php.net/fdiv) -- [`ValueError`](https://php.net/valueerror) class -- [`UnhandledMatchError`](https://php.net/unhandledmatcherror) class -- `FILTER_VALIDATE_BOOL` constant -- [`get_debug_type`](https://php.net/get_debug_type) -- [`PhpToken`](https://php.net/phptoken) class -- [`preg_last_error_msg`](https://php.net/preg_last_error_msg) -- [`str_contains`](https://php.net/str_contains) -- [`str_starts_with`](https://php.net/str_starts_with) -- [`str_ends_with`](https://php.net/str_ends_with) -- [`get_resource_id`](https://php.net/get_resource_id) - -More information can be found in the -[main Polyfill README](https://github.com/symfony/polyfill/blob/main/README.md). - -License -======= - -This library is released under the [MIT license](LICENSE). diff --git a/vendor/symfony/polyfill-php80/Resources/stubs/Attribute.php b/vendor/symfony/polyfill-php80/Resources/stubs/Attribute.php deleted file mode 100644 index 2b955423f..000000000 --- a/vendor/symfony/polyfill-php80/Resources/stubs/Attribute.php +++ /dev/null @@ -1,31 +0,0 @@ - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -#[Attribute(Attribute::TARGET_CLASS)] -final class Attribute -{ - public const TARGET_CLASS = 1; - public const TARGET_FUNCTION = 2; - public const TARGET_METHOD = 4; - public const TARGET_PROPERTY = 8; - public const TARGET_CLASS_CONSTANT = 16; - public const TARGET_PARAMETER = 32; - public const TARGET_ALL = 63; - public const IS_REPEATABLE = 64; - - /** @var int */ - public $flags; - - public function __construct(int $flags = self::TARGET_ALL) - { - $this->flags = $flags; - } -} diff --git a/vendor/symfony/polyfill-php80/Resources/stubs/PhpToken.php b/vendor/symfony/polyfill-php80/Resources/stubs/PhpToken.php deleted file mode 100644 index bd1212f6e..000000000 --- a/vendor/symfony/polyfill-php80/Resources/stubs/PhpToken.php +++ /dev/null @@ -1,16 +0,0 @@ - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -if (\PHP_VERSION_ID < 80000 && extension_loaded('tokenizer')) { - class PhpToken extends Symfony\Polyfill\Php80\PhpToken - { - } -} diff --git a/vendor/symfony/polyfill-php80/Resources/stubs/Stringable.php b/vendor/symfony/polyfill-php80/Resources/stubs/Stringable.php deleted file mode 100644 index 7c62d7508..000000000 --- a/vendor/symfony/polyfill-php80/Resources/stubs/Stringable.php +++ /dev/null @@ -1,20 +0,0 @@ - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -if (\PHP_VERSION_ID < 80000) { - interface Stringable - { - /** - * @return string - */ - public function __toString(); - } -} diff --git a/vendor/symfony/polyfill-php80/Resources/stubs/UnhandledMatchError.php b/vendor/symfony/polyfill-php80/Resources/stubs/UnhandledMatchError.php deleted file mode 100644 index 01c6c6c8a..000000000 --- a/vendor/symfony/polyfill-php80/Resources/stubs/UnhandledMatchError.php +++ /dev/null @@ -1,16 +0,0 @@ - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -if (\PHP_VERSION_ID < 80000) { - class UnhandledMatchError extends Error - { - } -} diff --git a/vendor/symfony/polyfill-php80/Resources/stubs/ValueError.php b/vendor/symfony/polyfill-php80/Resources/stubs/ValueError.php deleted file mode 100644 index 783dbc28c..000000000 --- a/vendor/symfony/polyfill-php80/Resources/stubs/ValueError.php +++ /dev/null @@ -1,16 +0,0 @@ - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -if (\PHP_VERSION_ID < 80000) { - class ValueError extends Error - { - } -} diff --git a/vendor/symfony/polyfill-php80/bootstrap.php b/vendor/symfony/polyfill-php80/bootstrap.php deleted file mode 100644 index e5f7dbc1a..000000000 --- a/vendor/symfony/polyfill-php80/bootstrap.php +++ /dev/null @@ -1,42 +0,0 @@ - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -use Symfony\Polyfill\Php80 as p; - -if (\PHP_VERSION_ID >= 80000) { - return; -} - -if (!defined('FILTER_VALIDATE_BOOL') && defined('FILTER_VALIDATE_BOOLEAN')) { - define('FILTER_VALIDATE_BOOL', \FILTER_VALIDATE_BOOLEAN); -} - -if (!function_exists('fdiv')) { - function fdiv(float $num1, float $num2): float { return p\Php80::fdiv($num1, $num2); } -} -if (!function_exists('preg_last_error_msg')) { - function preg_last_error_msg(): string { return p\Php80::preg_last_error_msg(); } -} -if (!function_exists('str_contains')) { - function str_contains(?string $haystack, ?string $needle): bool { return p\Php80::str_contains($haystack ?? '', $needle ?? ''); } -} -if (!function_exists('str_starts_with')) { - function str_starts_with(?string $haystack, ?string $needle): bool { return p\Php80::str_starts_with($haystack ?? '', $needle ?? ''); } -} -if (!function_exists('str_ends_with')) { - function str_ends_with(?string $haystack, ?string $needle): bool { return p\Php80::str_ends_with($haystack ?? '', $needle ?? ''); } -} -if (!function_exists('get_debug_type')) { - function get_debug_type($value): string { return p\Php80::get_debug_type($value); } -} -if (!function_exists('get_resource_id')) { - function get_resource_id($resource): int { return p\Php80::get_resource_id($resource); } -} diff --git a/vendor/symfony/polyfill-php80/composer.json b/vendor/symfony/polyfill-php80/composer.json deleted file mode 100644 index f1801f403..000000000 --- a/vendor/symfony/polyfill-php80/composer.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "name": "symfony/polyfill-php80", - "type": "library", - "description": "Symfony polyfill backporting some PHP 8.0+ features to lower PHP versions", - "keywords": ["polyfill", "shim", "compatibility", "portable"], - "homepage": "https://symfony.com", - "license": "MIT", - "authors": [ - { - "name": "Ion Bazan", - "email": "ion.bazan@gmail.com" - }, - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "require": { - "php": ">=7.1" - }, - "autoload": { - "psr-4": { "Symfony\\Polyfill\\Php80\\": "" }, - "files": [ "bootstrap.php" ], - "classmap": [ "Resources/stubs" ] - }, - "minimum-stability": "dev", - "extra": { - "branch-alias": { - "dev-main": "1.28-dev" - }, - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" - } - } -} diff --git a/vendor/symfony/polyfill-php81/LICENSE b/vendor/symfony/polyfill-php81/LICENSE deleted file mode 100644 index 99c6bdf35..000000000 --- a/vendor/symfony/polyfill-php81/LICENSE +++ /dev/null @@ -1,19 +0,0 @@ -Copyright (c) 2021-present Fabien Potencier - -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/symfony/polyfill-php81/Php81.php b/vendor/symfony/polyfill-php81/Php81.php deleted file mode 100644 index f0507b765..000000000 --- a/vendor/symfony/polyfill-php81/Php81.php +++ /dev/null @@ -1,37 +0,0 @@ - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace Symfony\Polyfill\Php81; - -/** - * @author Nicolas Grekas - * - * @internal - */ -final class Php81 -{ - public static function array_is_list(array $array): bool - { - if ([] === $array || $array === array_values($array)) { - return true; - } - - $nextKey = -1; - - foreach ($array as $k => $v) { - if ($k !== ++$nextKey) { - return false; - } - } - - return true; - } -} diff --git a/vendor/symfony/polyfill-php81/README.md b/vendor/symfony/polyfill-php81/README.md deleted file mode 100644 index c07ef7820..000000000 --- a/vendor/symfony/polyfill-php81/README.md +++ /dev/null @@ -1,18 +0,0 @@ -Symfony Polyfill / Php81 -======================== - -This component provides features added to PHP 8.1 core: - -- [`array_is_list`](https://php.net/array_is_list) -- [`enum_exists`](https://php.net/enum-exists) -- [`MYSQLI_REFRESH_REPLICA`](https://php.net/mysqli.constants#constantmysqli-refresh-replica) constant -- [`ReturnTypeWillChange`](https://wiki.php.net/rfc/internal_method_return_types) -- [`CURLStringFile`](https://php.net/CURLStringFile) (but only if PHP >= 7.4 is used) - -More information can be found in the -[main Polyfill README](https://github.com/symfony/polyfill/blob/main/README.md). - -License -======= - -This library is released under the [MIT license](LICENSE). diff --git a/vendor/symfony/polyfill-php81/Resources/stubs/CURLStringFile.php b/vendor/symfony/polyfill-php81/Resources/stubs/CURLStringFile.php deleted file mode 100644 index eb5952ee3..000000000 --- a/vendor/symfony/polyfill-php81/Resources/stubs/CURLStringFile.php +++ /dev/null @@ -1,51 +0,0 @@ - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -if (\PHP_VERSION_ID >= 70400 && extension_loaded('curl')) { - /** - * @property string $data - */ - class CURLStringFile extends CURLFile - { - private $data; - - public function __construct(string $data, string $postname, string $mime = 'application/octet-stream') - { - $this->data = $data; - parent::__construct('data://application/octet-stream;base64,'.base64_encode($data), $mime, $postname); - } - - public function __set(string $name, $value): void - { - if ('data' !== $name) { - $this->$name = $value; - - return; - } - - if (is_object($value) ? !method_exists($value, '__toString') : !is_scalar($value)) { - throw new \TypeError('Cannot assign '.gettype($value).' to property CURLStringFile::$data of type string'); - } - - $this->name = 'data://application/octet-stream;base64,'.base64_encode($value); - } - - public function __isset(string $name): bool - { - return isset($this->$name); - } - - public function &__get(string $name) - { - return $this->$name; - } - } -} diff --git a/vendor/symfony/polyfill-php81/Resources/stubs/ReturnTypeWillChange.php b/vendor/symfony/polyfill-php81/Resources/stubs/ReturnTypeWillChange.php deleted file mode 100644 index cb7720a8d..000000000 --- a/vendor/symfony/polyfill-php81/Resources/stubs/ReturnTypeWillChange.php +++ /dev/null @@ -1,20 +0,0 @@ - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -if (\PHP_VERSION_ID < 80100) { - #[Attribute(Attribute::TARGET_METHOD)] - final class ReturnTypeWillChange - { - public function __construct() - { - } - } -} diff --git a/vendor/symfony/polyfill-php81/bootstrap.php b/vendor/symfony/polyfill-php81/bootstrap.php deleted file mode 100644 index 9f872e02f..000000000 --- a/vendor/symfony/polyfill-php81/bootstrap.php +++ /dev/null @@ -1,28 +0,0 @@ - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -use Symfony\Polyfill\Php81 as p; - -if (\PHP_VERSION_ID >= 80100) { - return; -} - -if (defined('MYSQLI_REFRESH_SLAVE') && !defined('MYSQLI_REFRESH_REPLICA')) { - define('MYSQLI_REFRESH_REPLICA', 64); -} - -if (!function_exists('array_is_list')) { - function array_is_list(array $array): bool { return p\Php81::array_is_list($array); } -} - -if (!function_exists('enum_exists')) { - function enum_exists(string $enum, bool $autoload = true): bool { return $autoload && class_exists($enum) && false; } -} diff --git a/vendor/symfony/polyfill-php81/composer.json b/vendor/symfony/polyfill-php81/composer.json deleted file mode 100644 index e02d673d4..000000000 --- a/vendor/symfony/polyfill-php81/composer.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "name": "symfony/polyfill-php81", - "type": "library", - "description": "Symfony polyfill backporting some PHP 8.1+ features to lower PHP versions", - "keywords": ["polyfill", "shim", "compatibility", "portable"], - "homepage": "https://symfony.com", - "license": "MIT", - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "require": { - "php": ">=7.1" - }, - "autoload": { - "psr-4": { "Symfony\\Polyfill\\Php81\\": "" }, - "files": [ "bootstrap.php" ], - "classmap": [ "Resources/stubs" ] - }, - "minimum-stability": "dev", - "extra": { - "branch-alias": { - "dev-main": "1.28-dev" - }, - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" - } - } -} diff --git a/vendor/symfony/polyfill-php82/LICENSE b/vendor/symfony/polyfill-php82/LICENSE deleted file mode 100644 index 733c826eb..000000000 --- a/vendor/symfony/polyfill-php82/LICENSE +++ /dev/null @@ -1,19 +0,0 @@ -Copyright (c) 2022-present Fabien Potencier - -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/symfony/polyfill-php82/NoDynamicProperties.php b/vendor/symfony/polyfill-php82/NoDynamicProperties.php deleted file mode 100644 index 450deff45..000000000 --- a/vendor/symfony/polyfill-php82/NoDynamicProperties.php +++ /dev/null @@ -1,23 +0,0 @@ - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace Symfony\Polyfill\Php82; - -/** - * @internal - */ -trait NoDynamicProperties -{ - public function __set(string $name, $value): void - { - throw new \Error('Cannot create dynamic property '.self::class.'::$'.$name); - } -} diff --git a/vendor/symfony/polyfill-php82/Php82.php b/vendor/symfony/polyfill-php82/Php82.php deleted file mode 100644 index fcd1281a9..000000000 --- a/vendor/symfony/polyfill-php82/Php82.php +++ /dev/null @@ -1,368 +0,0 @@ - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace Symfony\Polyfill\Php82; - -/** - * @author Alexander M. Turek - * @author Greg Roach - * - * @internal - */ -class Php82 -{ - /** - * Determines if a string matches the ODBC quoting rules. - * - * A valid quoted string begins with a '{', ends with a '}', and has no '}' - * inside of the string that aren't repeated (as to be escaped). - * - * These rules are what .NET also follows. - * - * @see https://github.com/php/php-src/blob/838f6bffff6363a204a2597cbfbaad1d7ee3f2b6/main/php_odbc_utils.c#L31-L57 - */ - public static function odbc_connection_string_is_quoted(string $str): bool - { - if ('' === $str || '{' !== $str[0]) { - return false; - } - - /* Check for } that aren't doubled up or at the end of the string */ - $length = \strlen($str) - 1; - for ($i = 0; $i < $length; ++$i) { - if ('}' !== $str[$i]) { - continue; - } - - if ('}' !== $str[++$i]) { - return $i === $length; - } - } - - return true; - } - - /** - * Determines if a value for a connection string should be quoted. - * - * The ODBC specification mentions: - * "Because of connection string and initialization file grammar, keywords and - * attribute values that contain the characters []{}(),;?*=!@ not enclosed - * with braces should be avoided." - * - * Note that it assumes that the string is *not* already quoted. You should - * check beforehand. - * - * @see https://github.com/php/php-src/blob/838f6bffff6363a204a2597cbfbaad1d7ee3f2b6/main/php_odbc_utils.c#L59-L73 - */ - public static function odbc_connection_string_should_quote(string $str): bool - { - return false !== strpbrk($str, '[]{}(),;?*=!@'); - } - - public static function odbc_connection_string_quote(string $str): string - { - return '{'.str_replace('}', '}}', $str).'}'; - } - - /** - * Implementation closely based on the original C code - including the GOTOs - * and pointer-style string access. - * - * @see https://github.com/php/php-src/blob/master/Zend/zend_ini.c - */ - public static function ini_parse_quantity(string $value): int - { - // Avoid dependency on ctype_space() - $ctype_space = " \t\v\r\n\f"; - - $str = 0; - $str_end = \strlen($value); - $digits = $str; - $overflow = false; - - /* Ignore leading whitespace, but keep it for error messages. */ - while ($digits < $str_end && false !== strpos($ctype_space, $value[$digits])) { - ++$digits; - } - - /* Ignore trailing whitespace, but keep it for error messages. */ - while ($digits < $str_end && false !== strpos($ctype_space, $value[$str_end - 1])) { - --$str_end; - } - - if ($digits === $str_end) { - return 0; - } - - $is_negative = false; - - if ('+' === $value[$digits]) { - ++$digits; - } elseif ('-' === $value[$digits]) { - $is_negative = true; - ++$digits; - } - - if ($value[$digits] < '0' || $value[$digits] > 9) { - $message = sprintf( - 'Invalid quantity "%s": no valid leading digits, interpreting as "0" for backwards compatibility', - self::escapeString($value) - ); - - trigger_error($message, \E_USER_WARNING); - - return 0; - } - - $base = 10; - $allowed_digits = '0123456789'; - - if ('0' === $value[$digits] && ($digits + 1 === $str_end || false === strpos($allowed_digits, $value[$digits + 1]))) { - if ($digits + 1 === $str_end) { - return 0; - } - - switch ($value[$digits + 1]) { - case 'g': - case 'G': - case 'm': - case 'M': - case 'k': - case 'K': - goto evaluation; - case 'x': - case 'X': - $base = 16; - $allowed_digits = '0123456789abcdefABCDEF'; - break; - case 'o': - case 'O': - $base = 8; - $allowed_digits = '01234567'; - break; - case 'b': - case 'B': - $base = 2; - $allowed_digits = '01'; - break; - default: - $message = sprintf( - 'Invalid prefix "0%s", interpreting as "0" for backwards compatibility', - $value[$digits + 1] - ); - trigger_error($message, \E_USER_WARNING); - - return 0; - } - - $digits += 2; - if ($digits === $str_end) { - $message = sprintf( - 'Invalid quantity "%s": no digits after base prefix, interpreting as "0" for backwards compatibility', - self::escapeString($value) - ); - trigger_error($message, \E_USER_WARNING); - - return 0; - } - } - - evaluation: - - if (10 === $base && '0' === $value[$digits]) { - $base = 8; - $allowed_digits = '01234567'; - } - - while ($digits < $str_end && ' ' === $value[$digits]) { - ++$digits; - } - - if ($digits < $str_end && '+' === $value[$digits]) { - ++$digits; - } elseif ($digits < $str_end && '-' === $value[$digits]) { - $is_negative = true; - $overflow = true; - ++$digits; - } - - $digits_end = $digits; - - // The native function treats 0x0x123 the same as 0x123. This is a bug which we must replicate. - if ( - 16 === $base - && $digits_end + 2 < $str_end - && '0x' === substr($value, $digits_end, 2) - && false !== strpos($allowed_digits, $value[$digits_end + 2]) - ) { - $digits_end += 2; - } - - while ($digits_end < $str_end && false !== strpos($allowed_digits, $value[$digits_end])) { - ++$digits_end; - } - - $retval = base_convert(substr($value, $digits, $digits_end - $digits), $base, 10); - - if ($is_negative && '0' === $retval) { - $is_negative = false; - $overflow = false; - } - - // Check for overflow - remember that -PHP_INT_MIN = 1 + PHP_INT_MAX - if ($is_negative) { - $signed_max = strtr((string) \PHP_INT_MIN, ['-' => '']); - } else { - $signed_max = (string) \PHP_INT_MAX; - } - - $max_length = max(\strlen($retval), \strlen($signed_max)); - - $tmp1 = str_pad($retval, $max_length, '0', \STR_PAD_LEFT); - $tmp2 = str_pad($signed_max, $max_length, '0', \STR_PAD_LEFT); - - if ($tmp1 > $tmp2) { - $retval = -1; - $overflow = true; - } elseif ($is_negative) { - $retval = '-'.$retval; - } - - $retval = (int) $retval; - - if ($digits_end === $digits) { - $message = sprintf( - 'Invalid quantity "%s": no valid leading digits, interpreting as "0" for backwards compatibility', - self::escapeString($value) - ); - trigger_error($message, \E_USER_WARNING); - - return 0; - } - - /* Allow for whitespace between integer portion and any suffix character */ - while ($digits_end < $str_end && false !== strpos($ctype_space, $value[$digits_end])) { - ++$digits_end; - } - - /* No exponent suffix. */ - if ($digits_end === $str_end) { - goto end; - } - - switch ($value[$str_end - 1]) { - case 'g': - case 'G': - $shift = 30; - break; - case 'm': - case 'M': - $shift = 20; - break; - case 'k': - case 'K': - $shift = 10; - break; - default: - /* Unknown suffix */ - $invalid = self::escapeString($value); - $interpreted = self::escapeString(substr($value, $str, $digits_end - $str)); - $chr = self::escapeString($value[$str_end - 1]); - - $message = sprintf( - 'Invalid quantity "%s": unknown multiplier "%s", interpreting as "%s" for backwards compatibility', - $invalid, - $chr, - $interpreted - ); - - trigger_error($message, \E_USER_WARNING); - - return $retval; - } - - $factor = 1 << $shift; - - if (!$overflow) { - if ($retval > 0) { - $overflow = $retval > \PHP_INT_MAX / $factor; - } else { - $overflow = $retval < \PHP_INT_MIN / $factor; - } - } - - if (\is_float($retval * $factor)) { - $overflow = true; - $retval <<= $shift; - } else { - $retval *= $factor; - } - - if ($digits_end !== $str_end - 1) { - /* More than one character in suffix */ - $message = sprintf( - 'Invalid quantity "%s", interpreting as "%s%s" for backwards compatibility', - self::escapeString($value), - self::escapeString(substr($value, $str, $digits_end - $str)), - self::escapeString($value[$str_end - 1]) - ); - trigger_error($message, \E_USER_WARNING); - - return $retval; - } - - end: - - if ($overflow) { - /* Not specifying the resulting value here because the caller may make - * additional conversions. Not specifying the allowed range - * because the caller may do narrower range checks. */ - $message = sprintf( - 'Invalid quantity "%s": value is out of range, using overflow result for backwards compatibility', - self::escapeString($value) - ); - trigger_error($message, \E_USER_WARNING); - } - - return $retval; - } - - /** - * Escape the string to avoid null bytes and to make non-printable chars visible. - */ - private static function escapeString(string $string): string - { - $escaped = ''; - - for ($n = 0, $len = \strlen($string); $n < $len; ++$n) { - $c = \ord($string[$n]); - - if ($c < 32 || '\\' === $string[$n] || $c > 126) { - switch ($string[$n]) { - case "\n": $escaped .= '\\n'; break; - case "\r": $escaped .= '\\r'; break; - case "\t": $escaped .= '\\t'; break; - case "\f": $escaped .= '\\f'; break; - case "\v": $escaped .= '\\v'; break; - case '\\': $escaped .= '\\\\'; break; - case "\x1B": $escaped .= '\\e'; break; - default: - $escaped .= '\\x'.strtoupper(sprintf('%02x', $c)); - } - } else { - $escaped .= $string[$n]; - } - } - - return $escaped; - } -} diff --git a/vendor/symfony/polyfill-php82/README.md b/vendor/symfony/polyfill-php82/README.md deleted file mode 100644 index b3191557a..000000000 --- a/vendor/symfony/polyfill-php82/README.md +++ /dev/null @@ -1,23 +0,0 @@ -Symfony Polyfill / Php82 -======================== - -This component provides features added to PHP 8.2 core: - -- [`AllowDynamicProperties`](https://wiki.php.net/rfc/deprecate_dynamic_properties) -- [`SensitiveParameter`](https://wiki.php.net/rfc/redact_parameters_in_back_traces) -- [`SensitiveParameterValue`](https://wiki.php.net/rfc/redact_parameters_in_back_traces) -- [`Random\Engine`](https://wiki.php.net/rfc/rng_extension) -- [`Random\Engine\CryptoSafeEngine`](https://wiki.php.net/rfc/rng_extension) -- [`Random\Engine\Secure`](https://wiki.php.net/rfc/rng_extension) (check [arokettu/random-polyfill](https://packagist.org/packages/arokettu/random-polyfill) for more engines) -- [`odbc_connection_string_is_quoted()`](https://php.net/odbc_connection_string_is_quoted) -- [`odbc_connection_string_should_quote()`](https://php.net/odbc_connection_string_should_quote) -- [`odbc_connection_string_quote()`](https://php.net/odbc_connection_string_quote) -- [`ini_parse_quantity()`](https://php.net/ini_parse_quantity) - -More information can be found in the -[main Polyfill README](https://github.com/symfony/polyfill/blob/main/README.md). - -License -======= - -This library is released under the [MIT license](LICENSE). diff --git a/vendor/symfony/polyfill-php82/Random/Engine/Secure.php b/vendor/symfony/polyfill-php82/Random/Engine/Secure.php deleted file mode 100644 index 5565386c2..000000000 --- a/vendor/symfony/polyfill-php82/Random/Engine/Secure.php +++ /dev/null @@ -1,50 +0,0 @@ - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace Symfony\Polyfill\Php82\Random\Engine; - -use Random\RandomException; -use Symfony\Polyfill\Php82\NoDynamicProperties; - -/** - * @author Tim Düsterhus - * @author Anton Smirnov - * - * @internal - */ -class Secure -{ - use NoDynamicProperties; - - public function generate(): string - { - try { - return random_bytes(\PHP_INT_SIZE); - } catch (\Exception $e) { - throw new RandomException($e->getMessage(), $e->getCode(), $e->getPrevious()); - } - } - - public function __sleep(): array - { - throw new \Exception("Serialization of 'Random\Engine\Secure' is not allowed"); - } - - public function __wakeup(): void - { - throw new \Exception("Unserialization of 'Random\Engine\Secure' is not allowed"); - } - - public function __clone() - { - throw new \Error('Trying to clone an uncloneable object of class Random\Engine\Secure'); - } -} diff --git a/vendor/symfony/polyfill-php82/Resources/stubs/AllowDynamicProperties.php b/vendor/symfony/polyfill-php82/Resources/stubs/AllowDynamicProperties.php deleted file mode 100644 index d216e0ade..000000000 --- a/vendor/symfony/polyfill-php82/Resources/stubs/AllowDynamicProperties.php +++ /dev/null @@ -1,20 +0,0 @@ - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -if (\PHP_VERSION_ID < 80200) { - #[Attribute(Attribute::TARGET_CLASS)] - final class AllowDynamicProperties - { - public function __construct() - { - } - } -} diff --git a/vendor/symfony/polyfill-php82/Resources/stubs/Random/BrokenRandomEngineError.php b/vendor/symfony/polyfill-php82/Resources/stubs/Random/BrokenRandomEngineError.php deleted file mode 100644 index 971ed570d..000000000 --- a/vendor/symfony/polyfill-php82/Resources/stubs/Random/BrokenRandomEngineError.php +++ /dev/null @@ -1,18 +0,0 @@ - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace Random; - -if (\PHP_VERSION_ID < 80200) { - class BrokenRandomEngineError extends RandomError - { - } -} diff --git a/vendor/symfony/polyfill-php82/Resources/stubs/Random/CryptoSafeEngine.php b/vendor/symfony/polyfill-php82/Resources/stubs/Random/CryptoSafeEngine.php deleted file mode 100644 index fb32496f1..000000000 --- a/vendor/symfony/polyfill-php82/Resources/stubs/Random/CryptoSafeEngine.php +++ /dev/null @@ -1,18 +0,0 @@ - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace Random; - -if (\PHP_VERSION_ID < 80200) { - interface CryptoSafeEngine extends Engine - { - } -} diff --git a/vendor/symfony/polyfill-php82/Resources/stubs/Random/Engine.php b/vendor/symfony/polyfill-php82/Resources/stubs/Random/Engine.php deleted file mode 100644 index 4fc78c8fb..000000000 --- a/vendor/symfony/polyfill-php82/Resources/stubs/Random/Engine.php +++ /dev/null @@ -1,19 +0,0 @@ - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace Random; - -if (\PHP_VERSION_ID < 80200) { - interface Engine - { - public function generate(): string; - } -} diff --git a/vendor/symfony/polyfill-php82/Resources/stubs/Random/Engine/Secure.php b/vendor/symfony/polyfill-php82/Resources/stubs/Random/Engine/Secure.php deleted file mode 100644 index e779b5445..000000000 --- a/vendor/symfony/polyfill-php82/Resources/stubs/Random/Engine/Secure.php +++ /dev/null @@ -1,20 +0,0 @@ - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace Random\Engine; - -use Symfony\Polyfill\Php82 as p; - -if (\PHP_VERSION_ID < 80200) { - final class Secure extends p\Random\Engine\Secure implements \Random\CryptoSafeEngine - { - } -} diff --git a/vendor/symfony/polyfill-php82/Resources/stubs/Random/RandomError.php b/vendor/symfony/polyfill-php82/Resources/stubs/Random/RandomError.php deleted file mode 100644 index bf5e89e01..000000000 --- a/vendor/symfony/polyfill-php82/Resources/stubs/Random/RandomError.php +++ /dev/null @@ -1,21 +0,0 @@ - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace Random; - -use Symfony\Polyfill\Php82\NoDynamicProperties; - -if (\PHP_VERSION_ID < 80200) { - class RandomError extends \Error - { - use NoDynamicProperties; - } -} diff --git a/vendor/symfony/polyfill-php82/Resources/stubs/Random/RandomException.php b/vendor/symfony/polyfill-php82/Resources/stubs/Random/RandomException.php deleted file mode 100644 index 3b9aae140..000000000 --- a/vendor/symfony/polyfill-php82/Resources/stubs/Random/RandomException.php +++ /dev/null @@ -1,21 +0,0 @@ - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace Random; - -use Symfony\Polyfill\Php82\NoDynamicProperties; - -if (\PHP_VERSION_ID < 80200) { - class RandomException extends \Exception - { - use NoDynamicProperties; - } -} diff --git a/vendor/symfony/polyfill-php82/Resources/stubs/SensitiveParameter.php b/vendor/symfony/polyfill-php82/Resources/stubs/SensitiveParameter.php deleted file mode 100644 index aea4dfbdd..000000000 --- a/vendor/symfony/polyfill-php82/Resources/stubs/SensitiveParameter.php +++ /dev/null @@ -1,20 +0,0 @@ - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -if (\PHP_VERSION_ID < 80200) { - #[Attribute(Attribute::TARGET_PARAMETER)] - final class SensitiveParameter - { - public function __construct() - { - } - } -} diff --git a/vendor/symfony/polyfill-php82/Resources/stubs/SensitiveParameterValue.php b/vendor/symfony/polyfill-php82/Resources/stubs/SensitiveParameterValue.php deleted file mode 100644 index 8349170b6..000000000 --- a/vendor/symfony/polyfill-php82/Resources/stubs/SensitiveParameterValue.php +++ /dev/null @@ -1,16 +0,0 @@ - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -if (\PHP_VERSION_ID < 80200) { - final class SensitiveParameterValue extends Symfony\Polyfill\Php82\SensitiveParameterValue - { - } -} diff --git a/vendor/symfony/polyfill-php82/SensitiveParameterValue.php b/vendor/symfony/polyfill-php82/SensitiveParameterValue.php deleted file mode 100644 index 944c0a659..000000000 --- a/vendor/symfony/polyfill-php82/SensitiveParameterValue.php +++ /dev/null @@ -1,47 +0,0 @@ - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace Symfony\Polyfill\Php82; - -/** - * @author Tim Düsterhus - * - * @internal - */ -class SensitiveParameterValue -{ - private $value; - - public function __construct($value) - { - $this->value = $value; - } - - public function getValue() - { - return $this->value; - } - - public function __debugInfo(): array - { - return []; - } - - public function __sleep(): array - { - throw new \Exception("Serialization of 'SensitiveParameterValue' is not allowed"); - } - - public function __wakeup(): void - { - throw new \Exception("Unserialization of 'SensitiveParameterValue' is not allowed"); - } -} diff --git a/vendor/symfony/polyfill-php82/bootstrap.php b/vendor/symfony/polyfill-php82/bootstrap.php deleted file mode 100644 index f875f3947..000000000 --- a/vendor/symfony/polyfill-php82/bootstrap.php +++ /dev/null @@ -1,36 +0,0 @@ - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -use Symfony\Polyfill\Php82 as p; - -if (\PHP_VERSION_ID >= 80200) { - return; -} - -if (!extension_loaded('odbc')) { - return; -} - -if (!function_exists('odbc_connection_string_is_quoted')) { - function odbc_connection_string_is_quoted(string $str): bool { return p\Php82::odbc_connection_string_is_quoted($str); } -} - -if (!function_exists('odbc_connection_string_should_quote')) { - function odbc_connection_string_should_quote(string $str): bool { return p\Php82::odbc_connection_string_should_quote($str); } -} - -if (!function_exists('odbc_connection_string_quote')) { - function odbc_connection_string_quote(string $str): string { return p\Php82::odbc_connection_string_quote($str); } -} - -if (!function_exists('ini_parse_quantity')) { - function ini_parse_quantity(string $shorthand): int { return p\Php82::ini_parse_quantity($shorthand); } -} diff --git a/vendor/symfony/polyfill-php82/composer.json b/vendor/symfony/polyfill-php82/composer.json deleted file mode 100644 index e0422658a..000000000 --- a/vendor/symfony/polyfill-php82/composer.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "name": "symfony/polyfill-php82", - "type": "library", - "description": "Symfony polyfill backporting some PHP 8.2+ features to lower PHP versions", - "keywords": ["polyfill", "shim", "compatibility", "portable"], - "homepage": "https://symfony.com", - "license": "MIT", - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "require": { - "php": ">=7.1" - }, - "autoload": { - "psr-4": { "Symfony\\Polyfill\\Php82\\": "" }, - "files": [ "bootstrap.php" ], - "classmap": [ "Resources/stubs" ] - }, - "minimum-stability": "dev", - "extra": { - "branch-alias": { - "dev-main": "1.28-dev" - }, - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" - } - } -}