summaryrefslogtreecommitdiff
path: root/vendor
diff options
context:
space:
mode:
Diffstat (limited to 'vendor')
-rw-r--r--vendor/composer/autoload_classmap.php1364
-rw-r--r--vendor/composer/autoload_files.php14
-rw-r--r--vendor/composer/autoload_psr4.php15
-rw-r--r--vendor/composer/autoload_static.php1453
-rw-r--r--vendor/composer/installed.json927
-rw-r--r--vendor/composer/installed.php132
-rw-r--r--vendor/google/protobuf/LICENSE29
-rw-r--r--vendor/google/protobuf/README.md2
-rw-r--r--vendor/google/protobuf/composer.json23
-rw-r--r--vendor/google/protobuf/src/GPBMetadata/Google/Protobuf/Any.php30
-rw-r--r--vendor/google/protobuf/src/GPBMetadata/Google/Protobuf/Api.php48
-rw-r--r--vendor/google/protobuf/src/GPBMetadata/Google/Protobuf/Duration.php30
-rw-r--r--vendor/google/protobuf/src/GPBMetadata/Google/Protobuf/FieldMask.php29
-rw-r--r--vendor/google/protobuf/src/GPBMetadata/Google/Protobuf/GPBEmpty.php29
-rw-r--r--vendor/google/protobuf/src/GPBMetadata/Google/Protobuf/Internal/Descriptor.php282
-rw-r--r--vendor/google/protobuf/src/GPBMetadata/Google/Protobuf/SourceContext.php29
-rw-r--r--vendor/google/protobuf/src/GPBMetadata/Google/Protobuf/Struct.phpbin1162 -> 0 bytes
-rw-r--r--vendor/google/protobuf/src/GPBMetadata/Google/Protobuf/Timestamp.php30
-rw-r--r--vendor/google/protobuf/src/GPBMetadata/Google/Protobuf/Type.phpbin2205 -> 0 bytes
-rw-r--r--vendor/google/protobuf/src/GPBMetadata/Google/Protobuf/Wrappers.php49
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/Any.php257
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/Api.php360
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/BoolValue.php68
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/BytesValue.php68
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/Descriptor.php108
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/DescriptorPool.php76
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/DoubleValue.php68
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/Duration.php173
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/Enum.php213
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/EnumDescriptor.php79
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/EnumValue.php135
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/EnumValueDescriptor.php64
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/Field.php381
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/Field/Cardinality.php71
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/Field/Kind.php176
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/FieldDescriptor.php144
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/FieldMask.php217
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/Field_Cardinality.php16
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/Field_Kind.php16
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/FloatValue.php68
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/GPBEmpty.php38
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/Int32Value.php68
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/Int64Value.php68
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/Internal/AnyBase.php86
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/Internal/CodedInputStream.php381
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/Internal/CodedOutputStream.php159
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/Internal/Descriptor.php236
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/Internal/DescriptorPool.php194
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/Internal/DescriptorProto.php336
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/Internal/DescriptorProto/ExtensionRange.php161
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/Internal/DescriptorProto/ReservedRange.php128
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/Internal/DescriptorProto_ExtensionRange.php16
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/Internal/DescriptorProto_ReservedRange.php16
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/Internal/EnumBuilderContext.php63
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/Internal/EnumDescriptor.php116
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/Internal/EnumDescriptorProto.php216
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/Internal/EnumDescriptorProto/EnumReservedRange.php130
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/Internal/EnumDescriptorProto_EnumReservedRange.php16
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/Internal/EnumOptions.php242
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/Internal/EnumValueDescriptorProto.php146
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/Internal/EnumValueOptions.php123
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/Internal/ExtensionRangeOptions.php67
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/Internal/FieldDescriptor.php326
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/Internal/FieldDescriptorProto.php611
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/Internal/FieldDescriptorProto/Label.php58
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/Internal/FieldDescriptorProto/Type.php153
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/Internal/FieldDescriptorProto_Label.php16
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/Internal/FieldDescriptorProto_Type.php16
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/Internal/FieldOptions.php559
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/Internal/FieldOptions/CType.php58
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/Internal/FieldOptions/JSType.php62
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/Internal/FieldOptions_CType.php16
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/Internal/FieldOptions_JSType.php16
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/Internal/FileDescriptor.php89
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/Internal/FileDescriptorProto.php533
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/Internal/FileDescriptorSet.php63
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/Internal/FileOptions.php1106
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/Internal/FileOptions/OptimizeMode.php64
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/Internal/FileOptions_OptimizeMode.php16
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/Internal/GPBDecodeException.php47
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/Internal/GPBJsonWire.php304
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/Internal/GPBLabel.php40
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/Internal/GPBType.php55
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/Internal/GPBUtil.php663
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/Internal/GPBWire.php622
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/Internal/GPBWireType.php43
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/Internal/GeneratedCodeInfo.php75
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/Internal/GeneratedCodeInfo/Annotation.php255
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/Internal/GeneratedCodeInfo_Annotation.php16
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/Internal/GetPublicDescriptorTrait.php41
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/Internal/HasPublicDescriptorTrait.php43
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/Internal/MapEntry.php71
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/Internal/MapField.php298
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/Internal/MapFieldIter.php146
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/Internal/Message.php2040
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/Internal/MessageBuilderContext.php120
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/Internal/MessageOptions.php466
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/Internal/MethodDescriptorProto.php282
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/Internal/MethodOptions.php160
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/Internal/MethodOptions/IdempotencyLevel.php64
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/Internal/MethodOptions_IdempotencyLevel.php16
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/Internal/OneofDescriptor.php87
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/Internal/OneofDescriptorProto.php109
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/Internal/OneofField.php77
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/Internal/OneofOptions.php67
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/Internal/RawInputStream.php50
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/Internal/RepeatedField.php264
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/Internal/RepeatedFieldIter.php125
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/Internal/ServiceDescriptorProto.php136
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/Internal/ServiceOptions.php123
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/Internal/SourceCodeInfo.php230
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/Internal/SourceCodeInfo/Location.php448
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/Internal/SourceCodeInfo_Location.php16
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/Internal/TimestampBase.php32
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/Internal/UninterpretedOption.php300
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/Internal/UninterpretedOption/NamePart.php116
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/Internal/UninterpretedOption_NamePart.php16
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/ListValue.php68
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/Method.php271
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/Mixin.php166
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/NullValue.php49
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/OneofDescriptor.php87
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/Option.php136
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/SourceContext.php72
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/StringValue.php68
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/Struct.php73
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/Syntax.php54
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/Timestamp.php186
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/Type.php247
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/UInt32Value.php68
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/UInt64Value.php68
-rw-r--r--vendor/google/protobuf/src/Google/Protobuf/Value.php244
-rw-r--r--vendor/google/protobuf/src/phpdoc.dist.xml15
-rw-r--r--vendor/open-telemetry/api/Baggage/Baggage.php100
-rw-r--r--vendor/open-telemetry/api/Baggage/BaggageBuilder.php40
-rw-r--r--vendor/open-telemetry/api/Baggage/BaggageBuilderInterface.php23
-rw-r--r--vendor/open-telemetry/api/Baggage/BaggageInterface.php62
-rw-r--r--vendor/open-telemetry/api/Baggage/Entry.php38
-rw-r--r--vendor/open-telemetry/api/Baggage/Metadata.php27
-rw-r--r--vendor/open-telemetry/api/Baggage/MetadataInterface.php13
-rw-r--r--vendor/open-telemetry/api/Baggage/Propagation/BaggagePropagator.php92
-rw-r--r--vendor/open-telemetry/api/Baggage/Propagation/Parser.php69
-rw-r--r--vendor/open-telemetry/api/Behavior/Internal/LogWriter/ErrorLogWriter.php13
-rw-r--r--vendor/open-telemetry/api/Behavior/Internal/LogWriter/Formatter.php37
-rw-r--r--vendor/open-telemetry/api/Behavior/Internal/LogWriter/LogWriterInterface.php10
-rw-r--r--vendor/open-telemetry/api/Behavior/Internal/LogWriter/NoopLogWriter.php13
-rw-r--r--vendor/open-telemetry/api/Behavior/Internal/LogWriter/Psr3LogWriter.php22
-rw-r--r--vendor/open-telemetry/api/Behavior/Internal/LogWriter/StreamLogWriter.php25
-rw-r--r--vendor/open-telemetry/api/Behavior/Internal/LogWriterFactory.php48
-rw-r--r--vendor/open-telemetry/api/Behavior/Internal/Logging.php90
-rw-r--r--vendor/open-telemetry/api/Behavior/LogsMessagesTrait.php50
-rw-r--r--vendor/open-telemetry/api/Globals.php121
-rw-r--r--vendor/open-telemetry/api/Instrumentation/CachedInstrumentation.php97
-rw-r--r--vendor/open-telemetry/api/Instrumentation/ConfigurationResolver.php77
-rw-r--r--vendor/open-telemetry/api/Instrumentation/ConfigurationResolverInterface.php14
-rw-r--r--vendor/open-telemetry/api/Instrumentation/Configurator.php113
-rw-r--r--vendor/open-telemetry/api/Instrumentation/ContextKeys.php58
-rw-r--r--vendor/open-telemetry/api/Instrumentation/InstrumentationInterface.php43
-rw-r--r--vendor/open-telemetry/api/Instrumentation/InstrumentationTrait.php193
-rw-r--r--vendor/open-telemetry/api/LoggerHolder.php53
-rw-r--r--vendor/open-telemetry/api/Logs/EventLogger.php26
-rw-r--r--vendor/open-telemetry/api/Logs/EventLoggerInterface.php13
-rw-r--r--vendor/open-telemetry/api/Logs/LogRecord.php108
-rw-r--r--vendor/open-telemetry/api/Logs/LoggerInterface.php10
-rw-r--r--vendor/open-telemetry/api/Logs/LoggerProviderInterface.php18
-rw-r--r--vendor/open-telemetry/api/Logs/Map/Psr3.php40
-rw-r--r--vendor/open-telemetry/api/Logs/NoopLogger.php33
-rw-r--r--vendor/open-telemetry/api/Logs/NoopLoggerProvider.php20
-rw-r--r--vendor/open-telemetry/api/Logs/README.md19
-rw-r--r--vendor/open-telemetry/api/Metrics/CounterInterface.php21
-rw-r--r--vendor/open-telemetry/api/Metrics/HistogramInterface.php21
-rw-r--r--vendor/open-telemetry/api/Metrics/MeterInterface.php111
-rw-r--r--vendor/open-telemetry/api/Metrics/MeterProviderInterface.php28
-rw-r--r--vendor/open-telemetry/api/Metrics/Noop/NoopCounter.php18
-rw-r--r--vendor/open-telemetry/api/Metrics/Noop/NoopHistogram.php18
-rw-r--r--vendor/open-telemetry/api/Metrics/Noop/NoopMeter.php46
-rw-r--r--vendor/open-telemetry/api/Metrics/Noop/NoopMeterProvider.php20
-rw-r--r--vendor/open-telemetry/api/Metrics/Noop/NoopObservableCallback.php18
-rw-r--r--vendor/open-telemetry/api/Metrics/Noop/NoopObservableCounter.php19
-rw-r--r--vendor/open-telemetry/api/Metrics/Noop/NoopObservableGauge.php19
-rw-r--r--vendor/open-telemetry/api/Metrics/Noop/NoopObservableUpDownCounter.php19
-rw-r--r--vendor/open-telemetry/api/Metrics/Noop/NoopUpDownCounter.php18
-rw-r--r--vendor/open-telemetry/api/Metrics/ObservableCallbackInterface.php56
-rw-r--r--vendor/open-telemetry/api/Metrics/ObservableCounterInterface.php16
-rw-r--r--vendor/open-telemetry/api/Metrics/ObservableGaugeInterface.php16
-rw-r--r--vendor/open-telemetry/api/Metrics/ObservableUpDownCounterInterface.php16
-rw-r--r--vendor/open-telemetry/api/Metrics/ObserverInterface.php18
-rw-r--r--vendor/open-telemetry/api/Metrics/UpDownCounterInterface.php19
-rw-r--r--vendor/open-telemetry/api/README.md14
-rw-r--r--vendor/open-telemetry/api/Signals.php21
-rw-r--r--vendor/open-telemetry/api/Trace/NonRecordingSpan.php76
-rw-r--r--vendor/open-telemetry/api/Trace/NoopSpanBuilder.php65
-rw-r--r--vendor/open-telemetry/api/Trace/NoopTracer.php26
-rw-r--r--vendor/open-telemetry/api/Trace/NoopTracerProvider.php17
-rw-r--r--vendor/open-telemetry/api/Trace/Propagation/TraceContextPropagator.php157
-rw-r--r--vendor/open-telemetry/api/Trace/Propagation/TraceContextValidator.php31
-rw-r--r--vendor/open-telemetry/api/Trace/Span.php59
-rw-r--r--vendor/open-telemetry/api/Trace/SpanBuilderInterface.php51
-rw-r--r--vendor/open-telemetry/api/Trace/SpanContext.php127
-rw-r--r--vendor/open-telemetry/api/Trace/SpanContextInterface.php28
-rw-r--r--vendor/open-telemetry/api/Trace/SpanContextValidator.php35
-rw-r--r--vendor/open-telemetry/api/Trace/SpanInterface.php96
-rw-r--r--vendor/open-telemetry/api/Trace/SpanKind.php17
-rw-r--r--vendor/open-telemetry/api/Trace/StatusCode.php15
-rw-r--r--vendor/open-telemetry/api/Trace/TraceFlags.php11
-rw-r--r--vendor/open-telemetry/api/Trace/TraceState.php190
-rw-r--r--vendor/open-telemetry/api/Trace/TraceStateInterface.php61
-rw-r--r--vendor/open-telemetry/api/Trace/TracerInterface.php11
-rw-r--r--vendor/open-telemetry/api/Trace/TracerProviderInterface.php19
-rw-r--r--vendor/open-telemetry/api/Trace/functions.php44
-rw-r--r--vendor/open-telemetry/api/composer.json40
-rw-r--r--vendor/open-telemetry/context/Context.php131
-rw-r--r--vendor/open-telemetry/context/ContextInterface.php86
-rw-r--r--vendor/open-telemetry/context/ContextKey.php23
-rw-r--r--vendor/open-telemetry/context/ContextKeyInterface.php12
-rw-r--r--vendor/open-telemetry/context/ContextKeys.php25
-rw-r--r--vendor/open-telemetry/context/ContextStorage.php57
-rw-r--r--vendor/open-telemetry/context/ContextStorageHead.php19
-rw-r--r--vendor/open-telemetry/context/ContextStorageInterface.php32
-rw-r--r--vendor/open-telemetry/context/ContextStorageNode.php92
-rw-r--r--vendor/open-telemetry/context/ContextStorageScopeInterface.php22
-rw-r--r--vendor/open-telemetry/context/DebugScope.php94
-rw-r--r--vendor/open-telemetry/context/ExecutionContextAwareInterface.php23
-rw-r--r--vendor/open-telemetry/context/FiberBoundContextStorage.php84
-rw-r--r--vendor/open-telemetry/context/FiberBoundContextStorageScope.php67
-rw-r--r--vendor/open-telemetry/context/ImplicitContextKeyedInterface.php32
-rw-r--r--vendor/open-telemetry/context/Propagation/ArrayAccessGetterSetter.php129
-rw-r--r--vendor/open-telemetry/context/Propagation/MultiTextMapPropagator.php83
-rw-r--r--vendor/open-telemetry/context/Propagation/NoopTextMapPropagator.php36
-rw-r--r--vendor/open-telemetry/context/Propagation/PropagationGetterInterface.php25
-rw-r--r--vendor/open-telemetry/context/Propagation/PropagationSetterInterface.php16
-rw-r--r--vendor/open-telemetry/context/Propagation/SanitizeCombinedHeadersPropagationGetter.php46
-rw-r--r--vendor/open-telemetry/context/Propagation/TextMapPropagatorInterface.php40
-rw-r--r--vendor/open-telemetry/context/README.md63
-rw-r--r--vendor/open-telemetry/context/ScopeInterface.php32
-rw-r--r--vendor/open-telemetry/context/ZendObserverFiber.php67
-rw-r--r--vendor/open-telemetry/context/composer.json41
-rw-r--r--vendor/open-telemetry/context/fiber/initialize_fiber_handler.php20
-rw-r--r--vendor/open-telemetry/context/fiber/zend_observer_fiber.h9
-rw-r--r--vendor/open-telemetry/exporter-otlp/AttributesConverter.php62
-rw-r--r--vendor/open-telemetry/exporter-otlp/ContentTypes.php12
-rw-r--r--vendor/open-telemetry/exporter-otlp/HttpEndpointResolver.php145
-rw-r--r--vendor/open-telemetry/exporter-otlp/HttpEndpointResolverInterface.php28
-rw-r--r--vendor/open-telemetry/exporter-otlp/LogsConverter.php142
-rw-r--r--vendor/open-telemetry/exporter-otlp/LogsExporter.php85
-rw-r--r--vendor/open-telemetry/exporter-otlp/LogsExporterFactory.php85
-rw-r--r--vendor/open-telemetry/exporter-otlp/MetricConverter.php265
-rw-r--r--vendor/open-telemetry/exporter-otlp/MetricExporter.php97
-rw-r--r--vendor/open-telemetry/exporter-otlp/MetricExporterFactory.php110
-rw-r--r--vendor/open-telemetry/exporter-otlp/OtlpHttpTransportFactory.php33
-rw-r--r--vendor/open-telemetry/exporter-otlp/OtlpUtil.php45
-rw-r--r--vendor/open-telemetry/exporter-otlp/ProtobufSerializer.php115
-rw-r--r--vendor/open-telemetry/exporter-otlp/Protocols.php36
-rw-r--r--vendor/open-telemetry/exporter-otlp/README.md45
-rw-r--r--vendor/open-telemetry/exporter-otlp/SpanConverter.php187
-rw-r--r--vendor/open-telemetry/exporter-otlp/SpanExporter.php81
-rw-r--r--vendor/open-telemetry/exporter-otlp/SpanExporterFactory.php96
-rw-r--r--vendor/open-telemetry/exporter-otlp/_register.php9
-rw-r--r--vendor/open-telemetry/exporter-otlp/composer.json41
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/.gitignore1
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/GPBMetadata/Opentelemetry/Proto/Collector/Logs/V1/LogsService.phpbin1361 -> 0 bytes
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/GPBMetadata/Opentelemetry/Proto/Collector/Metrics/V1/MetricsService.phpbin1438 -> 0 bytes
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/GPBMetadata/Opentelemetry/Proto/Collector/Trace/V1/TraceService.phpbin1380 -> 0 bytes
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/GPBMetadata/Opentelemetry/Proto/Common/V1/Common.phpbin1411 -> 0 bytes
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/GPBMetadata/Opentelemetry/Proto/Logs/V1/Logs.phpbin2512 -> 0 bytes
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/GPBMetadata/Opentelemetry/Proto/Metrics/Experimental/MetricsConfigService.phpbin1714 -> 0 bytes
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/GPBMetadata/Opentelemetry/Proto/Metrics/V1/Metrics.phpbin4526 -> 0 bytes
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/GPBMetadata/Opentelemetry/Proto/Resource/V1/Resource.php32
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/GPBMetadata/Opentelemetry/Proto/Trace/V1/Trace.phpbin2533 -> 0 bytes
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/GPBMetadata/Opentelemetry/Proto/Trace/V1/TraceConfig.phpbin1465 -> 0 bytes
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Logs/V1/ExportLogsPartialSuccess.php127
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Logs/V1/ExportLogsServiceRequest.php81
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Logs/V1/ExportLogsServiceResponse.php119
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Logs/V1/LogsServiceClient.php53
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Metrics/V1/ExportMetricsPartialSuccess.php127
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Metrics/V1/ExportMetricsServiceRequest.php81
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Metrics/V1/ExportMetricsServiceResponse.php119
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Metrics/V1/MetricsServiceClient.php53
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Trace/V1/ExportTracePartialSuccess.php127
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Trace/V1/ExportTraceServiceRequest.php81
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Trace/V1/ExportTraceServiceResponse.php119
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Trace/V1/TraceServiceClient.php53
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Common/V1/AnyValue.php240
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Common/V1/ArrayValue.php68
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Common/V1/InstrumentationLibrary.php98
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Common/V1/InstrumentationScope.php164
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Common/V1/KeyValue.php98
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Common/V1/KeyValueList.php83
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Common/V1/StringKeyValue.php88
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Logs/V1/InstrumentationLibraryLogs.php156
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Logs/V1/LogRecord.php541
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Logs/V1/LogRecordFlags.php58
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Logs/V1/LogsData.php90
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Logs/V1/ResourceLogs.php153
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Logs/V1/ScopeLogs.php153
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Logs/V1/SeverityNumber.php167
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/Experimental/MetricConfigRequest.php113
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/Experimental/MetricConfigResponse.php201
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/Experimental/MetricConfigResponse/Schedule.php149
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/Experimental/MetricConfigResponse/Schedule/Pattern.php113
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/Experimental/MetricConfigResponse_Schedule.php16
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/Experimental/MetricConfigResponse_Schedule_Pattern.php16
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/AggregationTemporality.php114
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/DataPointFlags.php61
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/Exemplar.php269
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/ExponentialHistogram.php99
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/ExponentialHistogramDataPoint.php718
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/ExponentialHistogramDataPoint/Buckets.php141
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/ExponentialHistogramDataPoint_Buckets.php16
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/Gauge.php67
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/Histogram.php99
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/HistogramDataPoint.php565
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/InstrumentationLibraryMetrics.php156
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/IntDataPoint.php227
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/IntExemplar.php235
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/IntGauge.php60
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/IntHistogram.php99
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/IntHistogramDataPoint.php393
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/IntSum.php132
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/Metric.php358
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/MetricsData.php90
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/NumberDataPoint.php309
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/ResourceMetrics.php153
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/ScopeMetrics.php153
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/Sum.php133
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/Summary.php65
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/SummaryDataPoint.php336
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/SummaryDataPoint/ValueAtQuantile.php117
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/SummaryDataPoint_ValueAtQuantile.php16
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Resource/V1/Resource.php113
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/ConstantSampler.php60
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/ConstantSampler/ConstantDecision.php61
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/ConstantSampler_ConstantDecision.php16
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/InstrumentationLibrarySpans.php156
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/RateLimitingSampler.php67
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/ResourceSpans.php153
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/ScopeSpans.php153
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Span.php726
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Span/Event.php189
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Span/Link.php225
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Span/SpanKind.php94
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Span_Event.php16
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Span_Link.php16
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Span_SpanKind.php16
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Status.php102
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Status/DeprecatedStatusCode.php126
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Status/StatusCode.php66
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Status_DeprecatedStatusCode.php16
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Status_StatusCode.php16
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/TraceConfig.php297
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/TraceIdRatioBased.php68
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/TracesData.php90
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/README.md31
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/VERSION1
-rw-r--r--vendor/open-telemetry/gen-otlp-protobuf/composer.json37
-rw-r--r--vendor/open-telemetry/sdk/Common/Adapter/HttpDiscovery/DependencyResolver.php83
-rw-r--r--vendor/open-telemetry/sdk/Common/Adapter/HttpDiscovery/HttpPlugClientResolver.php29
-rw-r--r--vendor/open-telemetry/sdk/Common/Adapter/HttpDiscovery/MessageFactoryResolver.php88
-rw-r--r--vendor/open-telemetry/sdk/Common/Adapter/HttpDiscovery/PsrClientResolver.php29
-rw-r--r--vendor/open-telemetry/sdk/Common/Attribute/AttributeValidator.php58
-rw-r--r--vendor/open-telemetry/sdk/Common/Attribute/AttributeValidatorInterface.php11
-rw-r--r--vendor/open-telemetry/sdk/Common/Attribute/Attributes.php67
-rw-r--r--vendor/open-telemetry/sdk/Common/Attribute/AttributesBuilder.php120
-rw-r--r--vendor/open-telemetry/sdk/Common/Attribute/AttributesBuilderInterface.php12
-rw-r--r--vendor/open-telemetry/sdk/Common/Attribute/AttributesFactory.php36
-rw-r--r--vendor/open-telemetry/sdk/Common/Attribute/AttributesFactoryInterface.php10
-rw-r--r--vendor/open-telemetry/sdk/Common/Attribute/AttributesInterface.php19
-rw-r--r--vendor/open-telemetry/sdk/Common/Attribute/FilteredAttributesBuilder.php77
-rw-r--r--vendor/open-telemetry/sdk/Common/Attribute/FilteredAttributesFactory.php33
-rw-r--r--vendor/open-telemetry/sdk/Common/Attribute/LogRecordAttributeValidator.php19
-rw-r--r--vendor/open-telemetry/sdk/Common/Configuration/Configuration.php182
-rw-r--r--vendor/open-telemetry/sdk/Common/Configuration/Defaults.php122
-rw-r--r--vendor/open-telemetry/sdk/Common/Configuration/KnownValues.php208
-rw-r--r--vendor/open-telemetry/sdk/Common/Configuration/Parser/BooleanParser.php34
-rw-r--r--vendor/open-telemetry/sdk/Common/Configuration/Parser/ListParser.php28
-rw-r--r--vendor/open-telemetry/sdk/Common/Configuration/Parser/MapParser.php45
-rw-r--r--vendor/open-telemetry/sdk/Common/Configuration/Parser/RatioParser.php38
-rw-r--r--vendor/open-telemetry/sdk/Common/Configuration/Resolver/CompositeResolver.php68
-rw-r--r--vendor/open-telemetry/sdk/Common/Configuration/Resolver/EnvironmentResolver.php40
-rw-r--r--vendor/open-telemetry/sdk/Common/Configuration/Resolver/PhpIniAccessor.php18
-rw-r--r--vendor/open-telemetry/sdk/Common/Configuration/Resolver/PhpIniResolver.php41
-rw-r--r--vendor/open-telemetry/sdk/Common/Configuration/Resolver/ResolverInterface.php15
-rw-r--r--vendor/open-telemetry/sdk/Common/Configuration/ValueTypes.php133
-rw-r--r--vendor/open-telemetry/sdk/Common/Configuration/VariableTypes.php62
-rw-r--r--vendor/open-telemetry/sdk/Common/Configuration/Variables.php142
-rw-r--r--vendor/open-telemetry/sdk/Common/Dev/Compatibility/README.md14
-rw-r--r--vendor/open-telemetry/sdk/Common/Dev/Compatibility/Util.php93
-rw-r--r--vendor/open-telemetry/sdk/Common/Dev/Compatibility/_load.php7
-rw-r--r--vendor/open-telemetry/sdk/Common/Exception/StackTraceFormatter.php155
-rw-r--r--vendor/open-telemetry/sdk/Common/Export/Http/PsrTransport.php168
-rw-r--r--vendor/open-telemetry/sdk/Common/Export/Http/PsrTransportFactory.php74
-rw-r--r--vendor/open-telemetry/sdk/Common/Export/Http/PsrUtils.php175
-rw-r--r--vendor/open-telemetry/sdk/Common/Export/Stream/StreamTransport.php97
-rw-r--r--vendor/open-telemetry/sdk/Common/Export/Stream/StreamTransportFactory.php118
-rw-r--r--vendor/open-telemetry/sdk/Common/Export/TransportFactoryInterface.php32
-rw-r--r--vendor/open-telemetry/sdk/Common/Export/TransportInterface.php22
-rw-r--r--vendor/open-telemetry/sdk/Common/Future/CancellationInterface.php18
-rw-r--r--vendor/open-telemetry/sdk/Common/Future/CompletedFuture.php48
-rw-r--r--vendor/open-telemetry/sdk/Common/Future/ErrorFuture.php40
-rw-r--r--vendor/open-telemetry/sdk/Common/Future/FutureInterface.php34
-rw-r--r--vendor/open-telemetry/sdk/Common/Future/NullCancellation.php20
-rw-r--r--vendor/open-telemetry/sdk/Common/Http/DependencyResolverInterface.php13
-rw-r--r--vendor/open-telemetry/sdk/Common/Http/HttpPlug/Client/ResolverInterface.php12
-rw-r--r--vendor/open-telemetry/sdk/Common/Http/Psr/Client/ResolverInterface.php12
-rw-r--r--vendor/open-telemetry/sdk/Common/Http/Psr/Message/FactoryResolverInterface.php22
-rw-r--r--vendor/open-telemetry/sdk/Common/Http/Psr/Message/MessageFactory.php52
-rw-r--r--vendor/open-telemetry/sdk/Common/Http/Psr/Message/MessageFactoryInterface.php13
-rw-r--r--vendor/open-telemetry/sdk/Common/Instrumentation/InstrumentationScope.php46
-rw-r--r--vendor/open-telemetry/sdk/Common/Instrumentation/InstrumentationScopeFactory.php31
-rw-r--r--vendor/open-telemetry/sdk/Common/Instrumentation/InstrumentationScopeFactoryInterface.php15
-rw-r--r--vendor/open-telemetry/sdk/Common/Instrumentation/InstrumentationScopeInterface.php18
-rw-r--r--vendor/open-telemetry/sdk/Common/Time/ClockFactory.php30
-rw-r--r--vendor/open-telemetry/sdk/Common/Time/ClockFactoryInterface.php16
-rw-r--r--vendor/open-telemetry/sdk/Common/Time/ClockInterface.php19
-rw-r--r--vendor/open-telemetry/sdk/Common/Time/StopWatch.php119
-rw-r--r--vendor/open-telemetry/sdk/Common/Time/StopWatchFactory.php44
-rw-r--r--vendor/open-telemetry/sdk/Common/Time/StopWatchFactoryInterface.php18
-rw-r--r--vendor/open-telemetry/sdk/Common/Time/StopWatchInterface.php20
-rw-r--r--vendor/open-telemetry/sdk/Common/Time/SystemClock.php49
-rw-r--r--vendor/open-telemetry/sdk/Common/Time/Util.php32
-rw-r--r--vendor/open-telemetry/sdk/Common/Util/ClassConstantAccessor.php35
-rw-r--r--vendor/open-telemetry/sdk/Common/Util/ShutdownHandler.php82
-rw-r--r--vendor/open-telemetry/sdk/Common/Util/WeakMap.php175
-rw-r--r--vendor/open-telemetry/sdk/Common/Util/functions.php52
-rw-r--r--vendor/open-telemetry/sdk/Logs/Exporter/ConsoleExporter.php106
-rw-r--r--vendor/open-telemetry/sdk/Logs/Exporter/ConsoleExporterFactory.php19
-rw-r--r--vendor/open-telemetry/sdk/Logs/Exporter/InMemoryExporter.php48
-rw-r--r--vendor/open-telemetry/sdk/Logs/Exporter/InMemoryExporterFactory.php16
-rw-r--r--vendor/open-telemetry/sdk/Logs/Exporter/NoopExporter.php28
-rw-r--r--vendor/open-telemetry/sdk/Logs/Exporter/_register.php6
-rw-r--r--vendor/open-telemetry/sdk/Logs/ExporterFactory.php29
-rw-r--r--vendor/open-telemetry/sdk/Logs/LogRecordExporterFactoryInterface.php10
-rw-r--r--vendor/open-telemetry/sdk/Logs/LogRecordExporterInterface.php18
-rw-r--r--vendor/open-telemetry/sdk/Logs/LogRecordLimits.php29
-rw-r--r--vendor/open-telemetry/sdk/Logs/LogRecordLimitsBuilder.php58
-rw-r--r--vendor/open-telemetry/sdk/Logs/LogRecordProcessorFactory.php62
-rw-r--r--vendor/open-telemetry/sdk/Logs/LogRecordProcessorInterface.php15
-rw-r--r--vendor/open-telemetry/sdk/Logs/Logger.php37
-rw-r--r--vendor/open-telemetry/sdk/Logs/LoggerProvider.php56
-rw-r--r--vendor/open-telemetry/sdk/Logs/LoggerProviderBuilder.php55
-rw-r--r--vendor/open-telemetry/sdk/Logs/LoggerProviderFactory.php24
-rw-r--r--vendor/open-telemetry/sdk/Logs/LoggerProviderInterface.php13
-rw-r--r--vendor/open-telemetry/sdk/Logs/LoggerSharedState.php60
-rw-r--r--vendor/open-telemetry/sdk/Logs/NoopLoggerProvider.php33
-rw-r--r--vendor/open-telemetry/sdk/Logs/Processor/BatchLogRecordProcessor.php273
-rw-r--r--vendor/open-telemetry/sdk/Logs/Processor/MultiLogRecordProcessor.php62
-rw-r--r--vendor/open-telemetry/sdk/Logs/Processor/NoopLogRecordProcessor.php37
-rw-r--r--vendor/open-telemetry/sdk/Logs/Processor/SimpleLogRecordProcessor.php38
-rw-r--r--vendor/open-telemetry/sdk/Logs/PsrSeverityMapperInterface.php50
-rw-r--r--vendor/open-telemetry/sdk/Logs/ReadWriteLogRecord.php9
-rw-r--r--vendor/open-telemetry/sdk/Logs/ReadableLogRecord.php103
-rw-r--r--vendor/open-telemetry/sdk/Logs/SimplePsrFileLogger.php83
-rw-r--r--vendor/open-telemetry/sdk/Metrics/Aggregation/ExplicitBucketHistogramAggregation.php167
-rw-r--r--vendor/open-telemetry/sdk/Metrics/Aggregation/ExplicitBucketHistogramSummary.php40
-rw-r--r--vendor/open-telemetry/sdk/Metrics/Aggregation/LastValueAggregation.php81
-rw-r--r--vendor/open-telemetry/sdk/Metrics/Aggregation/LastValueSummary.php22
-rw-r--r--vendor/open-telemetry/sdk/Metrics/Aggregation/SumAggregation.php91
-rw-r--r--vendor/open-telemetry/sdk/Metrics/Aggregation/SumSummary.php20
-rw-r--r--vendor/open-telemetry/sdk/Metrics/AggregationInterface.php57
-rw-r--r--vendor/open-telemetry/sdk/Metrics/AggregationTemporalitySelectorInterface.php21
-rw-r--r--vendor/open-telemetry/sdk/Metrics/AttributeProcessor/FilteredAttributeProcessor.php33
-rw-r--r--vendor/open-telemetry/sdk/Metrics/AttributeProcessor/IdentityAttributeProcessor.php20
-rw-r--r--vendor/open-telemetry/sdk/Metrics/AttributeProcessorInterface.php16
-rw-r--r--vendor/open-telemetry/sdk/Metrics/Counter.php37
-rw-r--r--vendor/open-telemetry/sdk/Metrics/Data/DataInterface.php9
-rw-r--r--vendor/open-telemetry/sdk/Metrics/Data/Exemplar.php65
-rw-r--r--vendor/open-telemetry/sdk/Metrics/Data/Gauge.php22
-rw-r--r--vendor/open-telemetry/sdk/Metrics/Data/Histogram.php29
-rw-r--r--vendor/open-telemetry/sdk/Metrics/Data/HistogramDataPoint.php76
-rw-r--r--vendor/open-telemetry/sdk/Metrics/Data/Metric.php46
-rw-r--r--vendor/open-telemetry/sdk/Metrics/Data/NumberDataPoint.php43
-rw-r--r--vendor/open-telemetry/sdk/Metrics/Data/Sum.php34
-rw-r--r--vendor/open-telemetry/sdk/Metrics/Data/Temporality.php20
-rw-r--r--vendor/open-telemetry/sdk/Metrics/DefaultAggregationProviderInterface.php13
-rw-r--r--vendor/open-telemetry/sdk/Metrics/DefaultAggregationProviderTrait.php28
-rw-r--r--vendor/open-telemetry/sdk/Metrics/Exemplar/BucketEntry.php26
-rw-r--r--vendor/open-telemetry/sdk/Metrics/Exemplar/BucketStorage.php92
-rw-r--r--vendor/open-telemetry/sdk/Metrics/Exemplar/ExemplarFilter/AllExemplarFilter.php21
-rw-r--r--vendor/open-telemetry/sdk/Metrics/Exemplar/ExemplarFilter/NoneExemplarFilter.php21
-rw-r--r--vendor/open-telemetry/sdk/Metrics/Exemplar/ExemplarFilter/WithSampledTraceExemplarFilter.php22
-rw-r--r--vendor/open-telemetry/sdk/Metrics/Exemplar/ExemplarFilterInterface.php20
-rw-r--r--vendor/open-telemetry/sdk/Metrics/Exemplar/ExemplarReservoirInterface.php24
-rw-r--r--vendor/open-telemetry/sdk/Metrics/Exemplar/FilteredReservoir.php36
-rw-r--r--vendor/open-telemetry/sdk/Metrics/Exemplar/FixedSizeReservoir.php38
-rw-r--r--vendor/open-telemetry/sdk/Metrics/Exemplar/HistogramBucketReservoir.php40
-rw-r--r--vendor/open-telemetry/sdk/Metrics/Exemplar/NoopReservoir.php21
-rw-r--r--vendor/open-telemetry/sdk/Metrics/Histogram.php37
-rw-r--r--vendor/open-telemetry/sdk/Metrics/Instrument.php36
-rw-r--r--vendor/open-telemetry/sdk/Metrics/InstrumentType.php25
-rw-r--r--vendor/open-telemetry/sdk/Metrics/Meter.php314
-rw-r--r--vendor/open-telemetry/sdk/Metrics/MeterInstruments.php29
-rw-r--r--vendor/open-telemetry/sdk/Metrics/MeterProvider.php130
-rw-r--r--vendor/open-telemetry/sdk/Metrics/MeterProviderBuilder.php62
-rw-r--r--vendor/open-telemetry/sdk/Metrics/MeterProviderFactory.php78
-rw-r--r--vendor/open-telemetry/sdk/Metrics/MeterProviderInterface.php12
-rw-r--r--vendor/open-telemetry/sdk/Metrics/MetricExporter/ConsoleMetricExporter.php105
-rw-r--r--vendor/open-telemetry/sdk/Metrics/MetricExporter/ConsoleMetricExporterFactory.php16
-rw-r--r--vendor/open-telemetry/sdk/Metrics/MetricExporter/InMemoryExporter.php78
-rw-r--r--vendor/open-telemetry/sdk/Metrics/MetricExporter/InMemoryExporterFactory.php16
-rw-r--r--vendor/open-telemetry/sdk/Metrics/MetricExporter/NoopMetricExporter.php23
-rw-r--r--vendor/open-telemetry/sdk/Metrics/MetricExporter/NoopMetricExporterFactory.php16
-rw-r--r--vendor/open-telemetry/sdk/Metrics/MetricExporter/_register.php7
-rw-r--r--vendor/open-telemetry/sdk/Metrics/MetricExporterFactoryInterface.php10
-rw-r--r--vendor/open-telemetry/sdk/Metrics/MetricExporterInterface.php17
-rw-r--r--vendor/open-telemetry/sdk/Metrics/MetricFactory/StreamFactory.php187
-rw-r--r--vendor/open-telemetry/sdk/Metrics/MetricFactory/StreamMetricSource.php44
-rw-r--r--vendor/open-telemetry/sdk/Metrics/MetricFactory/StreamMetricSourceProvider.php98
-rw-r--r--vendor/open-telemetry/sdk/Metrics/MetricFactoryInterface.php41
-rw-r--r--vendor/open-telemetry/sdk/Metrics/MetricMetadataInterface.php28
-rw-r--r--vendor/open-telemetry/sdk/Metrics/MetricReader/ExportingReader.php156
-rw-r--r--vendor/open-telemetry/sdk/Metrics/MetricReaderInterface.php14
-rw-r--r--vendor/open-telemetry/sdk/Metrics/MetricRegistration/MultiRegistryRegistration.php36
-rw-r--r--vendor/open-telemetry/sdk/Metrics/MetricRegistration/RegistryRegistration.php31
-rw-r--r--vendor/open-telemetry/sdk/Metrics/MetricRegistrationInterface.php13
-rw-r--r--vendor/open-telemetry/sdk/Metrics/MetricRegistry/MetricCollectorInterface.php13
-rw-r--r--vendor/open-telemetry/sdk/Metrics/MetricRegistry/MetricRegistry.php184
-rw-r--r--vendor/open-telemetry/sdk/Metrics/MetricRegistry/MetricRegistryInterface.php22
-rw-r--r--vendor/open-telemetry/sdk/Metrics/MetricRegistry/MetricWriterInterface.php20
-rw-r--r--vendor/open-telemetry/sdk/Metrics/MetricRegistry/MultiObserver.php37
-rw-r--r--vendor/open-telemetry/sdk/Metrics/MetricRegistry/NoopObserver.php18
-rw-r--r--vendor/open-telemetry/sdk/Metrics/MetricSourceInterface.php24
-rw-r--r--vendor/open-telemetry/sdk/Metrics/MetricSourceProviderInterface.php15
-rw-r--r--vendor/open-telemetry/sdk/Metrics/MetricSourceRegistryInterface.php10
-rw-r--r--vendor/open-telemetry/sdk/Metrics/NoopMeterProvider.php26
-rw-r--r--vendor/open-telemetry/sdk/Metrics/ObservableCallback.php58
-rw-r--r--vendor/open-telemetry/sdk/Metrics/ObservableCallbackDestructor.php32
-rw-r--r--vendor/open-telemetry/sdk/Metrics/ObservableCounter.php15
-rw-r--r--vendor/open-telemetry/sdk/Metrics/ObservableGauge.php15
-rw-r--r--vendor/open-telemetry/sdk/Metrics/ObservableInstrumentTrait.php61
-rw-r--r--vendor/open-telemetry/sdk/Metrics/ObservableUpDownCounter.php15
-rw-r--r--vendor/open-telemetry/sdk/Metrics/PushMetricExporterInterface.php12
-rw-r--r--vendor/open-telemetry/sdk/Metrics/ReferenceCounterInterface.php15
-rw-r--r--vendor/open-telemetry/sdk/Metrics/StalenessHandler/DelayedStalenessHandler.php71
-rw-r--r--vendor/open-telemetry/sdk/Metrics/StalenessHandler/DelayedStalenessHandlerFactory.php64
-rw-r--r--vendor/open-telemetry/sdk/Metrics/StalenessHandler/ImmediateStalenessHandler.php50
-rw-r--r--vendor/open-telemetry/sdk/Metrics/StalenessHandler/ImmediateStalenessHandlerFactory.php16
-rw-r--r--vendor/open-telemetry/sdk/Metrics/StalenessHandler/NoopStalenessHandler.php30
-rw-r--r--vendor/open-telemetry/sdk/Metrics/StalenessHandler/NoopStalenessHandlerFactory.php18
-rw-r--r--vendor/open-telemetry/sdk/Metrics/StalenessHandlerFactoryInterface.php13
-rw-r--r--vendor/open-telemetry/sdk/Metrics/StalenessHandlerInterface.php12
-rw-r--r--vendor/open-telemetry/sdk/Metrics/Stream/AsynchronousMetricStream.php111
-rw-r--r--vendor/open-telemetry/sdk/Metrics/Stream/Delta.php33
-rw-r--r--vendor/open-telemetry/sdk/Metrics/Stream/DeltaStorage.php110
-rw-r--r--vendor/open-telemetry/sdk/Metrics/Stream/Metric.php44
-rw-r--r--vendor/open-telemetry/sdk/Metrics/Stream/MetricAggregator.php73
-rw-r--r--vendor/open-telemetry/sdk/Metrics/Stream/MetricAggregatorFactory.php28
-rw-r--r--vendor/open-telemetry/sdk/Metrics/Stream/MetricAggregatorFactoryInterface.php13
-rw-r--r--vendor/open-telemetry/sdk/Metrics/Stream/MetricAggregatorInterface.php12
-rw-r--r--vendor/open-telemetry/sdk/Metrics/Stream/MetricCollectorInterface.php13
-rw-r--r--vendor/open-telemetry/sdk/Metrics/Stream/MetricStreamInterface.php58
-rw-r--r--vendor/open-telemetry/sdk/Metrics/Stream/SynchronousMetricStream.php126
-rw-r--r--vendor/open-telemetry/sdk/Metrics/Stream/WritableMetricStreamInterface.php19
-rw-r--r--vendor/open-telemetry/sdk/Metrics/UpDownCounter.php37
-rw-r--r--vendor/open-telemetry/sdk/Metrics/View/CriteriaViewRegistry.php40
-rw-r--r--vendor/open-telemetry/sdk/Metrics/View/SelectionCriteria/AllCriteria.php33
-rw-r--r--vendor/open-telemetry/sdk/Metrics/View/SelectionCriteria/InstrumentNameCriteria.php28
-rw-r--r--vendor/open-telemetry/sdk/Metrics/View/SelectionCriteria/InstrumentTypeCriteria.php29
-rw-r--r--vendor/open-telemetry/sdk/Metrics/View/SelectionCriteria/InstrumentationScopeNameCriteria.php24
-rw-r--r--vendor/open-telemetry/sdk/Metrics/View/SelectionCriteria/InstrumentationScopeSchemaUrlCriteria.php24
-rw-r--r--vendor/open-telemetry/sdk/Metrics/View/SelectionCriteria/InstrumentationScopeVersionCriteria.php24
-rw-r--r--vendor/open-telemetry/sdk/Metrics/View/SelectionCriteriaInterface.php13
-rw-r--r--vendor/open-telemetry/sdk/Metrics/View/ViewTemplate.php77
-rw-r--r--vendor/open-telemetry/sdk/Metrics/ViewProjection.php47
-rw-r--r--vendor/open-telemetry/sdk/Metrics/ViewRegistryInterface.php15
-rw-r--r--vendor/open-telemetry/sdk/Propagation/PropagatorFactory.php55
-rw-r--r--vendor/open-telemetry/sdk/Propagation/_register.php16
-rw-r--r--vendor/open-telemetry/sdk/README.md49
-rw-r--r--vendor/open-telemetry/sdk/Registry.php208
-rw-r--r--vendor/open-telemetry/sdk/Resource/Detectors/Composer.php30
-rw-r--r--vendor/open-telemetry/sdk/Resource/Detectors/Composite.php32
-rw-r--r--vendor/open-telemetry/sdk/Resource/Detectors/Constant.php23
-rw-r--r--vendor/open-telemetry/sdk/Resource/Detectors/Environment.php40
-rw-r--r--vendor/open-telemetry/sdk/Resource/Detectors/Host.php27
-rw-r--r--vendor/open-telemetry/sdk/Resource/Detectors/OperatingSystem.php32
-rw-r--r--vendor/open-telemetry/sdk/Resource/Detectors/Process.php43
-rw-r--r--vendor/open-telemetry/sdk/Resource/Detectors/ProcessRuntime.php28
-rw-r--r--vendor/open-telemetry/sdk/Resource/Detectors/Sdk.php53
-rw-r--r--vendor/open-telemetry/sdk/Resource/Detectors/SdkProvided.php25
-rw-r--r--vendor/open-telemetry/sdk/Resource/ResourceDetectorInterface.php10
-rw-r--r--vendor/open-telemetry/sdk/Resource/ResourceInfo.php125
-rw-r--r--vendor/open-telemetry/sdk/Resource/ResourceInfoFactory.php95
-rw-r--r--vendor/open-telemetry/sdk/Sdk.php70
-rw-r--r--vendor/open-telemetry/sdk/SdkAutoloader.php76
-rw-r--r--vendor/open-telemetry/sdk/SdkBuilder.php98
-rw-r--r--vendor/open-telemetry/sdk/Trace/Behavior/LoggerAwareTrait.php48
-rw-r--r--vendor/open-telemetry/sdk/Trace/Behavior/SpanExporterDecoratorTrait.php47
-rw-r--r--vendor/open-telemetry/sdk/Trace/Behavior/SpanExporterTrait.php47
-rw-r--r--vendor/open-telemetry/sdk/Trace/Behavior/UsesSpanConverterTrait.php41
-rw-r--r--vendor/open-telemetry/sdk/Trace/Event.php47
-rw-r--r--vendor/open-telemetry/sdk/Trace/EventInterface.php15
-rw-r--r--vendor/open-telemetry/sdk/Trace/ExporterFactory.php32
-rw-r--r--vendor/open-telemetry/sdk/Trace/IdGeneratorInterface.php12
-rw-r--r--vendor/open-telemetry/sdk/Trace/ImmutableSpan.php153
-rw-r--r--vendor/open-telemetry/sdk/Trace/Link.php30
-rw-r--r--vendor/open-telemetry/sdk/Trace/LinkInterface.php14
-rw-r--r--vendor/open-telemetry/sdk/Trace/NoopTracerProvider.php21
-rw-r--r--vendor/open-telemetry/sdk/Trace/RandomIdGenerator.php49
-rw-r--r--vendor/open-telemetry/sdk/Trace/ReadWriteSpanInterface.php11
-rw-r--r--vendor/open-telemetry/sdk/Trace/ReadableSpanInterface.php48
-rw-r--r--vendor/open-telemetry/sdk/Trace/Sampler/AlwaysOffSampler.php50
-rw-r--r--vendor/open-telemetry/sdk/Trace/Sampler/AlwaysOnSampler.php50
-rw-r--r--vendor/open-telemetry/sdk/Trace/Sampler/ParentBased.php100
-rw-r--r--vendor/open-telemetry/sdk/Trace/Sampler/TraceIdRatioBasedSampler.php70
-rw-r--r--vendor/open-telemetry/sdk/Trace/SamplerFactory.php48
-rw-r--r--vendor/open-telemetry/sdk/Trace/SamplerInterface.php46
-rw-r--r--vendor/open-telemetry/sdk/Trace/SamplingResult.php71
-rw-r--r--vendor/open-telemetry/sdk/Trace/Span.php359
-rw-r--r--vendor/open-telemetry/sdk/Trace/SpanBuilder.php191
-rw-r--r--vendor/open-telemetry/sdk/Trace/SpanConverterInterface.php10
-rw-r--r--vendor/open-telemetry/sdk/Trace/SpanDataInterface.php46
-rw-r--r--vendor/open-telemetry/sdk/Trace/SpanExporter/AbstractDecorator.php12
-rw-r--r--vendor/open-telemetry/sdk/Trace/SpanExporter/ConsoleSpanExporter.php57
-rw-r--r--vendor/open-telemetry/sdk/Trace/SpanExporter/ConsoleSpanExporterFactory.php18
-rw-r--r--vendor/open-telemetry/sdk/Trace/SpanExporter/FriendlySpanConverter.php173
-rw-r--r--vendor/open-telemetry/sdk/Trace/SpanExporter/InMemoryExporter.php40
-rw-r--r--vendor/open-telemetry/sdk/Trace/SpanExporter/InMemorySpanExporterFactory.php15
-rw-r--r--vendor/open-telemetry/sdk/Trace/SpanExporter/LoggerDecorator.php58
-rw-r--r--vendor/open-telemetry/sdk/Trace/SpanExporter/LoggerExporter.php96
-rw-r--r--vendor/open-telemetry/sdk/Trace/SpanExporter/NullSpanConverter.php15
-rw-r--r--vendor/open-telemetry/sdk/Trace/SpanExporter/SpanExporterFactoryInterface.php12
-rw-r--r--vendor/open-telemetry/sdk/Trace/SpanExporter/_register.php7
-rw-r--r--vendor/open-telemetry/sdk/Trace/SpanExporterInterface.php29
-rw-r--r--vendor/open-telemetry/sdk/Trace/SpanLimits.php67
-rw-r--r--vendor/open-telemetry/sdk/Trace/SpanLimitsBuilder.php148
-rw-r--r--vendor/open-telemetry/sdk/Trace/SpanProcessor/BatchSpanProcessor.php290
-rw-r--r--vendor/open-telemetry/sdk/Trace/SpanProcessor/BatchSpanProcessorBuilder.php41
-rw-r--r--vendor/open-telemetry/sdk/Trace/SpanProcessor/MultiSpanProcessor.php79
-rw-r--r--vendor/open-telemetry/sdk/Trace/SpanProcessor/NoopSpanProcessor.php47
-rw-r--r--vendor/open-telemetry/sdk/Trace/SpanProcessor/SimpleSpanProcessor.php120
-rw-r--r--vendor/open-telemetry/sdk/Trace/SpanProcessorFactory.php48
-rw-r--r--vendor/open-telemetry/sdk/Trace/SpanProcessorInterface.php38
-rw-r--r--vendor/open-telemetry/sdk/Trace/StatusData.php84
-rw-r--r--vendor/open-telemetry/sdk/Trace/StatusDataInterface.php18
-rw-r--r--vendor/open-telemetry/sdk/Trace/Tracer.php52
-rw-r--r--vendor/open-telemetry/sdk/Trace/TracerProvider.php99
-rw-r--r--vendor/open-telemetry/sdk/Trace/TracerProviderBuilder.php45
-rw-r--r--vendor/open-telemetry/sdk/Trace/TracerProviderFactory.php60
-rw-r--r--vendor/open-telemetry/sdk/Trace/TracerProviderInterface.php15
-rw-r--r--vendor/open-telemetry/sdk/Trace/TracerSharedState.php100
-rw-r--r--vendor/open-telemetry/sdk/_autoload.php5
-rw-r--r--vendor/open-telemetry/sdk/composer.json59
-rw-r--r--vendor/open-telemetry/sem-conv/README.md25
-rw-r--r--vendor/open-telemetry/sem-conv/ResourceAttributes.php1007
-rw-r--r--vendor/open-telemetry/sem-conv/TraceAttributes.php2052
-rw-r--r--vendor/open-telemetry/sem-conv/composer.json32
-rw-r--r--vendor/php-http/discovery/.php-cs-fixer.php16
-rw-r--r--vendor/php-http/discovery/CHANGELOG.md374
-rw-r--r--vendor/php-http/discovery/LICENSE19
-rw-r--r--vendor/php-http/discovery/README.md122
-rw-r--r--vendor/php-http/discovery/composer.json63
-rw-r--r--vendor/php-http/discovery/src/ClassDiscovery.php255
-rw-r--r--vendor/php-http/discovery/src/Composer/Plugin.php465
-rw-r--r--vendor/php-http/discovery/src/Exception.php12
-rw-r--r--vendor/php-http/discovery/src/Exception/ClassInstantiationFailedException.php14
-rw-r--r--vendor/php-http/discovery/src/Exception/DiscoveryFailedException.php51
-rw-r--r--vendor/php-http/discovery/src/Exception/NoCandidateFoundException.php47
-rw-r--r--vendor/php-http/discovery/src/Exception/NotFoundException.php16
-rw-r--r--vendor/php-http/discovery/src/Exception/PuliUnavailableException.php12
-rw-r--r--vendor/php-http/discovery/src/Exception/StrategyUnavailableException.php15
-rw-r--r--vendor/php-http/discovery/src/HttpAsyncClientDiscovery.php32
-rw-r--r--vendor/php-http/discovery/src/HttpClientDiscovery.php34
-rw-r--r--vendor/php-http/discovery/src/MessageFactoryDiscovery.php34
-rw-r--r--vendor/php-http/discovery/src/NotFoundException.php14
-rw-r--r--vendor/php-http/discovery/src/Psr17Factory.php303
-rw-r--r--vendor/php-http/discovery/src/Psr17FactoryDiscovery.php136
-rw-r--r--vendor/php-http/discovery/src/Psr18Client.php45
-rw-r--r--vendor/php-http/discovery/src/Psr18ClientDiscovery.php32
-rw-r--r--vendor/php-http/discovery/src/Strategy/CommonClassesStrategy.php180
-rw-r--r--vendor/php-http/discovery/src/Strategy/CommonPsr17ClassesStrategy.php104
-rw-r--r--vendor/php-http/discovery/src/Strategy/DiscoveryStrategy.php23
-rw-r--r--vendor/php-http/discovery/src/Strategy/MockClientStrategy.php24
-rw-r--r--vendor/php-http/discovery/src/Strategy/PuliBetaStrategy.php90
-rw-r--r--vendor/php-http/discovery/src/StreamFactoryDiscovery.php34
-rw-r--r--vendor/php-http/discovery/src/UriFactoryDiscovery.php34
-rw-r--r--vendor/psr/log/LICENSE19
-rw-r--r--vendor/psr/log/README.md58
-rw-r--r--vendor/psr/log/composer.json26
-rw-r--r--vendor/psr/log/src/AbstractLogger.php15
-rw-r--r--vendor/psr/log/src/InvalidArgumentException.php7
-rw-r--r--vendor/psr/log/src/LogLevel.php18
-rw-r--r--vendor/psr/log/src/LoggerAwareInterface.php18
-rw-r--r--vendor/psr/log/src/LoggerAwareTrait.php26
-rw-r--r--vendor/psr/log/src/LoggerInterface.php125
-rw-r--r--vendor/psr/log/src/LoggerTrait.php142
-rw-r--r--vendor/psr/log/src/NullLogger.php30
-rw-r--r--vendor/symfony/polyfill-mbstring/LICENSE19
-rw-r--r--vendor/symfony/polyfill-mbstring/Mbstring.php947
-rw-r--r--vendor/symfony/polyfill-mbstring/README.md13
-rw-r--r--vendor/symfony/polyfill-mbstring/Resources/unidata/caseFolding.php119
-rw-r--r--vendor/symfony/polyfill-mbstring/Resources/unidata/lowerCase.php1397
-rw-r--r--vendor/symfony/polyfill-mbstring/Resources/unidata/titleCaseRegexp.php5
-rw-r--r--vendor/symfony/polyfill-mbstring/Resources/unidata/upperCase.php1489
-rw-r--r--vendor/symfony/polyfill-mbstring/bootstrap.php151
-rw-r--r--vendor/symfony/polyfill-mbstring/bootstrap80.php147
-rw-r--r--vendor/symfony/polyfill-mbstring/composer.json41
-rw-r--r--vendor/symfony/polyfill-php80/LICENSE19
-rw-r--r--vendor/symfony/polyfill-php80/Php80.php115
-rw-r--r--vendor/symfony/polyfill-php80/PhpToken.php103
-rw-r--r--vendor/symfony/polyfill-php80/README.md25
-rw-r--r--vendor/symfony/polyfill-php80/Resources/stubs/Attribute.php31
-rw-r--r--vendor/symfony/polyfill-php80/Resources/stubs/PhpToken.php16
-rw-r--r--vendor/symfony/polyfill-php80/Resources/stubs/Stringable.php20
-rw-r--r--vendor/symfony/polyfill-php80/Resources/stubs/UnhandledMatchError.php16
-rw-r--r--vendor/symfony/polyfill-php80/Resources/stubs/ValueError.php16
-rw-r--r--vendor/symfony/polyfill-php80/bootstrap.php42
-rw-r--r--vendor/symfony/polyfill-php80/composer.json40
-rw-r--r--vendor/symfony/polyfill-php81/LICENSE19
-rw-r--r--vendor/symfony/polyfill-php81/Php81.php37
-rw-r--r--vendor/symfony/polyfill-php81/README.md18
-rw-r--r--vendor/symfony/polyfill-php81/Resources/stubs/CURLStringFile.php51
-rw-r--r--vendor/symfony/polyfill-php81/Resources/stubs/ReturnTypeWillChange.php20
-rw-r--r--vendor/symfony/polyfill-php81/bootstrap.php28
-rw-r--r--vendor/symfony/polyfill-php81/composer.json36
-rw-r--r--vendor/symfony/polyfill-php82/LICENSE19
-rw-r--r--vendor/symfony/polyfill-php82/NoDynamicProperties.php23
-rw-r--r--vendor/symfony/polyfill-php82/Php82.php368
-rw-r--r--vendor/symfony/polyfill-php82/README.md23
-rw-r--r--vendor/symfony/polyfill-php82/Random/Engine/Secure.php50
-rw-r--r--vendor/symfony/polyfill-php82/Resources/stubs/AllowDynamicProperties.php20
-rw-r--r--vendor/symfony/polyfill-php82/Resources/stubs/Random/BrokenRandomEngineError.php18
-rw-r--r--vendor/symfony/polyfill-php82/Resources/stubs/Random/CryptoSafeEngine.php18
-rw-r--r--vendor/symfony/polyfill-php82/Resources/stubs/Random/Engine.php19
-rw-r--r--vendor/symfony/polyfill-php82/Resources/stubs/Random/Engine/Secure.php20
-rw-r--r--vendor/symfony/polyfill-php82/Resources/stubs/Random/RandomError.php21
-rw-r--r--vendor/symfony/polyfill-php82/Resources/stubs/Random/RandomException.php21
-rw-r--r--vendor/symfony/polyfill-php82/Resources/stubs/SensitiveParameter.php20
-rw-r--r--vendor/symfony/polyfill-php82/Resources/stubs/SensitiveParameterValue.php16
-rw-r--r--vendor/symfony/polyfill-php82/SensitiveParameterValue.php47
-rw-r--r--vendor/symfony/polyfill-php82/bootstrap.php36
-rw-r--r--vendor/symfony/polyfill-php82/composer.json36
730 files changed, 5 insertions, 69566 deletions
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
@@ -292,53 +292,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",
"version_normalized": "7.8.1.0",
@@ -908,416 +861,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",
"version_normalized": "2.6.3.0",
@@ -1505,87 +1048,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",
"version_normalized": "1.0.0.0",
@@ -2680,59 +2142,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",
"version_normalized": "3.0.3.0",
@@ -3998,342 +3407,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",
"version_normalized": "2.2.2.0",
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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: google/protobuf/any.proto
-
-namespace GPBMetadata\Google\Protobuf;
-
-class Any
-{
- public static $is_initialized = false;
-
- public static function initOnce() {
- $pool = \Google\Protobuf\Internal\DescriptorPool::getGeneratedPool();
-
- if (static::$is_initialized == true) {
- return;
- }
- $pool->internalAddGeneratedFile(
- '
-Ô
-google/protobuf/any.protogoogle.protobuf"&
-Any
-type_url ( 
-value ( Bv
-com.google.protobufBAnyProtoPZ,google.golang.org/protobuf/types/known/anypb¢GPBªGoogle.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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: google/protobuf/api.proto
-
-namespace GPBMetadata\Google\Protobuf;
-
-class Api
-{
- public static $is_initialized = false;
-
- public static function initOnce() {
- $pool = \Google\Protobuf\Internal\DescriptorPool::getGeneratedPool();
-
- if (static::$is_initialized == true) {
- return;
- }
- \GPBMetadata\Google\Protobuf\SourceContext::initOnce();
- \GPBMetadata\Google\Protobuf\Type::initOnce();
- $pool->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/apipb¢GPBªGoogle.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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: google/protobuf/duration.proto
-
-namespace GPBMetadata\Google\Protobuf;
-
-class Duration
-{
- public static $is_initialized = false;
-
- public static function initOnce() {
- $pool = \Google\Protobuf\Internal\DescriptorPool::getGeneratedPool();
-
- if (static::$is_initialized == true) {
- return;
- }
- $pool->internalAddGeneratedFile(
- '
-ë
-google/protobuf/duration.protogoogle.protobuf"*
-Duration
-seconds (
-nanos (Bƒ
-com.google.protobufB DurationProtoPZ1google.golang.org/protobuf/types/known/durationpbø¢GPBªGoogle.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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: google/protobuf/field_mask.proto
-
-namespace GPBMetadata\Google\Protobuf;
-
-class FieldMask
-{
- public static $is_initialized = false;
-
- public static function initOnce() {
- $pool = \Google\Protobuf\Internal\DescriptorPool::getGeneratedPool();
-
- if (static::$is_initialized == true) {
- return;
- }
- $pool->internalAddGeneratedFile(
- '
-ß
- google/protobuf/field_mask.protogoogle.protobuf"
- FieldMask
-paths ( B…
-com.google.protobufBFieldMaskProtoPZ2google.golang.org/protobuf/types/known/fieldmaskpbø¢GPBªGoogle.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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: google/protobuf/empty.proto
-
-namespace GPBMetadata\Google\Protobuf;
-
-class GPBEmpty
-{
- public static $is_initialized = false;
-
- public static function initOnce() {
- $pool = \Google\Protobuf\Internal\DescriptorPool::getGeneratedPool();
-
- if (static::$is_initialized == true) {
- return;
- }
- $pool->internalAddGeneratedFile(
- '
-¾
-google/protobuf/empty.protogoogle.protobuf"
-EmptyB}
-com.google.protobufB
-EmptyProtoPZ.google.golang.org/protobuf/types/known/emptypbø¢GPBªGoogle.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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: google/protobuf/descriptor.proto
-
-namespace GPBMetadata\Google\Protobuf\Internal;
-
-class Descriptor
-{
- public static $is_initialized = false;
-
- public static function initOnce() {
- $pool = \Google\Protobuf\Internal\DescriptorPool::getGeneratedPool();
-
- if (static::$is_initialized == true) {
- return;
- }
- $pool->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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: google/protobuf/source_context.proto
-
-namespace GPBMetadata\Google\Protobuf;
-
-class SourceContext
-{
- public static $is_initialized = false;
-
- public static function initOnce() {
- $pool = \Google\Protobuf\Internal\DescriptorPool::getGeneratedPool();
-
- if (static::$is_initialized == true) {
- return;
- }
- $pool->internalAddGeneratedFile(
- '
-ð
-$google/protobuf/source_context.protogoogle.protobuf""
- SourceContext
- file_name ( BŠ
-com.google.protobufBSourceContextProtoPZ6google.golang.org/protobuf/types/known/sourcecontextpb¢GPBªGoogle.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
--- a/vendor/google/protobuf/src/GPBMetadata/Google/Protobuf/Struct.php
+++ /dev/null
Binary files 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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: google/protobuf/timestamp.proto
-
-namespace GPBMetadata\Google\Protobuf;
-
-class Timestamp
-{
- public static $is_initialized = false;
-
- public static function initOnce() {
- $pool = \Google\Protobuf\Internal\DescriptorPool::getGeneratedPool();
-
- if (static::$is_initialized == true) {
- return;
- }
- $pool->internalAddGeneratedFile(
- '
-ï
-google/protobuf/timestamp.protogoogle.protobuf"+
- Timestamp
-seconds (
-nanos (B…
-com.google.protobufBTimestampProtoPZ2google.golang.org/protobuf/types/known/timestamppbø¢GPBªGoogle.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
--- a/vendor/google/protobuf/src/GPBMetadata/Google/Protobuf/Type.php
+++ /dev/null
Binary files 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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: google/protobuf/wrappers.proto
-
-namespace GPBMetadata\Google\Protobuf;
-
-class Wrappers
-{
- public static $is_initialized = false;
-
- public static function initOnce() {
- $pool = \Google\Protobuf\Internal\DescriptorPool::getGeneratedPool();
-
- if (static::$is_initialized == true) {
- return;
- }
- $pool->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/wrapperspbø¢GPBªGoogle.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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: google/protobuf/any.proto
-
-namespace Google\Protobuf;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * `Any` contains an arbitrary serialized protocol buffer message along with a
- * URL that describes the type of the serialized message.
- * Protobuf library provides support to pack/unpack Any values in the form
- * of utility functions or additional generated methods of the Any type.
- * Example 1: Pack and unpack a message in C++.
- * Foo foo = ...;
- * Any any;
- * any.PackFrom(foo);
- * ...
- * if (any.UnpackTo(&foo)) {
- * ...
- * }
- * Example 2: Pack and unpack a message in Java.
- * Foo foo = ...;
- * Any any = Any.pack(foo);
- * ...
- * if (any.is(Foo.class)) {
- * foo = any.unpack(Foo.class);
- * }
- * // or ...
- * if (any.isSameTypeAs(Foo.getDefaultInstance())) {
- * foo = any.unpack(Foo.getDefaultInstance());
- * }
- * Example 3: Pack and unpack a message in Python.
- * foo = Foo(...)
- * any = Any()
- * any.Pack(foo)
- * ...
- * if any.Is(Foo.DESCRIPTOR):
- * any.Unpack(foo)
- * ...
- * Example 4: Pack and unpack a message in Go
- * foo := &pb.Foo{...}
- * any, err := anypb.New(foo)
- * if err != nil {
- * ...
- * }
- * ...
- * foo := &pb.Foo{}
- * if err := any.UnmarshalTo(foo); err != nil {
- * ...
- * }
- * The pack methods provided by protobuf library will by default use
- * 'type.googleapis.com/full.type.name' as the type URL and the unpack
- * methods only use the fully qualified type name after the last '/'
- * in the type URL, for example "foo.bar.com/x/y.z" will yield type
- * name "y.z".
- * JSON
- * The JSON representation of an `Any` value uses the regular
- * representation of the deserialized, embedded message, with an
- * additional field `&#64;type` which contains the type URL. Example:
- * package google.profile;
- * message Person {
- * string first_name = 1;
- * string last_name = 2;
- * }
- * {
- * "&#64;type": "type.googleapis.com/google.profile.Person",
- * "firstName": <string>,
- * "lastName": <string>
- * }
- * 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 `&#64;type`
- * field. Example (for message [google.protobuf.Duration][]):
- * {
- * "&#64;type": "type.googleapis.com/google.protobuf.Duration",
- * "value": "1.212s"
- * }
- *
- * Generated from protobuf message <code>google.protobuf.Any</code>
- */
-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 <code>string type_url = 1;</code>
- */
- protected $type_url = '';
- /**
- * Must be a valid serialized protocol buffer of the above specified type.
- *
- * Generated from protobuf field <code>bytes value = 2;</code>
- */
- 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 <code>string type_url = 1;</code>
- * @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 <code>string type_url = 1;</code>
- * @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 <code>bytes value = 2;</code>
- * @return string
- */
- public function getValue()
- {
- return $this->value;
- }
-
- /**
- * Must be a valid serialized protocol buffer of the above specified type.
- *
- * Generated from protobuf field <code>bytes value = 2;</code>
- * @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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: google/protobuf/api.proto
-
-namespace Google\Protobuf;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * Api is a light-weight descriptor for an API Interface.
- * Interfaces are also described as "protocol buffer services" in some contexts,
- * such as by the "service" keyword in a .proto file, but they are different
- * from API Services, which represent a concrete implementation of an interface
- * as opposed to simply a description of methods and bindings. They are also
- * sometimes simply referred to as "APIs" in other contexts, such as the name of
- * this message itself. See https://cloud.google.com/apis/design/glossary for
- * detailed terminology.
- *
- * Generated from protobuf message <code>google.protobuf.Api</code>
- */
-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 <code>string name = 1;</code>
- */
- protected $name = '';
- /**
- * The methods of this interface, in unspecified order.
- *
- * Generated from protobuf field <code>repeated .google.protobuf.Method methods = 2;</code>
- */
- private $methods;
- /**
- * Any metadata attached to the interface.
- *
- * Generated from protobuf field <code>repeated .google.protobuf.Option options = 3;</code>
- */
- 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<major-version>`, 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 <code>string version = 4;</code>
- */
- protected $version = '';
- /**
- * Source context for the protocol buffer service represented by this
- * message.
- *
- * Generated from protobuf field <code>.google.protobuf.SourceContext source_context = 5;</code>
- */
- protected $source_context = null;
- /**
- * Included interfaces. See [Mixin][].
- *
- * Generated from protobuf field <code>repeated .google.protobuf.Mixin mixins = 6;</code>
- */
- private $mixins;
- /**
- * The source syntax of the service.
- *
- * Generated from protobuf field <code>.google.protobuf.Syntax syntax = 7;</code>
- */
- 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<major-version>`, 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 <code>string name = 1;</code>
- * @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 <code>string name = 1;</code>
- * @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 <code>repeated .google.protobuf.Method methods = 2;</code>
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getMethods()
- {
- return $this->methods;
- }
-
- /**
- * The methods of this interface, in unspecified order.
- *
- * Generated from protobuf field <code>repeated .google.protobuf.Method methods = 2;</code>
- * @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 <code>repeated .google.protobuf.Option options = 3;</code>
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getOptions()
- {
- return $this->options;
- }
-
- /**
- * Any metadata attached to the interface.
- *
- * Generated from protobuf field <code>repeated .google.protobuf.Option options = 3;</code>
- * @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<major-version>`, 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 <code>string version = 4;</code>
- * @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<major-version>`, 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 <code>string version = 4;</code>
- * @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 <code>.google.protobuf.SourceContext source_context = 5;</code>
- * @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 <code>.google.protobuf.SourceContext source_context = 5;</code>
- * @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 <code>repeated .google.protobuf.Mixin mixins = 6;</code>
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getMixins()
- {
- return $this->mixins;
- }
-
- /**
- * Included interfaces. See [Mixin][].
- *
- * Generated from protobuf field <code>repeated .google.protobuf.Mixin mixins = 6;</code>
- * @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 <code>.google.protobuf.Syntax syntax = 7;</code>
- * @return int
- */
- public function getSyntax()
- {
- return $this->syntax;
- }
-
- /**
- * The source syntax of the service.
- *
- * Generated from protobuf field <code>.google.protobuf.Syntax syntax = 7;</code>
- * @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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: google/protobuf/wrappers.proto
-
-namespace Google\Protobuf;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * Wrapper message for `bool`.
- * The JSON representation for `BoolValue` is JSON `true` and `false`.
- *
- * Generated from protobuf message <code>google.protobuf.BoolValue</code>
- */
-class BoolValue extends \Google\Protobuf\Internal\Message
-{
- /**
- * The bool value.
- *
- * Generated from protobuf field <code>bool value = 1;</code>
- */
- 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 <code>bool value = 1;</code>
- * @return bool
- */
- public function getValue()
- {
- return $this->value;
- }
-
- /**
- * The bool value.
- *
- * Generated from protobuf field <code>bool value = 1;</code>
- * @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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: google/protobuf/wrappers.proto
-
-namespace Google\Protobuf;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * Wrapper message for `bytes`.
- * The JSON representation for `BytesValue` is JSON string.
- *
- * Generated from protobuf message <code>google.protobuf.BytesValue</code>
- */
-class BytesValue extends \Google\Protobuf\Internal\Message
-{
- /**
- * The bytes value.
- *
- * Generated from protobuf field <code>bytes value = 1;</code>
- */
- 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 <code>bytes value = 1;</code>
- * @return string
- */
- public function getValue()
- {
- return $this->value;
- }
-
- /**
- * The bytes value.
- *
- * Generated from protobuf field <code>bytes value = 1;</code>
- * @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 @@
-<?php
-
-// Protocol Buffers - Google's data interchange format
-// Copyright 2017 Google Inc. All rights reserved.
-// https://developers.google.com/protocol-buffers/
-//
-// 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 Google Inc. 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
-// OWNER 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.
-
-namespace Google\Protobuf;
-
-use Google\Protobuf\Internal\GetPublicDescriptorTrait;
-
-class Descriptor
-{
- use GetPublicDescriptorTrait;
-
- private $internal_desc;
-
- /**
- * @internal
- */
- public function __construct($internal_desc)
- {
- $this->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 @@
-<?php
-
-// Protocol Buffers - Google's data interchange format
-// Copyright 2017 Google Inc. All rights reserved.
-// https://developers.google.com/protocol-buffers/
-//
-// 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 Google Inc. 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
-// OWNER 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.
-
-namespace Google\Protobuf;
-
-class DescriptorPool
-{
- private static $pool;
-
- private $internal_pool;
-
- /**
- * @return DescriptorPool
- */
- public static function getGeneratedPool()
- {
- if (!isset(self::$pool)) {
- self::$pool = new DescriptorPool(\Google\Protobuf\Internal\DescriptorPool::getGeneratedPool());
- }
- return self::$pool;
- }
-
- private function __construct($internal_pool)
- {
- $this->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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: google/protobuf/wrappers.proto
-
-namespace Google\Protobuf;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * Wrapper message for `double`.
- * The JSON representation for `DoubleValue` is JSON number.
- *
- * Generated from protobuf message <code>google.protobuf.DoubleValue</code>
- */
-class DoubleValue extends \Google\Protobuf\Internal\Message
-{
- /**
- * The double value.
- *
- * Generated from protobuf field <code>double value = 1;</code>
- */
- 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 <code>double value = 1;</code>
- * @return float
- */
- public function getValue()
- {
- return $this->value;
- }
-
- /**
- * The double value.
- *
- * Generated from protobuf field <code>double value = 1;</code>
- * @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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: google/protobuf/duration.proto
-
-namespace Google\Protobuf;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * A Duration represents a signed, fixed-length span of time represented
- * as a count of seconds and fractions of seconds at nanosecond
- * resolution. It is independent of any calendar and concepts like "day"
- * or "month". It is related to Timestamp in that the difference between
- * two Timestamp values is a Duration and it can be added or subtracted
- * from a Timestamp. Range is approximately +-10,000 years.
- * # Examples
- * Example 1: Compute Duration from two Timestamps in pseudo code.
- * Timestamp start = ...;
- * Timestamp end = ...;
- * Duration duration = ...;
- * duration.seconds = end.seconds - start.seconds;
- * duration.nanos = end.nanos - start.nanos;
- * if (duration.seconds < 0 && duration.nanos > 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 <code>google.protobuf.Duration</code>
- */
-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 <code>int64 seconds = 1;</code>
- */
- 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 <code>int32 nanos = 2;</code>
- */
- 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 <code>int64 seconds = 1;</code>
- * @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 <code>int64 seconds = 1;</code>
- * @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 <code>int32 nanos = 2;</code>
- * @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 <code>int32 nanos = 2;</code>
- * @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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: google/protobuf/type.proto
-
-namespace Google\Protobuf;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * Enum type definition.
- *
- * Generated from protobuf message <code>google.protobuf.Enum</code>
- */
-class Enum extends \Google\Protobuf\Internal\Message
-{
- /**
- * Enum type name.
- *
- * Generated from protobuf field <code>string name = 1;</code>
- */
- protected $name = '';
- /**
- * Enum value definitions.
- *
- * Generated from protobuf field <code>repeated .google.protobuf.EnumValue enumvalue = 2;</code>
- */
- private $enumvalue;
- /**
- * Protocol buffer options.
- *
- * Generated from protobuf field <code>repeated .google.protobuf.Option options = 3;</code>
- */
- private $options;
- /**
- * The source context.
- *
- * Generated from protobuf field <code>.google.protobuf.SourceContext source_context = 4;</code>
- */
- protected $source_context = null;
- /**
- * The source syntax.
- *
- * Generated from protobuf field <code>.google.protobuf.Syntax syntax = 5;</code>
- */
- 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 <code>string name = 1;</code>
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * Enum type name.
- *
- * Generated from protobuf field <code>string name = 1;</code>
- * @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 <code>repeated .google.protobuf.EnumValue enumvalue = 2;</code>
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getEnumvalue()
- {
- return $this->enumvalue;
- }
-
- /**
- * Enum value definitions.
- *
- * Generated from protobuf field <code>repeated .google.protobuf.EnumValue enumvalue = 2;</code>
- * @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 <code>repeated .google.protobuf.Option options = 3;</code>
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getOptions()
- {
- return $this->options;
- }
-
- /**
- * Protocol buffer options.
- *
- * Generated from protobuf field <code>repeated .google.protobuf.Option options = 3;</code>
- * @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 <code>.google.protobuf.SourceContext source_context = 4;</code>
- * @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 <code>.google.protobuf.SourceContext source_context = 4;</code>
- * @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 <code>.google.protobuf.Syntax syntax = 5;</code>
- * @return int
- */
- public function getSyntax()
- {
- return $this->syntax;
- }
-
- /**
- * The source syntax.
- *
- * Generated from protobuf field <code>.google.protobuf.Syntax syntax = 5;</code>
- * @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 @@
-<?php
-
-// Protocol Buffers - Google's data interchange format
-// Copyright 2017 Google Inc. All rights reserved.
-// https://developers.google.com/protocol-buffers/
-//
-// 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 Google Inc. 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
-// OWNER 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.
-
-namespace Google\Protobuf;
-
-class EnumDescriptor
-{
- private $internal_desc;
-
- /**
- * @internal
- */
- public function __construct($internal_desc)
- {
- $this->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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: google/protobuf/type.proto
-
-namespace Google\Protobuf;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * Enum value definition.
- *
- * Generated from protobuf message <code>google.protobuf.EnumValue</code>
- */
-class EnumValue extends \Google\Protobuf\Internal\Message
-{
- /**
- * Enum value name.
- *
- * Generated from protobuf field <code>string name = 1;</code>
- */
- protected $name = '';
- /**
- * Enum value number.
- *
- * Generated from protobuf field <code>int32 number = 2;</code>
- */
- protected $number = 0;
- /**
- * Protocol buffer options.
- *
- * Generated from protobuf field <code>repeated .google.protobuf.Option options = 3;</code>
- */
- 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 <code>string name = 1;</code>
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * Enum value name.
- *
- * Generated from protobuf field <code>string name = 1;</code>
- * @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 <code>int32 number = 2;</code>
- * @return int
- */
- public function getNumber()
- {
- return $this->number;
- }
-
- /**
- * Enum value number.
- *
- * Generated from protobuf field <code>int32 number = 2;</code>
- * @param int $var
- * @return $this
- */
- public function setNumber($var)
- {
- GPBUtil::checkInt32($var);
- $this->number = $var;
-
- return $this;
- }
-
- /**
- * Protocol buffer options.
- *
- * Generated from protobuf field <code>repeated .google.protobuf.Option options = 3;</code>
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getOptions()
- {
- return $this->options;
- }
-
- /**
- * Protocol buffer options.
- *
- * Generated from protobuf field <code>repeated .google.protobuf.Option options = 3;</code>
- * @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 @@
-<?php
-
-// Protocol Buffers - Google's data interchange format
-// Copyright 2008 Google Inc. All rights reserved.
-// https://developers.google.com/protocol-buffers/
-//
-// 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 Google Inc. 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
-// OWNER 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.
-
-namespace Google\Protobuf;
-
-class EnumValueDescriptor
-{
- private $name;
- private $number;
-
- /**
- * @internal
- */
- public function __construct($name, $number)
- {
- $this->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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: google/protobuf/type.proto
-
-namespace Google\Protobuf;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * A single field of a message type.
- *
- * Generated from protobuf message <code>google.protobuf.Field</code>
- */
-class Field extends \Google\Protobuf\Internal\Message
-{
- /**
- * The field type.
- *
- * Generated from protobuf field <code>.google.protobuf.Field.Kind kind = 1;</code>
- */
- protected $kind = 0;
- /**
- * The field cardinality.
- *
- * Generated from protobuf field <code>.google.protobuf.Field.Cardinality cardinality = 2;</code>
- */
- protected $cardinality = 0;
- /**
- * The field number.
- *
- * Generated from protobuf field <code>int32 number = 3;</code>
- */
- protected $number = 0;
- /**
- * The field name.
- *
- * Generated from protobuf field <code>string name = 4;</code>
- */
- 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 <code>string type_url = 6;</code>
- */
- 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 <code>int32 oneof_index = 7;</code>
- */
- protected $oneof_index = 0;
- /**
- * Whether to use alternative packed wire representation.
- *
- * Generated from protobuf field <code>bool packed = 8;</code>
- */
- protected $packed = false;
- /**
- * The protocol buffer options.
- *
- * Generated from protobuf field <code>repeated .google.protobuf.Option options = 9;</code>
- */
- private $options;
- /**
- * The field JSON name.
- *
- * Generated from protobuf field <code>string json_name = 10;</code>
- */
- protected $json_name = '';
- /**
- * The string value of the default value of this field. Proto2 syntax only.
- *
- * Generated from protobuf field <code>string default_value = 11;</code>
- */
- 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 <code>.google.protobuf.Field.Kind kind = 1;</code>
- * @return int
- */
- public function getKind()
- {
- return $this->kind;
- }
-
- /**
- * The field type.
- *
- * Generated from protobuf field <code>.google.protobuf.Field.Kind kind = 1;</code>
- * @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 <code>.google.protobuf.Field.Cardinality cardinality = 2;</code>
- * @return int
- */
- public function getCardinality()
- {
- return $this->cardinality;
- }
-
- /**
- * The field cardinality.
- *
- * Generated from protobuf field <code>.google.protobuf.Field.Cardinality cardinality = 2;</code>
- * @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 <code>int32 number = 3;</code>
- * @return int
- */
- public function getNumber()
- {
- return $this->number;
- }
-
- /**
- * The field number.
- *
- * Generated from protobuf field <code>int32 number = 3;</code>
- * @param int $var
- * @return $this
- */
- public function setNumber($var)
- {
- GPBUtil::checkInt32($var);
- $this->number = $var;
-
- return $this;
- }
-
- /**
- * The field name.
- *
- * Generated from protobuf field <code>string name = 4;</code>
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * The field name.
- *
- * Generated from protobuf field <code>string name = 4;</code>
- * @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 <code>string type_url = 6;</code>
- * @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 <code>string type_url = 6;</code>
- * @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 <code>int32 oneof_index = 7;</code>
- * @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 <code>int32 oneof_index = 7;</code>
- * @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 <code>bool packed = 8;</code>
- * @return bool
- */
- public function getPacked()
- {
- return $this->packed;
- }
-
- /**
- * Whether to use alternative packed wire representation.
- *
- * Generated from protobuf field <code>bool packed = 8;</code>
- * @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 <code>repeated .google.protobuf.Option options = 9;</code>
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getOptions()
- {
- return $this->options;
- }
-
- /**
- * The protocol buffer options.
- *
- * Generated from protobuf field <code>repeated .google.protobuf.Option options = 9;</code>
- * @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 <code>string json_name = 10;</code>
- * @return string
- */
- public function getJsonName()
- {
- return $this->json_name;
- }
-
- /**
- * The field JSON name.
- *
- * Generated from protobuf field <code>string json_name = 10;</code>
- * @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 <code>string default_value = 11;</code>
- * @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 <code>string default_value = 11;</code>
- * @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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: google/protobuf/type.proto
-
-namespace Google\Protobuf\Field;
-
-use UnexpectedValueException;
-
-/**
- * Whether a field is optional, required, or repeated.
- *
- * Protobuf type <code>google.protobuf.Field.Cardinality</code>
- */
-class Cardinality
-{
- /**
- * For fields with unknown cardinality.
- *
- * Generated from protobuf enum <code>CARDINALITY_UNKNOWN = 0;</code>
- */
- const CARDINALITY_UNKNOWN = 0;
- /**
- * For optional fields.
- *
- * Generated from protobuf enum <code>CARDINALITY_OPTIONAL = 1;</code>
- */
- const CARDINALITY_OPTIONAL = 1;
- /**
- * For required fields. Proto2 syntax only.
- *
- * Generated from protobuf enum <code>CARDINALITY_REQUIRED = 2;</code>
- */
- const CARDINALITY_REQUIRED = 2;
- /**
- * For repeated fields.
- *
- * Generated from protobuf enum <code>CARDINALITY_REPEATED = 3;</code>
- */
- 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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: google/protobuf/type.proto
-
-namespace Google\Protobuf\Field;
-
-use UnexpectedValueException;
-
-/**
- * Basic field types.
- *
- * Protobuf type <code>google.protobuf.Field.Kind</code>
- */
-class Kind
-{
- /**
- * Field type unknown.
- *
- * Generated from protobuf enum <code>TYPE_UNKNOWN = 0;</code>
- */
- const TYPE_UNKNOWN = 0;
- /**
- * Field type double.
- *
- * Generated from protobuf enum <code>TYPE_DOUBLE = 1;</code>
- */
- const TYPE_DOUBLE = 1;
- /**
- * Field type float.
- *
- * Generated from protobuf enum <code>TYPE_FLOAT = 2;</code>
- */
- const TYPE_FLOAT = 2;
- /**
- * Field type int64.
- *
- * Generated from protobuf enum <code>TYPE_INT64 = 3;</code>
- */
- const TYPE_INT64 = 3;
- /**
- * Field type uint64.
- *
- * Generated from protobuf enum <code>TYPE_UINT64 = 4;</code>
- */
- const TYPE_UINT64 = 4;
- /**
- * Field type int32.
- *
- * Generated from protobuf enum <code>TYPE_INT32 = 5;</code>
- */
- const TYPE_INT32 = 5;
- /**
- * Field type fixed64.
- *
- * Generated from protobuf enum <code>TYPE_FIXED64 = 6;</code>
- */
- const TYPE_FIXED64 = 6;
- /**
- * Field type fixed32.
- *
- * Generated from protobuf enum <code>TYPE_FIXED32 = 7;</code>
- */
- const TYPE_FIXED32 = 7;
- /**
- * Field type bool.
- *
- * Generated from protobuf enum <code>TYPE_BOOL = 8;</code>
- */
- const TYPE_BOOL = 8;
- /**
- * Field type string.
- *
- * Generated from protobuf enum <code>TYPE_STRING = 9;</code>
- */
- const TYPE_STRING = 9;
- /**
- * Field type group. Proto2 syntax only, and deprecated.
- *
- * Generated from protobuf enum <code>TYPE_GROUP = 10;</code>
- */
- const TYPE_GROUP = 10;
- /**
- * Field type message.
- *
- * Generated from protobuf enum <code>TYPE_MESSAGE = 11;</code>
- */
- const TYPE_MESSAGE = 11;
- /**
- * Field type bytes.
- *
- * Generated from protobuf enum <code>TYPE_BYTES = 12;</code>
- */
- const TYPE_BYTES = 12;
- /**
- * Field type uint32.
- *
- * Generated from protobuf enum <code>TYPE_UINT32 = 13;</code>
- */
- const TYPE_UINT32 = 13;
- /**
- * Field type enum.
- *
- * Generated from protobuf enum <code>TYPE_ENUM = 14;</code>
- */
- const TYPE_ENUM = 14;
- /**
- * Field type sfixed32.
- *
- * Generated from protobuf enum <code>TYPE_SFIXED32 = 15;</code>
- */
- const TYPE_SFIXED32 = 15;
- /**
- * Field type sfixed64.
- *
- * Generated from protobuf enum <code>TYPE_SFIXED64 = 16;</code>
- */
- const TYPE_SFIXED64 = 16;
- /**
- * Field type sint32.
- *
- * Generated from protobuf enum <code>TYPE_SINT32 = 17;</code>
- */
- const TYPE_SINT32 = 17;
- /**
- * Field type sint64.
- *
- * Generated from protobuf enum <code>TYPE_SINT64 = 18;</code>
- */
- 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 @@
-<?php
-
-// Protocol Buffers - Google's data interchange format
-// Copyright 2017 Google Inc. All rights reserved.
-// https://developers.google.com/protocol-buffers/
-//
-// 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 Google Inc. 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
-// OWNER 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.
-
-namespace Google\Protobuf;
-
-use Google\Protobuf\Internal\GetPublicDescriptorTrait;
-use Google\Protobuf\Internal\GPBType;
-
-class FieldDescriptor
-{
- use GetPublicDescriptorTrait;
-
- /** @var \Google\Protobuf\Internal\FieldDescriptor $internal_desc */
- private $internal_desc;
-
- /**
- * @internal
- */
- public function __construct($internal_desc)
- {
- $this->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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: google/protobuf/field_mask.proto
-
-namespace Google\Protobuf;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * `FieldMask` represents a set of symbolic field paths, for example:
- * paths: "f.a"
- * paths: "f.b.d"
- * Here `f` represents a field in some root message, `a` and `b`
- * fields in the message found in `f`, and `d` a field found in the
- * message in `f.b`.
- * Field masks are used to specify a subset of fields that should be
- * returned by a get operation or modified by an update operation.
- * Field masks also have a custom JSON encoding (see below).
- * # Field Masks in Projections
- * When used in the context of a projection, a response message or
- * sub-message is filtered by the API to only contain those fields as
- * specified in the mask. For example, if the mask in the previous
- * example is applied to a response message as follows:
- * f {
- * a : 22
- * b {
- * d : 1
- * x : 2
- * }
- * y : 13
- * }
- * z: 8
- * The result will not contain specific values for fields x,y and z
- * (their value will be set to the default, and omitted in proto text
- * output):
- * f {
- * a : 22
- * b {
- * d : 1
- * }
- * }
- * A repeated field is not allowed except at the last position of a
- * paths string.
- * If a FieldMask object is not present in a get operation, the
- * operation applies to all fields (as if a FieldMask of all fields
- * had been specified).
- * Note that a field mask does not necessarily apply to the
- * top-level response message. In case of a REST get operation, the
- * field mask applies directly to the response, but in case of a REST
- * list operation, the mask instead applies to each individual message
- * in the returned resource list. In case of a REST custom method,
- * other definitions may be used. Where the mask applies will be
- * clearly documented together with its declaration in the API. In
- * any case, the effect on the returned resource/resources is required
- * behavior for APIs.
- * # Field Masks in Update Operations
- * A field mask in update operations specifies which fields of the
- * targeted resource are going to be updated. The API is required
- * to only change the values of the fields as specified in the mask
- * and leave the others untouched. If a resource is passed in to
- * describe the updated values, the API ignores the values of all
- * fields not covered by the mask.
- * If a repeated field is specified for an update operation, new values will
- * be appended to the existing repeated field in the target resource. Note that
- * a repeated field is only allowed in the last position of a `paths` string.
- * If a sub-message is specified in the last position of the field mask for an
- * update operation, then new value will be merged into the existing sub-message
- * in the target resource.
- * For example, given the target message:
- * f {
- * b {
- * d: 1
- * x: 2
- * }
- * c: [1]
- * }
- * And an update message:
- * f {
- * b {
- * d: 10
- * }
- * c: [2]
- * }
- * then if the field mask is:
- * paths: ["f.b", "f.c"]
- * then the result will be:
- * f {
- * b {
- * d: 10
- * x: 2
- * }
- * c: [1, 2]
- * }
- * An implementation may provide options to override this default behavior for
- * repeated and message fields.
- * In order to reset a field's value to the default, the field must
- * be in the mask and set to the default value in the provided resource.
- * Hence, in order to reset all fields of a resource, provide a default
- * instance of the resource and set all fields in the mask, or do
- * not provide a mask as described below.
- * If a field mask is not present on update, the operation applies to
- * all fields (as if a field mask of all fields has been specified).
- * Note that in the presence of schema evolution, this may mean that
- * fields the client does not know and has therefore not filled into
- * the request will be reset to their default. If this is unwanted
- * behavior, a specific service may require a client to always specify
- * a field mask, producing an error if not.
- * As with get operations, the location of the resource which
- * describes the updated values in the request message depends on the
- * operation kind. In any case, the effect of the field mask is
- * required to be honored by the API.
- * ## Considerations for HTTP REST
- * The HTTP kind of an update operation which uses a field mask must
- * be set to PATCH instead of PUT in order to satisfy HTTP semantics
- * (PUT must only be used for full updates).
- * # JSON Encoding of Field Masks
- * In JSON, a field mask is encoded as a single string where paths are
- * separated by a comma. Fields name in each path are converted
- * to/from lower-camel naming conventions.
- * As an example, consider the following message declarations:
- * message Profile {
- * User user = 1;
- * Photo photo = 2;
- * }
- * message User {
- * string display_name = 1;
- * string address = 2;
- * }
- * In proto a field mask for `Profile` may look as such:
- * mask {
- * paths: "user.display_name"
- * paths: "photo"
- * }
- * In JSON, the same mask is represented as below:
- * {
- * mask: "user.displayName,photo"
- * }
- * # Field Masks and Oneof Fields
- * Field masks treat fields in oneofs just as regular fields. Consider the
- * following message:
- * message SampleMessage {
- * oneof test_oneof {
- * string name = 4;
- * SubMessage sub_message = 9;
- * }
- * }
- * The field mask can be:
- * mask {
- * paths: "name"
- * }
- * Or:
- * mask {
- * paths: "sub_message"
- * }
- * Note that oneof type names ("test_oneof" in this case) cannot be used in
- * paths.
- * ## Field Mask Verification
- * The implementation of any API method which has a FieldMask type field in the
- * request should verify the included field paths, and return an
- * `INVALID_ARGUMENT` error if any path is unmappable.
- *
- * Generated from protobuf message <code>google.protobuf.FieldMask</code>
- */
-class FieldMask extends \Google\Protobuf\Internal\Message
-{
- /**
- * The set of field mask paths.
- *
- * Generated from protobuf field <code>repeated string paths = 1;</code>
- */
- private $paths;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type array<string>|\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 <code>repeated string paths = 1;</code>
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getPaths()
- {
- return $this->paths;
- }
-
- /**
- * The set of field mask paths.
- *
- * Generated from protobuf field <code>repeated string paths = 1;</code>
- * @param array<string>|\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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: google/protobuf/type.proto
-
-namespace Google\Protobuf;
-
-if (false) {
- /**
- * This class is deprecated. Use Google\Protobuf\Field\Cardinality instead.
- * @deprecated
- */
- class Field_Cardinality {}
-}
-class_exists(Field\Cardinality::class);
-@trigger_error('Google\Protobuf\Field_Cardinality is deprecated and will be removed in the next major release. Use Google\Protobuf\Field\Cardinality instead', E_USER_DEPRECATED);
-
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 aa2023704..000000000
--- a/vendor/google/protobuf/src/Google/Protobuf/Field_Kind.php
+++ /dev/null
@@ -1,16 +0,0 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: google/protobuf/type.proto
-
-namespace Google\Protobuf;
-
-if (false) {
- /**
- * This class is deprecated. Use Google\Protobuf\Field\Kind instead.
- * @deprecated
- */
- class Field_Kind {}
-}
-class_exists(Field\Kind::class);
-@trigger_error('Google\Protobuf\Field_Kind is deprecated and will be removed in the next major release. Use Google\Protobuf\Field\Kind instead', E_USER_DEPRECATED);
-
diff --git a/vendor/google/protobuf/src/Google/Protobuf/FloatValue.php b/vendor/google/protobuf/src/Google/Protobuf/FloatValue.php
deleted file mode 100644
index 4285358d5..000000000
--- a/vendor/google/protobuf/src/Google/Protobuf/FloatValue.php
+++ /dev/null
@@ -1,68 +0,0 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: google/protobuf/wrappers.proto
-
-namespace Google\Protobuf;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * Wrapper message for `float`.
- * The JSON representation for `FloatValue` is JSON number.
- *
- * Generated from protobuf message <code>google.protobuf.FloatValue</code>
- */
-class FloatValue extends \Google\Protobuf\Internal\Message
-{
- /**
- * The float value.
- *
- * Generated from protobuf field <code>float value = 1;</code>
- */
- 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 <code>float value = 1;</code>
- * @return float
- */
- public function getValue()
- {
- return $this->value;
- }
-
- /**
- * The float value.
- *
- * Generated from protobuf field <code>float value = 1;</code>
- * @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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: google/protobuf/empty.proto
-
-namespace Google\Protobuf;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * A generic empty message that you can re-use to avoid defining duplicated
- * empty messages in your APIs. A typical example is to use it as the request
- * or the response type of an API method. For instance:
- * service Foo {
- * rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
- * }
- *
- * Generated from protobuf message <code>google.protobuf.Empty</code>
- */
-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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: google/protobuf/wrappers.proto
-
-namespace Google\Protobuf;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * Wrapper message for `int32`.
- * The JSON representation for `Int32Value` is JSON number.
- *
- * Generated from protobuf message <code>google.protobuf.Int32Value</code>
- */
-class Int32Value extends \Google\Protobuf\Internal\Message
-{
- /**
- * The int32 value.
- *
- * Generated from protobuf field <code>int32 value = 1;</code>
- */
- 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 <code>int32 value = 1;</code>
- * @return int
- */
- public function getValue()
- {
- return $this->value;
- }
-
- /**
- * The int32 value.
- *
- * Generated from protobuf field <code>int32 value = 1;</code>
- * @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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: google/protobuf/wrappers.proto
-
-namespace Google\Protobuf;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * Wrapper message for `int64`.
- * The JSON representation for `Int64Value` is JSON string.
- *
- * Generated from protobuf message <code>google.protobuf.Int64Value</code>
- */
-class Int64Value extends \Google\Protobuf\Internal\Message
-{
- /**
- * The int64 value.
- *
- * Generated from protobuf field <code>int64 value = 1;</code>
- */
- 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 <code>int64 value = 1;</code>
- * @return int|string
- */
- public function getValue()
- {
- return $this->value;
- }
-
- /**
- * The int64 value.
- *
- * Generated from protobuf field <code>int64 value = 1;</code>
- * @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 @@
-<?php
-
-namespace Google\Protobuf\Internal;
-
-/**
- * Base class for Google\Protobuf\Any, this contains hand-written convenience
- * methods like pack() and unpack().
- */
-class AnyBase extends \Google\Protobuf\Internal\Message
-{
- const TYPE_URL_PREFIX = 'type.googleapis.com/';
-
- /**
- * This method will try to resolve the type_url in Any message to get the
- * targeted message type. If failed, an error will be thrown. Otherwise,
- * the method will create a message of the targeted type and fill it with
- * the decoded value in Any.
- * @return Message unpacked message
- * @throws \Exception Type url needs to be type.googleapis.com/fully-qualified.
- * @throws \Exception Class hasn't been added to descriptor pool.
- * @throws \Exception cannot decode data in value field.
- */
- public function unpack()
- {
- // Get fully qualified name from type url.
- $url_prifix_len = strlen(GPBUtil::TYPE_URL_PREFIX);
- if (substr($this->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 @@
-<?php
-
-// Protocol Buffers - Google's data interchange format
-// Copyright 2008 Google Inc. All rights reserved.
-// https://developers.google.com/protocol-buffers/
-//
-// 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 Google Inc. 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
-// OWNER 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.
-
-namespace Google\Protobuf\Internal;
-
-use Google\Protobuf\Internal\Uint64;
-
-class CodedInputStream
-{
-
- private $buffer;
- private $buffer_size_after_limit;
- private $buffer_end;
- private $current;
- private $current_limit;
- private $legitimate_message_end;
- private $recursion_budget;
- private $recursion_limit;
- private $total_bytes_limit;
- private $total_bytes_read;
-
- const MAX_VARINT_BYTES = 10;
- const DEFAULT_RECURSION_LIMIT = 100;
- const DEFAULT_TOTAL_BYTES_LIMIT = 33554432; // 32 << 20, 32MB
-
- public function __construct($buffer)
- {
- $start = 0;
- $end = strlen($buffer);
- $this->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 @@
-<?php
-
-// Protocol Buffers - Google's data interchange format
-// Copyright 2008 Google Inc. All rights reserved.
-// https://developers.google.com/protocol-buffers/
-//
-// 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 Google Inc. 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
-// OWNER 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.
-
-namespace Google\Protobuf\Internal;
-
-class CodedOutputStream
-{
-
- private $buffer;
- private $buffer_size;
- private $current;
-
- const MAX_VARINT64_BYTES = 10;
-
- public function __construct($size)
- {
- $this->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 @@
-<?php
-
-// Protocol Buffers - Google's data interchange format
-// Copyright 2008 Google Inc. All rights reserved.
-// https://developers.google.com/protocol-buffers/
-//
-// 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 Google Inc. 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
-// OWNER 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.
-
-namespace Google\Protobuf\Internal;
-
-class Descriptor
-{
- use HasPublicDescriptorTrait;
-
- private $full_name;
- private $field = [];
- private $json_to_field = [];
- private $name_to_field = [];
- private $index_to_field = [];
- private $nested_type = [];
- private $enum_type = [];
- private $klass;
- private $legacy_klass;
- private $previous_klass;
- private $options;
- private $oneof_decl = [];
-
- public function __construct()
- {
- $this->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 @@
-<?php
-
-// Protocol Buffers - Google's data interchange format
-// Copyright 2008 Google Inc. All rights reserved.
-// https://developers.google.com/protocol-buffers/
-//
-// 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 Google Inc. 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
-// OWNER 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.
-
-namespace Google\Protobuf\Internal;
-
-use Google\Protobuf\Internal\Descriptor;
-use Google\Protobuf\Internal\FileDescriptor;
-use Google\Protobuf\Internal\FileDescriptorSet;
-use Google\Protobuf\Internal\MessageBuilderContext;
-use Google\Protobuf\Internal\EnumBuilderContext;
-
-class DescriptorPool
-{
- private static $pool;
- // Map from message names to sub-maps, which are maps from field numbers to
- // field descriptors.
- private $class_to_desc = [];
- private $class_to_enum_desc = [];
- private $proto_to_class = [];
-
- public static function getGeneratedPool()
- {
- if (!isset(self::$pool)) {
- self::$pool = new DescriptorPool();
- }
- return self::$pool;
- }
-
- public function internalAddGeneratedFile($data, $use_nested = false)
- {
- $files = new FileDescriptorSet();
- $files->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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: google/protobuf/descriptor.proto
-
-namespace Google\Protobuf\Internal;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\GPBWire;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\InputStream;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * Describes a message type.
- *
- * Generated from protobuf message <code>google.protobuf.DescriptorProto</code>
- */
-class DescriptorProto extends \Google\Protobuf\Internal\Message
-{
- /**
- * Generated from protobuf field <code>optional string name = 1;</code>
- */
- protected $name = null;
- /**
- * Generated from protobuf field <code>repeated .google.protobuf.FieldDescriptorProto field = 2;</code>
- */
- private $field;
- /**
- * Generated from protobuf field <code>repeated .google.protobuf.FieldDescriptorProto extension = 6;</code>
- */
- private $extension;
- /**
- * Generated from protobuf field <code>repeated .google.protobuf.DescriptorProto nested_type = 3;</code>
- */
- private $nested_type;
- /**
- * Generated from protobuf field <code>repeated .google.protobuf.EnumDescriptorProto enum_type = 4;</code>
- */
- private $enum_type;
- /**
- * Generated from protobuf field <code>repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;</code>
- */
- private $extension_range;
- /**
- * Generated from protobuf field <code>repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;</code>
- */
- private $oneof_decl;
- /**
- * Generated from protobuf field <code>optional .google.protobuf.MessageOptions options = 7;</code>
- */
- protected $options = null;
- /**
- * Generated from protobuf field <code>repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;</code>
- */
- 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 <code>repeated string reserved_name = 10;</code>
- */
- 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<string>|\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 <code>optional string name = 1;</code>
- * @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 <code>optional string name = 1;</code>
- * @param string $var
- * @return $this
- */
- public function setName($var)
- {
- GPBUtil::checkString($var, True);
- $this->name = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field <code>repeated .google.protobuf.FieldDescriptorProto field = 2;</code>
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getField()
- {
- return $this->field;
- }
-
- /**
- * Generated from protobuf field <code>repeated .google.protobuf.FieldDescriptorProto field = 2;</code>
- * @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 <code>repeated .google.protobuf.FieldDescriptorProto extension = 6;</code>
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getExtension()
- {
- return $this->extension;
- }
-
- /**
- * Generated from protobuf field <code>repeated .google.protobuf.FieldDescriptorProto extension = 6;</code>
- * @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 <code>repeated .google.protobuf.DescriptorProto nested_type = 3;</code>
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getNestedType()
- {
- return $this->nested_type;
- }
-
- /**
- * Generated from protobuf field <code>repeated .google.protobuf.DescriptorProto nested_type = 3;</code>
- * @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 <code>repeated .google.protobuf.EnumDescriptorProto enum_type = 4;</code>
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getEnumType()
- {
- return $this->enum_type;
- }
-
- /**
- * Generated from protobuf field <code>repeated .google.protobuf.EnumDescriptorProto enum_type = 4;</code>
- * @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 <code>repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;</code>
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getExtensionRange()
- {
- return $this->extension_range;
- }
-
- /**
- * Generated from protobuf field <code>repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;</code>
- * @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 <code>repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;</code>
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getOneofDecl()
- {
- return $this->oneof_decl;
- }
-
- /**
- * Generated from protobuf field <code>repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;</code>
- * @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 <code>optional .google.protobuf.MessageOptions options = 7;</code>
- * @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 <code>optional .google.protobuf.MessageOptions options = 7;</code>
- * @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 <code>repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;</code>
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getReservedRange()
- {
- return $this->reserved_range;
- }
-
- /**
- * Generated from protobuf field <code>repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;</code>
- * @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 <code>repeated string reserved_name = 10;</code>
- * @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 <code>repeated string reserved_name = 10;</code>
- * @param array<string>|\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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: google/protobuf/descriptor.proto
-
-namespace Google\Protobuf\Internal\DescriptorProto;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\GPBWire;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\InputStream;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * Generated from protobuf message <code>google.protobuf.DescriptorProto.ExtensionRange</code>
- */
-class ExtensionRange extends \Google\Protobuf\Internal\Message
-{
- /**
- * Inclusive.
- *
- * Generated from protobuf field <code>optional int32 start = 1;</code>
- */
- protected $start = null;
- /**
- * Exclusive.
- *
- * Generated from protobuf field <code>optional int32 end = 2;</code>
- */
- protected $end = null;
- /**
- * Generated from protobuf field <code>optional .google.protobuf.ExtensionRangeOptions options = 3;</code>
- */
- 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 <code>optional int32 start = 1;</code>
- * @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 <code>optional int32 start = 1;</code>
- * @param int $var
- * @return $this
- */
- public function setStart($var)
- {
- GPBUtil::checkInt32($var);
- $this->start = $var;
-
- return $this;
- }
-
- /**
- * Exclusive.
- *
- * Generated from protobuf field <code>optional int32 end = 2;</code>
- * @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 <code>optional int32 end = 2;</code>
- * @param int $var
- * @return $this
- */
- public function setEnd($var)
- {
- GPBUtil::checkInt32($var);
- $this->end = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field <code>optional .google.protobuf.ExtensionRangeOptions options = 3;</code>
- * @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 <code>optional .google.protobuf.ExtensionRangeOptions options = 3;</code>
- * @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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: google/protobuf/descriptor.proto
-
-namespace Google\Protobuf\Internal\DescriptorProto;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\GPBWire;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\InputStream;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * Range of reserved tag numbers. Reserved tag numbers may not be used by
- * fields or extension ranges in the same message. Reserved ranges may
- * not overlap.
- *
- * Generated from protobuf message <code>google.protobuf.DescriptorProto.ReservedRange</code>
- */
-class ReservedRange extends \Google\Protobuf\Internal\Message
-{
- /**
- * Inclusive.
- *
- * Generated from protobuf field <code>optional int32 start = 1;</code>
- */
- protected $start = null;
- /**
- * Exclusive.
- *
- * Generated from protobuf field <code>optional int32 end = 2;</code>
- */
- 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 <code>optional int32 start = 1;</code>
- * @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 <code>optional int32 start = 1;</code>
- * @param int $var
- * @return $this
- */
- public function setStart($var)
- {
- GPBUtil::checkInt32($var);
- $this->start = $var;
-
- return $this;
- }
-
- /**
- * Exclusive.
- *
- * Generated from protobuf field <code>optional int32 end = 2;</code>
- * @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 <code>optional int32 end = 2;</code>
- * @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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: google/protobuf/descriptor.proto
-
-namespace Google\Protobuf\Internal;
-
-if (false) {
- /**
- * This class is deprecated. Use Google\Protobuf\Internal\DescriptorProto\ExtensionRange instead.
- * @deprecated
- */
- class DescriptorProto_ExtensionRange {}
-}
-class_exists(DescriptorProto\ExtensionRange::class);
-@trigger_error('Google\Protobuf\Internal\DescriptorProto_ExtensionRange is deprecated and will be removed in the next major release. Use Google\Protobuf\Internal\DescriptorProto\ExtensionRange instead', E_USER_DEPRECATED);
-
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 e49e945f9..000000000
--- a/vendor/google/protobuf/src/Google/Protobuf/Internal/DescriptorProto_ReservedRange.php
+++ /dev/null
@@ -1,16 +0,0 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: google/protobuf/descriptor.proto
-
-namespace Google\Protobuf\Internal;
-
-if (false) {
- /**
- * This class is deprecated. Use Google\Protobuf\Internal\DescriptorProto\ReservedRange instead.
- * @deprecated
- */
- class DescriptorProto_ReservedRange {}
-}
-class_exists(DescriptorProto\ReservedRange::class);
-@trigger_error('Google\Protobuf\Internal\DescriptorProto_ReservedRange is deprecated and will be removed in the next major release. Use Google\Protobuf\Internal\DescriptorProto\ReservedRange instead', E_USER_DEPRECATED);
-
diff --git a/vendor/google/protobuf/src/Google/Protobuf/Internal/EnumBuilderContext.php b/vendor/google/protobuf/src/Google/Protobuf/Internal/EnumBuilderContext.php
deleted file mode 100644
index 08397284e..000000000
--- a/vendor/google/protobuf/src/Google/Protobuf/Internal/EnumBuilderContext.php
+++ /dev/null
@@ -1,63 +0,0 @@
-<?php
-
-// Protocol Buffers - Google's data interchange format
-// Copyright 2008 Google Inc. All rights reserved.
-// https://developers.google.com/protocol-buffers/
-//
-// 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 Google Inc. 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
-// OWNER 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.
-
-namespace Google\Protobuf\Internal;
-
-use Google\Protobuf\Internal\EnumDescriptor;
-use Google\Protobuf\EnumValueDescriptor;
-
-class EnumBuilderContext
-{
-
- private $descriptor;
- private $pool;
-
- public function __construct($full_name, $klass, $pool)
- {
- $this->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 @@
-<?php
-
-namespace Google\Protobuf\Internal;
-
-use Google\Protobuf\EnumValueDescriptor;
-
-class EnumDescriptor
-{
- use HasPublicDescriptorTrait;
-
- private $klass;
- private $legacy_klass;
- private $full_name;
- private $value;
- private $name_to_value;
- private $value_descriptor = [];
-
- public function __construct()
- {
- $this->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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: google/protobuf/descriptor.proto
-
-namespace Google\Protobuf\Internal;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\GPBWire;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\InputStream;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * Describes an enum type.
- *
- * Generated from protobuf message <code>google.protobuf.EnumDescriptorProto</code>
- */
-class EnumDescriptorProto extends \Google\Protobuf\Internal\Message
-{
- /**
- * Generated from protobuf field <code>optional string name = 1;</code>
- */
- protected $name = null;
- /**
- * Generated from protobuf field <code>repeated .google.protobuf.EnumValueDescriptorProto value = 2;</code>
- */
- private $value;
- /**
- * Generated from protobuf field <code>optional .google.protobuf.EnumOptions options = 3;</code>
- */
- 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 <code>repeated .google.protobuf.EnumDescriptorProto.EnumReservedRange reserved_range = 4;</code>
- */
- private $reserved_range;
- /**
- * Reserved enum value names, which may not be reused. A given name may only
- * be reserved once.
- *
- * Generated from protobuf field <code>repeated string reserved_name = 5;</code>
- */
- 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<string>|\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 <code>optional string name = 1;</code>
- * @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 <code>optional string name = 1;</code>
- * @param string $var
- * @return $this
- */
- public function setName($var)
- {
- GPBUtil::checkString($var, True);
- $this->name = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field <code>repeated .google.protobuf.EnumValueDescriptorProto value = 2;</code>
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getValue()
- {
- return $this->value;
- }
-
- /**
- * Generated from protobuf field <code>repeated .google.protobuf.EnumValueDescriptorProto value = 2;</code>
- * @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 <code>optional .google.protobuf.EnumOptions options = 3;</code>
- * @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 <code>optional .google.protobuf.EnumOptions options = 3;</code>
- * @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 <code>repeated .google.protobuf.EnumDescriptorProto.EnumReservedRange reserved_range = 4;</code>
- * @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 <code>repeated .google.protobuf.EnumDescriptorProto.EnumReservedRange reserved_range = 4;</code>
- * @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 <code>repeated string reserved_name = 5;</code>
- * @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 <code>repeated string reserved_name = 5;</code>
- * @param array<string>|\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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: google/protobuf/descriptor.proto
-
-namespace Google\Protobuf\Internal\EnumDescriptorProto;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\GPBWire;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\InputStream;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * Range of reserved numeric values. Reserved values may not be used by
- * entries in the same enum. Reserved ranges may not overlap.
- * Note that this is distinct from DescriptorProto.ReservedRange in that it
- * is inclusive such that it can appropriately represent the entire int32
- * domain.
- *
- * Generated from protobuf message <code>google.protobuf.EnumDescriptorProto.EnumReservedRange</code>
- */
-class EnumReservedRange extends \Google\Protobuf\Internal\Message
-{
- /**
- * Inclusive.
- *
- * Generated from protobuf field <code>optional int32 start = 1;</code>
- */
- protected $start = null;
- /**
- * Inclusive.
- *
- * Generated from protobuf field <code>optional int32 end = 2;</code>
- */
- 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 <code>optional int32 start = 1;</code>
- * @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 <code>optional int32 start = 1;</code>
- * @param int $var
- * @return $this
- */
- public function setStart($var)
- {
- GPBUtil::checkInt32($var);
- $this->start = $var;
-
- return $this;
- }
-
- /**
- * Inclusive.
- *
- * Generated from protobuf field <code>optional int32 end = 2;</code>
- * @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 <code>optional int32 end = 2;</code>
- * @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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: google/protobuf/descriptor.proto
-
-namespace Google\Protobuf\Internal;
-
-if (false) {
- /**
- * This class is deprecated. Use Google\Protobuf\Internal\EnumDescriptorProto\EnumReservedRange instead.
- * @deprecated
- */
- class EnumDescriptorProto_EnumReservedRange {}
-}
-class_exists(EnumDescriptorProto\EnumReservedRange::class);
-@trigger_error('Google\Protobuf\Internal\EnumDescriptorProto_EnumReservedRange is deprecated and will be removed in the next major release. Use Google\Protobuf\Internal\EnumDescriptorProto\EnumReservedRange instead', E_USER_DEPRECATED);
-
diff --git a/vendor/google/protobuf/src/Google/Protobuf/Internal/EnumOptions.php b/vendor/google/protobuf/src/Google/Protobuf/Internal/EnumOptions.php
deleted file mode 100644
index 6146a6a3b..000000000
--- a/vendor/google/protobuf/src/Google/Protobuf/Internal/EnumOptions.php
+++ /dev/null
@@ -1,242 +0,0 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: google/protobuf/descriptor.proto
-
-namespace Google\Protobuf\Internal;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\GPBWire;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\InputStream;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * Generated from protobuf message <code>google.protobuf.EnumOptions</code>
- */
-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 <code>optional bool allow_alias = 2;</code>
- */
- 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 <code>optional bool deprecated = 3 [default = false];</code>
- */
- 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 <code>optional bool deprecated_legacy_json_field_conflicts = 6 [deprecated = true];</code>
- * @deprecated
- */
- protected $deprecated_legacy_json_field_conflicts = null;
- /**
- * The parser stores options it doesn't recognize here. See above.
- *
- * Generated from protobuf field <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code>
- */
- 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 <code>optional bool allow_alias = 2;</code>
- * @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 <code>optional bool allow_alias = 2;</code>
- * @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 <code>optional bool deprecated = 3 [default = false];</code>
- * @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 <code>optional bool deprecated = 3 [default = false];</code>
- * @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 <code>optional bool deprecated_legacy_json_field_conflicts = 6 [deprecated = true];</code>
- * @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 <code>optional bool deprecated_legacy_json_field_conflicts = 6 [deprecated = true];</code>
- * @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 <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code>
- * @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 <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code>
- * @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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: google/protobuf/descriptor.proto
-
-namespace Google\Protobuf\Internal;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\GPBWire;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\InputStream;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * Describes a value within an enum.
- *
- * Generated from protobuf message <code>google.protobuf.EnumValueDescriptorProto</code>
- */
-class EnumValueDescriptorProto extends \Google\Protobuf\Internal\Message
-{
- /**
- * Generated from protobuf field <code>optional string name = 1;</code>
- */
- protected $name = null;
- /**
- * Generated from protobuf field <code>optional int32 number = 2;</code>
- */
- protected $number = null;
- /**
- * Generated from protobuf field <code>optional .google.protobuf.EnumValueOptions options = 3;</code>
- */
- 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 <code>optional string name = 1;</code>
- * @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 <code>optional string name = 1;</code>
- * @param string $var
- * @return $this
- */
- public function setName($var)
- {
- GPBUtil::checkString($var, True);
- $this->name = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field <code>optional int32 number = 2;</code>
- * @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 <code>optional int32 number = 2;</code>
- * @param int $var
- * @return $this
- */
- public function setNumber($var)
- {
- GPBUtil::checkInt32($var);
- $this->number = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field <code>optional .google.protobuf.EnumValueOptions options = 3;</code>
- * @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 <code>optional .google.protobuf.EnumValueOptions options = 3;</code>
- * @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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: google/protobuf/descriptor.proto
-
-namespace Google\Protobuf\Internal;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\GPBWire;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\InputStream;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * Generated from protobuf message <code>google.protobuf.EnumValueOptions</code>
- */
-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 <code>optional bool deprecated = 1 [default = false];</code>
- */
- protected $deprecated = null;
- /**
- * The parser stores options it doesn't recognize here. See above.
- *
- * Generated from protobuf field <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code>
- */
- 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 <code>optional bool deprecated = 1 [default = false];</code>
- * @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 <code>optional bool deprecated = 1 [default = false];</code>
- * @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 <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code>
- * @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 <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code>
- * @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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: google/protobuf/descriptor.proto
-
-namespace Google\Protobuf\Internal;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\GPBWire;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\InputStream;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * Generated from protobuf message <code>google.protobuf.ExtensionRangeOptions</code>
- */
-class ExtensionRangeOptions extends \Google\Protobuf\Internal\Message
-{
- /**
- * The parser stores options it doesn't recognize here. See above.
- *
- * Generated from protobuf field <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code>
- */
- 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 <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code>
- * @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 <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code>
- * @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 @@
-<?php
-
-// Protocol Buffers - Google's data interchange format
-// Copyright 2008 Google Inc. All rights reserved.
-// https://developers.google.com/protocol-buffers/
-//
-// 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 Google Inc. 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
-// OWNER 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.
-
-namespace Google\Protobuf\Internal;
-
-class FieldDescriptor
-{
- use HasPublicDescriptorTrait;
-
- private $name;
- private $json_name;
- private $setter;
- private $getter;
- private $number;
- private $label;
- private $type;
- private $message_type;
- private $enum_type;
- private $packed;
- private $oneof_index = -1;
- private $proto3_optional;
-
- /** @var OneofDescriptor $containing_oneof */
- private $containing_oneof;
-
- public function __construct()
- {
- $this->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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: google/protobuf/descriptor.proto
-
-namespace Google\Protobuf\Internal;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\GPBWire;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\InputStream;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * Describes a field within a message.
- *
- * Generated from protobuf message <code>google.protobuf.FieldDescriptorProto</code>
- */
-class FieldDescriptorProto extends \Google\Protobuf\Internal\Message
-{
- /**
- * Generated from protobuf field <code>optional string name = 1;</code>
- */
- protected $name = null;
- /**
- * Generated from protobuf field <code>optional int32 number = 3;</code>
- */
- protected $number = null;
- /**
- * Generated from protobuf field <code>optional .google.protobuf.FieldDescriptorProto.Label label = 4;</code>
- */
- 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 <code>optional .google.protobuf.FieldDescriptorProto.Type type = 5;</code>
- */
- 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 <code>optional string type_name = 6;</code>
- */
- 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 <code>optional string extendee = 2;</code>
- */
- 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 <code>optional string default_value = 7;</code>
- */
- 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 <code>optional int32 oneof_index = 9;</code>
- */
- 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 <code>optional string json_name = 10;</code>
- */
- protected $json_name = null;
- /**
- * Generated from protobuf field <code>optional .google.protobuf.FieldOptions options = 8;</code>
- */
- 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 <code>optional bool proto3_optional = 17;</code>
- */
- 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 <code>optional string name = 1;</code>
- * @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 <code>optional string name = 1;</code>
- * @param string $var
- * @return $this
- */
- public function setName($var)
- {
- GPBUtil::checkString($var, True);
- $this->name = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field <code>optional int32 number = 3;</code>
- * @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 <code>optional int32 number = 3;</code>
- * @param int $var
- * @return $this
- */
- public function setNumber($var)
- {
- GPBUtil::checkInt32($var);
- $this->number = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field <code>optional .google.protobuf.FieldDescriptorProto.Label label = 4;</code>
- * @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 <code>optional .google.protobuf.FieldDescriptorProto.Label label = 4;</code>
- * @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 <code>optional .google.protobuf.FieldDescriptorProto.Type type = 5;</code>
- * @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 <code>optional .google.protobuf.FieldDescriptorProto.Type type = 5;</code>
- * @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 <code>optional string type_name = 6;</code>
- * @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 <code>optional string type_name = 6;</code>
- * @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 <code>optional string extendee = 2;</code>
- * @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 <code>optional string extendee = 2;</code>
- * @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 <code>optional string default_value = 7;</code>
- * @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 <code>optional string default_value = 7;</code>
- * @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 <code>optional int32 oneof_index = 9;</code>
- * @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 <code>optional int32 oneof_index = 9;</code>
- * @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 <code>optional string json_name = 10;</code>
- * @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 <code>optional string json_name = 10;</code>
- * @param string $var
- * @return $this
- */
- public function setJsonName($var)
- {
- GPBUtil::checkString($var, True);
- $this->json_name = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field <code>optional .google.protobuf.FieldOptions options = 8;</code>
- * @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 <code>optional .google.protobuf.FieldOptions options = 8;</code>
- * @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 <code>optional bool proto3_optional = 17;</code>
- * @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 <code>optional bool proto3_optional = 17;</code>
- * @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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: google/protobuf/descriptor.proto
-
-namespace Google\Protobuf\Internal\FieldDescriptorProto;
-
-use UnexpectedValueException;
-
-/**
- * Protobuf type <code>google.protobuf.FieldDescriptorProto.Label</code>
- */
-class Label
-{
- /**
- * 0 is reserved for errors
- *
- * Generated from protobuf enum <code>LABEL_OPTIONAL = 1;</code>
- */
- const LABEL_OPTIONAL = 1;
- /**
- * Generated from protobuf enum <code>LABEL_REQUIRED = 2;</code>
- */
- const LABEL_REQUIRED = 2;
- /**
- * Generated from protobuf enum <code>LABEL_REPEATED = 3;</code>
- */
- 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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: google/protobuf/descriptor.proto
-
-namespace Google\Protobuf\Internal\FieldDescriptorProto;
-
-use UnexpectedValueException;
-
-/**
- * Protobuf type <code>google.protobuf.FieldDescriptorProto.Type</code>
- */
-class Type
-{
- /**
- * 0 is reserved for errors.
- * Order is weird for historical reasons.
- *
- * Generated from protobuf enum <code>TYPE_DOUBLE = 1;</code>
- */
- const TYPE_DOUBLE = 1;
- /**
- * Generated from protobuf enum <code>TYPE_FLOAT = 2;</code>
- */
- const TYPE_FLOAT = 2;
- /**
- * Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT64 if
- * negative values are likely.
- *
- * Generated from protobuf enum <code>TYPE_INT64 = 3;</code>
- */
- const TYPE_INT64 = 3;
- /**
- * Generated from protobuf enum <code>TYPE_UINT64 = 4;</code>
- */
- const TYPE_UINT64 = 4;
- /**
- * Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT32 if
- * negative values are likely.
- *
- * Generated from protobuf enum <code>TYPE_INT32 = 5;</code>
- */
- const TYPE_INT32 = 5;
- /**
- * Generated from protobuf enum <code>TYPE_FIXED64 = 6;</code>
- */
- const TYPE_FIXED64 = 6;
- /**
- * Generated from protobuf enum <code>TYPE_FIXED32 = 7;</code>
- */
- const TYPE_FIXED32 = 7;
- /**
- * Generated from protobuf enum <code>TYPE_BOOL = 8;</code>
- */
- const TYPE_BOOL = 8;
- /**
- * Generated from protobuf enum <code>TYPE_STRING = 9;</code>
- */
- 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 <code>TYPE_GROUP = 10;</code>
- */
- const TYPE_GROUP = 10;
- /**
- * Length-delimited aggregate.
- *
- * Generated from protobuf enum <code>TYPE_MESSAGE = 11;</code>
- */
- const TYPE_MESSAGE = 11;
- /**
- * New in version 2.
- *
- * Generated from protobuf enum <code>TYPE_BYTES = 12;</code>
- */
- const TYPE_BYTES = 12;
- /**
- * Generated from protobuf enum <code>TYPE_UINT32 = 13;</code>
- */
- const TYPE_UINT32 = 13;
- /**
- * Generated from protobuf enum <code>TYPE_ENUM = 14;</code>
- */
- const TYPE_ENUM = 14;
- /**
- * Generated from protobuf enum <code>TYPE_SFIXED32 = 15;</code>
- */
- const TYPE_SFIXED32 = 15;
- /**
- * Generated from protobuf enum <code>TYPE_SFIXED64 = 16;</code>
- */
- const TYPE_SFIXED64 = 16;
- /**
- * Uses ZigZag encoding.
- *
- * Generated from protobuf enum <code>TYPE_SINT32 = 17;</code>
- */
- const TYPE_SINT32 = 17;
- /**
- * Uses ZigZag encoding.
- *
- * Generated from protobuf enum <code>TYPE_SINT64 = 18;</code>
- */
- 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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: google/protobuf/descriptor.proto
-
-namespace Google\Protobuf\Internal;
-
-if (false) {
- /**
- * This class is deprecated. Use Google\Protobuf\Internal\FieldDescriptorProto\Label instead.
- * @deprecated
- */
- class FieldDescriptorProto_Label {}
-}
-class_exists(FieldDescriptorProto\Label::class);
-@trigger_error('Google\Protobuf\Internal\FieldDescriptorProto_Label is deprecated and will be removed in the next major release. Use Google\Protobuf\Internal\FieldDescriptorProto\Label instead', E_USER_DEPRECATED);
-
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 fd8d449a5..000000000
--- a/vendor/google/protobuf/src/Google/Protobuf/Internal/FieldDescriptorProto_Type.php
+++ /dev/null
@@ -1,16 +0,0 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: google/protobuf/descriptor.proto
-
-namespace Google\Protobuf\Internal;
-
-if (false) {
- /**
- * This class is deprecated. Use Google\Protobuf\Internal\FieldDescriptorProto\Type instead.
- * @deprecated
- */
- class FieldDescriptorProto_Type {}
-}
-class_exists(FieldDescriptorProto\Type::class);
-@trigger_error('Google\Protobuf\Internal\FieldDescriptorProto_Type is deprecated and will be removed in the next major release. Use Google\Protobuf\Internal\FieldDescriptorProto\Type instead', E_USER_DEPRECATED);
-
diff --git a/vendor/google/protobuf/src/Google/Protobuf/Internal/FieldOptions.php b/vendor/google/protobuf/src/Google/Protobuf/Internal/FieldOptions.php
deleted file mode 100644
index ea32e7f2a..000000000
--- a/vendor/google/protobuf/src/Google/Protobuf/Internal/FieldOptions.php
+++ /dev/null
@@ -1,559 +0,0 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: google/protobuf/descriptor.proto
-
-namespace Google\Protobuf\Internal;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\GPBWire;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\InputStream;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * Generated from protobuf message <code>google.protobuf.FieldOptions</code>
- */
-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 <code>optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING];</code>
- */
- 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 <code>optional bool packed = 2;</code>
- */
- 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 <code>optional .google.protobuf.FieldOptions.JSType jstype = 6 [default = JS_NORMAL];</code>
- */
- 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 <code>optional bool lazy = 5 [default = false];</code>
- */
- 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 <code>optional bool unverified_lazy = 15 [default = false];</code>
- */
- 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 <code>optional bool deprecated = 3 [default = false];</code>
- */
- protected $deprecated = null;
- /**
- * For Google-internal migration only. Do not use.
- *
- * Generated from protobuf field <code>optional bool weak = 10 [default = false];</code>
- */
- protected $weak = null;
- /**
- * The parser stores options it doesn't recognize here. See above.
- *
- * Generated from protobuf field <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code>
- */
- 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 <code>optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING];</code>
- * @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 <code>optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING];</code>
- * @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 <code>optional bool packed = 2;</code>
- * @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 <code>optional bool packed = 2;</code>
- * @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 <code>optional .google.protobuf.FieldOptions.JSType jstype = 6 [default = JS_NORMAL];</code>
- * @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 <code>optional .google.protobuf.FieldOptions.JSType jstype = 6 [default = JS_NORMAL];</code>
- * @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 <code>optional bool lazy = 5 [default = false];</code>
- * @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 <code>optional bool lazy = 5 [default = false];</code>
- * @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 <code>optional bool unverified_lazy = 15 [default = false];</code>
- * @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 <code>optional bool unverified_lazy = 15 [default = false];</code>
- * @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 <code>optional bool deprecated = 3 [default = false];</code>
- * @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 <code>optional bool deprecated = 3 [default = false];</code>
- * @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 <code>optional bool weak = 10 [default = false];</code>
- * @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 <code>optional bool weak = 10 [default = false];</code>
- * @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 <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code>
- * @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 <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code>
- * @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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: google/protobuf/descriptor.proto
-
-namespace Google\Protobuf\Internal\FieldOptions;
-
-use UnexpectedValueException;
-
-/**
- * Protobuf type <code>google.protobuf.FieldOptions.CType</code>
- */
-class CType
-{
- /**
- * Default mode.
- *
- * Generated from protobuf enum <code>STRING = 0;</code>
- */
- const STRING = 0;
- /**
- * Generated from protobuf enum <code>CORD = 1;</code>
- */
- const CORD = 1;
- /**
- * Generated from protobuf enum <code>STRING_PIECE = 2;</code>
- */
- 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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: google/protobuf/descriptor.proto
-
-namespace Google\Protobuf\Internal\FieldOptions;
-
-use UnexpectedValueException;
-
-/**
- * Protobuf type <code>google.protobuf.FieldOptions.JSType</code>
- */
-class JSType
-{
- /**
- * Use the default type.
- *
- * Generated from protobuf enum <code>JS_NORMAL = 0;</code>
- */
- const JS_NORMAL = 0;
- /**
- * Use JavaScript strings.
- *
- * Generated from protobuf enum <code>JS_STRING = 1;</code>
- */
- const JS_STRING = 1;
- /**
- * Use JavaScript numbers.
- *
- * Generated from protobuf enum <code>JS_NUMBER = 2;</code>
- */
- 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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: google/protobuf/descriptor.proto
-
-namespace Google\Protobuf\Internal;
-
-if (false) {
- /**
- * This class is deprecated. Use Google\Protobuf\Internal\FieldOptions\CType instead.
- * @deprecated
- */
- class FieldOptions_CType {}
-}
-class_exists(FieldOptions\CType::class);
-@trigger_error('Google\Protobuf\Internal\FieldOptions_CType is deprecated and will be removed in the next major release. Use Google\Protobuf\Internal\FieldOptions\CType instead', E_USER_DEPRECATED);
-
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 9db078222..000000000
--- a/vendor/google/protobuf/src/Google/Protobuf/Internal/FieldOptions_JSType.php
+++ /dev/null
@@ -1,16 +0,0 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: google/protobuf/descriptor.proto
-
-namespace Google\Protobuf\Internal;
-
-if (false) {
- /**
- * This class is deprecated. Use Google\Protobuf\Internal\FieldOptions\JSType instead.
- * @deprecated
- */
- class FieldOptions_JSType {}
-}
-class_exists(FieldOptions\JSType::class);
-@trigger_error('Google\Protobuf\Internal\FieldOptions_JSType is deprecated and will be removed in the next major release. Use Google\Protobuf\Internal\FieldOptions\JSType instead', E_USER_DEPRECATED);
-
diff --git a/vendor/google/protobuf/src/Google/Protobuf/Internal/FileDescriptor.php b/vendor/google/protobuf/src/Google/Protobuf/Internal/FileDescriptor.php
deleted file mode 100644
index 038da38cf..000000000
--- a/vendor/google/protobuf/src/Google/Protobuf/Internal/FileDescriptor.php
+++ /dev/null
@@ -1,89 +0,0 @@
-<?php
-
-// Protocol Buffers - Google's data interchange format
-// Copyright 2008 Google Inc. All rights reserved.
-// https://developers.google.com/protocol-buffers/
-//
-// 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 Google Inc. 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
-// OWNER 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.
-
-namespace Google\Protobuf\Internal;
-
-class FileDescriptor
-{
-
- private $package;
- private $message_type = [];
- private $enum_type = [];
-
- public function setPackage($package)
- {
- $this->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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: google/protobuf/descriptor.proto
-
-namespace Google\Protobuf\Internal;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\GPBWire;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\InputStream;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * Describes a complete .proto file.
- *
- * Generated from protobuf message <code>google.protobuf.FileDescriptorProto</code>
- */
-class FileDescriptorProto extends \Google\Protobuf\Internal\Message
-{
- /**
- * file name, relative to root of source tree
- *
- * Generated from protobuf field <code>optional string name = 1;</code>
- */
- protected $name = null;
- /**
- * e.g. "foo", "foo.bar", etc.
- *
- * Generated from protobuf field <code>optional string package = 2;</code>
- */
- protected $package = null;
- /**
- * Names of files imported by this file.
- *
- * Generated from protobuf field <code>repeated string dependency = 3;</code>
- */
- private $dependency;
- /**
- * Indexes of the public imported files in the dependency list above.
- *
- * Generated from protobuf field <code>repeated int32 public_dependency = 10;</code>
- */
- 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 <code>repeated int32 weak_dependency = 11;</code>
- */
- private $weak_dependency;
- /**
- * All top-level definitions in this file.
- *
- * Generated from protobuf field <code>repeated .google.protobuf.DescriptorProto message_type = 4;</code>
- */
- private $message_type;
- /**
- * Generated from protobuf field <code>repeated .google.protobuf.EnumDescriptorProto enum_type = 5;</code>
- */
- private $enum_type;
- /**
- * Generated from protobuf field <code>repeated .google.protobuf.ServiceDescriptorProto service = 6;</code>
- */
- private $service;
- /**
- * Generated from protobuf field <code>repeated .google.protobuf.FieldDescriptorProto extension = 7;</code>
- */
- private $extension;
- /**
- * Generated from protobuf field <code>optional .google.protobuf.FileOptions options = 8;</code>
- */
- 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 <code>optional .google.protobuf.SourceCodeInfo source_code_info = 9;</code>
- */
- 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 <code>optional string syntax = 12;</code>
- */
- protected $syntax = null;
- /**
- * The edition of the proto file, which is an opaque string.
- *
- * Generated from protobuf field <code>optional string edition = 13;</code>
- */
- 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<string>|\Google\Protobuf\Internal\RepeatedField $dependency
- * Names of files imported by this file.
- * @type array<int>|\Google\Protobuf\Internal\RepeatedField $public_dependency
- * Indexes of the public imported files in the dependency list above.
- * @type array<int>|\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 <code>optional string name = 1;</code>
- * @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 <code>optional string name = 1;</code>
- * @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 <code>optional string package = 2;</code>
- * @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 <code>optional string package = 2;</code>
- * @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 <code>repeated string dependency = 3;</code>
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getDependency()
- {
- return $this->dependency;
- }
-
- /**
- * Names of files imported by this file.
- *
- * Generated from protobuf field <code>repeated string dependency = 3;</code>
- * @param array<string>|\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 <code>repeated int32 public_dependency = 10;</code>
- * @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 <code>repeated int32 public_dependency = 10;</code>
- * @param array<int>|\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 <code>repeated int32 weak_dependency = 11;</code>
- * @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 <code>repeated int32 weak_dependency = 11;</code>
- * @param array<int>|\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 <code>repeated .google.protobuf.DescriptorProto message_type = 4;</code>
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getMessageType()
- {
- return $this->message_type;
- }
-
- /**
- * All top-level definitions in this file.
- *
- * Generated from protobuf field <code>repeated .google.protobuf.DescriptorProto message_type = 4;</code>
- * @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 <code>repeated .google.protobuf.EnumDescriptorProto enum_type = 5;</code>
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getEnumType()
- {
- return $this->enum_type;
- }
-
- /**
- * Generated from protobuf field <code>repeated .google.protobuf.EnumDescriptorProto enum_type = 5;</code>
- * @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 <code>repeated .google.protobuf.ServiceDescriptorProto service = 6;</code>
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getService()
- {
- return $this->service;
- }
-
- /**
- * Generated from protobuf field <code>repeated .google.protobuf.ServiceDescriptorProto service = 6;</code>
- * @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 <code>repeated .google.protobuf.FieldDescriptorProto extension = 7;</code>
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getExtension()
- {
- return $this->extension;
- }
-
- /**
- * Generated from protobuf field <code>repeated .google.protobuf.FieldDescriptorProto extension = 7;</code>
- * @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 <code>optional .google.protobuf.FileOptions options = 8;</code>
- * @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 <code>optional .google.protobuf.FileOptions options = 8;</code>
- * @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 <code>optional .google.protobuf.SourceCodeInfo source_code_info = 9;</code>
- * @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 <code>optional .google.protobuf.SourceCodeInfo source_code_info = 9;</code>
- * @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 <code>optional string syntax = 12;</code>
- * @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 <code>optional string syntax = 12;</code>
- * @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 <code>optional string edition = 13;</code>
- * @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 <code>optional string edition = 13;</code>
- * @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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: google/protobuf/descriptor.proto
-
-namespace Google\Protobuf\Internal;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\GPBWire;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\InputStream;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * The protocol compiler can output a FileDescriptorSet containing the .proto
- * files it parses.
- *
- * Generated from protobuf message <code>google.protobuf.FileDescriptorSet</code>
- */
-class FileDescriptorSet extends \Google\Protobuf\Internal\Message
-{
- /**
- * Generated from protobuf field <code>repeated .google.protobuf.FileDescriptorProto file = 1;</code>
- */
- 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 <code>repeated .google.protobuf.FileDescriptorProto file = 1;</code>
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getFile()
- {
- return $this->file;
- }
-
- /**
- * Generated from protobuf field <code>repeated .google.protobuf.FileDescriptorProto file = 1;</code>
- * @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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: google/protobuf/descriptor.proto
-
-namespace Google\Protobuf\Internal;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\GPBWire;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\InputStream;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * Generated from protobuf message <code>google.protobuf.FileOptions</code>
- */
-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 <code>optional string java_package = 1;</code>
- */
- 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 <code>optional string java_outer_classname = 8;</code>
- */
- 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 <code>optional bool java_multiple_files = 10 [default = false];</code>
- */
- protected $java_multiple_files = null;
- /**
- * This option does nothing.
- *
- * Generated from protobuf field <code>optional bool java_generate_equals_and_hash = 20 [deprecated = true];</code>
- * @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 <code>optional bool java_string_check_utf8 = 27 [default = false];</code>
- */
- protected $java_string_check_utf8 = null;
- /**
- * Generated from protobuf field <code>optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED];</code>
- */
- 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 <code>optional string go_package = 11;</code>
- */
- 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 <code>optional bool cc_generic_services = 16 [default = false];</code>
- */
- protected $cc_generic_services = null;
- /**
- * Generated from protobuf field <code>optional bool java_generic_services = 17 [default = false];</code>
- */
- protected $java_generic_services = null;
- /**
- * Generated from protobuf field <code>optional bool py_generic_services = 18 [default = false];</code>
- */
- protected $py_generic_services = null;
- /**
- * Generated from protobuf field <code>optional bool php_generic_services = 42 [default = false];</code>
- */
- 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 <code>optional bool deprecated = 23 [default = false];</code>
- */
- 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 <code>optional bool cc_enable_arenas = 31 [default = true];</code>
- */
- 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 <code>optional string objc_class_prefix = 36;</code>
- */
- protected $objc_class_prefix = null;
- /**
- * Namespace for generated classes; defaults to the package.
- *
- * Generated from protobuf field <code>optional string csharp_namespace = 37;</code>
- */
- 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 <code>optional string swift_prefix = 39;</code>
- */
- 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 <code>optional string php_class_prefix = 40;</code>
- */
- 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 <code>optional string php_namespace = 41;</code>
- */
- 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 <code>optional string php_metadata_namespace = 44;</code>
- */
- 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 <code>optional string ruby_package = 45;</code>
- */
- 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 <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code>
- */
- 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 <code>optional string java_package = 1;</code>
- * @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 <code>optional string java_package = 1;</code>
- * @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 <code>optional string java_outer_classname = 8;</code>
- * @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 <code>optional string java_outer_classname = 8;</code>
- * @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 <code>optional bool java_multiple_files = 10 [default = false];</code>
- * @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 <code>optional bool java_multiple_files = 10 [default = false];</code>
- * @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 <code>optional bool java_generate_equals_and_hash = 20 [deprecated = true];</code>
- * @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 <code>optional bool java_generate_equals_and_hash = 20 [deprecated = true];</code>
- * @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 <code>optional bool java_string_check_utf8 = 27 [default = false];</code>
- * @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 <code>optional bool java_string_check_utf8 = 27 [default = false];</code>
- * @param bool $var
- * @return $this
- */
- public function setJavaStringCheckUtf8($var)
- {
- GPBUtil::checkBool($var);
- $this->java_string_check_utf8 = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field <code>optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED];</code>
- * @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 <code>optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED];</code>
- * @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 <code>optional string go_package = 11;</code>
- * @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 <code>optional string go_package = 11;</code>
- * @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 <code>optional bool cc_generic_services = 16 [default = false];</code>
- * @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 <code>optional bool cc_generic_services = 16 [default = false];</code>
- * @param bool $var
- * @return $this
- */
- public function setCcGenericServices($var)
- {
- GPBUtil::checkBool($var);
- $this->cc_generic_services = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field <code>optional bool java_generic_services = 17 [default = false];</code>
- * @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 <code>optional bool java_generic_services = 17 [default = false];</code>
- * @param bool $var
- * @return $this
- */
- public function setJavaGenericServices($var)
- {
- GPBUtil::checkBool($var);
- $this->java_generic_services = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field <code>optional bool py_generic_services = 18 [default = false];</code>
- * @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 <code>optional bool py_generic_services = 18 [default = false];</code>
- * @param bool $var
- * @return $this
- */
- public function setPyGenericServices($var)
- {
- GPBUtil::checkBool($var);
- $this->py_generic_services = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field <code>optional bool php_generic_services = 42 [default = false];</code>
- * @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 <code>optional bool php_generic_services = 42 [default = false];</code>
- * @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 <code>optional bool deprecated = 23 [default = false];</code>
- * @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 <code>optional bool deprecated = 23 [default = false];</code>
- * @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 <code>optional bool cc_enable_arenas = 31 [default = true];</code>
- * @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 <code>optional bool cc_enable_arenas = 31 [default = true];</code>
- * @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 <code>optional string objc_class_prefix = 36;</code>
- * @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 <code>optional string objc_class_prefix = 36;</code>
- * @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 <code>optional string csharp_namespace = 37;</code>
- * @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 <code>optional string csharp_namespace = 37;</code>
- * @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 <code>optional string swift_prefix = 39;</code>
- * @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 <code>optional string swift_prefix = 39;</code>
- * @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 <code>optional string php_class_prefix = 40;</code>
- * @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 <code>optional string php_class_prefix = 40;</code>
- * @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 <code>optional string php_namespace = 41;</code>
- * @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 <code>optional string php_namespace = 41;</code>
- * @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 <code>optional string php_metadata_namespace = 44;</code>
- * @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 <code>optional string php_metadata_namespace = 44;</code>
- * @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 <code>optional string ruby_package = 45;</code>
- * @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 <code>optional string ruby_package = 45;</code>
- * @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 <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code>
- * @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 <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code>
- * @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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: google/protobuf/descriptor.proto
-
-namespace Google\Protobuf\Internal\FileOptions;
-
-use UnexpectedValueException;
-
-/**
- * Generated classes can be optimized for speed or code size.
- *
- * Protobuf type <code>google.protobuf.FileOptions.OptimizeMode</code>
- */
-class OptimizeMode
-{
- /**
- * Generate complete code for parsing, serialization,
- *
- * Generated from protobuf enum <code>SPEED = 1;</code>
- */
- const SPEED = 1;
- /**
- * etc.
- *
- * Generated from protobuf enum <code>CODE_SIZE = 2;</code>
- */
- const CODE_SIZE = 2;
- /**
- * Generate code using MessageLite and the lite runtime.
- *
- * Generated from protobuf enum <code>LITE_RUNTIME = 3;</code>
- */
- 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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: google/protobuf/descriptor.proto
-
-namespace Google\Protobuf\Internal;
-
-if (false) {
- /**
- * This class is deprecated. Use Google\Protobuf\Internal\FileOptions\OptimizeMode instead.
- * @deprecated
- */
- class FileOptions_OptimizeMode {}
-}
-class_exists(FileOptions\OptimizeMode::class);
-@trigger_error('Google\Protobuf\Internal\FileOptions_OptimizeMode is deprecated and will be removed in the next major release. Use Google\Protobuf\Internal\FileOptions\OptimizeMode instead', E_USER_DEPRECATED);
-
diff --git a/vendor/google/protobuf/src/Google/Protobuf/Internal/GPBDecodeException.php b/vendor/google/protobuf/src/Google/Protobuf/Internal/GPBDecodeException.php
deleted file mode 100644
index 402d542f3..000000000
--- a/vendor/google/protobuf/src/Google/Protobuf/Internal/GPBDecodeException.php
+++ /dev/null
@@ -1,47 +0,0 @@
-<?php
-
-// Protocol Buffers - Google's data interchange format
-// Copyright 2008 Google Inc. All rights reserved.
-// https://developers.google.com/protocol-buffers/
-//
-// 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 Google Inc. 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
-// OWNER 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.
-
-namespace Google\Protobuf\Internal;
-
-class GPBDecodeException extends \Exception
-{
- public function __construct(
- $message,
- $code = 0,
- \Exception $previous = null)
- {
- parent::__construct(
- "Error occurred during parsing: " . $message,
- $code,
- $previous);
- }
-}
diff --git a/vendor/google/protobuf/src/Google/Protobuf/Internal/GPBJsonWire.php b/vendor/google/protobuf/src/Google/Protobuf/Internal/GPBJsonWire.php
deleted file mode 100644
index 43f4745dd..000000000
--- a/vendor/google/protobuf/src/Google/Protobuf/Internal/GPBJsonWire.php
+++ /dev/null
@@ -1,304 +0,0 @@
-<?php
-
-// Protocol Buffers - Google's data interchange format
-// Copyright 2008 Google Inc. All rights reserved.
-// https://developers.google.com/protocol-buffers/
-//
-// 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 Google Inc. 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
-// OWNER 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.
-
-namespace Google\Protobuf\Internal;
-
-class GPBJsonWire
-{
-
- public static function serializeFieldToStream(
- $value,
- $field,
- &$output, $has_field_name = true)
- {
- if ($has_field_name) {
- $output->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 @@
-<?php
-
-// Protocol Buffers - Google's data interchange format
-// Copyright 2008 Google Inc. All rights reserved.
-// https://developers.google.com/protocol-buffers/
-//
-// 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 Google Inc. 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
-// OWNER 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.
-
-namespace Google\Protobuf\Internal;
-
-class GPBLabel
-{
- const OPTIONAL = 1;
- const REQUIRED = 2;
- const REPEATED = 3;
-}
diff --git a/vendor/google/protobuf/src/Google/Protobuf/Internal/GPBType.php b/vendor/google/protobuf/src/Google/Protobuf/Internal/GPBType.php
deleted file mode 100644
index fa849ceb0..000000000
--- a/vendor/google/protobuf/src/Google/Protobuf/Internal/GPBType.php
+++ /dev/null
@@ -1,55 +0,0 @@
-<?php
-
-// Protocol Buffers - Google's data interchange format
-// Copyright 2008 Google Inc. All rights reserved.
-// https://developers.google.com/protocol-buffers/
-//
-// 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 Google Inc. 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
-// OWNER 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.
-
-namespace Google\Protobuf\Internal;
-
-class GPBType
-{
- const DOUBLE = 1;
- const FLOAT = 2;
- const INT64 = 3;
- const UINT64 = 4;
- const INT32 = 5;
- const FIXED64 = 6;
- const FIXED32 = 7;
- const BOOL = 8;
- const STRING = 9;
- const GROUP = 10;
- const MESSAGE = 11;
- const BYTES = 12;
- const UINT32 = 13;
- const ENUM = 14;
- const SFIXED32 = 15;
- const SFIXED64 = 16;
- const SINT32 = 17;
- const SINT64 = 18;
-}
diff --git a/vendor/google/protobuf/src/Google/Protobuf/Internal/GPBUtil.php b/vendor/google/protobuf/src/Google/Protobuf/Internal/GPBUtil.php
deleted file mode 100644
index ffea90083..000000000
--- a/vendor/google/protobuf/src/Google/Protobuf/Internal/GPBUtil.php
+++ /dev/null
@@ -1,663 +0,0 @@
-<?php
-
-// Protocol Buffers - Google's data interchange format
-// Copyright 2008 Google Inc. All rights reserved.
-// https://developers.google.com/protocol-buffers/
-//
-// 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 Google Inc. 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
-// OWNER 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.
-
-namespace Google\Protobuf\Internal;
-
-use Google\Protobuf\Duration;
-use Google\Protobuf\FieldMask;
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\MapField;
-use function bccomp;
-
-function camel2underscore($input) {
- preg_match_all(
- '!([A-Z][A-Z0-9]*(?=$|[A-Z][a-z0-9])|[A-Za-z][a-z0-9]+)!',
- $input,
- $matches);
- $ret = $matches[0];
- foreach ($ret as &$match) {
- $match = $match == strtoupper($match) ? strtolower($match) : lcfirst($match);
- }
- return implode('_', $ret);
-}
-
-class GPBUtil
-{
- const NANOS_PER_MILLISECOND = 1000000;
- const NANOS_PER_MICROSECOND = 1000;
- const TYPE_URL_PREFIX = 'type.googleapis.com/';
-
- public static function divideInt64ToInt32($value, &$high, &$low, $trim = false)
- {
- $isNeg = (bccomp($value, 0) < 0);
- if ($isNeg) {
- $value = bcsub(0, $value);
- }
-
- $high = bcdiv($value, 4294967296);
- $low = bcmod($value, 4294967296);
- if (bccomp($high, 2147483647) > 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 @@
-<?php
-
-// Protocol Buffers - Google's data interchange format
-// Copyright 2008 Google Inc. All rights reserved.
-// https://developers.google.com/protocol-buffers/
-//
-// 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 Google Inc. 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
-// OWNER 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.
-
-namespace Google\Protobuf\Internal;
-
-class GPBWire
-{
-
- const TAG_TYPE_BITS = 3;
-
- const WIRETYPE_VARINT = 0;
- const WIRETYPE_FIXED64 = 1;
- const WIRETYPE_LENGTH_DELIMITED = 2;
- const WIRETYPE_START_GROUP = 3;
- const WIRETYPE_END_GROUP = 4;
- const WIRETYPE_FIXED32 = 5;
-
- const UNKNOWN = 0;
- const NORMAL_FORMAT = 1;
- const PACKED_FORMAT = 2;
-
- public static function getTagFieldNumber($tag)
- {
- // We have to mask because PHP has no arithmetic shift.
- return ($tag >> 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 @@
-<?php
-
-// Protocol Buffers - Google's data interchange format
-// Copyright 2008 Google Inc. All rights reserved.
-// https://developers.google.com/protocol-buffers/
-//
-// 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 Google Inc. 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
-// OWNER 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.
-
-namespace Google\Protobuf\Internal;
-
-class GPBWireType
-{
- const VARINT = 0;
- const FIXED64 = 1;
- const LENGTH_DELIMITED = 2;
- const START_GROUP = 3;
- const END_GROUP = 4;
- const FIXED32 = 5;
-}
diff --git a/vendor/google/protobuf/src/Google/Protobuf/Internal/GeneratedCodeInfo.php b/vendor/google/protobuf/src/Google/Protobuf/Internal/GeneratedCodeInfo.php
deleted file mode 100644
index a1db269bf..000000000
--- a/vendor/google/protobuf/src/Google/Protobuf/Internal/GeneratedCodeInfo.php
+++ /dev/null
@@ -1,75 +0,0 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: google/protobuf/descriptor.proto
-
-namespace Google\Protobuf\Internal;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\GPBWire;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\InputStream;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * Describes the relationship between generated code and its original source
- * file. A GeneratedCodeInfo message is associated with only one generated
- * source file, but may contain references to different source .proto files.
- *
- * Generated from protobuf message <code>google.protobuf.GeneratedCodeInfo</code>
- */
-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 <code>repeated .google.protobuf.GeneratedCodeInfo.Annotation annotation = 1;</code>
- */
- 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 <code>repeated .google.protobuf.GeneratedCodeInfo.Annotation annotation = 1;</code>
- * @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 <code>repeated .google.protobuf.GeneratedCodeInfo.Annotation annotation = 1;</code>
- * @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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: google/protobuf/descriptor.proto
-
-namespace Google\Protobuf\Internal\GeneratedCodeInfo;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\GPBWire;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\InputStream;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * Generated from protobuf message <code>google.protobuf.GeneratedCodeInfo.Annotation</code>
- */
-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 <code>repeated int32 path = 1 [packed = true];</code>
- */
- private $path;
- /**
- * Identifies the filesystem path to the original source .proto.
- *
- * Generated from protobuf field <code>optional string source_file = 2;</code>
- */
- protected $source_file = null;
- /**
- * Identifies the starting offset in bytes in the generated code
- * that relates to the identified object.
- *
- * Generated from protobuf field <code>optional int32 begin = 3;</code>
- */
- 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 <code>optional int32 end = 4;</code>
- */
- protected $end = null;
- /**
- * Generated from protobuf field <code>optional .google.protobuf.GeneratedCodeInfo.Annotation.Semantic semantic = 5;</code>
- */
- protected $semantic = null;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type array<int>|\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 <code>repeated int32 path = 1 [packed = true];</code>
- * @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 <code>repeated int32 path = 1 [packed = true];</code>
- * @param array<int>|\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 <code>optional string source_file = 2;</code>
- * @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 <code>optional string source_file = 2;</code>
- * @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 <code>optional int32 begin = 3;</code>
- * @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 <code>optional int32 begin = 3;</code>
- * @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 <code>optional int32 end = 4;</code>
- * @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 <code>optional int32 end = 4;</code>
- * @param int $var
- * @return $this
- */
- public function setEnd($var)
- {
- GPBUtil::checkInt32($var);
- $this->end = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field <code>optional .google.protobuf.GeneratedCodeInfo.Annotation.Semantic semantic = 5;</code>
- * @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 <code>optional .google.protobuf.GeneratedCodeInfo.Annotation.Semantic semantic = 5;</code>
- * @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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: google/protobuf/descriptor.proto
-
-namespace Google\Protobuf\Internal;
-
-if (false) {
- /**
- * This class is deprecated. Use Google\Protobuf\Internal\GeneratedCodeInfo\Annotation instead.
- * @deprecated
- */
- class GeneratedCodeInfo_Annotation {}
-}
-class_exists(GeneratedCodeInfo\Annotation::class);
-@trigger_error('Google\Protobuf\Internal\GeneratedCodeInfo_Annotation is deprecated and will be removed in the next major release. Use Google\Protobuf\Internal\GeneratedCodeInfo\Annotation instead', E_USER_DEPRECATED);
-
diff --git a/vendor/google/protobuf/src/Google/Protobuf/Internal/GetPublicDescriptorTrait.php b/vendor/google/protobuf/src/Google/Protobuf/Internal/GetPublicDescriptorTrait.php
deleted file mode 100644
index d22bc305b..000000000
--- a/vendor/google/protobuf/src/Google/Protobuf/Internal/GetPublicDescriptorTrait.php
+++ /dev/null
@@ -1,41 +0,0 @@
-<?php
-
-// Protocol Buffers - Google's data interchange format
-// Copyright 2017 Google Inc. All rights reserved.
-// https://developers.google.com/protocol-buffers/
-//
-// 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 Google Inc. 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
-// OWNER 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.
-
-namespace Google\Protobuf\Internal;
-
-trait GetPublicDescriptorTrait
-{
- private function getPublicDescriptor($desc)
- {
- return is_null($desc) ? null : $desc->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 @@
-<?php
-
-// Protocol Buffers - Google's data interchange format
-// Copyright 2008 Google Inc. All rights reserved.
-// https://developers.google.com/protocol-buffers/
-//
-// 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 Google Inc. 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
-// OWNER 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.
-
-namespace Google\Protobuf\Internal;
-
-trait HasPublicDescriptorTrait
-{
- private $public_desc;
-
- public function getPublicDescriptor()
- {
- return $this->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 @@
-<?php
-
-// Protocol Buffers - Google's data interchange format
-// Copyright 2008 Google Inc. All rights reserved.
-// https://developers.google.com/protocol-buffers/
-//
-// 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 Google Inc. 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
-// OWNER 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.
-
-namespace Google\Protobuf\Internal;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\Message;
-
-class MapEntry extends Message
-{
- public $key;
- public $value;
-
- public function __construct($desc) {
- parent::__construct($desc);
- // For MapEntry, getValue should always return a valid value. Thus, we
- // need to create a default instance value if the value type is
- // message, in case no value is provided in data.
- $value_field = $desc->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 @@
-<?php
-
-// Protocol Buffers - Google's data interchange format
-// Copyright 2008 Google Inc. All rights reserved.
-// https://developers.google.com/protocol-buffers/
-//
-// 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 Google Inc. 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
-// OWNER 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.
-
-/**
- * MapField and MapFieldIter are used by generated protocol message classes to
- * manipulate map fields.
- */
-
-namespace Google\Protobuf\Internal;
-
-use Traversable;
-
-/**
- * MapField is used by generated protocol message classes to manipulate map
- * fields. It can be used like native PHP array.
- */
-class MapField implements \ArrayAccess, \IteratorAggregate, \Countable
-{
- /**
- * @ignore
- */
- private $container;
- /**
- * @ignore
- */
- private $key_type;
- /**
- * @ignore
- */
- private $value_type;
- /**
- * @ignore
- */
- private $klass;
- /**
- * @ignore
- */
- private $legacy_klass;
-
- /**
- * Constructs an instance of MapField.
- *
- * @param long $key_type Type of the stored key element.
- * @param long $value_type Type of the stored value element.
- * @param string $klass Message/Enum class name of value instance
- * (message/enum fields only).
- * @ignore
- */
- public function __construct($key_type, $value_type, $klass = null)
- {
- $this->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 @@
-<?php
-
-// Protocol Buffers - Google's data interchange format
-// Copyright 2008 Google Inc. All rights reserved.
-// https://developers.google.com/protocol-buffers/
-//
-// 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 Google Inc. 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
-// OWNER 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.
-
-/**
- * MapField and MapFieldIter are used by generated protocol message classes to
- * manipulate map fields.
- */
-
-namespace Google\Protobuf\Internal;
-
-/**
- * MapFieldIter is used to iterate MapField. It is also need for the foreach
- * syntax.
- */
-class MapFieldIter implements \Iterator
-{
-
- /**
- * @ignore
- */
- private $container;
-
- /**
- * @ignore
- */
- private $key_type;
-
- /**
- * Create iterator instance for MapField.
- *
- * @param array $container
- * @param GPBType $key_type Map key type.
- * @ignore
- */
- public function __construct($container, $key_type)
- {
- $this->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 @@
-<?php
-
-// Protocol Buffers - Google's data interchange format
-// Copyright 2008 Google Inc. All rights reserved.
-// https://developers.google.com/protocol-buffers/
-//
-// 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 Google Inc. 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
-// OWNER 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.
-
-/**
- * Defines Message, the parent class extended by all protocol message classes.
- */
-
-namespace Google\Protobuf\Internal;
-
-use Google\Protobuf\Internal\CodedInputStream;
-use Google\Protobuf\Internal\CodedOutputStream;
-use Google\Protobuf\Internal\DescriptorPool;
-use Google\Protobuf\Internal\GPBLabel;
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\GPBWire;
-use Google\Protobuf\Internal\MapEntry;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\ListValue;
-use Google\Protobuf\Value;
-use Google\Protobuf\Struct;
-use Google\Protobuf\NullValue;
-
-/**
- * Parent class of all proto messages. Users should not instantiate this class
- * or extend this class or its child classes by their own. See the comment of
- * specific functions for more details.
- */
-#[\AllowDynamicProperties]
-class Message
-{
-
- /**
- * @ignore
- */
- private $desc;
- private $unknown = "";
-
- /**
- * @ignore
- */
- public function __construct($data = NULL)
- {
- // MapEntry message is shared by all types of map fields, whose
- // descriptors are different from each other. Thus, we cannot find a
- // specific descriptor from the descriptor pool.
- if ($this instanceof MapEntry) {
- $this->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 @@
-<?php
-
-// Protocol Buffers - Google's data interchange format
-// Copyright 2008 Google Inc. All rights reserved.
-// https://developers.google.com/protocol-buffers/
-//
-// 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 Google Inc. 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
-// OWNER 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.
-
-namespace Google\Protobuf\Internal;
-
-use Google\Protobuf\Internal\GPBLabel;
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\Descriptor;
-use Google\Protobuf\Internal\FieldDescriptor;
-
-class MessageBuilderContext
-{
-
- private $descriptor;
- private $pool;
-
- public function __construct($full_name, $klass, $pool)
- {
- $this->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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: google/protobuf/descriptor.proto
-
-namespace Google\Protobuf\Internal;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\GPBWire;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\InputStream;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * Generated from protobuf message <code>google.protobuf.MessageOptions</code>
- */
-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 <code>optional bool message_set_wire_format = 1 [default = false];</code>
- */
- 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 <code>optional bool no_standard_descriptor_accessor = 2 [default = false];</code>
- */
- 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 <code>optional bool deprecated = 3 [default = false];</code>
- */
- 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<KeyType, ValueType> 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 <code>optional bool map_entry = 7;</code>
- */
- 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 <code>optional bool deprecated_legacy_json_field_conflicts = 11 [deprecated = true];</code>
- * @deprecated
- */
- protected $deprecated_legacy_json_field_conflicts = null;
- /**
- * The parser stores options it doesn't recognize here. See above.
- *
- * Generated from protobuf field <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code>
- */
- 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<KeyType, ValueType> 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 <code>optional bool message_set_wire_format = 1 [default = false];</code>
- * @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 <code>optional bool message_set_wire_format = 1 [default = false];</code>
- * @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 <code>optional bool no_standard_descriptor_accessor = 2 [default = false];</code>
- * @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 <code>optional bool no_standard_descriptor_accessor = 2 [default = false];</code>
- * @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 <code>optional bool deprecated = 3 [default = false];</code>
- * @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 <code>optional bool deprecated = 3 [default = false];</code>
- * @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<KeyType, ValueType> 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 <code>optional bool map_entry = 7;</code>
- * @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<KeyType, ValueType> 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 <code>optional bool map_entry = 7;</code>
- * @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 <code>optional bool deprecated_legacy_json_field_conflicts = 11 [deprecated = true];</code>
- * @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 <code>optional bool deprecated_legacy_json_field_conflicts = 11 [deprecated = true];</code>
- * @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 <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code>
- * @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 <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code>
- * @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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: google/protobuf/descriptor.proto
-
-namespace Google\Protobuf\Internal;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\GPBWire;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\InputStream;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * Describes a method of a service.
- *
- * Generated from protobuf message <code>google.protobuf.MethodDescriptorProto</code>
- */
-class MethodDescriptorProto extends \Google\Protobuf\Internal\Message
-{
- /**
- * Generated from protobuf field <code>optional string name = 1;</code>
- */
- 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 <code>optional string input_type = 2;</code>
- */
- protected $input_type = null;
- /**
- * Generated from protobuf field <code>optional string output_type = 3;</code>
- */
- protected $output_type = null;
- /**
- * Generated from protobuf field <code>optional .google.protobuf.MethodOptions options = 4;</code>
- */
- protected $options = null;
- /**
- * Identifies if client streams multiple client messages
- *
- * Generated from protobuf field <code>optional bool client_streaming = 5 [default = false];</code>
- */
- protected $client_streaming = null;
- /**
- * Identifies if server streams multiple server messages
- *
- * Generated from protobuf field <code>optional bool server_streaming = 6 [default = false];</code>
- */
- 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 <code>optional string name = 1;</code>
- * @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 <code>optional string name = 1;</code>
- * @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 <code>optional string input_type = 2;</code>
- * @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 <code>optional string input_type = 2;</code>
- * @param string $var
- * @return $this
- */
- public function setInputType($var)
- {
- GPBUtil::checkString($var, True);
- $this->input_type = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field <code>optional string output_type = 3;</code>
- * @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 <code>optional string output_type = 3;</code>
- * @param string $var
- * @return $this
- */
- public function setOutputType($var)
- {
- GPBUtil::checkString($var, True);
- $this->output_type = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field <code>optional .google.protobuf.MethodOptions options = 4;</code>
- * @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 <code>optional .google.protobuf.MethodOptions options = 4;</code>
- * @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 <code>optional bool client_streaming = 5 [default = false];</code>
- * @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 <code>optional bool client_streaming = 5 [default = false];</code>
- * @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 <code>optional bool server_streaming = 6 [default = false];</code>
- * @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 <code>optional bool server_streaming = 6 [default = false];</code>
- * @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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: google/protobuf/descriptor.proto
-
-namespace Google\Protobuf\Internal;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\GPBWire;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\InputStream;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * Generated from protobuf message <code>google.protobuf.MethodOptions</code>
- */
-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 <code>optional bool deprecated = 33 [default = false];</code>
- */
- protected $deprecated = null;
- /**
- * Generated from protobuf field <code>optional .google.protobuf.MethodOptions.IdempotencyLevel idempotency_level = 34 [default = IDEMPOTENCY_UNKNOWN];</code>
- */
- protected $idempotency_level = null;
- /**
- * The parser stores options it doesn't recognize here. See above.
- *
- * Generated from protobuf field <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code>
- */
- 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 <code>optional bool deprecated = 33 [default = false];</code>
- * @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 <code>optional bool deprecated = 33 [default = false];</code>
- * @param bool $var
- * @return $this
- */
- public function setDeprecated($var)
- {
- GPBUtil::checkBool($var);
- $this->deprecated = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field <code>optional .google.protobuf.MethodOptions.IdempotencyLevel idempotency_level = 34 [default = IDEMPOTENCY_UNKNOWN];</code>
- * @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 <code>optional .google.protobuf.MethodOptions.IdempotencyLevel idempotency_level = 34 [default = IDEMPOTENCY_UNKNOWN];</code>
- * @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 <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code>
- * @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 <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code>
- * @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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: google/protobuf/descriptor.proto
-
-namespace Google\Protobuf\Internal\MethodOptions;
-
-use UnexpectedValueException;
-
-/**
- * Is this method side-effect-free (or safe in HTTP parlance), or idempotent,
- * or neither? HTTP based RPC implementation may choose GET verb for safe
- * methods, and PUT verb for idempotent methods instead of the default POST.
- *
- * Protobuf type <code>google.protobuf.MethodOptions.IdempotencyLevel</code>
- */
-class IdempotencyLevel
-{
- /**
- * Generated from protobuf enum <code>IDEMPOTENCY_UNKNOWN = 0;</code>
- */
- const IDEMPOTENCY_UNKNOWN = 0;
- /**
- * implies idempotent
- *
- * Generated from protobuf enum <code>NO_SIDE_EFFECTS = 1;</code>
- */
- const NO_SIDE_EFFECTS = 1;
- /**
- * idempotent, but may have side effects
- *
- * Generated from protobuf enum <code>IDEMPOTENT = 2;</code>
- */
- 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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: google/protobuf/descriptor.proto
-
-namespace Google\Protobuf\Internal;
-
-if (false) {
- /**
- * This class is deprecated. Use Google\Protobuf\Internal\MethodOptions\IdempotencyLevel instead.
- * @deprecated
- */
- class MethodOptions_IdempotencyLevel {}
-}
-class_exists(MethodOptions\IdempotencyLevel::class);
-@trigger_error('Google\Protobuf\Internal\MethodOptions_IdempotencyLevel is deprecated and will be removed in the next major release. Use Google\Protobuf\Internal\MethodOptions\IdempotencyLevel instead', E_USER_DEPRECATED);
-
diff --git a/vendor/google/protobuf/src/Google/Protobuf/Internal/OneofDescriptor.php b/vendor/google/protobuf/src/Google/Protobuf/Internal/OneofDescriptor.php
deleted file mode 100644
index 432368571..000000000
--- a/vendor/google/protobuf/src/Google/Protobuf/Internal/OneofDescriptor.php
+++ /dev/null
@@ -1,87 +0,0 @@
-<?php
-
-// Protocol Buffers - Google's data interchange format
-// Copyright 2008 Google Inc. All rights reserved.
-// https://developers.google.com/protocol-buffers/
-//
-// 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 Google Inc. 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
-// OWNER 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.
-
-namespace Google\Protobuf\Internal;
-
-class OneofDescriptor
-{
- use HasPublicDescriptorTrait;
-
- private $name;
- /** @var \Google\Protobuf\FieldDescriptor[] $fields */
- private $fields;
-
- public function __construct()
- {
- $this->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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: google/protobuf/descriptor.proto
-
-namespace Google\Protobuf\Internal;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\GPBWire;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\InputStream;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * Describes a oneof.
- *
- * Generated from protobuf message <code>google.protobuf.OneofDescriptorProto</code>
- */
-class OneofDescriptorProto extends \Google\Protobuf\Internal\Message
-{
- /**
- * Generated from protobuf field <code>optional string name = 1;</code>
- */
- protected $name = null;
- /**
- * Generated from protobuf field <code>optional .google.protobuf.OneofOptions options = 2;</code>
- */
- 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 <code>optional string name = 1;</code>
- * @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 <code>optional string name = 1;</code>
- * @param string $var
- * @return $this
- */
- public function setName($var)
- {
- GPBUtil::checkString($var, True);
- $this->name = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field <code>optional .google.protobuf.OneofOptions options = 2;</code>
- * @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 <code>optional .google.protobuf.OneofOptions options = 2;</code>
- * @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 @@
-<?php
-
-// Protocol Buffers - Google's data interchange format
-// Copyright 2008 Google Inc. All rights reserved.
-// https://developers.google.com/protocol-buffers/
-//
-// 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 Google Inc. 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
-// OWNER 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.
-
-namespace Google\Protobuf\Internal;
-
-class OneofField
-{
-
- private $desc;
- private $field_name;
- private $number = 0;
- private $value;
-
- public function __construct($desc)
- {
- $this->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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: google/protobuf/descriptor.proto
-
-namespace Google\Protobuf\Internal;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\GPBWire;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\InputStream;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * Generated from protobuf message <code>google.protobuf.OneofOptions</code>
- */
-class OneofOptions extends \Google\Protobuf\Internal\Message
-{
- /**
- * The parser stores options it doesn't recognize here. See above.
- *
- * Generated from protobuf field <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code>
- */
- 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 <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code>
- * @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 <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code>
- * @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 @@
-<?php
-
-// Protocol Buffers - Google's data interchange format
-// Copyright 2008 Google Inc. All rights reserved.
-// https://developers.google.com/protocol-buffers/
-//
-// 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 Google Inc. 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
-// OWNER 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.
-
-namespace Google\Protobuf\Internal;
-
-class RawInputStream
-{
-
- private $buffer;
-
- public function __construct($buffer)
- {
- $this->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 @@
-<?php
-
-// Protocol Buffers - Google's data interchange format
-// Copyright 2008 Google Inc. All rights reserved.
-// https://developers.google.com/protocol-buffers/
-//
-// 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 Google Inc. 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
-// OWNER 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.
-
-/**
- * RepeatedField and RepeatedFieldIter are used by generated protocol message
- * classes to manipulate repeated fields.
- */
-
-namespace Google\Protobuf\Internal;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\GPBUtil;
-use Traversable;
-
-/**
- * RepeatedField is used by generated protocol message classes to manipulate
- * repeated fields. It can be used like native PHP array.
- */
-class RepeatedField implements \ArrayAccess, \IteratorAggregate, \Countable
-{
-
- /**
- * @ignore
- */
- private $container;
- /**
- * @ignore
- */
- private $type;
- /**
- * @ignore
- */
- private $klass;
- /**
- * @ignore
- */
- private $legacy_klass;
-
- /**
- * Constructs an instance of RepeatedField.
- *
- * @param integer $type Type of the stored element.
- * @param string $klass Message/Enum class name (message/enum fields only).
- * @ignore
- */
- public function __construct($type, $klass = null)
- {
- $this->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 @@
-<?php
-
-// Protocol Buffers - Google's data interchange format
-// Copyright 2008 Google Inc. All rights reserved.
-// https://developers.google.com/protocol-buffers/
-//
-// 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 Google Inc. 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
-// OWNER 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.
-
-/**
- * RepeatedField and RepeatedFieldIter are used by generated protocol message
- * classes to manipulate repeated fields.
- */
-
-namespace Google\Protobuf\Internal;
-
-/**
- * RepeatedFieldIter is used to iterate RepeatedField. It is also need for the
- * foreach syntax.
- */
-class RepeatedFieldIter implements \Iterator
-{
-
- /**
- * @ignore
- */
- private $position;
- /**
- * @ignore
- */
- private $container;
-
- /**
- * Create iterator instance for RepeatedField.
- *
- * @param array $container
- * @ignore
- */
- public function __construct($container)
- {
- $this->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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: google/protobuf/descriptor.proto
-
-namespace Google\Protobuf\Internal;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\GPBWire;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\InputStream;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * Describes a service.
- *
- * Generated from protobuf message <code>google.protobuf.ServiceDescriptorProto</code>
- */
-class ServiceDescriptorProto extends \Google\Protobuf\Internal\Message
-{
- /**
- * Generated from protobuf field <code>optional string name = 1;</code>
- */
- protected $name = null;
- /**
- * Generated from protobuf field <code>repeated .google.protobuf.MethodDescriptorProto method = 2;</code>
- */
- private $method;
- /**
- * Generated from protobuf field <code>optional .google.protobuf.ServiceOptions options = 3;</code>
- */
- 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 <code>optional string name = 1;</code>
- * @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 <code>optional string name = 1;</code>
- * @param string $var
- * @return $this
- */
- public function setName($var)
- {
- GPBUtil::checkString($var, True);
- $this->name = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field <code>repeated .google.protobuf.MethodDescriptorProto method = 2;</code>
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getMethod()
- {
- return $this->method;
- }
-
- /**
- * Generated from protobuf field <code>repeated .google.protobuf.MethodDescriptorProto method = 2;</code>
- * @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 <code>optional .google.protobuf.ServiceOptions options = 3;</code>
- * @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 <code>optional .google.protobuf.ServiceOptions options = 3;</code>
- * @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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: google/protobuf/descriptor.proto
-
-namespace Google\Protobuf\Internal;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\GPBWire;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\InputStream;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * Generated from protobuf message <code>google.protobuf.ServiceOptions</code>
- */
-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 <code>optional bool deprecated = 33 [default = false];</code>
- */
- protected $deprecated = null;
- /**
- * The parser stores options it doesn't recognize here. See above.
- *
- * Generated from protobuf field <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code>
- */
- 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 <code>optional bool deprecated = 33 [default = false];</code>
- * @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 <code>optional bool deprecated = 33 [default = false];</code>
- * @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 <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code>
- * @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 <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code>
- * @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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: google/protobuf/descriptor.proto
-
-namespace Google\Protobuf\Internal;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\GPBWire;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\InputStream;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * Encapsulates information about the original source file from which a
- * FileDescriptorProto was generated.
- *
- * Generated from protobuf message <code>google.protobuf.SourceCodeInfo</code>
- */
-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 <code>repeated .google.protobuf.SourceCodeInfo.Location location = 1;</code>
- */
- 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 <code>repeated .google.protobuf.SourceCodeInfo.Location location = 1;</code>
- * @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 <code>repeated .google.protobuf.SourceCodeInfo.Location location = 1;</code>
- * @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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: google/protobuf/descriptor.proto
-
-namespace Google\Protobuf\Internal\SourceCodeInfo;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\GPBWire;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\InputStream;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * Generated from protobuf message <code>google.protobuf.SourceCodeInfo.Location</code>
- */
-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 <code>repeated int32 path = 1 [packed = true];</code>
- */
- 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 <code>repeated int32 span = 2 [packed = true];</code>
- */
- 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;
- * /&#42; Block comment attached
- * * to corge. Leading asterisks
- * * will be removed. *&#47;
- * /&#42; Block comment attached to
- * * grault. *&#47;
- * optional int32 grault = 6;
- * // ignored detached comments.
- *
- * Generated from protobuf field <code>optional string leading_comments = 3;</code>
- */
- protected $leading_comments = null;
- /**
- * Generated from protobuf field <code>optional string trailing_comments = 4;</code>
- */
- protected $trailing_comments = null;
- /**
- * Generated from protobuf field <code>repeated string leading_detached_comments = 6;</code>
- */
- private $leading_detached_comments;
-
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type array<int>|\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<int>|\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;
- * /&#42; Block comment attached
- * * to corge. Leading asterisks
- * * will be removed. *&#47;
- * /&#42; Block comment attached to
- * * grault. *&#47;
- * optional int32 grault = 6;
- * // ignored detached comments.
- * @type string $trailing_comments
- * @type array<string>|\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 <code>repeated int32 path = 1 [packed = true];</code>
- * @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 <code>repeated int32 path = 1 [packed = true];</code>
- * @param array<int>|\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 <code>repeated int32 span = 2 [packed = true];</code>
- * @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 <code>repeated int32 span = 2 [packed = true];</code>
- * @param array<int>|\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;
- * /&#42; Block comment attached
- * * to corge. Leading asterisks
- * * will be removed. *&#47;
- * /&#42; Block comment attached to
- * * grault. *&#47;
- * optional int32 grault = 6;
- * // ignored detached comments.
- *
- * Generated from protobuf field <code>optional string leading_comments = 3;</code>
- * @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;
- * /&#42; Block comment attached
- * * to corge. Leading asterisks
- * * will be removed. *&#47;
- * /&#42; Block comment attached to
- * * grault. *&#47;
- * optional int32 grault = 6;
- * // ignored detached comments.
- *
- * Generated from protobuf field <code>optional string leading_comments = 3;</code>
- * @param string $var
- * @return $this
- */
- public function setLeadingComments($var)
- {
- GPBUtil::checkString($var, True);
- $this->leading_comments = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field <code>optional string trailing_comments = 4;</code>
- * @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 <code>optional string trailing_comments = 4;</code>
- * @param string $var
- * @return $this
- */
- public function setTrailingComments($var)
- {
- GPBUtil::checkString($var, True);
- $this->trailing_comments = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field <code>repeated string leading_detached_comments = 6;</code>
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getLeadingDetachedComments()
- {
- return $this->leading_detached_comments;
- }
-
- /**
- * Generated from protobuf field <code>repeated string leading_detached_comments = 6;</code>
- * @param array<string>|\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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: google/protobuf/descriptor.proto
-
-namespace Google\Protobuf\Internal;
-
-if (false) {
- /**
- * This class is deprecated. Use Google\Protobuf\Internal\SourceCodeInfo\Location instead.
- * @deprecated
- */
- class SourceCodeInfo_Location {}
-}
-class_exists(SourceCodeInfo\Location::class);
-@trigger_error('Google\Protobuf\Internal\SourceCodeInfo_Location is deprecated and will be removed in the next major release. Use Google\Protobuf\Internal\SourceCodeInfo\Location instead', E_USER_DEPRECATED);
-
diff --git a/vendor/google/protobuf/src/Google/Protobuf/Internal/TimestampBase.php b/vendor/google/protobuf/src/Google/Protobuf/Internal/TimestampBase.php
deleted file mode 100644
index 653d1e99d..000000000
--- a/vendor/google/protobuf/src/Google/Protobuf/Internal/TimestampBase.php
+++ /dev/null
@@ -1,32 +0,0 @@
-<?php
-
-namespace Google\Protobuf\Internal;
-
-/**
- * Base class for Google\Protobuf\Timestamp, this contains hand-written
- * convenience methods.
- */
-class TimestampBase extends \Google\Protobuf\Internal\Message
-{
- /*
- * Converts PHP DateTime to Timestamp.
- *
- * @param \DateTime $datetime
- */
- public function fromDateTime(\DateTime $datetime)
- {
- $this->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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: google/protobuf/descriptor.proto
-
-namespace Google\Protobuf\Internal;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\GPBWire;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\InputStream;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * A message representing a option the parser does not recognize. This only
- * appears in options protos created by the compiler::Parser class.
- * DescriptorPool resolves these when building Descriptor objects. Therefore,
- * options protos in descriptor objects (e.g. returned by Descriptor::options(),
- * or produced by Descriptor::CopyTo()) will never have UninterpretedOptions
- * in them.
- *
- * Generated from protobuf message <code>google.protobuf.UninterpretedOption</code>
- */
-class UninterpretedOption extends \Google\Protobuf\Internal\Message
-{
- /**
- * Generated from protobuf field <code>repeated .google.protobuf.UninterpretedOption.NamePart name = 2;</code>
- */
- 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 <code>optional string identifier_value = 3;</code>
- */
- protected $identifier_value = null;
- /**
- * Generated from protobuf field <code>optional uint64 positive_int_value = 4;</code>
- */
- protected $positive_int_value = null;
- /**
- * Generated from protobuf field <code>optional int64 negative_int_value = 5;</code>
- */
- protected $negative_int_value = null;
- /**
- * Generated from protobuf field <code>optional double double_value = 6;</code>
- */
- protected $double_value = null;
- /**
- * Generated from protobuf field <code>optional bytes string_value = 7;</code>
- */
- protected $string_value = null;
- /**
- * Generated from protobuf field <code>optional string aggregate_value = 8;</code>
- */
- 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 <code>repeated .google.protobuf.UninterpretedOption.NamePart name = 2;</code>
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * Generated from protobuf field <code>repeated .google.protobuf.UninterpretedOption.NamePart name = 2;</code>
- * @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 <code>optional string identifier_value = 3;</code>
- * @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 <code>optional string identifier_value = 3;</code>
- * @param string $var
- * @return $this
- */
- public function setIdentifierValue($var)
- {
- GPBUtil::checkString($var, True);
- $this->identifier_value = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field <code>optional uint64 positive_int_value = 4;</code>
- * @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 <code>optional uint64 positive_int_value = 4;</code>
- * @param int|string $var
- * @return $this
- */
- public function setPositiveIntValue($var)
- {
- GPBUtil::checkUint64($var);
- $this->positive_int_value = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field <code>optional int64 negative_int_value = 5;</code>
- * @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 <code>optional int64 negative_int_value = 5;</code>
- * @param int|string $var
- * @return $this
- */
- public function setNegativeIntValue($var)
- {
- GPBUtil::checkInt64($var);
- $this->negative_int_value = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field <code>optional double double_value = 6;</code>
- * @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 <code>optional double double_value = 6;</code>
- * @param float $var
- * @return $this
- */
- public function setDoubleValue($var)
- {
- GPBUtil::checkDouble($var);
- $this->double_value = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field <code>optional bytes string_value = 7;</code>
- * @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 <code>optional bytes string_value = 7;</code>
- * @param string $var
- * @return $this
- */
- public function setStringValue($var)
- {
- GPBUtil::checkString($var, False);
- $this->string_value = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field <code>optional string aggregate_value = 8;</code>
- * @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 <code>optional string aggregate_value = 8;</code>
- * @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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: google/protobuf/descriptor.proto
-
-namespace Google\Protobuf\Internal\UninterpretedOption;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\GPBWire;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\InputStream;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * The name of the uninterpreted option. Each string represents a segment in
- * a dot-separated name. is_extension is true iff a segment represents an
- * extension (denoted with parentheses in options specs in .proto files).
- * E.g.,{ ["foo", false], ["bar.baz", true], ["moo", false] } represents
- * "foo.(bar.baz).moo".
- *
- * Generated from protobuf message <code>google.protobuf.UninterpretedOption.NamePart</code>
- */
-class NamePart extends \Google\Protobuf\Internal\Message
-{
- /**
- * Generated from protobuf field <code>required string name_part = 1;</code>
- */
- protected $name_part = null;
- /**
- * Generated from protobuf field <code>required bool is_extension = 2;</code>
- */
- 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 <code>required string name_part = 1;</code>
- * @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 <code>required string name_part = 1;</code>
- * @param string $var
- * @return $this
- */
- public function setNamePart($var)
- {
- GPBUtil::checkString($var, True);
- $this->name_part = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field <code>required bool is_extension = 2;</code>
- * @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 <code>required bool is_extension = 2;</code>
- * @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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: google/protobuf/descriptor.proto
-
-namespace Google\Protobuf\Internal;
-
-if (false) {
- /**
- * This class is deprecated. Use Google\Protobuf\Internal\UninterpretedOption\NamePart instead.
- * @deprecated
- */
- class UninterpretedOption_NamePart {}
-}
-class_exists(UninterpretedOption\NamePart::class);
-@trigger_error('Google\Protobuf\Internal\UninterpretedOption_NamePart is deprecated and will be removed in the next major release. Use Google\Protobuf\Internal\UninterpretedOption\NamePart instead', E_USER_DEPRECATED);
-
diff --git a/vendor/google/protobuf/src/Google/Protobuf/ListValue.php b/vendor/google/protobuf/src/Google/Protobuf/ListValue.php
deleted file mode 100644
index 891283c2b..000000000
--- a/vendor/google/protobuf/src/Google/Protobuf/ListValue.php
+++ /dev/null
@@ -1,68 +0,0 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: google/protobuf/struct.proto
-
-namespace Google\Protobuf;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * `ListValue` is a wrapper around a repeated field of values.
- * The JSON representation for `ListValue` is JSON array.
- *
- * Generated from protobuf message <code>google.protobuf.ListValue</code>
- */
-class ListValue extends \Google\Protobuf\Internal\Message
-{
- /**
- * Repeated field of dynamically typed values.
- *
- * Generated from protobuf field <code>repeated .google.protobuf.Value values = 1;</code>
- */
- 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 <code>repeated .google.protobuf.Value values = 1;</code>
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getValues()
- {
- return $this->values;
- }
-
- /**
- * Repeated field of dynamically typed values.
- *
- * Generated from protobuf field <code>repeated .google.protobuf.Value values = 1;</code>
- * @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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: google/protobuf/api.proto
-
-namespace Google\Protobuf;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * Method represents a method of an API interface.
- *
- * Generated from protobuf message <code>google.protobuf.Method</code>
- */
-class Method extends \Google\Protobuf\Internal\Message
-{
- /**
- * The simple name of this method.
- *
- * Generated from protobuf field <code>string name = 1;</code>
- */
- protected $name = '';
- /**
- * A URL of the input message type.
- *
- * Generated from protobuf field <code>string request_type_url = 2;</code>
- */
- protected $request_type_url = '';
- /**
- * If true, the request is streamed.
- *
- * Generated from protobuf field <code>bool request_streaming = 3;</code>
- */
- protected $request_streaming = false;
- /**
- * The URL of the output message type.
- *
- * Generated from protobuf field <code>string response_type_url = 4;</code>
- */
- protected $response_type_url = '';
- /**
- * If true, the response is streamed.
- *
- * Generated from protobuf field <code>bool response_streaming = 5;</code>
- */
- protected $response_streaming = false;
- /**
- * Any metadata attached to the method.
- *
- * Generated from protobuf field <code>repeated .google.protobuf.Option options = 6;</code>
- */
- private $options;
- /**
- * The source syntax of this method.
- *
- * Generated from protobuf field <code>.google.protobuf.Syntax syntax = 7;</code>
- */
- 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 <code>string name = 1;</code>
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * The simple name of this method.
- *
- * Generated from protobuf field <code>string name = 1;</code>
- * @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 <code>string request_type_url = 2;</code>
- * @return string
- */
- public function getRequestTypeUrl()
- {
- return $this->request_type_url;
- }
-
- /**
- * A URL of the input message type.
- *
- * Generated from protobuf field <code>string request_type_url = 2;</code>
- * @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 <code>bool request_streaming = 3;</code>
- * @return bool
- */
- public function getRequestStreaming()
- {
- return $this->request_streaming;
- }
-
- /**
- * If true, the request is streamed.
- *
- * Generated from protobuf field <code>bool request_streaming = 3;</code>
- * @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 <code>string response_type_url = 4;</code>
- * @return string
- */
- public function getResponseTypeUrl()
- {
- return $this->response_type_url;
- }
-
- /**
- * The URL of the output message type.
- *
- * Generated from protobuf field <code>string response_type_url = 4;</code>
- * @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 <code>bool response_streaming = 5;</code>
- * @return bool
- */
- public function getResponseStreaming()
- {
- return $this->response_streaming;
- }
-
- /**
- * If true, the response is streamed.
- *
- * Generated from protobuf field <code>bool response_streaming = 5;</code>
- * @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 <code>repeated .google.protobuf.Option options = 6;</code>
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getOptions()
- {
- return $this->options;
- }
-
- /**
- * Any metadata attached to the method.
- *
- * Generated from protobuf field <code>repeated .google.protobuf.Option options = 6;</code>
- * @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 <code>.google.protobuf.Syntax syntax = 7;</code>
- * @return int
- */
- public function getSyntax()
- {
- return $this->syntax;
- }
-
- /**
- * The source syntax of this method.
- *
- * Generated from protobuf field <code>.google.protobuf.Syntax syntax = 7;</code>
- * @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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: google/protobuf/api.proto
-
-namespace Google\Protobuf;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * Declares an API Interface to be included in this interface. The including
- * interface must redeclare all the methods from the included interface, but
- * documentation and options are inherited as follows:
- * - If after comment and whitespace stripping, the documentation
- * string of the redeclared method is empty, it will be inherited
- * from the original method.
- * - Each annotation belonging to the service config (http,
- * visibility) which is not set in the redeclared method will be
- * inherited.
- * - If an http annotation is inherited, the path pattern will be
- * modified as follows. Any version prefix will be replaced by the
- * version of the including interface plus the [root][] path if
- * specified.
- * Example of a simple mixin:
- * package google.acl.v1;
- * service AccessControl {
- * // Get the underlying ACL object.
- * rpc GetAcl(GetAclRequest) returns (Acl) {
- * option (google.api.http).get = "/v1/{resource=**}:getAcl";
- * }
- * }
- * package google.storage.v2;
- * service Storage {
- * rpc GetAcl(GetAclRequest) returns (Acl);
- * // Get a data record.
- * rpc GetData(GetDataRequest) returns (Data) {
- * option (google.api.http).get = "/v2/{resource=**}";
- * }
- * }
- * Example of a mixin configuration:
- * apis:
- * - name: google.storage.v2.Storage
- * mixins:
- * - name: google.acl.v1.AccessControl
- * The mixin construct implies that all methods in `AccessControl` are
- * also declared with same name and request/response types in
- * `Storage`. A documentation generator or annotation processor will
- * see the effective `Storage.GetAcl` method after inheriting
- * documentation and annotations as follows:
- * service Storage {
- * // Get the underlying ACL object.
- * rpc GetAcl(GetAclRequest) returns (Acl) {
- * option (google.api.http).get = "/v2/{resource=**}:getAcl";
- * }
- * ...
- * }
- * Note how the version in the path pattern changed from `v1` to `v2`.
- * If the `root` field in the mixin is specified, it should be a
- * relative path under which inherited HTTP paths are placed. Example:
- * apis:
- * - name: google.storage.v2.Storage
- * mixins:
- * - name: google.acl.v1.AccessControl
- * root: acls
- * This implies the following inherited HTTP annotation:
- * service Storage {
- * // Get the underlying ACL object.
- * rpc GetAcl(GetAclRequest) returns (Acl) {
- * option (google.api.http).get = "/v2/acls/{resource=**}:getAcl";
- * }
- * ...
- * }
- *
- * Generated from protobuf message <code>google.protobuf.Mixin</code>
- */
-class Mixin extends \Google\Protobuf\Internal\Message
-{
- /**
- * The fully qualified name of the interface which is included.
- *
- * Generated from protobuf field <code>string name = 1;</code>
- */
- protected $name = '';
- /**
- * If non-empty specifies a path under which inherited HTTP paths
- * are rooted.
- *
- * Generated from protobuf field <code>string root = 2;</code>
- */
- 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 <code>string name = 1;</code>
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * The fully qualified name of the interface which is included.
- *
- * Generated from protobuf field <code>string name = 1;</code>
- * @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 <code>string root = 2;</code>
- * @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 <code>string root = 2;</code>
- * @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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: google/protobuf/struct.proto
-
-namespace Google\Protobuf;
-
-use UnexpectedValueException;
-
-/**
- * `NullValue` is a singleton enumeration to represent the null value for the
- * `Value` type union.
- * The JSON representation for `NullValue` is JSON `null`.
- *
- * Protobuf type <code>google.protobuf.NullValue</code>
- */
-class NullValue
-{
- /**
- * Null value.
- *
- * Generated from protobuf enum <code>NULL_VALUE = 0;</code>
- */
- 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 @@
-<?php
-
-// Protocol Buffers - Google's data interchange format
-// Copyright 2017 Google Inc. All rights reserved.
-// https://developers.google.com/protocol-buffers/
-//
-// 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 Google Inc. 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
-// OWNER 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.
-
-namespace Google\Protobuf;
-
-use Google\Protobuf\Internal\GetPublicDescriptorTrait;
-
-class OneofDescriptor
-{
- use GetPublicDescriptorTrait;
-
- /** @var \Google\Protobuf\Internal\OneofDescriptor $internal_desc */
- private $internal_desc;
-
- /**
- * @internal
- */
- public function __construct($internal_desc)
- {
- $this->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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: google/protobuf/type.proto
-
-namespace Google\Protobuf;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * A protocol buffer option, which can be attached to a message, field,
- * enumeration, etc.
- *
- * Generated from protobuf message <code>google.protobuf.Option</code>
- */
-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 <code>string name = 1;</code>
- */
- 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 <code>.google.protobuf.Any value = 2;</code>
- */
- 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 <code>string name = 1;</code>
- * @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 <code>string name = 1;</code>
- * @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 <code>.google.protobuf.Any value = 2;</code>
- * @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 <code>.google.protobuf.Any value = 2;</code>
- * @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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: google/protobuf/source_context.proto
-
-namespace Google\Protobuf;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * `SourceContext` represents information about the source of a
- * protobuf element, like the file in which it is defined.
- *
- * Generated from protobuf message <code>google.protobuf.SourceContext</code>
- */
-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 <code>string file_name = 1;</code>
- */
- 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 <code>string file_name = 1;</code>
- * @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 <code>string file_name = 1;</code>
- * @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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: google/protobuf/wrappers.proto
-
-namespace Google\Protobuf;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * Wrapper message for `string`.
- * The JSON representation for `StringValue` is JSON string.
- *
- * Generated from protobuf message <code>google.protobuf.StringValue</code>
- */
-class StringValue extends \Google\Protobuf\Internal\Message
-{
- /**
- * The string value.
- *
- * Generated from protobuf field <code>string value = 1;</code>
- */
- 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 <code>string value = 1;</code>
- * @return string
- */
- public function getValue()
- {
- return $this->value;
- }
-
- /**
- * The string value.
- *
- * Generated from protobuf field <code>string value = 1;</code>
- * @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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: google/protobuf/struct.proto
-
-namespace Google\Protobuf;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * `Struct` represents a structured data value, consisting of fields
- * which map to dynamically typed values. In some languages, `Struct`
- * might be supported by a native representation. For example, in
- * scripting languages like JS a struct is represented as an
- * object. The details of that representation are described together
- * with the proto support for the language.
- * The JSON representation for `Struct` is JSON object.
- *
- * Generated from protobuf message <code>google.protobuf.Struct</code>
- */
-class Struct extends \Google\Protobuf\Internal\Message
-{
- /**
- * Unordered map of dynamically typed values.
- *
- * Generated from protobuf field <code>map<string, .google.protobuf.Value> fields = 1;</code>
- */
- 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 <code>map<string, .google.protobuf.Value> fields = 1;</code>
- * @return \Google\Protobuf\Internal\MapField
- */
- public function getFields()
- {
- return $this->fields;
- }
-
- /**
- * Unordered map of dynamically typed values.
- *
- * Generated from protobuf field <code>map<string, .google.protobuf.Value> fields = 1;</code>
- * @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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: google/protobuf/type.proto
-
-namespace Google\Protobuf;
-
-use UnexpectedValueException;
-
-/**
- * The syntax in which a protocol buffer element is defined.
- *
- * Protobuf type <code>google.protobuf.Syntax</code>
- */
-class Syntax
-{
- /**
- * Syntax `proto2`.
- *
- * Generated from protobuf enum <code>SYNTAX_PROTO2 = 0;</code>
- */
- const SYNTAX_PROTO2 = 0;
- /**
- * Syntax `proto3`.
- *
- * Generated from protobuf enum <code>SYNTAX_PROTO3 = 1;</code>
- */
- 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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: google/protobuf/timestamp.proto
-
-namespace Google\Protobuf;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * A Timestamp represents a point in time independent of any time zone or local
- * calendar, encoded as a count of seconds and fractions of seconds at
- * nanosecond resolution. The count is relative to an epoch at UTC midnight on
- * January 1, 1970, in the proleptic Gregorian calendar which extends the
- * Gregorian calendar backwards to year one.
- * All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
- * second table is needed for interpretation, using a [24-hour linear
- * smear](https://developers.google.com/time/smear).
- * The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
- * restricting to that range, we ensure that we can convert to and from [RFC
- * 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.
- * # Examples
- * Example 1: Compute Timestamp from POSIX `time()`.
- * Timestamp timestamp;
- * timestamp.set_seconds(time(NULL));
- * timestamp.set_nanos(0);
- * Example 2: Compute Timestamp from POSIX `gettimeofday()`.
- * struct timeval tv;
- * gettimeofday(&tv, NULL);
- * Timestamp timestamp;
- * timestamp.set_seconds(tv.tv_sec);
- * timestamp.set_nanos(tv.tv_usec * 1000);
- * Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.
- * FILETIME ft;
- * GetSystemTimeAsFileTime(&ft);
- * UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime;
- * // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z
- * // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z.
- * Timestamp timestamp;
- * timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));
- * timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));
- * Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.
- * long millis = System.currentTimeMillis();
- * Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
- * .setNanos((int) ((millis % 1000) * 1000000)).build();
- * Example 5: Compute Timestamp from Java `Instant.now()`.
- * Instant now = Instant.now();
- * Timestamp timestamp =
- * Timestamp.newBuilder().setSeconds(now.getEpochSecond())
- * .setNanos(now.getNano()).build();
- * Example 6: Compute Timestamp from current time in Python.
- * timestamp = Timestamp()
- * timestamp.GetCurrentTime()
- * # JSON Mapping
- * In JSON format, the Timestamp type is encoded as a string in the
- * [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the
- * format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z"
- * where {year} is always expressed using four digits while {month}, {day},
- * {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional
- * seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),
- * are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone
- * is required. A proto3 JSON serializer should always use UTC (as indicated by
- * "Z") when printing the Timestamp type and a proto3 JSON parser should be
- * able to accept both UTC and other timezones (as indicated by an offset).
- * For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past
- * 01:30 UTC on January 15, 2017.
- * In JavaScript, one can convert a Date object to this format using the
- * standard
- * [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)
- * method. In Python, a standard `datetime.datetime` object can be converted
- * to this format using
- * [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
- * the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
- * the Joda Time's [`ISODateTimeFormat.dateTime()`](
- * http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D
- * ) to obtain a formatter capable of generating timestamps in this format.
- *
- * Generated from protobuf message <code>google.protobuf.Timestamp</code>
- */
-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 <code>int64 seconds = 1;</code>
- */
- 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 <code>int32 nanos = 2;</code>
- */
- 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 <code>int64 seconds = 1;</code>
- * @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 <code>int64 seconds = 1;</code>
- * @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 <code>int32 nanos = 2;</code>
- * @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 <code>int32 nanos = 2;</code>
- * @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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: google/protobuf/type.proto
-
-namespace Google\Protobuf;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * A protocol buffer message type.
- *
- * Generated from protobuf message <code>google.protobuf.Type</code>
- */
-class Type extends \Google\Protobuf\Internal\Message
-{
- /**
- * The fully qualified message name.
- *
- * Generated from protobuf field <code>string name = 1;</code>
- */
- protected $name = '';
- /**
- * The list of fields.
- *
- * Generated from protobuf field <code>repeated .google.protobuf.Field fields = 2;</code>
- */
- private $fields;
- /**
- * The list of types appearing in `oneof` definitions in this type.
- *
- * Generated from protobuf field <code>repeated string oneofs = 3;</code>
- */
- private $oneofs;
- /**
- * The protocol buffer options.
- *
- * Generated from protobuf field <code>repeated .google.protobuf.Option options = 4;</code>
- */
- private $options;
- /**
- * The source context.
- *
- * Generated from protobuf field <code>.google.protobuf.SourceContext source_context = 5;</code>
- */
- protected $source_context = null;
- /**
- * The source syntax.
- *
- * Generated from protobuf field <code>.google.protobuf.Syntax syntax = 6;</code>
- */
- 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<string>|\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 <code>string name = 1;</code>
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * The fully qualified message name.
- *
- * Generated from protobuf field <code>string name = 1;</code>
- * @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 <code>repeated .google.protobuf.Field fields = 2;</code>
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getFields()
- {
- return $this->fields;
- }
-
- /**
- * The list of fields.
- *
- * Generated from protobuf field <code>repeated .google.protobuf.Field fields = 2;</code>
- * @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 <code>repeated string oneofs = 3;</code>
- * @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 <code>repeated string oneofs = 3;</code>
- * @param array<string>|\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 <code>repeated .google.protobuf.Option options = 4;</code>
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getOptions()
- {
- return $this->options;
- }
-
- /**
- * The protocol buffer options.
- *
- * Generated from protobuf field <code>repeated .google.protobuf.Option options = 4;</code>
- * @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 <code>.google.protobuf.SourceContext source_context = 5;</code>
- * @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 <code>.google.protobuf.SourceContext source_context = 5;</code>
- * @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 <code>.google.protobuf.Syntax syntax = 6;</code>
- * @return int
- */
- public function getSyntax()
- {
- return $this->syntax;
- }
-
- /**
- * The source syntax.
- *
- * Generated from protobuf field <code>.google.protobuf.Syntax syntax = 6;</code>
- * @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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: google/protobuf/wrappers.proto
-
-namespace Google\Protobuf;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * Wrapper message for `uint32`.
- * The JSON representation for `UInt32Value` is JSON number.
- *
- * Generated from protobuf message <code>google.protobuf.UInt32Value</code>
- */
-class UInt32Value extends \Google\Protobuf\Internal\Message
-{
- /**
- * The uint32 value.
- *
- * Generated from protobuf field <code>uint32 value = 1;</code>
- */
- 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 <code>uint32 value = 1;</code>
- * @return int
- */
- public function getValue()
- {
- return $this->value;
- }
-
- /**
- * The uint32 value.
- *
- * Generated from protobuf field <code>uint32 value = 1;</code>
- * @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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: google/protobuf/wrappers.proto
-
-namespace Google\Protobuf;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * Wrapper message for `uint64`.
- * The JSON representation for `UInt64Value` is JSON string.
- *
- * Generated from protobuf message <code>google.protobuf.UInt64Value</code>
- */
-class UInt64Value extends \Google\Protobuf\Internal\Message
-{
- /**
- * The uint64 value.
- *
- * Generated from protobuf field <code>uint64 value = 1;</code>
- */
- 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 <code>uint64 value = 1;</code>
- * @return int|string
- */
- public function getValue()
- {
- return $this->value;
- }
-
- /**
- * The uint64 value.
- *
- * Generated from protobuf field <code>uint64 value = 1;</code>
- * @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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: google/protobuf/struct.proto
-
-namespace Google\Protobuf;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * `Value` represents a dynamically typed value which can be either
- * null, a number, a string, a boolean, a recursive struct value, or a
- * list of values. A producer of value is expected to set one of these
- * variants. Absence of any variant indicates an error.
- * The JSON representation for `Value` is JSON value.
- *
- * Generated from protobuf message <code>google.protobuf.Value</code>
- */
-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 <code>.google.protobuf.NullValue null_value = 1;</code>
- * @return int
- */
- public function getNullValue()
- {
- return $this->readOneof(1);
- }
-
- public function hasNullValue()
- {
- return $this->hasOneof(1);
- }
-
- /**
- * Represents a null value.
- *
- * Generated from protobuf field <code>.google.protobuf.NullValue null_value = 1;</code>
- * @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 <code>double number_value = 2;</code>
- * @return float
- */
- public function getNumberValue()
- {
- return $this->readOneof(2);
- }
-
- public function hasNumberValue()
- {
- return $this->hasOneof(2);
- }
-
- /**
- * Represents a double value.
- *
- * Generated from protobuf field <code>double number_value = 2;</code>
- * @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 <code>string string_value = 3;</code>
- * @return string
- */
- public function getStringValue()
- {
- return $this->readOneof(3);
- }
-
- public function hasStringValue()
- {
- return $this->hasOneof(3);
- }
-
- /**
- * Represents a string value.
- *
- * Generated from protobuf field <code>string string_value = 3;</code>
- * @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 <code>bool bool_value = 4;</code>
- * @return bool
- */
- public function getBoolValue()
- {
- return $this->readOneof(4);
- }
-
- public function hasBoolValue()
- {
- return $this->hasOneof(4);
- }
-
- /**
- * Represents a boolean value.
- *
- * Generated from protobuf field <code>bool bool_value = 4;</code>
- * @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 <code>.google.protobuf.Struct struct_value = 5;</code>
- * @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 <code>.google.protobuf.Struct struct_value = 5;</code>
- * @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 <code>.google.protobuf.ListValue list_value = 6;</code>
- * @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 <code>.google.protobuf.ListValue list_value = 6;</code>
- * @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 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<!-- Install phpDocumentor to generate docs. -->
-<phpdoc>
- <parser>
- <target>doc</target>
- </parser>
- <transformer>
- <target>doc</target>
- </transformer>
- <files>
- <file>Google/Protobuf/Internal/MapField.php</file>
- <file>Google/Protobuf/Internal/Message.php</file>
- <file>Google/Protobuf/Internal/RepeatedField.php</file>
- </files>
-</phpdoc>
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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\API\Baggage;
-
-use OpenTelemetry\Context\Context;
-use OpenTelemetry\Context\ContextInterface;
-use OpenTelemetry\Context\ContextKeys;
-use OpenTelemetry\Context\ScopeInterface;
-
-final class Baggage implements BaggageInterface
-{
- private static ?self $emptyBaggage = null;
-
- /** @inheritDoc */
- public static function fromContext(ContextInterface $context): BaggageInterface
- {
- return $context->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<string, Entry> */
- private array $entries;
-
- /** @param array<string, Entry> $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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\API\Baggage;
-
-final class BaggageBuilder implements BaggageBuilderInterface
-{
- /** @var array<string, Entry> */
- private array $entries;
-
- /** @param array<string, Entry> $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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\API\Baggage;
-
-use OpenTelemetry\API\Baggage as API;
-
-interface BaggageBuilderInterface
-{
- /**
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/v1.6.1/specification/baggage/api.md#set-value
- * @param mixed $value
- */
- public function set(string $key, $value, API\MetadataInterface $metadata = null): API\BaggageBuilderInterface;
-
- /**
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/v1.6.1/specification/baggage/api.md#remove-value
- */
- public function remove(string $key): API\BaggageBuilderInterface;
-
- public function build(): API\BaggageInterface;
-}
diff --git a/vendor/open-telemetry/api/Baggage/BaggageInterface.php b/vendor/open-telemetry/api/Baggage/BaggageInterface.php
deleted file mode 100644
index 83f45755d..000000000
--- a/vendor/open-telemetry/api/Baggage/BaggageInterface.php
+++ /dev/null
@@ -1,62 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\API\Baggage;
-
-use OpenTelemetry\API\Baggage as API;
-use OpenTelemetry\Context\ContextInterface;
-use OpenTelemetry\Context\ImplicitContextKeyedInterface;
-
-/**
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/v1.6.1/specification/baggage/api.md#operations
- */
-interface BaggageInterface extends ImplicitContextKeyedInterface
-{
- /**
- * Returns the {@see API\BaggageInterface} from the provided *$context*,
- * falling back on {@see API\BaggageInterface::getEmpty()} if there is no baggage in the provided context.
- */
- public static function fromContext(ContextInterface $context): API\BaggageInterface;
-
- /**
- * Returns a new empty {@see API\BaggageBuilderInterface}.
- */
- public static function getBuilder(): API\BaggageBuilderInterface;
-
- /**
- * Returns the current {@see Baggage} from the current {@see ContextInterface},
- * falling back on {@see API\BaggageInterface::getEmpty()} if there is no baggage in the current context.
- */
- public static function getCurrent(): API\BaggageInterface;
-
- /**
- * Returns a new {@see API\BaggageInterface} with no entries.
- */
- public static function getEmpty(): API\BaggageInterface;
-
- /**
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/v1.6.1/specification/baggage/api.md#get-value
- */
- public function getEntry(string $key): ?API\Entry;
-
- /**
- * Returns the value from the {@see API\Entry} with the provided *key*.
- * @see getEntry
- *
- * @return mixed
- */
- public function getValue(string $key);
-
- /**
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/v1.6.1/specification/baggage/api.md#get-all-values
- */
- public function getAll(): iterable;
-
- public function isEmpty(): bool;
-
- /**
- * Returns a new {@see API\BaggageBuilderInterface} pre-initialized with the contents of `$this`.
- */
- public function toBuilder(): API\BaggageBuilderInterface;
-}
diff --git a/vendor/open-telemetry/api/Baggage/Entry.php b/vendor/open-telemetry/api/Baggage/Entry.php
deleted file mode 100644
index eb3d0de5b..000000000
--- a/vendor/open-telemetry/api/Baggage/Entry.php
+++ /dev/null
@@ -1,38 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\API\Baggage;
-
-final class Entry
-{
- /** @var mixed */
- private $value;
-
- private MetadataInterface $metadata;
-
- /**
- * @param mixed $value
- * @param MetadataInterface $metadata
- */
- public function __construct(
- $value,
- MetadataInterface $metadata
- ) {
- $this->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\API\Baggage;
-
-final class Metadata implements MetadataInterface
-{
- private static ?self $instance = null;
-
- public static function getEmpty(): Metadata
- {
- return self::$instance ??= new self('');
- }
-
- private string $metadata;
-
- public function __construct(string $metadata)
- {
- $this->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\API\Baggage;
-
-/**
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/v1.6.1/specification/baggage/api.md#set-value
- */
-interface MetadataInterface
-{
- public function getValue(): string;
-}
diff --git a/vendor/open-telemetry/api/Baggage/Propagation/BaggagePropagator.php b/vendor/open-telemetry/api/Baggage/Propagation/BaggagePropagator.php
deleted file mode 100644
index fae62dcab..000000000
--- a/vendor/open-telemetry/api/Baggage/Propagation/BaggagePropagator.php
+++ /dev/null
@@ -1,92 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\API\Baggage\Propagation;
-
-use OpenTelemetry\API\Baggage\Baggage;
-use OpenTelemetry\API\Baggage\BaggageBuilderInterface;
-use OpenTelemetry\API\Baggage\Entry; /** @phan-suppress-current-line PhanUnreferencedUseNormal */
-use OpenTelemetry\Context\Context;
-use OpenTelemetry\Context\ContextInterface;
-use OpenTelemetry\Context\Propagation\ArrayAccessGetterSetter;
-use OpenTelemetry\Context\Propagation\PropagationGetterInterface;
-use OpenTelemetry\Context\Propagation\PropagationSetterInterface;
-use OpenTelemetry\Context\Propagation\TextMapPropagatorInterface;
-use function rtrim;
-use function urlencode;
-
-/**
- * @see https://www.w3.org/TR/baggage
- */
-final class BaggagePropagator implements TextMapPropagatorInterface
-{
- public const BAGGAGE = 'baggage';
-
- private static ?self $instance = null;
-
- public static function getInstance(): self
- {
- if (null === self::$instance) {
- self::$instance = new self();
- }
-
- return self::$instance;
- }
-
- public function fields(): array
- {
- return [self::BAGGAGE];
- }
-
- public function inject(&$carrier, PropagationSetterInterface $setter = null, ContextInterface $context = null): void
- {
- $setter ??= ArrayAccessGetterSetter::getInstance();
- $context ??= Context::getCurrent();
-
- $baggage = Baggage::fromContext($context);
-
- if ($baggage->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\API\Baggage\Propagation;
-
-use function explode;
-use OpenTelemetry\API\Baggage\BaggageBuilderInterface;
-use OpenTelemetry\API\Baggage\Metadata;
-use function str_replace;
-use function trim;
-use function urldecode;
-
-final class Parser
-{
- private const EXCLUDED_KEY_CHARS = [' ', '(', ')', '<', '>', '@', ',', ';', ':', '\\', '"', '/', '[', ']', '?', '=', '{', '}'];
- 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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\API\Behavior\Internal\LogWriter;
-
-class ErrorLogWriter implements LogWriterInterface
-{
- public function write($level, string $message, array $context): void
- {
- error_log(Formatter::format($level, $message, $context));
- }
-}
diff --git a/vendor/open-telemetry/api/Behavior/Internal/LogWriter/Formatter.php b/vendor/open-telemetry/api/Behavior/Internal/LogWriter/Formatter.php
deleted file mode 100644
index 4cfd6f9d4..000000000
--- a/vendor/open-telemetry/api/Behavior/Internal/LogWriter/Formatter.php
+++ /dev/null
@@ -1,37 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\API\Behavior\Internal\LogWriter;
-
-class Formatter
-{
- public static function format($level, string $message, array $context): string
- {
- $exception = (array_key_exists('exception', $context) && $context['exception'] instanceof \Throwable)
- ? $context['exception']
- : null;
- if ($exception) {
- $message = sprintf(
- 'OpenTelemetry: [%s] %s [exception] %s%s%s',
- $level,
- $message,
- $exception->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\API\Behavior\Internal\LogWriter;
-
-interface LogWriterInterface
-{
- public function write($level, string $message, array $context): void;
-}
diff --git a/vendor/open-telemetry/api/Behavior/Internal/LogWriter/NoopLogWriter.php b/vendor/open-telemetry/api/Behavior/Internal/LogWriter/NoopLogWriter.php
deleted file mode 100644
index f7529c082..000000000
--- a/vendor/open-telemetry/api/Behavior/Internal/LogWriter/NoopLogWriter.php
+++ /dev/null
@@ -1,13 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\API\Behavior\Internal\LogWriter;
-
-class NoopLogWriter implements LogWriterInterface
-{
- public function write($level, string $message, array $context): void
- {
- //do nothing
- }
-}
diff --git a/vendor/open-telemetry/api/Behavior/Internal/LogWriter/Psr3LogWriter.php b/vendor/open-telemetry/api/Behavior/Internal/LogWriter/Psr3LogWriter.php
deleted file mode 100644
index 5b2d19c15..000000000
--- a/vendor/open-telemetry/api/Behavior/Internal/LogWriter/Psr3LogWriter.php
+++ /dev/null
@@ -1,22 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\API\Behavior\Internal\LogWriter;
-
-use Psr\Log\LoggerInterface;
-
-class Psr3LogWriter implements LogWriterInterface
-{
- private LoggerInterface $logger;
-
- public function __construct(LoggerInterface $logger)
- {
- $this->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\API\Behavior\Internal\LogWriter;
-
-class StreamLogWriter implements LogWriterInterface
-{
- private $stream;
-
- public function __construct(string $destination)
- {
- $stream = fopen($destination, 'a');
- if ($stream) {
- $this->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\API\Behavior\Internal;
-
-use OpenTelemetry\API\Behavior\Internal\LogWriter\ErrorLogWriter;
-use OpenTelemetry\API\Behavior\Internal\LogWriter\LogWriterInterface;
-use OpenTelemetry\API\Behavior\Internal\LogWriter\NoopLogWriter;
-use OpenTelemetry\API\Behavior\Internal\LogWriter\Psr3LogWriter;
-use OpenTelemetry\API\Behavior\Internal\LogWriter\StreamLogWriter;
-use OpenTelemetry\API\Instrumentation\ConfigurationResolver;
-use OpenTelemetry\API\LoggerHolder;
-
-class LogWriterFactory
-{
- private const OTEL_PHP_LOG_DESTINATION = 'OTEL_PHP_LOG_DESTINATION';
-
- public function create(): LogWriterInterface
- {
- $dest = (new ConfigurationResolver())->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\API\Behavior\Internal;
-
-use OpenTelemetry\API\Behavior\Internal\LogWriter\LogWriterInterface;
-use Psr\Log\LogLevel;
-
-/**
- * Logging utility functions for internal logging (of OpenTelemetry errors/warnings etc).
- * This is not part of SDK configuration to avoid creating a dependency on SDK from any package which does logging.
- * @todo this should be `@internal`, but deptrac is not happy with that.
- */
-class Logging
-{
- private const OTEL_LOG_LEVEL = 'OTEL_LOG_LEVEL';
- private const DEFAULT_LEVEL = LogLevel::INFO;
- private const NONE = 'none';
- private const LEVELS = [
- LogLevel::DEBUG,
- LogLevel::INFO,
- LogLevel::NOTICE,
- LogLevel::WARNING,
- LogLevel::ERROR,
- LogLevel::CRITICAL,
- LogLevel::ALERT,
- LogLevel::EMERGENCY,
- self::NONE, //highest priority so that nothing is logged
- ];
-
- /**
- * The minimum log level. Messages with lower severity than this will be ignored.
- */
- private static ?int $logLevel = null;
- private static ?LogWriterInterface $writer = null;
-
- public static function setLogWriter(LogWriterInterface $writer): void
- {
- self::$writer = $writer;
- }
-
- public static function logWriter(): LogWriterInterface
- {
- self::$writer ??= (new LogWriterFactory())->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\API\Behavior;
-
-use OpenTelemetry\API\Behavior\Internal\Logging;
-use Psr\Log\LogLevel;
-
-trait LogsMessagesTrait
-{
- private static function shouldLog(string $level): bool
- {
- return Logging::level($level) >= 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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\API;
-
-use function assert;
-use Closure;
-use const E_USER_WARNING;
-use OpenTelemetry\API\Instrumentation\Configurator;
-use OpenTelemetry\API\Instrumentation\ContextKeys;
-use OpenTelemetry\API\Logs\LoggerProviderInterface;
-use OpenTelemetry\API\Metrics\MeterProviderInterface;
-use OpenTelemetry\API\Trace\TracerProviderInterface;
-use OpenTelemetry\Context\Context;
-use OpenTelemetry\Context\Propagation\TextMapPropagatorInterface;
-use function sprintf;
-use Throwable;
-use function trigger_error;
-
-/**
- * Provides access to the globally configured instrumentation instances.
- */
-final class Globals
-{
- /** @var Closure[] */
- private static array $initializers = [];
- private static ?self $globals = null;
-
- private TracerProviderInterface $tracerProvider;
- private MeterProviderInterface $meterProvider;
- private TextMapPropagatorInterface $propagator;
- private LoggerProviderInterface $loggerProvider;
-
- public function __construct(
- TracerProviderInterface $tracerProvider,
- MeterProviderInterface $meterProvider,
- LoggerProviderInterface $loggerProvider,
- TextMapPropagatorInterface $propagator
- ) {
- $this->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\API\Instrumentation;
-
-use ArrayAccess;
-use function assert;
-use function class_exists;
-use OpenTelemetry\API\Globals;
-use OpenTelemetry\API\Logs\LoggerInterface;
-use OpenTelemetry\API\Logs\LoggerProviderInterface;
-use OpenTelemetry\API\Metrics\MeterInterface;
-use OpenTelemetry\API\Metrics\MeterProviderInterface;
-use OpenTelemetry\API\Trace\TracerInterface;
-use OpenTelemetry\API\Trace\TracerProviderInterface;
-use const PHP_VERSION_ID;
-
-/**
- * Provides access to cached {@link TracerInterface} and {@link MeterInterface}
- * instances.
- *
- * Autoinstrumentation should prefer using a {@link CachedInstrumentation}
- * instance over repeatedly obtaining instrumentation instances from
- * {@link Globals}.
- */
-final class CachedInstrumentation
-{
- private string $name;
- private ?string $version;
- private ?string $schemaUrl;
- private iterable $attributes;
- /** @var ArrayAccess<TracerProviderInterface, TracerInterface>|null */
- private ?ArrayAccess $tracers;
- /** @var ArrayAccess<MeterProviderInterface, MeterInterface>|null */
- private ?ArrayAccess $meters;
- /** @var ArrayAccess<LoggerProviderInterface, LoggerInterface>|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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\API\Instrumentation;
-
-class ConfigurationResolver implements ConfigurationResolverInterface
-{
- public function has(string $name): bool
- {
- return $this->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\API\Instrumentation;
-
-interface ConfigurationResolverInterface
-{
- public function has(string $name): bool;
- public function getString(string $name): ?string;
- public function getBoolean(string $name): ?bool;
- public function getInt(string $name): ?int;
- public function getList(string $name): array;
-}
diff --git a/vendor/open-telemetry/api/Instrumentation/Configurator.php b/vendor/open-telemetry/api/Instrumentation/Configurator.php
deleted file mode 100644
index 71d301363..000000000
--- a/vendor/open-telemetry/api/Instrumentation/Configurator.php
+++ /dev/null
@@ -1,113 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\API\Instrumentation;
-
-use OpenTelemetry\API\Logs\LoggerProviderInterface;
-use OpenTelemetry\API\Logs\NoopLoggerProvider;
-use OpenTelemetry\API\Metrics\MeterProviderInterface;
-use OpenTelemetry\API\Metrics\Noop\NoopMeterProvider;
-use OpenTelemetry\API\Trace\NoopTracerProvider;
-use OpenTelemetry\API\Trace\TracerProviderInterface;
-use OpenTelemetry\Context\Context;
-use OpenTelemetry\Context\ContextInterface;
-use OpenTelemetry\Context\ImplicitContextKeyedInterface;
-use OpenTelemetry\Context\Propagation\NoopTextMapPropagator;
-use OpenTelemetry\Context\Propagation\TextMapPropagatorInterface;
-use OpenTelemetry\Context\ScopeInterface;
-
-/**
- * Configures the global (context scoped) instrumentation instances.
- *
- * @see Configurator::activate()
- */
-final class Configurator implements ImplicitContextKeyedInterface
-{
- private ?TracerProviderInterface $tracerProvider = null;
- private ?MeterProviderInterface $meterProvider = null;
- private ?TextMapPropagatorInterface $propagator = null;
- private ?LoggerProviderInterface $loggerProvider = null;
-
- private function __construct()
- {
- }
-
- /**
- * Creates a configurator that uses parent instances for not configured values.
- */
- public static function create(): Configurator
- {
- return new self();
- }
-
- /**
- * Creates a configurator that uses noop instances for not configured values.
- */
- public static function createNoop(): Configurator
- {
- return self::create()
- ->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\API\Instrumentation;
-
-use OpenTelemetry\API\Logs\LoggerProviderInterface;
-use OpenTelemetry\API\Metrics\MeterProviderInterface;
-use OpenTelemetry\API\Trace\TracerProviderInterface;
-use OpenTelemetry\Context\Context;
-use OpenTelemetry\Context\ContextKeyInterface;
-use OpenTelemetry\Context\Propagation\TextMapPropagatorInterface;
-
-/**
- * @internal
- */
-final class ContextKeys
-{
- /**
- * @return ContextKeyInterface<TracerProviderInterface>
- */
- public static function tracerProvider(): ContextKeyInterface
- {
- static $instance;
-
- return $instance ??= Context::createKey(TracerProviderInterface::class);
- }
-
- /**
- * @return ContextKeyInterface<MeterProviderInterface>
- */
- public static function meterProvider(): ContextKeyInterface
- {
- static $instance;
-
- return $instance ??= Context::createKey(MeterProviderInterface::class);
- }
-
- /**
- * @return ContextKeyInterface<TextMapPropagatorInterface>
- */
- public static function propagator(): ContextKeyInterface
- {
- static $instance;
-
- return $instance ??= Context::createKey(TextMapPropagatorInterface::class);
- }
-
- /**
- * @return ContextKeyInterface<LoggerProviderInterface>
- */
- 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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\API\Instrumentation;
-
-use OpenTelemetry\API\Metrics\MeterInterface;
-use OpenTelemetry\API\Metrics\MeterProviderInterface;
-use OpenTelemetry\API\Trace\TracerInterface;
-use OpenTelemetry\API\Trace\TracerProviderInterface;
-use OpenTelemetry\Context\Propagation\TextMapPropagatorInterface;
-use Psr\Log\LoggerInterface;
-
-interface InstrumentationInterface
-{
- public function getName(): string;
-
- public function getVersion(): ?string;
-
- public function getSchemaUrl(): ?string;
-
- public function init(): bool;
-
- public function activate(): bool;
-
- public function setPropagator(TextMapPropagatorInterface $propagator): void;
-
- public function getPropagator(): TextMapPropagatorInterface;
-
- public function setTracerProvider(TracerProviderInterface $tracerProvider): void;
-
- public function getTracerProvider(): TracerProviderInterface;
-
- public function getTracer(): TracerInterface;
-
- public function setMeterProvider(MeterProviderInterface $meterProvider): void;
-
- public function getMeter(): MeterInterface;
-
- public function setLogger(LoggerInterface $logger): void;
-
- public function getLogger(): LoggerInterface;
-}
diff --git a/vendor/open-telemetry/api/Instrumentation/InstrumentationTrait.php b/vendor/open-telemetry/api/Instrumentation/InstrumentationTrait.php
deleted file mode 100644
index 1e695adb5..000000000
--- a/vendor/open-telemetry/api/Instrumentation/InstrumentationTrait.php
+++ /dev/null
@@ -1,193 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\API\Instrumentation;
-
-use OpenTelemetry\API\Metrics\MeterInterface;
-use OpenTelemetry\API\Metrics\MeterProviderInterface;
-use OpenTelemetry\API\Metrics\Noop\NoopMeter;
-use OpenTelemetry\API\Trace\NoopTracer;
-use OpenTelemetry\API\Trace\NoopTracerProvider;
-use OpenTelemetry\API\Trace\TracerInterface;
-use OpenTelemetry\API\Trace\TracerProviderInterface;
-use OpenTelemetry\Context\Propagation\NoopTextMapPropagator;
-use OpenTelemetry\Context\Propagation\TextMapPropagatorInterface;
-use Psr\Log\LoggerInterface;
-use Psr\Log\NullLogger;
-use RuntimeException;
-
-/**
- This trait in conjunction with the InstrumentationInterface is meant as a base for instrumentations for the
- OpenTelemetry API.
- Instrumentations need to implement the abstract methods of this trait (besides any instrumentation specific code)
-
- A very simplified instrumentation could look like this:
-
-class Instrumentation implements InstrumentationInterface
-{
- use InstrumentationTrait;
-
- public function getName(): string
- {
- return 'foo-instrumentation';
- }
-
- public function getVersion(): ?string
- {
- return '0.0.1';
- }
-
- public function getSchemaUrl(): ?string
- {
- return null;
- }
-
- public function init(): bool
- {
- // This is just an example. In a real-world scenario one should only create spans in reaction of things
- // happening in the instrumented code, not just for the sake of it.
- $span = $this->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\API;
-
-use Psr\Log\LoggerInterface;
-use Psr\Log\NullLogger;
-
-final class LoggerHolder
-{
- private static ?LoggerInterface $logger = null;
-
- /**
- * This constructor is a temporary solution to ease the setup of the logger with DI libraries
- */
- public function __construct(?LoggerInterface $logger = null)
- {
- self::$logger = $logger;
- }
-
- /**
- * @suppress PhanTypeMismatchReturnNullable
- * @internal
- */
- public static function get(): ?LoggerInterface
- {
- return self::$logger;
- }
-
- public static function set(?LoggerInterface $logger): void
- {
- self::$logger = $logger;
- }
-
- public static function isSet(): bool
- {
- return null !== self::$logger;
- }
-
- public static function unset(): void
- {
- self::$logger = null;
- }
-
- /**
- * Disable psr-3 logging
- */
- public static function disable(): void
- {
- self::$logger = new NullLogger();
- }
-}
diff --git a/vendor/open-telemetry/api/Logs/EventLogger.php b/vendor/open-telemetry/api/Logs/EventLogger.php
deleted file mode 100644
index 68deb865c..000000000
--- a/vendor/open-telemetry/api/Logs/EventLogger.php
+++ /dev/null
@@ -1,26 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\API\Logs;
-
-class EventLogger implements EventLoggerInterface
-{
- private LoggerInterface $logger;
- private string $domain;
-
- public function __construct(LoggerInterface $logger, string $domain)
- {
- $this->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\API\Logs;
-
-/**
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/logs/event-api.md#events-api-interface
- */
-interface EventLoggerInterface
-{
- public function logEvent(string $eventName, LogRecord $logRecord): void;
-}
diff --git a/vendor/open-telemetry/api/Logs/LogRecord.php b/vendor/open-telemetry/api/Logs/LogRecord.php
deleted file mode 100644
index 6833c71f9..000000000
--- a/vendor/open-telemetry/api/Logs/LogRecord.php
+++ /dev/null
@@ -1,108 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\API\Logs;
-
-use OpenTelemetry\Context\ContextInterface;
-
-class LogRecord
-{
- public const NANOS_PER_SECOND = 1_000_000_000;
-
- protected ?int $timestamp = null;
- protected ?int $observedTimestamp = null;
- protected ?ContextInterface $context = null;
- protected int $severityNumber = 0;
- protected ?string $severityText = null;
- protected $body = null;
- protected array $attributes = [];
-
- /**
- * @param mixed $body
- */
- public function __construct($body = null)
- {
- $this->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\API\Logs;
-
-interface LoggerInterface
-{
- public function emit(LogRecord $logRecord): void;
-}
diff --git a/vendor/open-telemetry/api/Logs/LoggerProviderInterface.php b/vendor/open-telemetry/api/Logs/LoggerProviderInterface.php
deleted file mode 100644
index e60353de2..000000000
--- a/vendor/open-telemetry/api/Logs/LoggerProviderInterface.php
+++ /dev/null
@@ -1,18 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\API\Logs;
-
-/**
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/logs/bridge-api.md#get-a-logger
- */
-interface LoggerProviderInterface
-{
- public function getLogger(
- string $name,
- ?string $version = null,
- ?string $schemaUrl = null,
- iterable $attributes = [] //instrumentation scope attributes
- ): LoggerInterface;
-}
diff --git a/vendor/open-telemetry/api/Logs/Map/Psr3.php b/vendor/open-telemetry/api/Logs/Map/Psr3.php
deleted file mode 100644
index 8fd85fad0..000000000
--- a/vendor/open-telemetry/api/Logs/Map/Psr3.php
+++ /dev/null
@@ -1,40 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\API\Logs\Map;
-
-use Psr\Log\LogLevel;
-
-class Psr3
-{
- /**
- * Maps PSR-3 severity level (string) to the appropriate opentelemetry severity number
- *
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/logs/data-model-appendix.md#appendix-b-severitynumber-example-mappings
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/logs/data-model.md#field-severitynumber
- */
- public static function severityNumber(string $level): int
- {
- switch (strtolower($level)) {
- case LogLevel::DEBUG:
- return 5;
- case LogLevel::INFO:
- return 9;
- case LogLevel::NOTICE:
- return 10;
- case LogLevel::WARNING:
- return 13;
- case LogLevel::ERROR:
- return 17;
- case LogLevel::CRITICAL:
- return 18;
- case LogLevel::ALERT:
- return 19;
- case LogLevel::EMERGENCY:
- return 21;
- default:
- return 0;
- }
- }
-}
diff --git a/vendor/open-telemetry/api/Logs/NoopLogger.php b/vendor/open-telemetry/api/Logs/NoopLogger.php
deleted file mode 100644
index faacd5e10..000000000
--- a/vendor/open-telemetry/api/Logs/NoopLogger.php
+++ /dev/null
@@ -1,33 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\API\Logs;
-
-use Psr\Log\LoggerTrait;
-
-class NoopLogger implements LoggerInterface
-{
- use LoggerTrait;
-
- public static function getInstance(): self
- {
- static $instance;
-
- return $instance ??= new self();
- }
-
- /**
- * @codeCoverageIgnore
- */
- public function emit(LogRecord $logRecord): void
- {
- }
-
- /**
- * @codeCoverageIgnore
- */
- public function log($level, $message, array $context = []): void
- {
- }
-}
diff --git a/vendor/open-telemetry/api/Logs/NoopLoggerProvider.php b/vendor/open-telemetry/api/Logs/NoopLoggerProvider.php
deleted file mode 100644
index 8b00b6637..000000000
--- a/vendor/open-telemetry/api/Logs/NoopLoggerProvider.php
+++ /dev/null
@@ -1,20 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\API\Logs;
-
-class NoopLoggerProvider implements LoggerProviderInterface
-{
- public static function getInstance(): self
- {
- static $instance;
-
- return $instance ??= new self();
- }
-
- public function getLogger(string $name, ?string $version = null, ?string $schemaUrl = null, iterable $attributes = []): LoggerInterface
- {
- return NoopLogger::getInstance();
- }
-}
diff --git a/vendor/open-telemetry/api/Logs/README.md b/vendor/open-telemetry/api/Logs/README.md
deleted file mode 100644
index d0bdb923e..000000000
--- a/vendor/open-telemetry/api/Logs/README.md
+++ /dev/null
@@ -1,19 +0,0 @@
-# Logs API
-
-This `Logger` API is not designed to be used by application developers, but rather by library developers for the purpose
-of integrating existing logging libraries with OpenTelemetry.
-
-## Logging from 3rd party loggers
-
-3rd party loggers should log to OpenTelemetry in accordance with the
-[logs bridge API](https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/logs/bridge-api.md)
-specification.
-
-This means that a "log appender" in the 3rd party logging library (sometimes known as a "handler") should:
-- accept an `OpenTelemetry\API\Logs\LoggerProviderInterface`, or obtain a globally registered one from `OpenTelemetry\API\Instrumentation\Globals`
-- obtain a `Logger` from the logger provider (optionally adding any resources that should be associated with logs emitted)
-- convert logs from its own log format into OpenTelemetry's `LogRecord` format
-- send the logs to OpenTelemetry via `Logger::logRecord()`
-
-See [monolog-otel-integration](/examples/logs/features/monolog-otel-integration.php) for an example.
-
diff --git a/vendor/open-telemetry/api/Metrics/CounterInterface.php b/vendor/open-telemetry/api/Metrics/CounterInterface.php
deleted file mode 100644
index f0da706e1..000000000
--- a/vendor/open-telemetry/api/Metrics/CounterInterface.php
+++ /dev/null
@@ -1,21 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\API\Metrics;
-
-use OpenTelemetry\Context\ContextInterface;
-
-interface CounterInterface
-{
-
- /**
- * @param float|int $amount non-negative amount to increment by
- * @param iterable<non-empty-string, string|bool|float|int|array|null> $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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\API\Metrics;
-
-use OpenTelemetry\Context\ContextInterface;
-
-interface HistogramInterface
-{
-
- /**
- * @param float|int $amount non-negative amount to record
- * @param iterable<non-empty-string, string|bool|float|int|array|null> $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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\API\Metrics;
-
-interface MeterInterface
-{
-
- /**
- * Creates a `Counter`.
- *
- * @param string $name name of the instrument
- * @param string|null $unit unit of measure
- * @param string|null $description description of the instrument
- * @return CounterInterface created instrument
- *
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/metrics/api.md#counter-creation
- */
- public function createCounter(
- string $name,
- ?string $unit = null,
- ?string $description = null
- ): CounterInterface;
-
- /**
- * Creates an `ObservableCounter`.
- *
- * @param string $name name of the instrument
- * @param string|null $unit unit of measure
- * @param string|null $description description of the instrument
- * @param callable ...$callbacks responsible for reporting measurements
- * @return ObservableCounterInterface created instrument
- *
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/metrics/api.md#asynchronous-counter-creation
- */
- public function createObservableCounter(
- string $name,
- ?string $unit = null,
- ?string $description = null,
- callable ...$callbacks
- ): ObservableCounterInterface;
-
- /**
- * Creates a `Histogram`.
- *
- * @param string $name name of the instrument
- * @param string|null $unit unit of measure
- * @param string|null $description description of the instrument
- * @return HistogramInterface created instrument
- *
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/metrics/api.md#histogram-creation
- */
- public function createHistogram(
- string $name,
- ?string $unit = null,
- ?string $description = null
- ): HistogramInterface;
-
- /**
- * Creates an `ObservableGauge`.
- *
- * @param string $name name of the instrument
- * @param string|null $unit unit of measure
- * @param string|null $description description of the instrument
- * @param callable ...$callbacks responsible for reporting measurements
- * @return ObservableGaugeInterface created instrument
- *
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/metrics/api.md#asynchronous-gauge-creation
- */
- public function createObservableGauge(
- string $name,
- ?string $unit = null,
- ?string $description = null,
- callable ...$callbacks
- ): ObservableGaugeInterface;
-
- /**
- * Creates an `UpDownCounter`.
- *
- * @param string $name name of the instrument
- * @param string|null $unit unit of measure
- * @param string|null $description description of the instrument
- * @return UpDownCounterInterface created instrument
- *
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/metrics/api.md#updowncounter-creation
- */
- public function createUpDownCounter(
- string $name,
- ?string $unit = null,
- ?string $description = null
- ): UpDownCounterInterface;
-
- /**
- * Creates an `ObservableUpDownCounter`.
- *
- * @param string $name name of the instrument
- * @param string|null $unit unit of measure
- * @param string|null $description description of the instrument
- * @param callable ...$callbacks responsible for reporting measurements
- * @return ObservableUpDownCounterInterface created instrument
- *
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/metrics/api.md#asynchronous-updowncounter-creation
- */
- public function createObservableUpDownCounter(
- string $name,
- ?string $unit = null,
- ?string $description = null,
- callable ...$callbacks
- ): ObservableUpDownCounterInterface;
-}
diff --git a/vendor/open-telemetry/api/Metrics/MeterProviderInterface.php b/vendor/open-telemetry/api/Metrics/MeterProviderInterface.php
deleted file mode 100644
index f8fa07a2e..000000000
--- a/vendor/open-telemetry/api/Metrics/MeterProviderInterface.php
+++ /dev/null
@@ -1,28 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\API\Metrics;
-
-interface MeterProviderInterface
-{
-
- /**
- * Returns a `Meter` for the given instrumentation scope.
- *
- * @param string $name name of the instrumentation scope
- * @param string|null $version version of the instrumentation scope
- * @param string|null $schemaUrl schema url to record in the emitted telemetry
- * @param iterable<non-empty-string, string|bool|float|int|array|null> $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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\API\Metrics\Noop;
-
-use OpenTelemetry\API\Metrics\CounterInterface;
-
-/**
- * @internal
- */
-final class NoopCounter implements CounterInterface
-{
- public function add($amount, iterable $attributes = [], $context = null): void
- {
- // no-op
- }
-}
diff --git a/vendor/open-telemetry/api/Metrics/Noop/NoopHistogram.php b/vendor/open-telemetry/api/Metrics/Noop/NoopHistogram.php
deleted file mode 100644
index 79f0e60ce..000000000
--- a/vendor/open-telemetry/api/Metrics/Noop/NoopHistogram.php
+++ /dev/null
@@ -1,18 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\API\Metrics\Noop;
-
-use OpenTelemetry\API\Metrics\HistogramInterface;
-
-/**
- * @internal
- */
-final class NoopHistogram implements HistogramInterface
-{
- public function record($amount, iterable $attributes = [], $context = null): void
- {
- // no-op
- }
-}
diff --git a/vendor/open-telemetry/api/Metrics/Noop/NoopMeter.php b/vendor/open-telemetry/api/Metrics/Noop/NoopMeter.php
deleted file mode 100644
index 31e3bd35c..000000000
--- a/vendor/open-telemetry/api/Metrics/Noop/NoopMeter.php
+++ /dev/null
@@ -1,46 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\API\Metrics\Noop;
-
-use OpenTelemetry\API\Metrics\CounterInterface;
-use OpenTelemetry\API\Metrics\HistogramInterface;
-use OpenTelemetry\API\Metrics\MeterInterface;
-use OpenTelemetry\API\Metrics\ObservableCounterInterface;
-use OpenTelemetry\API\Metrics\ObservableGaugeInterface;
-use OpenTelemetry\API\Metrics\ObservableUpDownCounterInterface;
-use OpenTelemetry\API\Metrics\UpDownCounterInterface;
-
-final class NoopMeter implements MeterInterface
-{
- public function createCounter(string $name, ?string $unit = null, ?string $description = null): CounterInterface
- {
- return new NoopCounter();
- }
-
- public function createObservableCounter(string $name, ?string $unit = null, ?string $description = null, callable ...$callbacks): ObservableCounterInterface
- {
- return new NoopObservableCounter();
- }
-
- public function createHistogram(string $name, ?string $unit = null, ?string $description = null): HistogramInterface
- {
- return new NoopHistogram();
- }
-
- public function createObservableGauge(string $name, ?string $unit = null, ?string $description = null, callable ...$callbacks): ObservableGaugeInterface
- {
- return new NoopObservableGauge();
- }
-
- public function createUpDownCounter(string $name, ?string $unit = null, ?string $description = null): UpDownCounterInterface
- {
- return new NoopUpDownCounter();
- }
-
- public function createObservableUpDownCounter(string $name, ?string $unit = null, ?string $description = null, callable ...$callbacks): ObservableUpDownCounterInterface
- {
- return new NoopObservableUpDownCounter();
- }
-}
diff --git a/vendor/open-telemetry/api/Metrics/Noop/NoopMeterProvider.php b/vendor/open-telemetry/api/Metrics/Noop/NoopMeterProvider.php
deleted file mode 100644
index b4b5810eb..000000000
--- a/vendor/open-telemetry/api/Metrics/Noop/NoopMeterProvider.php
+++ /dev/null
@@ -1,20 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\API\Metrics\Noop;
-
-use OpenTelemetry\API\Metrics\MeterInterface;
-use OpenTelemetry\API\Metrics\MeterProviderInterface;
-
-final class NoopMeterProvider implements MeterProviderInterface
-{
- public function getMeter(
- string $name,
- ?string $version = null,
- ?string $schemaUrl = null,
- iterable $attributes = []
- ): MeterInterface {
- return new NoopMeter();
- }
-}
diff --git a/vendor/open-telemetry/api/Metrics/Noop/NoopObservableCallback.php b/vendor/open-telemetry/api/Metrics/Noop/NoopObservableCallback.php
deleted file mode 100644
index c933bd506..000000000
--- a/vendor/open-telemetry/api/Metrics/Noop/NoopObservableCallback.php
+++ /dev/null
@@ -1,18 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\API\Metrics\Noop;
-
-use OpenTelemetry\API\Metrics\ObservableCallbackInterface;
-
-/**
- * @internal
- */
-final class NoopObservableCallback implements ObservableCallbackInterface
-{
- public function detach(): void
- {
- // no-op
- }
-}
diff --git a/vendor/open-telemetry/api/Metrics/Noop/NoopObservableCounter.php b/vendor/open-telemetry/api/Metrics/Noop/NoopObservableCounter.php
deleted file mode 100644
index 41e363201..000000000
--- a/vendor/open-telemetry/api/Metrics/Noop/NoopObservableCounter.php
+++ /dev/null
@@ -1,19 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\API\Metrics\Noop;
-
-use OpenTelemetry\API\Metrics\ObservableCallbackInterface;
-use OpenTelemetry\API\Metrics\ObservableCounterInterface;
-
-/**
- * @internal
- */
-final class NoopObservableCounter implements ObservableCounterInterface
-{
- public function observe(callable $callback, bool $weaken = false): ObservableCallbackInterface
- {
- return new NoopObservableCallback();
- }
-}
diff --git a/vendor/open-telemetry/api/Metrics/Noop/NoopObservableGauge.php b/vendor/open-telemetry/api/Metrics/Noop/NoopObservableGauge.php
deleted file mode 100644
index 987a530c8..000000000
--- a/vendor/open-telemetry/api/Metrics/Noop/NoopObservableGauge.php
+++ /dev/null
@@ -1,19 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\API\Metrics\Noop;
-
-use OpenTelemetry\API\Metrics\ObservableCallbackInterface;
-use OpenTelemetry\API\Metrics\ObservableGaugeInterface;
-
-/**
- * @internal
- */
-final class NoopObservableGauge implements ObservableGaugeInterface
-{
- public function observe(callable $callback, bool $weaken = false): ObservableCallbackInterface
- {
- return new NoopObservableCallback();
- }
-}
diff --git a/vendor/open-telemetry/api/Metrics/Noop/NoopObservableUpDownCounter.php b/vendor/open-telemetry/api/Metrics/Noop/NoopObservableUpDownCounter.php
deleted file mode 100644
index 65a2bb830..000000000
--- a/vendor/open-telemetry/api/Metrics/Noop/NoopObservableUpDownCounter.php
+++ /dev/null
@@ -1,19 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\API\Metrics\Noop;
-
-use OpenTelemetry\API\Metrics\ObservableCallbackInterface;
-use OpenTelemetry\API\Metrics\ObservableUpDownCounterInterface;
-
-/**
- * @internal
- */
-final class NoopObservableUpDownCounter implements ObservableUpDownCounterInterface
-{
- public function observe(callable $callback, bool $weaken = false): ObservableCallbackInterface
- {
- return new NoopObservableCallback();
- }
-}
diff --git a/vendor/open-telemetry/api/Metrics/Noop/NoopUpDownCounter.php b/vendor/open-telemetry/api/Metrics/Noop/NoopUpDownCounter.php
deleted file mode 100644
index e26140b7c..000000000
--- a/vendor/open-telemetry/api/Metrics/Noop/NoopUpDownCounter.php
+++ /dev/null
@@ -1,18 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\API\Metrics\Noop;
-
-use OpenTelemetry\API\Metrics\UpDownCounterInterface;
-
-/**
- * @internal
- */
-final class NoopUpDownCounter implements UpDownCounterInterface
-{
- public function add($amount, iterable $attributes = [], $context = null): void
- {
- // no-op
- }
-}
diff --git a/vendor/open-telemetry/api/Metrics/ObservableCallbackInterface.php b/vendor/open-telemetry/api/Metrics/ObservableCallbackInterface.php
deleted file mode 100644
index a20e59666..000000000
--- a/vendor/open-telemetry/api/Metrics/ObservableCallbackInterface.php
+++ /dev/null
@@ -1,56 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\API\Metrics;
-
-/**
- * An observed callback.
- *
- * Callbacks that are bound to an object are automatically detached when the
- * `ObservableCallbackInterface` and the bound object are out of scope.
- * This means that the `ObservableCallbackInterface` can be ignored if the
- * observed callback should be bound to the lifetime of the object.
- * ```php
- * class Example {
- * function __construct(MeterProviderInterface $meterProvider) {
- * $meterProvider->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\API\Metrics;
-
-interface ObservableCounterInterface
-{
-
- /**
- * @param callable(ObserverInterface): void $callback function responsible for
- * reporting the measurements (as absolute values)
- * @return ObservableCallbackInterface token to detach callback
- */
- public function observe(callable $callback): ObservableCallbackInterface;
-}
diff --git a/vendor/open-telemetry/api/Metrics/ObservableGaugeInterface.php b/vendor/open-telemetry/api/Metrics/ObservableGaugeInterface.php
deleted file mode 100644
index afe59a777..000000000
--- a/vendor/open-telemetry/api/Metrics/ObservableGaugeInterface.php
+++ /dev/null
@@ -1,16 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\API\Metrics;
-
-interface ObservableGaugeInterface
-{
-
- /**
- * @param callable(ObserverInterface): void $callback function responsible for
- * reporting the measurements
- * @return ObservableCallbackInterface token to detach callback
- */
- public function observe(callable $callback): ObservableCallbackInterface;
-}
diff --git a/vendor/open-telemetry/api/Metrics/ObservableUpDownCounterInterface.php b/vendor/open-telemetry/api/Metrics/ObservableUpDownCounterInterface.php
deleted file mode 100644
index 79548dec6..000000000
--- a/vendor/open-telemetry/api/Metrics/ObservableUpDownCounterInterface.php
+++ /dev/null
@@ -1,16 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\API\Metrics;
-
-interface ObservableUpDownCounterInterface
-{
-
- /**
- * @param callable(ObserverInterface): void $callback function responsible for
- * reporting the measurements (as absolute values)
- * @return ObservableCallbackInterface token to detach callback
- */
- public function observe(callable $callback): ObservableCallbackInterface;
-}
diff --git a/vendor/open-telemetry/api/Metrics/ObserverInterface.php b/vendor/open-telemetry/api/Metrics/ObserverInterface.php
deleted file mode 100644
index 36e0ea791..000000000
--- a/vendor/open-telemetry/api/Metrics/ObserverInterface.php
+++ /dev/null
@@ -1,18 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\API\Metrics;
-
-interface ObserverInterface
-{
-
- /**
- * Records the given absolute datapoint.
- *
- * @param float|int $amount observed amount
- * @param iterable<non-empty-string, string|bool|float|int|array|null> $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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\API\Metrics;
-
-use OpenTelemetry\Context\ContextInterface;
-
-interface UpDownCounterInterface
-{
-
- /**
- * @param float|int $amount amount to increment / decrement by
- * @param iterable<non-empty-string, string|bool|float|int|array|null> $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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\API;
-
-interface Signals
-{
- /** @var string */
- public const TRACE = 'trace';
- /** @var string */
- public const METRICS = 'metrics';
- /** @var string */
- public const LOGS = 'logs';
- /** @var string[] */
- public const SIGNALS = [
- self::TRACE,
- self::METRICS,
- self::LOGS,
- ];
-}
diff --git a/vendor/open-telemetry/api/Trace/NonRecordingSpan.php b/vendor/open-telemetry/api/Trace/NonRecordingSpan.php
deleted file mode 100644
index 67d74d39b..000000000
--- a/vendor/open-telemetry/api/Trace/NonRecordingSpan.php
+++ /dev/null
@@ -1,76 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\API\Trace;
-
-use Throwable;
-
-/**
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/v1.6.1/specification/trace/api.md#wrapping-a-spancontext-in-a-span
- *
- * @psalm-internal OpenTelemetry
- */
-final class NonRecordingSpan extends Span
-{
- private SpanContextInterface $context;
-
- public function __construct(
- SpanContextInterface $context
- ) {
- $this->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\API\Trace;
-
-use OpenTelemetry\Context\Context;
-use OpenTelemetry\Context\ContextInterface;
-use OpenTelemetry\Context\ContextStorageInterface;
-
-final class NoopSpanBuilder implements SpanBuilderInterface
-{
- private ContextStorageInterface $contextStorage;
-
- /** @var ContextInterface|false|null */
- private $parentContext = null;
-
- public function __construct(ContextStorageInterface $contextStorage)
- {
- $this->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\API\Trace;
-
-use OpenTelemetry\Context\Context;
-
-final class NoopTracer implements TracerInterface
-{
- private static ?self $instance = null;
-
- public static function getInstance(): self
- {
- if (null === self::$instance) {
- self::$instance = new self();
- }
-
- return self::$instance;
- }
-
- public function spanBuilder(string $spanName): SpanBuilderInterface
- {
- return new NoopSpanBuilder(Context::storage());
- }
-}
diff --git a/vendor/open-telemetry/api/Trace/NoopTracerProvider.php b/vendor/open-telemetry/api/Trace/NoopTracerProvider.php
deleted file mode 100644
index e186a6fd9..000000000
--- a/vendor/open-telemetry/api/Trace/NoopTracerProvider.php
+++ /dev/null
@@ -1,17 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\API\Trace;
-
-class NoopTracerProvider implements TracerProviderInterface
-{
- public function getTracer(
- string $name,
- ?string $version = null,
- ?string $schemaUrl = null,
- iterable $attributes = []
- ): TracerInterface {
- return NoopTracer::getInstance();
- }
-}
diff --git a/vendor/open-telemetry/api/Trace/Propagation/TraceContextPropagator.php b/vendor/open-telemetry/api/Trace/Propagation/TraceContextPropagator.php
deleted file mode 100644
index b70a15647..000000000
--- a/vendor/open-telemetry/api/Trace/Propagation/TraceContextPropagator.php
+++ /dev/null
@@ -1,157 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\API\Trace\Propagation;
-
-use function count;
-use function explode;
-use function hexdec;
-use OpenTelemetry\API\Trace\Span;
-use OpenTelemetry\API\Trace\SpanContext;
-use OpenTelemetry\API\Trace\SpanContextInterface;
-use OpenTelemetry\API\Trace\SpanContextValidator;
-use OpenTelemetry\API\Trace\TraceFlags;
-use OpenTelemetry\API\Trace\TraceState;
-use OpenTelemetry\Context\Context;
-use OpenTelemetry\Context\ContextInterface;
-use OpenTelemetry\Context\Propagation\ArrayAccessGetterSetter;
-use OpenTelemetry\Context\Propagation\PropagationGetterInterface;
-use OpenTelemetry\Context\Propagation\PropagationSetterInterface;
-use OpenTelemetry\Context\Propagation\TextMapPropagatorInterface;
-
-/**
- * TraceContext is a propagator that supports the W3C Trace Context format
- * (https://www.w3.org/TR/trace-context/)
- *
- * This propagator will propagate the traceparent and tracestate headers to
- * guarantee traces are not broken. It is up to the users of this propagator
- * to choose if they want to participate in a trace by modifying the
- * traceparent header and relevant parts of the tracestate header containing
- * their proprietary information.
- */
-final class TraceContextPropagator implements TextMapPropagatorInterface
-{
- public const TRACEPARENT = 'traceparent';
- public const TRACESTATE = 'tracestate';
- private const VERSION = '00'; // Currently, only '00' is supported
-
- public const FIELDS = [
- self::TRACEPARENT,
- self::TRACESTATE,
- ];
-
- private static ?self $instance = null;
-
- public static function getInstance(): self
- {
- if (null === self::$instance) {
- self::$instance = new self();
- }
-
- return self::$instance;
- }
-
- /** {@inheritdoc} */
- public function fields(): array
- {
- return self::FIELDS;
- }
-
- /** {@inheritdoc} */
- public function inject(&$carrier, PropagationSetterInterface $setter = null, ContextInterface $context = null): void
- {
- $setter ??= ArrayAccessGetterSetter::getInstance();
- $context ??= Context::getCurrent();
- $spanContext = Span::fromContext($context)->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\API\Trace\Propagation;
-
-use function strlen;
-
-class TraceContextValidator
-{
- public const TRACE_FLAG_LENGTH = 2;
- public const TRACE_VERSION_REGEX = '/^(?!ff)[\da-f]{2}$/';
-
- /**
- * @param string $traceVersion
- * @return bool Returns a value that indicates whether a trace version is valid.
- */
- public static function isValidTraceVersion(string $traceVersion): bool
- {
- return 1 === preg_match(self::TRACE_VERSION_REGEX, $traceVersion);
- }
-
- /**
- * @return bool Returns a value that indicates whether trace flag is valid
- * TraceFlags must be exactly 1 bytes (1 char) representing a bit field
- */
- public static function isValidTraceFlag(string $traceFlag): bool
- {
- return ctype_xdigit($traceFlag) && strlen($traceFlag) === self::TRACE_FLAG_LENGTH;
- }
-}
diff --git a/vendor/open-telemetry/api/Trace/Span.php b/vendor/open-telemetry/api/Trace/Span.php
deleted file mode 100644
index 88360e6cd..000000000
--- a/vendor/open-telemetry/api/Trace/Span.php
+++ /dev/null
@@ -1,59 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\API\Trace;
-
-use OpenTelemetry\Context\Context;
-use OpenTelemetry\Context\ContextInterface;
-use OpenTelemetry\Context\ContextKeys;
-use OpenTelemetry\Context\ScopeInterface;
-
-abstract class Span implements SpanInterface
-{
- private static ?self $invalidSpan = null;
-
- /** @inheritDoc */
- final public static function fromContext(ContextInterface $context): SpanInterface
- {
- return $context->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\API\Trace;
-
-use OpenTelemetry\Context\ContextInterface;
-
-/**
- * Obtained from a {@see TracerInterface} and used to construct a {@see SpanInterface}.
- */
-interface SpanBuilderInterface
-{
- /**
- * Sets the parent `Context`.
- *
- * @param ContextInterface|false|null $context the parent context, null to use the
- * current context, false to set no parent
- * @return SpanBuilderInterface this span builder
- *
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/api.md#span-creation
- */
- public function setParent($context): SpanBuilderInterface;
-
- public function addLink(SpanContextInterface $context, iterable $attributes = []): SpanBuilderInterface;
- public function setAttribute(string $key, $value): SpanBuilderInterface;
- public function setAttributes(iterable $attributes): SpanBuilderInterface;
-
- /**
- * Sets an explicit start timestamp for the newly created {@see SpanInterface}.
- * The provided *$timestamp* is assumed to be in nanoseconds.
- *
- * Defaults to the timestamp when {@see SpanBuilderInterface::startSpan} was called if not explicitly set.
- */
- public function setStartTimestamp(int $timestampNanos): SpanBuilderInterface;
-
- /**
- * @psalm-param SpanKind::KIND_* $spanKind
- */
- public function setSpanKind(int $spanKind): SpanBuilderInterface;
-
- /**
- * Starts and returns a new {@see SpanInterface}.
- *
- * The user _MUST_ manually end the span by calling {@see SpanInterface::end}.
- *
- * This method does _NOT_ automatically install the span into the current context.
- * The user is responsible for calling {@see SpanInterface::activate} when they wish to do so.
- */
- public function startSpan(): SpanInterface;
-}
diff --git a/vendor/open-telemetry/api/Trace/SpanContext.php b/vendor/open-telemetry/api/Trace/SpanContext.php
deleted file mode 100644
index 7da7c0701..000000000
--- a/vendor/open-telemetry/api/Trace/SpanContext.php
+++ /dev/null
@@ -1,127 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\API\Trace;
-
-use function hex2bin;
-
-final class SpanContext implements SpanContextInterface
-{
- private static ?SpanContextInterface $invalidContext = null;
-
- /**
- * @see https://www.w3.org/TR/trace-context/#trace-flags
- * @see https://www.w3.org/TR/trace-context/#sampled-flag
- */
- private bool $isSampled;
-
- private string $traceId;
- private string $spanId;
- private ?TraceStateInterface $traceState;
- private bool $isValid = true;
- private bool $isRemote;
- private int $traceFlags;
-
- private function __construct(
- string $traceId,
- string $spanId,
- int $traceFlags,
- bool $isRemote,
- TraceStateInterface $traceState = null
- ) {
- // TraceId must be exactly 16 bytes (32 chars) and at least one non-zero byte
- // SpanId must be exactly 8 bytes (16 chars) and at least one non-zero byte
- if (!SpanContextValidator::isValidTraceId($traceId) || !SpanContextValidator::isValidSpanId($spanId)) {
- $traceId = SpanContextValidator::INVALID_TRACE;
- $spanId = SpanContextValidator::INVALID_SPAN;
- $this->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\API\Trace;
-
-/**
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/v1.6.1/specification/trace/api.md#spancontext
- */
-interface SpanContextInterface
-{
- public static function createFromRemoteParent(string $traceId, string $spanId, int $traceFlags = TraceFlags::DEFAULT, ?TraceStateInterface $traceState = null): SpanContextInterface;
- public static function getInvalid(): SpanContextInterface;
- public static function create(string $traceId, string $spanId, int $traceFlags = TraceFlags::DEFAULT, ?TraceStateInterface $traceState = null): SpanContextInterface;
-
- /** @psalm-mutation-free */
- public function getTraceId(): string;
- public function getTraceIdBinary(): string;
-
- /** @psalm-mutation-free */
- public function getSpanId(): string;
- public function getSpanIdBinary(): string;
- public function getTraceFlags(): int;
- public function getTraceState(): ?TraceStateInterface;
- public function isValid(): bool;
- public function isRemote(): bool;
- public function isSampled(): bool;
-}
diff --git a/vendor/open-telemetry/api/Trace/SpanContextValidator.php b/vendor/open-telemetry/api/Trace/SpanContextValidator.php
deleted file mode 100644
index 09b39f6d8..000000000
--- a/vendor/open-telemetry/api/Trace/SpanContextValidator.php
+++ /dev/null
@@ -1,35 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\API\Trace;
-
-use function strlen;
-use function strtolower;
-
-class SpanContextValidator
-{
- public const VALID_SPAN = '/^[0-9a-f]{16}$/';
- public const VALID_TRACE = '/^[0-9a-f]{32}$/';
- public const INVALID_SPAN = '0000000000000000';
- public const INVALID_TRACE = '00000000000000000000000000000000';
- public const SPAN_LENGTH = 16;
- public const TRACE_LENGTH = 32;
- public const SPAN_LENGTH_BYTES = 8;
-
- /**
- * @return bool Returns a value that indicates whether a trace id is valid
- */
- public static function isValidTraceId(string $traceId): bool
- {
- return ctype_xdigit($traceId) && strlen($traceId) === self::TRACE_LENGTH && $traceId !== self::INVALID_TRACE && $traceId === strtolower($traceId);
- }
-
- /**
- * @return bool Returns a value that indicates whether a span id is valid
- */
- public static function isValidSpanId(string $spanId): bool
- {
- return ctype_xdigit($spanId) && strlen($spanId) === self::SPAN_LENGTH && $spanId !== self::INVALID_SPAN && $spanId === strtolower($spanId);
- }
-}
diff --git a/vendor/open-telemetry/api/Trace/SpanInterface.php b/vendor/open-telemetry/api/Trace/SpanInterface.php
deleted file mode 100644
index 274a257ea..000000000
--- a/vendor/open-telemetry/api/Trace/SpanInterface.php
+++ /dev/null
@@ -1,96 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\API\Trace;
-
-use OpenTelemetry\Context\ContextInterface;
-use OpenTelemetry\Context\ImplicitContextKeyedInterface;
-use Throwable;
-
-/**
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/v1.6.1/specification/trace/api.md#span-operations
- */
-interface SpanInterface extends ImplicitContextKeyedInterface
-{
- /**
- * Returns the {@see SpanInterface} from the provided *$context*,
- * falling back on {@see SpanInterface::getInvalid()} if there is no span in the provided context.
- */
- public static function fromContext(ContextInterface $context): SpanInterface;
-
- /**
- * Returns the current {@see SpanInterface} from the current {@see ContextInterface},
- * falling back on {@see SpanInterface::getEmpty()} if there is no span in the current context.
- */
- public static function getCurrent(): SpanInterface;
-
- /**
- * Returns an invalid {@see SpanInterface} that is used when tracing is disabled, such s when there is no available SDK.
- */
- public static function getInvalid(): SpanInterface;
-
- /**
- * Returns a non-recording {@see SpanInterface} that hold the provided *$spanContext* but has no functionality.
- * It will not be exported and al tracing operations are no-op, but can be used to propagate a valid {@see SpanContext} downstream.
- *
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/v1.6.1/specification/trace/api.md#wrapping-a-spancontext-in-a-span
- */
- public static function wrap(SpanContextInterface $spanContext): SpanInterface;
-
- /**
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/v1.6.1/specification/trace/api.md#get-context
- */
- public function getContext(): SpanContextInterface;
-
- /**
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/v1.6.1/specification/trace/api.md#isrecording
- */
- public function isRecording(): bool;
-
- /**
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/v1.6.1/specification/trace/api.md#set-attributes
- * Adding attributes at span creation is preferred to calling setAttribute later, as samplers can only consider information
- * already present during span creation
- * @param non-empty-string $key
- * @param bool|int|float|string|array|null $value Note: arrays MUST be homogeneous, i.e. it MUST NOT contain values of different types.
- */
- public function setAttribute(string $key, $value): SpanInterface;
-
- /**
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/v1.6.1/specification/trace/api.md#set-attributes
- * An attribute with a null key will be dropped, and an attribute with a null value will be dropped but also remove any existing
- * attribute with the same key.
- * @param iterable<non-empty-string, bool|int|float|string|array|null> $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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\API\Trace;
-
-/**
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/v1.6.1/specification/trace/api.md#spankind
- */
-interface SpanKind
-{
- public const KIND_INTERNAL = 0;
- public const KIND_CLIENT = 1;
- public const KIND_SERVER = 2;
- public const KIND_PRODUCER = 3;
- public const KIND_CONSUMER = 4;
-}
diff --git a/vendor/open-telemetry/api/Trace/StatusCode.php b/vendor/open-telemetry/api/Trace/StatusCode.php
deleted file mode 100644
index 0d95e96a5..000000000
--- a/vendor/open-telemetry/api/Trace/StatusCode.php
+++ /dev/null
@@ -1,15 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\API\Trace;
-
-/**
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/v1.6.1/specification/trace/api.md#set-status
- */
-interface StatusCode
-{
- public const STATUS_UNSET = 'Unset';
- public const STATUS_OK = 'Ok';
- public const STATUS_ERROR = 'Error';
-}
diff --git a/vendor/open-telemetry/api/Trace/TraceFlags.php b/vendor/open-telemetry/api/Trace/TraceFlags.php
deleted file mode 100644
index 6adf72b1a..000000000
--- a/vendor/open-telemetry/api/Trace/TraceFlags.php
+++ /dev/null
@@ -1,11 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\API\Trace;
-
-interface TraceFlags
-{
- public const SAMPLED = 0x01;
- public const DEFAULT = 0x00;
-}
diff --git a/vendor/open-telemetry/api/Trace/TraceState.php b/vendor/open-telemetry/api/Trace/TraceState.php
deleted file mode 100644
index 306a63322..000000000
--- a/vendor/open-telemetry/api/Trace/TraceState.php
+++ /dev/null
@@ -1,190 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\API\Trace;
-
-use function array_reverse;
-use OpenTelemetry\API\Behavior\LogsMessagesTrait;
-use function strlen;
-
-class TraceState implements TraceStateInterface
-{
- use LogsMessagesTrait;
-
- public const MAX_LIST_MEMBERS = 32; //@see https://www.w3.org/TR/trace-context/#tracestate-header-field-values
- public const MAX_COMBINED_LENGTH = 512; //@see https://www.w3.org/TR/trace-context/#tracestate-limits
- public const LIST_MEMBERS_SEPARATOR = ',';
- public const LIST_MEMBER_KEY_VALUE_SPLITTER = '=';
- private const VALID_KEY_CHAR_RANGE = '[_0-9a-z-*\/]';
- private const VALID_KEY = '[a-z]' . self::VALID_KEY_CHAR_RANGE . '{0,255}';
- private const VALID_VENDOR_KEY = '[a-z0-9]' . self::VALID_KEY_CHAR_RANGE . '{0,240}@[a-z]' . self::VALID_KEY_CHAR_RANGE . '{0,13}';
- private const VALID_KEY_REGEX = '/^(?:' . self::VALID_KEY . '|' . self::VALID_VENDOR_KEY . ')$/';
- private const VALID_VALUE_BASE_REGEX = '/^[ -~]{0,255}[!-~]$/';
- private const INVALID_VALUE_COMMA_EQUAL_REGEX = '/,|=/';
-
- /**
- * @var string[]
- */
- private array $traceState = [];
-
- public function __construct(string $rawTracestate = null)
- {
- if ($rawTracestate === null || trim($rawTracestate) === '') {
- return;
- }
- $this->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\API\Trace;
-
-/**
- * TraceState parses and stores the tracestate header as an immutable list of string
- * key/value pairs. It provides the following operations following the rules described
- * in the W3C Trace Context specification:
- * - Get value for a given key
- * - Add a new key/value pair
- * - Update an existing value for a given key
- * - Delete a key/value pair
- *
- * All mutating operations return a new TraceState with the modifications applied.
- *
- * @see https://www.w3.org/TR/trace-context/#tracestate-header
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/master/specification/trace/api.md#tracestate
- */
-interface TraceStateInterface
-{
- /**
- * Return a new TraceState object that inherits from this TraceState
- * and contains the given key value pair.
- *
- * @param string $key
- * @param string $value
- * @return TraceStateInterface
- */
- public function with(string $key, string $value): TraceStateInterface;
-
- /**
- * Return a new TraceState object that inherits from this TraceState
- * without the given key value pair.
- *
- * @param string $key
- * @return TraceStateInterface
- */
- public function without(string $key): TraceStateInterface;
-
- /**
- * Return the value of a given key from this TraceState if it exists
- *
- * @param string $key
- * @return string|null
- */
- public function get(string $key): ?string;
-
- /**
- * Get the list-member count in this TraceState
- *
- * @return int
- */
- public function getListMemberCount(): int;
-
- /**
- * Returns a string representation of this TraceSate
- */
- public function __toString(): string;
-}
diff --git a/vendor/open-telemetry/api/Trace/TracerInterface.php b/vendor/open-telemetry/api/Trace/TracerInterface.php
deleted file mode 100644
index 1293a6642..000000000
--- a/vendor/open-telemetry/api/Trace/TracerInterface.php
+++ /dev/null
@@ -1,11 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\API\Trace;
-
-interface TracerInterface
-{
- /** @param non-empty-string $spanName */
- public function spanBuilder(string $spanName): SpanBuilderInterface;
-}
diff --git a/vendor/open-telemetry/api/Trace/TracerProviderInterface.php b/vendor/open-telemetry/api/Trace/TracerProviderInterface.php
deleted file mode 100644
index 9f5d20759..000000000
--- a/vendor/open-telemetry/api/Trace/TracerProviderInterface.php
+++ /dev/null
@@ -1,19 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\API\Trace;
-
-/** @see https://github.com/open-telemetry/opentelemetry-specification/blob/v1.7.0/specification/trace/api.md#tracerprovider */
-interface TracerProviderInterface
-{
- /**
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/v1.7.0/specification/trace/api.md#get-a-tracer
- */
- public function getTracer(
- string $name,
- ?string $version = null,
- ?string $schemaUrl = null,
- iterable $attributes = []
- ): TracerInterface;
-}
diff --git a/vendor/open-telemetry/api/Trace/functions.php b/vendor/open-telemetry/api/Trace/functions.php
deleted file mode 100644
index 79f730717..000000000
--- a/vendor/open-telemetry/api/Trace/functions.php
+++ /dev/null
@@ -1,44 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\API\Trace;
-
-use Closure;
-use Throwable;
-
-/**
- * Executes the given closure within the provided span.
- *
- * The span will be ended.
- *
- * @template R
- * @param SpanInterface $span span to enclose the closure with
- * @param Closure(...): R $closure closure to invoke
- * @param iterable<int|string, mixed> $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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\Context;
-
-use function assert;
-use function spl_object_id;
-
-/**
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/context/README.md#context
- */
-final class Context implements ContextInterface
-{
- /** @var ContextStorageInterface&ExecutionContextAwareInterface */
- private static ContextStorageInterface $storage;
-
- // Optimization for spans to avoid copying the context array.
- private static ContextKeyInterface $spanContextKey;
- private ?object $span = null;
- /** @var array<int, mixed> */
- private array $context = [];
- /** @var array<int, ContextKeyInterface> */
- 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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\Context;
-
-/**
- * Immutable execution scoped propagation mechanism.
- *
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/context/README.md#context
- */
-interface ContextInterface
-{
- /**
- * Creates a new context key.
- *
- * @param non-empty-string $key name of the key
- * @return ContextKeyInterface created key
- *
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/context/README.md#create-a-key
- */
- public static function createKey(string $key): ContextKeyInterface;
-
- /**
- * Returns the current context.
- *
- * @return ContextInterface current context
- *
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/context/README.md#get-current-context
- */
- public static function getCurrent(): ContextInterface;
-
- /**
- * Attaches this context as active context.
- *
- * The returned scope has to be {@link ScopeInterface::detach()}ed. In most
- * cases this should be done using a `try-finally` statement:
- * ```php
- * $scope = $context->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<T> $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<T> $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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\Context;
-
-/**
- * @internal
- */
-final class ContextKey implements ContextKeyInterface
-{
- private ?string $name;
-
- public function __construct(?string $name=null)
- {
- $this->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\Context;
-
-/**
- * @template-covariant T
- */
-interface ContextKeyInterface
-{
-}
diff --git a/vendor/open-telemetry/context/ContextKeys.php b/vendor/open-telemetry/context/ContextKeys.php
deleted file mode 100644
index bc1022568..000000000
--- a/vendor/open-telemetry/context/ContextKeys.php
+++ /dev/null
@@ -1,25 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\Context;
-
-/**
- * @psalm-internal OpenTelemetry
- */
-final class ContextKeys
-{
- public static function span(): ContextKeyInterface
- {
- static $instance;
-
- return $instance ??= Context::createKey('opentelemetry-trace-span-key');
- }
-
- public static function baggage(): ContextKeyInterface
- {
- static $instance;
-
- return $instance ??= Context::createKey('opentelemetry-trace-baggage-key');
- }
-}
diff --git a/vendor/open-telemetry/context/ContextStorage.php b/vendor/open-telemetry/context/ContextStorage.php
deleted file mode 100644
index e82d3d161..000000000
--- a/vendor/open-telemetry/context/ContextStorage.php
+++ /dev/null
@@ -1,57 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\Context;
-
-/**
- * @internal
- */
-final class ContextStorage implements ContextStorageInterface, ExecutionContextAwareInterface
-{
- public ContextStorageHead $current;
- private ContextStorageHead $main;
- /** @var array<int|string, ContextStorageHead> */
- 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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\Context;
-
-/**
- * @internal
- */
-final class ContextStorageHead
-{
- public ContextStorage $storage;
- public ?ContextStorageNode $node = null;
-
- public function __construct(ContextStorage $storage)
- {
- $this->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\Context;
-
-interface ContextStorageInterface
-{
- /**
- * Returns the current scope.
- *
- * @return ContextStorageScopeInterface|null current scope, or null if no
- * scope was attached in the current execution unit
- */
- public function scope(): ?ContextStorageScopeInterface;
-
- /**
- * Returns the current context.
- *
- * @return ContextInterface current context
- */
- public function current(): ContextInterface;
-
- /**
- * Attaches the context as active context.
- *
- * @param ContextInterface $context context to attach
- * @return ContextStorageScopeInterface scope to detach the context and
- * restore the previous context
- */
- public function attach(ContextInterface $context): ContextStorageScopeInterface;
-}
diff --git a/vendor/open-telemetry/context/ContextStorageNode.php b/vendor/open-telemetry/context/ContextStorageNode.php
deleted file mode 100644
index 12d521660..000000000
--- a/vendor/open-telemetry/context/ContextStorageNode.php
+++ /dev/null
@@ -1,92 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\Context;
-
-use function assert;
-
-/**
- * @internal
- */
-final class ContextStorageNode implements ScopeInterface, ContextStorageScopeInterface
-{
- public ContextInterface $context;
- public ContextStorageHead $head;
- private ?ContextStorageNode $previous;
- private array $localStorage = [];
-
- public function __construct(
- ContextInterface $context,
- ContextStorageHead $head,
- ?ContextStorageNode $previous = null
- ) {
- $this->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\Context;
-
-use ArrayAccess;
-
-interface ContextStorageScopeInterface extends ScopeInterface, ArrayAccess
-{
- /**
- * Returns the context associated with this scope.
- *
- * @return ContextInterface associated context
- */
- public function context(): ContextInterface;
-
- /**
- * @param string $offset
- */
- public function offsetSet($offset, $value): void;
-}
diff --git a/vendor/open-telemetry/context/DebugScope.php b/vendor/open-telemetry/context/DebugScope.php
deleted file mode 100644
index e9e4d53c5..000000000
--- a/vendor/open-telemetry/context/DebugScope.php
+++ /dev/null
@@ -1,94 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\Context;
-
-use function basename;
-use function count;
-use function debug_backtrace;
-use const DEBUG_BACKTRACE_IGNORE_ARGS;
-use function sprintf;
-use function trigger_error;
-
-/**
- * @internal
- */
-final class DebugScope implements ScopeInterface
-{
- private const DEBUG_TRACE_CREATE = '__debug_trace_create';
- private const DEBUG_TRACE_DETACH = '__debug_trace_detach';
-
- private ContextStorageScopeInterface $scope;
-
- public function __construct(ContextStorageScopeInterface $node)
- {
- $this->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\Context;
-
-interface ExecutionContextAwareInterface
-{
- /**
- * @param int|string $id
- */
- public function fork($id): void;
-
- /**
- * @param int|string $id
- */
- public function switch($id): void;
-
- /**
- * @param int|string $id
- */
- public function destroy($id): void;
-}
diff --git a/vendor/open-telemetry/context/FiberBoundContextStorage.php b/vendor/open-telemetry/context/FiberBoundContextStorage.php
deleted file mode 100644
index 667f73b3d..000000000
--- a/vendor/open-telemetry/context/FiberBoundContextStorage.php
+++ /dev/null
@@ -1,84 +0,0 @@
-<?php
-
-/** @noinspection PhpElementIsNotAvailableInCurrentPhpVersionInspection */
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\Context;
-
-use function assert;
-use function class_exists;
-use const E_USER_WARNING;
-use Fiber;
-use function trigger_error;
-
-/**
- * @internal
- *
- * @phan-file-suppress PhanUndeclaredClassReference
- * @phan-file-suppress PhanUndeclaredClassMethod
- */
-final class FiberBoundContextStorage implements ContextStorageInterface, ExecutionContextAwareInterface
-{
- /** @var ContextStorageInterface&ExecutionContextAwareInterface */
- private ContextStorageInterface $storage;
-
- /**
- * @param ContextStorageInterface&ExecutionContextAwareInterface $storage
- */
- public function __construct(ContextStorageInterface $storage)
- {
- $this->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 @@
-<?php
-
-/** @noinspection PhpElementIsNotAvailableInCurrentPhpVersionInspection */
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\Context;
-
-use function assert;
-use function class_exists;
-use Fiber;
-
-/**
- * @internal
- *
- * @phan-file-suppress PhanUndeclaredClassReference
- * @phan-file-suppress PhanUndeclaredClassMethod
- */
-final class FiberBoundContextStorageScope implements ScopeInterface, ContextStorageScopeInterface
-{
- private ContextStorageScopeInterface $scope;
-
- public function __construct(ContextStorageScopeInterface $scope)
- {
- $this->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\Context;
-
-/**
- * Represents a value that can be stored within {@see ContextInterface}.
- * Allows storing themselves without exposing a {@see ContextKeyInterface}.
- *
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/v1.6.1/specification/trace/api.md#context-interaction
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/v1.6.1/specification/baggage/api.md#context-interaction
- */
-interface ImplicitContextKeyedInterface
-{
- /**
- * Adds `$this` to the {@see Context::getCurrent() current context} and makes
- * the new {@see Context} the current context.
- *
- * {@see ScopeInterface::detach()} _MUST_ be called to properly restore the previous context.
- *
- * This method is equivalent to `Context::getCurrent().with($value).activate();`.
- *
- * @todo: Update this to suggest using the new helper method way to doing something in a specific context/span.
- */
- public function activate(): ScopeInterface;
-
- /**
- * Returns a new {@see ContextInterface} created by setting `$this` into the provided [@see ContextInterface}.
- */
- public function storeInContext(ContextInterface $context): ContextInterface;
-}
diff --git a/vendor/open-telemetry/context/Propagation/ArrayAccessGetterSetter.php b/vendor/open-telemetry/context/Propagation/ArrayAccessGetterSetter.php
deleted file mode 100644
index 51263044d..000000000
--- a/vendor/open-telemetry/context/Propagation/ArrayAccessGetterSetter.php
+++ /dev/null
@@ -1,129 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\Context\Propagation;
-
-use function array_key_first;
-use ArrayAccess;
-use function get_class;
-use function gettype;
-use InvalidArgumentException;
-use function is_array;
-use function is_object;
-use function is_string;
-use function sprintf;
-use function strcasecmp;
-use Traversable;
-
-/**
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/v1.6.1/specification/context/api-propagators.md#textmap-propagator Getter and Setter.
- *
- * Default implementation of {@see PropagationGetterInterface} and {@see PropagationSetterInterface}.
- * This type is used if no custom getter/setter is provided to {@see TextMapPropagatorInterface::inject()} or {@see TextMapPropagatorInterface::extract()}.
- */
-final class ArrayAccessGetterSetter implements PropagationGetterInterface, PropagationSetterInterface
-{
- private static ?self $instance = null;
-
- /**
- * Returns a singleton instance of `self` to avoid, multiple runtime allocations.
- */
- public static function getInstance(): self
- {
- if (null === self::$instance) {
- self::$instance = new self();
- }
-
- return self::$instance;
- }
-
- /** {@inheritdoc} */
- public function keys($carrier): array
- {
- if ($this->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\Context\Propagation;
-
-use function array_map;
-use function array_merge;
-use function array_unique;
-use function array_values;
-use OpenTelemetry\Context\Context;
-use OpenTelemetry\Context\ContextInterface;
-
-final class MultiTextMapPropagator implements TextMapPropagatorInterface
-{
- /**
- * @readonly
- *
- * @var list<TextMapPropagatorInterface>
- */
- private array $propagators = [];
-
- /**
- * @readonly
- *
- * @var list<string>
- */
- private array $fields;
-
- /**
- * @no-named-arguments
- *
- * @param list<TextMapPropagatorInterface> $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<TextMapPropagatorInterface> $propagators
- * @return list<string>
- */
- 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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\Context\Propagation;
-
-use OpenTelemetry\Context\Context;
-use OpenTelemetry\Context\ContextInterface;
-
-final class NoopTextMapPropagator implements TextMapPropagatorInterface
-{
- private static ?self $instance = null;
-
- public static function getInstance(): self
- {
- if (null === self::$instance) {
- self::$instance = new self();
- }
-
- return self::$instance;
- }
-
- public function fields(): array
- {
- return [];
- }
-
- public function extract($carrier, PropagationGetterInterface $getter = null, ContextInterface $context = null): ContextInterface
- {
- return $context ?? Context::getCurrent();
- }
-
- public function inject(&$carrier, PropagationSetterInterface $setter = null, ContextInterface $context = null): void
- {
- }
-}
diff --git a/vendor/open-telemetry/context/Propagation/PropagationGetterInterface.php b/vendor/open-telemetry/context/Propagation/PropagationGetterInterface.php
deleted file mode 100644
index d2976c63d..000000000
--- a/vendor/open-telemetry/context/Propagation/PropagationGetterInterface.php
+++ /dev/null
@@ -1,25 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\Context\Propagation;
-
-/**
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/v1.6.1/specification/context/api-propagators.md#getter-argument
- */
-interface PropagationGetterInterface
-{
- /**
- * Returns the list of all the keys in the carrier.
- *
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/v1.6.1/specification/context/api-propagators.md#keys
- *
- * @return list<string>
- */
- 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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\Context\Propagation;
-
-/**
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/v1.6.1/specification/context/api-propagators.md#setter-argument
- */
-interface PropagationSetterInterface
-{
- /**
- * Set the value for a given key on the associated carrier.
- */
- public function set(&$carrier, string $key, string $value) : void;
-}
diff --git a/vendor/open-telemetry/context/Propagation/SanitizeCombinedHeadersPropagationGetter.php b/vendor/open-telemetry/context/Propagation/SanitizeCombinedHeadersPropagationGetter.php
deleted file mode 100644
index 40652982e..000000000
--- a/vendor/open-telemetry/context/Propagation/SanitizeCombinedHeadersPropagationGetter.php
+++ /dev/null
@@ -1,46 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\Context\Propagation;
-
-use function preg_replace;
-
-/**
- * Some servers concatenate multiple headers with ';' -- we need to replace these with ','
- * This is still a workaround and doesn't get around the problem fully, specifically it doesn't
- * handle edge cases where the header has a trailing ';' or an empty trace state.
- * We also need to trim trailing separators from the header, found when a header is empty.
- */
-final class SanitizeCombinedHeadersPropagationGetter implements PropagationGetterInterface
-{
- private const LIST_MEMBERS_SEPARATOR = ',';
- private const SERVER_CONCAT_HEADERS_REGEX = '/;(?=[^,=;]*=|$)/';
- private const TRAILING_LEADING_SEPARATOR_REGEX = '/^' . self::LIST_MEMBERS_SEPARATOR . '+|' . self::LIST_MEMBERS_SEPARATOR . '+$/';
-
- private PropagationGetterInterface $getter;
-
- public function __construct(PropagationGetterInterface $getter)
- {
- $this->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\Context\Propagation;
-
-use OpenTelemetry\Context\ContextInterface;
-
-/**
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/v1.6.1/specification/context/api-propagators.md#textmap-propagator
- */
-interface TextMapPropagatorInterface
-{
- /**
- * Returns list of fields that will be used by this propagator.
- *
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/v1.6.1/specification/context/api-propagators.md#fields
- *
- * @return list<string>
- */
- 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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\Context;
-
-use const PHP_INT_SIZE;
-
-interface ScopeInterface
-{
- /** The associated context was already detached. */
- public const DETACHED = 1 << (PHP_INT_SIZE << 3) - 1;
- /** The associated context is not in the active execution context. */
- public const INACTIVE = 1 << (PHP_INT_SIZE << 3) - 2;
- /** The associated context is not the active context. */
- public const MISMATCH = 1 << (PHP_INT_SIZE << 3) - 3;
-
- /**
- * Detaches the context associated with this scope and restores the
- * previously associated context.
- *
- * @return int zero indicating an expected call, or a non-zero value
- * indicating that the call was unexpected
- *
- * @see self::DETACHED
- * @see self::INACTIVE
- * @see self::MISMATCH
- *
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/context/README.md#detach-context
- */
- public function detach(): int;
-}
diff --git a/vendor/open-telemetry/context/ZendObserverFiber.php b/vendor/open-telemetry/context/ZendObserverFiber.php
deleted file mode 100644
index 4d3d0c5ef..000000000
--- a/vendor/open-telemetry/context/ZendObserverFiber.php
+++ /dev/null
@@ -1,67 +0,0 @@
-<?php
-
-/** @noinspection PhpUndefinedMethodInspection */
-/** @phan-file-suppress PhanUndeclaredClassCatch */
-/** @phan-file-suppress PhanUndeclaredClassMethod */
-/** @phan-file-suppress PhanUndeclaredMethod */
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\Context;
-
-use function extension_loaded;
-use FFI;
-use const FILTER_VALIDATE_BOOLEAN;
-use function filter_var;
-use function is_string;
-use const PHP_VERSION_ID;
-use const PHP_ZTS;
-use function sprintf;
-use function trigger_error;
-
-/**
- * @internal
- */
-final class ZendObserverFiber
-{
- public static function isEnabled(): bool
- {
- $enabled = $_SERVER['OTEL_PHP_FIBERS_ENABLED'] ?? false;
-
- return is_string($enabled)
- ? filter_var($enabled, FILTER_VALIDATE_BOOLEAN)
- : (bool) $enabled;
- }
-
- public static function init(): bool
- {
- static $fibers;
- if ($fibers) {
- return true;
- }
-
- if (PHP_ZTS || PHP_VERSION_ID < 80100 || !extension_loaded('ffi')) {
- trigger_error('Context: Fiber context switching not supported, requires PHP >= 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 @@
-<?php
-
-/** @noinspection PhpElementIsNotAvailableInCurrentPhpVersionInspection */
-/** @phan-file-suppress PhanUndeclaredClassReference */
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\Context;
-
-use Fiber;
-
-if (!class_exists(Fiber::class)) {
- return;
-}
-
-if (ZendObserverFiber::isEnabled() && ZendObserverFiber::init()) {
- // ffi fiber support enabled
-} else {
- Context::setStorage(new FiberBoundContextStorage(Context::storage()));
-}
diff --git a/vendor/open-telemetry/context/fiber/zend_observer_fiber.h b/vendor/open-telemetry/context/fiber/zend_observer_fiber.h
deleted file mode 100644
index 6a8e4e98d..000000000
--- a/vendor/open-telemetry/context/fiber/zend_observer_fiber.h
+++ /dev/null
@@ -1,9 +0,0 @@
-#define FFI_SCOPE "OTEL_ZEND_OBSERVER_FIBER"
-
-typedef void (*zend_observer_fiber_init_handler)(intptr_t initializing);
-typedef void (*zend_observer_fiber_switch_handler)(intptr_t from, intptr_t to);
-typedef void (*zend_observer_fiber_destroy_handler)(intptr_t destroying);
-
-void zend_observer_fiber_init_register(zend_observer_fiber_init_handler handler);
-void zend_observer_fiber_switch_register(zend_observer_fiber_switch_handler handler);
-void zend_observer_fiber_destroy_register(zend_observer_fiber_destroy_handler handler);
diff --git a/vendor/open-telemetry/exporter-otlp/AttributesConverter.php b/vendor/open-telemetry/exporter-otlp/AttributesConverter.php
deleted file mode 100644
index 4a349ab67..000000000
--- a/vendor/open-telemetry/exporter-otlp/AttributesConverter.php
+++ /dev/null
@@ -1,62 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\Contrib\Otlp;
-
-use function is_array;
-use function is_bool;
-use function is_float;
-use function is_int;
-use function is_string;
-use Opentelemetry\Proto\Common\V1\AnyValue;
-use Opentelemetry\Proto\Common\V1\ArrayValue;
-use Opentelemetry\Proto\Common\V1\KeyValue;
-use Opentelemetry\Proto\Common\V1\KeyValueList;
-
-final class AttributesConverter
-{
- public static function convertAnyValue($value): AnyValue
- {
- $result = new AnyValue();
- if (is_array($value)) {
- if (self::isSimpleArray($value)) {
- $values = new ArrayValue();
- foreach ($value as $element) {
- /** @psalm-suppress InvalidArgument */
- $values->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\Contrib\Otlp;
-
-interface ContentTypes
-{
- public const PROTOBUF = 'application/x-protobuf';
- public const JSON = 'application/json';
- public const NDJSON = 'application/x-ndjson';
-}
diff --git a/vendor/open-telemetry/exporter-otlp/HttpEndpointResolver.php b/vendor/open-telemetry/exporter-otlp/HttpEndpointResolver.php
deleted file mode 100644
index b50346427..000000000
--- a/vendor/open-telemetry/exporter-otlp/HttpEndpointResolver.php
+++ /dev/null
@@ -1,145 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\Contrib\Otlp;
-
-use InvalidArgumentException;
-use OpenTelemetry\API\Signals;
-use OpenTelemetry\SDK\Common\Adapter\HttpDiscovery\MessageFactoryResolver;
-use OpenTelemetry\SDK\Common\Http\Psr\Message\FactoryResolverInterface;
-use Psr\Http\Message\UriInterface;
-
-/**
- * Resolves non-signal-specific OTLP HTTP endpoints to signal-specific ones according to the specification.
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/protocol/exporter.md#endpoint-urls-for-otlphttp
- */
-class HttpEndpointResolver implements HttpEndpointResolverInterface
-{
- private const SCHEME_ATTRIBUTE = 'scheme';
- private const HOST_ATTRIBUTE = 'host';
- private const PORT_ATTRIBUTE = 'port';
- private const USER_ATTRIBUTE = 'user';
- private const PASS_ATTRIBUTE = 'pass';
- private const PATH_ATTRIBUTE = 'path';
- private const DEFAULT_SCHEME = 'https';
- private const ROOT_PATH = '/';
-
- private FactoryResolverInterface $httpFactoryResolver;
-
- public function __construct(?FactoryResolverInterface $httpFactoryResolver = null)
- {
- $this->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\Contrib\Otlp;
-
-use OpenTelemetry\API\Signals;
-use Psr\Http\Message\UriInterface;
-
-interface HttpEndpointResolverInterface
-{
- public const TRACE_DEFAULT_PATH = 'v1/traces';
- public const METRICS_DEFAULT_PATH = 'v1/metrics';
- public const LOGS_DEFAULT_PATH = 'v1/logs';
- public const DEFAULT_PATHS = [
- Signals::TRACE => 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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\Contrib\Otlp;
-
-use Opentelemetry\Proto\Collector\Logs\V1\ExportLogsServiceRequest;
-use Opentelemetry\Proto\Common\V1\InstrumentationScope;
-use Opentelemetry\Proto\Common\V1\KeyValue;
-use Opentelemetry\Proto\Logs\V1\LogRecord;
-use Opentelemetry\Proto\Logs\V1\ResourceLogs;
-use Opentelemetry\Proto\Logs\V1\ScopeLogs;
-use Opentelemetry\Proto\Resource\V1\Resource as Resource_;
-use OpenTelemetry\SDK\Common\Attribute\AttributesInterface;
-use OpenTelemetry\SDK\Common\Instrumentation\InstrumentationScopeInterface;
-use OpenTelemetry\SDK\Logs\ReadableLogRecord;
-use OpenTelemetry\SDK\Resource\ResourceInfo;
-
-class LogsConverter
-{
- private ProtobufSerializer $serializer;
-
- public function __construct(?ProtobufSerializer $serializer = null)
- {
- $this->serializer = $serializer ?? ProtobufSerializer::getDefault();
- }
-
- /**
- * @param iterable<ReadableLogRecord> $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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\Contrib\Otlp;
-
-use OpenTelemetry\API\Behavior\LogsMessagesTrait;
-use Opentelemetry\Proto\Collector\Logs\V1\ExportLogsServiceResponse;
-use OpenTelemetry\SDK\Common\Export\TransportInterface;
-use OpenTelemetry\SDK\Common\Future\CancellationInterface;
-use OpenTelemetry\SDK\Common\Future\FutureInterface;
-use OpenTelemetry\SDK\Logs\LogRecordExporterInterface;
-use OpenTelemetry\SDK\Logs\ReadableLogRecord;
-use RuntimeException;
-use Throwable;
-
-/**
- * @psalm-import-type SUPPORTED_CONTENT_TYPES from ProtobufSerializer
- */
-class LogsExporter implements LogRecordExporterInterface
-{
- use LogsMessagesTrait;
-
- private TransportInterface $transport;
- private ProtobufSerializer $serializer;
-
- /**
- * @psalm-param TransportInterface<SUPPORTED_CONTENT_TYPES> $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<ReadableLogRecord> $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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\Contrib\Otlp;
-
-use OpenTelemetry\API\Signals;
-use OpenTelemetry\SDK\Common\Configuration\Configuration;
-use OpenTelemetry\SDK\Common\Configuration\Defaults;
-use OpenTelemetry\SDK\Common\Configuration\Variables;
-use OpenTelemetry\SDK\Common\Export\TransportFactoryInterface;
-use OpenTelemetry\SDK\Common\Export\TransportInterface;
-use OpenTelemetry\SDK\Logs\LogRecordExporterFactoryInterface;
-use OpenTelemetry\SDK\Logs\LogRecordExporterInterface;
-use OpenTelemetry\SDK\Registry;
-
-class LogsExporterFactory implements LogRecordExporterFactoryInterface
-{
- private const DEFAULT_COMPRESSION = 'none';
-
- private ?TransportFactoryInterface $transportFactory;
-
- public function __construct(?TransportFactoryInterface $transportFactory = null)
- {
- $this->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\Contrib\Otlp;
-
-use function hex2bin;
-use function is_float;
-use function is_int;
-use function method_exists;
-use Opentelemetry\Proto\Collector\Metrics\V1\ExportMetricsServiceRequest;
-use Opentelemetry\Proto\Common\V1\InstrumentationScope;
-use Opentelemetry\Proto\Common\V1\KeyValue;
-use Opentelemetry\Proto\Metrics\V1\AggregationTemporality;
-use Opentelemetry\Proto\Metrics\V1\Exemplar;
-use Opentelemetry\Proto\Metrics\V1\Gauge;
-use Opentelemetry\Proto\Metrics\V1\Histogram;
-use Opentelemetry\Proto\Metrics\V1\HistogramDataPoint;
-use Opentelemetry\Proto\Metrics\V1\Metric;
-use Opentelemetry\Proto\Metrics\V1\NumberDataPoint;
-use Opentelemetry\Proto\Metrics\V1\ResourceMetrics;
-use Opentelemetry\Proto\Metrics\V1\ScopeMetrics;
-use Opentelemetry\Proto\Metrics\V1\Sum;
-use Opentelemetry\Proto\Resource\V1\Resource as Resource_;
-use OpenTelemetry\SDK;
-use function serialize;
-
-final class MetricConverter
-{
- private ProtobufSerializer $serializer;
-
- public function __construct(?ProtobufSerializer $serializer = null)
- {
- $this->serializer = $serializer ?? ProtobufSerializer::getDefault();
- }
-
- /**
- * @param iterable<SDK\Metrics\Data\Metric> $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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\Contrib\Otlp;
-
-use OpenTelemetry\API\Behavior\LogsMessagesTrait;
-use Opentelemetry\Proto\Collector\Metrics\V1\ExportMetricsServiceResponse;
-use OpenTelemetry\SDK\Common\Export\TransportInterface;
-use OpenTelemetry\SDK\Metrics\AggregationTemporalitySelectorInterface;
-use OpenTelemetry\SDK\Metrics\Data\Temporality;
-use OpenTelemetry\SDK\Metrics\MetricMetadataInterface;
-use OpenTelemetry\SDK\Metrics\PushMetricExporterInterface;
-use RuntimeException;
-use Throwable;
-
-/**
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/metrics/sdk_exporters/stdout.md#opentelemetry-metrics-exporter---standard-output
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/protocol/file-exporter.md#json-file-serialization
- * @psalm-import-type SUPPORTED_CONTENT_TYPES from ProtobufSerializer
- */
-final class MetricExporter implements PushMetricExporterInterface, AggregationTemporalitySelectorInterface
-{
- use LogsMessagesTrait;
-
- private TransportInterface $transport;
- private ProtobufSerializer $serializer;
- /**
- * @var string|Temporality|null
- */
- private $temporality;
-
- /**
- * @param string|Temporality|null $temporality
- *
- * @psalm-param TransportInterface<SUPPORTED_CONTENT_TYPES> $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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\Contrib\Otlp;
-
-use OpenTelemetry\API\Signals;
-use OpenTelemetry\SDK\Common\Configuration\Configuration;
-use OpenTelemetry\SDK\Common\Configuration\Defaults;
-use OpenTelemetry\SDK\Common\Configuration\Variables;
-use OpenTelemetry\SDK\Common\Export\TransportFactoryInterface;
-use OpenTelemetry\SDK\Common\Export\TransportInterface;
-use OpenTelemetry\SDK\Metrics\Data\Temporality;
-use OpenTelemetry\SDK\Metrics\MetricExporterFactoryInterface;
-use OpenTelemetry\SDK\Metrics\MetricExporterInterface;
-use OpenTelemetry\SDK\Registry;
-
-class MetricExporterFactory implements MetricExporterFactoryInterface
-{
- private const DEFAULT_COMPRESSION = 'none';
-
- private ?TransportFactoryInterface $transportFactory;
-
- public function __construct(?TransportFactoryInterface $transportFactory = null)
- {
- $this->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\Contrib\Otlp;
-
-use OpenTelemetry\SDK\Common\Export\Http\PsrTransport;
-use OpenTelemetry\SDK\Common\Export\Http\PsrTransportFactory;
-use OpenTelemetry\SDK\Common\Export\TransportFactoryInterface;
-
-class OtlpHttpTransportFactory implements TransportFactoryInterface
-{
- private const DEFAULT_COMPRESSION = 'none';
-
- 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 ($compression === self::DEFAULT_COMPRESSION) {
- $compression = null;
- }
-
- return PsrTransportFactory::discover()->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\Contrib\Otlp;
-
-use OpenTelemetry\API\Signals;
-use OpenTelemetry\SDK\Resource\Detectors\Sdk;
-use OpenTelemetry\SemConv\ResourceAttributes;
-use UnexpectedValueException;
-
-class OtlpUtil
-{
- /**
- * gRPC per-signal methods
- * @see protobuf *ServiceClient
- */
- private const METHODS = [
- Signals::TRACE => '/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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\Contrib\Otlp;
-
-use AssertionError;
-use function base64_decode;
-use function bin2hex;
-use Exception;
-use Google\Protobuf\Internal\Message;
-use InvalidArgumentException;
-use OpenTelemetry\SDK\Common\Export\TransportInterface;
-use function sprintf;
-
-/**
- * @internal
- *
- * @psalm-type SUPPORTED_CONTENT_TYPES = self::PROTOBUF|self::JSON|self::NDJSON
- */
-final class ProtobufSerializer
-{
- private const PROTOBUF = 'application/x-protobuf';
- private const JSON = 'application/json';
- private const NDJSON = 'application/x-ndjson';
-
- private string $contentType;
-
- private function __construct(string $contentType)
- {
- $this->contentType = $contentType;
- }
-
- public static function getDefault(): ProtobufSerializer
- {
- return new self(self::PROTOBUF);
- }
-
- /**
- * @psalm-param TransportInterface<SUPPORTED_CONTENT_TYPES> $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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\Contrib\Otlp;
-
-use OpenTelemetry\SDK\Common\Configuration\KnownValues;
-use UnexpectedValueException;
-
-class Protocols
-{
- public const GRPC = KnownValues::VALUE_GRPC;
- public const HTTP_PROTOBUF = KnownValues::VALUE_HTTP_PROTOBUF;
- public const HTTP_JSON = KnownValues::VALUE_HTTP_JSON;
- public const HTTP_NDJSON = KnownValues::VALUE_HTTP_NDJSON;
- private const PROTOCOLS = [
- self::GRPC => 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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\Contrib\Otlp;
-
-use OpenTelemetry\API\Trace as API;
-use Opentelemetry\Proto\Collector\Trace\V1\ExportTraceServiceRequest;
-use Opentelemetry\Proto\Common\V1\InstrumentationScope;
-use Opentelemetry\Proto\Common\V1\KeyValue;
-use Opentelemetry\Proto\Resource\V1\Resource as Resource_;
-use Opentelemetry\Proto\Trace\V1\ResourceSpans;
-use Opentelemetry\Proto\Trace\V1\ScopeSpans;
-use Opentelemetry\Proto\Trace\V1\Span;
-use Opentelemetry\Proto\Trace\V1\Span\Event;
-use Opentelemetry\Proto\Trace\V1\Span\Link;
-use Opentelemetry\Proto\Trace\V1\Span\SpanKind;
-use Opentelemetry\Proto\Trace\V1\Status;
-use Opentelemetry\Proto\Trace\V1\Status\StatusCode;
-use OpenTelemetry\SDK\Common\Attribute\AttributesInterface;
-use OpenTelemetry\SDK\Common\Instrumentation\InstrumentationScopeInterface;
-use OpenTelemetry\SDK\Resource\ResourceInfo;
-use OpenTelemetry\SDK\Trace\SpanDataInterface;
-use function serialize;
-use function spl_object_id;
-
-final class SpanConverter
-{
- private ProtobufSerializer $serializer;
-
- public function __construct(?ProtobufSerializer $serializer = null)
- {
- $this->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\Contrib\Otlp;
-
-use OpenTelemetry\API\Behavior\LogsMessagesTrait;
-use Opentelemetry\Proto\Collector\Trace\V1\ExportTraceServiceResponse;
-use OpenTelemetry\SDK\Common\Export\TransportInterface;
-use OpenTelemetry\SDK\Common\Future\CancellationInterface;
-use OpenTelemetry\SDK\Common\Future\FutureInterface;
-use OpenTelemetry\SDK\Trace\SpanExporterInterface;
-use RuntimeException;
-use Throwable;
-
-/**
- * @psalm-import-type SUPPORTED_CONTENT_TYPES from ProtobufSerializer
- */
-final class SpanExporter implements SpanExporterInterface
-{
- use LogsMessagesTrait;
-
- private TransportInterface $transport;
- private ProtobufSerializer $serializer;
-
- /**
- * @psalm-param TransportInterface<SUPPORTED_CONTENT_TYPES> $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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\Contrib\Otlp;
-
-use OpenTelemetry\API\Behavior\LogsMessagesTrait;
-use OpenTelemetry\API\Signals;
-use OpenTelemetry\SDK\Common\Configuration\Configuration;
-use OpenTelemetry\SDK\Common\Configuration\Defaults;
-use OpenTelemetry\SDK\Common\Configuration\Variables;
-use OpenTelemetry\SDK\Common\Export\TransportFactoryInterface;
-use OpenTelemetry\SDK\Common\Export\TransportInterface;
-use OpenTelemetry\SDK\Registry;
-use OpenTelemetry\SDK\Trace\SpanExporter\SpanExporterFactoryInterface;
-use OpenTelemetry\SDK\Trace\SpanExporterInterface;
-
-class SpanExporterFactory implements SpanExporterFactoryInterface
-{
- use LogsMessagesTrait;
-
- private ?TransportFactoryInterface $transportFactory;
-
- private const DEFAULT_COMPRESSION = 'none';
-
- public function __construct(?TransportFactoryInterface $transportFactory = null)
- {
- $this->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 @@
-<?php
-
-declare(strict_types=1);
-\OpenTelemetry\SDK\Registry::registerSpanExporterFactory('otlp', \OpenTelemetry\Contrib\Otlp\SpanExporterFactory::class);
-\OpenTelemetry\SDK\Registry::registerMetricExporterFactory('otlp', \OpenTelemetry\Contrib\Otlp\MetricExporterFactory::class);
-
-\OpenTelemetry\SDK\Registry::registerTransportFactory('http', \OpenTelemetry\Contrib\Otlp\OtlpHttpTransportFactory::class);
-
-\OpenTelemetry\SDK\Registry::registerLogRecordExporterFactory('otlp', \OpenTelemetry\Contrib\Otlp\LogsExporterFactory::class);
diff --git a/vendor/open-telemetry/exporter-otlp/composer.json b/vendor/open-telemetry/exporter-otlp/composer.json
deleted file mode 100644
index fdb13362d..000000000
--- a/vendor/open-telemetry/exporter-otlp/composer.json
+++ /dev/null
@@ -1,41 +0,0 @@
-{
- "name": "open-telemetry/exporter-otlp",
- "description": "OTLP exporter for OpenTelemetry.",
- "keywords": ["opentelemetry", "otel", "tracing", "metrics", "exporter", "otlp", "grpc", "http"],
- "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",
- "php-http/discovery": "^1.14",
- "open-telemetry/gen-otlp-protobuf": "^1.0",
- "open-telemetry/api": "^1.0",
- "open-telemetry/sdk": "^1.0"
- },
- "suggest": {
- },
- "autoload": {
- "psr-4": {
- "OpenTelemetry\\Contrib\\Otlp\\": "."
- },
- "files": [
- "_register.php"
- ]
- },
- "extra": {
- "branch-alias": {
- "dev-main": "1.0.x-dev"
- }
- }
-}
diff --git a/vendor/open-telemetry/gen-otlp-protobuf/.gitignore b/vendor/open-telemetry/gen-otlp-protobuf/.gitignore
deleted file mode 100644
index b02a72bf6..000000000
--- a/vendor/open-telemetry/gen-otlp-protobuf/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-opentelemetry-proto
diff --git a/vendor/open-telemetry/gen-otlp-protobuf/GPBMetadata/Opentelemetry/Proto/Collector/Logs/V1/LogsService.php b/vendor/open-telemetry/gen-otlp-protobuf/GPBMetadata/Opentelemetry/Proto/Collector/Logs/V1/LogsService.php
deleted file mode 100644
index 4f1de339a..000000000
--- a/vendor/open-telemetry/gen-otlp-protobuf/GPBMetadata/Opentelemetry/Proto/Collector/Logs/V1/LogsService.php
+++ /dev/null
Binary files differ
diff --git a/vendor/open-telemetry/gen-otlp-protobuf/GPBMetadata/Opentelemetry/Proto/Collector/Metrics/V1/MetricsService.php b/vendor/open-telemetry/gen-otlp-protobuf/GPBMetadata/Opentelemetry/Proto/Collector/Metrics/V1/MetricsService.php
deleted file mode 100644
index 54090aeee..000000000
--- a/vendor/open-telemetry/gen-otlp-protobuf/GPBMetadata/Opentelemetry/Proto/Collector/Metrics/V1/MetricsService.php
+++ /dev/null
Binary files differ
diff --git a/vendor/open-telemetry/gen-otlp-protobuf/GPBMetadata/Opentelemetry/Proto/Collector/Trace/V1/TraceService.php b/vendor/open-telemetry/gen-otlp-protobuf/GPBMetadata/Opentelemetry/Proto/Collector/Trace/V1/TraceService.php
deleted file mode 100644
index 1cb45f810..000000000
--- a/vendor/open-telemetry/gen-otlp-protobuf/GPBMetadata/Opentelemetry/Proto/Collector/Trace/V1/TraceService.php
+++ /dev/null
Binary files differ
diff --git a/vendor/open-telemetry/gen-otlp-protobuf/GPBMetadata/Opentelemetry/Proto/Common/V1/Common.php b/vendor/open-telemetry/gen-otlp-protobuf/GPBMetadata/Opentelemetry/Proto/Common/V1/Common.php
deleted file mode 100644
index 811dc86c5..000000000
--- a/vendor/open-telemetry/gen-otlp-protobuf/GPBMetadata/Opentelemetry/Proto/Common/V1/Common.php
+++ /dev/null
Binary files differ
diff --git a/vendor/open-telemetry/gen-otlp-protobuf/GPBMetadata/Opentelemetry/Proto/Logs/V1/Logs.php b/vendor/open-telemetry/gen-otlp-protobuf/GPBMetadata/Opentelemetry/Proto/Logs/V1/Logs.php
deleted file mode 100644
index 9af0fcc0f..000000000
--- a/vendor/open-telemetry/gen-otlp-protobuf/GPBMetadata/Opentelemetry/Proto/Logs/V1/Logs.php
+++ /dev/null
Binary files differ
diff --git a/vendor/open-telemetry/gen-otlp-protobuf/GPBMetadata/Opentelemetry/Proto/Metrics/Experimental/MetricsConfigService.php b/vendor/open-telemetry/gen-otlp-protobuf/GPBMetadata/Opentelemetry/Proto/Metrics/Experimental/MetricsConfigService.php
deleted file mode 100644
index 398396939..000000000
--- a/vendor/open-telemetry/gen-otlp-protobuf/GPBMetadata/Opentelemetry/Proto/Metrics/Experimental/MetricsConfigService.php
+++ /dev/null
Binary files differ
diff --git a/vendor/open-telemetry/gen-otlp-protobuf/GPBMetadata/Opentelemetry/Proto/Metrics/V1/Metrics.php b/vendor/open-telemetry/gen-otlp-protobuf/GPBMetadata/Opentelemetry/Proto/Metrics/V1/Metrics.php
deleted file mode 100644
index cbb09509a..000000000
--- a/vendor/open-telemetry/gen-otlp-protobuf/GPBMetadata/Opentelemetry/Proto/Metrics/V1/Metrics.php
+++ /dev/null
Binary files differ
diff --git a/vendor/open-telemetry/gen-otlp-protobuf/GPBMetadata/Opentelemetry/Proto/Resource/V1/Resource.php b/vendor/open-telemetry/gen-otlp-protobuf/GPBMetadata/Opentelemetry/Proto/Resource/V1/Resource.php
deleted file mode 100644
index 70c1d08fb..000000000
--- a/vendor/open-telemetry/gen-otlp-protobuf/GPBMetadata/Opentelemetry/Proto/Resource/V1/Resource.php
+++ /dev/null
@@ -1,32 +0,0 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: opentelemetry/proto/resource/v1/resource.proto
-
-namespace GPBMetadata\Opentelemetry\Proto\Resource\V1;
-
-class Resource
-{
- public static $is_initialized = false;
-
- public static function initOnce() {
- $pool = \Google\Protobuf\Internal\DescriptorPool::getGeneratedPool();
-
- if (static::$is_initialized == true) {
- return;
- }
- \GPBMetadata\Opentelemetry\Proto\Common\V1\Common::initOnce();
- $pool->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/v1ªOpenTelemetry.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
--- a/vendor/open-telemetry/gen-otlp-protobuf/GPBMetadata/Opentelemetry/Proto/Trace/V1/Trace.php
+++ /dev/null
Binary files 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
--- a/vendor/open-telemetry/gen-otlp-protobuf/GPBMetadata/Opentelemetry/Proto/Trace/V1/TraceConfig.php
+++ /dev/null
Binary files 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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: opentelemetry/proto/collector/logs/v1/logs_service.proto
-
-namespace Opentelemetry\Proto\Collector\Logs\V1;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * Generated from protobuf message <code>opentelemetry.proto.collector.logs.v1.ExportLogsPartialSuccess</code>
- */
-class ExportLogsPartialSuccess extends \Google\Protobuf\Internal\Message
-{
- /**
- * The number of rejected log records.
- * A `rejected_<signal>` field holding a `0` value indicates that the
- * request was fully accepted.
- *
- * Generated from protobuf field <code>int64 rejected_log_records = 1;</code>
- */
- 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 <code>string error_message = 2;</code>
- */
- 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_<signal>` 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_<signal>` field holding a `0` value indicates that the
- * request was fully accepted.
- *
- * Generated from protobuf field <code>int64 rejected_log_records = 1;</code>
- * @return int|string
- */
- public function getRejectedLogRecords()
- {
- return $this->rejected_log_records;
- }
-
- /**
- * The number of rejected log records.
- * A `rejected_<signal>` field holding a `0` value indicates that the
- * request was fully accepted.
- *
- * Generated from protobuf field <code>int64 rejected_log_records = 1;</code>
- * @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 <code>string error_message = 2;</code>
- * @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 <code>string error_message = 2;</code>
- * @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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: opentelemetry/proto/collector/logs/v1/logs_service.proto
-
-namespace Opentelemetry\Proto\Collector\Logs\V1;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * Generated from protobuf message <code>opentelemetry.proto.collector.logs.v1.ExportLogsServiceRequest</code>
- */
-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 <code>repeated .opentelemetry.proto.logs.v1.ResourceLogs resource_logs = 1;</code>
- */
- 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 <code>repeated .opentelemetry.proto.logs.v1.ResourceLogs resource_logs = 1;</code>
- * @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 <code>repeated .opentelemetry.proto.logs.v1.ResourceLogs resource_logs = 1;</code>
- * @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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: opentelemetry/proto/collector/logs/v1/logs_service.proto
-
-namespace Opentelemetry\Proto\Collector\Logs\V1;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * Generated from protobuf message <code>opentelemetry.proto.collector.logs.v1.ExportLogsServiceResponse</code>
- */
-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_<signal>` 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_<signal>` MUST have a value of `0` and
- * the `error_message` MUST be non-empty.
- * A `partial_success` message with an empty value (rejected_<signal> = 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 <code>.opentelemetry.proto.collector.logs.v1.ExportLogsPartialSuccess partial_success = 1;</code>
- */
- 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_<signal>` 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_<signal>` MUST have a value of `0` and
- * the `error_message` MUST be non-empty.
- * A `partial_success` message with an empty value (rejected_<signal> = 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_<signal>` 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_<signal>` MUST have a value of `0` and
- * the `error_message` MUST be non-empty.
- * A `partial_success` message with an empty value (rejected_<signal> = 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 <code>.opentelemetry.proto.collector.logs.v1.ExportLogsPartialSuccess partial_success = 1;</code>
- * @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_<signal>` 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_<signal>` MUST have a value of `0` and
- * the `error_message` MUST be non-empty.
- * A `partial_success` message with an empty value (rejected_<signal> = 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 <code>.opentelemetry.proto.collector.logs.v1.ExportLogsPartialSuccess partial_success = 1;</code>
- * @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 @@
-<?php
-// GENERATED CODE -- DO NOT EDIT!
-
-// Original file comments:
-// Copyright 2020, OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-//
-namespace Opentelemetry\Proto\Collector\Logs\V1;
-
-/**
- * Service that can be used to push logs between one Application instrumented with
- * OpenTelemetry and an collector, or between an collector and a central collector (in this
- * case logs are sent/received to/from multiple Applications).
- */
-class LogsServiceClient extends \Grpc\BaseStub {
-
- /**
- * @param string $hostname hostname
- * @param array $opts channel options
- * @param \Grpc\Channel $channel (optional) re-use channel object
- */
- public function __construct($hostname, $opts, $channel = null) {
- parent::__construct($hostname, $opts, $channel);
- }
-
- /**
- * For performance reasons, it is recommended to keep this RPC
- * alive for the entire life of the application.
- * @param \Opentelemetry\Proto\Collector\Logs\V1\ExportLogsServiceRequest $argument input argument
- * @param array $metadata metadata
- * @param array $options call options
- * @return \Grpc\UnaryCall
- */
- public function Export(\Opentelemetry\Proto\Collector\Logs\V1\ExportLogsServiceRequest $argument,
- $metadata = [], $options = []) {
- return $this->_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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: opentelemetry/proto/collector/metrics/v1/metrics_service.proto
-
-namespace Opentelemetry\Proto\Collector\Metrics\V1;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * Generated from protobuf message <code>opentelemetry.proto.collector.metrics.v1.ExportMetricsPartialSuccess</code>
- */
-class ExportMetricsPartialSuccess extends \Google\Protobuf\Internal\Message
-{
- /**
- * The number of rejected data points.
- * A `rejected_<signal>` field holding a `0` value indicates that the
- * request was fully accepted.
- *
- * Generated from protobuf field <code>int64 rejected_data_points = 1;</code>
- */
- 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 <code>string error_message = 2;</code>
- */
- 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_<signal>` 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_<signal>` field holding a `0` value indicates that the
- * request was fully accepted.
- *
- * Generated from protobuf field <code>int64 rejected_data_points = 1;</code>
- * @return int|string
- */
- public function getRejectedDataPoints()
- {
- return $this->rejected_data_points;
- }
-
- /**
- * The number of rejected data points.
- * A `rejected_<signal>` field holding a `0` value indicates that the
- * request was fully accepted.
- *
- * Generated from protobuf field <code>int64 rejected_data_points = 1;</code>
- * @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 <code>string error_message = 2;</code>
- * @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 <code>string error_message = 2;</code>
- * @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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: opentelemetry/proto/collector/metrics/v1/metrics_service.proto
-
-namespace Opentelemetry\Proto\Collector\Metrics\V1;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * Generated from protobuf message <code>opentelemetry.proto.collector.metrics.v1.ExportMetricsServiceRequest</code>
- */
-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 <code>repeated .opentelemetry.proto.metrics.v1.ResourceMetrics resource_metrics = 1;</code>
- */
- 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 <code>repeated .opentelemetry.proto.metrics.v1.ResourceMetrics resource_metrics = 1;</code>
- * @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 <code>repeated .opentelemetry.proto.metrics.v1.ResourceMetrics resource_metrics = 1;</code>
- * @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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: opentelemetry/proto/collector/metrics/v1/metrics_service.proto
-
-namespace Opentelemetry\Proto\Collector\Metrics\V1;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * Generated from protobuf message <code>opentelemetry.proto.collector.metrics.v1.ExportMetricsServiceResponse</code>
- */
-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_<signal>` 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_<signal>` MUST have a value of `0` and
- * the `error_message` MUST be non-empty.
- * A `partial_success` message with an empty value (rejected_<signal> = 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 <code>.opentelemetry.proto.collector.metrics.v1.ExportMetricsPartialSuccess partial_success = 1;</code>
- */
- 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_<signal>` 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_<signal>` MUST have a value of `0` and
- * the `error_message` MUST be non-empty.
- * A `partial_success` message with an empty value (rejected_<signal> = 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_<signal>` 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_<signal>` MUST have a value of `0` and
- * the `error_message` MUST be non-empty.
- * A `partial_success` message with an empty value (rejected_<signal> = 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 <code>.opentelemetry.proto.collector.metrics.v1.ExportMetricsPartialSuccess partial_success = 1;</code>
- * @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_<signal>` 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_<signal>` MUST have a value of `0` and
- * the `error_message` MUST be non-empty.
- * A `partial_success` message with an empty value (rejected_<signal> = 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 <code>.opentelemetry.proto.collector.metrics.v1.ExportMetricsPartialSuccess partial_success = 1;</code>
- * @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 @@
-<?php
-// GENERATED CODE -- DO NOT EDIT!
-
-// Original file comments:
-// Copyright 2019, OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-//
-namespace Opentelemetry\Proto\Collector\Metrics\V1;
-
-/**
- * Service that can be used to push metrics between one Application
- * instrumented with OpenTelemetry and a collector, or between a collector and a
- * central collector.
- */
-class MetricsServiceClient extends \Grpc\BaseStub {
-
- /**
- * @param string $hostname hostname
- * @param array $opts channel options
- * @param \Grpc\Channel $channel (optional) re-use channel object
- */
- public function __construct($hostname, $opts, $channel = null) {
- parent::__construct($hostname, $opts, $channel);
- }
-
- /**
- * For performance reasons, it is recommended to keep this RPC
- * alive for the entire life of the application.
- * @param \Opentelemetry\Proto\Collector\Metrics\V1\ExportMetricsServiceRequest $argument input argument
- * @param array $metadata metadata
- * @param array $options call options
- * @return \Grpc\UnaryCall
- */
- public function Export(\Opentelemetry\Proto\Collector\Metrics\V1\ExportMetricsServiceRequest $argument,
- $metadata = [], $options = []) {
- return $this->_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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: opentelemetry/proto/collector/trace/v1/trace_service.proto
-
-namespace Opentelemetry\Proto\Collector\Trace\V1;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * Generated from protobuf message <code>opentelemetry.proto.collector.trace.v1.ExportTracePartialSuccess</code>
- */
-class ExportTracePartialSuccess extends \Google\Protobuf\Internal\Message
-{
- /**
- * The number of rejected spans.
- * A `rejected_<signal>` field holding a `0` value indicates that the
- * request was fully accepted.
- *
- * Generated from protobuf field <code>int64 rejected_spans = 1;</code>
- */
- 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 <code>string error_message = 2;</code>
- */
- 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_<signal>` 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_<signal>` field holding a `0` value indicates that the
- * request was fully accepted.
- *
- * Generated from protobuf field <code>int64 rejected_spans = 1;</code>
- * @return int|string
- */
- public function getRejectedSpans()
- {
- return $this->rejected_spans;
- }
-
- /**
- * The number of rejected spans.
- * A `rejected_<signal>` field holding a `0` value indicates that the
- * request was fully accepted.
- *
- * Generated from protobuf field <code>int64 rejected_spans = 1;</code>
- * @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 <code>string error_message = 2;</code>
- * @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 <code>string error_message = 2;</code>
- * @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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: opentelemetry/proto/collector/trace/v1/trace_service.proto
-
-namespace Opentelemetry\Proto\Collector\Trace\V1;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * Generated from protobuf message <code>opentelemetry.proto.collector.trace.v1.ExportTraceServiceRequest</code>
- */
-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 <code>repeated .opentelemetry.proto.trace.v1.ResourceSpans resource_spans = 1;</code>
- */
- 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 <code>repeated .opentelemetry.proto.trace.v1.ResourceSpans resource_spans = 1;</code>
- * @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 <code>repeated .opentelemetry.proto.trace.v1.ResourceSpans resource_spans = 1;</code>
- * @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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: opentelemetry/proto/collector/trace/v1/trace_service.proto
-
-namespace Opentelemetry\Proto\Collector\Trace\V1;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * Generated from protobuf message <code>opentelemetry.proto.collector.trace.v1.ExportTraceServiceResponse</code>
- */
-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_<signal>` 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_<signal>` MUST have a value of `0` and
- * the `error_message` MUST be non-empty.
- * A `partial_success` message with an empty value (rejected_<signal> = 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 <code>.opentelemetry.proto.collector.trace.v1.ExportTracePartialSuccess partial_success = 1;</code>
- */
- 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_<signal>` 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_<signal>` MUST have a value of `0` and
- * the `error_message` MUST be non-empty.
- * A `partial_success` message with an empty value (rejected_<signal> = 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_<signal>` 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_<signal>` MUST have a value of `0` and
- * the `error_message` MUST be non-empty.
- * A `partial_success` message with an empty value (rejected_<signal> = 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 <code>.opentelemetry.proto.collector.trace.v1.ExportTracePartialSuccess partial_success = 1;</code>
- * @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_<signal>` 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_<signal>` MUST have a value of `0` and
- * the `error_message` MUST be non-empty.
- * A `partial_success` message with an empty value (rejected_<signal> = 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 <code>.opentelemetry.proto.collector.trace.v1.ExportTracePartialSuccess partial_success = 1;</code>
- * @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 @@
-<?php
-// GENERATED CODE -- DO NOT EDIT!
-
-// Original file comments:
-// Copyright 2019, OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-//
-namespace Opentelemetry\Proto\Collector\Trace\V1;
-
-/**
- * Service that can be used to push spans between one Application instrumented with
- * OpenTelemetry and a collector, or between a collector and a central collector (in this
- * case spans are sent/received to/from multiple Applications).
- */
-class TraceServiceClient extends \Grpc\BaseStub {
-
- /**
- * @param string $hostname hostname
- * @param array $opts channel options
- * @param \Grpc\Channel $channel (optional) re-use channel object
- */
- public function __construct($hostname, $opts, $channel = null) {
- parent::__construct($hostname, $opts, $channel);
- }
-
- /**
- * For performance reasons, it is recommended to keep this RPC
- * alive for the entire life of the application.
- * @param \Opentelemetry\Proto\Collector\Trace\V1\ExportTraceServiceRequest $argument input argument
- * @param array $metadata metadata
- * @param array $options call options
- * @return \Grpc\UnaryCall
- */
- public function Export(\Opentelemetry\Proto\Collector\Trace\V1\ExportTraceServiceRequest $argument,
- $metadata = [], $options = []) {
- return $this->_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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: opentelemetry/proto/common/v1/common.proto
-
-namespace Opentelemetry\Proto\Common\V1;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * AnyValue is used to represent any type of attribute value. AnyValue may contain a
- * primitive value such as a string or integer or it may contain an arbitrary nested
- * object containing arrays, key-value lists and primitives.
- *
- * Generated from protobuf message <code>opentelemetry.proto.common.v1.AnyValue</code>
- */
-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 <code>string string_value = 1;</code>
- * @return string
- */
- public function getStringValue()
- {
- return $this->readOneof(1);
- }
-
- public function hasStringValue()
- {
- return $this->hasOneof(1);
- }
-
- /**
- * Generated from protobuf field <code>string string_value = 1;</code>
- * @param string $var
- * @return $this
- */
- public function setStringValue($var)
- {
- GPBUtil::checkString($var, True);
- $this->writeOneof(1, $var);
-
- return $this;
- }
-
- /**
- * Generated from protobuf field <code>bool bool_value = 2;</code>
- * @return bool
- */
- public function getBoolValue()
- {
- return $this->readOneof(2);
- }
-
- public function hasBoolValue()
- {
- return $this->hasOneof(2);
- }
-
- /**
- * Generated from protobuf field <code>bool bool_value = 2;</code>
- * @param bool $var
- * @return $this
- */
- public function setBoolValue($var)
- {
- GPBUtil::checkBool($var);
- $this->writeOneof(2, $var);
-
- return $this;
- }
-
- /**
- * Generated from protobuf field <code>int64 int_value = 3;</code>
- * @return int|string
- */
- public function getIntValue()
- {
- return $this->readOneof(3);
- }
-
- public function hasIntValue()
- {
- return $this->hasOneof(3);
- }
-
- /**
- * Generated from protobuf field <code>int64 int_value = 3;</code>
- * @param int|string $var
- * @return $this
- */
- public function setIntValue($var)
- {
- GPBUtil::checkInt64($var);
- $this->writeOneof(3, $var);
-
- return $this;
- }
-
- /**
- * Generated from protobuf field <code>double double_value = 4;</code>
- * @return float
- */
- public function getDoubleValue()
- {
- return $this->readOneof(4);
- }
-
- public function hasDoubleValue()
- {
- return $this->hasOneof(4);
- }
-
- /**
- * Generated from protobuf field <code>double double_value = 4;</code>
- * @param float $var
- * @return $this
- */
- public function setDoubleValue($var)
- {
- GPBUtil::checkDouble($var);
- $this->writeOneof(4, $var);
-
- return $this;
- }
-
- /**
- * Generated from protobuf field <code>.opentelemetry.proto.common.v1.ArrayValue array_value = 5;</code>
- * @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 <code>.opentelemetry.proto.common.v1.ArrayValue array_value = 5;</code>
- * @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 <code>.opentelemetry.proto.common.v1.KeyValueList kvlist_value = 6;</code>
- * @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 <code>.opentelemetry.proto.common.v1.KeyValueList kvlist_value = 6;</code>
- * @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 <code>bytes bytes_value = 7;</code>
- * @return string
- */
- public function getBytesValue()
- {
- return $this->readOneof(7);
- }
-
- public function hasBytesValue()
- {
- return $this->hasOneof(7);
- }
-
- /**
- * Generated from protobuf field <code>bytes bytes_value = 7;</code>
- * @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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: opentelemetry/proto/common/v1/common.proto
-
-namespace Opentelemetry\Proto\Common\V1;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * ArrayValue is a list of AnyValue messages. We need ArrayValue as a message
- * since oneof in AnyValue does not allow repeated fields.
- *
- * Generated from protobuf message <code>opentelemetry.proto.common.v1.ArrayValue</code>
- */
-class ArrayValue extends \Google\Protobuf\Internal\Message
-{
- /**
- * Array of values. The array may be empty (contain 0 elements).
- *
- * Generated from protobuf field <code>repeated .opentelemetry.proto.common.v1.AnyValue values = 1;</code>
- */
- 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 <code>repeated .opentelemetry.proto.common.v1.AnyValue values = 1;</code>
- * @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 <code>repeated .opentelemetry.proto.common.v1.AnyValue values = 1;</code>
- * @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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: opentelemetry/proto/common/v1/common.proto
-
-namespace Opentelemetry\Proto\Common\V1;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * InstrumentationLibrary is a message representing the instrumentation library information
- * such as the fully qualified name and version.
- * InstrumentationLibrary is wire-compatible with InstrumentationScope for binary
- * Protobuf format.
- * This message is deprecated and will be removed on June 15, 2022.
- *
- * Generated from protobuf message <code>opentelemetry.proto.common.v1.InstrumentationLibrary</code>
- */
-class InstrumentationLibrary extends \Google\Protobuf\Internal\Message
-{
- /**
- * An empty instrumentation library name means the name is unknown.
- *
- * Generated from protobuf field <code>string name = 1;</code>
- */
- protected $name = '';
- /**
- * Generated from protobuf field <code>string version = 2;</code>
- */
- 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 <code>string name = 1;</code>
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * An empty instrumentation library name means the name is unknown.
- *
- * Generated from protobuf field <code>string name = 1;</code>
- * @param string $var
- * @return $this
- */
- public function setName($var)
- {
- GPBUtil::checkString($var, True);
- $this->name = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field <code>string version = 2;</code>
- * @return string
- */
- public function getVersion()
- {
- return $this->version;
- }
-
- /**
- * Generated from protobuf field <code>string version = 2;</code>
- * @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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: opentelemetry/proto/common/v1/common.proto
-
-namespace Opentelemetry\Proto\Common\V1;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * InstrumentationScope is a message representing the instrumentation scope information
- * such as the fully qualified name and version.
- *
- * Generated from protobuf message <code>opentelemetry.proto.common.v1.InstrumentationScope</code>
- */
-class InstrumentationScope extends \Google\Protobuf\Internal\Message
-{
- /**
- * An empty instrumentation scope name means the name is unknown.
- *
- * Generated from protobuf field <code>string name = 1;</code>
- */
- protected $name = '';
- /**
- * Generated from protobuf field <code>string version = 2;</code>
- */
- 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 <code>repeated .opentelemetry.proto.common.v1.KeyValue attributes = 3;</code>
- */
- private $attributes;
- /**
- * Generated from protobuf field <code>uint32 dropped_attributes_count = 4;</code>
- */
- 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 <code>string name = 1;</code>
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
-
- /**
- * An empty instrumentation scope name means the name is unknown.
- *
- * Generated from protobuf field <code>string name = 1;</code>
- * @param string $var
- * @return $this
- */
- public function setName($var)
- {
- GPBUtil::checkString($var, True);
- $this->name = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field <code>string version = 2;</code>
- * @return string
- */
- public function getVersion()
- {
- return $this->version;
- }
-
- /**
- * Generated from protobuf field <code>string version = 2;</code>
- * @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 <code>repeated .opentelemetry.proto.common.v1.KeyValue attributes = 3;</code>
- * @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 <code>repeated .opentelemetry.proto.common.v1.KeyValue attributes = 3;</code>
- * @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 <code>uint32 dropped_attributes_count = 4;</code>
- * @return int
- */
- public function getDroppedAttributesCount()
- {
- return $this->dropped_attributes_count;
- }
-
- /**
- * Generated from protobuf field <code>uint32 dropped_attributes_count = 4;</code>
- * @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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: opentelemetry/proto/common/v1/common.proto
-
-namespace Opentelemetry\Proto\Common\V1;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * KeyValue is a key-value pair that is used to store Span attributes, Link
- * attributes, etc.
- *
- * Generated from protobuf message <code>opentelemetry.proto.common.v1.KeyValue</code>
- */
-class KeyValue extends \Google\Protobuf\Internal\Message
-{
- /**
- * Generated from protobuf field <code>string key = 1;</code>
- */
- protected $key = '';
- /**
- * Generated from protobuf field <code>.opentelemetry.proto.common.v1.AnyValue value = 2;</code>
- */
- 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 <code>string key = 1;</code>
- * @return string
- */
- public function getKey()
- {
- return $this->key;
- }
-
- /**
- * Generated from protobuf field <code>string key = 1;</code>
- * @param string $var
- * @return $this
- */
- public function setKey($var)
- {
- GPBUtil::checkString($var, True);
- $this->key = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field <code>.opentelemetry.proto.common.v1.AnyValue value = 2;</code>
- * @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 <code>.opentelemetry.proto.common.v1.AnyValue value = 2;</code>
- * @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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: opentelemetry/proto/common/v1/common.proto
-
-namespace Opentelemetry\Proto\Common\V1;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * KeyValueList is a list of KeyValue messages. We need KeyValueList as a message
- * since `oneof` in AnyValue does not allow repeated fields. Everywhere else where we need
- * a list of KeyValue messages (e.g. in Span) we use `repeated KeyValue` directly to
- * avoid unnecessary extra wrapping (which slows down the protocol). The 2 approaches
- * are semantically equivalent.
- *
- * Generated from protobuf message <code>opentelemetry.proto.common.v1.KeyValueList</code>
- */
-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 <code>repeated .opentelemetry.proto.common.v1.KeyValue values = 1;</code>
- */
- 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 <code>repeated .opentelemetry.proto.common.v1.KeyValue values = 1;</code>
- * @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 <code>repeated .opentelemetry.proto.common.v1.KeyValue values = 1;</code>
- * @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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: opentelemetry/proto/common/v1/common.proto
-
-namespace Opentelemetry\Proto\Common\V1;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * StringKeyValue is a pair of key/value strings. This is the simpler (and faster) version
- * of KeyValue that only supports string values.
- *
- * Generated from protobuf message <code>opentelemetry.proto.common.v1.StringKeyValue</code>
- */
-class StringKeyValue extends \Google\Protobuf\Internal\Message
-{
- /**
- * Generated from protobuf field <code>string key = 1;</code>
- */
- protected $key = '';
- /**
- * Generated from protobuf field <code>string value = 2;</code>
- */
- 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 <code>string key = 1;</code>
- * @return string
- */
- public function getKey()
- {
- return $this->key;
- }
-
- /**
- * Generated from protobuf field <code>string key = 1;</code>
- * @param string $var
- * @return $this
- */
- public function setKey($var)
- {
- GPBUtil::checkString($var, True);
- $this->key = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field <code>string value = 2;</code>
- * @return string
- */
- public function getValue()
- {
- return $this->value;
- }
-
- /**
- * Generated from protobuf field <code>string value = 2;</code>
- * @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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: opentelemetry/proto/logs/v1/logs.proto
-
-namespace Opentelemetry\Proto\Logs\V1;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * A collection of Logs produced by an InstrumentationLibrary.
- * InstrumentationLibraryLogs is wire-compatible with ScopeLogs for binary
- * Protobuf format.
- * This message is deprecated and will be removed on June 15, 2022.
- *
- * Generated from protobuf message <code>opentelemetry.proto.logs.v1.InstrumentationLibraryLogs</code>
- */
-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 <code>.opentelemetry.proto.common.v1.InstrumentationLibrary instrumentation_library = 1;</code>
- */
- protected $instrumentation_library = null;
- /**
- * A list of logs that originate from an instrumentation library.
- *
- * Generated from protobuf field <code>repeated .opentelemetry.proto.logs.v1.LogRecord log_records = 2;</code>
- */
- private $log_records;
- /**
- * This schema_url applies to all logs in the "logs" field.
- *
- * Generated from protobuf field <code>string schema_url = 3;</code>
- */
- 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 <code>.opentelemetry.proto.common.v1.InstrumentationLibrary instrumentation_library = 1;</code>
- * @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 <code>.opentelemetry.proto.common.v1.InstrumentationLibrary instrumentation_library = 1;</code>
- * @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 <code>repeated .opentelemetry.proto.logs.v1.LogRecord log_records = 2;</code>
- * @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 <code>repeated .opentelemetry.proto.logs.v1.LogRecord log_records = 2;</code>
- * @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 <code>string schema_url = 3;</code>
- * @return string
- */
- public function getSchemaUrl()
- {
- return $this->schema_url;
- }
-
- /**
- * This schema_url applies to all logs in the "logs" field.
- *
- * Generated from protobuf field <code>string schema_url = 3;</code>
- * @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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: opentelemetry/proto/logs/v1/logs.proto
-
-namespace Opentelemetry\Proto\Logs\V1;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * A log record according to OpenTelemetry Log Data Model:
- * https://github.com/open-telemetry/oteps/blob/main/text/logs/0097-log-data-model.md
- *
- * Generated from protobuf message <code>opentelemetry.proto.logs.v1.LogRecord</code>
- */
-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 <code>fixed64 time_unix_nano = 1;</code>
- */
- 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 <code>fixed64 observed_time_unix_nano = 11;</code>
- */
- protected $observed_time_unix_nano = 0;
- /**
- * Numerical value of the severity, normalized to values described in Log Data Model.
- * [Optional].
- *
- * Generated from protobuf field <code>.opentelemetry.proto.logs.v1.SeverityNumber severity_number = 2;</code>
- */
- 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 <code>string severity_text = 3;</code>
- */
- 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 <code>.opentelemetry.proto.common.v1.AnyValue body = 5;</code>
- */
- 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 <code>repeated .opentelemetry.proto.common.v1.KeyValue attributes = 6;</code>
- */
- private $attributes;
- /**
- * Generated from protobuf field <code>uint32 dropped_attributes_count = 7;</code>
- */
- 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 <code>fixed32 flags = 8;</code>
- */
- 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 <code>bytes trace_id = 9;</code>
- */
- 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 <code>bytes span_id = 10;</code>
- */
- 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 <code>fixed64 time_unix_nano = 1;</code>
- * @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 <code>fixed64 time_unix_nano = 1;</code>
- * @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 <code>fixed64 observed_time_unix_nano = 11;</code>
- * @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 <code>fixed64 observed_time_unix_nano = 11;</code>
- * @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 <code>.opentelemetry.proto.logs.v1.SeverityNumber severity_number = 2;</code>
- * @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 <code>.opentelemetry.proto.logs.v1.SeverityNumber severity_number = 2;</code>
- * @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 <code>string severity_text = 3;</code>
- * @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 <code>string severity_text = 3;</code>
- * @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 <code>.opentelemetry.proto.common.v1.AnyValue body = 5;</code>
- * @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 <code>.opentelemetry.proto.common.v1.AnyValue body = 5;</code>
- * @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 <code>repeated .opentelemetry.proto.common.v1.KeyValue attributes = 6;</code>
- * @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 <code>repeated .opentelemetry.proto.common.v1.KeyValue attributes = 6;</code>
- * @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 <code>uint32 dropped_attributes_count = 7;</code>
- * @return int
- */
- public function getDroppedAttributesCount()
- {
- return $this->dropped_attributes_count;
- }
-
- /**
- * Generated from protobuf field <code>uint32 dropped_attributes_count = 7;</code>
- * @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 <code>fixed32 flags = 8;</code>
- * @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 <code>fixed32 flags = 8;</code>
- * @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 <code>bytes trace_id = 9;</code>
- * @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 <code>bytes trace_id = 9;</code>
- * @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 <code>bytes span_id = 10;</code>
- * @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 <code>bytes span_id = 10;</code>
- * @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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: opentelemetry/proto/logs/v1/logs.proto
-
-namespace Opentelemetry\Proto\Logs\V1;
-
-use UnexpectedValueException;
-
-/**
- * LogRecordFlags is defined as a protobuf 'uint32' type and is to be used as
- * bit-fields. Each non-zero value defined in this enum is a bit-mask.
- * To extract the bit-field, for example, use an expression like:
- * (logRecord.flags & LOG_RECORD_FLAGS_TRACE_FLAGS_MASK)
- *
- * Protobuf type <code>opentelemetry.proto.logs.v1.LogRecordFlags</code>
- */
-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 <code>LOG_RECORD_FLAGS_DO_NOT_USE = 0;</code>
- */
- const LOG_RECORD_FLAGS_DO_NOT_USE = 0;
- /**
- * Bits 0-7 are used for trace flags.
- *
- * Generated from protobuf enum <code>LOG_RECORD_FLAGS_TRACE_FLAGS_MASK = 255;</code>
- */
- 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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: opentelemetry/proto/logs/v1/logs.proto
-
-namespace Opentelemetry\Proto\Logs\V1;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * LogsData represents the logs data that can be stored in a persistent storage,
- * OR can be embedded by other protocols that transfer OTLP logs data but do not
- * implement the OTLP protocol.
- * The main difference between this message and collector protocol is that
- * in this message there will not be any "control" or "metadata" specific to
- * OTLP protocol.
- * When new fields are added into this message, the OTLP request MUST be updated
- * as well.
- *
- * Generated from protobuf message <code>opentelemetry.proto.logs.v1.LogsData</code>
- */
-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 <code>repeated .opentelemetry.proto.logs.v1.ResourceLogs resource_logs = 1;</code>
- */
- 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 <code>repeated .opentelemetry.proto.logs.v1.ResourceLogs resource_logs = 1;</code>
- * @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 <code>repeated .opentelemetry.proto.logs.v1.ResourceLogs resource_logs = 1;</code>
- * @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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: opentelemetry/proto/logs/v1/logs.proto
-
-namespace Opentelemetry\Proto\Logs\V1;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * A collection of ScopeLogs from a Resource.
- *
- * Generated from protobuf message <code>opentelemetry.proto.logs.v1.ResourceLogs</code>
- */
-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 <code>.opentelemetry.proto.resource.v1.Resource resource = 1;</code>
- */
- protected $resource = null;
- /**
- * A list of ScopeLogs that originate from a resource.
- *
- * Generated from protobuf field <code>repeated .opentelemetry.proto.logs.v1.ScopeLogs scope_logs = 2;</code>
- */
- 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 <code>string schema_url = 3;</code>
- */
- 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 <code>.opentelemetry.proto.resource.v1.Resource resource = 1;</code>
- * @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 <code>.opentelemetry.proto.resource.v1.Resource resource = 1;</code>
- * @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 <code>repeated .opentelemetry.proto.logs.v1.ScopeLogs scope_logs = 2;</code>
- * @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 <code>repeated .opentelemetry.proto.logs.v1.ScopeLogs scope_logs = 2;</code>
- * @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 <code>string schema_url = 3;</code>
- * @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 <code>string schema_url = 3;</code>
- * @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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: opentelemetry/proto/logs/v1/logs.proto
-
-namespace Opentelemetry\Proto\Logs\V1;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * A collection of Logs produced by a Scope.
- *
- * Generated from protobuf message <code>opentelemetry.proto.logs.v1.ScopeLogs</code>
- */
-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 <code>.opentelemetry.proto.common.v1.InstrumentationScope scope = 1;</code>
- */
- protected $scope = null;
- /**
- * A list of log records.
- *
- * Generated from protobuf field <code>repeated .opentelemetry.proto.logs.v1.LogRecord log_records = 2;</code>
- */
- private $log_records;
- /**
- * This schema_url applies to all logs in the "logs" field.
- *
- * Generated from protobuf field <code>string schema_url = 3;</code>
- */
- 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 <code>.opentelemetry.proto.common.v1.InstrumentationScope scope = 1;</code>
- * @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 <code>.opentelemetry.proto.common.v1.InstrumentationScope scope = 1;</code>
- * @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 <code>repeated .opentelemetry.proto.logs.v1.LogRecord log_records = 2;</code>
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getLogRecords()
- {
- return $this->log_records;
- }
-
- /**
- * A list of log records.
- *
- * Generated from protobuf field <code>repeated .opentelemetry.proto.logs.v1.LogRecord log_records = 2;</code>
- * @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 <code>string schema_url = 3;</code>
- * @return string
- */
- public function getSchemaUrl()
- {
- return $this->schema_url;
- }
-
- /**
- * This schema_url applies to all logs in the "logs" field.
- *
- * Generated from protobuf field <code>string schema_url = 3;</code>
- * @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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: opentelemetry/proto/logs/v1/logs.proto
-
-namespace Opentelemetry\Proto\Logs\V1;
-
-use UnexpectedValueException;
-
-/**
- * Possible values for LogRecord.SeverityNumber.
- *
- * Protobuf type <code>opentelemetry.proto.logs.v1.SeverityNumber</code>
- */
-class SeverityNumber
-{
- /**
- * UNSPECIFIED is the default SeverityNumber, it MUST NOT be used.
- *
- * Generated from protobuf enum <code>SEVERITY_NUMBER_UNSPECIFIED = 0;</code>
- */
- const SEVERITY_NUMBER_UNSPECIFIED = 0;
- /**
- * Generated from protobuf enum <code>SEVERITY_NUMBER_TRACE = 1;</code>
- */
- const SEVERITY_NUMBER_TRACE = 1;
- /**
- * Generated from protobuf enum <code>SEVERITY_NUMBER_TRACE2 = 2;</code>
- */
- const SEVERITY_NUMBER_TRACE2 = 2;
- /**
- * Generated from protobuf enum <code>SEVERITY_NUMBER_TRACE3 = 3;</code>
- */
- const SEVERITY_NUMBER_TRACE3 = 3;
- /**
- * Generated from protobuf enum <code>SEVERITY_NUMBER_TRACE4 = 4;</code>
- */
- const SEVERITY_NUMBER_TRACE4 = 4;
- /**
- * Generated from protobuf enum <code>SEVERITY_NUMBER_DEBUG = 5;</code>
- */
- const SEVERITY_NUMBER_DEBUG = 5;
- /**
- * Generated from protobuf enum <code>SEVERITY_NUMBER_DEBUG2 = 6;</code>
- */
- const SEVERITY_NUMBER_DEBUG2 = 6;
- /**
- * Generated from protobuf enum <code>SEVERITY_NUMBER_DEBUG3 = 7;</code>
- */
- const SEVERITY_NUMBER_DEBUG3 = 7;
- /**
- * Generated from protobuf enum <code>SEVERITY_NUMBER_DEBUG4 = 8;</code>
- */
- const SEVERITY_NUMBER_DEBUG4 = 8;
- /**
- * Generated from protobuf enum <code>SEVERITY_NUMBER_INFO = 9;</code>
- */
- const SEVERITY_NUMBER_INFO = 9;
- /**
- * Generated from protobuf enum <code>SEVERITY_NUMBER_INFO2 = 10;</code>
- */
- const SEVERITY_NUMBER_INFO2 = 10;
- /**
- * Generated from protobuf enum <code>SEVERITY_NUMBER_INFO3 = 11;</code>
- */
- const SEVERITY_NUMBER_INFO3 = 11;
- /**
- * Generated from protobuf enum <code>SEVERITY_NUMBER_INFO4 = 12;</code>
- */
- const SEVERITY_NUMBER_INFO4 = 12;
- /**
- * Generated from protobuf enum <code>SEVERITY_NUMBER_WARN = 13;</code>
- */
- const SEVERITY_NUMBER_WARN = 13;
- /**
- * Generated from protobuf enum <code>SEVERITY_NUMBER_WARN2 = 14;</code>
- */
- const SEVERITY_NUMBER_WARN2 = 14;
- /**
- * Generated from protobuf enum <code>SEVERITY_NUMBER_WARN3 = 15;</code>
- */
- const SEVERITY_NUMBER_WARN3 = 15;
- /**
- * Generated from protobuf enum <code>SEVERITY_NUMBER_WARN4 = 16;</code>
- */
- const SEVERITY_NUMBER_WARN4 = 16;
- /**
- * Generated from protobuf enum <code>SEVERITY_NUMBER_ERROR = 17;</code>
- */
- const SEVERITY_NUMBER_ERROR = 17;
- /**
- * Generated from protobuf enum <code>SEVERITY_NUMBER_ERROR2 = 18;</code>
- */
- const SEVERITY_NUMBER_ERROR2 = 18;
- /**
- * Generated from protobuf enum <code>SEVERITY_NUMBER_ERROR3 = 19;</code>
- */
- const SEVERITY_NUMBER_ERROR3 = 19;
- /**
- * Generated from protobuf enum <code>SEVERITY_NUMBER_ERROR4 = 20;</code>
- */
- const SEVERITY_NUMBER_ERROR4 = 20;
- /**
- * Generated from protobuf enum <code>SEVERITY_NUMBER_FATAL = 21;</code>
- */
- const SEVERITY_NUMBER_FATAL = 21;
- /**
- * Generated from protobuf enum <code>SEVERITY_NUMBER_FATAL2 = 22;</code>
- */
- const SEVERITY_NUMBER_FATAL2 = 22;
- /**
- * Generated from protobuf enum <code>SEVERITY_NUMBER_FATAL3 = 23;</code>
- */
- const SEVERITY_NUMBER_FATAL3 = 23;
- /**
- * Generated from protobuf enum <code>SEVERITY_NUMBER_FATAL4 = 24;</code>
- */
- 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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: opentelemetry/proto/metrics/experimental/metrics_config_service.proto
-
-namespace Opentelemetry\Proto\Metrics\Experimental;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * Generated from protobuf message <code>opentelemetry.proto.metrics.experimental.MetricConfigRequest</code>
- */
-class MetricConfigRequest extends \Google\Protobuf\Internal\Message
-{
- /**
- * Required. The resource for which configuration should be returned.
- *
- * Generated from protobuf field <code>.opentelemetry.proto.resource.v1.Resource resource = 1;</code>
- */
- protected $resource = null;
- /**
- * Optional. The value of MetricConfigResponse.fingerprint for the last
- * configuration that the caller received and successfully applied.
- *
- * Generated from protobuf field <code>bytes last_known_fingerprint = 2;</code>
- */
- 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 <code>.opentelemetry.proto.resource.v1.Resource resource = 1;</code>
- * @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 <code>.opentelemetry.proto.resource.v1.Resource resource = 1;</code>
- * @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 <code>bytes last_known_fingerprint = 2;</code>
- * @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 <code>bytes last_known_fingerprint = 2;</code>
- * @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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: opentelemetry/proto/metrics/experimental/metrics_config_service.proto
-
-namespace Opentelemetry\Proto\Metrics\Experimental;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * Generated from protobuf message <code>opentelemetry.proto.metrics.experimental.MetricConfigResponse</code>
- */
-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 <code>bytes fingerprint = 1;</code>
- */
- 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 <code>repeated .opentelemetry.proto.metrics.experimental.MetricConfigResponse.Schedule schedules = 2;</code>
- */
- private $schedules;
- /**
- * Optional. The client is suggested to wait this long (in seconds) before
- * pinging the configuration service again.
- *
- * Generated from protobuf field <code>int32 suggested_wait_time_sec = 3;</code>
- */
- 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 <code>bytes fingerprint = 1;</code>
- * @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 <code>bytes fingerprint = 1;</code>
- * @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 <code>repeated .opentelemetry.proto.metrics.experimental.MetricConfigResponse.Schedule schedules = 2;</code>
- * @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 <code>repeated .opentelemetry.proto.metrics.experimental.MetricConfigResponse.Schedule schedules = 2;</code>
- * @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 <code>int32 suggested_wait_time_sec = 3;</code>
- * @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 <code>int32 suggested_wait_time_sec = 3;</code>
- * @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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: opentelemetry/proto/metrics/experimental/metrics_config_service.proto
-
-namespace Opentelemetry\Proto\Metrics\Experimental\MetricConfigResponse;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * A Schedule is used to apply a particular scheduling configuration to
- * a metric. If a metric name matches a schedule's patterns, then the metric
- * adopts the configuration specified by the schedule.
- *
- * Generated from protobuf message <code>opentelemetry.proto.metrics.experimental.MetricConfigResponse.Schedule</code>
- */
-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 <code>repeated .opentelemetry.proto.metrics.experimental.MetricConfigResponse.Schedule.Pattern exclusion_patterns = 1;</code>
- */
- private $exclusion_patterns;
- /**
- * Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.experimental.MetricConfigResponse.Schedule.Pattern inclusion_patterns = 2;</code>
- */
- private $inclusion_patterns;
- /**
- * Describes the collection period for each metric in seconds.
- * A period of 0 means to not export.
- *
- * Generated from protobuf field <code>int32 period_sec = 3;</code>
- */
- 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 <code>repeated .opentelemetry.proto.metrics.experimental.MetricConfigResponse.Schedule.Pattern exclusion_patterns = 1;</code>
- * @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 <code>repeated .opentelemetry.proto.metrics.experimental.MetricConfigResponse.Schedule.Pattern exclusion_patterns = 1;</code>
- * @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 <code>repeated .opentelemetry.proto.metrics.experimental.MetricConfigResponse.Schedule.Pattern inclusion_patterns = 2;</code>
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getInclusionPatterns()
- {
- return $this->inclusion_patterns;
- }
-
- /**
- * Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.experimental.MetricConfigResponse.Schedule.Pattern inclusion_patterns = 2;</code>
- * @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 <code>int32 period_sec = 3;</code>
- * @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 <code>int32 period_sec = 3;</code>
- * @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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: opentelemetry/proto/metrics/experimental/metrics_config_service.proto
-
-namespace Opentelemetry\Proto\Metrics\Experimental\MetricConfigResponse\Schedule;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * A light-weight pattern that can match 1 or more
- * metrics, for which this schedule will apply. The string is used to
- * match against metric names. It should not exceed 100k characters.
- *
- * Generated from protobuf message <code>opentelemetry.proto.metrics.experimental.MetricConfigResponse.Schedule.Pattern</code>
- */
-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 <code>string equals = 1;</code>
- * @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 <code>string equals = 1;</code>
- * @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 <code>string starts_with = 2;</code>
- * @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 <code>string starts_with = 2;</code>
- * @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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: opentelemetry/proto/metrics/experimental/metrics_config_service.proto
-
-namespace Opentelemetry\Proto\Metrics\Experimental;
-
-if (false) {
- /**
- * This class is deprecated. Use Opentelemetry\Proto\Metrics\Experimental\MetricConfigResponse\Schedule instead.
- * @deprecated
- */
- class MetricConfigResponse_Schedule {}
-}
-class_exists(MetricConfigResponse\Schedule::class);
-@trigger_error('Opentelemetry\Proto\Metrics\Experimental\MetricConfigResponse_Schedule is deprecated and will be removed in the next major release. Use Opentelemetry\Proto\Metrics\Experimental\MetricConfigResponse\Schedule instead', E_USER_DEPRECATED);
-
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 cd516c784..000000000
--- a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/Experimental/MetricConfigResponse_Schedule_Pattern.php
+++ /dev/null
@@ -1,16 +0,0 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: opentelemetry/proto/metrics/experimental/metrics_config_service.proto
-
-namespace Opentelemetry\Proto\Metrics\Experimental;
-
-if (false) {
- /**
- * This class is deprecated. Use Opentelemetry\Proto\Metrics\Experimental\MetricConfigResponse\Schedule\Pattern instead.
- * @deprecated
- */
- class MetricConfigResponse_Schedule_Pattern {}
-}
-class_exists(MetricConfigResponse\Schedule\Pattern::class);
-@trigger_error('Opentelemetry\Proto\Metrics\Experimental\MetricConfigResponse_Schedule_Pattern is deprecated and will be removed in the next major release. Use Opentelemetry\Proto\Metrics\Experimental\MetricConfigResponse\Schedule\Pattern instead', E_USER_DEPRECATED);
-
diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/AggregationTemporality.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/AggregationTemporality.php
deleted file mode 100644
index 93fb0ea97..000000000
--- a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/AggregationTemporality.php
+++ /dev/null
@@ -1,114 +0,0 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: opentelemetry/proto/metrics/v1/metrics.proto
-
-namespace Opentelemetry\Proto\Metrics\V1;
-
-use UnexpectedValueException;
-
-/**
- * AggregationTemporality defines how a metric aggregator reports aggregated
- * values. It describes how those values relate to the time interval over
- * which they are aggregated.
- *
- * Protobuf type <code>opentelemetry.proto.metrics.v1.AggregationTemporality</code>
- */
-class AggregationTemporality
-{
- /**
- * UNSPECIFIED is the default AggregationTemporality, it MUST not be used.
- *
- * Generated from protobuf enum <code>AGGREGATION_TEMPORALITY_UNSPECIFIED = 0;</code>
- */
- 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 <code>AGGREGATION_TEMPORALITY_DELTA = 1;</code>
- */
- 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 <code>AGGREGATION_TEMPORALITY_CUMULATIVE = 2;</code>
- */
- 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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: opentelemetry/proto/metrics/v1/metrics.proto
-
-namespace Opentelemetry\Proto\Metrics\V1;
-
-use UnexpectedValueException;
-
-/**
- * DataPointFlags is defined as a protobuf 'uint32' type and is to be used as a
- * bit-field representing 32 distinct boolean flags. Each flag defined in this
- * enum is a bit-mask. To test the presence of a single flag in the flags of
- * a data point, for example, use an expression like:
- * (point.flags & DATA_POINT_FLAGS_NO_RECORDED_VALUE_MASK) == DATA_POINT_FLAGS_NO_RECORDED_VALUE_MASK
- *
- * Protobuf type <code>opentelemetry.proto.metrics.v1.DataPointFlags</code>
- */
-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 <code>DATA_POINT_FLAGS_DO_NOT_USE = 0;</code>
- */
- 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 <code>DATA_POINT_FLAGS_NO_RECORDED_VALUE_MASK = 1;</code>
- */
- 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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: opentelemetry/proto/metrics/v1/metrics.proto
-
-namespace Opentelemetry\Proto\Metrics\V1;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * A representation of an exemplar, which is a sample input measurement.
- * Exemplars also hold information about the environment when the measurement
- * was recorded, for example the span and trace ID of the active span when the
- * exemplar was recorded.
- *
- * Generated from protobuf message <code>opentelemetry.proto.metrics.v1.Exemplar</code>
- */
-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 <code>repeated .opentelemetry.proto.common.v1.KeyValue filtered_attributes = 7;</code>
- */
- 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 <code>fixed64 time_unix_nano = 2;</code>
- */
- 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 <code>bytes span_id = 4;</code>
- */
- 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 <code>bytes trace_id = 5;</code>
- */
- 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 <code>repeated .opentelemetry.proto.common.v1.KeyValue filtered_attributes = 7;</code>
- * @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 <code>repeated .opentelemetry.proto.common.v1.KeyValue filtered_attributes = 7;</code>
- * @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 <code>fixed64 time_unix_nano = 2;</code>
- * @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 <code>fixed64 time_unix_nano = 2;</code>
- * @param int|string $var
- * @return $this
- */
- public function setTimeUnixNano($var)
- {
- GPBUtil::checkUint64($var);
- $this->time_unix_nano = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field <code>double as_double = 3;</code>
- * @return float
- */
- public function getAsDouble()
- {
- return $this->readOneof(3);
- }
-
- public function hasAsDouble()
- {
- return $this->hasOneof(3);
- }
-
- /**
- * Generated from protobuf field <code>double as_double = 3;</code>
- * @param float $var
- * @return $this
- */
- public function setAsDouble($var)
- {
- GPBUtil::checkDouble($var);
- $this->writeOneof(3, $var);
-
- return $this;
- }
-
- /**
- * Generated from protobuf field <code>sfixed64 as_int = 6;</code>
- * @return int|string
- */
- public function getAsInt()
- {
- return $this->readOneof(6);
- }
-
- public function hasAsInt()
- {
- return $this->hasOneof(6);
- }
-
- /**
- * Generated from protobuf field <code>sfixed64 as_int = 6;</code>
- * @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 <code>bytes span_id = 4;</code>
- * @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 <code>bytes span_id = 4;</code>
- * @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 <code>bytes trace_id = 5;</code>
- * @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 <code>bytes trace_id = 5;</code>
- * @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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: opentelemetry/proto/metrics/v1/metrics.proto
-
-namespace Opentelemetry\Proto\Metrics\V1;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * ExponentialHistogram represents the type of a metric that is calculated by aggregating
- * as a ExponentialHistogram of all reported double measurements over a time interval.
- *
- * Generated from protobuf message <code>opentelemetry.proto.metrics.v1.ExponentialHistogram</code>
- */
-class ExponentialHistogram extends \Google\Protobuf\Internal\Message
-{
- /**
- * Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint data_points = 1;</code>
- */
- 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 <code>.opentelemetry.proto.metrics.v1.AggregationTemporality aggregation_temporality = 2;</code>
- */
- 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 <code>repeated .opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint data_points = 1;</code>
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getDataPoints()
- {
- return $this->data_points;
- }
-
- /**
- * Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint data_points = 1;</code>
- * @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 <code>.opentelemetry.proto.metrics.v1.AggregationTemporality aggregation_temporality = 2;</code>
- * @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 <code>.opentelemetry.proto.metrics.v1.AggregationTemporality aggregation_temporality = 2;</code>
- * @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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: opentelemetry/proto/metrics/v1/metrics.proto
-
-namespace Opentelemetry\Proto\Metrics\V1;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * ExponentialHistogramDataPoint is a single data point in a timeseries that describes the
- * time-varying values of a ExponentialHistogram of double values. A ExponentialHistogram contains
- * summary statistics for a population of values, it may optionally contain the
- * distribution of those values across a set of buckets.
- *
- * Generated from protobuf message <code>opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint</code>
- */
-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 <code>repeated .opentelemetry.proto.common.v1.KeyValue attributes = 1;</code>
- */
- 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 <code>fixed64 start_time_unix_nano = 2;</code>
- */
- 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 <code>fixed64 time_unix_nano = 3;</code>
- */
- 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 <code>fixed64 count = 4;</code>
- */
- 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 <code>optional double sum = 5;</code>
- */
- 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 <code>sint32 scale = 6;</code>
- */
- 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 <code>fixed64 zero_count = 7;</code>
- */
- protected $zero_count = 0;
- /**
- * positive carries the positive range of exponential bucket counts.
- *
- * Generated from protobuf field <code>.opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint.Buckets positive = 8;</code>
- */
- protected $positive = null;
- /**
- * negative carries the negative range of exponential bucket counts.
- *
- * Generated from protobuf field <code>.opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint.Buckets negative = 9;</code>
- */
- protected $negative = null;
- /**
- * Flags that apply to this specific data point. See DataPointFlags
- * for the available flags and their meaning.
- *
- * Generated from protobuf field <code>uint32 flags = 10;</code>
- */
- protected $flags = 0;
- /**
- * (Optional) List of exemplars collected from
- * measurements that were used to form the data point
- *
- * Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.v1.Exemplar exemplars = 11;</code>
- */
- private $exemplars;
- /**
- * min is the minimum value over (start_time, end_time].
- *
- * Generated from protobuf field <code>optional double min = 12;</code>
- */
- protected $min = null;
- /**
- * max is the maximum value over (start_time, end_time].
- *
- * Generated from protobuf field <code>optional double max = 13;</code>
- */
- 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 <code>double zero_threshold = 14;</code>
- */
- 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 <code>repeated .opentelemetry.proto.common.v1.KeyValue attributes = 1;</code>
- * @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 <code>repeated .opentelemetry.proto.common.v1.KeyValue attributes = 1;</code>
- * @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 <code>fixed64 start_time_unix_nano = 2;</code>
- * @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 <code>fixed64 start_time_unix_nano = 2;</code>
- * @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 <code>fixed64 time_unix_nano = 3;</code>
- * @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 <code>fixed64 time_unix_nano = 3;</code>
- * @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 <code>fixed64 count = 4;</code>
- * @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 <code>fixed64 count = 4;</code>
- * @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 <code>optional double sum = 5;</code>
- * @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 <code>optional double sum = 5;</code>
- * @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 <code>sint32 scale = 6;</code>
- * @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 <code>sint32 scale = 6;</code>
- * @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 <code>fixed64 zero_count = 7;</code>
- * @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 <code>fixed64 zero_count = 7;</code>
- * @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 <code>.opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint.Buckets positive = 8;</code>
- * @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 <code>.opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint.Buckets positive = 8;</code>
- * @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 <code>.opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint.Buckets negative = 9;</code>
- * @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 <code>.opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint.Buckets negative = 9;</code>
- * @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 <code>uint32 flags = 10;</code>
- * @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 <code>uint32 flags = 10;</code>
- * @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 <code>repeated .opentelemetry.proto.metrics.v1.Exemplar exemplars = 11;</code>
- * @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 <code>repeated .opentelemetry.proto.metrics.v1.Exemplar exemplars = 11;</code>
- * @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 <code>optional double min = 12;</code>
- * @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 <code>optional double min = 12;</code>
- * @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 <code>optional double max = 13;</code>
- * @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 <code>optional double max = 13;</code>
- * @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 <code>double zero_threshold = 14;</code>
- * @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 <code>double zero_threshold = 14;</code>
- * @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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: opentelemetry/proto/metrics/v1/metrics.proto
-
-namespace Opentelemetry\Proto\Metrics\V1\ExponentialHistogramDataPoint;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * Buckets are a set of bucket counts, encoded in a contiguous array
- * of counts.
- *
- * Generated from protobuf message <code>opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint.Buckets</code>
- */
-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 <code>sint32 offset = 1;</code>
- */
- 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 <code>repeated uint64 bucket_counts = 2;</code>
- */
- 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 <code>sint32 offset = 1;</code>
- * @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 <code>sint32 offset = 1;</code>
- * @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 <code>repeated uint64 bucket_counts = 2;</code>
- * @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 <code>repeated uint64 bucket_counts = 2;</code>
- * @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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: opentelemetry/proto/metrics/v1/metrics.proto
-
-namespace Opentelemetry\Proto\Metrics\V1;
-
-if (false) {
- /**
- * This class is deprecated. Use Opentelemetry\Proto\Metrics\V1\ExponentialHistogramDataPoint\Buckets instead.
- * @deprecated
- */
- class ExponentialHistogramDataPoint_Buckets {}
-}
-class_exists(ExponentialHistogramDataPoint\Buckets::class);
-@trigger_error('Opentelemetry\Proto\Metrics\V1\ExponentialHistogramDataPoint_Buckets is deprecated and will be removed in the next major release. Use Opentelemetry\Proto\Metrics\V1\ExponentialHistogramDataPoint\Buckets instead', E_USER_DEPRECATED);
-
diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/Gauge.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/Gauge.php
deleted file mode 100644
index da56e2a44..000000000
--- a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/Gauge.php
+++ /dev/null
@@ -1,67 +0,0 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: opentelemetry/proto/metrics/v1/metrics.proto
-
-namespace Opentelemetry\Proto\Metrics\V1;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * Gauge represents the type of a scalar metric that always exports the
- * "current value" for every data point. It should be used for an "unknown"
- * aggregation.
- * A Gauge does not support different aggregation temporalities. Given the
- * aggregation is unknown, points cannot be combined using the same
- * aggregation, regardless of aggregation temporalities. Therefore,
- * AggregationTemporality is not included. Consequently, this also means
- * "StartTimeUnixNano" is ignored for all data points.
- *
- * Generated from protobuf message <code>opentelemetry.proto.metrics.v1.Gauge</code>
- */
-class Gauge extends \Google\Protobuf\Internal\Message
-{
- /**
- * Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.v1.NumberDataPoint data_points = 1;</code>
- */
- 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 <code>repeated .opentelemetry.proto.metrics.v1.NumberDataPoint data_points = 1;</code>
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getDataPoints()
- {
- return $this->data_points;
- }
-
- /**
- * Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.v1.NumberDataPoint data_points = 1;</code>
- * @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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: opentelemetry/proto/metrics/v1/metrics.proto
-
-namespace Opentelemetry\Proto\Metrics\V1;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * Histogram represents the type of a metric that is calculated by aggregating
- * as a Histogram of all reported measurements over a time interval.
- *
- * Generated from protobuf message <code>opentelemetry.proto.metrics.v1.Histogram</code>
- */
-class Histogram extends \Google\Protobuf\Internal\Message
-{
- /**
- * Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.v1.HistogramDataPoint data_points = 1;</code>
- */
- 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 <code>.opentelemetry.proto.metrics.v1.AggregationTemporality aggregation_temporality = 2;</code>
- */
- 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 <code>repeated .opentelemetry.proto.metrics.v1.HistogramDataPoint data_points = 1;</code>
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getDataPoints()
- {
- return $this->data_points;
- }
-
- /**
- * Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.v1.HistogramDataPoint data_points = 1;</code>
- * @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 <code>.opentelemetry.proto.metrics.v1.AggregationTemporality aggregation_temporality = 2;</code>
- * @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 <code>.opentelemetry.proto.metrics.v1.AggregationTemporality aggregation_temporality = 2;</code>
- * @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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: opentelemetry/proto/metrics/v1/metrics.proto
-
-namespace Opentelemetry\Proto\Metrics\V1;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * HistogramDataPoint is a single data point in a timeseries that describes the
- * time-varying values of a Histogram. A Histogram contains summary statistics
- * for a population of values, it may optionally contain the distribution of
- * those values across a set of buckets.
- * If the histogram contains the distribution of values, then both
- * "explicit_bounds" and "bucket counts" fields must be defined.
- * If the histogram does not contain the distribution of values, then both
- * "explicit_bounds" and "bucket_counts" must be omitted and only "count" and
- * "sum" are known.
- *
- * Generated from protobuf message <code>opentelemetry.proto.metrics.v1.HistogramDataPoint</code>
- */
-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 <code>repeated .opentelemetry.proto.common.v1.KeyValue attributes = 9;</code>
- */
- 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 <code>fixed64 start_time_unix_nano = 2;</code>
- */
- 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 <code>fixed64 time_unix_nano = 3;</code>
- */
- 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 <code>fixed64 count = 4;</code>
- */
- 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 <code>optional double sum = 5;</code>
- */
- 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 <code>repeated fixed64 bucket_counts = 6;</code>
- */
- 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 <code>repeated double explicit_bounds = 7;</code>
- */
- private $explicit_bounds;
- /**
- * (Optional) List of exemplars collected from
- * measurements that were used to form the data point
- *
- * Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.v1.Exemplar exemplars = 8;</code>
- */
- private $exemplars;
- /**
- * Flags that apply to this specific data point. See DataPointFlags
- * for the available flags and their meaning.
- *
- * Generated from protobuf field <code>uint32 flags = 10;</code>
- */
- protected $flags = 0;
- /**
- * min is the minimum value over (start_time, end_time].
- *
- * Generated from protobuf field <code>optional double min = 11;</code>
- */
- protected $min = null;
- /**
- * max is the maximum value over (start_time, end_time].
- *
- * Generated from protobuf field <code>optional double max = 12;</code>
- */
- 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 <code>repeated .opentelemetry.proto.common.v1.KeyValue attributes = 9;</code>
- * @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 <code>repeated .opentelemetry.proto.common.v1.KeyValue attributes = 9;</code>
- * @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 <code>fixed64 start_time_unix_nano = 2;</code>
- * @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 <code>fixed64 start_time_unix_nano = 2;</code>
- * @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 <code>fixed64 time_unix_nano = 3;</code>
- * @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 <code>fixed64 time_unix_nano = 3;</code>
- * @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 <code>fixed64 count = 4;</code>
- * @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 <code>fixed64 count = 4;</code>
- * @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 <code>optional double sum = 5;</code>
- * @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 <code>optional double sum = 5;</code>
- * @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 <code>repeated fixed64 bucket_counts = 6;</code>
- * @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 <code>repeated fixed64 bucket_counts = 6;</code>
- * @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 <code>repeated double explicit_bounds = 7;</code>
- * @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 <code>repeated double explicit_bounds = 7;</code>
- * @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 <code>repeated .opentelemetry.proto.metrics.v1.Exemplar exemplars = 8;</code>
- * @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 <code>repeated .opentelemetry.proto.metrics.v1.Exemplar exemplars = 8;</code>
- * @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 <code>uint32 flags = 10;</code>
- * @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 <code>uint32 flags = 10;</code>
- * @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 <code>optional double min = 11;</code>
- * @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 <code>optional double min = 11;</code>
- * @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 <code>optional double max = 12;</code>
- * @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 <code>optional double max = 12;</code>
- * @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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: opentelemetry/proto/metrics/v1/metrics.proto
-
-namespace Opentelemetry\Proto\Metrics\V1;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * A collection of Metrics produced by an InstrumentationLibrary.
- * InstrumentationLibraryMetrics is wire-compatible with ScopeMetrics for binary
- * Protobuf format.
- * This message is deprecated and will be removed on June 15, 2022.
- *
- * Generated from protobuf message <code>opentelemetry.proto.metrics.v1.InstrumentationLibraryMetrics</code>
- */
-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 <code>.opentelemetry.proto.common.v1.InstrumentationLibrary instrumentation_library = 1;</code>
- */
- protected $instrumentation_library = null;
- /**
- * A list of metrics that originate from an instrumentation library.
- *
- * Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.v1.Metric metrics = 2;</code>
- */
- private $metrics;
- /**
- * This schema_url applies to all metrics in the "metrics" field.
- *
- * Generated from protobuf field <code>string schema_url = 3;</code>
- */
- 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 <code>.opentelemetry.proto.common.v1.InstrumentationLibrary instrumentation_library = 1;</code>
- * @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 <code>.opentelemetry.proto.common.v1.InstrumentationLibrary instrumentation_library = 1;</code>
- * @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 <code>repeated .opentelemetry.proto.metrics.v1.Metric metrics = 2;</code>
- * @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 <code>repeated .opentelemetry.proto.metrics.v1.Metric metrics = 2;</code>
- * @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 <code>string schema_url = 3;</code>
- * @return string
- */
- public function getSchemaUrl()
- {
- return $this->schema_url;
- }
-
- /**
- * This schema_url applies to all metrics in the "metrics" field.
- *
- * Generated from protobuf field <code>string schema_url = 3;</code>
- * @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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: opentelemetry/proto/metrics/v1/metrics.proto
-
-namespace Opentelemetry\Proto\Metrics\V1;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * IntDataPoint is deprecated. Use integer value in NumberDataPoint.
- *
- * Generated from protobuf message <code>opentelemetry.proto.metrics.v1.IntDataPoint</code>
- */
-class IntDataPoint extends \Google\Protobuf\Internal\Message
-{
- /**
- * The set of labels that uniquely identify this timeseries.
- *
- * Generated from protobuf field <code>repeated .opentelemetry.proto.common.v1.StringKeyValue labels = 1;</code>
- */
- 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 <code>fixed64 start_time_unix_nano = 2;</code>
- */
- 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 <code>fixed64 time_unix_nano = 3;</code>
- */
- protected $time_unix_nano = 0;
- /**
- * value itself.
- *
- * Generated from protobuf field <code>sfixed64 value = 4;</code>
- */
- protected $value = 0;
- /**
- * (Optional) List of exemplars collected from
- * measurements that were used to form the data point
- *
- * Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.v1.IntExemplar exemplars = 5;</code>
- */
- 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 <code>repeated .opentelemetry.proto.common.v1.StringKeyValue labels = 1;</code>
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getLabels()
- {
- return $this->labels;
- }
-
- /**
- * The set of labels that uniquely identify this timeseries.
- *
- * Generated from protobuf field <code>repeated .opentelemetry.proto.common.v1.StringKeyValue labels = 1;</code>
- * @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 <code>fixed64 start_time_unix_nano = 2;</code>
- * @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 <code>fixed64 start_time_unix_nano = 2;</code>
- * @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 <code>fixed64 time_unix_nano = 3;</code>
- * @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 <code>fixed64 time_unix_nano = 3;</code>
- * @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 <code>sfixed64 value = 4;</code>
- * @return int|string
- */
- public function getValue()
- {
- return $this->value;
- }
-
- /**
- * value itself.
- *
- * Generated from protobuf field <code>sfixed64 value = 4;</code>
- * @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 <code>repeated .opentelemetry.proto.metrics.v1.IntExemplar exemplars = 5;</code>
- * @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 <code>repeated .opentelemetry.proto.metrics.v1.IntExemplar exemplars = 5;</code>
- * @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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: opentelemetry/proto/metrics/v1/metrics.proto
-
-namespace Opentelemetry\Proto\Metrics\V1;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * IntExemplar is deprecated. Use Exemplar with as_int for value
- *
- * Generated from protobuf message <code>opentelemetry.proto.metrics.v1.IntExemplar</code>
- */
-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 <code>repeated .opentelemetry.proto.common.v1.StringKeyValue filtered_labels = 1;</code>
- */
- 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 <code>fixed64 time_unix_nano = 2;</code>
- */
- protected $time_unix_nano = 0;
- /**
- * Numerical int value of the measurement that was recorded.
- *
- * Generated from protobuf field <code>sfixed64 value = 3;</code>
- */
- 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 <code>bytes span_id = 4;</code>
- */
- 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 <code>bytes trace_id = 5;</code>
- */
- 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 <code>repeated .opentelemetry.proto.common.v1.StringKeyValue filtered_labels = 1;</code>
- * @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 <code>repeated .opentelemetry.proto.common.v1.StringKeyValue filtered_labels = 1;</code>
- * @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 <code>fixed64 time_unix_nano = 2;</code>
- * @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 <code>fixed64 time_unix_nano = 2;</code>
- * @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 <code>sfixed64 value = 3;</code>
- * @return int|string
- */
- public function getValue()
- {
- return $this->value;
- }
-
- /**
- * Numerical int value of the measurement that was recorded.
- *
- * Generated from protobuf field <code>sfixed64 value = 3;</code>
- * @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 <code>bytes span_id = 4;</code>
- * @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 <code>bytes span_id = 4;</code>
- * @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 <code>bytes trace_id = 5;</code>
- * @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 <code>bytes trace_id = 5;</code>
- * @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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: opentelemetry/proto/metrics/v1/metrics.proto
-
-namespace Opentelemetry\Proto\Metrics\V1;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * IntGauge is deprecated. Use Gauge with an integer value in NumberDataPoint.
- *
- * Generated from protobuf message <code>opentelemetry.proto.metrics.v1.IntGauge</code>
- */
-class IntGauge extends \Google\Protobuf\Internal\Message
-{
- /**
- * Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.v1.IntDataPoint data_points = 1;</code>
- */
- 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 <code>repeated .opentelemetry.proto.metrics.v1.IntDataPoint data_points = 1;</code>
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getDataPoints()
- {
- return $this->data_points;
- }
-
- /**
- * Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.v1.IntDataPoint data_points = 1;</code>
- * @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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: opentelemetry/proto/metrics/v1/metrics.proto
-
-namespace Opentelemetry\Proto\Metrics\V1;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * IntHistogram is deprecated, replaced by Histogram points using double-
- * valued exemplars.
- *
- * Generated from protobuf message <code>opentelemetry.proto.metrics.v1.IntHistogram</code>
- */
-class IntHistogram extends \Google\Protobuf\Internal\Message
-{
- /**
- * Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.v1.IntHistogramDataPoint data_points = 1;</code>
- */
- 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 <code>.opentelemetry.proto.metrics.v1.AggregationTemporality aggregation_temporality = 2;</code>
- */
- 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 <code>repeated .opentelemetry.proto.metrics.v1.IntHistogramDataPoint data_points = 1;</code>
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getDataPoints()
- {
- return $this->data_points;
- }
-
- /**
- * Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.v1.IntHistogramDataPoint data_points = 1;</code>
- * @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 <code>.opentelemetry.proto.metrics.v1.AggregationTemporality aggregation_temporality = 2;</code>
- * @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 <code>.opentelemetry.proto.metrics.v1.AggregationTemporality aggregation_temporality = 2;</code>
- * @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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: opentelemetry/proto/metrics/v1/metrics.proto
-
-namespace Opentelemetry\Proto\Metrics\V1;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * IntHistogramDataPoint is deprecated; use HistogramDataPoint.
- *
- * Generated from protobuf message <code>opentelemetry.proto.metrics.v1.IntHistogramDataPoint</code>
- */
-class IntHistogramDataPoint extends \Google\Protobuf\Internal\Message
-{
- /**
- * The set of labels that uniquely identify this timeseries.
- *
- * Generated from protobuf field <code>repeated .opentelemetry.proto.common.v1.StringKeyValue labels = 1;</code>
- */
- 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 <code>fixed64 start_time_unix_nano = 2;</code>
- */
- 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 <code>fixed64 time_unix_nano = 3;</code>
- */
- 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 <code>fixed64 count = 4;</code>
- */
- 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 <code>sfixed64 sum = 5;</code>
- */
- 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 <code>repeated fixed64 bucket_counts = 6;</code>
- */
- 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 <code>repeated double explicit_bounds = 7;</code>
- */
- private $explicit_bounds;
- /**
- * (Optional) List of exemplars collected from
- * measurements that were used to form the data point
- *
- * Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.v1.IntExemplar exemplars = 8;</code>
- */
- 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 <code>repeated .opentelemetry.proto.common.v1.StringKeyValue labels = 1;</code>
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getLabels()
- {
- return $this->labels;
- }
-
- /**
- * The set of labels that uniquely identify this timeseries.
- *
- * Generated from protobuf field <code>repeated .opentelemetry.proto.common.v1.StringKeyValue labels = 1;</code>
- * @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 <code>fixed64 start_time_unix_nano = 2;</code>
- * @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 <code>fixed64 start_time_unix_nano = 2;</code>
- * @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 <code>fixed64 time_unix_nano = 3;</code>
- * @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 <code>fixed64 time_unix_nano = 3;</code>
- * @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 <code>fixed64 count = 4;</code>
- * @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 <code>fixed64 count = 4;</code>
- * @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 <code>sfixed64 sum = 5;</code>
- * @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 <code>sfixed64 sum = 5;</code>
- * @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 <code>repeated fixed64 bucket_counts = 6;</code>
- * @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 <code>repeated fixed64 bucket_counts = 6;</code>
- * @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 <code>repeated double explicit_bounds = 7;</code>
- * @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 <code>repeated double explicit_bounds = 7;</code>
- * @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 <code>repeated .opentelemetry.proto.metrics.v1.IntExemplar exemplars = 8;</code>
- * @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 <code>repeated .opentelemetry.proto.metrics.v1.IntExemplar exemplars = 8;</code>
- * @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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: opentelemetry/proto/metrics/v1/metrics.proto
-
-namespace Opentelemetry\Proto\Metrics\V1;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * IntSum is deprecated. Use Sum with an integer value in NumberDataPoint.
- *
- * Generated from protobuf message <code>opentelemetry.proto.metrics.v1.IntSum</code>
- */
-class IntSum extends \Google\Protobuf\Internal\Message
-{
- /**
- * Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.v1.IntDataPoint data_points = 1;</code>
- */
- 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 <code>.opentelemetry.proto.metrics.v1.AggregationTemporality aggregation_temporality = 2;</code>
- */
- protected $aggregation_temporality = 0;
- /**
- * If "true" means that the sum is monotonic.
- *
- * Generated from protobuf field <code>bool is_monotonic = 3;</code>
- */
- 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 <code>repeated .opentelemetry.proto.metrics.v1.IntDataPoint data_points = 1;</code>
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getDataPoints()
- {
- return $this->data_points;
- }
-
- /**
- * Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.v1.IntDataPoint data_points = 1;</code>
- * @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 <code>.opentelemetry.proto.metrics.v1.AggregationTemporality aggregation_temporality = 2;</code>
- * @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 <code>.opentelemetry.proto.metrics.v1.AggregationTemporality aggregation_temporality = 2;</code>
- * @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 <code>bool is_monotonic = 3;</code>
- * @return bool
- */
- public function getIsMonotonic()
- {
- return $this->is_monotonic;
- }
-
- /**
- * If "true" means that the sum is monotonic.
- *
- * Generated from protobuf field <code>bool is_monotonic = 3;</code>
- * @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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: opentelemetry/proto/metrics/v1/metrics.proto
-
-namespace Opentelemetry\Proto\Metrics\V1;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * Defines a Metric which has one or more timeseries. The following is a
- * brief summary of the Metric data model. For more details, see:
- * https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/metrics/data-model.md
- * The data model and relation between entities is shown in the
- * diagram below. Here, "DataPoint" is the term used to refer to any
- * one of the specific data point value types, and "points" is the term used
- * to refer to any one of the lists of points contained in the Metric.
- * - Metric is composed of a metadata and data.
- * - Metadata part contains a name, description, unit.
- * - Data is one of the possible types (Sum, Gauge, Histogram, Summary).
- * - DataPoint contains timestamps, attributes, and one of the possible value type
- * fields.
- * Metric
- * +------------+
- * |name |
- * |description |
- * |unit | +------------------------------------+
- * |data |---> |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 <code>opentelemetry.proto.metrics.v1.Metric</code>
- */
-class Metric extends \Google\Protobuf\Internal\Message
-{
- /**
- * name of the metric, including its DNS name prefix. It must be unique.
- *
- * Generated from protobuf field <code>string name = 1;</code>
- */
- protected $name = '';
- /**
- * description of the metric, which can be used in documentation.
- *
- * Generated from protobuf field <code>string description = 2;</code>
- */
- protected $description = '';
- /**
- * unit in which the metric value is reported. Follows the format
- * described by http://unitsofmeasure.org/ucum.html.
- *
- * Generated from protobuf field <code>string unit = 3;</code>
- */
- 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 <code>string name = 1;</code>
- * @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 <code>string name = 1;</code>
- * @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 <code>string description = 2;</code>
- * @return string
- */
- public function getDescription()
- {
- return $this->description;
- }
-
- /**
- * description of the metric, which can be used in documentation.
- *
- * Generated from protobuf field <code>string description = 2;</code>
- * @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 <code>string unit = 3;</code>
- * @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 <code>string unit = 3;</code>
- * @param string $var
- * @return $this
- */
- public function setUnit($var)
- {
- GPBUtil::checkString($var, True);
- $this->unit = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field <code>.opentelemetry.proto.metrics.v1.Gauge gauge = 5;</code>
- * @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 <code>.opentelemetry.proto.metrics.v1.Gauge gauge = 5;</code>
- * @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 <code>.opentelemetry.proto.metrics.v1.Sum sum = 7;</code>
- * @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 <code>.opentelemetry.proto.metrics.v1.Sum sum = 7;</code>
- * @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 <code>.opentelemetry.proto.metrics.v1.Histogram histogram = 9;</code>
- * @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 <code>.opentelemetry.proto.metrics.v1.Histogram histogram = 9;</code>
- * @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 <code>.opentelemetry.proto.metrics.v1.ExponentialHistogram exponential_histogram = 10;</code>
- * @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 <code>.opentelemetry.proto.metrics.v1.ExponentialHistogram exponential_histogram = 10;</code>
- * @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 <code>.opentelemetry.proto.metrics.v1.Summary summary = 11;</code>
- * @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 <code>.opentelemetry.proto.metrics.v1.Summary summary = 11;</code>
- * @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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: opentelemetry/proto/metrics/v1/metrics.proto
-
-namespace Opentelemetry\Proto\Metrics\V1;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * MetricsData represents the metrics data that can be stored in a persistent
- * storage, OR can be embedded by other protocols that transfer OTLP metrics
- * data but do not implement the OTLP protocol.
- * The main difference between this message and collector protocol is that
- * in this message there will not be any "control" or "metadata" specific to
- * OTLP protocol.
- * When new fields are added into this message, the OTLP request MUST be updated
- * as well.
- *
- * Generated from protobuf message <code>opentelemetry.proto.metrics.v1.MetricsData</code>
- */
-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 <code>repeated .opentelemetry.proto.metrics.v1.ResourceMetrics resource_metrics = 1;</code>
- */
- 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 <code>repeated .opentelemetry.proto.metrics.v1.ResourceMetrics resource_metrics = 1;</code>
- * @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 <code>repeated .opentelemetry.proto.metrics.v1.ResourceMetrics resource_metrics = 1;</code>
- * @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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: opentelemetry/proto/metrics/v1/metrics.proto
-
-namespace Opentelemetry\Proto\Metrics\V1;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * NumberDataPoint is a single data point in a timeseries that describes the
- * time-varying scalar value of a metric.
- *
- * Generated from protobuf message <code>opentelemetry.proto.metrics.v1.NumberDataPoint</code>
- */
-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 <code>repeated .opentelemetry.proto.common.v1.KeyValue attributes = 7;</code>
- */
- 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 <code>fixed64 start_time_unix_nano = 2;</code>
- */
- 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 <code>fixed64 time_unix_nano = 3;</code>
- */
- protected $time_unix_nano = 0;
- /**
- * (Optional) List of exemplars collected from
- * measurements that were used to form the data point
- *
- * Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.v1.Exemplar exemplars = 5;</code>
- */
- private $exemplars;
- /**
- * Flags that apply to this specific data point. See DataPointFlags
- * for the available flags and their meaning.
- *
- * Generated from protobuf field <code>uint32 flags = 8;</code>
- */
- 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 <code>repeated .opentelemetry.proto.common.v1.KeyValue attributes = 7;</code>
- * @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 <code>repeated .opentelemetry.proto.common.v1.KeyValue attributes = 7;</code>
- * @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 <code>fixed64 start_time_unix_nano = 2;</code>
- * @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 <code>fixed64 start_time_unix_nano = 2;</code>
- * @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 <code>fixed64 time_unix_nano = 3;</code>
- * @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 <code>fixed64 time_unix_nano = 3;</code>
- * @param int|string $var
- * @return $this
- */
- public function setTimeUnixNano($var)
- {
- GPBUtil::checkUint64($var);
- $this->time_unix_nano = $var;
-
- return $this;
- }
-
- /**
- * Generated from protobuf field <code>double as_double = 4;</code>
- * @return float
- */
- public function getAsDouble()
- {
- return $this->readOneof(4);
- }
-
- public function hasAsDouble()
- {
- return $this->hasOneof(4);
- }
-
- /**
- * Generated from protobuf field <code>double as_double = 4;</code>
- * @param float $var
- * @return $this
- */
- public function setAsDouble($var)
- {
- GPBUtil::checkDouble($var);
- $this->writeOneof(4, $var);
-
- return $this;
- }
-
- /**
- * Generated from protobuf field <code>sfixed64 as_int = 6;</code>
- * @return int|string
- */
- public function getAsInt()
- {
- return $this->readOneof(6);
- }
-
- public function hasAsInt()
- {
- return $this->hasOneof(6);
- }
-
- /**
- * Generated from protobuf field <code>sfixed64 as_int = 6;</code>
- * @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 <code>repeated .opentelemetry.proto.metrics.v1.Exemplar exemplars = 5;</code>
- * @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 <code>repeated .opentelemetry.proto.metrics.v1.Exemplar exemplars = 5;</code>
- * @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 <code>uint32 flags = 8;</code>
- * @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 <code>uint32 flags = 8;</code>
- * @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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: opentelemetry/proto/metrics/v1/metrics.proto
-
-namespace Opentelemetry\Proto\Metrics\V1;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * A collection of ScopeMetrics from a Resource.
- *
- * Generated from protobuf message <code>opentelemetry.proto.metrics.v1.ResourceMetrics</code>
- */
-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 <code>.opentelemetry.proto.resource.v1.Resource resource = 1;</code>
- */
- protected $resource = null;
- /**
- * A list of metrics that originate from a resource.
- *
- * Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.v1.ScopeMetrics scope_metrics = 2;</code>
- */
- 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 <code>string schema_url = 3;</code>
- */
- 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 <code>.opentelemetry.proto.resource.v1.Resource resource = 1;</code>
- * @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 <code>.opentelemetry.proto.resource.v1.Resource resource = 1;</code>
- * @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 <code>repeated .opentelemetry.proto.metrics.v1.ScopeMetrics scope_metrics = 2;</code>
- * @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 <code>repeated .opentelemetry.proto.metrics.v1.ScopeMetrics scope_metrics = 2;</code>
- * @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 <code>string schema_url = 3;</code>
- * @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 <code>string schema_url = 3;</code>
- * @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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: opentelemetry/proto/metrics/v1/metrics.proto
-
-namespace Opentelemetry\Proto\Metrics\V1;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * A collection of Metrics produced by an Scope.
- *
- * Generated from protobuf message <code>opentelemetry.proto.metrics.v1.ScopeMetrics</code>
- */
-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 <code>.opentelemetry.proto.common.v1.InstrumentationScope scope = 1;</code>
- */
- protected $scope = null;
- /**
- * A list of metrics that originate from an instrumentation library.
- *
- * Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.v1.Metric metrics = 2;</code>
- */
- private $metrics;
- /**
- * This schema_url applies to all metrics in the "metrics" field.
- *
- * Generated from protobuf field <code>string schema_url = 3;</code>
- */
- 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 <code>.opentelemetry.proto.common.v1.InstrumentationScope scope = 1;</code>
- * @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 <code>.opentelemetry.proto.common.v1.InstrumentationScope scope = 1;</code>
- * @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 <code>repeated .opentelemetry.proto.metrics.v1.Metric metrics = 2;</code>
- * @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 <code>repeated .opentelemetry.proto.metrics.v1.Metric metrics = 2;</code>
- * @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 <code>string schema_url = 3;</code>
- * @return string
- */
- public function getSchemaUrl()
- {
- return $this->schema_url;
- }
-
- /**
- * This schema_url applies to all metrics in the "metrics" field.
- *
- * Generated from protobuf field <code>string schema_url = 3;</code>
- * @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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: opentelemetry/proto/metrics/v1/metrics.proto
-
-namespace Opentelemetry\Proto\Metrics\V1;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * Sum represents the type of a scalar metric that is calculated as a sum of all
- * reported measurements over a time interval.
- *
- * Generated from protobuf message <code>opentelemetry.proto.metrics.v1.Sum</code>
- */
-class Sum extends \Google\Protobuf\Internal\Message
-{
- /**
- * Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.v1.NumberDataPoint data_points = 1;</code>
- */
- 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 <code>.opentelemetry.proto.metrics.v1.AggregationTemporality aggregation_temporality = 2;</code>
- */
- protected $aggregation_temporality = 0;
- /**
- * If "true" means that the sum is monotonic.
- *
- * Generated from protobuf field <code>bool is_monotonic = 3;</code>
- */
- 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 <code>repeated .opentelemetry.proto.metrics.v1.NumberDataPoint data_points = 1;</code>
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getDataPoints()
- {
- return $this->data_points;
- }
-
- /**
- * Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.v1.NumberDataPoint data_points = 1;</code>
- * @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 <code>.opentelemetry.proto.metrics.v1.AggregationTemporality aggregation_temporality = 2;</code>
- * @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 <code>.opentelemetry.proto.metrics.v1.AggregationTemporality aggregation_temporality = 2;</code>
- * @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 <code>bool is_monotonic = 3;</code>
- * @return bool
- */
- public function getIsMonotonic()
- {
- return $this->is_monotonic;
- }
-
- /**
- * If "true" means that the sum is monotonic.
- *
- * Generated from protobuf field <code>bool is_monotonic = 3;</code>
- * @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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: opentelemetry/proto/metrics/v1/metrics.proto
-
-namespace Opentelemetry\Proto\Metrics\V1;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * Summary metric data are used to convey quantile summaries,
- * a Prometheus (see: https://prometheus.io/docs/concepts/metric_types/#summary)
- * and OpenMetrics (see: https://github.com/OpenObservability/OpenMetrics/blob/4dbf6075567ab43296eed941037c12951faafb92/protos/prometheus.proto#L45)
- * data type. These data points cannot always be merged in a meaningful way.
- * While they can be useful in some applications, histogram data points are
- * recommended for new applications.
- *
- * Generated from protobuf message <code>opentelemetry.proto.metrics.v1.Summary</code>
- */
-class Summary extends \Google\Protobuf\Internal\Message
-{
- /**
- * Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.v1.SummaryDataPoint data_points = 1;</code>
- */
- 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 <code>repeated .opentelemetry.proto.metrics.v1.SummaryDataPoint data_points = 1;</code>
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getDataPoints()
- {
- return $this->data_points;
- }
-
- /**
- * Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.v1.SummaryDataPoint data_points = 1;</code>
- * @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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: opentelemetry/proto/metrics/v1/metrics.proto
-
-namespace Opentelemetry\Proto\Metrics\V1;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * SummaryDataPoint is a single data point in a timeseries that describes the
- * time-varying values of a Summary metric.
- *
- * Generated from protobuf message <code>opentelemetry.proto.metrics.v1.SummaryDataPoint</code>
- */
-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 <code>repeated .opentelemetry.proto.common.v1.KeyValue attributes = 7;</code>
- */
- 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 <code>fixed64 start_time_unix_nano = 2;</code>
- */
- 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 <code>fixed64 time_unix_nano = 3;</code>
- */
- protected $time_unix_nano = 0;
- /**
- * count is the number of values in the population. Must be non-negative.
- *
- * Generated from protobuf field <code>fixed64 count = 4;</code>
- */
- 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 <code>double sum = 5;</code>
- */
- 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 <code>repeated .opentelemetry.proto.metrics.v1.SummaryDataPoint.ValueAtQuantile quantile_values = 6;</code>
- */
- private $quantile_values;
- /**
- * Flags that apply to this specific data point. See DataPointFlags
- * for the available flags and their meaning.
- *
- * Generated from protobuf field <code>uint32 flags = 8;</code>
- */
- 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 <code>repeated .opentelemetry.proto.common.v1.KeyValue attributes = 7;</code>
- * @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 <code>repeated .opentelemetry.proto.common.v1.KeyValue attributes = 7;</code>
- * @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 <code>fixed64 start_time_unix_nano = 2;</code>
- * @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 <code>fixed64 start_time_unix_nano = 2;</code>
- * @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 <code>fixed64 time_unix_nano = 3;</code>
- * @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 <code>fixed64 time_unix_nano = 3;</code>
- * @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 <code>fixed64 count = 4;</code>
- * @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 <code>fixed64 count = 4;</code>
- * @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 <code>double sum = 5;</code>
- * @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 <code>double sum = 5;</code>
- * @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 <code>repeated .opentelemetry.proto.metrics.v1.SummaryDataPoint.ValueAtQuantile quantile_values = 6;</code>
- * @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 <code>repeated .opentelemetry.proto.metrics.v1.SummaryDataPoint.ValueAtQuantile quantile_values = 6;</code>
- * @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 <code>uint32 flags = 8;</code>
- * @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 <code>uint32 flags = 8;</code>
- * @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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: opentelemetry/proto/metrics/v1/metrics.proto
-
-namespace Opentelemetry\Proto\Metrics\V1\SummaryDataPoint;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * Represents the value at a given quantile of a distribution.
- * To record Min and Max values following conventions are used:
- * - The 1.0 quantile is equivalent to the maximum value observed.
- * - The 0.0 quantile is equivalent to the minimum value observed.
- * See the following issue for more context:
- * https://github.com/open-telemetry/opentelemetry-proto/issues/125
- *
- * Generated from protobuf message <code>opentelemetry.proto.metrics.v1.SummaryDataPoint.ValueAtQuantile</code>
- */
-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 <code>double quantile = 1;</code>
- */
- protected $quantile = 0.0;
- /**
- * The value at the given quantile of a distribution.
- * Quantile values must NOT be negative.
- *
- * Generated from protobuf field <code>double value = 2;</code>
- */
- 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 <code>double quantile = 1;</code>
- * @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 <code>double quantile = 1;</code>
- * @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 <code>double value = 2;</code>
- * @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 <code>double value = 2;</code>
- * @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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: opentelemetry/proto/metrics/v1/metrics.proto
-
-namespace Opentelemetry\Proto\Metrics\V1;
-
-if (false) {
- /**
- * This class is deprecated. Use Opentelemetry\Proto\Metrics\V1\SummaryDataPoint\ValueAtQuantile instead.
- * @deprecated
- */
- class SummaryDataPoint_ValueAtQuantile {}
-}
-class_exists(SummaryDataPoint\ValueAtQuantile::class);
-@trigger_error('Opentelemetry\Proto\Metrics\V1\SummaryDataPoint_ValueAtQuantile is deprecated and will be removed in the next major release. Use Opentelemetry\Proto\Metrics\V1\SummaryDataPoint\ValueAtQuantile instead', E_USER_DEPRECATED);
-
diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Resource/V1/Resource.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Resource/V1/Resource.php
deleted file mode 100644
index d9062eeb1..000000000
--- a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Resource/V1/Resource.php
+++ /dev/null
@@ -1,113 +0,0 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: opentelemetry/proto/resource/v1/resource.proto
-
-namespace Opentelemetry\Proto\Resource\V1;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * Resource information.
- *
- * Generated from protobuf message <code>opentelemetry.proto.resource.v1.Resource</code>
- */
-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 <code>repeated .opentelemetry.proto.common.v1.KeyValue attributes = 1;</code>
- */
- 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 <code>uint32 dropped_attributes_count = 2;</code>
- */
- 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 <code>repeated .opentelemetry.proto.common.v1.KeyValue attributes = 1;</code>
- * @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 <code>repeated .opentelemetry.proto.common.v1.KeyValue attributes = 1;</code>
- * @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 <code>uint32 dropped_attributes_count = 2;</code>
- * @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 <code>uint32 dropped_attributes_count = 2;</code>
- * @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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: opentelemetry/proto/trace/v1/trace_config.proto
-
-namespace Opentelemetry\Proto\Trace\V1;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * Sampler that always makes a constant decision on span sampling.
- *
- * Generated from protobuf message <code>opentelemetry.proto.trace.v1.ConstantSampler</code>
- */
-class ConstantSampler extends \Google\Protobuf\Internal\Message
-{
- /**
- * Generated from protobuf field <code>.opentelemetry.proto.trace.v1.ConstantSampler.ConstantDecision decision = 1;</code>
- */
- 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 <code>.opentelemetry.proto.trace.v1.ConstantSampler.ConstantDecision decision = 1;</code>
- * @return int
- */
- public function getDecision()
- {
- return $this->decision;
- }
-
- /**
- * Generated from protobuf field <code>.opentelemetry.proto.trace.v1.ConstantSampler.ConstantDecision decision = 1;</code>
- * @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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: opentelemetry/proto/trace/v1/trace_config.proto
-
-namespace Opentelemetry\Proto\Trace\V1\ConstantSampler;
-
-use UnexpectedValueException;
-
-/**
- * How spans should be sampled:
- * - Always off
- * - Always on
- * - Always follow the parent Span's decision (off if no parent).
- *
- * Protobuf type <code>opentelemetry.proto.trace.v1.ConstantSampler.ConstantDecision</code>
- */
-class ConstantDecision
-{
- /**
- * Generated from protobuf enum <code>ALWAYS_OFF = 0;</code>
- */
- const ALWAYS_OFF = 0;
- /**
- * Generated from protobuf enum <code>ALWAYS_ON = 1;</code>
- */
- const ALWAYS_ON = 1;
- /**
- * Generated from protobuf enum <code>ALWAYS_PARENT = 2;</code>
- */
- 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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: opentelemetry/proto/trace/v1/trace_config.proto
-
-namespace Opentelemetry\Proto\Trace\V1;
-
-if (false) {
- /**
- * This class is deprecated. Use Opentelemetry\Proto\Trace\V1\ConstantSampler\ConstantDecision instead.
- * @deprecated
- */
- class ConstantSampler_ConstantDecision {}
-}
-class_exists(ConstantSampler\ConstantDecision::class);
-@trigger_error('Opentelemetry\Proto\Trace\V1\ConstantSampler_ConstantDecision is deprecated and will be removed in the next major release. Use Opentelemetry\Proto\Trace\V1\ConstantSampler\ConstantDecision instead', E_USER_DEPRECATED);
-
diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/InstrumentationLibrarySpans.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/InstrumentationLibrarySpans.php
deleted file mode 100644
index c5cc122e7..000000000
--- a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/InstrumentationLibrarySpans.php
+++ /dev/null
@@ -1,156 +0,0 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: opentelemetry/proto/trace/v1/trace.proto
-
-namespace Opentelemetry\Proto\Trace\V1;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * A collection of Spans produced by an InstrumentationLibrary.
- * InstrumentationLibrarySpans is wire-compatible with ScopeSpans for binary
- * Protobuf format.
- * This message is deprecated and will be removed on June 15, 2022.
- *
- * Generated from protobuf message <code>opentelemetry.proto.trace.v1.InstrumentationLibrarySpans</code>
- */
-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 <code>.opentelemetry.proto.common.v1.InstrumentationLibrary instrumentation_library = 1;</code>
- */
- protected $instrumentation_library = null;
- /**
- * A list of Spans that originate from an instrumentation library.
- *
- * Generated from protobuf field <code>repeated .opentelemetry.proto.trace.v1.Span spans = 2;</code>
- */
- private $spans;
- /**
- * This schema_url applies to all spans and span events in the "spans" field.
- *
- * Generated from protobuf field <code>string schema_url = 3;</code>
- */
- 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 <code>.opentelemetry.proto.common.v1.InstrumentationLibrary instrumentation_library = 1;</code>
- * @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 <code>.opentelemetry.proto.common.v1.InstrumentationLibrary instrumentation_library = 1;</code>
- * @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 <code>repeated .opentelemetry.proto.trace.v1.Span spans = 2;</code>
- * @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 <code>repeated .opentelemetry.proto.trace.v1.Span spans = 2;</code>
- * @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 <code>string schema_url = 3;</code>
- * @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 <code>string schema_url = 3;</code>
- * @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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: opentelemetry/proto/trace/v1/trace_config.proto
-
-namespace Opentelemetry\Proto\Trace\V1;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * Sampler that tries to sample with a rate per time window.
- *
- * Generated from protobuf message <code>opentelemetry.proto.trace.v1.RateLimitingSampler</code>
- */
-class RateLimitingSampler extends \Google\Protobuf\Internal\Message
-{
- /**
- * Rate per second.
- *
- * Generated from protobuf field <code>int64 qps = 1;</code>
- */
- 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 <code>int64 qps = 1;</code>
- * @return int|string
- */
- public function getQps()
- {
- return $this->qps;
- }
-
- /**
- * Rate per second.
- *
- * Generated from protobuf field <code>int64 qps = 1;</code>
- * @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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: opentelemetry/proto/trace/v1/trace.proto
-
-namespace Opentelemetry\Proto\Trace\V1;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * A collection of ScopeSpans from a Resource.
- *
- * Generated from protobuf message <code>opentelemetry.proto.trace.v1.ResourceSpans</code>
- */
-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 <code>.opentelemetry.proto.resource.v1.Resource resource = 1;</code>
- */
- protected $resource = null;
- /**
- * A list of ScopeSpans that originate from a resource.
- *
- * Generated from protobuf field <code>repeated .opentelemetry.proto.trace.v1.ScopeSpans scope_spans = 2;</code>
- */
- 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 <code>string schema_url = 3;</code>
- */
- 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 <code>.opentelemetry.proto.resource.v1.Resource resource = 1;</code>
- * @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 <code>.opentelemetry.proto.resource.v1.Resource resource = 1;</code>
- * @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 <code>repeated .opentelemetry.proto.trace.v1.ScopeSpans scope_spans = 2;</code>
- * @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 <code>repeated .opentelemetry.proto.trace.v1.ScopeSpans scope_spans = 2;</code>
- * @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 <code>string schema_url = 3;</code>
- * @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 <code>string schema_url = 3;</code>
- * @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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: opentelemetry/proto/trace/v1/trace.proto
-
-namespace Opentelemetry\Proto\Trace\V1;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * A collection of Spans produced by an InstrumentationScope.
- *
- * Generated from protobuf message <code>opentelemetry.proto.trace.v1.ScopeSpans</code>
- */
-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 <code>.opentelemetry.proto.common.v1.InstrumentationScope scope = 1;</code>
- */
- protected $scope = null;
- /**
- * A list of Spans that originate from an instrumentation scope.
- *
- * Generated from protobuf field <code>repeated .opentelemetry.proto.trace.v1.Span spans = 2;</code>
- */
- private $spans;
- /**
- * This schema_url applies to all spans and span events in the "spans" field.
- *
- * Generated from protobuf field <code>string schema_url = 3;</code>
- */
- 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 <code>.opentelemetry.proto.common.v1.InstrumentationScope scope = 1;</code>
- * @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 <code>.opentelemetry.proto.common.v1.InstrumentationScope scope = 1;</code>
- * @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 <code>repeated .opentelemetry.proto.trace.v1.Span spans = 2;</code>
- * @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 <code>repeated .opentelemetry.proto.trace.v1.Span spans = 2;</code>
- * @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 <code>string schema_url = 3;</code>
- * @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 <code>string schema_url = 3;</code>
- * @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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: opentelemetry/proto/trace/v1/trace.proto
-
-namespace Opentelemetry\Proto\Trace\V1;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * A Span represents a single operation performed by a single component of the system.
- * The next available field id is 17.
- *
- * Generated from protobuf message <code>opentelemetry.proto.trace.v1.Span</code>
- */
-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 <code>bytes trace_id = 1;</code>
- */
- 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 <code>bytes span_id = 2;</code>
- */
- 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 <code>string trace_state = 3;</code>
- */
- 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 <code>bytes parent_span_id = 4;</code>
- */
- 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 <code>string name = 5;</code>
- */
- 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 <code>.opentelemetry.proto.trace.v1.Span.SpanKind kind = 6;</code>
- */
- 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 <code>fixed64 start_time_unix_nano = 7;</code>
- */
- 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 <code>fixed64 end_time_unix_nano = 8;</code>
- */
- 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 <code>repeated .opentelemetry.proto.common.v1.KeyValue attributes = 9;</code>
- */
- 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 <code>uint32 dropped_attributes_count = 10;</code>
- */
- protected $dropped_attributes_count = 0;
- /**
- * events is a collection of Event items.
- *
- * Generated from protobuf field <code>repeated .opentelemetry.proto.trace.v1.Span.Event events = 11;</code>
- */
- 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 <code>uint32 dropped_events_count = 12;</code>
- */
- 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 <code>repeated .opentelemetry.proto.trace.v1.Span.Link links = 13;</code>
- */
- 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 <code>uint32 dropped_links_count = 14;</code>
- */
- 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 <code>.opentelemetry.proto.trace.v1.Status status = 15;</code>
- */
- 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 <code>bytes trace_id = 1;</code>
- * @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 <code>bytes trace_id = 1;</code>
- * @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 <code>bytes span_id = 2;</code>
- * @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 <code>bytes span_id = 2;</code>
- * @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 <code>string trace_state = 3;</code>
- * @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 <code>string trace_state = 3;</code>
- * @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 <code>bytes parent_span_id = 4;</code>
- * @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 <code>bytes parent_span_id = 4;</code>
- * @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 <code>string name = 5;</code>
- * @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 <code>string name = 5;</code>
- * @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 <code>.opentelemetry.proto.trace.v1.Span.SpanKind kind = 6;</code>
- * @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 <code>.opentelemetry.proto.trace.v1.Span.SpanKind kind = 6;</code>
- * @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 <code>fixed64 start_time_unix_nano = 7;</code>
- * @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 <code>fixed64 start_time_unix_nano = 7;</code>
- * @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 <code>fixed64 end_time_unix_nano = 8;</code>
- * @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 <code>fixed64 end_time_unix_nano = 8;</code>
- * @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 <code>repeated .opentelemetry.proto.common.v1.KeyValue attributes = 9;</code>
- * @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 <code>repeated .opentelemetry.proto.common.v1.KeyValue attributes = 9;</code>
- * @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 <code>uint32 dropped_attributes_count = 10;</code>
- * @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 <code>uint32 dropped_attributes_count = 10;</code>
- * @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 <code>repeated .opentelemetry.proto.trace.v1.Span.Event events = 11;</code>
- * @return \Google\Protobuf\Internal\RepeatedField
- */
- public function getEvents()
- {
- return $this->events;
- }
-
- /**
- * events is a collection of Event items.
- *
- * Generated from protobuf field <code>repeated .opentelemetry.proto.trace.v1.Span.Event events = 11;</code>
- * @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 <code>uint32 dropped_events_count = 12;</code>
- * @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 <code>uint32 dropped_events_count = 12;</code>
- * @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 <code>repeated .opentelemetry.proto.trace.v1.Span.Link links = 13;</code>
- * @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 <code>repeated .opentelemetry.proto.trace.v1.Span.Link links = 13;</code>
- * @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 <code>uint32 dropped_links_count = 14;</code>
- * @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 <code>uint32 dropped_links_count = 14;</code>
- * @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 <code>.opentelemetry.proto.trace.v1.Status status = 15;</code>
- * @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 <code>.opentelemetry.proto.trace.v1.Status status = 15;</code>
- * @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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: opentelemetry/proto/trace/v1/trace.proto
-
-namespace Opentelemetry\Proto\Trace\V1\Span;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * Event is a time-stamped annotation of the span, consisting of user-supplied
- * text description and key-value pairs.
- *
- * Generated from protobuf message <code>opentelemetry.proto.trace.v1.Span.Event</code>
- */
-class Event extends \Google\Protobuf\Internal\Message
-{
- /**
- * time_unix_nano is the time the event occurred.
- *
- * Generated from protobuf field <code>fixed64 time_unix_nano = 1;</code>
- */
- 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 <code>string name = 2;</code>
- */
- 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 <code>repeated .opentelemetry.proto.common.v1.KeyValue attributes = 3;</code>
- */
- 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 <code>uint32 dropped_attributes_count = 4;</code>
- */
- 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 <code>fixed64 time_unix_nano = 1;</code>
- * @return int|string
- */
- public function getTimeUnixNano()
- {
- return $this->time_unix_nano;
- }
-
- /**
- * time_unix_nano is the time the event occurred.
- *
- * Generated from protobuf field <code>fixed64 time_unix_nano = 1;</code>
- * @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 <code>string name = 2;</code>
- * @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 <code>string name = 2;</code>
- * @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 <code>repeated .opentelemetry.proto.common.v1.KeyValue attributes = 3;</code>
- * @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 <code>repeated .opentelemetry.proto.common.v1.KeyValue attributes = 3;</code>
- * @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 <code>uint32 dropped_attributes_count = 4;</code>
- * @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 <code>uint32 dropped_attributes_count = 4;</code>
- * @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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: opentelemetry/proto/trace/v1/trace.proto
-
-namespace Opentelemetry\Proto\Trace\V1\Span;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * A pointer from the current span to another span in the same trace or in a
- * different trace. For example, this can be used in batching operations,
- * where a single batch handler processes multiple requests from different
- * traces or when the handler receives a request from a different project.
- *
- * Generated from protobuf message <code>opentelemetry.proto.trace.v1.Span.Link</code>
- */
-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 <code>bytes trace_id = 1;</code>
- */
- protected $trace_id = '';
- /**
- * A unique identifier for the linked span. The ID is an 8-byte array.
- *
- * Generated from protobuf field <code>bytes span_id = 2;</code>
- */
- protected $span_id = '';
- /**
- * The trace_state associated with the link.
- *
- * Generated from protobuf field <code>string trace_state = 3;</code>
- */
- 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 <code>repeated .opentelemetry.proto.common.v1.KeyValue attributes = 4;</code>
- */
- 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 <code>uint32 dropped_attributes_count = 5;</code>
- */
- 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 <code>bytes trace_id = 1;</code>
- * @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 <code>bytes trace_id = 1;</code>
- * @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 <code>bytes span_id = 2;</code>
- * @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 <code>bytes span_id = 2;</code>
- * @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 <code>string trace_state = 3;</code>
- * @return string
- */
- public function getTraceState()
- {
- return $this->trace_state;
- }
-
- /**
- * The trace_state associated with the link.
- *
- * Generated from protobuf field <code>string trace_state = 3;</code>
- * @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 <code>repeated .opentelemetry.proto.common.v1.KeyValue attributes = 4;</code>
- * @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 <code>repeated .opentelemetry.proto.common.v1.KeyValue attributes = 4;</code>
- * @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 <code>uint32 dropped_attributes_count = 5;</code>
- * @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 <code>uint32 dropped_attributes_count = 5;</code>
- * @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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: opentelemetry/proto/trace/v1/trace.proto
-
-namespace Opentelemetry\Proto\Trace\V1\Span;
-
-use UnexpectedValueException;
-
-/**
- * SpanKind is the type of span. Can be used to specify additional relationships between spans
- * in addition to a parent/child relationship.
- *
- * Protobuf type <code>opentelemetry.proto.trace.v1.Span.SpanKind</code>
- */
-class SpanKind
-{
- /**
- * Unspecified. Do NOT use as default.
- * Implementations MAY assume SpanKind to be INTERNAL when receiving UNSPECIFIED.
- *
- * Generated from protobuf enum <code>SPAN_KIND_UNSPECIFIED = 0;</code>
- */
- 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 <code>SPAN_KIND_INTERNAL = 1;</code>
- */
- 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 <code>SPAN_KIND_SERVER = 2;</code>
- */
- const SPAN_KIND_SERVER = 2;
- /**
- * Indicates that the span describes a request to some remote service.
- *
- * Generated from protobuf enum <code>SPAN_KIND_CLIENT = 3;</code>
- */
- 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 <code>SPAN_KIND_PRODUCER = 4;</code>
- */
- 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 <code>SPAN_KIND_CONSUMER = 5;</code>
- */
- 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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: opentelemetry/proto/trace/v1/trace.proto
-
-namespace Opentelemetry\Proto\Trace\V1;
-
-if (false) {
- /**
- * This class is deprecated. Use Opentelemetry\Proto\Trace\V1\Span\Event instead.
- * @deprecated
- */
- class Span_Event {}
-}
-class_exists(Span\Event::class);
-@trigger_error('Opentelemetry\Proto\Trace\V1\Span_Event is deprecated and will be removed in the next major release. Use Opentelemetry\Proto\Trace\V1\Span\Event instead', E_USER_DEPRECATED);
-
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 311e4023f..000000000
--- a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Span_Link.php
+++ /dev/null
@@ -1,16 +0,0 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: opentelemetry/proto/trace/v1/trace.proto
-
-namespace Opentelemetry\Proto\Trace\V1;
-
-if (false) {
- /**
- * This class is deprecated. Use Opentelemetry\Proto\Trace\V1\Span\Link instead.
- * @deprecated
- */
- class Span_Link {}
-}
-class_exists(Span\Link::class);
-@trigger_error('Opentelemetry\Proto\Trace\V1\Span_Link is deprecated and will be removed in the next major release. Use Opentelemetry\Proto\Trace\V1\Span\Link instead', E_USER_DEPRECATED);
-
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 d517c72fd..000000000
--- a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Span_SpanKind.php
+++ /dev/null
@@ -1,16 +0,0 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: opentelemetry/proto/trace/v1/trace.proto
-
-namespace Opentelemetry\Proto\Trace\V1;
-
-if (false) {
- /**
- * This class is deprecated. Use Opentelemetry\Proto\Trace\V1\Span\SpanKind instead.
- * @deprecated
- */
- class Span_SpanKind {}
-}
-class_exists(Span\SpanKind::class);
-@trigger_error('Opentelemetry\Proto\Trace\V1\Span_SpanKind is deprecated and will be removed in the next major release. Use Opentelemetry\Proto\Trace\V1\Span\SpanKind instead', E_USER_DEPRECATED);
-
diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Status.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Status.php
deleted file mode 100644
index 5fee7292e..000000000
--- a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Status.php
+++ /dev/null
@@ -1,102 +0,0 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: opentelemetry/proto/trace/v1/trace.proto
-
-namespace Opentelemetry\Proto\Trace\V1;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * The Status type defines a logical error model that is suitable for different
- * programming environments, including REST APIs and RPC APIs.
- *
- * Generated from protobuf message <code>opentelemetry.proto.trace.v1.Status</code>
- */
-class Status extends \Google\Protobuf\Internal\Message
-{
- /**
- * A developer-facing human readable error message.
- *
- * Generated from protobuf field <code>string message = 2;</code>
- */
- protected $message = '';
- /**
- * The status code.
- *
- * Generated from protobuf field <code>.opentelemetry.proto.trace.v1.Status.StatusCode code = 3;</code>
- */
- 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 <code>string message = 2;</code>
- * @return string
- */
- public function getMessage()
- {
- return $this->message;
- }
-
- /**
- * A developer-facing human readable error message.
- *
- * Generated from protobuf field <code>string message = 2;</code>
- * @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 <code>.opentelemetry.proto.trace.v1.Status.StatusCode code = 3;</code>
- * @return int
- */
- public function getCode()
- {
- return $this->code;
- }
-
- /**
- * The status code.
- *
- * Generated from protobuf field <code>.opentelemetry.proto.trace.v1.Status.StatusCode code = 3;</code>
- * @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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: opentelemetry/proto/trace/v1/trace.proto
-
-namespace Opentelemetry\Proto\Trace\V1\Status;
-
-use UnexpectedValueException;
-
-/**
- * Protobuf type <code>opentelemetry.proto.trace.v1.Status.DeprecatedStatusCode</code>
- */
-class DeprecatedStatusCode
-{
- /**
- * Generated from protobuf enum <code>DEPRECATED_STATUS_CODE_OK = 0;</code>
- */
- const DEPRECATED_STATUS_CODE_OK = 0;
- /**
- * Generated from protobuf enum <code>DEPRECATED_STATUS_CODE_CANCELLED = 1;</code>
- */
- const DEPRECATED_STATUS_CODE_CANCELLED = 1;
- /**
- * Generated from protobuf enum <code>DEPRECATED_STATUS_CODE_UNKNOWN_ERROR = 2;</code>
- */
- const DEPRECATED_STATUS_CODE_UNKNOWN_ERROR = 2;
- /**
- * Generated from protobuf enum <code>DEPRECATED_STATUS_CODE_INVALID_ARGUMENT = 3;</code>
- */
- const DEPRECATED_STATUS_CODE_INVALID_ARGUMENT = 3;
- /**
- * Generated from protobuf enum <code>DEPRECATED_STATUS_CODE_DEADLINE_EXCEEDED = 4;</code>
- */
- const DEPRECATED_STATUS_CODE_DEADLINE_EXCEEDED = 4;
- /**
- * Generated from protobuf enum <code>DEPRECATED_STATUS_CODE_NOT_FOUND = 5;</code>
- */
- const DEPRECATED_STATUS_CODE_NOT_FOUND = 5;
- /**
- * Generated from protobuf enum <code>DEPRECATED_STATUS_CODE_ALREADY_EXISTS = 6;</code>
- */
- const DEPRECATED_STATUS_CODE_ALREADY_EXISTS = 6;
- /**
- * Generated from protobuf enum <code>DEPRECATED_STATUS_CODE_PERMISSION_DENIED = 7;</code>
- */
- const DEPRECATED_STATUS_CODE_PERMISSION_DENIED = 7;
- /**
- * Generated from protobuf enum <code>DEPRECATED_STATUS_CODE_RESOURCE_EXHAUSTED = 8;</code>
- */
- const DEPRECATED_STATUS_CODE_RESOURCE_EXHAUSTED = 8;
- /**
- * Generated from protobuf enum <code>DEPRECATED_STATUS_CODE_FAILED_PRECONDITION = 9;</code>
- */
- const DEPRECATED_STATUS_CODE_FAILED_PRECONDITION = 9;
- /**
- * Generated from protobuf enum <code>DEPRECATED_STATUS_CODE_ABORTED = 10;</code>
- */
- const DEPRECATED_STATUS_CODE_ABORTED = 10;
- /**
- * Generated from protobuf enum <code>DEPRECATED_STATUS_CODE_OUT_OF_RANGE = 11;</code>
- */
- const DEPRECATED_STATUS_CODE_OUT_OF_RANGE = 11;
- /**
- * Generated from protobuf enum <code>DEPRECATED_STATUS_CODE_UNIMPLEMENTED = 12;</code>
- */
- const DEPRECATED_STATUS_CODE_UNIMPLEMENTED = 12;
- /**
- * Generated from protobuf enum <code>DEPRECATED_STATUS_CODE_INTERNAL_ERROR = 13;</code>
- */
- const DEPRECATED_STATUS_CODE_INTERNAL_ERROR = 13;
- /**
- * Generated from protobuf enum <code>DEPRECATED_STATUS_CODE_UNAVAILABLE = 14;</code>
- */
- const DEPRECATED_STATUS_CODE_UNAVAILABLE = 14;
- /**
- * Generated from protobuf enum <code>DEPRECATED_STATUS_CODE_DATA_LOSS = 15;</code>
- */
- const DEPRECATED_STATUS_CODE_DATA_LOSS = 15;
- /**
- * Generated from protobuf enum <code>DEPRECATED_STATUS_CODE_UNAUTHENTICATED = 16;</code>
- */
- 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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: opentelemetry/proto/trace/v1/trace.proto
-
-namespace Opentelemetry\Proto\Trace\V1\Status;
-
-use UnexpectedValueException;
-
-/**
- * For the semantics of status codes see
- * https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/api.md#set-status
- *
- * Protobuf type <code>opentelemetry.proto.trace.v1.Status.StatusCode</code>
- */
-class StatusCode
-{
- /**
- * The default status.
- *
- * Generated from protobuf enum <code>STATUS_CODE_UNSET = 0;</code>
- */
- const STATUS_CODE_UNSET = 0;
- /**
- * The Span has been validated by an Application developer or Operator to
- * have completed successfully.
- *
- * Generated from protobuf enum <code>STATUS_CODE_OK = 1;</code>
- */
- const STATUS_CODE_OK = 1;
- /**
- * The Span contains an error.
- *
- * Generated from protobuf enum <code>STATUS_CODE_ERROR = 2;</code>
- */
- 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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: opentelemetry/proto/trace/v1/trace.proto
-
-namespace Opentelemetry\Proto\Trace\V1;
-
-if (false) {
- /**
- * This class is deprecated. Use Opentelemetry\Proto\Trace\V1\Status\DeprecatedStatusCode instead.
- * @deprecated
- */
- class Status_DeprecatedStatusCode {}
-}
-class_exists(Status\DeprecatedStatusCode::class);
-@trigger_error('Opentelemetry\Proto\Trace\V1\Status_DeprecatedStatusCode is deprecated and will be removed in the next major release. Use Opentelemetry\Proto\Trace\V1\Status\DeprecatedStatusCode instead', E_USER_DEPRECATED);
-
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 9de5cbbd9..000000000
--- a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Status_StatusCode.php
+++ /dev/null
@@ -1,16 +0,0 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: opentelemetry/proto/trace/v1/trace.proto
-
-namespace Opentelemetry\Proto\Trace\V1;
-
-if (false) {
- /**
- * This class is deprecated. Use Opentelemetry\Proto\Trace\V1\Status\StatusCode instead.
- * @deprecated
- */
- class Status_StatusCode {}
-}
-class_exists(Status\StatusCode::class);
-@trigger_error('Opentelemetry\Proto\Trace\V1\Status_StatusCode is deprecated and will be removed in the next major release. Use Opentelemetry\Proto\Trace\V1\Status\StatusCode instead', E_USER_DEPRECATED);
-
diff --git a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/TraceConfig.php b/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/TraceConfig.php
deleted file mode 100644
index 9fb54df9b..000000000
--- a/vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/TraceConfig.php
+++ /dev/null
@@ -1,297 +0,0 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: opentelemetry/proto/trace/v1/trace_config.proto
-
-namespace Opentelemetry\Proto\Trace\V1;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * Global configuration of the trace service. All fields must be specified, or
- * the default (zero) values will be used for each type.
- *
- * Generated from protobuf message <code>opentelemetry.proto.trace.v1.TraceConfig</code>
- */
-class TraceConfig extends \Google\Protobuf\Internal\Message
-{
- /**
- * The global default max number of attributes per span.
- *
- * Generated from protobuf field <code>int64 max_number_of_attributes = 4;</code>
- */
- protected $max_number_of_attributes = 0;
- /**
- * The global default max number of annotation events per span.
- *
- * Generated from protobuf field <code>int64 max_number_of_timed_events = 5;</code>
- */
- protected $max_number_of_timed_events = 0;
- /**
- * The global default max number of attributes per timed event.
- *
- * Generated from protobuf field <code>int64 max_number_of_attributes_per_timed_event = 6;</code>
- */
- protected $max_number_of_attributes_per_timed_event = 0;
- /**
- * The global default max number of link entries per span.
- *
- * Generated from protobuf field <code>int64 max_number_of_links = 7;</code>
- */
- protected $max_number_of_links = 0;
- /**
- * The global default max number of attributes per span.
- *
- * Generated from protobuf field <code>int64 max_number_of_attributes_per_link = 8;</code>
- */
- 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 <code>.opentelemetry.proto.trace.v1.ConstantSampler constant_sampler = 1;</code>
- * @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 <code>.opentelemetry.proto.trace.v1.ConstantSampler constant_sampler = 1;</code>
- * @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 <code>.opentelemetry.proto.trace.v1.TraceIdRatioBased trace_id_ratio_based = 2;</code>
- * @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 <code>.opentelemetry.proto.trace.v1.TraceIdRatioBased trace_id_ratio_based = 2;</code>
- * @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 <code>.opentelemetry.proto.trace.v1.RateLimitingSampler rate_limiting_sampler = 3;</code>
- * @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 <code>.opentelemetry.proto.trace.v1.RateLimitingSampler rate_limiting_sampler = 3;</code>
- * @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 <code>int64 max_number_of_attributes = 4;</code>
- * @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 <code>int64 max_number_of_attributes = 4;</code>
- * @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 <code>int64 max_number_of_timed_events = 5;</code>
- * @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 <code>int64 max_number_of_timed_events = 5;</code>
- * @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 <code>int64 max_number_of_attributes_per_timed_event = 6;</code>
- * @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 <code>int64 max_number_of_attributes_per_timed_event = 6;</code>
- * @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 <code>int64 max_number_of_links = 7;</code>
- * @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 <code>int64 max_number_of_links = 7;</code>
- * @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 <code>int64 max_number_of_attributes_per_link = 8;</code>
- * @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 <code>int64 max_number_of_attributes_per_link = 8;</code>
- * @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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: opentelemetry/proto/trace/v1/trace_config.proto
-
-namespace Opentelemetry\Proto\Trace\V1;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * Sampler that tries to uniformly sample traces with a given ratio.
- * The ratio of sampling a trace is equal to that of the specified ratio.
- *
- * Generated from protobuf message <code>opentelemetry.proto.trace.v1.TraceIdRatioBased</code>
- */
-class TraceIdRatioBased extends \Google\Protobuf\Internal\Message
-{
- /**
- * The desired ratio of sampling. Must be within [0.0, 1.0].
- *
- * Generated from protobuf field <code>double samplingRatio = 1;</code>
- */
- 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 <code>double samplingRatio = 1;</code>
- * @return float
- */
- public function getSamplingRatio()
- {
- return $this->samplingRatio;
- }
-
- /**
- * The desired ratio of sampling. Must be within [0.0, 1.0].
- *
- * Generated from protobuf field <code>double samplingRatio = 1;</code>
- * @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 @@
-<?php
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: opentelemetry/proto/trace/v1/trace.proto
-
-namespace Opentelemetry\Proto\Trace\V1;
-
-use Google\Protobuf\Internal\GPBType;
-use Google\Protobuf\Internal\RepeatedField;
-use Google\Protobuf\Internal\GPBUtil;
-
-/**
- * TracesData represents the traces data that can be stored in a persistent storage,
- * OR can be embedded by other protocols that transfer OTLP traces data but do
- * not implement the OTLP protocol.
- * The main difference between this message and collector protocol is that
- * in this message there will not be any "control" or "metadata" specific to
- * OTLP protocol.
- * When new fields are added into this message, the OTLP request MUST be updated
- * as well.
- *
- * Generated from protobuf message <code>opentelemetry.proto.trace.v1.TracesData</code>
- */
-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 <code>repeated .opentelemetry.proto.trace.v1.ResourceSpans resource_spans = 1;</code>
- */
- 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 <code>repeated .opentelemetry.proto.trace.v1.ResourceSpans resource_spans = 1;</code>
- * @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 <code>repeated .opentelemetry.proto.trace.v1.ResourceSpans resource_spans = 1;</code>
- * @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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Common\Adapter\HttpDiscovery;
-
-use Http\Client\HttpAsyncClient;
-use OpenTelemetry\SDK\Common\Http\DependencyResolverInterface;
-use OpenTelemetry\SDK\Common\Http\HttpPlug\Client\ResolverInterface as HttpPlugClientResolverInterface;
-use OpenTelemetry\SDK\Common\Http\Psr\Client\ResolverInterface as PsrClientResolverInterface;
-use OpenTelemetry\SDK\Common\Http\Psr\Message\FactoryResolverInterface as MessageFactoryResolverInterface;
-use Psr\Http\Client\ClientInterface;
-use Psr\Http\Message\RequestFactoryInterface;
-use Psr\Http\Message\ResponseFactoryInterface;
-use Psr\Http\Message\ServerRequestFactoryInterface;
-use Psr\Http\Message\StreamFactoryInterface;
-use Psr\Http\Message\UploadedFileFactoryInterface;
-use Psr\Http\Message\UriFactoryInterface;
-
-final class DependencyResolver implements DependencyResolverInterface
-{
- private MessageFactoryResolverInterface $messageFactoryResolver;
- private PsrClientResolverInterface $psrClientResolver;
- private HttpPlugClientResolverInterface $httpPlugClientResolver;
-
- public function __construct(
- ?MessageFactoryResolverInterface $messageFactoryResolver = null,
- ?PsrClientResolverInterface $psrClientResolver = null,
- ?HttpPlugClientResolverInterface $httpPlugClientResolver = null
- ) {
- $this->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Common\Adapter\HttpDiscovery;
-
-use Http\Client\HttpAsyncClient;
-use Http\Discovery\HttpAsyncClientDiscovery;
-use OpenTelemetry\SDK\Common\Http\HttpPlug\Client\ResolverInterface;
-
-final class HttpPlugClientResolver implements ResolverInterface
-{
- private ?HttpAsyncClient $httpAsyncClient;
-
- public function __construct(?HttpAsyncClient $httpAsyncClient = null)
- {
- $this->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Common\Adapter\HttpDiscovery;
-
-use Http\Discovery\Psr17FactoryDiscovery;
-use OpenTelemetry\SDK\Common\Http\Psr\Message\FactoryResolverInterface;
-use Psr\Http\Message\RequestFactoryInterface;
-use Psr\Http\Message\ResponseFactoryInterface;
-use Psr\Http\Message\ServerRequestFactoryInterface;
-use Psr\Http\Message\StreamFactoryInterface;
-use Psr\Http\Message\UploadedFileFactoryInterface;
-use Psr\Http\Message\UriFactoryInterface;
-
-final class MessageFactoryResolver implements FactoryResolverInterface
-{
- private ?RequestFactoryInterface $requestFactory;
- private ?ResponseFactoryInterface $responseFactory;
- private ?ServerRequestFactoryInterface $serverRequestFactory;
- private ?StreamFactoryInterface $streamFactory;
- private ?UploadedFileFactoryInterface $uploadedFileFactory;
- private ?UriFactoryInterface $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;
- }
-
- 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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Common\Adapter\HttpDiscovery;
-
-use Http\Discovery\Psr18ClientDiscovery;
-use OpenTelemetry\SDK\Common\Http\Psr\Client\ResolverInterface;
-use Psr\Http\Client\ClientInterface;
-
-final class PsrClientResolver implements ResolverInterface
-{
- private ?ClientInterface $client;
-
- public function __construct(?ClientInterface $client = null)
- {
- $this->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Common\Attribute;
-
-class AttributeValidator implements AttributeValidatorInterface
-{
- private const PRIMITIVES = [
- 'string',
- 'integer',
- 'double',
- 'boolean',
- ];
- private const NUMERICS = [
- 'double',
- 'integer',
- ];
-
- /**
- * Validate whether a value is a primitive, or a homogeneous array of primitives (treating int/double as equivalent).
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/v1.21.0/specification/common/README.md#attribute
- */
- public function validate($value): bool
- {
- if (is_array($value)) {
- return $this->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Common\Attribute;
-
-interface AttributeValidatorInterface
-{
- public function validate($value): bool;
- public function getInvalidMessage(): string;
-}
diff --git a/vendor/open-telemetry/sdk/Common/Attribute/Attributes.php b/vendor/open-telemetry/sdk/Common/Attribute/Attributes.php
deleted file mode 100644
index bb131ce94..000000000
--- a/vendor/open-telemetry/sdk/Common/Attribute/Attributes.php
+++ /dev/null
@@ -1,67 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Common\Attribute;
-
-use function array_key_exists;
-use IteratorAggregate;
-use Traversable;
-
-final class Attributes implements AttributesInterface, IteratorAggregate
-{
- private array $attributes;
- private int $droppedAttributesCount;
-
- /**
- * @internal
- */
- public function __construct(array $attributes, int $droppedAttributesCount)
- {
- $this->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Common\Attribute;
-
-use function array_key_exists;
-use function count;
-use function is_array;
-use function is_string;
-use function mb_substr;
-use OpenTelemetry\API\Behavior\LogsMessagesTrait;
-
-/**
- * @internal
- */
-final class AttributesBuilder implements AttributesBuilderInterface
-{
- use LogsMessagesTrait;
-
- private array $attributes;
- private ?int $attributeCountLimit;
- private ?int $attributeValueLengthLimit;
- private int $droppedAttributesCount;
- private AttributeValidatorInterface $attributeValidator;
-
- public function __construct(
- array $attributes,
- ?int $attributeCountLimit,
- ?int $attributeValueLengthLimit,
- int $droppedAttributesCount,
- ?AttributeValidatorInterface $attributeValidator
- ) {
- $this->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 <thing> (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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Common\Attribute;
-
-use ArrayAccess;
-
-interface AttributesBuilderInterface extends ArrayAccess
-{
- public function build(): AttributesInterface;
-}
diff --git a/vendor/open-telemetry/sdk/Common/Attribute/AttributesFactory.php b/vendor/open-telemetry/sdk/Common/Attribute/AttributesFactory.php
deleted file mode 100644
index d53ab25aa..000000000
--- a/vendor/open-telemetry/sdk/Common/Attribute/AttributesFactory.php
+++ /dev/null
@@ -1,36 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Common\Attribute;
-
-/**
- * @internal
- */
-final class AttributesFactory implements AttributesFactoryInterface
-{
- private ?int $attributeCountLimit;
- private ?int $attributeValueLengthLimit;
-
- public function __construct(?int $attributeCountLimit = null, ?int $attributeValueLengthLimit = null)
- {
- $this->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Common\Attribute;
-
-interface AttributesFactoryInterface
-{
- public function builder(iterable $attributes = [], ?AttributeValidatorInterface $attributeValidator = null): AttributesBuilderInterface;
-}
diff --git a/vendor/open-telemetry/sdk/Common/Attribute/AttributesInterface.php b/vendor/open-telemetry/sdk/Common/Attribute/AttributesInterface.php
deleted file mode 100644
index 1af7dc8d9..000000000
--- a/vendor/open-telemetry/sdk/Common/Attribute/AttributesInterface.php
+++ /dev/null
@@ -1,19 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Common\Attribute;
-
-use Countable;
-use Traversable;
-
-interface AttributesInterface extends Traversable, Countable
-{
- public function has(string $name): bool;
-
- public function get(string $name);
-
- public function getDroppedAttributesCount(): int;
-
- public function toArray(): array;
-}
diff --git a/vendor/open-telemetry/sdk/Common/Attribute/FilteredAttributesBuilder.php b/vendor/open-telemetry/sdk/Common/Attribute/FilteredAttributesBuilder.php
deleted file mode 100644
index d79cff96a..000000000
--- a/vendor/open-telemetry/sdk/Common/Attribute/FilteredAttributesBuilder.php
+++ /dev/null
@@ -1,77 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Common\Attribute;
-
-use function in_array;
-
-/**
- * @internal
- */
-final class FilteredAttributesBuilder implements AttributesBuilderInterface
-{
- private AttributesBuilderInterface $builder;
- private array $rejectedKeys;
- private int $rejected = 0;
-
- /**
- * @param list<string> $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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Common\Attribute;
-
-/**
- * @internal
- */
-final class FilteredAttributesFactory implements AttributesFactoryInterface
-{
- private AttributesFactoryInterface $factory;
- private array $rejectedKeys;
-
- /**
- * @param list<string> $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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Common\Attribute;
-
-class LogRecordAttributeValidator implements AttributeValidatorInterface
-{
- public function validate($value): bool
- {
- return true;
- }
-
- public function getInvalidMessage(): string
- {
- //not required as this validator always returns true
- return 'unused';
- }
-}
diff --git a/vendor/open-telemetry/sdk/Common/Configuration/Configuration.php b/vendor/open-telemetry/sdk/Common/Configuration/Configuration.php
deleted file mode 100644
index 58673fd98..000000000
--- a/vendor/open-telemetry/sdk/Common/Configuration/Configuration.php
+++ /dev/null
@@ -1,182 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Common\Configuration;
-
-use InvalidArgumentException;
-use OpenTelemetry\API\Behavior\LogsMessagesTrait;
-use OpenTelemetry\SDK\Common\Configuration\Parser\BooleanParser;
-use OpenTelemetry\SDK\Common\Configuration\Parser\ListParser;
-use OpenTelemetry\SDK\Common\Configuration\Parser\MapParser;
-use OpenTelemetry\SDK\Common\Configuration\Parser\RatioParser;
-use OpenTelemetry\SDK\Common\Configuration\Resolver\CompositeResolver;
-use OpenTelemetry\SDK\Common\Util\ClassConstantAccessor;
-use UnexpectedValueException;
-
-/**
- * Configuration can come from one or more of the following sources (from highest to lowest priority):
- * - values defined in php.ini
- * - environment variable ($_SERVER)
- * - configuration file (todo)
- */
-class Configuration
-{
- use LogsMessagesTrait;
-
- public static function has(string $name): bool
- {
- return CompositeResolver::instance()->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Common\Configuration;
-
-/**
- * Default values for environment variables defined by the OpenTelemetry specification and language specific variables for the PHP SDK.
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/configuration/sdk-environment-variables.md
- */
-interface Defaults
-{
- /**
- * General SDK Configuration
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/configuration/sdk-environment-variables.md#general-sdk-configuration
- */
- public const OTEL_LOG_LEVEL = 'info';
- public const OTEL_PROPAGATORS = 'tracecontext,baggage';
- public const OTEL_TRACES_SAMPLER = 'parentbased_always_on';
- public const OTEL_SDK_DISABLED = 'false';
- /**
- * Batch Span Processor
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/configuration/sdk-environment-variables.md#batch-span-processor
- */
- public const OTEL_BSP_SCHEDULE_DELAY = 5000;
- public const OTEL_BSP_EXPORT_TIMEOUT = 30000;
- public const OTEL_BSP_MAX_QUEUE_SIZE = 2048;
- public const OTEL_BSP_MAX_EXPORT_BATCH_SIZE = 512;
- /**
- * Batch LogRecord Processor
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/configuration/sdk-environment-variables.md#batch-logrecord-processor
- */
- public const OTEL_BLRP_SCHEDULE_DELAY = 1000;
- public const OTEL_BLRP_EXPORT_TIMEOUT = 30000;
- public const OTEL_BLRP_MAX_QUEUE_SIZE = 2048;
- public const OTEL_BLRP_MAX_EXPORT_BATCH_SIZE = 512;
- /**
- * Attribute Limits
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/configuration/sdk-environment-variables.md#attribute-limits
- */
- public const OTEL_ATTRIBUTE_COUNT_LIMIT = 128;
- public const OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT = PHP_INT_MAX;
- /**
- * Span Limits
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/configuration/sdk-environment-variables.md#span-limits
- */
- public const OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT = 128;
- public const OTEL_SPAN_EVENT_COUNT_LIMIT = 128;
- public const OTEL_SPAN_LINK_COUNT_LIMIT = 128;
- public const OTEL_EVENT_ATTRIBUTE_COUNT_LIMIT = 128;
- public const OTEL_LINK_ATTRIBUTE_COUNT_LIMIT = 128;
- /**
- * LogRecord Limits
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/configuration/sdk-environment-variables.md#logrecord-limits
- */
- public const OTEL_LOGRECORD_ATTRIBUTE_VALUE_LENGTH_LIMIT = PHP_INT_MAX;
- public const OTEL_LOGRECORD_ATTRIBUTE_COUNT_LIMIT = 128;
- /**
- * OTLP Exporter
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/protocol/exporter.md#configuration-options
- */
- // Endpoint
- public const OTEL_EXPORTER_OTLP_ENDPOINT = 'http://localhost:4318';
- public const OTEL_EXPORTER_OTLP_TRACES_ENDPOINT = 'http://localhost:4318';
- public const OTEL_EXPORTER_OTLP_METRICS_ENDPOINT = 'http://localhost:4318';
- public const OTEL_EXPORTER_OTLP_LOGS_ENDPOINT = 'http://localhost:4318';
- // Insecure
- public const OTEL_EXPORTER_OTLP_INSECURE = 'false';
- public const OTEL_EXPORTER_OTLP_TRACES_INSECURE = 'false';
- public const OTEL_EXPORTER_OTLP_METRICS_INSECURE = 'false';
- public const OTEL_EXPORTER_OTLP_LOGS_INSECURE = 'false';
- // Timeout (seconds)
- public const OTEL_EXPORTER_OTLP_TIMEOUT = 10;
- public const OTEL_EXPORTER_OTLP_TRACES_TIMEOUT = 10;
- public const OTEL_EXPORTER_OTLP_METRICS_TIMEOUT = 10;
- public const OTEL_EXPORTER_OTLP_LOGS_TIMEOUT = 10;
- // Protocol
- public const OTEL_EXPORTER_OTLP_PROTOCOL = 'http/protobuf';
- public const OTEL_EXPORTER_OTLP_TRACES_PROTOCOL = 'http/protobuf';
- public const OTEL_EXPORTER_OTLP_METRICS_PROTOCOL = 'http/protobuf';
- public const OTEL_EXPORTER_OTLP_LOGS_PROTOCOL = 'http/protobuf';
- /**
- * Zipkin Exporter
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/configuration/sdk-environment-variables.md#zipkin-exporter
- */
- public const OTEL_EXPORTER_ZIPKIN_ENDPOINT = 'http://localhost:9411/api/v2/spans';
- // Timeout (seconds)
- public const OTEL_EXPORTER_ZIPKIN_TIMEOUT = 10;
- /**
- * Prometheus Exporter
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/configuration/sdk-environment-variables.md#prometheus-exporter
- */
- public const OTEL_EXPORTER_PROMETHEUS_HOST = '0.0.0.0';
- public const OTEL_EXPORTER_PROMETHEUS_PORT = 9464;
- /**
- * Exporter Selection
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/configuration/sdk-environment-variables.md#exporter-selection
- */
- public const OTEL_TRACES_EXPORTER = 'otlp';
- public const OTEL_METRICS_EXPORTER = 'otlp';
- public const OTEL_LOGS_EXPORTER = 'otlp';
- /**
- * Metrics SDK Configuration
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/configuration/sdk-environment-variables.md#metrics-sdk-configuration
- */
- public const OTEL_METRICS_EXEMPLAR_FILTER = 'with_sampled_trace';
- public const OTEL_METRIC_EXPORT_INTERVAL = 60000;
- public const OTEL_METRIC_EXPORT_TIMEOUT = 30000;
- public const OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE = 'cumulative';
- public const OTEL_EXPORTER_OTLP_METRICS_DEFAULT_HISTOGRAM_AGGREGATION = 'explicit_bucket_histogram';
- /**
- * Language Specific Environment Variables
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/configuration/sdk-environment-variables.md#language-specific-environment-variables
- */
- public const OTEL_PHP_TRACES_PROCESSOR = 'batch';
- public const OTEL_PHP_DETECTORS = 'all';
- public const OTEL_PHP_AUTOLOAD_ENABLED = 'false';
- public const OTEL_PHP_INTERNAL_METRICS_ENABLED = 'false';
- public const OTEL_PHP_DISABLED_INSTRUMENTATIONS = [];
- public const OTEL_PHP_LOGS_PROCESSOR = 'batch';
- public const OTEL_PHP_LOG_DESTINATION = 'default';
-}
diff --git a/vendor/open-telemetry/sdk/Common/Configuration/KnownValues.php b/vendor/open-telemetry/sdk/Common/Configuration/KnownValues.php
deleted file mode 100644
index 8975b20f9..000000000
--- a/vendor/open-telemetry/sdk/Common/Configuration/KnownValues.php
+++ /dev/null
@@ -1,208 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Common\Configuration;
-
-use Psr\Log\LogLevel;
-
-/**
- * "Known values" for OpenTelemetry configurataion variables.
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/configuration/sdk-environment-variables.md
- * Notice: Values specific to the PHP SDK have been added
- */
-interface KnownValues
-{
- public const VALUE_TRUE = 'true';
- public const VALUE_FALSE = 'false';
- public const VALUE_ON = 'on';
- public const VALUE_OFF = 'off';
- public const VALUE_1 = '1';
- public const VALUE_0 = '0';
- public const VALUE_ALL = 'all';
- public const VALUE_NONE = 'none';
- public const VALUE_TRACECONTEXT = 'tracecontext';
- public const VALUE_BAGGAGE = 'baggage';
- public const VALUE_B3 = 'b3';
- public const VALUE_B3_MULTI = 'b3multi';
- public const VALUE_XRAY = 'xray';
- public const VALUE_OTTRACE = 'ottrace';
- public const VALUE_ALWAYS_ON = 'always_on';
- public const VALUE_ALWAYS_OFF = 'always_off';
- public const VALUE_TRACE_ID_RATIO = 'traceidratio';
- public const VALUE_PARENT_BASED_ALWAYS_ON = 'parentbased_always_on';
- public const VALUE_PARENT_BASED_ALWAYS_OFF = 'parentbased_always_off';
- public const VALUE_PARENT_BASED_TRACE_ID_RATIO = 'parentbased_traceidratio';
- public const VALUE_GZIP = 'gzip';
- public const VALUE_GRPC = 'grpc';
- public const VALUE_HTTP_PROTOBUF = 'http/protobuf';
- public const VALUE_HTTP_JSON = 'http/json';
- public const VALUE_HTTP_NDJSON = 'http/ndjson';
- public const VALUE_OTLP = 'otlp';
- public const VALUE_ZIPKIN = 'zipkin';
- public const VALUE_PROMETHEUS = 'prometheus';
- public const VALUE_WITH_SAMPLED_TRACE = 'with_sampled_trace';
- public const VALUE_BATCH = 'batch';
- public const VALUE_SIMPLE = 'simple';
- public const VALUE_NOOP = 'noop';
- public const VALUE_LOG_EMERGENCY = LogLevel::EMERGENCY;
- public const VALUE_LOG_ALERT = LogLevel::ALERT;
- public const VALUE_LOG_CRITICAL = LogLevel::CRITICAL;
- public const VALUE_LOG_ERROR = LogLevel::ERROR;
- public const VALUE_LOG_WARNING = LogLevel::WARNING;
- public const VALUE_LOG_NOTICE = LogLevel::NOTICE;
- public const VALUE_LOG_INFO = LogLevel::INFO;
- public const VALUE_LOG_DEBUG = LogLevel::DEBUG;
- public const VALUE_TEMPORALITY_CUMULATIVE = 'cumulative';
- public const VALUE_TEMPORALITY_DELTA = 'delta';
- public const VALUE_TEMPORALITY_LOW_MEMORY = 'lowmemory';
- public const VALUE_HISTOGRAM_AGGREGATION_EXPLICIT = 'explicit_bucket_histogram';
- public const VALUE_HISTOGRAM_AGGREGATION_BASE2_EXPONENTIAL = 'base2_exponential_bucket_histogram';
-
- public const VALUES_BOOLEAN = [
- self::VALUE_TRUE,
- self::VALUE_FALSE,
- ];
-
- public const VALUES_COMPRESSION= [
- self::VALUE_GZIP,
- self::VALUE_NONE,
- ];
-
- public const VALUES_OTLP_PROTOCOL = [
- self::VALUE_GRPC,
- self::VALUE_HTTP_PROTOBUF,
- self::VALUE_HTTP_JSON,
- ];
-
- public const VALUES_TEMPORALITY_PREFERENCE = [
- self::VALUE_TEMPORALITY_CUMULATIVE,
- self::VALUE_TEMPORALITY_DELTA,
- self::VALUE_TEMPORALITY_LOW_MEMORY,
- ];
-
- public const VALUES_HISTOGRAM_AGGREGATION = [
- self::VALUE_HISTOGRAM_AGGREGATION_EXPLICIT,
- self::VALUE_HISTOGRAM_AGGREGATION_BASE2_EXPONENTIAL,
- ];
-
- /**
- * General SDK Configuration
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/configuration/sdk-environment-variables.md#general-sdk-configuration
- */
- public const OTEL_LOG_LEVEL = [
- self::VALUE_LOG_EMERGENCY,
- self::VALUE_LOG_ALERT,
- self::VALUE_LOG_CRITICAL,
- self::VALUE_LOG_ERROR,
- self::VALUE_LOG_WARNING,
- self::VALUE_LOG_NOTICE,
- self::VALUE_LOG_INFO,
- self::VALUE_LOG_DEBUG,
- ];
- public const OTEL_PROPAGATORS = [
- self::VALUE_TRACECONTEXT, // W3C Trace Context
- self::VALUE_BAGGAGE, // W3C Baggage
- self::VALUE_B3, // B3 Single
- self::VALUE_B3_MULTI, // B3 Multi
- self::VALUE_XRAY, // AWS X-Ray (third party)
- self::VALUE_OTTRACE, // OT Trace (third party)
- self::VALUE_NONE, // No automatically configured propagator.
- ];
- public const OTEL_TRACES_SAMPLER = [
- self::VALUE_ALWAYS_ON,
- self::VALUE_ALWAYS_OFF,
- self::VALUE_TRACE_ID_RATIO,
- self::VALUE_PARENT_BASED_ALWAYS_ON,
- self::VALUE_PARENT_BASED_ALWAYS_OFF,
- self::VALUE_PARENT_BASED_TRACE_ID_RATIO,
- self::VALUE_XRAY,
- ];
- /**
- * OTLP Exporter
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/protocol/exporter.md#configuration-options
- */
- // Insecure
- public const OTEL_EXPORTER_OTLP_INSECURE = self::VALUES_BOOLEAN;
- public const OTEL_EXPORTER_OTLP_TRACES_INSECURE = self::VALUES_BOOLEAN;
- public const OTEL_EXPORTER_OTLP_METRICS_INSECURE = self::VALUES_BOOLEAN;
- // Compression
- public const OTEL_EXPORTER_OTLP_COMPRESSION = self::VALUES_COMPRESSION;
- public const OTEL_EXPORTER_OTLP_TRACES_COMPRESSION = self::VALUES_COMPRESSION;
- public const OTEL_EXPORTER_OTLP_METRICS_COMPRESSION = self::VALUES_COMPRESSION;
- // Protocol
- public const OTEL_EXPORTER_OTLP_PROTOCOL = self::VALUES_OTLP_PROTOCOL;
- public const OTEL_EXPORTER_OTLP_TRACES_PROTOCOL = self::VALUES_OTLP_PROTOCOL;
- public const OTEL_EXPORTER_OTLP_METRICS_PROTOCOL = self::VALUES_OTLP_PROTOCOL;
- /**
- * Exporter Selection
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/configuration/sdk-environment-variables.md#exporter-selection
- */
- public const OTEL_TRACES_EXPORTER = [
- self::VALUE_OTLP,
- self::VALUE_ZIPKIN,
- self::VALUE_NONE,
- ];
- public const OTEL_METRICS_EXPORTER = [
- self::VALUE_OTLP,
- self::VALUE_PROMETHEUS,
- self::VALUE_NONE,
- ];
- public const OTEL_LOGS_EXPORTER = [
- self::VALUE_OTLP,
- self::VALUE_NONE,
- ];
- /**
- * Metrics SDK Configuration
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/configuration/sdk-environment-variables.md#metrics-sdk-configuration
- */
- public const OTEL_METRICS_EXEMPLAR_FILTER = [
- self::VALUE_WITH_SAMPLED_TRACE,
- self::VALUE_ALL,
- self::VALUE_NONE,
- ];
- /**
- * Language Specific Environment Variables
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/configuration/sdk-environment-variables.md#language-specific-environment-variables
- */
- public const OTEL_PHP_TRACES_PROCESSOR = [
- self::VALUE_BATCH,
- self::VALUE_SIMPLE,
- self::VALUE_NOOP,
- self::VALUE_NONE,
- ];
- public const OTEL_PHP_AUTOLOAD_ENABLED = self::VALUES_BOOLEAN;
- public const VALUE_ERROR_LOG = 'error_log';
- public const VALUE_STDERR = 'stderr';
- public const VALUE_STDOUT = 'stdout';
- public const VALUE_PSR3 = 'psr3';
- public const VALUE_EMPTY = '';
- public const VALUE_DETECTORS_ENVIRONMENT = 'env';
- public const VALUE_DETECTORS_HOST = 'host';
- public const VALUE_DETECTORS_OS = 'os';
- public const VALUE_DETECTORS_PROCESS = 'process';
- public const VALUE_DETECTORS_PROCESS_RUNTIME = 'process_runtime';
- public const VALUE_DETECTORS_SDK = 'sdk';
- public const VALUE_DETECTORS_SDK_PROVIDED = 'sdk_provided';
- public const VALUE_DETECTORS_COMPOSER = 'composer';
- public const OTEL_PHP_DETECTORS = [
- self::VALUE_ALL,
- self::VALUE_DETECTORS_ENVIRONMENT,
- self::VALUE_DETECTORS_HOST,
- self::VALUE_DETECTORS_OS,
- self::VALUE_DETECTORS_PROCESS,
- self::VALUE_DETECTORS_PROCESS_RUNTIME,
- self::VALUE_DETECTORS_SDK,
- self::VALUE_DETECTORS_SDK_PROVIDED,
- self::VALUE_DETECTORS_COMPOSER,
- self::VALUE_NONE,
- ];
- public const OTEL_PHP_LOG_DESTINATION = [
- self::VALUE_ERROR_LOG,
- self::VALUE_STDERR,
- self::VALUE_STDOUT,
- self::VALUE_PSR3,
- self::VALUE_EMPTY,
- self::VALUE_NONE,
- ];
-}
diff --git a/vendor/open-telemetry/sdk/Common/Configuration/Parser/BooleanParser.php b/vendor/open-telemetry/sdk/Common/Configuration/Parser/BooleanParser.php
deleted file mode 100644
index 4141c61ef..000000000
--- a/vendor/open-telemetry/sdk/Common/Configuration/Parser/BooleanParser.php
+++ /dev/null
@@ -1,34 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Common\Configuration\Parser;
-
-use InvalidArgumentException;
-
-class BooleanParser
-{
- private const TRUE_VALUE = 'true';
- private const FALSE_VALUE = 'false';
-
- /**
- * @param string|bool $value
- */
- public static function parse($value): bool
- {
- if (is_bool($value)) {
- return $value;
- }
- if (strtolower($value) === self::TRUE_VALUE) {
- return true;
- }
-
- if (strtolower($value) === self::FALSE_VALUE) {
- return false;
- }
-
- throw new InvalidArgumentException(
- sprintf('Value "%s" is a non-boolean value', $value)
- );
- }
-}
diff --git a/vendor/open-telemetry/sdk/Common/Configuration/Parser/ListParser.php b/vendor/open-telemetry/sdk/Common/Configuration/Parser/ListParser.php
deleted file mode 100644
index f27b16597..000000000
--- a/vendor/open-telemetry/sdk/Common/Configuration/Parser/ListParser.php
+++ /dev/null
@@ -1,28 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Common\Configuration\Parser;
-
-class ListParser
-{
- private const DEFAULT_SEPARATOR = ',';
-
- /**
- * @param string|array $value
- */
- public static function parse($value): array
- {
- if (is_array($value)) {
- return $value;
- }
- if (trim($value) === '') {
- return [];
- }
-
- return array_map(
- fn ($value) => 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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Common\Configuration\Parser;
-
-use InvalidArgumentException;
-
-class MapParser
-{
- private const VARIABLE_SEPARATOR = ',';
- private const KEY_VALUE_SEPARATOR = '=';
-
- public static function parse($value): array
- {
- if (is_array($value)) {
- return $value;
- }
- $result = [];
-
- if (null === $value || trim($value) === '') {
- return $result;
- }
-
- foreach (explode(self::VARIABLE_SEPARATOR, $value) as $pair) {
- self::validateKeyValuePair($pair);
-
- [$key, $value] = explode(self::KEY_VALUE_SEPARATOR, $pair, 2);
- $result[trim($key)] = trim($value);
- }
-
- return $result;
- }
-
- private static function validateKeyValuePair(string $pair)
- {
- if (strpos($pair, self::KEY_VALUE_SEPARATOR) === false) {
- throw new InvalidArgumentException(sprintf(
- 'Key-Value pair "%s" does not contain separator "%s"',
- $pair,
- self::KEY_VALUE_SEPARATOR
- ));
- }
- }
-}
diff --git a/vendor/open-telemetry/sdk/Common/Configuration/Parser/RatioParser.php b/vendor/open-telemetry/sdk/Common/Configuration/Parser/RatioParser.php
deleted file mode 100644
index f0fe32100..000000000
--- a/vendor/open-telemetry/sdk/Common/Configuration/Parser/RatioParser.php
+++ /dev/null
@@ -1,38 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Common\Configuration\Parser;
-
-use InvalidArgumentException;
-use RangeException;
-
-class RatioParser
-{
- private const MAX_VALUE = 1;
- private const MIN_VALUE = 0;
-
- public static function parse($value): float
- {
- if (filter_var($value, FILTER_VALIDATE_FLOAT) === false) {
- throw new InvalidArgumentException(
- sprintf('Value "%s" contains non-numeric value', $value)
- );
- }
-
- $result = (float) $value;
-
- if ($result > 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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Common\Configuration\Resolver;
-
-use OpenTelemetry\SDK\Common\Configuration\Configuration;
-
-/**
- * @interal
- */
-class CompositeResolver
-{
- // @var array<ResolverInterface>
- 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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Common\Configuration\Resolver;
-
-use OpenTelemetry\SDK\Common\Configuration\Configuration;
-
-/**
- * @internal
- */
-class EnvironmentResolver implements ResolverInterface
-{
- public function hasVariable(string $variableName): bool
- {
- if (!Configuration::isEmpty($_SERVER[$variableName] ?? null)) {
- return true;
- }
- $env = getenv($variableName);
- if ($env === false) {
- return false;
- }
-
- return !Configuration::isEmpty($env);
- }
-
- /**
- * @psalm-suppress InvalidReturnStatement
- * @psalm-suppress InvalidReturnType
- */
- public function retrieveValue(string $variableName)
- {
- $value = getenv($variableName);
- if ($value === false) {
- $value = $_SERVER[$variableName] ?? null;
- }
-
- return $value;
- }
-}
diff --git a/vendor/open-telemetry/sdk/Common/Configuration/Resolver/PhpIniAccessor.php b/vendor/open-telemetry/sdk/Common/Configuration/Resolver/PhpIniAccessor.php
deleted file mode 100644
index a12b507e8..000000000
--- a/vendor/open-telemetry/sdk/Common/Configuration/Resolver/PhpIniAccessor.php
+++ /dev/null
@@ -1,18 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Common\Configuration\Resolver;
-
-class PhpIniAccessor
-{
- /**
- * Mockable accessor for php.ini values
- * @internal
- * @return array|false|string
- */
- public function get(string $variableName)
- {
- return get_cfg_var($variableName);
- }
-}
diff --git a/vendor/open-telemetry/sdk/Common/Configuration/Resolver/PhpIniResolver.php b/vendor/open-telemetry/sdk/Common/Configuration/Resolver/PhpIniResolver.php
deleted file mode 100644
index c9a8f3b4e..000000000
--- a/vendor/open-telemetry/sdk/Common/Configuration/Resolver/PhpIniResolver.php
+++ /dev/null
@@ -1,41 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Common\Configuration\Resolver;
-
-use OpenTelemetry\SDK\Common\Configuration\Configuration;
-
-/**
- * @interal
- * @psalm-suppress TypeDoesNotContainType
- */
-class PhpIniResolver implements ResolverInterface
-{
- private PhpIniAccessor $accessor;
-
- public function __construct(?PhpIniAccessor $accessor = null)
- {
- $this->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Common\Configuration\Resolver;
-
-interface ResolverInterface
-{
- /**
- * @return mixed
- */
- public function retrieveValue(string $variableName);
-
- public function hasVariable(string $variableName): bool;
-}
diff --git a/vendor/open-telemetry/sdk/Common/Configuration/ValueTypes.php b/vendor/open-telemetry/sdk/Common/Configuration/ValueTypes.php
deleted file mode 100644
index 64a69f6a7..000000000
--- a/vendor/open-telemetry/sdk/Common/Configuration/ValueTypes.php
+++ /dev/null
@@ -1,133 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Common\Configuration;
-
-/**
- * Environment variables defined by the OpenTelemetry specification and language specific variables for the PHP SDK.
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/configuration/sdk-environment-variables.md
- */
-interface ValueTypes
-{
- /**
- * General SDK Configuration
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/configuration/sdk-environment-variables.md#general-sdk-configuration
- */
- public const OTEL_RESOURCE_ATTRIBUTES = VariableTypes::MAP;
- public const OTEL_SERVICE_NAME = VariableTypes::STRING;
- public const OTEL_LOG_LEVEL = VariableTypes::ENUM;
- public const OTEL_PROPAGATORS = VariableTypes::LIST;
- public const OTEL_TRACES_SAMPLER = VariableTypes::STRING;
- public const OTEL_TRACES_SAMPLER_ARG = VariableTypes::MIXED;
- /**
- * Batch Span Processor
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/configuration/sdk-environment-variables.md#batch-span-processor
- */
- public const OTEL_BSP_SCHEDULE_DELAY = VariableTypes::INTEGER;
- public const OTEL_BSP_EXPORT_TIMEOUT = VariableTypes::INTEGER;
- public const OTEL_BSP_MAX_QUEUE_SIZE = VariableTypes::INTEGER;
- public const OTEL_BSP_MAX_EXPORT_BATCH_SIZE = VariableTypes::INTEGER;
- /**
- * Batch LogRecord Processor
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/configuration/sdk-environment-variables.md#batch-logrecord-processor
- */
- public const OTEL_BLRP_SCHEDULE_DELAY = VariableTypes::INTEGER;
- public const OTEL_BLRP_EXPORT_TIMEOUT = VariableTypes::INTEGER;
- public const OTEL_BLRP_MAX_QUEUE_SIZE = VariableTypes::INTEGER;
- public const OTEL_BLRP_MAX_EXPORT_BATCH_SIZE = VariableTypes::INTEGER;
- /**
- * Attribute Limits
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/configuration/sdk-environment-variables.md#attribute-limits
- */
- public const OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT = VariableTypes::INTEGER;
- public const OTEL_ATTRIBUTE_COUNT_LIMIT = VariableTypes::INTEGER;
- /**
- * Span Limits
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/configuration/sdk-environment-variables.md#span-limits
- */
- public const OTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMIT = VariableTypes::INTEGER;
- public const OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT = VariableTypes::INTEGER;
- public const OTEL_SPAN_EVENT_COUNT_LIMIT = VariableTypes::INTEGER;
- public const OTEL_SPAN_LINK_COUNT_LIMIT = VariableTypes::INTEGER;
- public const OTEL_EVENT_ATTRIBUTE_COUNT_LIMIT = VariableTypes::INTEGER;
- public const OTEL_LINK_ATTRIBUTE_COUNT_LIMIT = VariableTypes::INTEGER;
- /**
- * LogRecord Limits
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/configuration/sdk-environment-variables.md#logrecord-limits
- */
- public const OTEL_LOGRECORD_ATTRIBUTE_VALUE_LENGTH_LIMIT = VariableTypes::INTEGER;
- public const OTEL_LOGRECORD_ATTRIBUTE_COUNT_LIMIT = VariableTypes::INTEGER;
- /**
- * OTLP Exporter
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/protocol/exporter.md#configuration-options
- */
- // Endpoint
- public const OTEL_EXPORTER_OTLP_ENDPOINT = VariableTypes::STRING;
- public const OTEL_EXPORTER_OTLP_TRACES_ENDPOINT = VariableTypes::STRING;
- public const OTEL_EXPORTER_OTLP_METRICS_ENDPOINT = VariableTypes::STRING;
- // Insecure
- public const OTEL_EXPORTER_OTLP_INSECURE = VariableTypes::BOOL;
- public const OTEL_EXPORTER_OTLP_TRACES_INSECURE = VariableTypes::BOOL;
- public const OTEL_EXPORTER_OTLP_METRICS_INSECURE = VariableTypes::BOOL;
- // Certificate File
- public const OTEL_EXPORTER_OTLP_CERTIFICATE = VariableTypes::STRING;
- public const OTEL_EXPORTER_OTLP_TRACES_CERTIFICATE = VariableTypes::STRING;
- public const OTEL_EXPORTER_OTLP_METRICS_CERTIFICATE = VariableTypes::STRING;
- // Headers
- public const OTEL_EXPORTER_OTLP_HEADERS = VariableTypes::MAP;
- public const OTEL_EXPORTER_OTLP_TRACES_HEADERS = VariableTypes::MAP;
- public const OTEL_EXPORTER_OTLP_METRICS_HEADERS = VariableTypes::MAP;
- // Compression
- public const OTEL_EXPORTER_OTLP_COMPRESSION = VariableTypes::ENUM;
- public const OTEL_EXPORTER_OTLP_TRACES_COMPRESSION = VariableTypes::ENUM;
- public const OTEL_EXPORTER_OTLP_METRICS_COMPRESSION = VariableTypes::ENUM;
- // Timeout
- public const OTEL_EXPORTER_OTLP_TIMEOUT = VariableTypes::INTEGER;
- public const OTEL_EXPORTER_OTLP_TRACES_TIMEOUT = VariableTypes::INTEGER;
- public const OTEL_EXPORTER_OTLP_METRICS_TIMEOUT = VariableTypes::INTEGER;
- // Protocol
- public const OTEL_EXPORTER_OTLP_PROTOCOL = VariableTypes::ENUM;
- public const OTEL_EXPORTER_OTLP_TRACES_PROTOCOL = VariableTypes::ENUM;
- public const OTEL_EXPORTER_OTLP_METRICS_PROTOCOL = VariableTypes::ENUM;
- /**
- * Zipkin Exporter
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/configuration/sdk-environment-variables.md#zipkin-exporter
- */
- public const OTEL_EXPORTER_ZIPKIN_ENDPOINT = VariableTypes::STRING;
- public const OTEL_EXPORTER_ZIPKIN_TIMEOUT = VariableTypes::INTEGER;
- public const OTEL_EXPORTER_ZIPKIN_PROTOCOL = VariableTypes::STRING;
- /**
- * Prometheus Exporter
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/configuration/sdk-environment-variables.md#prometheus-exporter
- */
- public const OTEL_EXPORTER_PROMETHEUS_HOST = VariableTypes::STRING;
- public const OTEL_EXPORTER_PROMETHEUS_PORT = VariableTypes::INTEGER;
- /**
- * Exporter Selection
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/configuration/sdk-environment-variables.md#exporter-selection
- */
- public const OTEL_TRACES_EXPORTER = VariableTypes::LIST;
- public const OTEL_METRICS_EXPORTER = VariableTypes::LIST;
- public const OTEL_LOGS_EXPORTER = VariableTypes::LIST;
- /**
- * Metrics SDK Configuration
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/configuration/sdk-environment-variables.md#metrics-sdk-configuration
- */
- public const OTEL_METRICS_EXEMPLAR_FILTER = VariableTypes::ENUM;
- public const OTEL_METRIC_EXPORT_INTERVAL = VariableTypes::INTEGER;
- public const OTEL_METRIC_EXPORT_TIMEOUT = VariableTypes::INTEGER;
- public const OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE = VariableTypes::ENUM;
- public const OTEL_EXPORTER_OTLP_METRICS_DEFAULT_HISTOGRAM_AGGREGATION = VariableTypes::ENUM;
- /**
- * Language Specific Environment Variables
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/configuration/sdk-environment-variables.md#language-specific-environment-variables
- */
- public const OTEL_PHP_TRACES_PROCESSOR = VariableTypes::ENUM;
- public const OTEL_PHP_LOGS_PROCESSOR = VariableTypes::LIST;
- public const OTEL_PHP_DETECTORS = VariableTypes::LIST;
- public const OTEL_PHP_AUTOLOAD_ENABLED = VariableTypes::BOOL;
- public const OTEL_PHP_LOG_DESTINATION = VariableTypes::ENUM;
- public const OTEL_PHP_INTERNAL_METRICS_ENABLED = VariableTypes::BOOL;
- public const OTEL_PHP_DISABLED_INSTRUMENTATIONS = VariableTypes::LIST;
-}
diff --git a/vendor/open-telemetry/sdk/Common/Configuration/VariableTypes.php b/vendor/open-telemetry/sdk/Common/Configuration/VariableTypes.php
deleted file mode 100644
index 471632e16..000000000
--- a/vendor/open-telemetry/sdk/Common/Configuration/VariableTypes.php
+++ /dev/null
@@ -1,62 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Common\Configuration;
-
-interface VariableTypes
-{
- /**
- * A single boolean value represented as a string or integer ('true', 'false', 0, 1)
- * example: value1
- */
- public const BOOL = 'bool';
-
- /**
- * A single string value
- * example: value1
- */
- public const STRING = 'string';
-
- /**
- * A single integer value
- * example: 5000
- */
- public const INTEGER = 'integer';
-
- /**
- * A single float value
- * example: 10.5
- */
- public const FLOAT = 'float';
-
- /**
- * A single float value between 0.0 and 1.0
- * example: 0.5
- */
- public const RATIO = 'ratio';
-
- /**
- * A single string value from a fixed list of values
- * example values: value1, value2, value3
- * example: value1
- */
- public const ENUM = 'enum';
-
- /**
- * A comma separated list of single string values
- * example: value1,value2,value3
- */
- public const LIST = 'list';
-
- /**
- * A comma separated list of key-value pairs
- * example: key1=value1,key2=value2
- */
- public const MAP = 'map';
-
- /**
- * Values of mixed type
- */
- public const MIXED = 'mixed';
-}
diff --git a/vendor/open-telemetry/sdk/Common/Configuration/Variables.php b/vendor/open-telemetry/sdk/Common/Configuration/Variables.php
deleted file mode 100644
index d0bb3c8ab..000000000
--- a/vendor/open-telemetry/sdk/Common/Configuration/Variables.php
+++ /dev/null
@@ -1,142 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Common\Configuration;
-
-/**
- * Environment variables defined by the OpenTelemetry specification and language specific variables for the PHP SDK.
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/configuration/sdk-environment-variables.md
- */
-interface Variables
-{
- /**
- * General SDK Configuration
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/configuration/sdk-environment-variables.md#general-sdk-configuration
- */
- public const OTEL_RESOURCE_ATTRIBUTES = 'OTEL_RESOURCE_ATTRIBUTES';
- public const OTEL_SERVICE_NAME = 'OTEL_SERVICE_NAME';
- public const OTEL_LOG_LEVEL = 'OTEL_LOG_LEVEL';
- public const OTEL_PROPAGATORS = 'OTEL_PROPAGATORS';
- public const OTEL_TRACES_SAMPLER = 'OTEL_TRACES_SAMPLER';
- public const OTEL_TRACES_SAMPLER_ARG = 'OTEL_TRACES_SAMPLER_ARG';
- public const OTEL_SDK_DISABLED = 'OTEL_SDK_DISABLED';
- /**
- * Batch Span Processor
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/configuration/sdk-environment-variables.md#batch-span-processor
- */
- public const OTEL_BSP_SCHEDULE_DELAY = 'OTEL_BSP_SCHEDULE_DELAY';
- public const OTEL_BSP_EXPORT_TIMEOUT = 'OTEL_BSP_EXPORT_TIMEOUT';
- public const OTEL_BSP_MAX_QUEUE_SIZE = 'OTEL_BSP_MAX_QUEUE_SIZE';
- public const OTEL_BSP_MAX_EXPORT_BATCH_SIZE = 'OTEL_BSP_MAX_EXPORT_BATCH_SIZE';
- /**
- * Batch LogRecord Processor
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/configuration/sdk-environment-variables.md#batch-logrecord-processor
- */
- public const OTEL_BLRP_SCHEDULE_DELAY = 'OTEL_BLRP_SCHEDULE_DELAY';
- public const OTEL_BLRP_EXPORT_TIMEOUT = 'OTEL_BLRP_EXPORT_TIMEOUT';
- public const OTEL_BLRP_MAX_QUEUE_SIZE = 'OTEL_BLRP_MAX_QUEUE_SIZE';
- public const OTEL_BLRP_MAX_EXPORT_BATCH_SIZE = 'OTEL_BLRP_MAX_EXPORT_BATCH_SIZE';
- /**
- * Attribute Limits
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/configuration/sdk-environment-variables.md#attribute-limits
- */
- public const OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT = 'OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT';
- public const OTEL_ATTRIBUTE_COUNT_LIMIT = 'OTEL_ATTRIBUTE_COUNT_LIMIT';
- /**
- * LogRecord limits
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/configuration/sdk-environment-variables.md#logrecord-limits
- */
- public const OTEL_LOGRECORD_ATTRIBUTE_VALUE_LENGTH_LIMIT = 'OTEL_LOGRECORD_ATTRIBUTE_VALUE_LENGTH_LIMIT';
- public const OTEL_LOGRECORD_ATTRIBUTE_COUNT_LIMIT = 'OTEL_LOGRECORD_ATTRIBUTE_COUNT_LIMIT';
- /**
- * Span Limits
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/configuration/sdk-environment-variables.md#span-limits
- */
- public const OTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMIT = 'OTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMIT';
- public const OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT = 'OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT';
- public const OTEL_SPAN_EVENT_COUNT_LIMIT = 'OTEL_SPAN_EVENT_COUNT_LIMIT';
- public const OTEL_SPAN_LINK_COUNT_LIMIT = 'OTEL_SPAN_LINK_COUNT_LIMIT';
- public const OTEL_EVENT_ATTRIBUTE_COUNT_LIMIT = 'OTEL_EVENT_ATTRIBUTE_COUNT_LIMIT';
- public const OTEL_LINK_ATTRIBUTE_COUNT_LIMIT = 'OTEL_LINK_ATTRIBUTE_COUNT_LIMIT';
- /**
- * OTLP Exporter
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/protocol/exporter.md#configuration-options
- */
- // Endpoint
- public const OTEL_EXPORTER_OTLP_ENDPOINT = 'OTEL_EXPORTER_OTLP_ENDPOINT';
- public const OTEL_EXPORTER_OTLP_TRACES_ENDPOINT = 'OTEL_EXPORTER_OTLP_TRACES_ENDPOINT';
- public const OTEL_EXPORTER_OTLP_METRICS_ENDPOINT = 'OTEL_EXPORTER_OTLP_METRICS_ENDPOINT';
- public const OTEL_EXPORTER_OTLP_LOGS_ENDPOINT = 'OTEL_EXPORTER_OTLP_LOGS_ENDPOINT';
- // Insecure
- public const OTEL_EXPORTER_OTLP_INSECURE = 'OTEL_EXPORTER_OTLP_INSECURE';
- public const OTEL_EXPORTER_OTLP_TRACES_INSECURE = 'OTEL_EXPORTER_OTLP_TRACES_INSECURE';
- public const OTEL_EXPORTER_OTLP_METRICS_INSECURE = 'OTEL_EXPORTER_OTLP_METRICS_INSECURE';
- public const OTEL_EXPORTER_OTLP_LOGS_INSECURE = 'OTEL_EXPORTER_OTLP_LOGS_INSECURE';
- // Certificate File
- public const OTEL_EXPORTER_OTLP_CERTIFICATE = 'OTEL_EXPORTER_OTLP_CERTIFICATE';
- public const OTEL_EXPORTER_OTLP_TRACES_CERTIFICATE = 'OTEL_EXPORTER_OTLP_TRACES_CERTIFICATE';
- public const OTEL_EXPORTER_OTLP_METRICS_CERTIFICATE = 'OTEL_EXPORTER_OTLP_METRICS_CERTIFICATE';
- public const OTEL_EXPORTER_OTLP_LOGS_CERTIFICATE = 'OTEL_EXPORTER_OTLP_LOGS_CERTIFICATE';
- // Headers
- public const OTEL_EXPORTER_OTLP_HEADERS = 'OTEL_EXPORTER_OTLP_HEADERS';
- public const OTEL_EXPORTER_OTLP_TRACES_HEADERS = 'OTEL_EXPORTER_OTLP_TRACES_HEADERS';
- public const OTEL_EXPORTER_OTLP_METRICS_HEADERS = 'OTEL_EXPORTER_OTLP_METRICS_HEADERS';
- public const OTEL_EXPORTER_OTLP_LOGS_HEADERS = 'OTEL_EXPORTER_OTLP_LOGS_HEADERS';
- // Compression
- public const OTEL_EXPORTER_OTLP_COMPRESSION = 'OTEL_EXPORTER_OTLP_COMPRESSION';
- public const OTEL_EXPORTER_OTLP_TRACES_COMPRESSION = 'OTEL_EXPORTER_OTLP_TRACES_COMPRESSION';
- public const OTEL_EXPORTER_OTLP_METRICS_COMPRESSION = 'OTEL_EXPORTER_OTLP_METRICS_COMPRESSION';
- public const OTEL_EXPORTER_OTLP_LOGS_COMPRESSION = 'OTEL_EXPORTER_OTLP_LOGS_COMPRESSION';
- // Timeout
- public const OTEL_EXPORTER_OTLP_TIMEOUT = 'OTEL_EXPORTER_OTLP_TIMEOUT';
- public const OTEL_EXPORTER_OTLP_TRACES_TIMEOUT = 'OTEL_EXPORTER_OTLP_TRACES_TIMEOUT';
- public const OTEL_EXPORTER_OTLP_METRICS_TIMEOUT = 'OTEL_EXPORTER_OTLP_METRICS_TIMEOUT';
- public const OTEL_EXPORTER_OTLP_LOGS_TIMEOUT = 'OTEL_EXPORTER_OTLP_LOGS_TIMEOUT';
- // Protocol
- public const OTEL_EXPORTER_OTLP_PROTOCOL = 'OTEL_EXPORTER_OTLP_PROTOCOL';
- public const OTEL_EXPORTER_OTLP_TRACES_PROTOCOL = 'OTEL_EXPORTER_OTLP_TRACES_PROTOCOL';
- public const OTEL_EXPORTER_OTLP_METRICS_PROTOCOL = 'OTEL_EXPORTER_OTLP_METRICS_PROTOCOL';
- public const OTEL_EXPORTER_OTLP_LOGS_PROTOCOL = 'OTEL_EXPORTER_OTLP_LOGS_PROTOCOL';
- /**
- * Zipkin Exporter
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/configuration/sdk-environment-variables.md#zipkin-exporter
- */
- public const OTEL_EXPORTER_ZIPKIN_ENDPOINT = 'OTEL_EXPORTER_ZIPKIN_ENDPOINT';
- public const OTEL_EXPORTER_ZIPKIN_TIMEOUT = 'OTEL_EXPORTER_ZIPKIN_TIMEOUT';
- public const OTEL_EXPORTER_ZIPKIN_PROTOCOL = 'OTEL_EXPORTER_ZIPKIN_PROTOCOL';
- /**
- * Prometheus Exporter
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/configuration/sdk-environment-variables.md#prometheus-exporter
- */
- public const OTEL_EXPORTER_PROMETHEUS_HOST = 'OTEL_EXPORTER_PROMETHEUS_HOST';
- public const OTEL_EXPORTER_PROMETHEUS_PORT = 'OTEL_EXPORTER_PROMETHEUS_PORT';
- /**
- * Exporter Selection
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/configuration/sdk-environment-variables.md#exporter-selection
- */
- public const OTEL_TRACES_EXPORTER = 'OTEL_TRACES_EXPORTER';
- public const OTEL_METRICS_EXPORTER = 'OTEL_METRICS_EXPORTER';
- public const OTEL_LOGS_EXPORTER = 'OTEL_LOGS_EXPORTER';
- /**
- * Metrics SDK Configuration
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/configuration/sdk-environment-variables.md#metrics-sdk-configuration
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/configuration/sdk-environment-variables.md#periodic-exporting-metricreader
- */
- public const OTEL_METRICS_EXEMPLAR_FILTER = 'OTEL_METRICS_EXEMPLAR_FILTER';
- public const OTEL_METRIC_EXPORT_INTERVAL = 'OTEL_METRIC_EXPORT_INTERVAL';
- public const OTEL_METRIC_EXPORT_TIMEOUT = 'OTEL_METRIC_EXPORT_TIMEOUT';
- public const OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE = 'OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE';
- public const OTEL_EXPORTER_OTLP_METRICS_DEFAULT_HISTOGRAM_AGGREGATION = 'OTEL_EXPORTER_OTLP_METRICS_DEFAULT_HISTOGRAM_AGGREGATION';
- /**
- * Language Specific Environment Variables
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/configuration/sdk-environment-variables.md#language-specific-environment-variables
- */
- public const OTEL_PHP_TRACES_PROCESSOR = 'OTEL_PHP_TRACES_PROCESSOR';
- public const OTEL_PHP_LOGS_PROCESSOR = 'OTEL_PHP_LOGS_PROCESSOR';
- public const OTEL_PHP_LOG_DESTINATION = 'OTEL_PHP_LOG_DESTINATION';
- public const OTEL_PHP_DETECTORS = 'OTEL_PHP_DETECTORS';
- public const OTEL_PHP_AUTOLOAD_ENABLED = 'OTEL_PHP_AUTOLOAD_ENABLED';
- public const OTEL_PHP_INTERNAL_METRICS_ENABLED = 'OTEL_PHP_INTERNAL_METRICS_ENABLED'; //whether the SDK should emit its own metrics
- public const OTEL_PHP_DISABLED_INSTRUMENTATIONS = 'OTEL_PHP_DISABLED_INSTRUMENTATIONS';
-}
diff --git a/vendor/open-telemetry/sdk/Common/Dev/Compatibility/README.md b/vendor/open-telemetry/sdk/Common/Dev/Compatibility/README.md
deleted file mode 100644
index 661eed3b8..000000000
--- a/vendor/open-telemetry/sdk/Common/Dev/Compatibility/README.md
+++ /dev/null
@@ -1,14 +0,0 @@
-# Backwards Compatibility
-
-We aim to provide backward compatibility (without any guarantee) even for alpha releases, however the library will raise notices indicating breaking changes and what to do about them. \
-If you don't want these notices to appear or change the error message level, you can do so by calling:
-```php
-OpenTelemetry\SDK\Common\Dev\Compatibility\Util::setErrorLevel(0)
-```
-to turn messages off completely, or (for example)
-```php
-OpenTelemetry\SDK\Common\Dev\Compatibility\Util::setErrorLevel(E_USER_DEPRECATED)
-```
-to trigger only deprecation notices. Valid error levels are `0` (none), `E_USER_DEPRECATED`, `E_USER_NOTICE`, `E_USER_WARNING` and `E_USER_ERROR` \
-However (as long as in alpha) it is safer to pin a dependency on the library to a specific version and/or make the adjustments
-mentioned in the provided messages, since doing otherwise may break things completely for you in the future!
diff --git a/vendor/open-telemetry/sdk/Common/Dev/Compatibility/Util.php b/vendor/open-telemetry/sdk/Common/Dev/Compatibility/Util.php
deleted file mode 100644
index 1a3debfdd..000000000
--- a/vendor/open-telemetry/sdk/Common/Dev/Compatibility/Util.php
+++ /dev/null
@@ -1,93 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Common\Dev\Compatibility;
-
-class Util
-{
- public const E_NONE = 0;
- public const DEFAULT_ERROR_LEVEL = E_USER_NOTICE;
- public const ERROR_LEVELS = [
- self::E_NONE,
- E_USER_DEPRECATED,
- E_USER_NOTICE,
- E_USER_WARNING,
- E_USER_ERROR,
- ];
-
- private static int $errorLevel = E_USER_NOTICE;
-
- public static function setErrorLevel(int $errorLevel = E_USER_NOTICE): void
- {
- self::validateErrorLevel($errorLevel);
-
- self::$errorLevel = $errorLevel;
- }
-
- public static function getErrorLevel(): int
- {
- return self::$errorLevel;
- }
-
- /**
- * @psalm-suppress ArgumentTypeCoercion
- */
- public static function triggerClassDeprecationNotice(string $className, string $alternativeClassName = null): void
- {
- if (self::getErrorLevel() === self::E_NONE) {
- return;
- }
-
- $notice = sprintf(
- 'Class "%s" is deprecated and will be removed in a future release. ',
- $className
- );
-
- if ($alternativeClassName !== null) {
- $notice .= sprintf('Please, use "%s" instead.', $alternativeClassName);
- }
-
- trigger_error($notice, self::$errorLevel);
- }
-
- /**
- * @psalm-suppress ArgumentTypeCoercion
- */
- public static function triggerMethodDeprecationNotice(
- string $methodName,
- string $alternativeMethodName = null,
- string $alternativeClassName = null
- ): void {
- if (self::getErrorLevel() === self::E_NONE) {
- return;
- }
-
- $notice = sprintf(
- 'Method "%s " is deprecated and will be removed in a future release. ',
- $methodName
- );
-
- if ($alternativeMethodName !== null) {
- $method = $alternativeClassName === null
- ? $alternativeMethodName
- : sprintf('%s::%s', $alternativeClassName, $alternativeMethodName);
-
- $notice .= sprintf('Please, use "%s" instead.', $method);
- }
-
- trigger_error($notice, self::$errorLevel);
- }
-
- private static function validateErrorLevel(int $errorLevel): void
- {
- if (!in_array($errorLevel, self::ERROR_LEVELS, true)) {
- throw new \InvalidArgumentException(
- sprintf(
- 'Error level must be one of "%s"',
- implode('", "', self::ERROR_LEVELS)
- ),
- );
- }
- }
-}
diff --git a/vendor/open-telemetry/sdk/Common/Dev/Compatibility/_load.php b/vendor/open-telemetry/sdk/Common/Dev/Compatibility/_load.php
deleted file mode 100644
index 99f86c574..000000000
--- a/vendor/open-telemetry/sdk/Common/Dev/Compatibility/_load.php
+++ /dev/null
@@ -1,7 +0,0 @@
-<?php
-
-declare(strict_types=1);
-/**
- * To add a BC compatibility:
- * require_once __DIR__ . '/BC/SomeFile.php';
- */
diff --git a/vendor/open-telemetry/sdk/Common/Exception/StackTraceFormatter.php b/vendor/open-telemetry/sdk/Common/Exception/StackTraceFormatter.php
deleted file mode 100644
index 675fc7626..000000000
--- a/vendor/open-telemetry/sdk/Common/Exception/StackTraceFormatter.php
+++ /dev/null
@@ -1,155 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Common\Exception;
-
-use function basename;
-use function count;
-use function get_class;
-use function sprintf;
-use function str_repeat;
-
-use Throwable;
-
-/**
- * @psalm-type Frame = array{
- * function: string,
- * class: ?class-string,
- * file: ?string,
- * line: ?int,
- * }
- * @psalm-type Frames = non-empty-list<Frame>
- */
-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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Common\Export\Http;
-
-use function assert;
-use BadMethodCallException;
-use function explode;
-use function in_array;
-use OpenTelemetry\SDK\Common\Export\TransportInterface;
-use OpenTelemetry\SDK\Common\Future\CancellationInterface;
-use OpenTelemetry\SDK\Common\Future\CompletedFuture;
-use OpenTelemetry\SDK\Common\Future\ErrorFuture;
-use OpenTelemetry\SDK\Common\Future\FutureInterface;
-use Psr\Http\Client\ClientInterface;
-use Psr\Http\Client\NetworkExceptionInterface;
-use Psr\Http\Message\RequestFactoryInterface;
-use Psr\Http\Message\ResponseInterface;
-use Psr\Http\Message\StreamFactoryInterface;
-use RuntimeException;
-use function strtolower;
-use Throwable;
-use function time_nanosleep;
-use function trim;
-
-/**
- * @psalm-template CONTENT_TYPE of string
- * @template-implements TransportInterface<CONTENT_TYPE>
- */
-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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Common\Export\Http;
-
-use const FILTER_VALIDATE_URL;
-use function filter_var;
-use Http\Discovery\Psr17FactoryDiscovery;
-use Http\Discovery\Psr18ClientDiscovery;
-use InvalidArgumentException;
-use OpenTelemetry\SDK\Common\Export\TransportFactoryInterface;
-use Psr\Http\Client\ClientInterface;
-use Psr\Http\Message\RequestFactoryInterface;
-use Psr\Http\Message\StreamFactoryInterface;
-
-final class PsrTransportFactory implements TransportFactoryInterface
-{
- private ClientInterface $client;
- private RequestFactoryInterface $requestFactory;
- private StreamFactoryInterface $streamFactory;
-
- public function __construct(
- ClientInterface $client,
- RequestFactoryInterface $requestFactory,
- StreamFactoryInterface $streamFactory
- ) {
- $this->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Common\Export\Http;
-
-use function array_filter;
-use function array_map;
-use function count;
-use ErrorException;
-use LogicException;
-use function max;
-use OpenTelemetry\SDK\Common\Export\TransportFactoryInterface;
-use Psr\Http\Message\ResponseInterface;
-use function rand;
-use function restore_error_handler;
-use function set_error_handler;
-use function sprintf;
-use function strcasecmp;
-use function strtotime;
-use Throwable;
-use function time;
-use function trim;
-use UnexpectedValueException;
-
-/**
- * @internal
- */
-final class PsrUtils
-{
- /**
- * @param int $retry zero-indexed attempt number
- * @param int $retryDelay initial delay in milliseconds
- * @param ResponseInterface|null $response response of failed request
- * @return float delay in seconds
- */
- public static function retryDelay(int $retry, int $retryDelay, ?ResponseInterface $response = null): float
- {
- $delay = $retryDelay << $retry;
- $delay = rand($delay >> 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<string> $encodings
- * @param array<int, string>|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<string> $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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Common\Export\Stream;
-
-use BadMethodCallException;
-use ErrorException;
-use function fflush;
-use function fwrite;
-use OpenTelemetry\SDK\Common\Export\TransportInterface;
-use OpenTelemetry\SDK\Common\Future\CancellationInterface;
-use OpenTelemetry\SDK\Common\Future\CompletedFuture;
-use OpenTelemetry\SDK\Common\Future\ErrorFuture;
-use OpenTelemetry\SDK\Common\Future\FutureInterface;
-use function restore_error_handler;
-use RuntimeException;
-use function set_error_handler;
-use function strlen;
-use Throwable;
-
-/**
- * @internal
- *
- * @psalm-template CONTENT_TYPE of string
- * @template-implements TransportInterface<CONTENT_TYPE>
- */
-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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Common\Export\Stream;
-
-use ErrorException;
-use function fopen;
-use function implode;
-use function is_resource;
-use LogicException;
-use OpenTelemetry\SDK\Common\Export\TransportFactoryInterface;
-use OpenTelemetry\SDK\Common\Export\TransportInterface;
-use function restore_error_handler;
-use function set_error_handler;
-use function sprintf;
-use function stream_context_create;
-
-/**
- * @psalm-internal \OpenTelemetry
- */
-final class StreamTransportFactory implements TransportFactoryInterface
-{
- /**
- * @param string|resource $endpoint
- * @param array<string, string|string[]> $headers
- * @param string|string[]|null $compression
- *
- * @psalm-template CONTENT_TYPE of string
- * @psalm-param CONTENT_TYPE $contentType
- * @psalm-return TransportInterface<CONTENT_TYPE>
- */
- 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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Common\Export;
-
-interface TransportFactoryInterface
-{
- public const COMPRESSION_GZIP = 'gzip';
- public const COMPRESSION_DEFLATE = 'deflate';
- public const COMPRESSION_BROTLI = 'br';
-
- /**
- * @psalm-template CONTENT_TYPE of string
- * @psalm-param CONTENT_TYPE $contentType
- * @psalm-param array<string, string|string[]> $headers
- * @psalm-param string|string[]|null $compression
- * @psalm-return TransportInterface<CONTENT_TYPE>
- */
- 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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Common\Export;
-
-use OpenTelemetry\SDK\Common\Future\CancellationInterface;
-use OpenTelemetry\SDK\Common\Future\FutureInterface;
-
-/**
- * @psalm-template-covariant CONTENT_TYPE of string
- */
-interface TransportInterface
-{
- public function contentType(): string;
-
- public function send(string $payload, ?CancellationInterface $cancellation = null): FutureInterface;
-
- public function shutdown(?CancellationInterface $cancellation = null): bool;
-
- public function forceFlush(?CancellationInterface $cancellation = null): bool;
-}
diff --git a/vendor/open-telemetry/sdk/Common/Future/CancellationInterface.php b/vendor/open-telemetry/sdk/Common/Future/CancellationInterface.php
deleted file mode 100644
index 16909ec6d..000000000
--- a/vendor/open-telemetry/sdk/Common/Future/CancellationInterface.php
+++ /dev/null
@@ -1,18 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Common\Future;
-
-use Closure;
-use Throwable;
-
-interface CancellationInterface
-{
- /**
- * @param Closure(Throwable): void $callback
- */
- public function subscribe(Closure $callback): string;
-
- public function unsubscribe(string $id): void;
-}
diff --git a/vendor/open-telemetry/sdk/Common/Future/CompletedFuture.php b/vendor/open-telemetry/sdk/Common/Future/CompletedFuture.php
deleted file mode 100644
index 7f0cd6536..000000000
--- a/vendor/open-telemetry/sdk/Common/Future/CompletedFuture.php
+++ /dev/null
@@ -1,48 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Common\Future;
-
-use Closure;
-use Throwable;
-
-/**
- * @template T
- * @template-implements FutureInterface<T>
- */
-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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Common\Future;
-
-use Closure;
-use Throwable;
-
-final class ErrorFuture implements FutureInterface
-{
- private Throwable $throwable;
-
- public function __construct(Throwable $throwable)
- {
- $this->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Common\Future;
-
-use Closure;
-
-/**
- * @template-covariant T
- */
-interface FutureInterface
-{
- /**
- * @psalm-return T
- */
- public function await();
-
- /**
- * @psalm-template U
- * @psalm-param Closure(T): U $closure
- * @psalm-return FutureInterface<U>
- *
- * @psalm-suppress InvalidTemplateParam
- */
- public function map(Closure $closure): FutureInterface;
-
- /**
- * @psalm-template U
- * @psalm-param Closure(\Throwable): U $closure
- * @psalm-return FutureInterface<T|U>
- */
- 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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Common\Future;
-
-use Closure;
-
-final class NullCancellation implements CancellationInterface
-{
- public function subscribe(Closure $callback): string
- {
- return self::class;
- }
-
- public function unsubscribe(string $id): void
- {
- // no-op
- }
-}
diff --git a/vendor/open-telemetry/sdk/Common/Http/DependencyResolverInterface.php b/vendor/open-telemetry/sdk/Common/Http/DependencyResolverInterface.php
deleted file mode 100644
index 824335213..000000000
--- a/vendor/open-telemetry/sdk/Common/Http/DependencyResolverInterface.php
+++ /dev/null
@@ -1,13 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Common\Http;
-
-use OpenTelemetry\SDK\Common\Http\HttpPlug\Client\ResolverInterface as HttpPlugClientResolverInterface;
-use OpenTelemetry\SDK\Common\Http\Psr\Client\ResolverInterface as PsrClientResolverInterface;
-use OpenTelemetry\SDK\Common\Http\Psr\Message\FactoryResolverInterface;
-
-interface DependencyResolverInterface extends FactoryResolverInterface, PsrClientResolverInterface, HttpPlugClientResolverInterface
-{
-}
diff --git a/vendor/open-telemetry/sdk/Common/Http/HttpPlug/Client/ResolverInterface.php b/vendor/open-telemetry/sdk/Common/Http/HttpPlug/Client/ResolverInterface.php
deleted file mode 100644
index 3b2f4d53e..000000000
--- a/vendor/open-telemetry/sdk/Common/Http/HttpPlug/Client/ResolverInterface.php
+++ /dev/null
@@ -1,12 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Common\Http\HttpPlug\Client;
-
-use Http\Client\HttpAsyncClient;
-
-interface ResolverInterface
-{
- public function resolveHttpPlugAsyncClient(): HttpAsyncClient;
-}
diff --git a/vendor/open-telemetry/sdk/Common/Http/Psr/Client/ResolverInterface.php b/vendor/open-telemetry/sdk/Common/Http/Psr/Client/ResolverInterface.php
deleted file mode 100644
index ba028e38a..000000000
--- a/vendor/open-telemetry/sdk/Common/Http/Psr/Client/ResolverInterface.php
+++ /dev/null
@@ -1,12 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Common\Http\Psr\Client;
-
-use Psr\Http\Client\ClientInterface;
-
-interface ResolverInterface
-{
- public function resolvePsrClient(): ClientInterface;
-}
diff --git a/vendor/open-telemetry/sdk/Common/Http/Psr/Message/FactoryResolverInterface.php b/vendor/open-telemetry/sdk/Common/Http/Psr/Message/FactoryResolverInterface.php
deleted file mode 100644
index 4582e19ce..000000000
--- a/vendor/open-telemetry/sdk/Common/Http/Psr/Message/FactoryResolverInterface.php
+++ /dev/null
@@ -1,22 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Common\Http\Psr\Message;
-
-use Psr\Http\Message\RequestFactoryInterface;
-use Psr\Http\Message\ResponseFactoryInterface;
-use Psr\Http\Message\ServerRequestFactoryInterface;
-use Psr\Http\Message\StreamFactoryInterface;
-use Psr\Http\Message\UploadedFileFactoryInterface;
-use Psr\Http\Message\UriFactoryInterface;
-
-interface FactoryResolverInterface
-{
- public function resolveRequestFactory(): RequestFactoryInterface;
- public function resolveResponseFactory(): ResponseFactoryInterface;
- public function resolveServerRequestFactory(): ServerRequestFactoryInterface;
- public function resolveStreamFactory(): StreamFactoryInterface;
- public function resolveUploadedFileFactory(): UploadedFileFactoryInterface;
- public function resolveUriFactory(): UriFactoryInterface;
-}
diff --git a/vendor/open-telemetry/sdk/Common/Http/Psr/Message/MessageFactory.php b/vendor/open-telemetry/sdk/Common/Http/Psr/Message/MessageFactory.php
deleted file mode 100644
index 8e99d64c0..000000000
--- a/vendor/open-telemetry/sdk/Common/Http/Psr/Message/MessageFactory.php
+++ /dev/null
@@ -1,52 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Common\Http\Psr\Message;
-
-use Psr\Http\Message\RequestFactoryInterface;
-use Psr\Http\Message\RequestInterface;
-use Psr\Http\Message\ResponseFactoryInterface;
-use Psr\Http\Message\ResponseInterface;
-use Psr\Http\Message\ServerRequestFactoryInterface;
-use Psr\Http\Message\ServerRequestInterface;
-
-final class MessageFactory implements MessageFactoryInterface
-{
- private RequestFactoryInterface $requestFactory;
- private ResponseFactoryInterface $responseFactory;
- private ServerRequestFactoryInterface $serverRequestFactory;
-
- public function __construct(
- RequestFactoryInterface $requestFactory,
- ResponseFactoryInterface $responseFactory,
- ServerRequestFactoryInterface $serverRequestFactory
- ) {
- $this->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Common\Http\Psr\Message;
-
-use Psr\Http\Message\RequestFactoryInterface;
-use Psr\Http\Message\ResponseFactoryInterface;
-use Psr\Http\Message\ServerRequestFactoryInterface;
-
-interface MessageFactoryInterface extends RequestFactoryInterface, ServerRequestFactoryInterface, ResponseFactoryInterface
-{
-}
diff --git a/vendor/open-telemetry/sdk/Common/Instrumentation/InstrumentationScope.php b/vendor/open-telemetry/sdk/Common/Instrumentation/InstrumentationScope.php
deleted file mode 100644
index ec9b52fb0..000000000
--- a/vendor/open-telemetry/sdk/Common/Instrumentation/InstrumentationScope.php
+++ /dev/null
@@ -1,46 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Common\Instrumentation;
-
-use OpenTelemetry\SDK\Common\Attribute\AttributesInterface;
-
-/**
- * Represents the instrumentation scope information associated with the Tracer or Meter
- */
-final class InstrumentationScope implements InstrumentationScopeInterface
-{
- private string $name;
- private ?string $version;
- private ?string $schemaUrl;
- private AttributesInterface $attributes;
-
- public function __construct(string $name, ?string $version, ?string $schemaUrl, AttributesInterface $attributes)
- {
- $this->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Common\Instrumentation;
-
-use OpenTelemetry\SDK\Common\Attribute\AttributesFactoryInterface;
-
-final class InstrumentationScopeFactory implements InstrumentationScopeFactoryInterface
-{
- private AttributesFactoryInterface $attributesFactory;
-
- public function __construct(AttributesFactoryInterface $attributesFactory)
- {
- $this->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Common\Instrumentation;
-
-interface InstrumentationScopeFactoryInterface
-{
- public function create(
- string $name,
- ?string $version = null,
- ?string $schemaUrl = null,
- iterable $attributes = []
- ): InstrumentationScopeInterface;
-}
diff --git a/vendor/open-telemetry/sdk/Common/Instrumentation/InstrumentationScopeInterface.php b/vendor/open-telemetry/sdk/Common/Instrumentation/InstrumentationScopeInterface.php
deleted file mode 100644
index 43ba71d89..000000000
--- a/vendor/open-telemetry/sdk/Common/Instrumentation/InstrumentationScopeInterface.php
+++ /dev/null
@@ -1,18 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Common\Instrumentation;
-
-use OpenTelemetry\SDK\Common\Attribute\AttributesInterface;
-
-interface InstrumentationScopeInterface
-{
- public function getName(): string;
-
- public function getVersion(): ?string;
-
- public function getSchemaUrl(): ?string;
-
- public function getAttributes(): AttributesInterface;
-}
diff --git a/vendor/open-telemetry/sdk/Common/Time/ClockFactory.php b/vendor/open-telemetry/sdk/Common/Time/ClockFactory.php
deleted file mode 100644
index 33f4364f6..000000000
--- a/vendor/open-telemetry/sdk/Common/Time/ClockFactory.php
+++ /dev/null
@@ -1,30 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Common\Time;
-
-final class ClockFactory implements ClockFactoryInterface
-{
- private static ?ClockInterface $default = null;
-
- public static function create(): self
- {
- return new self();
- }
-
- public function build(): ClockInterface
- {
- return new SystemClock();
- }
-
- public static function getDefault(): ClockInterface
- {
- return self::$default ?? self::$default = self::create()->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Common\Time;
-
-interface ClockFactoryInterface
-{
- public static function create(): self;
-
- public function build(): ClockInterface;
-
- public static function getDefault(): ClockInterface;
-
- public static function setDefault(?ClockInterface $clock): void;
-}
diff --git a/vendor/open-telemetry/sdk/Common/Time/ClockInterface.php b/vendor/open-telemetry/sdk/Common/Time/ClockInterface.php
deleted file mode 100644
index 8f3170185..000000000
--- a/vendor/open-telemetry/sdk/Common/Time/ClockInterface.php
+++ /dev/null
@@ -1,19 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Common\Time;
-
-interface ClockInterface
-{
- public const MILLIS_PER_SECOND = 1_000;
- public const MICROS_PER_SECOND = 1_000_000;
- public const NANOS_PER_SECOND = 1_000_000_000;
- public const NANOS_PER_MILLISECOND = 1_000_000;
- public const NANOS_PER_MICROSECOND = 1_000;
-
- /**
- * Returns the current epoch wall-clock timestamp in nanoseconds
- */
- public function now(): int;
-}
diff --git a/vendor/open-telemetry/sdk/Common/Time/StopWatch.php b/vendor/open-telemetry/sdk/Common/Time/StopWatch.php
deleted file mode 100644
index b2abdabae..000000000
--- a/vendor/open-telemetry/sdk/Common/Time/StopWatch.php
+++ /dev/null
@@ -1,119 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Common\Time;
-
-final class StopWatch implements StopWatchInterface
-{
- private const INITIAL_ELAPSED_TIME = 0;
-
- private ClockInterface $clock;
- private bool $running = false;
- private ?int $initialStartTime;
- private ?int $startTime = null;
- private ?int $stopTime = null;
-
- public function __construct(ClockInterface $clock, ?int $initialStartTime = null)
- {
- $this->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Common\Time;
-
-final class StopWatchFactory implements StopWatchFactoryInterface
-{
- private static ?StopWatchInterface $default = null;
-
- private ClockInterface $clock;
- private ?int $initialStartTime;
-
- public function __construct(?ClockInterface $clock = null, ?int $initialStartTime = null)
- {
- $this->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Common\Time;
-
-interface StopWatchFactoryInterface
-{
- public static function create(?ClockInterface $clock = null, ?int $initialStartTime = null): self;
-
- public static function fromClockFactory(ClockFactoryInterface $factory, ?int $initialStartTime = null): self;
-
- public function build(): StopWatchInterface;
-
- public static function getDefault(): StopWatchInterface;
-
- public static function setDefault(?StopWatchInterface $default): void;
-}
diff --git a/vendor/open-telemetry/sdk/Common/Time/StopWatchInterface.php b/vendor/open-telemetry/sdk/Common/Time/StopWatchInterface.php
deleted file mode 100644
index 69a03b75e..000000000
--- a/vendor/open-telemetry/sdk/Common/Time/StopWatchInterface.php
+++ /dev/null
@@ -1,20 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Common\Time;
-
-interface StopWatchInterface
-{
- public function isRunning(): bool;
-
- public function start(): void;
-
- public function stop(): void;
-
- public function reset(): void;
-
- public function getElapsedTime(): int;
-
- public function getLastElapsedTime(): int;
-}
diff --git a/vendor/open-telemetry/sdk/Common/Time/SystemClock.php b/vendor/open-telemetry/sdk/Common/Time/SystemClock.php
deleted file mode 100644
index f57e98490..000000000
--- a/vendor/open-telemetry/sdk/Common/Time/SystemClock.php
+++ /dev/null
@@ -1,49 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Common\Time;
-
-use function hrtime;
-use function microtime;
-
-final class SystemClock implements ClockInterface
-{
- private static int $referenceTime = 0;
-
- public function __construct()
- {
- self::init();
- }
-
- public static function create(): self
- {
- return new self();
- }
-
- /** @inheritDoc */
- public function now(): int
- {
- return self::$referenceTime + hrtime(true);
- }
-
- private static function init(): void
- {
- if (self::$referenceTime > 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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Common\Time;
-
-class Util
-{
- /** @psalm-pure */
- public static function nanosToMicros(int $nanoseconds): int
- {
- return intdiv($nanoseconds, ClockInterface::NANOS_PER_MICROSECOND);
- }
-
- /** @psalm-pure */
- public static function nanosToMillis(int $nanoseconds): int
- {
- return intdiv($nanoseconds, ClockInterface::NANOS_PER_MILLISECOND);
- }
-
- /** @psalm-pure */
- public static function secondsToNanos(int $seconds): int
- {
- return $seconds * ClockInterface::NANOS_PER_SECOND;
- }
-
- /** @psalm-pure */
- public static function millisToNanos(int $milliSeconds): int
- {
- return $milliSeconds * ClockInterface::NANOS_PER_MILLISECOND;
- }
-}
diff --git a/vendor/open-telemetry/sdk/Common/Util/ClassConstantAccessor.php b/vendor/open-telemetry/sdk/Common/Util/ClassConstantAccessor.php
deleted file mode 100644
index 237e70ba5..000000000
--- a/vendor/open-telemetry/sdk/Common/Util/ClassConstantAccessor.php
+++ /dev/null
@@ -1,35 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Common\Util;
-
-use LogicException;
-
-class ClassConstantAccessor
-{
- public static function requireValue(string $className, string $constantName)
- {
- $constant = self::getFullName($className, $constantName);
-
- if (!defined($constant)) {
- throw new LogicException(
- sprintf('The class "%s" does not have a constant "%s"', $className, $constantName)
- );
- }
-
- return constant($constant);
- }
-
- public static function getValue(string $className, string $constantName)
- {
- $constant = self::getFullName($className, $constantName);
-
- return defined($constant) ? constant($constant) : null;
- }
-
- private static function getFullName(string $className, string $constantName): string
- {
- return sprintf('%s::%s', $className, $constantName);
- }
-}
diff --git a/vendor/open-telemetry/sdk/Common/Util/ShutdownHandler.php b/vendor/open-telemetry/sdk/Common/Util/ShutdownHandler.php
deleted file mode 100644
index 2de6d47df..000000000
--- a/vendor/open-telemetry/sdk/Common/Util/ShutdownHandler.php
+++ /dev/null
@@ -1,82 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Common\Util;
-
-use function array_key_last;
-use ArrayAccess;
-use Closure;
-use function register_shutdown_function;
-
-final class ShutdownHandler
-{
- /** @var array<int, Closure>|null */
- private static ?array $handlers = null;
- /** @var ArrayAccess<object, self>|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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Common\Util;
-
-use ArrayAccess;
-use function assert;
-use function class_exists;
-use function count;
-use Countable;
-use Error;
-use function get_class;
-use function is_object;
-use IteratorAggregate;
-use const PHP_VERSION_ID;
-use function spl_object_id;
-use function sprintf;
-use Traversable;
-use TypeError;
-use WeakReference;
-
-/**
- * @internal
- */
-final class WeakMap implements ArrayAccess, Countable, IteratorAggregate
-{
- private const KEY = '__otel_weak_map';
-
- /**
- * @var array<int, WeakReference>
- */
- 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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Common\Util;
-
-use Closure;
-use function get_class;
-use ReflectionFunction;
-use stdClass;
-use WeakReference;
-
-/**
- * @internal
- */
-function closure(callable $callable): Closure
-{
- return Closure::fromCallable($callable);
-}
-
-/**
- * @internal
- * @see https://github.com/amphp/amp/blob/f682341c856b1f688026f787bef4f77eaa5c7970/src/functions.php#L140-L191
- */
-function weaken(Closure $closure, ?object &$target = null): Closure
-{
- $reflection = new ReflectionFunction($closure);
- if (!$target = $reflection->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Logs\Exporter;
-
-use OpenTelemetry\SDK\Common\Export\TransportInterface;
-use OpenTelemetry\SDK\Common\Future\CancellationInterface;
-use OpenTelemetry\SDK\Common\Future\CompletedFuture;
-use OpenTelemetry\SDK\Common\Future\FutureInterface;
-use OpenTelemetry\SDK\Common\Instrumentation\InstrumentationScopeInterface;
-use OpenTelemetry\SDK\Logs\LogRecordExporterInterface;
-use OpenTelemetry\SDK\Logs\ReadableLogRecord;
-use OpenTelemetry\SDK\Resource\ResourceInfo;
-
-/**
- * A JSON console exporter for LogRecords. This is only useful for testing; the
- * output is human-readable, and is not compatible with the OTLP format.
- */
-class ConsoleExporter implements LogRecordExporterInterface
-{
- private TransportInterface $transport;
-
- public function __construct(TransportInterface $transport)
- {
- $this->transport = $transport;
- }
-
- /**
- * @param iterable<mixed, ReadableLogRecord> $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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Logs\Exporter;
-
-use OpenTelemetry\SDK\Logs\LogRecordExporterFactoryInterface;
-use OpenTelemetry\SDK\Logs\LogRecordExporterInterface;
-use OpenTelemetry\SDK\Registry;
-
-class ConsoleExporterFactory implements LogRecordExporterFactoryInterface
-{
- public function create(): LogRecordExporterInterface
- {
- $transport = Registry::transportFactory('stream')->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Logs\Exporter;
-
-use ArrayObject;
-use OpenTelemetry\SDK\Common\Future\CancellationInterface;
-use OpenTelemetry\SDK\Common\Future\CompletedFuture;
-use OpenTelemetry\SDK\Common\Future\FutureInterface;
-use OpenTelemetry\SDK\Logs\LogRecordExporterInterface;
-
-class InMemoryExporter implements LogRecordExporterInterface
-{
- private ArrayObject $storage;
-
- public function __construct(?ArrayObject $storage = null)
- {
- $this->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Logs\Exporter;
-
-use OpenTelemetry\SDK\Logs\LogRecordExporterFactoryInterface;
-use OpenTelemetry\SDK\Logs\LogRecordExporterInterface;
-
-class InMemoryExporterFactory implements LogRecordExporterFactoryInterface
-{
- public function create(): LogRecordExporterInterface
- {
- return new InMemoryExporter();
- }
-}
diff --git a/vendor/open-telemetry/sdk/Logs/Exporter/NoopExporter.php b/vendor/open-telemetry/sdk/Logs/Exporter/NoopExporter.php
deleted file mode 100644
index 8eeff62bd..000000000
--- a/vendor/open-telemetry/sdk/Logs/Exporter/NoopExporter.php
+++ /dev/null
@@ -1,28 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Logs\Exporter;
-
-use OpenTelemetry\SDK\Common\Future\CancellationInterface;
-use OpenTelemetry\SDK\Common\Future\CompletedFuture;
-use OpenTelemetry\SDK\Common\Future\FutureInterface;
-use OpenTelemetry\SDK\Logs\LogRecordExporterInterface;
-
-class NoopExporter implements LogRecordExporterInterface
-{
- public function export(iterable $batch, ?CancellationInterface $cancellation = null): FutureInterface
- {
- return new CompletedFuture(true);
- }
-
- public function forceFlush(?CancellationInterface $cancellation = null): bool
- {
- return true;
- }
-
- public function shutdown(?CancellationInterface $cancellation = null): bool
- {
- return true;
- }
-}
diff --git a/vendor/open-telemetry/sdk/Logs/Exporter/_register.php b/vendor/open-telemetry/sdk/Logs/Exporter/_register.php
deleted file mode 100644
index 96958baa8..000000000
--- a/vendor/open-telemetry/sdk/Logs/Exporter/_register.php
+++ /dev/null
@@ -1,6 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-\OpenTelemetry\SDK\Registry::registerLogRecordExporterFactory('console', \OpenTelemetry\SDK\Logs\Exporter\ConsoleExporterFactory::class);
-\OpenTelemetry\SDK\Registry::registerLogRecordExporterFactory('memory', \OpenTelemetry\SDK\Logs\Exporter\InMemoryExporterFactory::class);
diff --git a/vendor/open-telemetry/sdk/Logs/ExporterFactory.php b/vendor/open-telemetry/sdk/Logs/ExporterFactory.php
deleted file mode 100644
index 2a560ae95..000000000
--- a/vendor/open-telemetry/sdk/Logs/ExporterFactory.php
+++ /dev/null
@@ -1,29 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Logs;
-
-use InvalidArgumentException;
-use OpenTelemetry\SDK\Common\Configuration\Configuration;
-use OpenTelemetry\SDK\Common\Configuration\Variables;
-use OpenTelemetry\SDK\Logs\Exporter\NoopExporter;
-use OpenTelemetry\SDK\Registry;
-
-class ExporterFactory
-{
- public function create(): LogRecordExporterInterface
- {
- $exporters = Configuration::getList(Variables::OTEL_LOGS_EXPORTER);
- if (1 !== count($exporters)) {
- throw new InvalidArgumentException(sprintf('Configuration %s requires exactly 1 exporter', Variables::OTEL_TRACES_EXPORTER));
- }
- $exporter = $exporters[0];
- if ($exporter === 'none') {
- return new NoopExporter();
- }
- $factory = Registry::logRecordExporterFactory($exporter);
-
- return $factory->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Logs;
-
-interface LogRecordExporterFactoryInterface
-{
- public function create(): LogRecordExporterInterface;
-}
diff --git a/vendor/open-telemetry/sdk/Logs/LogRecordExporterInterface.php b/vendor/open-telemetry/sdk/Logs/LogRecordExporterInterface.php
deleted file mode 100644
index cf9e1aca8..000000000
--- a/vendor/open-telemetry/sdk/Logs/LogRecordExporterInterface.php
+++ /dev/null
@@ -1,18 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Logs;
-
-use OpenTelemetry\SDK\Common\Future\CancellationInterface;
-use OpenTelemetry\SDK\Common\Future\FutureInterface;
-
-interface LogRecordExporterInterface
-{
- /**
- * @param iterable<ReadableLogRecord> $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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Logs;
-
-use OpenTelemetry\SDK\Common\Attribute\AttributesFactoryInterface;
-
-/**
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/logs/sdk.md#logrecord-limits
- */
-class LogRecordLimits
-{
- private AttributesFactoryInterface $attributesFactory;
-
- /**
- * @internal Use {@see SpanLimitsBuilder} to create {@see SpanLimits} instance.
- */
- public function __construct(
- AttributesFactoryInterface $attributesFactory
- ) {
- $this->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Logs;
-
-use OpenTelemetry\SDK\Common\Attribute\Attributes;
-use OpenTelemetry\SDK\Common\Configuration\Configuration;
-use OpenTelemetry\SDK\Common\Configuration\Variables;
-use const PHP_INT_MAX;
-
-class LogRecordLimitsBuilder
-{
- /** @var ?int Maximum allowed attribute count per record */
- private ?int $attributeCountLimit = null;
-
- /** @var ?int Maximum allowed attribute value length */
- private ?int $attributeValueLengthLimit = null;
-
- /**
- * @param int $attributeCountLimit Maximum allowed attribute count per record
- */
- public function setAttributeCountLimit(int $attributeCountLimit): LogRecordLimitsBuilder
- {
- $this->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Logs;
-
-use InvalidArgumentException;
-use OpenTelemetry\API\Metrics\MeterProviderInterface;
-use OpenTelemetry\SDK\Common\Configuration\Configuration;
-use OpenTelemetry\SDK\Common\Configuration\KnownValues;
-use OpenTelemetry\SDK\Common\Configuration\KnownValues as Values;
-use OpenTelemetry\SDK\Common\Configuration\Variables;
-use OpenTelemetry\SDK\Common\Time\ClockFactory;
-use OpenTelemetry\SDK\Logs\Processor\BatchLogRecordProcessor;
-use OpenTelemetry\SDK\Logs\Processor\MultiLogRecordProcessor;
-use OpenTelemetry\SDK\Logs\Processor\NoopLogRecordProcessor;
-use OpenTelemetry\SDK\Logs\Processor\SimpleLogRecordProcessor;
-
-class LogRecordProcessorFactory
-{
- public function create(LogRecordExporterInterface $exporter, ?MeterProviderInterface $meterProvider = null): LogRecordProcessorInterface
- {
- $processors = [];
- $list = Configuration::getList(Variables::OTEL_PHP_LOGS_PROCESSOR);
- foreach ($list as $name) {
- $processors[] = $this->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Logs;
-
-use OpenTelemetry\Context\ContextInterface;
-use OpenTelemetry\SDK\Common\Future\CancellationInterface;
-
-interface LogRecordProcessorInterface
-{
- public function onEmit(ReadWriteLogRecord $record, ?ContextInterface $context = null): void;
- public function shutdown(?CancellationInterface $cancellation = null): bool;
- public function forceFlush(?CancellationInterface $cancellation = null): bool;
-}
diff --git a/vendor/open-telemetry/sdk/Logs/Logger.php b/vendor/open-telemetry/sdk/Logs/Logger.php
deleted file mode 100644
index 0b8db152d..000000000
--- a/vendor/open-telemetry/sdk/Logs/Logger.php
+++ /dev/null
@@ -1,37 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Logs;
-
-use OpenTelemetry\API\Logs\LoggerInterface;
-use OpenTelemetry\API\Logs\LogRecord;
-use OpenTelemetry\SDK\Common\Instrumentation\InstrumentationScopeInterface;
-
-/**
- * Note that this logger class is deliberately NOT psr-3 compatible, per spec: "Note: this document defines a log
- * backend API. The API is not intended to be called by application developers directly."
- *
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/logs/bridge-api.md
- */
-class Logger implements LoggerInterface
-{
- private InstrumentationScopeInterface $scope;
- private LoggerSharedState $loggerSharedState;
-
- public function __construct(LoggerSharedState $loggerSharedState, InstrumentationScopeInterface $scope)
- {
- $this->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Logs;
-
-use OpenTelemetry\API\Logs\LoggerInterface;
-use OpenTelemetry\API\Logs\NoopLogger;
-use OpenTelemetry\SDK\Common\Future\CancellationInterface;
-use OpenTelemetry\SDK\Common\Instrumentation\InstrumentationScopeFactoryInterface;
-use OpenTelemetry\SDK\Resource\ResourceInfo;
-use OpenTelemetry\SDK\Resource\ResourceInfoFactory;
-
-class LoggerProvider implements LoggerProviderInterface
-{
- private LoggerSharedState $loggerSharedState;
- private InstrumentationScopeFactoryInterface $instrumentationScopeFactory;
-
- public function __construct(LogRecordProcessorInterface $processor, InstrumentationScopeFactoryInterface $instrumentationScopeFactory, ?ResourceInfo $resource = null)
- {
- $this->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Logs;
-
-use OpenTelemetry\SDK\Common\Attribute\Attributes;
-use OpenTelemetry\SDK\Common\Instrumentation\InstrumentationScopeFactory;
-use OpenTelemetry\SDK\Logs\Processor\MultiLogRecordProcessor;
-use OpenTelemetry\SDK\Logs\Processor\NoopLogRecordProcessor;
-use OpenTelemetry\SDK\Resource\ResourceInfo;
-
-class LoggerProviderBuilder
-{
- /**
- * @var array<LogRecordProcessorInterface>
- */
- 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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Logs;
-
-use OpenTelemetry\SDK\Common\Instrumentation\InstrumentationScopeFactory;
-use OpenTelemetry\SDK\Metrics\MeterProviderInterface;
-use OpenTelemetry\SDK\Sdk;
-
-class LoggerProviderFactory
-{
- public function create(?MeterProviderInterface $meterProvider = null): LoggerProviderInterface
- {
- if (Sdk::isDisabled()) {
- return NoopLoggerProvider::getInstance();
- }
- $exporter = (new ExporterFactory())->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Logs;
-
-use OpenTelemetry\API\Logs as API;
-
-interface LoggerProviderInterface extends API\LoggerProviderInterface
-{
- public function shutdown(): bool;
- public function forceFlush(): bool;
-}
diff --git a/vendor/open-telemetry/sdk/Logs/LoggerSharedState.php b/vendor/open-telemetry/sdk/Logs/LoggerSharedState.php
deleted file mode 100644
index aeeb45518..000000000
--- a/vendor/open-telemetry/sdk/Logs/LoggerSharedState.php
+++ /dev/null
@@ -1,60 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Logs;
-
-use OpenTelemetry\SDK\Common\Future\CancellationInterface;
-use OpenTelemetry\SDK\Resource\ResourceInfo;
-
-class LoggerSharedState
-{
- private ResourceInfo $resource;
- private LogRecordProcessorInterface $processor;
- private LogRecordLimits $limits;
- private ?bool $shutdownResult = null;
-
- public function __construct(
- ResourceInfo $resource,
- LogRecordLimits $limits,
- LogRecordProcessorInterface $processor
- ) {
- $this->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Logs;
-
-use OpenTelemetry\API\Logs\LoggerInterface;
-use OpenTelemetry\API\Logs\NoopLogger;
-
-class NoopLoggerProvider implements LoggerProviderInterface
-{
- public static function getInstance(): self
- {
- static $instance;
-
- return $instance ??= new self();
- }
-
- public function getLogger(string $name, ?string $version = null, ?string $schemaUrl = null, iterable $attributes = []): LoggerInterface
- {
- return NoopLogger::getInstance();
- }
-
- public function shutdown(): bool
- {
- return true;
- }
-
- public function forceFlush(): bool
- {
- return true;
- }
-}
diff --git a/vendor/open-telemetry/sdk/Logs/Processor/BatchLogRecordProcessor.php b/vendor/open-telemetry/sdk/Logs/Processor/BatchLogRecordProcessor.php
deleted file mode 100644
index fc6faca54..000000000
--- a/vendor/open-telemetry/sdk/Logs/Processor/BatchLogRecordProcessor.php
+++ /dev/null
@@ -1,273 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Logs\Processor;
-
-use InvalidArgumentException;
-use OpenTelemetry\API\Behavior\LogsMessagesTrait;
-use OpenTelemetry\API\Metrics\MeterProviderInterface;
-use OpenTelemetry\API\Metrics\ObserverInterface;
-use OpenTelemetry\Context\Context;
-use OpenTelemetry\Context\ContextInterface;
-use OpenTelemetry\SDK\Common\Future\CancellationInterface;
-use OpenTelemetry\SDK\Common\Time\ClockInterface;
-use OpenTelemetry\SDK\Logs\LogRecordExporterInterface;
-use OpenTelemetry\SDK\Logs\LogRecordProcessorInterface;
-use OpenTelemetry\SDK\Logs\ReadWriteLogRecord;
-use SplQueue;
-use Throwable;
-
-class BatchLogRecordProcessor implements LogRecordProcessorInterface
-{
- use LogsMessagesTrait;
-
- public const DEFAULT_SCHEDULE_DELAY = 1000;
- public const DEFAULT_EXPORT_TIMEOUT = 30000;
- public const DEFAULT_MAX_QUEUE_SIZE = 2048;
- public const DEFAULT_MAX_EXPORT_BATCH_SIZE = 512;
-
- private const ATTRIBUTES_PROCESSOR = ['processor' => '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<ReadWriteLogRecord> */
- private array $batch = [];
- /** @var SplQueue<list<ReadWriteLogRecord>> */
- private SplQueue $queue;
- /** @var SplQueue<array{int, string, ?CancellationInterface, bool, ContextInterface}> */
- 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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Logs\Processor;
-
-use OpenTelemetry\Context\ContextInterface;
-use OpenTelemetry\SDK\Common\Future\CancellationInterface;
-use OpenTelemetry\SDK\Logs\LogRecordProcessorInterface;
-use OpenTelemetry\SDK\Logs\ReadWriteLogRecord;
-
-class MultiLogRecordProcessor implements LogRecordProcessorInterface
-{
- // @var LogRecordProcessorInterface[]
- private array $processors = [];
-
- public function __construct(array $processors)
- {
- foreach ($processors as $processor) {
- assert($processor instanceof LogRecordProcessorInterface);
- $this->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Logs\Processor;
-
-use OpenTelemetry\Context\ContextInterface;
-use OpenTelemetry\SDK\Common\Future\CancellationInterface;
-use OpenTelemetry\SDK\Logs\LogRecordProcessorInterface;
-use OpenTelemetry\SDK\Logs\ReadWriteLogRecord;
-
-class NoopLogRecordProcessor implements LogRecordProcessorInterface
-{
- public static function getInstance(): self
- {
- static $instance;
-
- return $instance ??= new self();
- }
-
- /**
- * @codeCoverageIgnore
- */
- public function onEmit(ReadWriteLogRecord $record, ?ContextInterface $context = null): void
- {
- }
-
- public function shutdown(?CancellationInterface $cancellation = null): bool
- {
- return true;
- }
-
- public function forceFlush(?CancellationInterface $cancellation = null): bool
- {
- return true;
- }
-}
diff --git a/vendor/open-telemetry/sdk/Logs/Processor/SimpleLogRecordProcessor.php b/vendor/open-telemetry/sdk/Logs/Processor/SimpleLogRecordProcessor.php
deleted file mode 100644
index f26f6607c..000000000
--- a/vendor/open-telemetry/sdk/Logs/Processor/SimpleLogRecordProcessor.php
+++ /dev/null
@@ -1,38 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Logs\Processor;
-
-use OpenTelemetry\Context\ContextInterface;
-use OpenTelemetry\SDK\Common\Future\CancellationInterface;
-use OpenTelemetry\SDK\Logs\LogRecordExporterInterface;
-use OpenTelemetry\SDK\Logs\LogRecordProcessorInterface;
-use OpenTelemetry\SDK\Logs\ReadWriteLogRecord;
-
-class SimpleLogRecordProcessor implements LogRecordProcessorInterface
-{
- private LogRecordExporterInterface $exporter;
- public function __construct(LogRecordExporterInterface $exporter)
- {
- $this->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Logs;
-
-use Psr\Log\LogLevel as PsrLogLevel;
-
-interface PsrSeverityMapperInterface
-{
- /**
- * Severity code according to rfc5424 (Syslog Protocol)
- * @see : https://datatracker.ietf.org/doc/html/rfc5424#page-10
- */
- public const RFC_CODE = [
- // Detailed debug information.
- PsrLogLevel::DEBUG => 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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Logs;
-
-class ReadWriteLogRecord extends ReadableLogRecord
-{
-}
diff --git a/vendor/open-telemetry/sdk/Logs/ReadableLogRecord.php b/vendor/open-telemetry/sdk/Logs/ReadableLogRecord.php
deleted file mode 100644
index 5c6531477..000000000
--- a/vendor/open-telemetry/sdk/Logs/ReadableLogRecord.php
+++ /dev/null
@@ -1,103 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Logs;
-
-use OpenTelemetry\API\Logs\LogRecord;
-use OpenTelemetry\API\Trace\Span;
-use OpenTelemetry\API\Trace\SpanContextInterface;
-use OpenTelemetry\Context\Context;
-use OpenTelemetry\Context\ContextInterface;
-use OpenTelemetry\SDK\Common\Attribute\AttributesInterface;
-use OpenTelemetry\SDK\Common\Attribute\LogRecordAttributeValidator;
-use OpenTelemetry\SDK\Common\Instrumentation\InstrumentationScopeInterface;
-use OpenTelemetry\SDK\Resource\ResourceInfo;
-
-/**
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/logs/data-model.md#log-and-event-record-definition
- * "Note: Typically this will be implemented with a new interface or (immutable) value type."
- */
-class ReadableLogRecord extends LogRecord
-{
- private InstrumentationScopeInterface $scope;
- private LoggerSharedState $loggerSharedState;
- protected AttributesInterface $convertedAttributes;
- protected SpanContextInterface $spanContext;
-
- public function __construct(InstrumentationScopeInterface $scope, LoggerSharedState $loggerSharedState, LogRecord $logRecord)
- {
- $this->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Logs;
-
-use Psr\Log\InvalidArgumentException;
-use Psr\Log\LoggerInterface;
-use Psr\Log\LoggerTrait;
-use Psr\Log\LogLevel;
-use ReflectionClass;
-use Throwable;
-
-class SimplePsrFileLogger implements LoggerInterface
-{
- use LoggerTrait;
-
- private const DEFAULT_LOGGER_NAME = 'otel';
-
- private static ?array $logLevels = null;
-
- private string $filename;
-
- private string $loggerName ;
-
- /**
- * @param string $filename
- */
- public function __construct(string $filename, string $loggerName = self::DEFAULT_LOGGER_NAME)
- {
- $this->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics\Aggregation;
-
-use function array_fill;
-use function count;
-use const INF;
-use const NAN;
-use OpenTelemetry\Context\ContextInterface;
-use OpenTelemetry\SDK\Common\Attribute\AttributesInterface;
-use OpenTelemetry\SDK\Metrics\AggregationInterface;
-use OpenTelemetry\SDK\Metrics\Data;
-
-/**
- * @implements AggregationInterface<ExplicitBucketHistogramSummary>
- */
-final class ExplicitBucketHistogramAggregation implements AggregationInterface
-{
- /**
- * @var list<float|int>
- * @readonly
- */
- public array $boundaries;
-
- /**
- * @param list<float|int> $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<ExplicitBucketHistogramSummary> $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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics\Aggregation;
-
-final class ExplicitBucketHistogramSummary
-{
- public int $count;
- /**
- * @var float|int
- */
- public $sum;
- /**
- * @var float|int
- */
- public $min;
- /**
- * @var float|int
- */
- public $max;
- /**
- * @var int[]
- */
- public array $buckets;
- /**
- * @param float|int $sum
- * @param float|int $min
- * @param float|int $max
- * @param int[] $buckets
- */
- public function __construct(int $count, $sum, $min, $max, array $buckets)
- {
- $this->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics\Aggregation;
-
-use OpenTelemetry\Context\ContextInterface;
-use OpenTelemetry\SDK\Common\Attribute\AttributesInterface;
-use OpenTelemetry\SDK\Metrics\AggregationInterface;
-use OpenTelemetry\SDK\Metrics\Data;
-
-/**
- * @implements AggregationInterface<LastValueSummary>
- */
-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<LastValueSummary> $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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics\Aggregation;
-
-final class LastValueSummary
-{
- /**
- * @var float|int|null
- */
- public $value;
- public int $timestamp;
- /**
- * @param float|int|null $value
- */
- public function __construct($value, int $timestamp)
- {
- $this->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics\Aggregation;
-
-use OpenTelemetry\Context\ContextInterface;
-use OpenTelemetry\SDK\Common\Attribute\AttributesInterface;
-use OpenTelemetry\SDK\Metrics\AggregationInterface;
-use OpenTelemetry\SDK\Metrics\Data;
-
-/**
- * @implements AggregationInterface<SumSummary>
- */
-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<SumSummary> $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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics\Aggregation;
-
-final class SumSummary
-{
- /**
- * @var float|int
- */
- public $value;
- /**
- * @param float|int $value
- */
- public function __construct($value)
- {
- $this->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics;
-
-use OpenTelemetry\Context\ContextInterface;
-use OpenTelemetry\SDK\Common\Attribute\AttributesInterface;
-use OpenTelemetry\SDK\Metrics\Data\DataInterface;
-use OpenTelemetry\SDK\Metrics\Data\Exemplar;
-use OpenTelemetry\SDK\Metrics\Data\Temporality;
-
-/**
- * @psalm-template T
- */
-interface AggregationInterface
-{
- /**
- * @psalm-return T
- */
- public function initialize();
-
- /**
- * @psalm-param T $summary
- * @psalm-param float|int $value
- */
- public function record($summary, $value, AttributesInterface $attributes, ContextInterface $context, int $timestamp): void;
-
- /**
- * @psalm-param T $left
- * @psalm-param T $right
- * @psalm-return T
- */
- public function merge($left, $right);
-
- /**
- * @psalm-param T $left
- * @psalm-param T $right
- * @psalm-return T
- */
- public function diff($left, $right);
-
- /**
- * @param array<AttributesInterface> $attributes
- * @psalm-param array<T> $summaries
- * @param array<list<Exemplar>> $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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics;
-
-use OpenTelemetry\SDK\Metrics\Data\Temporality;
-
-interface AggregationTemporalitySelectorInterface
-{
- /**
- * Returns the temporality to use for the given metric.
- *
- * It is recommended to return {@see MetricMetadataInterface::temporality()}
- * if the exporter does not require a specific temporality.
- *
- * @return string|Temporality|null temporality to use, or null to signal
- * that the given metric should not be exported by this exporter
- */
- public function temporality(MetricMetadataInterface $metric);
-}
diff --git a/vendor/open-telemetry/sdk/Metrics/AttributeProcessor/FilteredAttributeProcessor.php b/vendor/open-telemetry/sdk/Metrics/AttributeProcessor/FilteredAttributeProcessor.php
deleted file mode 100644
index c4df8e878..000000000
--- a/vendor/open-telemetry/sdk/Metrics/AttributeProcessor/FilteredAttributeProcessor.php
+++ /dev/null
@@ -1,33 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics\AttributeProcessor;
-
-use OpenTelemetry\Context\ContextInterface;
-use OpenTelemetry\SDK\Common\Attribute\Attributes;
-use OpenTelemetry\SDK\Common\Attribute\AttributesInterface;
-use OpenTelemetry\SDK\Metrics\AttributeProcessorInterface;
-
-/**
- * @internal
- */
-final class FilteredAttributeProcessor implements AttributeProcessorInterface
-{
- private array $attributeKeys;
-
- public function __construct(array $attributeKeys)
- {
- $this->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics\AttributeProcessor;
-
-use OpenTelemetry\Context\ContextInterface;
-use OpenTelemetry\SDK\Common\Attribute\AttributesInterface;
-use OpenTelemetry\SDK\Metrics\AttributeProcessorInterface;
-
-/**
- * @internal
- */
-final class IdentityAttributeProcessor implements AttributeProcessorInterface
-{
- public function process(AttributesInterface $attributes, ContextInterface $context): AttributesInterface
- {
- return $attributes;
- }
-}
diff --git a/vendor/open-telemetry/sdk/Metrics/AttributeProcessorInterface.php b/vendor/open-telemetry/sdk/Metrics/AttributeProcessorInterface.php
deleted file mode 100644
index d2077aa39..000000000
--- a/vendor/open-telemetry/sdk/Metrics/AttributeProcessorInterface.php
+++ /dev/null
@@ -1,16 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics;
-
-use OpenTelemetry\Context\ContextInterface;
-use OpenTelemetry\SDK\Common\Attribute\AttributesInterface;
-
-/**
- * @internal
- */
-interface AttributeProcessorInterface
-{
- public function process(AttributesInterface $attributes, ContextInterface $context): AttributesInterface;
-}
diff --git a/vendor/open-telemetry/sdk/Metrics/Counter.php b/vendor/open-telemetry/sdk/Metrics/Counter.php
deleted file mode 100644
index 9cc6b75f9..000000000
--- a/vendor/open-telemetry/sdk/Metrics/Counter.php
+++ /dev/null
@@ -1,37 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics;
-
-use OpenTelemetry\API\Metrics\CounterInterface;
-use OpenTelemetry\SDK\Metrics\MetricRegistry\MetricWriterInterface;
-
-/**
- * @internal
- */
-final class Counter implements CounterInterface
-{
- private MetricWriterInterface $writer;
- private Instrument $instrument;
- private ReferenceCounterInterface $referenceCounter;
-
- public function __construct(MetricWriterInterface $writer, Instrument $instrument, ReferenceCounterInterface $referenceCounter)
- {
- $this->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics\Data;
-
-interface DataInterface
-{
-}
diff --git a/vendor/open-telemetry/sdk/Metrics/Data/Exemplar.php b/vendor/open-telemetry/sdk/Metrics/Data/Exemplar.php
deleted file mode 100644
index bd2034f75..000000000
--- a/vendor/open-telemetry/sdk/Metrics/Data/Exemplar.php
+++ /dev/null
@@ -1,65 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics\Data;
-
-use OpenTelemetry\SDK\Common\Attribute\AttributesInterface;
-
-final class Exemplar
-{
-
- /**
- * @var int|string
- */
- private $index;
- /**
- * @var float|int
- * @readonly
- */
- public $value;
- /**
- * @readonly
- */
- public int $timestamp;
- /**
- * @readonly
- */
- public AttributesInterface $attributes;
- /**
- * @readonly
- */
- public ?string $traceId;
- /**
- * @readonly
- */
- public ?string $spanId;
-
- /**
- * @param int|string $index
- * @param float|int $value
- */
- public function __construct($index, $value, int $timestamp, AttributesInterface $attributes, ?string $traceId, ?string $spanId)
- {
- $this->index = $index;
- $this->value = $value;
- $this->timestamp = $timestamp;
- $this->attributes = $attributes;
- $this->traceId = $traceId;
- $this->spanId = $spanId;
- }
-
- /**
- * @param iterable<Exemplar> $exemplars
- * @return array<list<Exemplar>>
- */
- 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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics\Data;
-
-final class Gauge implements DataInterface
-{
-
- /**
- * @var iterable<NumberDataPoint>
- * @readonly
- */
- public iterable $dataPoints;
- /**
- * @param iterable<NumberDataPoint> $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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics\Data;
-
-final class Histogram implements DataInterface
-{
-
- /**
- * @var iterable<HistogramDataPoint>
- * @readonly
- */
- public iterable $dataPoints;
- /**
- * @var string|Temporality
- * @readonly
- */
- public $temporality;
- /**
- * @param iterable<HistogramDataPoint> $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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics\Data;
-
-use OpenTelemetry\SDK\Common\Attribute\AttributesInterface;
-
-final class HistogramDataPoint
-{
- /**
- * @readonly
- */
- public int $count;
- /**
- * @var float|int
- * @readonly
- */
- public $sum;
- /**
- * @var float|int
- * @readonly
- */
- public $min;
- /**
- * @var float|int
- * @readonly
- */
- public $max;
- /**
- * @var int[]
- * @readonly
- */
- public array $bucketCounts;
- /**
- * @var list<float|int>
- * @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<float|int> $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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics\Data;
-
-use OpenTelemetry\SDK\Common\Instrumentation\InstrumentationScopeInterface;
-use OpenTelemetry\SDK\Resource\ResourceInfo;
-
-final class Metric
-{
- /**
- * @readonly
- */
- public InstrumentationScopeInterface $instrumentationScope;
- /**
- * @readonly
- */
- public ResourceInfo $resource;
- /**
- * @readonly
- */
- public string $name;
- /**
- * @readonly
- */
- public ?string $description;
- /**
- * @readonly
- */
- public ?string $unit;
- /**
- * @readonly
- */
- public DataInterface $data;
-
- public function __construct(InstrumentationScopeInterface $instrumentationScope, ResourceInfo $resource, string $name, ?string $unit, ?string $description, DataInterface $data)
- {
- $this->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics\Data;
-
-use OpenTelemetry\SDK\Common\Attribute\AttributesInterface;
-
-final class NumberDataPoint
-{
- /**
- * @var float|int
- * @readonly
- */
- public $value;
- /**
- * @readonly
- */
- public AttributesInterface $attributes;
- /**
- * @readonly
- */
- public int $startTimestamp;
- /**
- * @readonly
- */
- public int $timestamp;
- /**
- * @readonly
- */
- public iterable $exemplars = [];
- /**
- * @param float|int $value
- */
- public function __construct($value, AttributesInterface $attributes, int $startTimestamp, int $timestamp, iterable $exemplars = [])
- {
- $this->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics\Data;
-
-final class Sum implements DataInterface
-{
-
- /**
- * @var iterable<NumberDataPoint>
- * @readonly
- */
- public iterable $dataPoints;
- /**
- * @var string|Temporality
- * @readonly
- */
- public $temporality;
- /**
- * @readonly
- */
- public bool $monotonic;
- /**
- * @param iterable<NumberDataPoint> $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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics\Data;
-
-/**
- * Metric aggregation temporality.
- *
- * Has to be type-hinted as `string|Temporality` to be forward compatible.
- */
-final class Temporality
-{
- public const DELTA = 'Delta';
- public const CUMULATIVE = 'Cumulative';
-
- private function __construct()
- {
- }
-}
diff --git a/vendor/open-telemetry/sdk/Metrics/DefaultAggregationProviderInterface.php b/vendor/open-telemetry/sdk/Metrics/DefaultAggregationProviderInterface.php
deleted file mode 100644
index e5c2fcc0c..000000000
--- a/vendor/open-telemetry/sdk/Metrics/DefaultAggregationProviderInterface.php
+++ /dev/null
@@ -1,13 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics;
-
-interface DefaultAggregationProviderInterface
-{
- /**
- * @param string|InstrumentType $instrumentType
- */
- public function defaultAggregation($instrumentType): ?AggregationInterface;
-}
diff --git a/vendor/open-telemetry/sdk/Metrics/DefaultAggregationProviderTrait.php b/vendor/open-telemetry/sdk/Metrics/DefaultAggregationProviderTrait.php
deleted file mode 100644
index 37c5cb110..000000000
--- a/vendor/open-telemetry/sdk/Metrics/DefaultAggregationProviderTrait.php
+++ /dev/null
@@ -1,28 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics;
-
-trait DefaultAggregationProviderTrait
-{
- public function defaultAggregation($instrumentType): ?AggregationInterface
- {
- switch ($instrumentType) {
- case InstrumentType::COUNTER:
- case InstrumentType::ASYNCHRONOUS_COUNTER:
- return new Aggregation\SumAggregation(true);
- case InstrumentType::UP_DOWN_COUNTER:
- case InstrumentType::ASYNCHRONOUS_UP_DOWN_COUNTER:
- return new Aggregation\SumAggregation();
- case InstrumentType::HISTOGRAM:
- return new Aggregation\ExplicitBucketHistogramAggregation([0, 5, 10, 25, 50, 75, 100, 250, 500, 1000]);
- case InstrumentType::ASYNCHRONOUS_GAUGE:
- return new Aggregation\LastValueAggregation();
- }
-
- // @codeCoverageIgnoreStart
- return null;
- // @codeCoverageIgnoreEnd
- }
-}
diff --git a/vendor/open-telemetry/sdk/Metrics/Exemplar/BucketEntry.php b/vendor/open-telemetry/sdk/Metrics/Exemplar/BucketEntry.php
deleted file mode 100644
index 3a50430ed..000000000
--- a/vendor/open-telemetry/sdk/Metrics/Exemplar/BucketEntry.php
+++ /dev/null
@@ -1,26 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics\Exemplar;
-
-use OpenTelemetry\SDK\Common\Attribute\AttributesInterface;
-
-/**
- * @internal
- */
-final class BucketEntry
-{
- /**
- * @var int|string
- */
- public $index;
- /**
- * @var float|int
- */
- public $value;
- public int $timestamp;
- public AttributesInterface $attributes;
- public ?string $traceId = null;
- public ?string $spanId = null;
-}
diff --git a/vendor/open-telemetry/sdk/Metrics/Exemplar/BucketStorage.php b/vendor/open-telemetry/sdk/Metrics/Exemplar/BucketStorage.php
deleted file mode 100644
index 574ce92af..000000000
--- a/vendor/open-telemetry/sdk/Metrics/Exemplar/BucketStorage.php
+++ /dev/null
@@ -1,92 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics\Exemplar;
-
-use function array_fill;
-use function assert;
-use function count;
-use OpenTelemetry\API\Trace\Span;
-use OpenTelemetry\Context\ContextInterface;
-use OpenTelemetry\SDK\Common\Attribute\Attributes;
-use OpenTelemetry\SDK\Common\Attribute\AttributesInterface;
-use OpenTelemetry\SDK\Metrics\Data\Exemplar;
-
-/**
- * @internal
- */
-final class BucketStorage
-{
- /** @var array<int, BucketEntry|null> */
- 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<AttributesInterface> $dataPointAttributes
- * @return array<Exemplar>
- */
- 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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics\Exemplar\ExemplarFilter;
-
-use OpenTelemetry\Context\ContextInterface;
-use OpenTelemetry\SDK\Common\Attribute\AttributesInterface;
-use OpenTelemetry\SDK\Metrics\Exemplar\ExemplarFilterInterface;
-
-/**
- * The exemplar spec is not yet stable, and can change at any time.
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/metrics/sdk.md#exemplar
- */
-final class AllExemplarFilter implements ExemplarFilterInterface
-{
- public function accepts($value, AttributesInterface $attributes, ContextInterface $context, int $timestamp): bool
- {
- return true;
- }
-}
diff --git a/vendor/open-telemetry/sdk/Metrics/Exemplar/ExemplarFilter/NoneExemplarFilter.php b/vendor/open-telemetry/sdk/Metrics/Exemplar/ExemplarFilter/NoneExemplarFilter.php
deleted file mode 100644
index 91fdf3b55..000000000
--- a/vendor/open-telemetry/sdk/Metrics/Exemplar/ExemplarFilter/NoneExemplarFilter.php
+++ /dev/null
@@ -1,21 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics\Exemplar\ExemplarFilter;
-
-use OpenTelemetry\Context\ContextInterface;
-use OpenTelemetry\SDK\Common\Attribute\AttributesInterface;
-use OpenTelemetry\SDK\Metrics\Exemplar\ExemplarFilterInterface;
-
-/**
- * The exemplar spec is not yet stable, and can change at any time.
- * see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/metrics/sdk.md#exemplar
- */
-final class NoneExemplarFilter implements ExemplarFilterInterface
-{
- public function accepts($value, AttributesInterface $attributes, ContextInterface $context, int $timestamp): bool
- {
- return false;
- }
-}
diff --git a/vendor/open-telemetry/sdk/Metrics/Exemplar/ExemplarFilter/WithSampledTraceExemplarFilter.php b/vendor/open-telemetry/sdk/Metrics/Exemplar/ExemplarFilter/WithSampledTraceExemplarFilter.php
deleted file mode 100644
index 3e800b416..000000000
--- a/vendor/open-telemetry/sdk/Metrics/Exemplar/ExemplarFilter/WithSampledTraceExemplarFilter.php
+++ /dev/null
@@ -1,22 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics\Exemplar\ExemplarFilter;
-
-use OpenTelemetry\API\Trace\Span;
-use OpenTelemetry\Context\ContextInterface;
-use OpenTelemetry\SDK\Common\Attribute\AttributesInterface;
-use OpenTelemetry\SDK\Metrics\Exemplar\ExemplarFilterInterface;
-
-/**
- * The exemplar spec is not yet stable, and can change at any time.
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/metrics/sdk.md#exemplar
- */
-final class WithSampledTraceExemplarFilter implements ExemplarFilterInterface
-{
- public function accepts($value, AttributesInterface $attributes, ContextInterface $context, int $timestamp): bool
- {
- return Span::fromContext($context)->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics\Exemplar;
-
-use OpenTelemetry\Context\ContextInterface;
-use OpenTelemetry\SDK\Common\Attribute\AttributesInterface;
-
-/**
- * The exemplar spec is not yet stable, and can change at any time.
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/metrics/sdk.md#exemplar
- */
-interface ExemplarFilterInterface
-{
- /**
- * @param float|int $value
- */
- public function accepts($value, AttributesInterface $attributes, ContextInterface $context, int $timestamp): bool;
-}
diff --git a/vendor/open-telemetry/sdk/Metrics/Exemplar/ExemplarReservoirInterface.php b/vendor/open-telemetry/sdk/Metrics/Exemplar/ExemplarReservoirInterface.php
deleted file mode 100644
index 70648b919..000000000
--- a/vendor/open-telemetry/sdk/Metrics/Exemplar/ExemplarReservoirInterface.php
+++ /dev/null
@@ -1,24 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics\Exemplar;
-
-use OpenTelemetry\Context\ContextInterface;
-use OpenTelemetry\SDK\Common\Attribute\AttributesInterface;
-use OpenTelemetry\SDK\Metrics\Data\Exemplar;
-
-interface ExemplarReservoirInterface
-{
- /**
- * @param int|string $index
- * @param float|int $value
- */
- public function offer($index, $value, AttributesInterface $attributes, ContextInterface $context, int $timestamp): void;
-
- /**
- * @param array<AttributesInterface> $dataPointAttributes
- * @return array<Exemplar>
- */
- 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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics\Exemplar;
-
-use OpenTelemetry\Context\ContextInterface;
-use OpenTelemetry\SDK\Common\Attribute\AttributesInterface;
-
-/**
- * The exemplar spec is not yet stable, and can change at any time.
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/metrics/sdk.md#exemplar
- */
-final class FilteredReservoir implements ExemplarReservoirInterface
-{
- private ExemplarReservoirInterface $reservoir;
- private ExemplarFilterInterface $filter;
-
- public function __construct(ExemplarReservoirInterface $reservoir, ExemplarFilterInterface $filter)
- {
- $this->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics\Exemplar;
-
-use OpenTelemetry\Context\ContextInterface;
-use OpenTelemetry\SDK\Common\Attribute\AttributesInterface;
-use function random_int;
-
-final class FixedSizeReservoir implements ExemplarReservoirInterface
-{
- private BucketStorage $storage;
- private int $size;
- private int $measurements = 0;
-
- public function __construct(int $size = 4)
- {
- $this->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics\Exemplar;
-
-use function count;
-use OpenTelemetry\Context\ContextInterface;
-use OpenTelemetry\SDK\Common\Attribute\AttributesInterface;
-
-final class HistogramBucketReservoir implements ExemplarReservoirInterface
-{
- private BucketStorage $storage;
- /**
- * @var list<float|int>
- */
- private array $boundaries;
-
- /**
- * @param list<float|int> $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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics\Exemplar;
-
-use OpenTelemetry\Context\ContextInterface;
-use OpenTelemetry\SDK\Common\Attribute\AttributesInterface;
-
-final class NoopReservoir implements ExemplarReservoirInterface
-{
- public function offer($index, $value, AttributesInterface $attributes, ContextInterface $context, int $timestamp): void
- {
- // no-op
- }
-
- public function collect(array $dataPointAttributes): array
- {
- return [];
- }
-}
diff --git a/vendor/open-telemetry/sdk/Metrics/Histogram.php b/vendor/open-telemetry/sdk/Metrics/Histogram.php
deleted file mode 100644
index 532b1b4bf..000000000
--- a/vendor/open-telemetry/sdk/Metrics/Histogram.php
+++ /dev/null
@@ -1,37 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics;
-
-use OpenTelemetry\API\Metrics\HistogramInterface;
-use OpenTelemetry\SDK\Metrics\MetricRegistry\MetricWriterInterface;
-
-/**
- * @internal
- */
-final class Histogram implements HistogramInterface
-{
- private MetricWriterInterface $writer;
- private Instrument $instrument;
- private ReferenceCounterInterface $referenceCounter;
-
- public function __construct(MetricWriterInterface $writer, Instrument $instrument, ReferenceCounterInterface $referenceCounter)
- {
- $this->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics;
-
-final class Instrument
-{
- /**
- * @var string|InstrumentType
- * @readonly
- */
- public $type;
- /**
- * @readonly
- */
- public string $name;
- /**
- * @readonly
- */
- public ?string $unit;
- /**
- * @readonly
- */
- public ?string $description;
- /**
- * @param string|InstrumentType $type
- */
- public function __construct($type, string $name, ?string $unit, ?string $description)
- {
- $this->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics;
-
-/**
- * Instrument type.
- *
- * Has to be type-hinted as `string|InstrumentType` to be forward compatible.
- */
-final class InstrumentType
-{
- public const COUNTER = 'Counter';
- public const UP_DOWN_COUNTER = 'UpDownCounter';
- public const HISTOGRAM = 'Histogram';
-
- public const ASYNCHRONOUS_COUNTER = 'AsynchronousCounter';
- public const ASYNCHRONOUS_UP_DOWN_COUNTER = 'AsynchronousUpDownCounter';
- public const ASYNCHRONOUS_GAUGE = 'AsynchronousGauge';
-
- private function __construct()
- {
- }
-}
diff --git a/vendor/open-telemetry/sdk/Metrics/Meter.php b/vendor/open-telemetry/sdk/Metrics/Meter.php
deleted file mode 100644
index 902284839..000000000
--- a/vendor/open-telemetry/sdk/Metrics/Meter.php
+++ /dev/null
@@ -1,314 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics;
-
-use ArrayAccess;
-use OpenTelemetry\API\Metrics\CounterInterface;
-use OpenTelemetry\API\Metrics\HistogramInterface;
-use OpenTelemetry\API\Metrics\MeterInterface;
-use OpenTelemetry\API\Metrics\ObservableCounterInterface;
-use OpenTelemetry\API\Metrics\ObservableGaugeInterface;
-use OpenTelemetry\API\Metrics\ObservableUpDownCounterInterface;
-use OpenTelemetry\API\Metrics\UpDownCounterInterface;
-use OpenTelemetry\SDK\Common\Instrumentation\InstrumentationScopeInterface;
-use OpenTelemetry\SDK\Common\Time\ClockInterface;
-use function OpenTelemetry\SDK\Common\Util\closure;
-use OpenTelemetry\SDK\Common\Util\WeakMap;
-use OpenTelemetry\SDK\Metrics\Exemplar\ExemplarFilterInterface;
-use OpenTelemetry\SDK\Metrics\MetricRegistration\MultiRegistryRegistration;
-use OpenTelemetry\SDK\Metrics\MetricRegistration\RegistryRegistration;
-use OpenTelemetry\SDK\Metrics\MetricRegistry\MetricRegistryInterface;
-use OpenTelemetry\SDK\Metrics\MetricRegistry\MetricWriterInterface;
-use OpenTelemetry\SDK\Resource\ResourceInfo;
-use const PHP_VERSION_ID;
-use function serialize;
-
-/**
- * @internal
- */
-final class Meter implements MeterInterface
-{
- private MetricFactoryInterface $metricFactory;
- private ResourceInfo $resource;
- private ClockInterface $clock;
- private StalenessHandlerFactoryInterface $stalenessHandlerFactory;
- /** @var iterable<MetricSourceRegistryInterface&DefaultAggregationProviderInterface> */
- 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<MetricSourceRegistryInterface&DefaultAggregationProviderInterface> $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<object, ObservableCallbackDestructor>}
- */
- 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<object, ObservableCallbackDestructor> $destructors */
- $destructors = WeakMap::create();
-
- return $instruments->observers[$instrumentationScopeId][$instrumentId] = [
- $instrument,
- $stalenessHandler,
- $destructors,
- ];
- }
-
- /**
- * @return iterable<array{ViewProjection, MetricRegistrationInterface}>
- */
- 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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics;
-
-use ArrayAccess;
-
-/**
- * @internal
- */
-final class MeterInstruments
-{
- public ?int $startTimestamp = null;
- /**
- * @var array<string, array<string, array{Instrument, ReferenceCounterInterface, ArrayAccess<object, ObservableCallbackDestructor>}>>
- */
- public array $observers = [];
- /**
- * @var array<string, array<string, array{Instrument, ReferenceCounterInterface}>>
- */
- public array $writers = [];
-
- /**
- * @var list<ArrayAccess<object, ObservableCallbackDestructor>>
- * @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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics;
-
-use OpenTelemetry\API\Metrics\MeterInterface;
-use OpenTelemetry\API\Metrics\Noop\NoopMeter;
-use OpenTelemetry\Context\ContextStorageInterface;
-use OpenTelemetry\SDK\Common\Attribute\AttributesFactoryInterface;
-use OpenTelemetry\SDK\Common\Instrumentation\InstrumentationScopeFactoryInterface;
-use OpenTelemetry\SDK\Common\Time\ClockInterface;
-use OpenTelemetry\SDK\Metrics\Exemplar\ExemplarFilterInterface;
-use OpenTelemetry\SDK\Metrics\MetricFactory\StreamFactory;
-use OpenTelemetry\SDK\Metrics\MetricRegistry\MetricRegistry;
-use OpenTelemetry\SDK\Metrics\MetricRegistry\MetricRegistryInterface;
-use OpenTelemetry\SDK\Metrics\MetricRegistry\MetricWriterInterface;
-use OpenTelemetry\SDK\Resource\ResourceInfo;
-use OpenTelemetry\SDK\Sdk;
-
-final class MeterProvider implements MeterProviderInterface
-{
- private MetricFactoryInterface $metricFactory;
- private ResourceInfo $resource;
- private ClockInterface $clock;
- private InstrumentationScopeFactoryInterface $instrumentationScopeFactory;
- private iterable $metricReaders;
- private ViewRegistryInterface $viewRegistry;
- private ?ExemplarFilterInterface $exemplarFilter;
- private StalenessHandlerFactoryInterface $stalenessHandlerFactory;
- private MeterInstruments $instruments;
- private MetricRegistryInterface $registry;
- private MetricWriterInterface $writer;
-
- private bool $closed = false;
-
- /**
- * @param iterable<MetricReaderInterface&MetricSourceRegistryInterface&DefaultAggregationProviderInterface> $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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics;
-
-use OpenTelemetry\SDK\Common\Attribute\Attributes;
-use OpenTelemetry\SDK\Common\Instrumentation\InstrumentationScopeFactory;
-use OpenTelemetry\SDK\Common\Time\ClockFactory;
-use OpenTelemetry\SDK\Metrics\Exemplar\ExemplarFilter\WithSampledTraceExemplarFilter;
-use OpenTelemetry\SDK\Metrics\Exemplar\ExemplarFilterInterface;
-use OpenTelemetry\SDK\Metrics\StalenessHandler\NoopStalenessHandlerFactory;
-use OpenTelemetry\SDK\Metrics\View\CriteriaViewRegistry;
-use OpenTelemetry\SDK\Resource\ResourceInfo;
-use OpenTelemetry\SDK\Resource\ResourceInfoFactory;
-
-class MeterProviderBuilder
-{
- // @var array<MetricReaderInterface>
- 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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics;
-
-use InvalidArgumentException;
-use OpenTelemetry\API\Behavior\LogsMessagesTrait;
-use OpenTelemetry\SDK\Common\Configuration\Configuration;
-use OpenTelemetry\SDK\Common\Configuration\KnownValues;
-use OpenTelemetry\SDK\Common\Configuration\Variables;
-use OpenTelemetry\SDK\Metrics\Exemplar\ExemplarFilter\AllExemplarFilter;
-use OpenTelemetry\SDK\Metrics\Exemplar\ExemplarFilter\NoneExemplarFilter;
-use OpenTelemetry\SDK\Metrics\Exemplar\ExemplarFilter\WithSampledTraceExemplarFilter;
-use OpenTelemetry\SDK\Metrics\Exemplar\ExemplarFilterInterface;
-use OpenTelemetry\SDK\Metrics\MetricExporter\NoopMetricExporter;
-use OpenTelemetry\SDK\Metrics\MetricReader\ExportingReader;
-use OpenTelemetry\SDK\Registry;
-use OpenTelemetry\SDK\Resource\ResourceInfoFactory;
-use OpenTelemetry\SDK\Sdk;
-
-class MeterProviderFactory
-{
- use LogsMessagesTrait;
-
- /**
- * @todo https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/metrics/sdk_exporters/otlp.md#general
- * - "The exporter MUST configure the default aggregation on the basis of instrument kind using the
- * OTEL_EXPORTER_OTLP_METRICS_DEFAULT_HISTOGRAM_AGGREGATION variable as described below if it is implemented."
- */
- public function create(): MeterProviderInterface
- {
- if (Sdk::isDisabled()) {
- return new NoopMeterProvider();
- }
- $exporters = Configuration::getList(Variables::OTEL_METRICS_EXPORTER);
- //TODO "The SDK MAY accept a comma-separated list to enable setting multiple exporters"
- if (count($exporters) !== 1) {
- throw new InvalidArgumentException(sprintf('Configuration %s requires exactly 1 exporter', Variables::OTEL_METRICS_EXPORTER));
- }
- $exporterName = $exporters[0];
-
- try {
- $factory = Registry::metricExporterFactory($exporterName);
- $exporter = $factory->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics;
-
-interface MeterProviderInterface extends \OpenTelemetry\API\Metrics\MeterProviderInterface
-{
- public function shutdown(): bool;
-
- public function forceFlush(): bool;
-}
diff --git a/vendor/open-telemetry/sdk/Metrics/MetricExporter/ConsoleMetricExporter.php b/vendor/open-telemetry/sdk/Metrics/MetricExporter/ConsoleMetricExporter.php
deleted file mode 100644
index 62ea7b535..000000000
--- a/vendor/open-telemetry/sdk/Metrics/MetricExporter/ConsoleMetricExporter.php
+++ /dev/null
@@ -1,105 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics\MetricExporter;
-
-use OpenTelemetry\SDK\Common\Instrumentation\InstrumentationScopeInterface;
-use OpenTelemetry\SDK\Metrics\AggregationTemporalitySelectorInterface;
-use OpenTelemetry\SDK\Metrics\Data\Metric;
-use OpenTelemetry\SDK\Metrics\Data\Temporality;
-use OpenTelemetry\SDK\Metrics\MetricMetadataInterface;
-use OpenTelemetry\SDK\Metrics\PushMetricExporterInterface;
-use OpenTelemetry\SDK\Resource\ResourceInfo;
-
-/**
- * Console metrics exporter.
- * Note that the output is human-readable JSON, not compatible with OTLP.
- */
-class ConsoleMetricExporter implements PushMetricExporterInterface, AggregationTemporalitySelectorInterface
-{
- /**
- * @var string|Temporality|null
- */
- private $temporality;
-
- /**
- * @param string|Temporality|null $temporality
- */
- public function __construct($temporality = null)
- {
- $this->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics\MetricExporter;
-
-use OpenTelemetry\SDK\Metrics\MetricExporterFactoryInterface;
-use OpenTelemetry\SDK\Metrics\MetricExporterInterface;
-
-class ConsoleMetricExporterFactory implements MetricExporterFactoryInterface
-{
- public function create(): MetricExporterInterface
- {
- return new ConsoleMetricExporter();
- }
-}
diff --git a/vendor/open-telemetry/sdk/Metrics/MetricExporter/InMemoryExporter.php b/vendor/open-telemetry/sdk/Metrics/MetricExporter/InMemoryExporter.php
deleted file mode 100644
index 6bbab8b79..000000000
--- a/vendor/open-telemetry/sdk/Metrics/MetricExporter/InMemoryExporter.php
+++ /dev/null
@@ -1,78 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics\MetricExporter;
-
-use function array_push;
-use OpenTelemetry\SDK\Metrics\AggregationTemporalitySelectorInterface;
-use OpenTelemetry\SDK\Metrics\Data\Metric;
-use OpenTelemetry\SDK\Metrics\Data\Temporality;
-use OpenTelemetry\SDK\Metrics\MetricExporterInterface;
-use OpenTelemetry\SDK\Metrics\MetricMetadataInterface;
-
-/**
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/metrics/sdk_exporters/in-memory.md
- */
-final class InMemoryExporter implements MetricExporterInterface, AggregationTemporalitySelectorInterface
-{
- /**
- * @var list<Metric>
- */
- 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<Metric>
- */
- 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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics\MetricExporter;
-
-use OpenTelemetry\SDK\Metrics\MetricExporterFactoryInterface;
-use OpenTelemetry\SDK\Metrics\MetricExporterInterface;
-
-class InMemoryExporterFactory implements MetricExporterFactoryInterface
-{
- public function create(): MetricExporterInterface
- {
- return new InMemoryExporter();
- }
-}
diff --git a/vendor/open-telemetry/sdk/Metrics/MetricExporter/NoopMetricExporter.php b/vendor/open-telemetry/sdk/Metrics/MetricExporter/NoopMetricExporter.php
deleted file mode 100644
index 0cac12fae..000000000
--- a/vendor/open-telemetry/sdk/Metrics/MetricExporter/NoopMetricExporter.php
+++ /dev/null
@@ -1,23 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics\MetricExporter;
-
-use OpenTelemetry\SDK\Metrics\MetricExporterInterface;
-
-class NoopMetricExporter implements MetricExporterInterface
-{
- /**
- * @inheritDoc
- */
- public function export(iterable $batch): bool
- {
- return true;
- }
-
- public function shutdown(): bool
- {
- return true;
- }
-}
diff --git a/vendor/open-telemetry/sdk/Metrics/MetricExporter/NoopMetricExporterFactory.php b/vendor/open-telemetry/sdk/Metrics/MetricExporter/NoopMetricExporterFactory.php
deleted file mode 100644
index ab2ab2af3..000000000
--- a/vendor/open-telemetry/sdk/Metrics/MetricExporter/NoopMetricExporterFactory.php
+++ /dev/null
@@ -1,16 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics\MetricExporter;
-
-use OpenTelemetry\SDK\Metrics\MetricExporterFactoryInterface;
-use OpenTelemetry\SDK\Metrics\MetricExporterInterface;
-
-class NoopMetricExporterFactory implements MetricExporterFactoryInterface
-{
- public function create(): MetricExporterInterface
- {
- return new NoopMetricExporter();
- }
-}
diff --git a/vendor/open-telemetry/sdk/Metrics/MetricExporter/_register.php b/vendor/open-telemetry/sdk/Metrics/MetricExporter/_register.php
deleted file mode 100644
index fba543d02..000000000
--- a/vendor/open-telemetry/sdk/Metrics/MetricExporter/_register.php
+++ /dev/null
@@ -1,7 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-\OpenTelemetry\SDK\Registry::registerMetricExporterFactory('memory', \OpenTelemetry\SDK\Metrics\MetricExporter\InMemoryExporterFactory::class);
-\OpenTelemetry\SDK\Registry::registerMetricExporterFactory('console', \OpenTelemetry\SDK\Metrics\MetricExporter\ConsoleMetricExporterFactory::class);
-\OpenTelemetry\SDK\Registry::registerMetricExporterFactory('none', \OpenTelemetry\SDK\Metrics\MetricExporter\NoopMetricExporterFactory::class);
diff --git a/vendor/open-telemetry/sdk/Metrics/MetricExporterFactoryInterface.php b/vendor/open-telemetry/sdk/Metrics/MetricExporterFactoryInterface.php
deleted file mode 100644
index 0d2541821..000000000
--- a/vendor/open-telemetry/sdk/Metrics/MetricExporterFactoryInterface.php
+++ /dev/null
@@ -1,10 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics;
-
-interface MetricExporterFactoryInterface
-{
- public function create(): MetricExporterInterface;
-}
diff --git a/vendor/open-telemetry/sdk/Metrics/MetricExporterInterface.php b/vendor/open-telemetry/sdk/Metrics/MetricExporterInterface.php
deleted file mode 100644
index fa47fbf9e..000000000
--- a/vendor/open-telemetry/sdk/Metrics/MetricExporterInterface.php
+++ /dev/null
@@ -1,17 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics;
-
-use OpenTelemetry\SDK\Metrics\Data\Metric;
-
-interface MetricExporterInterface
-{
- /**
- * @param iterable<int, Metric> $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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics\MetricFactory;
-
-use function array_keys;
-use OpenTelemetry\SDK\Common\Instrumentation\InstrumentationScopeInterface;
-use OpenTelemetry\SDK\Metrics\Aggregation\ExplicitBucketHistogramAggregation;
-use OpenTelemetry\SDK\Metrics\AggregationInterface;
-use OpenTelemetry\SDK\Metrics\AttributeProcessor\FilteredAttributeProcessor;
-use OpenTelemetry\SDK\Metrics\AttributeProcessorInterface;
-use OpenTelemetry\SDK\Metrics\Exemplar\ExemplarFilterInterface;
-use OpenTelemetry\SDK\Metrics\Exemplar\ExemplarReservoirInterface;
-use OpenTelemetry\SDK\Metrics\Exemplar\FilteredReservoir;
-use OpenTelemetry\SDK\Metrics\Exemplar\FixedSizeReservoir;
-use OpenTelemetry\SDK\Metrics\Exemplar\HistogramBucketReservoir;
-use OpenTelemetry\SDK\Metrics\Instrument;
-use OpenTelemetry\SDK\Metrics\MetricFactoryInterface;
-use OpenTelemetry\SDK\Metrics\MetricRegistrationInterface;
-use OpenTelemetry\SDK\Metrics\MetricRegistry\MetricCollectorInterface;
-use OpenTelemetry\SDK\Metrics\MetricRegistry\MetricRegistryInterface;
-use OpenTelemetry\SDK\Metrics\Stream\AsynchronousMetricStream;
-use OpenTelemetry\SDK\Metrics\Stream\MetricAggregator;
-use OpenTelemetry\SDK\Metrics\Stream\MetricAggregatorFactory;
-use OpenTelemetry\SDK\Metrics\Stream\MetricStreamInterface;
-use OpenTelemetry\SDK\Metrics\Stream\SynchronousMetricStream;
-use OpenTelemetry\SDK\Metrics\ViewProjection;
-use OpenTelemetry\SDK\Resource\ResourceInfo;
-use function serialize;
-use function spl_object_id;
-use Throwable;
-
-/**
- * @internal
- */
-final class StreamFactory implements MetricFactoryInterface
-{
- public function createAsynchronousObserver(
- MetricRegistryInterface $registry,
- ResourceInfo $resource,
- InstrumentationScopeInterface $instrumentationScope,
- Instrument $instrument,
- int $timestamp,
- iterable $views
- ): 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 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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics\MetricFactory;
-
-use OpenTelemetry\SDK\Metrics\Data\Metric;
-use OpenTelemetry\SDK\Metrics\MetricSourceInterface;
-
-/**
- * @internal
- */
-final class StreamMetricSource implements MetricSourceInterface
-{
- private StreamMetricSourceProvider $provider;
- private int $reader;
- public function __construct(StreamMetricSourceProvider $provider, int $reader)
- {
- $this->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics\MetricFactory;
-
-use OpenTelemetry\SDK\Common\Instrumentation\InstrumentationScopeInterface;
-use OpenTelemetry\SDK\Metrics\Instrument;
-use OpenTelemetry\SDK\Metrics\MetricMetadataInterface;
-use OpenTelemetry\SDK\Metrics\MetricRegistry\MetricCollectorInterface;
-use OpenTelemetry\SDK\Metrics\MetricSourceInterface;
-use OpenTelemetry\SDK\Metrics\MetricSourceProviderInterface;
-use OpenTelemetry\SDK\Metrics\Stream\MetricStreamInterface;
-use OpenTelemetry\SDK\Metrics\ViewProjection;
-use OpenTelemetry\SDK\Resource\ResourceInfo;
-
-/**
- * @internal
- */
-final class StreamMetricSourceProvider implements MetricSourceProviderInterface, MetricMetadataInterface
-{
- /**
- * @readonly
- */
- public ViewProjection $view;
- /**
- * @readonly
- */
- public Instrument $instrument;
- /**
- * @readonly
- */
- public InstrumentationScopeInterface $instrumentationLibrary;
- /**
- * @readonly
- */
- public ResourceInfo $resource;
- /**
- * @readonly
- */
- public MetricStreamInterface $stream;
- /**
- * @readonly
- */
- public MetricCollectorInterface $metricCollector;
- /**
- * @readonly
- */
- public int $streamId;
-
- public function __construct(
- ViewProjection $view,
- Instrument $instrument,
- InstrumentationScopeInterface $instrumentationLibrary,
- ResourceInfo $resource,
- MetricStreamInterface $stream,
- MetricCollectorInterface $metricCollector,
- int $streamId
- ) {
- $this->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics;
-
-use OpenTelemetry\SDK\Common\Instrumentation\InstrumentationScopeInterface;
-use OpenTelemetry\SDK\Metrics\Exemplar\ExemplarFilterInterface;
-use OpenTelemetry\SDK\Metrics\MetricRegistry\MetricRegistryInterface;
-use OpenTelemetry\SDK\Resource\ResourceInfo;
-
-/**
- * @internal
- */
-interface MetricFactoryInterface
-{
- /**
- * @param iterable<array{ViewProjection, MetricRegistrationInterface}> $views
- */
- public function createAsynchronousObserver(
- MetricRegistryInterface $registry,
- ResourceInfo $resource,
- InstrumentationScopeInterface $instrumentationScope,
- Instrument $instrument,
- int $timestamp,
- iterable $views
- ): array;
-
- /**
- * @param iterable<array{ViewProjection, MetricRegistrationInterface}> $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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics;
-
-use OpenTelemetry\SDK\Metrics\Data\Temporality;
-
-interface MetricMetadataInterface
-{
- /**
- * @return string|InstrumentType
- */
- public function instrumentType();
-
- public function name(): string;
-
- public function unit(): ?string;
-
- public function description(): ?string;
-
- /**
- * Returns the underlying temporality of this metric.
- *
- * @return string|Temporality internal temporality
- */
- public function temporality();
-}
diff --git a/vendor/open-telemetry/sdk/Metrics/MetricReader/ExportingReader.php b/vendor/open-telemetry/sdk/Metrics/MetricReader/ExportingReader.php
deleted file mode 100644
index 3c2eff9f1..000000000
--- a/vendor/open-telemetry/sdk/Metrics/MetricReader/ExportingReader.php
+++ /dev/null
@@ -1,156 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics\MetricReader;
-
-use function array_keys;
-use OpenTelemetry\SDK\Metrics\AggregationInterface;
-use OpenTelemetry\SDK\Metrics\AggregationTemporalitySelectorInterface;
-use OpenTelemetry\SDK\Metrics\DefaultAggregationProviderInterface;
-use OpenTelemetry\SDK\Metrics\DefaultAggregationProviderTrait;
-use OpenTelemetry\SDK\Metrics\MetricExporterInterface;
-use OpenTelemetry\SDK\Metrics\MetricFactory\StreamMetricSourceProvider;
-use OpenTelemetry\SDK\Metrics\MetricMetadataInterface;
-use OpenTelemetry\SDK\Metrics\MetricReaderInterface;
-use OpenTelemetry\SDK\Metrics\MetricRegistry\MetricCollectorInterface;
-use OpenTelemetry\SDK\Metrics\MetricSourceInterface;
-use OpenTelemetry\SDK\Metrics\MetricSourceProviderInterface;
-use OpenTelemetry\SDK\Metrics\MetricSourceRegistryInterface;
-use OpenTelemetry\SDK\Metrics\PushMetricExporterInterface;
-use OpenTelemetry\SDK\Metrics\StalenessHandlerInterface;
-use function spl_object_id;
-
-final class ExportingReader implements MetricReaderInterface, MetricSourceRegistryInterface, DefaultAggregationProviderInterface
-{
- use DefaultAggregationProviderTrait { defaultAggregation as private _defaultAggregation; }
-
- private MetricExporterInterface $exporter;
- /** @var array<int, MetricSourceInterface> */
- private array $sources = [];
-
- /** @var array<int, MetricCollectorInterface> */
- private array $registries = [];
- /** @var array<int, array<int, int>> */
- 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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics;
-
-interface MetricReaderInterface
-{
- public function collect(): bool;
-
- public function shutdown(): bool;
-
- public function forceFlush(): bool;
-}
diff --git a/vendor/open-telemetry/sdk/Metrics/MetricRegistration/MultiRegistryRegistration.php b/vendor/open-telemetry/sdk/Metrics/MetricRegistration/MultiRegistryRegistration.php
deleted file mode 100644
index 2472c096f..000000000
--- a/vendor/open-telemetry/sdk/Metrics/MetricRegistration/MultiRegistryRegistration.php
+++ /dev/null
@@ -1,36 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics\MetricRegistration;
-
-use OpenTelemetry\SDK\Metrics\MetricMetadataInterface;
-use OpenTelemetry\SDK\Metrics\MetricRegistrationInterface;
-use OpenTelemetry\SDK\Metrics\MetricSourceProviderInterface;
-use OpenTelemetry\SDK\Metrics\MetricSourceRegistryInterface;
-use OpenTelemetry\SDK\Metrics\StalenessHandlerInterface;
-
-/**
- * @internal
- */
-final class MultiRegistryRegistration implements MetricRegistrationInterface
-{
- private iterable $registries;
- private StalenessHandlerInterface $stalenessHandler;
-
- /**
- * @param iterable<MetricSourceRegistryInterface> $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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics\MetricRegistration;
-
-use OpenTelemetry\SDK\Metrics\MetricMetadataInterface;
-use OpenTelemetry\SDK\Metrics\MetricRegistrationInterface;
-use OpenTelemetry\SDK\Metrics\MetricSourceProviderInterface;
-use OpenTelemetry\SDK\Metrics\MetricSourceRegistryInterface;
-use OpenTelemetry\SDK\Metrics\StalenessHandlerInterface;
-
-/**
- * @internal
- */
-final class RegistryRegistration implements MetricRegistrationInterface
-{
- private MetricSourceRegistryInterface $registry;
- private StalenessHandlerInterface $stalenessHandler;
-
- public function __construct(MetricSourceRegistryInterface $registry, StalenessHandlerInterface $stalenessHandler)
- {
- $this->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics;
-
-/**
- * @internal
- */
-interface MetricRegistrationInterface
-{
- public function register(MetricSourceProviderInterface $provider, MetricMetadataInterface $metadata): void;
-}
diff --git a/vendor/open-telemetry/sdk/Metrics/MetricRegistry/MetricCollectorInterface.php b/vendor/open-telemetry/sdk/Metrics/MetricRegistry/MetricCollectorInterface.php
deleted file mode 100644
index 4e8e91ced..000000000
--- a/vendor/open-telemetry/sdk/Metrics/MetricRegistry/MetricCollectorInterface.php
+++ /dev/null
@@ -1,13 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics\MetricRegistry;
-
-/**
- * @internal
- */
-interface MetricCollectorInterface
-{
- public function collectAndPush(iterable $streamIds): void;
-}
diff --git a/vendor/open-telemetry/sdk/Metrics/MetricRegistry/MetricRegistry.php b/vendor/open-telemetry/sdk/Metrics/MetricRegistry/MetricRegistry.php
deleted file mode 100644
index 9a18d2a84..000000000
--- a/vendor/open-telemetry/sdk/Metrics/MetricRegistry/MetricRegistry.php
+++ /dev/null
@@ -1,184 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics\MetricRegistry;
-
-use function array_key_last;
-use Closure;
-use OpenTelemetry\Context\Context;
-use OpenTelemetry\Context\ContextStorageInterface;
-use OpenTelemetry\SDK\Common\Attribute\AttributesFactoryInterface;
-use OpenTelemetry\SDK\Common\Time\ClockInterface;
-use OpenTelemetry\SDK\Metrics\Instrument;
-use OpenTelemetry\SDK\Metrics\Stream\MetricAggregatorFactoryInterface;
-use OpenTelemetry\SDK\Metrics\Stream\MetricAggregatorInterface;
-use OpenTelemetry\SDK\Metrics\Stream\MetricStreamInterface;
-use function spl_object_id;
-
-/**
- * @internal
- */
-final class MetricRegistry implements MetricRegistryInterface, MetricWriterInterface
-{
- private ?ContextStorageInterface $contextStorage;
- private AttributesFactoryInterface $attributesFactory;
- private ClockInterface $clock;
-
- /** @var array<int, MetricStreamInterface> */
- private array $streams = [];
- /** @var array<int, MetricAggregatorInterface> */
- private array $synchronousAggregators = [];
- /** @var array<int, MetricAggregatorFactoryInterface> */
- private array $asynchronousAggregatorFactories = [];
-
- /** @var array<int, array<int, int>> */
- private array $instrumentToStreams = [];
- /** @var array<int, int> */
- private array $streamToInstrument = [];
- /** @var array<int, array<int, int>> */
- private array $instrumentToCallbacks = [];
- /** @var array<int, Closure> */
- private array $asynchronousCallbacks = [];
- /** @var array<int, list<int>> */
- 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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics\MetricRegistry;
-
-use OpenTelemetry\SDK\Metrics\Instrument;
-use OpenTelemetry\SDK\Metrics\Stream\MetricAggregatorFactoryInterface;
-use OpenTelemetry\SDK\Metrics\Stream\MetricAggregatorInterface;
-use OpenTelemetry\SDK\Metrics\Stream\MetricStreamInterface;
-
-/**
- * @internal
- */
-interface MetricRegistryInterface extends MetricCollectorInterface
-{
- public function registerSynchronousStream(Instrument $instrument, MetricStreamInterface $stream, MetricAggregatorInterface $aggregator): int;
-
- public function registerAsynchronousStream(Instrument $instrument, MetricStreamInterface $stream, MetricAggregatorFactoryInterface $aggregatorFactory): int;
-
- public function unregisterStream(int $streamId): void;
-}
diff --git a/vendor/open-telemetry/sdk/Metrics/MetricRegistry/MetricWriterInterface.php b/vendor/open-telemetry/sdk/Metrics/MetricRegistry/MetricWriterInterface.php
deleted file mode 100644
index e5ff7eb5c..000000000
--- a/vendor/open-telemetry/sdk/Metrics/MetricRegistry/MetricWriterInterface.php
+++ /dev/null
@@ -1,20 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics\MetricRegistry;
-
-use Closure;
-use OpenTelemetry\SDK\Metrics\Instrument;
-
-/**
- * @internal
- */
-interface MetricWriterInterface
-{
- public function record(Instrument $instrument, $value, iterable $attributes = [], $context = null): void;
-
- public function registerCallback(Closure $callback, Instrument $instrument, Instrument ...$instruments): int;
-
- public function unregisterCallback(int $callbackId): void;
-}
diff --git a/vendor/open-telemetry/sdk/Metrics/MetricRegistry/MultiObserver.php b/vendor/open-telemetry/sdk/Metrics/MetricRegistry/MultiObserver.php
deleted file mode 100644
index f36f74a2a..000000000
--- a/vendor/open-telemetry/sdk/Metrics/MetricRegistry/MultiObserver.php
+++ /dev/null
@@ -1,37 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics\MetricRegistry;
-
-use OpenTelemetry\API\Metrics\ObserverInterface;
-use OpenTelemetry\Context\Context;
-use OpenTelemetry\SDK\Common\Attribute\AttributesFactoryInterface;
-use OpenTelemetry\SDK\Metrics\Stream\WritableMetricStreamInterface;
-
-/**
- * @internal
- */
-final class MultiObserver implements ObserverInterface
-{
- private AttributesFactoryInterface $attributesFactory;
- private int $timestamp;
-
- /** @var list<WritableMetricStreamInterface> */
- 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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics\MetricRegistry;
-
-use OpenTelemetry\API\Metrics\ObserverInterface;
-
-/**
- * @internal
- */
-final class NoopObserver implements ObserverInterface
-{
- public function observe($amount, iterable $attributes = []): void
- {
- // no-op
- }
-}
diff --git a/vendor/open-telemetry/sdk/Metrics/MetricSourceInterface.php b/vendor/open-telemetry/sdk/Metrics/MetricSourceInterface.php
deleted file mode 100644
index 5f00a0717..000000000
--- a/vendor/open-telemetry/sdk/Metrics/MetricSourceInterface.php
+++ /dev/null
@@ -1,24 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics;
-
-use OpenTelemetry\SDK\Metrics\Data\Metric;
-
-interface MetricSourceInterface
-{
- /**
- * Returns the last metric collection timestamp.
- *
- * @return int last collection timestamp
- */
- public function collectionTimestamp(): int;
-
- /**
- * Collects metric data from the underlying provider.
- *
- * @return Metric collected metric
- */
- public function collect(): Metric;
-}
diff --git a/vendor/open-telemetry/sdk/Metrics/MetricSourceProviderInterface.php b/vendor/open-telemetry/sdk/Metrics/MetricSourceProviderInterface.php
deleted file mode 100644
index f8b6ea438..000000000
--- a/vendor/open-telemetry/sdk/Metrics/MetricSourceProviderInterface.php
+++ /dev/null
@@ -1,15 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics;
-
-use OpenTelemetry\SDK\Metrics\Data\Temporality;
-
-interface MetricSourceProviderInterface
-{
- /**
- * @param string|Temporality $temporality
- */
- public function create($temporality): MetricSourceInterface;
-}
diff --git a/vendor/open-telemetry/sdk/Metrics/MetricSourceRegistryInterface.php b/vendor/open-telemetry/sdk/Metrics/MetricSourceRegistryInterface.php
deleted file mode 100644
index dd7ff53ac..000000000
--- a/vendor/open-telemetry/sdk/Metrics/MetricSourceRegistryInterface.php
+++ /dev/null
@@ -1,10 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics;
-
-interface MetricSourceRegistryInterface
-{
- public function add(MetricSourceProviderInterface $provider, MetricMetadataInterface $metadata, StalenessHandlerInterface $stalenessHandler): void;
-}
diff --git a/vendor/open-telemetry/sdk/Metrics/NoopMeterProvider.php b/vendor/open-telemetry/sdk/Metrics/NoopMeterProvider.php
deleted file mode 100644
index 2efb484d3..000000000
--- a/vendor/open-telemetry/sdk/Metrics/NoopMeterProvider.php
+++ /dev/null
@@ -1,26 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics;
-
-use OpenTelemetry\API\Metrics\MeterInterface;
-use OpenTelemetry\API\Metrics\Noop\NoopMeter;
-
-class NoopMeterProvider implements MeterProviderInterface
-{
- public function shutdown(): bool
- {
- return true;
- }
-
- public function forceFlush(): bool
- {
- return true;
- }
-
- public function getMeter(string $name, ?string $version = null, ?string $schemaUrl = null, iterable $attributes = []): MeterInterface
- {
- return new NoopMeter();
- }
-}
diff --git a/vendor/open-telemetry/sdk/Metrics/ObservableCallback.php b/vendor/open-telemetry/sdk/Metrics/ObservableCallback.php
deleted file mode 100644
index ffe5ead87..000000000
--- a/vendor/open-telemetry/sdk/Metrics/ObservableCallback.php
+++ /dev/null
@@ -1,58 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics;
-
-use OpenTelemetry\API\Metrics\ObservableCallbackInterface;
-use OpenTelemetry\SDK\Metrics\MetricRegistry\MetricWriterInterface;
-
-/**
- * @internal
- */
-final class ObservableCallback implements ObservableCallbackInterface
-{
- private MetricWriterInterface $writer;
- private ReferenceCounterInterface $referenceCounter;
- private ?int $callbackId;
- private ?ObservableCallbackDestructor $callbackDestructor;
- /** @phpstan-ignore-next-line */
- private ?object $target;
-
- public function __construct(MetricWriterInterface $writer, ReferenceCounterInterface $referenceCounter, int $callbackId, ?ObservableCallbackDestructor $callbackDestructor, ?object $target)
- {
- $this->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics;
-
-use OpenTelemetry\SDK\Metrics\MetricRegistry\MetricWriterInterface;
-
-/**
- * @internal
- */
-final class ObservableCallbackDestructor
-{
- /** @var array<int, int> */
- 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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics;
-
-use OpenTelemetry\API\Metrics\ObservableCounterInterface;
-
-/**
- * @internal
- */
-final class ObservableCounter implements ObservableCounterInterface
-{
- use ObservableInstrumentTrait;
-}
diff --git a/vendor/open-telemetry/sdk/Metrics/ObservableGauge.php b/vendor/open-telemetry/sdk/Metrics/ObservableGauge.php
deleted file mode 100644
index 88c1a546c..000000000
--- a/vendor/open-telemetry/sdk/Metrics/ObservableGauge.php
+++ /dev/null
@@ -1,15 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics;
-
-use OpenTelemetry\API\Metrics\ObservableGaugeInterface;
-
-/**
- * @internal
- */
-final class ObservableGauge implements ObservableGaugeInterface
-{
- use ObservableInstrumentTrait;
-}
diff --git a/vendor/open-telemetry/sdk/Metrics/ObservableInstrumentTrait.php b/vendor/open-telemetry/sdk/Metrics/ObservableInstrumentTrait.php
deleted file mode 100644
index b7fdcf5f8..000000000
--- a/vendor/open-telemetry/sdk/Metrics/ObservableInstrumentTrait.php
+++ /dev/null
@@ -1,61 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics;
-
-use ArrayAccess;
-use OpenTelemetry\API\Metrics\ObservableCallbackInterface;
-use OpenTelemetry\API\Metrics\ObserverInterface;
-use function OpenTelemetry\SDK\Common\Util\closure;
-use function OpenTelemetry\SDK\Common\Util\weaken;
-use OpenTelemetry\SDK\Metrics\MetricRegistry\MetricWriterInterface;
-
-/**
- * @internal
- */
-trait ObservableInstrumentTrait
-{
- private MetricWriterInterface $writer;
- private Instrument $instrument;
- private ReferenceCounterInterface $referenceCounter;
- private ArrayAccess $destructors;
-
- public function __construct(
- MetricWriterInterface $writer,
- Instrument $instrument,
- ReferenceCounterInterface $referenceCounter,
- ArrayAccess $destructors
- ) {
- $this->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics;
-
-use OpenTelemetry\API\Metrics\ObservableUpDownCounterInterface;
-
-/**
- * @internal
- */
-final class ObservableUpDownCounter implements ObservableUpDownCounterInterface
-{
- use ObservableInstrumentTrait;
-}
diff --git a/vendor/open-telemetry/sdk/Metrics/PushMetricExporterInterface.php b/vendor/open-telemetry/sdk/Metrics/PushMetricExporterInterface.php
deleted file mode 100644
index d24b0e396..000000000
--- a/vendor/open-telemetry/sdk/Metrics/PushMetricExporterInterface.php
+++ /dev/null
@@ -1,12 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics;
-
-use OpenTelemetry\SDK\Metrics;
-
-interface PushMetricExporterInterface extends Metrics\MetricExporterInterface
-{
- public function forceFlush(): bool;
-}
diff --git a/vendor/open-telemetry/sdk/Metrics/ReferenceCounterInterface.php b/vendor/open-telemetry/sdk/Metrics/ReferenceCounterInterface.php
deleted file mode 100644
index f7e70b644..000000000
--- a/vendor/open-telemetry/sdk/Metrics/ReferenceCounterInterface.php
+++ /dev/null
@@ -1,15 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics;
-
-/**
- * @internal
- */
-interface ReferenceCounterInterface
-{
- public function acquire(bool $persistent = false): void;
-
- public function release(): void;
-}
diff --git a/vendor/open-telemetry/sdk/Metrics/StalenessHandler/DelayedStalenessHandler.php b/vendor/open-telemetry/sdk/Metrics/StalenessHandler/DelayedStalenessHandler.php
deleted file mode 100644
index 66b271018..000000000
--- a/vendor/open-telemetry/sdk/Metrics/StalenessHandler/DelayedStalenessHandler.php
+++ /dev/null
@@ -1,71 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics\StalenessHandler;
-
-use function assert;
-use Closure;
-use OpenTelemetry\SDK\Metrics\ReferenceCounterInterface;
-use OpenTelemetry\SDK\Metrics\StalenessHandlerInterface;
-
-/**
- * @internal
- */
-final class DelayedStalenessHandler implements StalenessHandlerInterface, ReferenceCounterInterface
-{
- private Closure $stale;
- private Closure $freshen;
-
- /** @var Closure[]|null */
- private ?array $onStale = [];
- private int $count = 0;
-
- public function __construct(Closure $stale, Closure $freshen)
- {
- $this->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics\StalenessHandler;
-
-use ArrayAccess;
-use Closure;
-use OpenTelemetry\SDK\Common\Time\ClockInterface;
-use OpenTelemetry\SDK\Common\Util\WeakMap;
-use OpenTelemetry\SDK\Metrics\StalenessHandlerFactoryInterface;
-use OpenTelemetry\SDK\Metrics\StalenessHandlerInterface;
-use Traversable;
-
-final class DelayedStalenessHandlerFactory implements StalenessHandlerFactoryInterface
-{
- private ClockInterface $clock;
- private int $nanoDelay;
-
- private Closure $stale;
- private Closure $freshen;
-
- /** @var ArrayAccess<DelayedStalenessHandler, int>&Traversable<DelayedStalenessHandler, int> */
- 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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics\StalenessHandler;
-
-use Closure;
-use OpenTelemetry\SDK\Metrics\ReferenceCounterInterface;
-use OpenTelemetry\SDK\Metrics\StalenessHandlerInterface;
-
-/**
- * @internal
- */
-final class ImmediateStalenessHandler implements StalenessHandlerInterface, ReferenceCounterInterface
-{
- /** @var Closure[]|null */
- private ?array $onStale = [];
- private int $count = 0;
-
- public function acquire(bool $persistent = false): void
- {
- $this->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics\StalenessHandler;
-
-use OpenTelemetry\SDK\Metrics\StalenessHandlerFactoryInterface;
-use OpenTelemetry\SDK\Metrics\StalenessHandlerInterface;
-
-final class ImmediateStalenessHandlerFactory implements StalenessHandlerFactoryInterface
-{
- public function create(): StalenessHandlerInterface
- {
- return new ImmediateStalenessHandler();
- }
-}
diff --git a/vendor/open-telemetry/sdk/Metrics/StalenessHandler/NoopStalenessHandler.php b/vendor/open-telemetry/sdk/Metrics/StalenessHandler/NoopStalenessHandler.php
deleted file mode 100644
index 00d432b6b..000000000
--- a/vendor/open-telemetry/sdk/Metrics/StalenessHandler/NoopStalenessHandler.php
+++ /dev/null
@@ -1,30 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics\StalenessHandler;
-
-use Closure;
-use OpenTelemetry\SDK\Metrics\ReferenceCounterInterface;
-use OpenTelemetry\SDK\Metrics\StalenessHandlerInterface;
-
-/**
- * @internal
- */
-final class NoopStalenessHandler implements StalenessHandlerInterface, ReferenceCounterInterface
-{
- public function acquire(bool $persistent = false): void
- {
- // no-op
- }
-
- public function release(): void
- {
- // no-op
- }
-
- public function onStale(Closure $callback): void
- {
- // no-op
- }
-}
diff --git a/vendor/open-telemetry/sdk/Metrics/StalenessHandler/NoopStalenessHandlerFactory.php b/vendor/open-telemetry/sdk/Metrics/StalenessHandler/NoopStalenessHandlerFactory.php
deleted file mode 100644
index 07f34e3b0..000000000
--- a/vendor/open-telemetry/sdk/Metrics/StalenessHandler/NoopStalenessHandlerFactory.php
+++ /dev/null
@@ -1,18 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics\StalenessHandler;
-
-use OpenTelemetry\SDK\Metrics\StalenessHandlerFactoryInterface;
-use OpenTelemetry\SDK\Metrics\StalenessHandlerInterface;
-
-final class NoopStalenessHandlerFactory implements StalenessHandlerFactoryInterface
-{
- public function create(): StalenessHandlerInterface
- {
- static $instance;
-
- return $instance ??= new NoopStalenessHandler();
- }
-}
diff --git a/vendor/open-telemetry/sdk/Metrics/StalenessHandlerFactoryInterface.php b/vendor/open-telemetry/sdk/Metrics/StalenessHandlerFactoryInterface.php
deleted file mode 100644
index e22385420..000000000
--- a/vendor/open-telemetry/sdk/Metrics/StalenessHandlerFactoryInterface.php
+++ /dev/null
@@ -1,13 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics;
-
-interface StalenessHandlerFactoryInterface
-{
- /**
- * @return StalenessHandlerInterface&ReferenceCounterInterface
- */
- public function create(): StalenessHandlerInterface;
-}
diff --git a/vendor/open-telemetry/sdk/Metrics/StalenessHandlerInterface.php b/vendor/open-telemetry/sdk/Metrics/StalenessHandlerInterface.php
deleted file mode 100644
index c85d86f8e..000000000
--- a/vendor/open-telemetry/sdk/Metrics/StalenessHandlerInterface.php
+++ /dev/null
@@ -1,12 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics;
-
-use Closure;
-
-interface StalenessHandlerInterface
-{
- public function onStale(Closure $callback): void;
-}
diff --git a/vendor/open-telemetry/sdk/Metrics/Stream/AsynchronousMetricStream.php b/vendor/open-telemetry/sdk/Metrics/Stream/AsynchronousMetricStream.php
deleted file mode 100644
index cb32f94df..000000000
--- a/vendor/open-telemetry/sdk/Metrics/Stream/AsynchronousMetricStream.php
+++ /dev/null
@@ -1,111 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics\Stream;
-
-use function array_search;
-use function count;
-use OpenTelemetry\SDK\Metrics\AggregationInterface;
-use OpenTelemetry\SDK\Metrics\Data\DataInterface;
-use OpenTelemetry\SDK\Metrics\Data\Exemplar;
-use OpenTelemetry\SDK\Metrics\Data\Temporality;
-
-/**
- * @internal
- */
-final class AsynchronousMetricStream implements MetricStreamInterface
-{
- private AggregationInterface $aggregation;
-
- private int $startTimestamp;
- private Metric $metric;
-
- /** @var array<int, Metric|null> */
- 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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics\Stream;
-
-use GMP;
-
-/**
- * @internal
- */
-final class Delta
-{
- public Metric $metric;
- /**
- * @psalm-suppress UndefinedDocblockClass
- * @phan-suppress PhanUndeclaredTypeProperty
- * @var int|GMP
- */
- public $readers;
- public ?self $prev;
- /**
- * @psalm-suppress UndefinedDocblockClass
- * @phan-suppress PhanUndeclaredTypeParameter
- * @param int|GMP $readers
- */
- public function __construct(Metric $metric, $readers, ?self $prev = null)
- {
- $this->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics\Stream;
-
-use function assert;
-use GMP;
-use OpenTelemetry\SDK\Metrics\AggregationInterface;
-
-/**
- * @internal
- */
-final class DeltaStorage
-{
- private AggregationInterface $aggregation;
- private Delta $head;
-
- public function __construct(AggregationInterface $aggregation)
- {
- $this->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics\Stream;
-
-use OpenTelemetry\SDK\Common\Attribute\AttributesInterface;
-use OpenTelemetry\SDK\Metrics\Data\Exemplar;
-
-/**
- * @internal
- *
- * @template T
- */
-final class Metric
-{
-
- /**
- * @var array<AttributesInterface>
- */
- public array $attributes;
- /**
- * @var array<T>
- */
- public array $summaries;
- public int $timestamp;
- /**
- * @var array<Exemplar>
- */
- public array $exemplars;
-
- /**
- * @param array<AttributesInterface> $attributes
- * @param array<T> $summaries
- * @param array<Exemplar> $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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics\Stream;
-
-use OpenTelemetry\Context\ContextInterface;
-use OpenTelemetry\SDK\Common\Attribute\AttributesInterface;
-use OpenTelemetry\SDK\Metrics\AggregationInterface;
-use OpenTelemetry\SDK\Metrics\AttributeProcessorInterface;
-use OpenTelemetry\SDK\Metrics\Exemplar\ExemplarReservoirInterface;
-use function serialize;
-
-/**
- * @internal
- */
-final class MetricAggregator implements MetricAggregatorInterface
-{
- private ?AttributeProcessorInterface $attributeProcessor;
- private AggregationInterface $aggregation;
- private ?ExemplarReservoirInterface $exemplarReservoir;
-
- /** @var array<AttributesInterface> */
- 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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics\Stream;
-
-use OpenTelemetry\SDK\Metrics\AggregationInterface;
-use OpenTelemetry\SDK\Metrics\AttributeProcessorInterface;
-
-/**
- * @internal
- */
-final class MetricAggregatorFactory implements MetricAggregatorFactoryInterface
-{
- private ?AttributeProcessorInterface $attributeProcessor;
- private AggregationInterface $aggregation;
-
- public function __construct(?AttributeProcessorInterface $attributeProcessor, AggregationInterface $aggregation)
- {
- $this->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics\Stream;
-
-/**
- * @internal
- */
-interface MetricAggregatorFactoryInterface
-{
- public function create(): MetricAggregatorInterface;
-}
diff --git a/vendor/open-telemetry/sdk/Metrics/Stream/MetricAggregatorInterface.php b/vendor/open-telemetry/sdk/Metrics/Stream/MetricAggregatorInterface.php
deleted file mode 100644
index 2f5cfbf15..000000000
--- a/vendor/open-telemetry/sdk/Metrics/Stream/MetricAggregatorInterface.php
+++ /dev/null
@@ -1,12 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics\Stream;
-
-/**
- * @internal
- */
-interface MetricAggregatorInterface extends WritableMetricStreamInterface, MetricCollectorInterface
-{
-}
diff --git a/vendor/open-telemetry/sdk/Metrics/Stream/MetricCollectorInterface.php b/vendor/open-telemetry/sdk/Metrics/Stream/MetricCollectorInterface.php
deleted file mode 100644
index 51a728df7..000000000
--- a/vendor/open-telemetry/sdk/Metrics/Stream/MetricCollectorInterface.php
+++ /dev/null
@@ -1,13 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics\Stream;
-
-/**
- * @internal
- */
-interface MetricCollectorInterface
-{
- public function collect(int $timestamp): Metric;
-}
diff --git a/vendor/open-telemetry/sdk/Metrics/Stream/MetricStreamInterface.php b/vendor/open-telemetry/sdk/Metrics/Stream/MetricStreamInterface.php
deleted file mode 100644
index 1373a1c93..000000000
--- a/vendor/open-telemetry/sdk/Metrics/Stream/MetricStreamInterface.php
+++ /dev/null
@@ -1,58 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics\Stream;
-
-use OpenTelemetry\SDK\Metrics\Data\DataInterface;
-use OpenTelemetry\SDK\Metrics\Data\Temporality;
-
-/**
- * @internal
- */
-interface MetricStreamInterface
-{
- /**
- * Returns the internal temporality of this stream.
- *
- * @return string|Temporality internal temporality
- */
- public function temporality();
-
- /**
- * Returns the last metric timestamp.
- *
- * @return int metric timestamp
- */
- public function timestamp(): int;
-
- /**
- * Pushes metric data to the stream.
- *
- * @param Metric $metric metric data to push
- */
- public function push(Metric $metric): void;
-
- /**
- * Registers a new reader with the given temporality.
- *
- * @param string|Temporality $temporality temporality to use
- * @return int reader id
- */
- public function register($temporality): int;
-
- /**
- * Unregisters the given reader.
- *
- * @param int $reader reader id
- */
- public function unregister(int $reader): void;
-
- /**
- * Collects metric data for the given reader.
- *
- * @param int $reader reader id
- * @return DataInterface metric data
- */
- public function collect(int $reader): DataInterface;
-}
diff --git a/vendor/open-telemetry/sdk/Metrics/Stream/SynchronousMetricStream.php b/vendor/open-telemetry/sdk/Metrics/Stream/SynchronousMetricStream.php
deleted file mode 100644
index 52645504c..000000000
--- a/vendor/open-telemetry/sdk/Metrics/Stream/SynchronousMetricStream.php
+++ /dev/null
@@ -1,126 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics\Stream;
-
-use function assert;
-use const E_USER_WARNING;
-use function extension_loaded;
-use GMP;
-use function gmp_init;
-use function is_int;
-use OpenTelemetry\SDK\Metrics\AggregationInterface;
-use OpenTelemetry\SDK\Metrics\Data\DataInterface;
-use OpenTelemetry\SDK\Metrics\Data\Exemplar;
-use OpenTelemetry\SDK\Metrics\Data\Temporality;
-use const PHP_INT_SIZE;
-use function sprintf;
-use function trigger_error;
-
-/**
- * @internal
- */
-final class SynchronousMetricStream implements MetricStreamInterface
-{
- private AggregationInterface $aggregation;
-
- private int $timestamp;
-
- private DeltaStorage $delta;
- /**
- * @psalm-suppress UndefinedDocblockClass
- * @phan-suppress PhanUndeclaredTypeProperty
- * @var int|GMP
- */
- private $readers = 0;
- /**
- * @psalm-suppress UndefinedDocblockClass
- * @phan-suppress PhanUndeclaredTypeProperty
- * @var int|GMP
- */
- private $cumulative = 0;
-
- public function __construct(AggregationInterface $aggregation, int $startTimestamp)
- {
- $this->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics\Stream;
-
-use OpenTelemetry\Context\ContextInterface;
-use OpenTelemetry\SDK\Common\Attribute\AttributesInterface;
-
-/**
- * @internal
- */
-interface WritableMetricStreamInterface
-{
- /**
- * @param float|int $value
- */
- public function record($value, AttributesInterface $attributes, ContextInterface $context, int $timestamp): void;
-}
diff --git a/vendor/open-telemetry/sdk/Metrics/UpDownCounter.php b/vendor/open-telemetry/sdk/Metrics/UpDownCounter.php
deleted file mode 100644
index 1adf67f8a..000000000
--- a/vendor/open-telemetry/sdk/Metrics/UpDownCounter.php
+++ /dev/null
@@ -1,37 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics;
-
-use OpenTelemetry\API\Metrics\UpDownCounterInterface;
-use OpenTelemetry\SDK\Metrics\MetricRegistry\MetricWriterInterface;
-
-/**
- * @internal
- */
-final class UpDownCounter implements UpDownCounterInterface
-{
- private MetricWriterInterface $writer;
- private Instrument $instrument;
- private ReferenceCounterInterface $referenceCounter;
-
- public function __construct(MetricWriterInterface $writer, Instrument $instrument, ReferenceCounterInterface $referenceCounter)
- {
- $this->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics\View;
-
-use Generator;
-use OpenTelemetry\SDK\Common\Instrumentation\InstrumentationScopeInterface;
-use OpenTelemetry\SDK\Metrics\Instrument;
-use OpenTelemetry\SDK\Metrics\ViewRegistryInterface;
-
-final class CriteriaViewRegistry implements ViewRegistryInterface
-{
- /** @var list<SelectionCriteriaInterface> */
- private array $criteria = [];
- /** @var list<ViewTemplate> */
- 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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics\View\SelectionCriteria;
-
-use OpenTelemetry\SDK\Common\Instrumentation\InstrumentationScopeInterface;
-use OpenTelemetry\SDK\Metrics\Instrument;
-use OpenTelemetry\SDK\Metrics\View\SelectionCriteriaInterface;
-
-final class AllCriteria implements SelectionCriteriaInterface
-{
- private iterable $criteria;
-
- /**
- * @param iterable<SelectionCriteriaInterface> $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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics\View\SelectionCriteria;
-
-use OpenTelemetry\SDK\Common\Instrumentation\InstrumentationScopeInterface;
-use OpenTelemetry\SDK\Metrics\Instrument;
-use OpenTelemetry\SDK\Metrics\View\SelectionCriteriaInterface;
-use function preg_match;
-use function preg_quote;
-use function sprintf;
-use function strtr;
-
-final class InstrumentNameCriteria implements SelectionCriteriaInterface
-{
- private string $pattern;
-
- public function __construct(string $name)
- {
- $this->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics\View\SelectionCriteria;
-
-use function in_array;
-use OpenTelemetry\SDK\Common\Instrumentation\InstrumentationScopeInterface;
-use OpenTelemetry\SDK\Metrics\Instrument;
-use OpenTelemetry\SDK\Metrics\InstrumentType;
-use OpenTelemetry\SDK\Metrics\View\SelectionCriteriaInterface;
-
-final class InstrumentTypeCriteria implements SelectionCriteriaInterface
-{
- private array $instrumentTypes;
-
- /**
- * @param string|InstrumentType|string[]|InstrumentType[] $instrumentType
- */
- public function __construct($instrumentType)
- {
- $this->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics\View\SelectionCriteria;
-
-use OpenTelemetry\SDK\Common\Instrumentation\InstrumentationScopeInterface;
-use OpenTelemetry\SDK\Metrics\Instrument;
-use OpenTelemetry\SDK\Metrics\View\SelectionCriteriaInterface;
-
-final class InstrumentationScopeNameCriteria implements SelectionCriteriaInterface
-{
- private string $name;
-
- public function __construct(string $name)
- {
- $this->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics\View\SelectionCriteria;
-
-use OpenTelemetry\SDK\Common\Instrumentation\InstrumentationScopeInterface;
-use OpenTelemetry\SDK\Metrics\Instrument;
-use OpenTelemetry\SDK\Metrics\View\SelectionCriteriaInterface;
-
-final class InstrumentationScopeSchemaUrlCriteria implements SelectionCriteriaInterface
-{
- private ?string $schemaUrl;
-
- public function __construct(?string $schemaUrl)
- {
- $this->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics\View\SelectionCriteria;
-
-use OpenTelemetry\SDK\Common\Instrumentation\InstrumentationScopeInterface;
-use OpenTelemetry\SDK\Metrics\Instrument;
-use OpenTelemetry\SDK\Metrics\View\SelectionCriteriaInterface;
-
-final class InstrumentationScopeVersionCriteria implements SelectionCriteriaInterface
-{
- private ?string $version;
-
- public function __construct(?string $version)
- {
- $this->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics\View;
-
-use OpenTelemetry\SDK\Common\Instrumentation\InstrumentationScopeInterface;
-use OpenTelemetry\SDK\Metrics\Instrument;
-
-interface SelectionCriteriaInterface
-{
- public function accepts(Instrument $instrument, InstrumentationScopeInterface $instrumentationScope): bool;
-}
diff --git a/vendor/open-telemetry/sdk/Metrics/View/ViewTemplate.php b/vendor/open-telemetry/sdk/Metrics/View/ViewTemplate.php
deleted file mode 100644
index 302ed83ae..000000000
--- a/vendor/open-telemetry/sdk/Metrics/View/ViewTemplate.php
+++ /dev/null
@@ -1,77 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics\View;
-
-use OpenTelemetry\SDK\Metrics\AggregationInterface;
-use OpenTelemetry\SDK\Metrics\Instrument;
-use OpenTelemetry\SDK\Metrics\ViewProjection;
-
-final class ViewTemplate
-{
- private ?string $name = null;
- private ?string $description = null;
- /**
- * @var list<string>
- */
- 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<string> $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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics;
-
-final class ViewProjection
-{
- /**
- * @readonly
- */
- public string $name;
- /**
- * @readonly
- */
- public ?string $unit;
- /**
- * @readonly
- */
- public ?string $description;
- /**
- * @readonly
- * @var list<string>|null
- */
- public ?array $attributeKeys;
- /**
- * @readonly
- */
- public ?AggregationInterface $aggregation;
-
- /**
- * @param list<string>|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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Metrics;
-
-use OpenTelemetry\SDK\Common\Instrumentation\InstrumentationScopeInterface;
-
-interface ViewRegistryInterface
-{
- /**
- * @return iterable<ViewProjection>|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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Propagation;
-
-use OpenTelemetry\API\Behavior\LogsMessagesTrait;
-use OpenTelemetry\Context\Propagation\MultiTextMapPropagator;
-use OpenTelemetry\Context\Propagation\NoopTextMapPropagator;
-use OpenTelemetry\Context\Propagation\TextMapPropagatorInterface;
-use OpenTelemetry\SDK\Common\Configuration\Configuration;
-use OpenTelemetry\SDK\Common\Configuration\Variables;
-use OpenTelemetry\SDK\Registry;
-
-class PropagatorFactory
-{
- use LogsMessagesTrait;
-
- public function create(): TextMapPropagatorInterface
- {
- $propagators = Configuration::getList(Variables::OTEL_PROPAGATORS);
- switch (count($propagators)) {
- case 0:
- return new NoopTextMapPropagator();
- case 1:
- return $this->buildPropagator($propagators[0]);
- default:
- return new MultiTextMapPropagator($this->buildPropagators($propagators));
- }
- }
-
- /**
- * @return array<TextMapPropagatorInterface>
- */
- 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 @@
-<?php
-
-declare(strict_types=1);
-
-\OpenTelemetry\SDK\Registry::registerTextMapPropagator(
- \OpenTelemetry\SDK\Common\Configuration\KnownValues::VALUE_BAGGAGE,
- \OpenTelemetry\API\Baggage\Propagation\BaggagePropagator::getInstance()
-);
-\OpenTelemetry\SDK\Registry::registerTextMapPropagator(
- \OpenTelemetry\SDK\Common\Configuration\KnownValues::VALUE_TRACECONTEXT,
- \OpenTelemetry\API\Trace\Propagation\TraceContextPropagator::getInstance()
-);
-\OpenTelemetry\SDK\Registry::registerTextMapPropagator(
- \OpenTelemetry\SDK\Common\Configuration\KnownValues::VALUE_NONE,
- \OpenTelemetry\Context\Propagation\NoopTextMapPropagator::getInstance()
-);
diff --git a/vendor/open-telemetry/sdk/README.md b/vendor/open-telemetry/sdk/README.md
deleted file mode 100644
index 6346dc0f3..000000000
--- a/vendor/open-telemetry/sdk/README.md
+++ /dev/null
@@ -1,49 +0,0 @@
-[![Releases](https://img.shields.io/badge/releases-purple)](https://github.com/opentelemetry-php/sdk/releases)
-[![Source](https://img.shields.io/badge/source-sdk-green)](https://github.com/open-telemetry/opentelemetry-php/tree/main/src/SDK)
-[![Mirror](https://img.shields.io/badge/mirror-opentelemetry--php:sdk-blue)](https://github.com/opentelemetry-php/sdk)
-[![Latest Version](http://poser.pugx.org/open-telemetry/sdk/v/unstable)](https://packagist.org/packages/open-telemetry/sdk/)
-[![Stable](http://poser.pugx.org/open-telemetry/sdk/v/stable)](https://packagist.org/packages/open-telemetry/sdk/)
-
-# OpenTelemetry SDK
-
-The OpenTelemetry PHP SDK implements the API, and should be used in conjunction with contributed exporter(s) to generate and export telemetry.
-
-## Documentation
-
-https://opentelemetry.io/docs/instrumentation/php/sdk/
-
-## Getting started
-
-### Manual setup
-
-See https://github.com/open-telemetry/opentelemetry-php/tree/main/examples
-
-### SDK Builder
-
-See https://github.com/open-telemetry/opentelemetry-php/blob/main/examples/sdk_builder.php
-
-### Autoloading
-
-SDK autoloading works with configuration values provided via the environment (or php.ini).
-
-The SDK can be automatically created and registered, if the following conditions are met:
-- `OTEL_PHP_AUTOLOAD_ENABLED=true`
-- all required [SDK configuration](https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/sdk-environment-variables.md#general-sdk-configuration) is provided
-
-SDK autoloading will be attempted as part of composer's autoloader:
-
-```php
-require 'vendor/autoload.php';
-
-$tracer = \OpenTelemetry\API\Globals::tracerProvider()->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK;
-
-use OpenTelemetry\Context\Propagation\TextMapPropagatorInterface;
-use OpenTelemetry\SDK\Common\Export\TransportFactoryInterface;
-use OpenTelemetry\SDK\Logs\LogRecordExporterFactoryInterface;
-use OpenTelemetry\SDK\Metrics\MetricExporterFactoryInterface;
-use OpenTelemetry\SDK\Resource\ResourceDetectorInterface;
-use OpenTelemetry\SDK\Trace\SpanExporter\SpanExporterFactoryInterface;
-use RuntimeException;
-
-/**
- * A registry to enable central registration of components that the SDK requires but which may be provided
- * by non-SDK modules, such as contrib and extension.
- */
-class Registry
-{
- private static array $spanExporterFactories = [];
- private static array $transportFactories = [];
- private static array $metricExporterFactories = [];
- private static array $textMapPropagators = [];
- private static array $logRecordExporterFactories = [];
- private static array $resourceDetectors = [];
-
- /**
- * @param TransportFactoryInterface|class-string<TransportFactoryInterface> $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<SpanExporterFactoryInterface> $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<MetricExporterFactoryInterface> $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<int, ResourceDetectorInterface>
- */
- 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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Resource\Detectors;
-
-use function class_exists;
-use Composer\InstalledVersions;
-use OpenTelemetry\SDK\Common\Attribute\Attributes;
-use OpenTelemetry\SDK\Resource\ResourceDetectorInterface;
-use OpenTelemetry\SDK\Resource\ResourceInfo;
-use OpenTelemetry\SDK\Resource\ResourceInfoFactory;
-use OpenTelemetry\SemConv\ResourceAttributes;
-
-final class Composer implements ResourceDetectorInterface
-{
- public function getResource(): ResourceInfo
- {
- if (!class_exists(InstalledVersions::class)) {
- return ResourceInfoFactory::emptyResource();
- }
-
- $attributes = [
- ResourceAttributes::SERVICE_NAME => 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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Resource\Detectors;
-
-use OpenTelemetry\SDK\Resource\ResourceDetectorInterface;
-use OpenTelemetry\SDK\Resource\ResourceInfo;
-use OpenTelemetry\SDK\Resource\ResourceInfoFactory;
-
-final class Composite implements ResourceDetectorInterface
-{
- private iterable $resourceDetectors;
-
- /**
- * @param iterable<ResourceDetectorInterface> $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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Resource\Detectors;
-
-use OpenTelemetry\SDK\Resource\ResourceDetectorInterface;
-use OpenTelemetry\SDK\Resource\ResourceInfo;
-
-final class Constant implements ResourceDetectorInterface
-{
- private ResourceInfo $resourceInfo;
-
- public function __construct(ResourceInfo $resourceInfo)
- {
- $this->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
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Resource\Detectors;
-
-use OpenTelemetry\SDK\Common\Attribute\Attributes;
-use OpenTelemetry\SDK\Common\Configuration\Configuration;
-use OpenTelemetry\SDK\Common\Configuration\Variables;
-use OpenTelemetry\SDK\Resource\ResourceDetectorInterface;
-use OpenTelemetry\SDK\Resource\ResourceInfo;
-use OpenTelemetry\SemConv\ResourceAttributes;
-
-/**
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/resource/sdk.md#specifying-resource-information-via-an-environment-variable
- */
-final class Environment implements ResourceDetectorInterface
-{
- public function getResource(): ResourceInfo
- {
- $attributes = Configuration::has(Variables::OTEL_RESOURCE_ATTRIBUTES)
- ? self::decode(Configuration::getMap(Variables::OTEL_RESOURCE_ATTRIBUTES, []))
- : [];
-
- //@see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/configuration/sdk-environment-variables.md#general-sdk-configuration
- $serviceName = Configuration::has(Variables::OTEL_SERVICE_NAME)
- ? Configuration::getString(Variables::OTEL_SERVICE_NAME)
- : null;
- if ($serviceName) {
- $attributes[ResourceAttributes::SERVICE_NAME] = $serviceName;
- }
-
- return ResourceInfo::create(Attributes::create($attributes), ResourceAttributes::SCHEMA_URL);
- }
-
- private static function decode(array $attributes): array
- {
- return array_map('urldecode', $attributes);
- }
-}
diff --git a/vendor/open-telemetry/sdk/Resource/Detectors/Host.php b/vendor/open-telemetry/sdk/Resource/Detectors/Host.php
deleted file mode 100644
index dd2554540..000000000
--- a/vendor/open-telemetry/sdk/Resource/Detectors/Host.php
+++ /dev/null
@@ -1,27 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Resource\Detectors;
-
-use OpenTelemetry\SDK\Common\Attribute\Attributes;
-use OpenTelemetry\SDK\Resource\ResourceDetectorInterface;
-use OpenTelemetry\SDK\Resource\ResourceInfo;
-use OpenTelemetry\SemConv\ResourceAttributes;
-use function php_uname;
-
-/**
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/v1.8.0/specification/resource/semantic_conventions/host.md#host
- */
-final class Host implements ResourceDetectorInterface
-{
- public function getResource(): ResourceInfo
- {
- $attributes = [
- ResourceAttributes::HOST_NAME => 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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Resource\Detectors;
-
-use OpenTelemetry\SDK\Common\Attribute\Attributes;
-use OpenTelemetry\SDK\Resource\ResourceDetectorInterface;
-use OpenTelemetry\SDK\Resource\ResourceInfo;
-use OpenTelemetry\SemConv\ResourceAttributes;
-use const PHP_OS;
-use const PHP_OS_FAMILY;
-use function php_uname;
-use function strtolower;
-
-/**
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/v1.8.0/specification/resource/semantic_conventions/os.md
- */
-final class OperatingSystem implements ResourceDetectorInterface
-{
- public function getResource(): ResourceInfo
- {
- $attributes = [
- ResourceAttributes::OS_TYPE => 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
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Resource\Detectors;
-
-use function extension_loaded;
-use function getmypid;
-use OpenTelemetry\SDK\Common\Attribute\Attributes;
-use OpenTelemetry\SDK\Resource\ResourceDetectorInterface;
-use OpenTelemetry\SDK\Resource\ResourceInfo;
-use OpenTelemetry\SemConv\ResourceAttributes;
-use const PHP_BINARY;
-
-/**
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/v1.8.0/specification/resource/semantic_conventions/process.md#process
- */
-final class Process implements ResourceDetectorInterface
-{
- /**
- * @psalm-suppress PossiblyUndefinedArrayOffset
- */
- public function getResource(): ResourceInfo
- {
- $attributes = [];
- $attributes[ResourceAttributes::PROCESS_PID] = getmypid();
- $attributes[ResourceAttributes::PROCESS_EXECUTABLE_PATH] = PHP_BINARY;
- /**
- * @psalm-suppress PossiblyUndefinedArrayOffset
- */
- if ($_SERVER['argv'] ?? null) {
- $attributes[ResourceAttributes::PROCESS_COMMAND] = $_SERVER['argv'][0];
- $attributes[ResourceAttributes::PROCESS_COMMAND_ARGS] = $_SERVER['argv'];
- }
-
- /** @phan-suppress-next-line PhanTypeComparisonFromArray */
- if (extension_loaded('posix') && ($user = \posix_getpwuid(\posix_geteuid())) !== false) {
- $attributes[ResourceAttributes::PROCESS_OWNER] = $user['name'];
- }
-
- return ResourceInfo::create(Attributes::create($attributes), ResourceAttributes::SCHEMA_URL);
- }
-}
diff --git a/vendor/open-telemetry/sdk/Resource/Detectors/ProcessRuntime.php b/vendor/open-telemetry/sdk/Resource/Detectors/ProcessRuntime.php
deleted file mode 100644
index f29ddfc8f..000000000
--- a/vendor/open-telemetry/sdk/Resource/Detectors/ProcessRuntime.php
+++ /dev/null
@@ -1,28 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Resource\Detectors;
-
-use OpenTelemetry\SDK\Common\Attribute\Attributes;
-use OpenTelemetry\SDK\Resource\ResourceDetectorInterface;
-use OpenTelemetry\SDK\Resource\ResourceInfo;
-use OpenTelemetry\SemConv\ResourceAttributes;
-use function php_sapi_name;
-use const PHP_VERSION;
-
-/**
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/v1.8.0/specification/resource/semantic_conventions/process.md#process-runtimes
- */
-final class ProcessRuntime implements ResourceDetectorInterface
-{
- public function getResource(): ResourceInfo
- {
- $attributes = [
- ResourceAttributes::PROCESS_RUNTIME_NAME => 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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Resource\Detectors;
-
-use function class_exists;
-use Composer\InstalledVersions;
-use OpenTelemetry\SDK\Common\Attribute\Attributes;
-use OpenTelemetry\SDK\Resource\ResourceDetectorInterface;
-use OpenTelemetry\SDK\Resource\ResourceInfo;
-use OpenTelemetry\SemConv\ResourceAttributes;
-
-/**
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/v1.8.0/specification/resource/semantic_conventions/README.md#telemetry-sdk
- */
-final class Sdk implements ResourceDetectorInterface
-{
- private const PACKAGES = [
- 'open-telemetry/sdk',
- 'open-telemetry/opentelemetry',
- ];
-
- public function getResource(): ResourceInfo
- {
- $attributes = [
- ResourceAttributes::TELEMETRY_SDK_NAME => '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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Resource\Detectors;
-
-use OpenTelemetry\SDK\Common\Attribute\Attributes;
-use OpenTelemetry\SDK\Resource\ResourceDetectorInterface;
-use OpenTelemetry\SDK\Resource\ResourceInfo;
-use OpenTelemetry\SemConv\ResourceAttributes;
-
-/**
- * @see https://github.com/open-telemetry/semantic-conventions/blob/main/docs/resource/README.md#semantic-attributes-with-sdk-provided-default-value
- */
-final class SdkProvided implements ResourceDetectorInterface
-{
- public function getResource(): ResourceInfo
- {
- $attributes = [
- ResourceAttributes::SERVICE_NAME => '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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Resource;
-
-interface ResourceDetectorInterface
-{
- public function getResource(): ResourceInfo;
-}
diff --git a/vendor/open-telemetry/sdk/Resource/ResourceInfo.php b/vendor/open-telemetry/sdk/Resource/ResourceInfo.php
deleted file mode 100644
index 4210a6142..000000000
--- a/vendor/open-telemetry/sdk/Resource/ResourceInfo.php
+++ /dev/null
@@ -1,125 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Resource;
-
-use OpenTelemetry\API\Behavior\LogsMessagesTrait;
-use OpenTelemetry\SDK\Common\Attribute\Attributes;
-use OpenTelemetry\SDK\Common\Attribute\AttributesInterface;
-
-use OpenTelemetry\SDK\Common\Dev\Compatibility\Util as BcUtil;
-
-/**
- * A Resource is an immutable representation of the entity producing telemetry. For example, a process producing telemetry
- * that is running in a container on Kubernetes has a Pod name, it is in a namespace and possibly is part of a Deployment
- * which also has a name. All three of these attributes can be included in the Resource.
- *
- * The class named as ResourceInfo due to `resource` is the soft reserved word in PHP.
- */
-class ResourceInfo
-{
- use LogsMessagesTrait;
-
- private AttributesInterface $attributes;
- private ?string $schemaUrl;
-
- private function __construct(AttributesInterface $attributes, ?string $schemaUrl = null)
- {
- $this->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Resource;
-
-use function in_array;
-use OpenTelemetry\API\Behavior\LogsMessagesTrait;
-use OpenTelemetry\SDK\Common\Attribute\Attributes;
-use OpenTelemetry\SDK\Common\Configuration\Configuration;
-use OpenTelemetry\SDK\Common\Configuration\KnownValues as Values;
-use OpenTelemetry\SDK\Common\Configuration\Variables as Env;
-use OpenTelemetry\SDK\Registry;
-use RuntimeException;
-
-class ResourceInfoFactory
-{
- use LogsMessagesTrait;
-
- public static function defaultResource(): ResourceInfo
- {
- $detectors = Configuration::getList(Env::OTEL_PHP_DETECTORS);
-
- if (in_array(Values::VALUE_ALL, $detectors)) {
- // ascending priority: keys from later detectors will overwrite earlier
- return (new Detectors\Composite([
- new Detectors\Host(),
- new Detectors\OperatingSystem(),
- new Detectors\Process(),
- new Detectors\ProcessRuntime(),
- new Detectors\Sdk(),
- new Detectors\SdkProvided(),
- new Detectors\Composer(),
- ...Registry::resourceDetectors(),
- new Detectors\Environment(),
- ]))->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK;
-
-use OpenTelemetry\API\Metrics\MeterProviderInterface;
-use OpenTelemetry\API\Trace\TracerProviderInterface;
-use OpenTelemetry\Context\Propagation\TextMapPropagatorInterface;
-use OpenTelemetry\SDK\Common\Configuration\Configuration;
-use OpenTelemetry\SDK\Common\Configuration\Variables;
-use OpenTelemetry\SDK\Logs\LoggerProviderInterface;
-
-class Sdk
-{
- private TracerProviderInterface $tracerProvider;
- private MeterProviderInterface $meterProvider;
- private LoggerProviderInterface $loggerProvider;
- private TextMapPropagatorInterface $propagator;
-
- public function __construct(
- TracerProviderInterface $tracerProvider,
- MeterProviderInterface $meterProvider,
- LoggerProviderInterface $loggerProvider,
- TextMapPropagatorInterface $propagator
- ) {
- $this->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK;
-
-use InvalidArgumentException;
-use OpenTelemetry\API\Globals;
-use OpenTelemetry\API\Instrumentation\Configurator;
-use OpenTelemetry\SDK\Common\Configuration\Configuration;
-use OpenTelemetry\SDK\Common\Configuration\Variables;
-use OpenTelemetry\SDK\Common\Util\ShutdownHandler;
-use OpenTelemetry\SDK\Logs\LoggerProviderFactory;
-use OpenTelemetry\SDK\Metrics\MeterProviderFactory;
-use OpenTelemetry\SDK\Propagation\PropagatorFactory;
-use OpenTelemetry\SDK\Trace\ExporterFactory;
-use OpenTelemetry\SDK\Trace\SamplerFactory;
-use OpenTelemetry\SDK\Trace\SpanProcessorFactory;
-use OpenTelemetry\SDK\Trace\TracerProviderBuilder;
-
-class SdkAutoloader
-{
- private static ?bool $enabled = null;
-
- public static function autoload(): bool
- {
- try {
- self::$enabled ??= Configuration::getBoolean(Variables::OTEL_PHP_AUTOLOAD_ENABLED);
- } catch (InvalidArgumentException $e) {
- //invalid setting, assume false
- self::$enabled = false;
- }
- if (!self::$enabled) {
- return false;
- }
- Globals::registerInitializer(function (Configurator $configurator) {
- $propagator = (new PropagatorFactory())->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK;
-
-use OpenTelemetry\API\Instrumentation\Configurator;
-use OpenTelemetry\Context\Context;
-use OpenTelemetry\Context\Propagation\NoopTextMapPropagator;
-use OpenTelemetry\Context\Propagation\TextMapPropagatorInterface;
-use OpenTelemetry\Context\ScopeInterface;
-use OpenTelemetry\SDK\Common\Util\ShutdownHandler;
-use OpenTelemetry\SDK\Logs\LoggerProviderInterface;
-use OpenTelemetry\SDK\Logs\NoopLoggerProvider;
-use OpenTelemetry\SDK\Metrics\MeterProviderInterface;
-use OpenTelemetry\SDK\Metrics\NoopMeterProvider;
-use OpenTelemetry\SDK\Trace\NoopTracerProvider;
-use OpenTelemetry\SDK\Trace\TracerProviderInterface;
-
-class SdkBuilder
-{
- private ?TracerProviderInterface $tracerProvider = null;
- private ?MeterProviderInterface $meterProvider = null;
- private ?LoggerProviderInterface $loggerProvider = null;
- private ?TextMapPropagatorInterface $propagator = null;
- private bool $autoShutdown = false;
-
- /**
- * Automatically shut down providers on process completion. If not set, the user is responsible for calling `shutdown`.
- */
- public function setAutoShutdown(bool $shutdown): self
- {
- $this->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Trace\Behavior;
-
-use Psr\Log\LoggerAwareTrait as PsrTrait;
-use Psr\Log\LoggerInterface;
-use Psr\Log\LogLevel;
-use Psr\Log\NullLogger;
-
-trait LoggerAwareTrait
-{
- use PsrTrait;
-
- private string $defaultLogLevel = LogLevel::INFO;
-
- /**
- * @param string $logLevel
- */
- public function setDefaultLogLevel(string $logLevel): void
- {
- $this->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Trace\Behavior;
-
-use OpenTelemetry\SDK\Common\Future\CancellationInterface;
-use OpenTelemetry\SDK\Common\Future\FutureInterface;
-use OpenTelemetry\SDK\Trace\SpanDataInterface;
-use OpenTelemetry\SDK\Trace\SpanExporterInterface;
-
-trait SpanExporterDecoratorTrait
-{
- protected SpanExporterInterface $decorated;
-
- /**
- * @param iterable<SpanDataInterface> $batch
- * @return FutureInterface<bool>
- */
- 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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Trace\Behavior;
-
-use OpenTelemetry\SDK\Common\Future\CancellationInterface;
-use OpenTelemetry\SDK\Common\Future\CompletedFuture;
-use OpenTelemetry\SDK\Common\Future\FutureInterface;
-use OpenTelemetry\SDK\Trace\SpanDataInterface;
-
-trait SpanExporterTrait
-{
- private bool $running = true;
-
- /** @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
- {
- $this->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<SpanDataInterface> $batch
- * @return FutureInterface<bool>
- */
- 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<SpanDataInterface> $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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Trace\Behavior;
-
-use OpenTelemetry\SDK\Trace\SpanConverterInterface;
-use OpenTelemetry\SDK\Trace\SpanDataInterface;
-use OpenTelemetry\SDK\Trace\SpanExporter\NullSpanConverter;
-
-trait UsesSpanConverterTrait
-{
- private ?SpanConverterInterface $converter = null;
-
- /**
- * @param SpanConverterInterface $converter
- */
- protected function setSpanConverter(SpanConverterInterface $converter): void
- {
- $this->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Trace;
-
-use function count;
-use OpenTelemetry\SDK\Common\Attribute\AttributesInterface;
-
-final class Event implements EventInterface
-{
- private string $name;
- private int $timestamp;
- private AttributesInterface $attributes;
-
- public function __construct(string $name, int $timestamp, AttributesInterface $attributes)
- {
- $this->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Trace;
-
-use OpenTelemetry\SDK\Common\Attribute\AttributesInterface;
-
-interface EventInterface
-{
- public function getName(): string;
- public function getAttributes(): AttributesInterface;
- public function getEpochNanos(): int;
- public function getTotalAttributeCount(): int;
-}
diff --git a/vendor/open-telemetry/sdk/Trace/ExporterFactory.php b/vendor/open-telemetry/sdk/Trace/ExporterFactory.php
deleted file mode 100644
index 9b652cc2f..000000000
--- a/vendor/open-telemetry/sdk/Trace/ExporterFactory.php
+++ /dev/null
@@ -1,32 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Trace;
-
-use InvalidArgumentException;
-use OpenTelemetry\SDK\Common\Configuration\Configuration;
-use OpenTelemetry\SDK\Common\Configuration\Variables;
-use OpenTelemetry\SDK\Registry;
-use RuntimeException;
-
-class ExporterFactory
-{
- /**
- * @throws RuntimeException
- */
- public function create(): ?SpanExporterInterface
- {
- $exporters = Configuration::getList(Variables::OTEL_TRACES_EXPORTER);
- if (1 !== count($exporters)) {
- throw new InvalidArgumentException(sprintf('Configuration %s requires exactly 1 exporter', Variables::OTEL_TRACES_EXPORTER));
- }
- $exporter = $exporters[0];
- if ($exporter === 'none') {
- return null;
- }
- $factory = Registry::spanExporterFactory($exporter);
-
- return $factory->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Trace;
-
-interface IdGeneratorInterface
-{
- public function generateTraceId(): string;
-
- public function generateSpanId(): string;
-}
diff --git a/vendor/open-telemetry/sdk/Trace/ImmutableSpan.php b/vendor/open-telemetry/sdk/Trace/ImmutableSpan.php
deleted file mode 100644
index 57836d4c3..000000000
--- a/vendor/open-telemetry/sdk/Trace/ImmutableSpan.php
+++ /dev/null
@@ -1,153 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Trace;
-
-use function max;
-use OpenTelemetry\API\Trace as API;
-use OpenTelemetry\SDK\Common\Attribute\AttributesInterface;
-use OpenTelemetry\SDK\Common\Instrumentation\InstrumentationScopeInterface;
-use OpenTelemetry\SDK\Resource\ResourceInfo;
-
-/**
- * @psalm-immutable
- */
-final class ImmutableSpan implements SpanDataInterface
-{
- private Span $span;
-
- /** @var non-empty-string */
- private string $name;
-
- /** @var list<EventInterface> */
- private array $events;
-
- /** @var list<LinkInterface> */
- 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<LinkInterface> $links
- * @param list<EventInterface> $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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Trace;
-
-use OpenTelemetry\API\Trace as API;
-use OpenTelemetry\SDK\Common\Attribute\AttributesInterface;
-
-final class Link implements LinkInterface
-{
- private AttributesInterface $attributes;
- private API\SpanContextInterface $context;
-
- public function __construct(API\SpanContextInterface $context, AttributesInterface $attributes)
- {
- $this->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Trace;
-
-use OpenTelemetry\API\Trace\SpanContextInterface;
-use OpenTelemetry\SDK\Common\Attribute\AttributesInterface;
-
-interface LinkInterface
-{
- public function getSpanContext(): SpanContextInterface;
- public function getAttributes(): AttributesInterface;
-}
diff --git a/vendor/open-telemetry/sdk/Trace/NoopTracerProvider.php b/vendor/open-telemetry/sdk/Trace/NoopTracerProvider.php
deleted file mode 100644
index 7cd4d4e7d..000000000
--- a/vendor/open-telemetry/sdk/Trace/NoopTracerProvider.php
+++ /dev/null
@@ -1,21 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Trace;
-
-use OpenTelemetry\API;
-use OpenTelemetry\SDK\Common\Future\CancellationInterface;
-
-class NoopTracerProvider extends API\Trace\NoopTracerProvider implements TracerProviderInterface
-{
- public function forceFlush(?CancellationInterface $cancellation = null): bool
- {
- return true;
- }
-
- public function shutdown(?CancellationInterface $cancellation = null): bool
- {
- return true;
- }
-}
diff --git a/vendor/open-telemetry/sdk/Trace/RandomIdGenerator.php b/vendor/open-telemetry/sdk/Trace/RandomIdGenerator.php
deleted file mode 100644
index 39767fb0f..000000000
--- a/vendor/open-telemetry/sdk/Trace/RandomIdGenerator.php
+++ /dev/null
@@ -1,49 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Trace;
-
-use OpenTelemetry\API\Trace\SpanContextValidator;
-use Throwable;
-
-class RandomIdGenerator implements IdGeneratorInterface
-{
- private const TRACE_ID_HEX_LENGTH = 32;
- private const SPAN_ID_HEX_LENGTH = 16;
-
- public function generateTraceId(): string
- {
- do {
- $traceId = $this->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Trace;
-
-use OpenTelemetry\API\Trace as API;
-
-interface ReadWriteSpanInterface extends API\SpanInterface, ReadableSpanInterface
-{
-}
diff --git a/vendor/open-telemetry/sdk/Trace/ReadableSpanInterface.php b/vendor/open-telemetry/sdk/Trace/ReadableSpanInterface.php
deleted file mode 100644
index 40704ab4e..000000000
--- a/vendor/open-telemetry/sdk/Trace/ReadableSpanInterface.php
+++ /dev/null
@@ -1,48 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Trace;
-
-use OpenTelemetry\API\Trace as API;
-use OpenTelemetry\SDK\Common\Instrumentation\InstrumentationScopeInterface;
-
-/**
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/v1.6.1/specification/trace/sdk.md#additional-span-interfaces
- */
-interface ReadableSpanInterface
-{
- public function getName(): string;
-
- public function getContext(): API\SpanContextInterface;
-
- public function getParentContext(): API\SpanContextInterface;
-
- public function getInstrumentationScope(): InstrumentationScopeInterface;
-
- public function hasEnded(): bool;
-
- /**
- * Returns an immutable representation of this instance.
- */
- public function toSpanData(): SpanDataInterface;
-
- /**
- * Returns the duration of the {@see API\SpanInterface} in nanoseconds.
- * If still active, returns `now() - start`.
- */
- public function getDuration(): int;
-
- /**
- * @see API\SpanKind
- */
- public function getKind(): int;
-
- /**
- * Returns the value of the attribute with the provided *key*.
- * Returns `null` if there are no attributes set, or no attribute with that key exists.
- *
- * @return mixed
- */
- public function getAttribute(string $key);
-}
diff --git a/vendor/open-telemetry/sdk/Trace/Sampler/AlwaysOffSampler.php b/vendor/open-telemetry/sdk/Trace/Sampler/AlwaysOffSampler.php
deleted file mode 100644
index ee7e70a56..000000000
--- a/vendor/open-telemetry/sdk/Trace/Sampler/AlwaysOffSampler.php
+++ /dev/null
@@ -1,50 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Trace\Sampler;
-
-use OpenTelemetry\Context\ContextInterface;
-use OpenTelemetry\SDK\Common\Attribute\AttributesInterface;
-use OpenTelemetry\SDK\Trace\SamplerInterface;
-use OpenTelemetry\SDK\Trace\SamplingResult;
-use OpenTelemetry\SDK\Trace\Span;
-
-/**
- * This implementation of the SamplerInterface always skips record.
- * Example:
- * ```
- * use OpenTelemetry\Sdk\Trace\AlwaysOffSampler;
- * $sampler = new AlwaysOffSampler();
- * ```
- */
-class AlwaysOffSampler implements SamplerInterface
-{
- /**
- * Returns false because we never want to sample.
- * {@inheritdoc}
- */
- public function shouldSample(
- ContextInterface $parentContext,
- string $traceId,
- string $spanName,
- int $spanKind,
- AttributesInterface $attributes,
- array $links
- ): SamplingResult {
- $parentSpan = Span::fromContext($parentContext);
- $parentSpanContext = $parentSpan->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Trace\Sampler;
-
-use OpenTelemetry\Context\ContextInterface;
-use OpenTelemetry\SDK\Common\Attribute\AttributesInterface;
-use OpenTelemetry\SDK\Trace\SamplerInterface;
-use OpenTelemetry\SDK\Trace\SamplingResult;
-use OpenTelemetry\SDK\Trace\Span;
-
-/**
- * This implementation of the SamplerInterface always records.
- * Example:
- * ```
- * use OpenTelemetry\Sdk\Trace\AlwaysOnSampler;
- * $sampler = new AlwaysOnSampler();
- * ```
- */
-class AlwaysOnSampler implements SamplerInterface
-{
- /**
- * Returns true because we always want to sample.
- * {@inheritdoc}
- */
- public function shouldSample(
- ContextInterface $parentContext,
- string $traceId,
- string $spanName,
- int $spanKind,
- AttributesInterface $attributes,
- array $links
- ): SamplingResult {
- $parentSpan = Span::fromContext($parentContext);
- $parentSpanContext = $parentSpan->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Trace\Sampler;
-
-use OpenTelemetry\Context\ContextInterface;
-use OpenTelemetry\SDK\Common\Attribute\AttributesInterface;
-use OpenTelemetry\SDK\Trace\SamplerInterface;
-use OpenTelemetry\SDK\Trace\SamplingResult;
-use OpenTelemetry\SDK\Trace\Span;
-
-/**
- * Phan seems to struggle with the variadic arguments in the latest version
- * @phan-file-suppress PhanParamTooFewUnpack
- */
-
-/**
- * This implementation of the SamplerInterface that respects parent context's sampling decision
- * and delegates for the root span.
- * Example:
- * ```
- * use OpenTelemetry\API\Trace\ParentBased;
- * use OpenTelemetry\API\Trace\AlwaysOnSampler
- *
- * $rootSampler = new AlwaysOnSampler();
- * $sampler = new ParentBased($rootSampler);
- * ```
- */
-class ParentBased implements SamplerInterface
-{
- private SamplerInterface $root;
-
- private SamplerInterface $remoteParentSampler;
-
- private SamplerInterface $remoteParentNotSampler;
-
- private SamplerInterface $localParentSampler;
-
- private SamplerInterface $localParentNotSampler;
-
- /**
- * ParentBased sampler delegates the sampling decision based on the parent context.
- *
- * @param SamplerInterface $root Sampler called for the span with no parent (root span).
- * @param SamplerInterface|null $remoteParentSampler Sampler called for the span with the remote sampled parent. When null, `AlwaysOnSampler` is used.
- * @param SamplerInterface|null $remoteParentNotSampler Sampler called for the span with the remote not sampled parent. When null, `AlwaysOffSampler` is used.
- * @param SamplerInterface|null $localParentSampler Sampler called for the span with local the sampled parent. When null, `AlwaysOnSampler` is used.
- * @param SamplerInterface|null $localParentNotSampler Sampler called for the span with the local not sampled parent. When null, `AlwaysOffSampler` is used.
- */
- public function __construct(
- SamplerInterface $root,
- ?SamplerInterface $remoteParentSampler = null,
- ?SamplerInterface $remoteParentNotSampler = null,
- ?SamplerInterface $localParentSampler = null,
- ?SamplerInterface $localParentNotSampler = null
- ) {
- $this->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Trace\Sampler;
-
-use InvalidArgumentException;
-use OpenTelemetry\Context\ContextInterface;
-use OpenTelemetry\SDK\Common\Attribute\AttributesInterface;
-use OpenTelemetry\SDK\Trace\SamplerInterface;
-use OpenTelemetry\SDK\Trace\SamplingResult;
-use OpenTelemetry\SDK\Trace\Span;
-
-/**
- * This implementation of the SamplerInterface records with given probability.
- * Example:
- * ```
- * use OpenTelemetry\API\Trace\TraceIdRatioBasedSampler;
- * $sampler = new TraceIdRatioBasedSampler(0.01);
- * ```
- */
-class TraceIdRatioBasedSampler implements SamplerInterface
-{
- private float $probability;
-
- /**
- * TraceIdRatioBasedSampler constructor.
- * @param float $probability Probability float value between 0.0 and 1.0.
- */
- public function __construct(float $probability)
- {
- if ($probability < 0.0 || $probability > 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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Trace;
-
-use InvalidArgumentException;
-use OpenTelemetry\SDK\Common\Configuration\Configuration;
-use OpenTelemetry\SDK\Common\Configuration\KnownValues as Values;
-use OpenTelemetry\SDK\Common\Configuration\Variables as Env;
-use OpenTelemetry\SDK\Trace\Sampler\AlwaysOffSampler;
-use OpenTelemetry\SDK\Trace\Sampler\AlwaysOnSampler;
-use OpenTelemetry\SDK\Trace\Sampler\ParentBased;
-use OpenTelemetry\SDK\Trace\Sampler\TraceIdRatioBasedSampler;
-
-class SamplerFactory
-{
- private const TRACEIDRATIO_PREFIX = 'traceidratio';
-
- public function create(): SamplerInterface
- {
- $name = Configuration::getString(Env::OTEL_TRACES_SAMPLER);
-
- if (strpos($name, self::TRACEIDRATIO_PREFIX) !== false) {
- $arg = Configuration::getRatio(Env::OTEL_TRACES_SAMPLER_ARG);
-
- switch ($name) {
- case Values::VALUE_TRACE_ID_RATIO:
- return new TraceIdRatioBasedSampler($arg);
- case Values::VALUE_PARENT_BASED_TRACE_ID_RATIO:
- return new ParentBased(new TraceIdRatioBasedSampler($arg));
- }
- }
-
- switch ($name) {
- case Values::VALUE_ALWAYS_ON:
- return new AlwaysOnSampler();
- case Values::VALUE_ALWAYS_OFF:
- return new AlwaysOffSampler();
- case Values::VALUE_PARENT_BASED_ALWAYS_ON:
- return new ParentBased(new AlwaysOnSampler());
- case Values::VALUE_PARENT_BASED_ALWAYS_OFF:
- return new ParentBased(new AlwaysOffSampler());
- default:
- throw new InvalidArgumentException(sprintf('Unknown sampler: %s', $name));
- }
- }
-}
diff --git a/vendor/open-telemetry/sdk/Trace/SamplerInterface.php b/vendor/open-telemetry/sdk/Trace/SamplerInterface.php
deleted file mode 100644
index de1147fa6..000000000
--- a/vendor/open-telemetry/sdk/Trace/SamplerInterface.php
+++ /dev/null
@@ -1,46 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Trace;
-
-use OpenTelemetry\Context\ContextInterface;
-use OpenTelemetry\SDK\Common\Attribute\AttributesInterface;
-
-/**
- * This interface is used to organize sampling logic.
- *
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/sdk.md#sampler
- */
-interface SamplerInterface
-{
- /**
- * Returns SamplingResult.
- *
- * @param ContextInterface $parentContext Context with parent Span. The Span's SpanContext may be invalid to indicate a root span.
- * @param string $traceId TraceId of the Span to be created. It can be different from the TraceId in the SpanContext.
- * Typically in situations when the Span to be created starts a new Trace.
- * @param string $spanName Name of the Span to be created.
- * @param int $spanKind Span kind.
- * @param AttributesInterface $attributes Initial set of Attributes for the Span being constructed.
- * @param list<LinkInterface> $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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Trace;
-
-use OpenTelemetry\API\Trace as API;
-
-final class SamplingResult
-{
- /**
- * Span will not be recorded and all events and attributes will be dropped.
- */
- public const DROP = 0;
-
- /**
- * Span will be recorded but SpanExporters will not receive this Span.
- */
- public const RECORD_ONLY = 1;
-
- /**
- * Span will be recorder and exported.
- */
- public const RECORD_AND_SAMPLE = 2;
-
- /**
- * @var int A sampling Decision.
- */
- private int $decision;
-
- /**
- * @var iterable A set of span Attributes that will also be added to the Span.
- */
- private iterable $attributes;
-
- /**
- * @var ?API\TraceStateInterface A Tracestate that will be associated with the Span through the new SpanContext.
- */
- private ?API\TraceStateInterface $traceState;
-
- public function __construct(int $decision, iterable $attributes = [], ?API\TraceStateInterface $traceState = null)
- {
- $this->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Trace;
-
-use function get_class;
-use OpenTelemetry\API\Trace as API;
-use OpenTelemetry\Context\ContextInterface;
-use OpenTelemetry\SDK\Common\Attribute\AttributesBuilderInterface;
-use OpenTelemetry\SDK\Common\Dev\Compatibility\Util as BcUtil;
-use OpenTelemetry\SDK\Common\Exception\StackTraceFormatter;
-use OpenTelemetry\SDK\Common\Instrumentation\InstrumentationScopeInterface;
-use OpenTelemetry\SDK\Common\Time\ClockFactory;
-use OpenTelemetry\SDK\Resource\ResourceInfo;
-use Throwable;
-
-final class Span extends API\Span implements ReadWriteSpanInterface
-{
-
- /** @readonly */
- private API\SpanContextInterface $context;
-
- /** @readonly */
- private API\SpanContextInterface $parentSpanContext;
-
- /** @readonly */
- private SpanLimits $spanLimits;
-
- /** @readonly */
- private SpanProcessorInterface $spanProcessor;
-
- /**
- * @readonly
- *
- * @var list<LinkInterface>
- */
- 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<EventInterface> */
- 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<LinkInterface> $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<LinkInterface> $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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Trace;
-
-use function in_array;
-use OpenTelemetry\API\Trace as API;
-use OpenTelemetry\Context\Context;
-use OpenTelemetry\Context\ContextInterface;
-use OpenTelemetry\SDK\Common\Attribute\AttributesBuilderInterface;
-use OpenTelemetry\SDK\Common\Instrumentation\InstrumentationScopeInterface;
-
-final class SpanBuilder implements API\SpanBuilderInterface
-{
- /**
- * @var non-empty-string
- * @readonly
- */
- private string $spanName;
-
- /** @readonly */
- private InstrumentationScopeInterface $instrumentationScope;
-
- /** @readonly */
- private TracerSharedState $tracerSharedState;
-
- /** @var ContextInterface|false|null */
- private $parentContext = null;
-
- /**
- * @psalm-var API\SpanKind::KIND_*
- */
- private int $spanKind = API\SpanKind::KIND_INTERNAL;
-
- /** @var list<LinkInterface> */
- 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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Trace;
-
-interface SpanConverterInterface
-{
- public function convert(iterable $spans): array;
-}
diff --git a/vendor/open-telemetry/sdk/Trace/SpanDataInterface.php b/vendor/open-telemetry/sdk/Trace/SpanDataInterface.php
deleted file mode 100644
index 37132b9e5..000000000
--- a/vendor/open-telemetry/sdk/Trace/SpanDataInterface.php
+++ /dev/null
@@ -1,46 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Trace;
-
-use OpenTelemetry\API\Trace as API;
-use OpenTelemetry\SDK\Common\Attribute\AttributesInterface;
-use OpenTelemetry\SDK\Common\Instrumentation\InstrumentationScopeInterface;
-use OpenTelemetry\SDK\Resource\ResourceInfo;
-
-/**
- * Represents an immutable snapshot of a {@see API\SpanInterface}.
- *
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/v1.6.1/specification/trace/sdk.md#additional-span-interfaces
- */
-interface SpanDataInterface
-{
- public function getName(): string;
- public function getKind(): int;
- public function getContext(): API\SpanContextInterface;
- public function getParentContext(): API\SpanContextInterface;
- public function getTraceId(): string;
- public function getSpanId(): string;
- public function getParentSpanId(): string;
- public function getStatus(): StatusDataInterface;
- public function getStartEpochNanos(): int;
- public function getAttributes(): AttributesInterface;
-
- /** @return list<EventInterface> */
- public function getEvents(): array;
-
- /** @return list<LinkInterface> */
- 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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Trace\SpanExporter;
-
-use OpenTelemetry\SDK\Trace\Behavior\SpanExporterDecoratorTrait;
-
-abstract class AbstractDecorator
-{
- use SpanExporterDecoratorTrait;
-}
diff --git a/vendor/open-telemetry/sdk/Trace/SpanExporter/ConsoleSpanExporter.php b/vendor/open-telemetry/sdk/Trace/SpanExporter/ConsoleSpanExporter.php
deleted file mode 100644
index 482d122cc..000000000
--- a/vendor/open-telemetry/sdk/Trace/SpanExporter/ConsoleSpanExporter.php
+++ /dev/null
@@ -1,57 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Trace\SpanExporter;
-
-use JsonException;
-use OpenTelemetry\API\Behavior\LogsMessagesTrait;
-use OpenTelemetry\SDK\Common\Export\TransportInterface;
-use OpenTelemetry\SDK\Common\Future\CancellationInterface;
-use OpenTelemetry\SDK\Common\Future\FutureInterface;
-use OpenTelemetry\SDK\Trace\Behavior\UsesSpanConverterTrait;
-use OpenTelemetry\SDK\Trace\SpanConverterInterface;
-use OpenTelemetry\SDK\Trace\SpanExporterInterface;
-
-class ConsoleSpanExporter implements SpanExporterInterface
-{
- use UsesSpanConverterTrait;
- use LogsMessagesTrait;
-
- private TransportInterface $transport;
-
- public function __construct(TransportInterface $transport, ?SpanConverterInterface $converter = null)
- {
- $this->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Trace\SpanExporter;
-
-use OpenTelemetry\SDK\Registry;
-use OpenTelemetry\SDK\Trace\SpanExporterInterface;
-
-class ConsoleSpanExporterFactory implements SpanExporterFactoryInterface
-{
- public function create(): SpanExporterInterface
- {
- $transport = Registry::transportFactory('stream')->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Trace\SpanExporter;
-
-use OpenTelemetry\API\Trace\SpanContextInterface;
-use OpenTelemetry\API\Trace\SpanKind;
-use OpenTelemetry\SDK\Common\Attribute\AttributesInterface;
-use OpenTelemetry\SDK\Resource\ResourceInfo;
-use OpenTelemetry\SDK\Trace\EventInterface;
-use OpenTelemetry\SDK\Trace\LinkInterface;
-use OpenTelemetry\SDK\Trace\SpanConverterInterface;
-use OpenTelemetry\SDK\Trace\SpanDataInterface;
-use OpenTelemetry\SDK\Trace\StatusDataInterface;
-use ReflectionClass;
-
-class FriendlySpanConverter implements SpanConverterInterface
-{
- private const NAME_ATTR = 'name';
- private const CONTEXT_ATTR = 'context';
- private const TRACE_ID_ATTR = 'trace_id';
- private const SPAN_ID_ATTR = 'span_id';
- private const TRACE_STATE_ATTR = 'trace_state';
- private const RESOURCE_ATTR = 'resource';
- private const PARENT_SPAN_ATTR = 'parent_span_id';
- private const KIND_ATTR = 'kind';
- private const START_ATTR = 'start';
- private const END_ATTR = 'end';
- private const ATTRIBUTES_ATTR = 'attributes';
- private const STATUS_ATTR = 'status';
- private const CODE_ATTR = 'code';
- private const DESCRIPTION_ATTR = 'description';
- private const EVENTS_ATTR = 'events';
- private const TIMESTAMP_ATTR = 'timestamp';
- private const LINKS_ATTR = 'links';
-
- public function convert(iterable $spans): array
- {
- $aggregate = [];
- foreach ($spans as $span) {
- $aggregate[] = $this->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<EventInterface> $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<LinkInterface> $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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Trace\SpanExporter;
-
-use ArrayObject;
-use OpenTelemetry\SDK\Trace\Behavior\SpanExporterTrait;
-use OpenTelemetry\SDK\Trace\SpanExporterInterface;
-
-class InMemoryExporter implements SpanExporterInterface
-{
- use SpanExporterTrait;
-
- private ArrayObject $storage;
-
- public function __construct(?ArrayObject $storage = null)
- {
- $this->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Trace\SpanExporter;
-
-use OpenTelemetry\SDK\Trace\SpanExporterInterface;
-
-class InMemorySpanExporterFactory implements SpanExporterFactoryInterface
-{
- public function create(): SpanExporterInterface
- {
- return new InMemoryExporter();
- }
-}
diff --git a/vendor/open-telemetry/sdk/Trace/SpanExporter/LoggerDecorator.php b/vendor/open-telemetry/sdk/Trace/SpanExporter/LoggerDecorator.php
deleted file mode 100644
index b7cf511a5..000000000
--- a/vendor/open-telemetry/sdk/Trace/SpanExporter/LoggerDecorator.php
+++ /dev/null
@@ -1,58 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Trace\SpanExporter;
-
-use OpenTelemetry\SDK\Trace\Behavior\LoggerAwareTrait;
-use OpenTelemetry\SDK\Trace\Behavior\SpanExporterDecoratorTrait;
-use OpenTelemetry\SDK\Trace\Behavior\UsesSpanConverterTrait;
-use OpenTelemetry\SDK\Trace\SpanConverterInterface;
-use OpenTelemetry\SDK\Trace\SpanExporterInterface;
-use Psr\Log\LoggerAwareInterface;
-use Psr\Log\LoggerInterface;
-use Psr\Log\LogLevel;
-use Psr\Log\NullLogger;
-
-class LoggerDecorator implements SpanExporterInterface, LoggerAwareInterface
-{
- use SpanExporterDecoratorTrait;
- use UsesSpanConverterTrait;
- use LoggerAwareTrait;
-
- public function __construct(
- SpanExporterInterface $decorated,
- ?LoggerInterface $logger = null,
- ?SpanConverterInterface $converter = null
- ) {
- $this->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Trace\SpanExporter;
-
-use OpenTelemetry\SDK\Trace\Behavior\LoggerAwareTrait;
-use OpenTelemetry\SDK\Trace\Behavior\SpanExporterTrait;
-use OpenTelemetry\SDK\Trace\Behavior\UsesSpanConverterTrait;
-use OpenTelemetry\SDK\Trace\SpanConverterInterface;
-use OpenTelemetry\SDK\Trace\SpanExporterInterface;
-use Psr\Log\LoggerAwareInterface;
-use Psr\Log\LoggerInterface;
-use Psr\Log\LogLevel;
-use Psr\Log\NullLogger;
-use Throwable;
-
-class LoggerExporter implements SpanExporterInterface, LoggerAwareInterface
-{
- use SpanExporterTrait;
- use UsesSpanConverterTrait;
- use LoggerAwareTrait;
-
- public const GRANULARITY_AGGREGATE = 1;
- public const GRANULARITY_SPAN = 2;
-
- private string $serviceName;
- private int $granularity = self::GRANULARITY_AGGREGATE;
-
- /**
- * @param string $serviceName
- * @param LoggerInterface|null $logger
- * @param string|null $defaultLogLevel
- * @param SpanConverterInterface|null $converter
- * @param int $granularity
- */
- public function __construct(
- string $serviceName,
- ?LoggerInterface $logger = null,
- ?string $defaultLogLevel = LogLevel::DEBUG,
- ?SpanConverterInterface $converter = null,
- int $granularity = 1
- ) {
- $this->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Trace\SpanExporter;
-
-use OpenTelemetry\SDK\Trace\SpanConverterInterface;
-
-class NullSpanConverter implements SpanConverterInterface
-{
- public function convert(iterable $spans): array
- {
- return [[]];
- }
-}
diff --git a/vendor/open-telemetry/sdk/Trace/SpanExporter/SpanExporterFactoryInterface.php b/vendor/open-telemetry/sdk/Trace/SpanExporter/SpanExporterFactoryInterface.php
deleted file mode 100644
index 8d44b35eb..000000000
--- a/vendor/open-telemetry/sdk/Trace/SpanExporter/SpanExporterFactoryInterface.php
+++ /dev/null
@@ -1,12 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Trace\SpanExporter;
-
-use OpenTelemetry\SDK\Trace\SpanExporterInterface;
-
-interface SpanExporterFactoryInterface
-{
- public function create(): SpanExporterInterface;
-}
diff --git a/vendor/open-telemetry/sdk/Trace/SpanExporter/_register.php b/vendor/open-telemetry/sdk/Trace/SpanExporter/_register.php
deleted file mode 100644
index aad07be42..000000000
--- a/vendor/open-telemetry/sdk/Trace/SpanExporter/_register.php
+++ /dev/null
@@ -1,7 +0,0 @@
-<?php
-
-declare(strict_types=1);
-\OpenTelemetry\SDK\Registry::registerSpanExporterFactory('console', \OpenTelemetry\SDK\Trace\SpanExporter\ConsoleSpanExporterFactory::class);
-\OpenTelemetry\SDK\Registry::registerSpanExporterFactory('memory', \OpenTelemetry\SDK\Trace\SpanExporter\InMemorySpanExporterFactory::class);
-
-\OpenTelemetry\SDK\Registry::registerTransportFactory('stream', \OpenTelemetry\SDK\Common\Export\Stream\StreamTransportFactory::class);
diff --git a/vendor/open-telemetry/sdk/Trace/SpanExporterInterface.php b/vendor/open-telemetry/sdk/Trace/SpanExporterInterface.php
deleted file mode 100644
index fca336896..000000000
--- a/vendor/open-telemetry/sdk/Trace/SpanExporterInterface.php
+++ /dev/null
@@ -1,29 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Trace;
-
-use OpenTelemetry\SDK\Common\Future\CancellationInterface;
-use OpenTelemetry\SDK\Common\Future\FutureInterface;
-
-/**
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/v1.7.0/specification/trace/sdk.md#span-exporter
- */
-interface SpanExporterInterface
-{
- /**
- * @param iterable<SpanDataInterface> $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<bool>
- */
- 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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Trace;
-
-use OpenTelemetry\SDK\Common\Attribute\AttributesFactoryInterface;
-
-final class SpanLimits
-{
- public const DEFAULT_SPAN_ATTRIBUTE_LENGTH_LIMIT = PHP_INT_MAX;
- public const DEFAULT_SPAN_ATTRIBUTE_COUNT_LIMIT = 128;
- public const DEFAULT_SPAN_EVENT_COUNT_LIMIT = 128;
- public const DEFAULT_SPAN_LINK_COUNT_LIMIT = 128;
- public const DEFAULT_EVENT_ATTRIBUTE_COUNT_LIMIT = 128;
- public const DEFAULT_LINK_ATTRIBUTE_COUNT_LIMIT = 128;
-
- private AttributesFactoryInterface $attributesFactory;
- private AttributesFactoryInterface $eventAttributesFactory;
- private AttributesFactoryInterface $linkAttributesFactory;
- private int $eventCountLimit;
- private int $linkCountLimit;
-
- public function getAttributesFactory(): AttributesFactoryInterface
- {
- return $this->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Trace;
-
-use OpenTelemetry\SDK\Common\Attribute\Attributes;
-use OpenTelemetry\SDK\Common\Attribute\FilteredAttributesFactory;
-use OpenTelemetry\SDK\Common\Configuration\Configuration;
-use OpenTelemetry\SDK\Common\Configuration\Variables as Env;
-use OpenTelemetry\SemConv\TraceAttributes;
-use const PHP_INT_MAX;
-
-class SpanLimitsBuilder
-{
- /** @var ?int Maximum allowed attribute count per record */
- private ?int $attributeCountLimit = null;
-
- /** @var ?int Maximum allowed attribute value length */
- private ?int $attributeValueLengthLimit = null;
-
- /** @var ?int Maximum allowed span event count */
- private ?int $eventCountLimit = null;
-
- /** @var ?int Maximum allowed span link count */
- private ?int $linkCountLimit = null;
-
- /** @var ?int Maximum allowed attribute per span event count */
- private ?int $attributePerEventCountLimit = null;
-
- /** @var ?int Maximum allowed attribute per span link count */
- private ?int $attributePerLinkCountLimit = null;
-
- private bool $retainGeneralIdentityAttributes = false;
-
- /**
- * @param int $attributeCountLimit Maximum allowed attribute count per record
- */
- public function setAttributeCountLimit(int $attributeCountLimit): SpanLimitsBuilder
- {
- $this->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Trace\SpanProcessor;
-
-use function assert;
-use function count;
-use InvalidArgumentException;
-use OpenTelemetry\API\Behavior\LogsMessagesTrait;
-use OpenTelemetry\API\Metrics\MeterProviderInterface;
-use OpenTelemetry\API\Metrics\ObserverInterface;
-use OpenTelemetry\Context\Context;
-use OpenTelemetry\Context\ContextInterface;
-use OpenTelemetry\SDK\Common\Future\CancellationInterface;
-use OpenTelemetry\SDK\Common\Time\ClockInterface;
-use OpenTelemetry\SDK\Trace\ReadableSpanInterface;
-use OpenTelemetry\SDK\Trace\ReadWriteSpanInterface;
-use OpenTelemetry\SDK\Trace\SpanDataInterface;
-use OpenTelemetry\SDK\Trace\SpanExporterInterface;
-use OpenTelemetry\SDK\Trace\SpanProcessorInterface;
-use SplQueue;
-use function sprintf;
-use Throwable;
-
-class BatchSpanProcessor implements SpanProcessorInterface
-{
- use LogsMessagesTrait;
-
- public const DEFAULT_SCHEDULE_DELAY = 5000;
- public const DEFAULT_EXPORT_TIMEOUT = 30000;
- public const DEFAULT_MAX_QUEUE_SIZE = 2048;
- public const DEFAULT_MAX_EXPORT_BATCH_SIZE = 512;
-
- private const ATTRIBUTES_PROCESSOR = ['processor' => '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<SpanDataInterface> */
- private array $batch = [];
- /** @var SplQueue<list<SpanDataInterface>> */
- private SplQueue $queue;
- /** @var SplQueue<array{int, string, ?CancellationInterface, bool, ContextInterface}> */
- 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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Trace\SpanProcessor;
-
-use OpenTelemetry\SDK\Common\Time\ClockFactory;
-use OpenTelemetry\SDK\Metrics\MeterProviderInterface;
-use OpenTelemetry\SDK\Trace\SpanExporterInterface;
-
-class BatchSpanProcessorBuilder
-{
- private SpanExporterInterface $exporter;
- private ?MeterProviderInterface $meterProvider = null;
-
- public function __construct(SpanExporterInterface $exporter)
- {
- $this->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Trace\SpanProcessor;
-
-use OpenTelemetry\Context\ContextInterface;
-use OpenTelemetry\SDK\Common\Future\CancellationInterface;
-use OpenTelemetry\SDK\Trace\ReadableSpanInterface;
-use OpenTelemetry\SDK\Trace\ReadWriteSpanInterface;
-use OpenTelemetry\SDK\Trace\SpanProcessorInterface;
-
-/**
- * Class SpanMultiProcessor is a SpanProcessor that forwards all events to an
- * array of SpanProcessors.
- */
-final class MultiSpanProcessor implements SpanProcessorInterface
-{
- /** @var list<SpanProcessorInterface> */
- 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<SpanProcessorInterface> */
- 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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Trace\SpanProcessor;
-
-use OpenTelemetry\Context\ContextInterface;
-use OpenTelemetry\SDK\Common\Future\CancellationInterface;
-use OpenTelemetry\SDK\Trace\ReadableSpanInterface;
-use OpenTelemetry\SDK\Trace\ReadWriteSpanInterface;
-use OpenTelemetry\SDK\Trace\SpanProcessorInterface;
-
-class NoopSpanProcessor implements SpanProcessorInterface
-{
- private static ?SpanProcessorInterface $instance = null;
-
- public static function getInstance(): SpanProcessorInterface
- {
- if (null === self::$instance) {
- self::$instance = new self();
- }
-
- return self::$instance;
- }
-
- /** @inheritDoc */
- public function onStart(ReadWriteSpanInterface $span, ContextInterface $parentContext): void
- {
- } //@codeCoverageIgnore
-
- /** @inheritDoc */
- public function onEnd(ReadableSpanInterface $span): void
- {
- } //@codeCoverageIgnore
-
- /** @inheritDoc */
- public function forceFlush(?CancellationInterface $cancellation = null): bool
- {
- return true;
- }
-
- /** @inheritDoc */
- public function shutdown(?CancellationInterface $cancellation = null): bool
- {
- return $this->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Trace\SpanProcessor;
-
-use Closure;
-use OpenTelemetry\API\Behavior\LogsMessagesTrait;
-use OpenTelemetry\Context\Context;
-use OpenTelemetry\Context\ContextInterface;
-use OpenTelemetry\SDK\Common\Future\CancellationInterface;
-use OpenTelemetry\SDK\Trace\ReadableSpanInterface;
-use OpenTelemetry\SDK\Trace\ReadWriteSpanInterface;
-use OpenTelemetry\SDK\Trace\SpanExporterInterface;
-use OpenTelemetry\SDK\Trace\SpanProcessorInterface;
-use SplQueue;
-use function sprintf;
-use Throwable;
-
-class SimpleSpanProcessor implements SpanProcessorInterface
-{
- use LogsMessagesTrait;
-
- private SpanExporterInterface $exporter;
- private ContextInterface $exportContext;
-
- private bool $running = false;
- /** @var SplQueue<array{Closure, string, bool, ContextInterface}> */
- 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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Trace;
-
-use InvalidArgumentException;
-use OpenTelemetry\SDK\Common\Configuration\Configuration;
-use OpenTelemetry\SDK\Common\Configuration\KnownValues as Values;
-use OpenTelemetry\SDK\Common\Configuration\Variables as Env;
-use OpenTelemetry\SDK\Common\Time\ClockFactory;
-use OpenTelemetry\SDK\Metrics\MeterProviderInterface;
-use OpenTelemetry\SDK\Metrics\NoopMeterProvider;
-use OpenTelemetry\SDK\Trace\SpanProcessor\BatchSpanProcessor;
-use OpenTelemetry\SDK\Trace\SpanProcessor\NoopSpanProcessor;
-use OpenTelemetry\SDK\Trace\SpanProcessor\SimpleSpanProcessor;
-
-class SpanProcessorFactory
-{
- public function create(?SpanExporterInterface $exporter = null, ?MeterProviderInterface $meterProvider = null): SpanProcessorInterface
- {
- if ($exporter === null) {
- return new NoopSpanProcessor();
- }
-
- $name = Configuration::getEnum(Env::OTEL_PHP_TRACES_PROCESSOR);
- switch ($name) {
- case Values::VALUE_BATCH:
- return new BatchSpanProcessor(
- $exporter,
- ClockFactory::getDefault(),
- Configuration::getInt(Env::OTEL_BSP_MAX_QUEUE_SIZE, BatchSpanProcessor::DEFAULT_MAX_QUEUE_SIZE),
- Configuration::getInt(Env::OTEL_BSP_SCHEDULE_DELAY, BatchSpanProcessor::DEFAULT_SCHEDULE_DELAY),
- Configuration::getInt(Env::OTEL_BSP_EXPORT_TIMEOUT, BatchSpanProcessor::DEFAULT_EXPORT_TIMEOUT),
- Configuration::getInt(Env::OTEL_BSP_MAX_EXPORT_BATCH_SIZE, BatchSpanProcessor::DEFAULT_MAX_EXPORT_BATCH_SIZE),
- true, //autoflush
- $meterProvider ?? new NoopMeterProvider(),
- );
- case Values::VALUE_SIMPLE:
- return new SimpleSpanProcessor($exporter);
- case Values::VALUE_NOOP:
- case Values::VALUE_NONE:
- return NoopSpanProcessor::getInstance();
- default:
- throw new InvalidArgumentException('Unknown processor: ' . $name);
- }
- }
-}
diff --git a/vendor/open-telemetry/sdk/Trace/SpanProcessorInterface.php b/vendor/open-telemetry/sdk/Trace/SpanProcessorInterface.php
deleted file mode 100644
index 24bcea2dd..000000000
--- a/vendor/open-telemetry/sdk/Trace/SpanProcessorInterface.php
+++ /dev/null
@@ -1,38 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Trace;
-
-use OpenTelemetry\Context\ContextInterface;
-use OpenTelemetry\SDK\Common\Future\CancellationInterface;
-
-/** @see https://github.com/open-telemetry/opentelemetry-specification/blob/v1.6.1/specification/trace/sdk.md#span-processor */
-interface SpanProcessorInterface
-{
- /**
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/v1.7.0/specification/trace/sdk.md#onstart
- */
- public function onStart(ReadWriteSpanInterface $span, ContextInterface $parentContext): void;
-
- /**
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/v1.7.0/specification/trace/sdk.md#onendspan
- */
- public function onEnd(ReadableSpanInterface $span): void;
-
- /**
- * Export all ended spans to the configured Exporter that have not yet been exported.
- * Returns `true` if the flush was successful, otherwise `false`.
- *
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/v1.7.0/specification/trace/sdk.md#forceflush-1
- */
- public function forceFlush(?CancellationInterface $cancellation = null): bool;
-
- /**
- * Cleanup; after shutdown, calling onStart, onEnd, or forceFlush is invalid
- * Returns `false` is the processor is already shutdown, otherwise `true`.
- *
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/v1.7.0/specification/trace/sdk.md#shutdown-1
- */
- public function shutdown(?CancellationInterface $cancellation = null): bool;
-}
diff --git a/vendor/open-telemetry/sdk/Trace/StatusData.php b/vendor/open-telemetry/sdk/Trace/StatusData.php
deleted file mode 100644
index c28ea22ab..000000000
--- a/vendor/open-telemetry/sdk/Trace/StatusData.php
+++ /dev/null
@@ -1,84 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Trace;
-
-use OpenTelemetry\API\Trace as API;
-
-final class StatusData implements StatusDataInterface
-{
- private static ?self $ok = null;
- private static ?self $unset = null;
- private static ?self $error = null;
- private string $code;
- private string $description;
-
- /** @psalm-param API\StatusCode::STATUS_* $code */
- public function __construct(
- string $code,
- string $description
- ) {
- $this->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Trace;
-
-interface StatusDataInterface
-{
- public static function ok(): self;
-
- public static function error(): self;
-
- public static function unset(): self;
-
- public function getCode(): string;
-
- public function getDescription(): string;
-}
diff --git a/vendor/open-telemetry/sdk/Trace/Tracer.php b/vendor/open-telemetry/sdk/Trace/Tracer.php
deleted file mode 100644
index 913773f60..000000000
--- a/vendor/open-telemetry/sdk/Trace/Tracer.php
+++ /dev/null
@@ -1,52 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Trace;
-
-use function ctype_space;
-use OpenTelemetry\API\Trace as API;
-use OpenTelemetry\Context\Context;
-use OpenTelemetry\SDK\Common\Instrumentation\InstrumentationScopeInterface;
-
-class Tracer implements API\TracerInterface
-{
- public const FALLBACK_SPAN_NAME = 'empty';
-
- /** @readonly */
- private TracerSharedState $tracerSharedState;
-
- /** @readonly */
- private InstrumentationScopeInterface $instrumentationScope;
-
- public function __construct(
- TracerSharedState $tracerSharedState,
- InstrumentationScopeInterface $instrumentationScope
- ) {
- $this->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Trace;
-
-use function is_array;
-use OpenTelemetry\API\Trace as API;
-use OpenTelemetry\API\Trace\NoopTracer;
-use OpenTelemetry\SDK\Common\Attribute\Attributes;
-use OpenTelemetry\SDK\Common\Future\CancellationInterface;
-use OpenTelemetry\SDK\Common\Instrumentation\InstrumentationScopeFactory;
-use OpenTelemetry\SDK\Common\Instrumentation\InstrumentationScopeFactoryInterface;
-use OpenTelemetry\SDK\Resource\ResourceInfo;
-use OpenTelemetry\SDK\Resource\ResourceInfoFactory;
-use OpenTelemetry\SDK\Trace\Sampler\AlwaysOnSampler;
-use OpenTelemetry\SDK\Trace\Sampler\ParentBased;
-
-final class TracerProvider implements TracerProviderInterface
-{
- /** @readonly */
- private TracerSharedState $tracerSharedState;
- private InstrumentationScopeFactoryInterface $instrumentationScopeFactory;
-
- /** @param list<SpanProcessorInterface>|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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Trace;
-
-use OpenTelemetry\SDK\Resource\ResourceInfo;
-
-class TracerProviderBuilder
-{
- // @var array<SpanProcessorInterface>
- 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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Trace;
-
-use OpenTelemetry\API\Behavior\LogsMessagesTrait;
-use OpenTelemetry\SDK\Sdk;
-
-final class TracerProviderFactory
-{
- use LogsMessagesTrait;
-
- private ExporterFactory $exporterFactory;
- private SamplerFactory $samplerFactory;
- private SpanProcessorFactory $spanProcessorFactory;
-
- public function __construct(
- ?ExporterFactory $exporterFactory = null,
- ?SamplerFactory $samplerFactory = null,
- ?SpanProcessorFactory $spanProcessorFactory = null
- ) {
- $this->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 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Trace;
-
-use OpenTelemetry\API\Trace as API;
-use OpenTelemetry\SDK\Common\Future\CancellationInterface;
-
-interface TracerProviderInterface extends API\TracerProviderInterface
-{
- public function forceFlush(?CancellationInterface $cancellation = null): bool;
-
- public function shutdown(?CancellationInterface $cancellation = null): bool;
-}
diff --git a/vendor/open-telemetry/sdk/Trace/TracerSharedState.php b/vendor/open-telemetry/sdk/Trace/TracerSharedState.php
deleted file mode 100644
index d0540cc1f..000000000
--- a/vendor/open-telemetry/sdk/Trace/TracerSharedState.php
+++ /dev/null
@@ -1,100 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SDK\Trace;
-
-use OpenTelemetry\API\Trace as API; /** @phan-suppress-current-line PhanUnreferencedUseNormal */
-use OpenTelemetry\SDK\Common\Future\CancellationInterface;
-use OpenTelemetry\SDK\Resource\ResourceInfo;
-use OpenTelemetry\SDK\Trace\SpanProcessor\MultiSpanProcessor;
-use OpenTelemetry\SDK\Trace\SpanProcessor\NoopSpanProcessor;
-
-/**
- * Stores shared state/config between all {@see API\TracerInterface} created via the same {@see API\TracerProviderInterface}.
- */
-final class TracerSharedState
-{
- /** @readonly */
- private IdGeneratorInterface $idGenerator;
-
- /** @readonly */
- private ResourceInfo $resource;
-
- /** @readonly */
- private SpanLimits $spanLimits;
-
- /** @readonly */
- private SamplerInterface $sampler;
-
- /** @readonly */
- private SpanProcessorInterface $spanProcessor;
-
- private ?bool $shutdownResult = null;
-
- public function __construct(
- IdGeneratorInterface $idGenerator,
- ResourceInfo $resource,
- SpanLimits $spanLimits,
- SamplerInterface $sampler,
- array $spanProcessors
- ) {
- $this->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 @@
-<?php
-
-declare(strict_types=1);
-
-\OpenTelemetry\SDK\SdkAutoloader::autoload();
diff --git a/vendor/open-telemetry/sdk/composer.json b/vendor/open-telemetry/sdk/composer.json
deleted file mode 100644
index 4497c9400..000000000
--- a/vendor/open-telemetry/sdk/composer.json
+++ /dev/null
@@ -1,59 +0,0 @@
-{
- "name": "open-telemetry/sdk",
- "description": "SDK for OpenTelemetry PHP.",
- "keywords": ["opentelemetry", "otel", "metrics", "tracing", "logging", "apm", "sdk"],
- "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",
- "ext-json": "*",
- "open-telemetry/api": "^1.0",
- "open-telemetry/context": "^1.0",
- "open-telemetry/sem-conv": "^1.0",
- "php-http/discovery": "^1.14",
- "psr/http-client-implementation": "^1.0",
- "psr/http-factory-implementation": "^1.0",
- "psr/http-client": "^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"
- },
- "autoload": {
- "psr-4": {
- "OpenTelemetry\\SDK\\": "."
- },
- "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"
- ]
- },
- "suggest": {
- "ext-gmp": "To support unlimited number of synchronous metric readers",
- "ext-mbstring": "To increase performance of string operations"
- },
- "extra": {
- "branch-alias": {
- "dev-main": "1.0.x-dev"
- }
- }
-}
diff --git a/vendor/open-telemetry/sem-conv/README.md b/vendor/open-telemetry/sem-conv/README.md
deleted file mode 100644
index 58083e1f5..000000000
--- a/vendor/open-telemetry/sem-conv/README.md
+++ /dev/null
@@ -1,25 +0,0 @@
-[![Releases](https://img.shields.io/badge/releases-purple)](https://github.com/opentelemetry-php/sem-conv/releases)
-[![Source](https://img.shields.io/badge/source-sem--conv-green)](https://github.com/open-telemetry/opentelemetry-php/tree/main/src/SemConv)
-[![Mirror](https://img.shields.io/badge/mirror-opentelemetry--php:sem--conv-blue)](https://github.com/opentelemetry-php/sem-conv)
-[![Latest Version](http://poser.pugx.org/open-telemetry/sem-conv/v/unstable)](https://packagist.org/packages/open-telemetry/sem-conv/)
-[![Stable](http://poser.pugx.org/open-telemetry/sem-conv/v/stable)](https://packagist.org/packages/open-telemetry/sem-conv/)
-
-# OpenTelemetry Semantic Conventions
-
-Common semantic conventions used by OpenTelemetry implementations across all languages.
-
-Please note that Semantic Conventions are tagged with the version of the
-[Semantic Conventions](https://github.com/open-telemetry/semantic-conventions/tags) that they were generated from.
-
-See https://opentelemetry.io/docs/concepts/semantic-conventions/.
-
-## Installation
-
-```shell
-composer require open-telemetry/sem-conv
-```
-
-## 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/sem-conv/ResourceAttributes.php b/vendor/open-telemetry/sem-conv/ResourceAttributes.php
deleted file mode 100644
index cdde885a9..000000000
--- a/vendor/open-telemetry/sem-conv/ResourceAttributes.php
+++ /dev/null
@@ -1,1007 +0,0 @@
-<?php
-
-// DO NOT EDIT, this is an Auto-generated file from script/semantic-convention/templates/Attributes.php.j2
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SemConv;
-
-interface ResourceAttributes
-{
- /**
- * The URL of the OpenTelemetry schema for these keys and values.
- */
- public const SCHEMA_URL = 'https://opentelemetry.io/schemas/1.22.0';
-
- /**
- * Uniquely identifies the framework API revision offered by a version (`os.version`) of the android operating system. More information can be found here.
- *
- * @example 33
- * @example 32
- */
- public const ANDROID_OS_API_LEVEL = 'android.os.api_level';
-
- /**
- * Array of brand name and version separated by a space.
- *
- * This value is intended to be taken from the UA client hints API (`navigator.userAgentData.brands`).
- *
- * @example Not A;Brand 99
- * @example Chromium 99
- * @example Chrome 99
- */
- public const BROWSER_BRANDS = 'browser.brands';
-
- /**
- * Preferred language of the user using the browser.
- *
- * This value is intended to be taken from the Navigator API `navigator.language`.
- *
- * @example en
- * @example en-US
- * @example fr
- * @example fr-FR
- */
- public const BROWSER_LANGUAGE = 'browser.language';
-
- /**
- * A boolean that is true if the browser is running on a mobile device.
- *
- * This value is intended to be taken from the UA client hints API (`navigator.userAgentData.mobile`). If unavailable, this attribute SHOULD be left unset.
- */
- public const BROWSER_MOBILE = 'browser.mobile';
-
- /**
- * The platform on which the browser is running.
- *
- * This value is intended to be taken from the UA client hints API (`navigator.userAgentData.platform`). If unavailable, the legacy `navigator.platform` API SHOULD NOT be used instead and this attribute SHOULD be left unset in order for the values to be consistent.
- * The list of possible values is defined in the W3C User-Agent Client Hints specification. Note that some (but not all) of these values can overlap with values in the `os.type` and `os.name` attributes. However, for consistency, the values in the `browser.platform` attribute should capture the exact value that the user agent provides.
- *
- * @example Windows
- * @example macOS
- * @example Android
- */
- public const BROWSER_PLATFORM = 'browser.platform';
-
- /**
- * Full user-agent string provided by the browser.
- *
- * The user-agent value SHOULD be provided only from browsers that do not have a mechanism to retrieve brands and platform individually from the User-Agent Client Hints API. To retrieve the value, the legacy `navigator.userAgent` API can be used.
- *
- * @example Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.54 Safari/537.36
- */
- public const USER_AGENT_ORIGINAL = 'user_agent.original';
-
- /**
- * The cloud account ID the resource is assigned to.
- *
- * @example 111111111111
- * @example opentelemetry
- */
- public const CLOUD_ACCOUNT_ID = 'cloud.account.id';
-
- /**
- * Cloud regions often have multiple, isolated locations known as zones to increase availability. Availability zone represents the zone where the resource is running.
- *
- * Availability zones are called &quot;zones&quot; on Alibaba Cloud and Google Cloud.
- *
- * @example us-east-1c
- */
- public const CLOUD_AVAILABILITY_ZONE = 'cloud.availability_zone';
-
- /**
- * The cloud platform in use.
- *
- * The prefix of the service SHOULD match the one specified in `cloud.provider`.
- */
- public const CLOUD_PLATFORM = 'cloud.platform';
-
- /**
- * Name of the cloud provider.
- */
- public const CLOUD_PROVIDER = 'cloud.provider';
-
- /**
- * The geographical region the resource is running.
- *
- * Refer to your provider's docs to see the available regions, for example Alibaba Cloud regions, AWS regions, Azure regions, Google Cloud regions, or Tencent Cloud regions.
- *
- * @example us-central1
- * @example us-east-1
- */
- public const CLOUD_REGION = 'cloud.region';
-
- /**
- * 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:<ul>
- * <li><strong>AWS Lambda:</strong> The function ARN.
- * Take care not to use the &quot;invoked ARN&quot; directly but replace any
- * alias suffix
- * with the resolved function version, as the same runtime instance may be invokable with
- * multiple different aliases.</li>
- * <li><strong>GCP:</strong> The URI of the resource</li>
- * <li><strong>Azure:</strong> The Fully Qualified Resource ID of the invoked function,
- * <em>not</em> the function app, having the form
- * `/subscriptions/<SUBSCIPTION_GUID>/resourceGroups/<RG>/providers/Microsoft.Web/sites/<FUNCAPP>/functions/<FUNC>`.
- * This means that a span attribute MUST be used, as an Azure function app can host multiple functions that would usually share
- * a TracerProvider.</li>
- * </ul>
- *
- * @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/<SUBSCIPTION_GUID>/resourceGroups/<RG>/providers/Microsoft.Web/sites/<FUNCAPP>/functions/<FUNC>
- */
- 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 `<tag>` section of the full name for example from `registry.example.com/my-org/my-image:<tag>`.
- *
- * @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.
- *
- * <ul>
- * <li><strong>AWS Lambda:</strong> Use the (full) log stream name.</li>
- * </ul>
- *
- * @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:<ul>
- * <li><strong>Azure:</strong> The full name `<FUNCAPP>/<FUNC>`, 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).</li>
- * </ul>
- *
- * @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:<ul>
- * <li><strong>AWS Lambda:</strong> The function version
- * (an integer represented as a decimal string).</li>
- * <li><strong>Google Cloud Run (Services):</strong> The revision
- * (i.e., the function name plus the revision suffix).</li>
- * <li><strong>Google Cloud Functions:</strong> The value of the
- * `K_REVISION` environment variable.</li>
- * <li><strong>Azure Functions:</strong> Not applicable. Do not set this attribute.</li>
- * </ul>
- *
- * @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:<blockquote>
- * If generated according to one of the mechanisms defined in Rec.</blockquote>
- * 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 @@
-<?php
-
-// DO NOT EDIT, this is an Auto-generated file from script/semantic-convention/templates/Attributes.php.j2
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\SemConv;
-
-interface TraceAttributes
-{
- /**
- * The URL of the OpenTelemetry schema for these keys and values.
- */
- public const SCHEMA_URL = 'https://opentelemetry.io/schemas/1.22.0';
-
- /**
- * Client address - domain name if available without reverse DNS lookup, otherwise IP address or Unix domain socket name.
- *
- * When observed from the server side, and when communicating through an intermediary, `client.address` SHOULD represent the client address behind any intermediaries (e.g. proxies) if it's available.
- *
- * @example client.example.com
- * @example 10.1.2.80
- * @example /tmp/my.sock
- */
- public const CLIENT_ADDRESS = 'client.address';
-
- /**
- * Client port number.
- *
- * When observed from the server side, and when communicating through an intermediary, `client.port` SHOULD represent the client port behind any intermediaries (e.g. proxies) if it's available.
- *
- * @example 65123
- */
- public const CLIENT_PORT = 'client.port';
-
- /**
- * Deprecated, use `server.address`.
- *
- * @deprecated Deprecated, use `server.address`..
- * @example example.com
- */
- public const NET_HOST_NAME = 'net.host.name';
-
- /**
- * Deprecated, use `server.port`.
- *
- * @deprecated Deprecated, use `server.port`..
- * @example 8080
- */
- public const NET_HOST_PORT = 'net.host.port';
-
- /**
- * Deprecated, use `server.address` on client spans and `client.address` on server spans.
- *
- * @deprecated Deprecated, use `server.address` on client spans and `client.address` on server spans..
- * @example example.com
- */
- public const NET_PEER_NAME = 'net.peer.name';
-
- /**
- * Deprecated, use `server.port` on client spans and `client.port` on server spans.
- *
- * @deprecated Deprecated, use `server.port` on client spans and `client.port` on server spans..
- * @example 8080
- */
- public const NET_PEER_PORT = 'net.peer.port';
-
- /**
- * Deprecated, use `network.protocol.name`.
- *
- * @deprecated Deprecated, use `network.protocol.name`..
- * @example amqp
- * @example http
- * @example mqtt
- */
- public const NET_PROTOCOL_NAME = 'net.protocol.name';
-
- /**
- * Deprecated, use `network.protocol.version`.
- *
- * @deprecated Deprecated, use `network.protocol.version`..
- * @example 3.1.1
- */
- public const NET_PROTOCOL_VERSION = 'net.protocol.version';
-
- /**
- * Deprecated, use `network.transport` and `network.type`.
- */
- public const NET_SOCK_FAMILY = 'net.sock.family';
-
- /**
- * Deprecated, use `network.local.address`.
- *
- * @deprecated Deprecated, use `network.local.address`..
- * @example /var/my.sock
- */
- public const NET_SOCK_HOST_ADDR = 'net.sock.host.addr';
-
- /**
- * Deprecated, use `network.local.port`.
- *
- * @deprecated Deprecated, use `network.local.port`..
- * @example 8080
- */
- public const NET_SOCK_HOST_PORT = 'net.sock.host.port';
-
- /**
- * Deprecated, use `network.peer.address`.
- *
- * @deprecated Deprecated, use `network.peer.address`..
- * @example 192.168.0.1
- */
- public const NET_SOCK_PEER_ADDR = 'net.sock.peer.addr';
-
- /**
- * Deprecated, no replacement at this time.
- *
- * @deprecated Deprecated, no replacement at this time..
- * @example /var/my.sock
- */
- public const NET_SOCK_PEER_NAME = 'net.sock.peer.name';
-
- /**
- * Deprecated, use `network.peer.port`.
- *
- * @deprecated Deprecated, use `network.peer.port`..
- * @example 65531
- */
- public const NET_SOCK_PEER_PORT = 'net.sock.peer.port';
-
- /**
- * Deprecated, use `network.transport`.
- */
- public const NET_TRANSPORT = 'net.transport';
-
- /**
- * Destination address - domain name if available without reverse DNS lookup, otherwise IP address or Unix domain socket name.
- *
- * When observed from the source side, and when communicating through an intermediary, `destination.address` SHOULD represent the destination address behind any intermediaries (e.g. proxies) if it's available.
- *
- * @example destination.example.com
- * @example 10.1.2.80
- * @example /tmp/my.sock
- */
- public const DESTINATION_ADDRESS = 'destination.address';
-
- /**
- * Destination port number.
- *
- * @example 3389
- * @example 2888
- */
- public const DESTINATION_PORT = 'destination.port';
-
- /**
- * Describes a class of error the operation ended with.
- *
- * The `error.type` SHOULD be predictable and SHOULD have low cardinality.
- * Instrumentations SHOULD document the list of errors they report.The cardinality of `error.type` within one instrumentation library SHOULD be low, but
- * telemetry consumers that aggregate data from multiple instrumentation libraries and applications
- * should be prepared for `error.type` to have high cardinality at query time, when no
- * additional filters are applied.If the operation has completed successfully, instrumentations SHOULD NOT set `error.type`.If a specific domain defines its own set of error codes (such as HTTP or gRPC status codes),
- * it's RECOMMENDED to use a domain-specific attribute and also set `error.type` to capture
- * all errors, regardless of whether they are defined within the domain-specific set or not.
- *
- * @example timeout
- * @example java.net.UnknownHostException
- * @example server_certificate_invalid
- * @example 500
- */
- public const ERROR_TYPE = 'error.type';
-
- /**
- * The exception message.
- *
- * @example Division by zero
- * @example Can't convert 'int' object to str implicitly
- */
- public const EXCEPTION_MESSAGE = 'exception.message';
-
- /**
- * A stacktrace as a string in the natural representation for the language runtime. The representation is to be determined and documented by each language SIG.
- *
- * @example Exception in thread "main" java.lang.RuntimeException: Test exception\n at com.example.GenerateTrace.methodB(GenerateTrace.java:13)\n at com.example.GenerateTrace.methodA(GenerateTrace.java:9)\n at com.example.GenerateTrace.main(GenerateTrace.java:5)
- */
- public const EXCEPTION_STACKTRACE = 'exception.stacktrace';
-
- /**
- * The type of the exception (its fully-qualified class name, if applicable). The dynamic type of the exception should be preferred over the static type in languages that support it.
- *
- * @example java.net.ConnectException
- * @example OSError
- */
- public const EXCEPTION_TYPE = 'exception.type';
-
- /**
- * The name of the invoked function.
- *
- * SHOULD be equal to the `faas.name` resource attribute of the invoked function.
- *
- * @example my-function
- */
- public const FAAS_INVOKED_NAME = 'faas.invoked_name';
-
- /**
- * The cloud provider of the invoked function.
- *
- * SHOULD be equal to the `cloud.provider` resource attribute of the invoked function.
- */
- public const FAAS_INVOKED_PROVIDER = 'faas.invoked_provider';
-
- /**
- * The cloud region of the invoked function.
- *
- * SHOULD be equal to the `cloud.region` resource attribute of the invoked function.
- *
- * @example eu-central-1
- */
- public const FAAS_INVOKED_REGION = 'faas.invoked_region';
-
- /**
- * Type of the trigger which caused this function invocation.
- */
- public const FAAS_TRIGGER = 'faas.trigger';
-
- /**
- * The `service.name` of the remote service. SHOULD be equal to the actual `service.name` resource attribute of the remote service if any.
- *
- * @example AuthTokenCache
- */
- public const PEER_SERVICE = 'peer.service';
-
- /**
- * Username or client_id extracted from the access token or Authorization header in the inbound request from outside the system.
- *
- * @example username
- */
- public const ENDUSER_ID = 'enduser.id';
-
- /**
- * Actual/assumed role the client is making the request under extracted from token or application security context.
- *
- * @example admin
- */
- public const ENDUSER_ROLE = 'enduser.role';
-
- /**
- * Scopes or granted authorities the client currently possesses extracted from token or application security context. The value would come from the scope associated with an OAuth 2.0 Access Token or an attribute value in a SAML 2.0 Assertion.
- *
- * @example read:message, write:files
- */
- public const ENDUSER_SCOPE = 'enduser.scope';
-
- /**
- * Whether the thread is daemon or not.
- */
- public const THREAD_DAEMON = 'thread.daemon';
-
- /**
- * Current &quot;managed&quot; thread ID (as opposed to OS thread ID).
- *
- * @example 42
- */
- public const THREAD_ID = 'thread.id';
-
- /**
- * Current thread name.
- *
- * @example main
- */
- public const THREAD_NAME = 'thread.name';
-
- /**
- * The column number in `code.filepath` best representing the operation. It SHOULD point within the code unit named in `code.function`.
- *
- * @example 16
- */
- public const CODE_COLUMN = 'code.column';
-
- /**
- * The source code file name that identifies the code unit as uniquely as possible (preferably an absolute file path).
- *
- * @example /usr/local/MyApplication/content_root/app/index.php
- */
- public const CODE_FILEPATH = 'code.filepath';
-
- /**
- * The method or function name, or equivalent (usually rightmost part of the code unit's name).
- *
- * @example serveRequest
- */
- public const CODE_FUNCTION = 'code.function';
-
- /**
- * The line number in `code.filepath` best representing the operation. It SHOULD point within the code unit named in `code.function`.
- *
- * @example 42
- */
- public const CODE_LINENO = 'code.lineno';
-
- /**
- * The &quot;namespace&quot; within which `code.function` is defined. Usually the qualified class or module name, such that `code.namespace` + some separator + `code.function` form a unique identifier for the code unit.
- *
- * @example com.example.MyHttpService
- */
- public const CODE_NAMESPACE = 'code.namespace';
-
- /**
- * HTTP request method.
- *
- * HTTP request method value SHOULD be &quot;known&quot; to the instrumentation.
- * By default, this convention defines &quot;known&quot; methods as the ones listed in RFC9110
- * and the PATCH method defined in RFC5789.If the HTTP request method is not known to instrumentation, it MUST set the `http.request.method` attribute to `_OTHER`.If the HTTP instrumentation could end up converting valid HTTP request methods to `_OTHER`, then it MUST provide a way to override
- * the list of known HTTP methods. If this override is done via environment variable, then the environment variable MUST be named
- * OTEL_INSTRUMENTATION_HTTP_KNOWN_METHODS and support a comma-separated list of case-sensitive known HTTP methods
- * (this list MUST be a full override of the default known method, it is not a list of known methods in addition to the defaults).HTTP method names are case-sensitive and `http.request.method` attribute value MUST match a known HTTP method name exactly.
- * Instrumentations for specific web frameworks that consider HTTP methods to be case insensitive, SHOULD populate a canonical equivalent.
- * Tracing instrumentations that do so, MUST also set `http.request.method_original` to the original value.
- *
- * @example GET
- * @example POST
- * @example HEAD
- */
- public const HTTP_REQUEST_METHOD = 'http.request.method';
-
- /**
- * HTTP response status code.
- *
- * @example 200
- */
- public const HTTP_RESPONSE_STATUS_CODE = 'http.response.status_code';
-
- /**
- * OSI application layer or non-OSI equivalent.
- *
- * The value SHOULD be normalized to lowercase.
- *
- * @example http
- * @example spdy
- */
- public const NETWORK_PROTOCOL_NAME = 'network.protocol.name';
-
- /**
- * Version of the protocol specified in `network.protocol.name`.
- *
- * `network.protocol.version` refers to the version of the protocol used and might be different from the protocol client's version. If the HTTP client used has a version of `0.27.2`, but sends HTTP version `1.1`, this attribute should be set to `1.1`.
- *
- * @example 1.0
- * @example 1.1
- * @example 2
- * @example 3
- */
- public const NETWORK_PROTOCOL_VERSION = 'network.protocol.version';
-
- /**
- * Host identifier of the &quot;URI origin&quot; HTTP request is sent to.
- *
- * Determined by using the first of the following that applies<ul>
- * <li>Host identifier of the request target
- * if it's sent in absolute-form</li>
- * <li>Host identifier of the `Host` header</li>
- * </ul>
- * 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 &quot;URI origin&quot; 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 &quot;schema name&quot;. 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&lt;br&gt; `sdk_version` : Current version of SDK. e.g. 'cosmos-netstandard-sdk/3.23.0'&lt;br&gt; `direct_pkg_version` : Direct package version used by Cosmos DB SDK. e.g. '3.23.1'&lt;br&gt; `number_of_client_instances` : Number of cosmos client instances created by the application. e.g. '1'&lt;br&gt; `type_of_machine_architecture` : Machine architecture. e.g. 'X64'&lt;br&gt; `operating_system` : Operating System. e.g. 'Linux 5.4.0-1098-azure 104 18'&lt;br&gt; `runtime_framework` : Runtime Framework. e.g. '.NET Core 3.1.32'&lt;br&gt; `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 &quot;NS&quot;.
- *
- * @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 &quot;OK&quot; or &quot;ERROR&quot;. 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:<ul>
- * <li><strong>AWS Lambda:</strong> The function ARN.
- * Take care not to use the &quot;invoked ARN&quot; directly but replace any
- * alias suffix
- * with the resolved function version, as the same runtime instance may be invokable with
- * multiple different aliases.</li>
- * <li><strong>GCP:</strong> The URI of the resource</li>
- * <li><strong>Azure:</strong> The Fully Qualified Resource ID of the invoked function,
- * <em>not</em> the function app, having the form
- * `/subscriptions/<SUBSCIPTION_GUID>/resourceGroups/<RG>/providers/Microsoft.Web/sites/<FUNCAPP>/functions/<FUNC>`.
- * This means that a span attribute MUST be used, as an Azure function app can host multiple functions that would usually share
- * a TracerProvider.</li>
- * </ul>
- *
- * @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/<SUBSCIPTION_GUID>/resourceGroups/<RG>/providers/Microsoft.Web/sites/<FUNCAPP>/functions/<FUNC>
- */
- 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 &quot;Correlation ID&quot;.
- *
- * @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:<ul>
- * <li>copy-object</li>
- * <li>upload-part-copy</li>
- * </ul>
- *
- * @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:<ul>
- * <li>copy-object</li>
- * <li>delete-object</li>
- * <li>get-object</li>
- * <li>head-object</li>
- * <li>put-object</li>
- * <li>restore-object</li>
- * <li>select-object-content</li>
- * <li>abort-multipart-upload</li>
- * <li>complete-multipart-upload</li>
- * <li>create-multipart-upload</li>
- * <li>list-parts</li>
- * <li>upload-part</li>
- * <li>upload-part-copy</li>
- * </ul>
- *
- * @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:<ul>
- * <li>abort-multipart-upload</li>
- * <li>complete-multipart-upload</li>
- * <li>list-parts</li>
- * <li>upload-part</li>
- * <li>upload-part-copy</li>
- * </ul>
- *
- * @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 &quot;in flight&quot;.
- * This may be actually &quot;in flight&quot; 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 @@
-<?php
-
-$finder = PhpCsFixer\Finder::create()
- ->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 <team@php-http.org>
-
-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 @@
-<?php
-
-namespace Http\Discovery;
-
-use Http\Discovery\Exception\ClassInstantiationFailedException;
-use Http\Discovery\Exception\DiscoveryFailedException;
-use Http\Discovery\Exception\NoCandidateFoundException;
-use Http\Discovery\Exception\StrategyUnavailableException;
-use Http\Discovery\Strategy\DiscoveryStrategy;
-
-/**
- * Registry that based find results on class existence.
- *
- * @author David de Boer <david@ddeboer.nl>
- * @author Márk Sági-Kazár <mark.sagikazar@gmail.com>
- * @author Tobias Nyholm <tobias.nyholm@gmail.com>
- */
-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 @@
-<?php
-
-namespace Http\Discovery\Composer;
-
-use Composer\Composer;
-use Composer\DependencyResolver\Pool;
-use Composer\EventDispatcher\EventSubscriberInterface;
-use Composer\Factory;
-use Composer\Installer;
-use Composer\IO\IOInterface;
-use Composer\Json\JsonFile;
-use Composer\Json\JsonManipulator;
-use Composer\Package\Locker;
-use Composer\Package\Version\VersionParser;
-use Composer\Package\Version\VersionSelector;
-use Composer\Plugin\PluginInterface;
-use Composer\Repository\InstalledRepositoryInterface;
-use Composer\Repository\RepositorySet;
-use Composer\Script\Event;
-use Composer\Script\ScriptEvents;
-use Composer\Util\Filesystem;
-use Http\Discovery\ClassDiscovery;
-
-/**
- * Auto-installs missing implementations.
- *
- * When a dependency requires both this package and one of the supported `*-implementation`
- * virtual packages, this plugin will auto-install a well-known implementation if none is
- * found. The plugin will first look at already installed packages and figure out the
- * preferred implementation to install based on the below stickyness rules (or on the first
- * listed implementation if no rules match.)
- *
- * Don't miss updating src/Strategy/Common*Strategy.php when adding a new supported package.
- *
- * @author Nicolas Grekas <p@tchwork.com>
- *
- * @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 = <<<EOPHP
-<?php
-
-namespace Http\Discovery\Strategy;
-
-class GeneratedDiscoveryStrategy implements DiscoveryStrategy
-{
- public static function getCandidates(\$type)
- {
- switch (\$type) {
- $candidates
- default: return [];
- }
- }
-}
-
-EOPHP
- ;
-
- if (!file_exists($file) || $code !== file_get_contents($file)) {
- file_put_contents($file, $code);
- }
-
- $rootPackage = $event->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 @@
-<?php
-
-namespace Http\Discovery;
-
-/**
- * An interface implemented by all discovery related exceptions.
- *
- * @author Tobias Nyholm <tobias.nyholm@gmail.com>
- */
-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 @@
-<?php
-
-namespace Http\Discovery\Exception;
-
-use Http\Discovery\Exception;
-
-/**
- * Thrown when a class fails to instantiate.
- *
- * @author Tobias Nyholm <tobias.nyholm@gmail.com>
- */
-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 @@
-<?php
-
-namespace Http\Discovery\Exception;
-
-use Http\Discovery\Exception;
-
-/**
- * Thrown when all discovery strategies fails to find a resource.
- *
- * @author Tobias Nyholm <tobias.nyholm@gmail.com>
- */
-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 @@
-<?php
-
-namespace Http\Discovery\Exception;
-
-use Http\Discovery\Exception;
-
-/**
- * When we have used a strategy but no candidates provided by that strategy could be used.
- *
- * @author Tobias Nyholm <tobias.nyholm@gmail.com>
- */
-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 @@
-<?php
-
-namespace Http\Discovery\Exception;
-
-use Http\Discovery\Exception;
-
-/**
- * Thrown when a discovery does not find any matches.
- *
- * @final do NOT extend this class, not final for BC reasons
- *
- * @author Márk Sági-Kazár <mark.sagikazar@gmail.com>
- */
-/* 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 @@
-<?php
-
-namespace Http\Discovery\Exception;
-
-/**
- * Thrown when we can't use Puli for discovery.
- *
- * @author Tobias Nyholm <tobias.nyholm@gmail.com>
- */
-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 @@
-<?php
-
-namespace Http\Discovery\Exception;
-
-use Http\Discovery\Exception;
-
-/**
- * This exception is thrown when we cannot use a discovery strategy. This is *not* thrown when
- * the discovery fails to find a class.
- *
- * @author Tobias Nyholm <tobias.nyholm@gmail.com>
- */
-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 @@
-<?php
-
-namespace Http\Discovery;
-
-use Http\Client\HttpAsyncClient;
-use Http\Discovery\Exception\DiscoveryFailedException;
-
-/**
- * Finds an HTTP Asynchronous Client.
- *
- * @author Joel Wurtz <joel.wurtz@gmail.com>
- */
-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 @@
-<?php
-
-namespace Http\Discovery;
-
-use Http\Client\HttpClient;
-use Http\Discovery\Exception\DiscoveryFailedException;
-
-/**
- * Finds an HTTP Client.
- *
- * @author Márk Sági-Kazár <mark.sagikazar@gmail.com>
- *
- * @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 @@
-<?php
-
-namespace Http\Discovery;
-
-use Http\Discovery\Exception\DiscoveryFailedException;
-use Http\Message\MessageFactory;
-
-/**
- * Finds a Message Factory.
- *
- * @author Márk Sági-Kazár <mark.sagikazar@gmail.com>
- *
- * @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 @@
-<?php
-
-namespace Http\Discovery;
-
-/**
- * Thrown when a discovery does not find any matches.
- *
- * @author Márk Sági-Kazár <mark.sagikazar@gmail.com>
- *
- * @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 @@
-<?php
-
-namespace Http\Discovery;
-
-use Psr\Http\Message\RequestFactoryInterface;
-use Psr\Http\Message\RequestInterface;
-use Psr\Http\Message\ResponseFactoryInterface;
-use Psr\Http\Message\ResponseInterface;
-use Psr\Http\Message\ServerRequestFactoryInterface;
-use Psr\Http\Message\ServerRequestInterface;
-use Psr\Http\Message\StreamFactoryInterface;
-use Psr\Http\Message\StreamInterface;
-use Psr\Http\Message\UploadedFileFactoryInterface;
-use Psr\Http\Message\UploadedFileInterface;
-use Psr\Http\Message\UriFactoryInterface;
-use Psr\Http\Message\UriInterface;
-
-/**
- * A generic PSR-17 implementation.
- *
- * You can create this class with concrete factory instances or let
- * it use discovery to find suitable implementations as needed.
- *
- * This class also provides two additional methods that are not in PSR17,
- * to help with creating PSR-7 objects from PHP superglobals:
- * - createServerRequestFromGlobals()
- * - createUriFromGlobals()
- *
- * The code in this class is inspired by the "nyholm/psr7", "guzzlehttp/psr7"
- * and "symfony/http-foundation" packages, all licenced under MIT.
- *
- * Copyright (c) 2004-2023 Fabien Potencier <fabien@symfony.com>
- * Copyright (c) 2015 Michael Dowling <mtdowling@gmail.com>
- * Copyright (c) 2015 Márk Sági-Kazár <mark.sagikazar@gmail.com>
- * Copyright (c) 2015 Graham Campbell <hello@gjcampbell.co.uk>
- * Copyright (c) 2016 Tobias Schultze <webmaster@tubo-world.de>
- * Copyright (c) 2016 George Mponos <gmponos@gmail.com>
- * Copyright (c) 2016-2018 Tobias Nyholm <tobias.nyholm@gmail.com>
- *
- * @author Nicolas Grekas <p@tchwork.com>
- */
-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 @@
-<?php
-
-namespace Http\Discovery;
-
-use Http\Discovery\Exception\DiscoveryFailedException;
-use Psr\Http\Message\RequestFactoryInterface;
-use Psr\Http\Message\ResponseFactoryInterface;
-use Psr\Http\Message\ServerRequestFactoryInterface;
-use Psr\Http\Message\StreamFactoryInterface;
-use Psr\Http\Message\UploadedFileFactoryInterface;
-use Psr\Http\Message\UriFactoryInterface;
-
-/**
- * Finds PSR-17 factories.
- *
- * @author Tobias Nyholm <tobias.nyholm@gmail.com>
- */
-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 @@
-<?php
-
-namespace Http\Discovery;
-
-use Psr\Http\Client\ClientInterface;
-use Psr\Http\Message\RequestFactoryInterface;
-use Psr\Http\Message\RequestInterface;
-use Psr\Http\Message\ResponseFactoryInterface;
-use Psr\Http\Message\ResponseInterface;
-use Psr\Http\Message\ServerRequestFactoryInterface;
-use Psr\Http\Message\StreamFactoryInterface;
-use Psr\Http\Message\UploadedFileFactoryInterface;
-use Psr\Http\Message\UriFactoryInterface;
-
-/**
- * A generic PSR-18 and PSR-17 implementation.
- *
- * You can create this class with concrete client and factory instances
- * or let it use discovery to find suitable implementations as needed.
- *
- * @author Nicolas Grekas <p@tchwork.com>
- */
-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 @@
-<?php
-
-namespace Http\Discovery;
-
-use Http\Discovery\Exception\DiscoveryFailedException;
-use Psr\Http\Client\ClientInterface;
-
-/**
- * Finds a PSR-18 HTTP Client.
- *
- * @author Tobias Nyholm <tobias.nyholm@gmail.com>
- */
-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 @@
-<?php
-
-namespace Http\Discovery\Strategy;
-
-use GuzzleHttp\Client as GuzzleHttp;
-use GuzzleHttp\Promise\Promise;
-use GuzzleHttp\Psr7\Request as GuzzleRequest;
-use Http\Adapter\Artax\Client as Artax;
-use Http\Adapter\Buzz\Client as Buzz;
-use Http\Adapter\Cake\Client as Cake;
-use Http\Adapter\Guzzle5\Client as Guzzle5;
-use Http\Adapter\Guzzle6\Client as Guzzle6;
-use Http\Adapter\Guzzle7\Client as Guzzle7;
-use Http\Adapter\React\Client as React;
-use Http\Client\Curl\Client as Curl;
-use Http\Client\HttpAsyncClient;
-use Http\Client\HttpClient;
-use Http\Client\Socket\Client as Socket;
-use Http\Discovery\ClassDiscovery;
-use Http\Discovery\Exception\NotFoundException;
-use Http\Discovery\Psr17FactoryDiscovery;
-use Http\Message\MessageFactory;
-use Http\Message\MessageFactory\DiactorosMessageFactory;
-use Http\Message\MessageFactory\GuzzleMessageFactory;
-use Http\Message\MessageFactory\SlimMessageFactory;
-use Http\Message\StreamFactory;
-use Http\Message\StreamFactory\DiactorosStreamFactory;
-use Http\Message\StreamFactory\GuzzleStreamFactory;
-use Http\Message\StreamFactory\SlimStreamFactory;
-use Http\Message\UriFactory;
-use Http\Message\UriFactory\DiactorosUriFactory;
-use Http\Message\UriFactory\GuzzleUriFactory;
-use Http\Message\UriFactory\SlimUriFactory;
-use Laminas\Diactoros\Request as DiactorosRequest;
-use Nyholm\Psr7\Factory\HttplugFactory as NyholmHttplugFactory;
-use Psr\Http\Client\ClientInterface as Psr18Client;
-use Psr\Http\Message\RequestFactoryInterface as Psr17RequestFactory;
-use Slim\Http\Request as SlimRequest;
-use Symfony\Component\HttpClient\HttplugClient as SymfonyHttplug;
-use Symfony\Component\HttpClient\Psr18Client as SymfonyPsr18;
-
-/**
- * @internal
- *
- * @author Tobias Nyholm <tobias.nyholm@gmail.com>
- *
- * 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 @@
-<?php
-
-namespace Http\Discovery\Strategy;
-
-use Psr\Http\Message\RequestFactoryInterface;
-use Psr\Http\Message\ResponseFactoryInterface;
-use Psr\Http\Message\ServerRequestFactoryInterface;
-use Psr\Http\Message\StreamFactoryInterface;
-use Psr\Http\Message\UploadedFileFactoryInterface;
-use Psr\Http\Message\UriFactoryInterface;
-
-/**
- * @internal
- *
- * @author Tobias Nyholm <tobias.nyholm@gmail.com>
- *
- * 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 @@
-<?php
-
-namespace Http\Discovery\Strategy;
-
-use Http\Discovery\Exception\StrategyUnavailableException;
-
-/**
- * @author Tobias Nyholm <tobias.nyholm@gmail.com>
- */
-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 @@
-<?php
-
-namespace Http\Discovery\Strategy;
-
-use Http\Client\HttpAsyncClient;
-use Http\Client\HttpClient;
-use Http\Mock\Client as Mock;
-
-/**
- * Find the Mock client.
- *
- * @author Sam Rapaport <me@samrapdev.com>
- */
-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 @@
-<?php
-
-namespace Http\Discovery\Strategy;
-
-use Http\Discovery\ClassDiscovery;
-use Http\Discovery\Exception\PuliUnavailableException;
-use Puli\Discovery\Api\Discovery;
-use Puli\GeneratedPuliFactory;
-
-/**
- * Find candidates using Puli.
- *
- * @internal
- *
- * @final
- *
- * @author David de Boer <david@ddeboer.nl>
- * @author Márk Sági-Kazár <mark.sagikazar@gmail.com>
- */
-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 @@
-<?php
-
-namespace Http\Discovery;
-
-use Http\Discovery\Exception\DiscoveryFailedException;
-use Http\Message\StreamFactory;
-
-/**
- * Finds a Stream Factory.
- *
- * @author Михаил КраÑильников <m.krasilnikov@yandex.ru>
- *
- * @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 @@
-<?php
-
-namespace Http\Discovery;
-
-use Http\Discovery\Exception\DiscoveryFailedException;
-use Http\Message\UriFactory;
-
-/**
- * Finds a URI Factory.
- *
- * @author David de Boer <david@ddeboer.nl>
- *
- * @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
-<?php
-
-use Psr\Log\LoggerInterface;
-
-class Foo
-{
- private $logger;
-
- public function __construct(LoggerInterface $logger = null)
- {
- $this->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 @@
-<?php
-
-namespace Psr\Log;
-
-/**
- * This is a simple Logger implementation that other Loggers can inherit from.
- *
- * It simply delegates all log-level-specific methods to the `log` method to
- * reduce boilerplate code that a simple Logger that does the same thing with
- * messages regardless of the error level has to implement.
- */
-abstract class AbstractLogger implements LoggerInterface
-{
- use LoggerTrait;
-}
diff --git a/vendor/psr/log/src/InvalidArgumentException.php b/vendor/psr/log/src/InvalidArgumentException.php
deleted file mode 100644
index 67f852d1d..000000000
--- a/vendor/psr/log/src/InvalidArgumentException.php
+++ /dev/null
@@ -1,7 +0,0 @@
-<?php
-
-namespace Psr\Log;
-
-class InvalidArgumentException extends \InvalidArgumentException
-{
-}
diff --git a/vendor/psr/log/src/LogLevel.php b/vendor/psr/log/src/LogLevel.php
deleted file mode 100644
index 9cebcace6..000000000
--- a/vendor/psr/log/src/LogLevel.php
+++ /dev/null
@@ -1,18 +0,0 @@
-<?php
-
-namespace Psr\Log;
-
-/**
- * Describes log levels.
- */
-class LogLevel
-{
- const EMERGENCY = 'emergency';
- const ALERT = 'alert';
- const CRITICAL = 'critical';
- const ERROR = 'error';
- const WARNING = 'warning';
- const NOTICE = 'notice';
- const INFO = 'info';
- const DEBUG = 'debug';
-}
diff --git a/vendor/psr/log/src/LoggerAwareInterface.php b/vendor/psr/log/src/LoggerAwareInterface.php
deleted file mode 100644
index cc46a9514..000000000
--- a/vendor/psr/log/src/LoggerAwareInterface.php
+++ /dev/null
@@ -1,18 +0,0 @@
-<?php
-
-namespace Psr\Log;
-
-/**
- * Describes a logger-aware instance.
- */
-interface LoggerAwareInterface
-{
- /**
- * Sets a logger instance on the object.
- *
- * @param LoggerInterface $logger
- *
- * @return void
- */
- public function setLogger(LoggerInterface $logger): void;
-}
diff --git a/vendor/psr/log/src/LoggerAwareTrait.php b/vendor/psr/log/src/LoggerAwareTrait.php
deleted file mode 100644
index 4fb57a292..000000000
--- a/vendor/psr/log/src/LoggerAwareTrait.php
+++ /dev/null
@@ -1,26 +0,0 @@
-<?php
-
-namespace Psr\Log;
-
-/**
- * Basic Implementation of LoggerAwareInterface.
- */
-trait LoggerAwareTrait
-{
- /**
- * The logger instance.
- *
- * @var LoggerInterface|null
- */
- protected ?LoggerInterface $logger = null;
-
- /**
- * Sets a logger.
- *
- * @param LoggerInterface $logger
- */
- public function setLogger(LoggerInterface $logger): void
- {
- $this->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 @@
-<?php
-
-namespace Psr\Log;
-
-/**
- * Describes a logger instance.
- *
- * The message MUST be a string or object implementing __toString().
- *
- * The message MAY contain placeholders in the form: {foo} where foo
- * will be replaced by the context data in key "foo".
- *
- * The context array can contain arbitrary data. The only assumption that
- * can be made by implementors is that if an Exception instance is given
- * to produce a stack trace, it MUST be in a key named "exception".
- *
- * See https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-3-logger-interface.md
- * for the full interface specification.
- */
-interface LoggerInterface
-{
- /**
- * System is unusable.
- *
- * @param string|\Stringable $message
- * @param mixed[] $context
- *
- * @return void
- */
- public function emergency(string|\Stringable $message, array $context = []): void;
-
- /**
- * 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 mixed[] $context
- *
- * @return void
- */
- public function alert(string|\Stringable $message, array $context = []): void;
-
- /**
- * Critical conditions.
- *
- * Example: Application component unavailable, unexpected exception.
- *
- * @param string|\Stringable $message
- * @param mixed[] $context
- *
- * @return void
- */
- public function critical(string|\Stringable $message, array $context = []): void;
-
- /**
- * Runtime errors that do not require immediate action but should typically
- * be logged and monitored.
- *
- * @param string|\Stringable $message
- * @param mixed[] $context
- *
- * @return void
- */
- public function error(string|\Stringable $message, array $context = []): void;
-
- /**
- * 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 mixed[] $context
- *
- * @return void
- */
- public function warning(string|\Stringable $message, array $context = []): void;
-
- /**
- * Normal but significant events.
- *
- * @param string|\Stringable $message
- * @param mixed[] $context
- *
- * @return void
- */
- public function notice(string|\Stringable $message, array $context = []): void;
-
- /**
- * Interesting events.
- *
- * Example: User logs in, SQL logs.
- *
- * @param string|\Stringable $message
- * @param mixed[] $context
- *
- * @return void
- */
- public function info(string|\Stringable $message, array $context = []): void;
-
- /**
- * Detailed debug information.
- *
- * @param string|\Stringable $message
- * @param mixed[] $context
- *
- * @return void
- */
- public function debug(string|\Stringable $message, array $context = []): void;
-
- /**
- * Logs with an arbitrary level.
- *
- * @param mixed $level
- * @param string|\Stringable $message
- * @param mixed[] $context
- *
- * @return void
- *
- * @throws \Psr\Log\InvalidArgumentException
- */
- public function log($level, string|\Stringable $message, array $context = []): void;
-}
diff --git a/vendor/psr/log/src/LoggerTrait.php b/vendor/psr/log/src/LoggerTrait.php
deleted file mode 100644
index 9c8733f95..000000000
--- a/vendor/psr/log/src/LoggerTrait.php
+++ /dev/null
@@ -1,142 +0,0 @@
-<?php
-
-namespace Psr\Log;
-
-/**
- * This is a simple Logger trait that classes unable to extend AbstractLogger
- * (because they extend another class, etc) can include.
- *
- * It simply delegates all log-level-specific methods to the `log` method to
- * reduce boilerplate code that a simple Logger that does the same thing with
- * messages regardless of the error level has to implement.
- */
-trait LoggerTrait
-{
- /**
- * System is unusable.
- *
- * @param string|\Stringable $message
- * @param array $context
- *
- * @return void
- */
- public function emergency(string|\Stringable $message, array $context = []): void
- {
- $this->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 @@
-<?php
-
-namespace Psr\Log;
-
-/**
- * This Logger can be used to avoid conditional log calls.
- *
- * Logging should always be optional, and if no logger is provided to your
- * library creating a NullLogger instance to have something to throw logs at
- * is a good way to avoid littering your code with `if ($this->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 @@
-<?php
-
-/*
- * This file is part of the Symfony package.
- *
- * (c) Fabien Potencier <fabien@symfony.com>
- *
- * 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 <p@tchwork.com>
- *
- * @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 @@
-<?php
-
-return [
- 'İ' => 'i̇',
- 'µ' => 'μ',
- 'Å¿' => 's',
- 'ͅ' => 'ι',
- 'ς' => 'σ',
- 'Ï' => 'β',
- 'ϑ' => 'θ',
- 'ϕ' => 'φ',
- 'Ï–' => 'Ï€',
- 'ϰ' => 'κ',
- 'ϱ' => 'Ï',
- 'ϵ' => 'ε',
- 'ẛ' => 'ṡ',
- 'ι' => 'ι',
- 'ß' => 'ss',
- 'ʼn' => 'ʼn',
- 'ǰ' => 'ǰ',
- 'Î' => 'Î',
- 'ΰ' => 'ΰ',
- 'Ö‡' => 'Õ¥Ö‚',
- 'ẖ' => 'ẖ',
- 'ẗ' => 'ẗ',
- 'ẘ' => 'ẘ',
- 'ẙ' => 'ẙ',
- 'ẚ' => 'aʾ',
- 'ẞ' => 'ss',
- 'á½' => 'á½',
- 'á½’' => 'á½’',
- 'á½”' => 'á½”',
- 'á½–' => 'á½–',
- 'ᾀ' => 'ἀι',
- 'á¾' => 'á¼Î¹',
- 'ᾂ' => 'ἂι',
- 'ᾃ' => 'ἃι',
- 'ᾄ' => 'ἄι',
- 'ᾅ' => 'ἅι',
- 'ᾆ' => 'ἆι',
- 'ᾇ' => 'ἇι',
- 'ᾈ' => 'ἀι',
- 'ᾉ' => 'á¼Î¹',
- 'ᾊ' => 'ἂι',
- 'ᾋ' => 'ἃι',
- 'ᾌ' => 'ἄι',
- 'á¾' => 'ἅι',
- 'ᾎ' => 'ἆι',
- 'á¾' => 'ἇι',
- 'á¾' => 'ἠι',
- 'ᾑ' => 'ἡι',
- 'ᾒ' => 'ἢι',
- 'ᾓ' => 'ἣι',
- 'ᾔ' => 'ἤι',
- 'ᾕ' => 'ἥι',
- 'ᾖ' => 'ἦι',
- 'ᾗ' => 'ἧι',
- 'ᾘ' => 'ἠι',
- 'ᾙ' => 'ἡι',
- 'ᾚ' => 'ἢι',
- 'ᾛ' => 'ἣι',
- 'ᾜ' => 'ἤι',
- 'á¾' => 'ἥι',
- 'ᾞ' => 'ἦι',
- 'ᾟ' => 'ἧι',
- 'ᾠ' => 'ὠι',
- 'ᾡ' => 'ὡι',
- 'ᾢ' => 'ὢι',
- 'ᾣ' => 'ὣι',
- 'ᾤ' => 'ὤι',
- 'ᾥ' => 'ὥι',
- 'ᾦ' => 'ὦι',
- 'ᾧ' => 'ὧι',
- 'ᾨ' => 'ὠι',
- 'ᾩ' => 'ὡι',
- 'ᾪ' => 'ὢι',
- 'ᾫ' => 'ὣι',
- 'ᾬ' => 'ὤι',
- 'ᾭ' => 'ὥι',
- 'ᾮ' => 'ὦι',
- 'ᾯ' => 'ὧι',
- 'ᾲ' => 'ὰι',
- 'ᾳ' => 'αι',
- 'ᾴ' => 'άι',
- 'á¾¶' => 'á¾¶',
- 'ᾷ' => 'ᾶι',
- 'ᾼ' => 'αι',
- 'ῂ' => 'ὴι',
- 'ῃ' => 'ηι',
- 'ῄ' => 'ήι',
- 'ῆ' => 'ῆ',
- 'ῇ' => 'ῆι',
- 'ῌ' => 'ηι',
- 'á¿’' => 'á¿’',
- 'á¿–' => 'á¿–',
- 'á¿—' => 'á¿—',
- 'á¿¢' => 'á¿¢',
- 'ῤ' => 'ῤ',
- 'ῦ' => 'ῦ',
- 'á¿§' => 'á¿§',
- 'ῲ' => 'ὼι',
- 'ῳ' => 'ωι',
- 'ῴ' => 'ώι',
- 'á¿¶' => 'á¿¶',
- 'ῷ' => 'ῶι',
- 'ῼ' => 'ωι',
- 'ff' => 'ff',
- 'ï¬' => '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 @@
-<?php
-
-return array (
- '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',
- 'À' => 'à',
- 'Ã' => 'á',
- 'Â' => 'â',
- 'Ã' => 'ã',
- 'Ä' => 'ä',
- 'Ã…' => 'Ã¥',
- 'Æ' => 'æ',
- 'Ç' => 'ç',
- 'È' => 'è',
- 'É' => 'é',
- 'Ê' => 'ê',
- 'Ë' => 'ë',
- 'Ì' => 'ì',
- 'Ã' => 'í',
- 'Î' => 'î',
- 'Ã' => 'ï',
- 'Ã' => 'ð',
- 'Ñ' => 'ñ',
- 'Ò' => 'ò',
- 'Ó' => 'ó',
- 'Ô' => 'ô',
- 'Õ' => 'õ',
- 'Ö' => 'ö',
- 'Ø' => 'ø',
- 'Ù' => 'ù',
- 'Ú' => 'ú',
- 'Û' => 'û',
- 'Ü' => 'ü',
- 'Ã' => 'ý',
- 'Þ' => 'þ',
- 'Ä€' => 'Ä',
- 'Ă' => 'ă',
- 'Ä„' => 'Ä…',
- 'Ć' => 'ć',
- 'Ĉ' => 'ĉ',
- 'ÄŠ' => 'Ä‹',
- 'ÄŒ' => 'Ä',
- 'ÄŽ' => 'Ä',
- 'Ä' => 'Ä‘',
- 'Ä’' => 'Ä“',
- 'Ä”' => 'Ä•',
- 'Ä–' => 'Ä—',
- 'Ę' => 'ę',
- 'Äš' => 'Ä›',
- 'Äœ' => 'Ä',
- 'Äž' => 'ÄŸ',
- 'Ä ' => 'Ä¡',
- 'Ä¢' => 'Ä£',
- 'Ĥ' => 'ĥ',
- 'Ħ' => 'ħ',
- 'Ĩ' => 'ĩ',
- 'Ī' => 'ī',
- 'Ĭ' => 'ĭ',
- 'Į' => 'į',
- 'İ' => 'i̇',
- 'IJ' => 'ij',
- 'Ĵ' => 'ĵ',
- 'Ķ' => 'ķ',
- 'Ĺ' => 'ĺ',
- 'Ļ' => 'ļ',
- 'Ľ' => 'ľ',
- 'Ä¿' => 'Å€',
- 'Å' => 'Å‚',
- 'Ń' => 'ń',
- 'Ņ' => 'ņ',
- 'Ň' => 'ň',
- 'ÅŠ' => 'Å‹',
- 'ÅŒ' => 'Å',
- 'ÅŽ' => 'Å',
- 'Å' => 'Å‘',
- 'Å’' => 'Å“',
- 'Å”' => 'Å•',
- 'Å–' => 'Å—',
- 'Ř' => 'ř',
- 'Åš' => 'Å›',
- 'Åœ' => 'Å',
- 'Åž' => 'ÅŸ',
- 'Å ' => 'Å¡',
- 'Å¢' => 'Å£',
- 'Ť' => 'ť',
- 'Ŧ' => 'ŧ',
- 'Ũ' => 'ũ',
- 'Ū' => 'ū',
- 'Ŭ' => 'ŭ',
- 'Ů' => 'ů',
- 'Ű' => 'ű',
- 'Ų' => 'ų',
- 'Ŵ' => 'ŵ',
- 'Ŷ' => 'ŷ',
- 'Ÿ' => 'ÿ',
- 'Ź' => 'ź',
- 'Ż' => 'ż',
- 'Ž' => 'ž',
- 'Æ' => 'É“',
- 'Ƃ' => 'ƃ',
- 'Æ„' => 'Æ…',
- 'Ɔ' => 'ɔ',
- 'Ƈ' => 'ƈ',
- 'Ɖ' => 'ɖ',
- 'ÆŠ' => 'É—',
- 'Ƌ' => 'ƌ',
- 'ÆŽ' => 'Ç',
- 'Æ' => 'É™',
- 'Æ' => 'É›',
- 'Æ‘' => 'Æ’',
- 'Æ“' => 'É ',
- 'Æ”' => 'É£',
- 'Æ–' => 'É©',
- 'Ɨ' => 'ɨ',
- 'Ƙ' => 'ƙ',
- 'Ɯ' => 'ɯ',
- 'Æ' => 'ɲ',
- 'Ɵ' => 'ɵ',
- 'Æ ' => 'Æ¡',
- 'Æ¢' => 'Æ£',
- 'Ƥ' => 'ƥ',
- 'Ʀ' => 'ʀ',
- 'Ƨ' => 'ƨ',
- 'Ʃ' => 'ʃ',
- 'Ƭ' => 'ƭ',
- 'Ʈ' => 'ʈ',
- 'Ư' => 'ư',
- 'Ʊ' => 'ʊ',
- 'Ʋ' => 'ʋ',
- 'Ƴ' => 'ƴ',
- 'Ƶ' => 'ƶ',
- 'Æ·' => 'Ê’',
- 'Ƹ' => 'ƹ',
- 'Ƽ' => 'ƽ',
- 'DŽ' => 'dž',
- 'Dž' => 'dž',
- 'LJ' => 'lj',
- 'Lj' => 'lj',
- 'NJ' => 'nj',
- 'Nj' => 'nj',
- 'Ç' => 'ÇŽ',
- 'Ç' => 'Ç',
- 'Ç‘' => 'Ç’',
- 'Ç“' => 'Ç”',
- 'Ç•' => 'Ç–',
- 'Ǘ' => 'ǘ',
- 'Ç™' => 'Çš',
- 'Ǜ' => 'ǜ',
- 'Çž' => 'ÇŸ',
- 'Ç ' => 'Ç¡',
- 'Ç¢' => 'Ç£',
- 'Ǥ' => 'ǥ',
- 'Ǧ' => 'ǧ',
- 'Ǩ' => 'ǩ',
- 'Ǫ' => 'ǫ',
- 'Ǭ' => 'ǭ',
- 'Ǯ' => 'ǯ',
- 'DZ' => 'dz',
- 'Dz' => 'dz',
- 'Ǵ' => 'ǵ',
- 'Ƕ' => 'ƕ',
- 'Ç·' => 'Æ¿',
- 'Ǹ' => 'ǹ',
- 'Ǻ' => 'ǻ',
- 'Ǽ' => 'ǽ',
- 'Ǿ' => 'ǿ',
- 'È€' => 'È',
- 'Ȃ' => 'ȃ',
- 'È„' => 'È…',
- 'Ȇ' => 'ȇ',
- 'Ȉ' => 'ȉ',
- 'ÈŠ' => 'È‹',
- 'ÈŒ' => 'È',
- 'ÈŽ' => 'È',
- 'È' => 'È‘',
- 'È’' => 'È“',
- 'È”' => 'È•',
- 'È–' => 'È—',
- 'Ș' => 'ș',
- 'Èš' => 'È›',
- 'Èœ' => 'È',
- 'Èž' => 'ÈŸ',
- 'È ' => 'Æž',
- 'È¢' => 'È£',
- 'Ȥ' => 'ȥ',
- 'Ȧ' => 'ȧ',
- 'Ȩ' => 'ȩ',
- 'Ȫ' => 'ȫ',
- 'Ȭ' => 'ȭ',
- 'Ȯ' => 'ȯ',
- 'Ȱ' => 'ȱ',
- 'Ȳ' => 'ȳ',
- 'Ⱥ' => 'ⱥ',
- 'Ȼ' => 'ȼ',
- 'Ƚ' => 'ƚ',
- 'Ⱦ' => 'ⱦ',
- 'É' => 'É‚',
- 'Ƀ' => 'ƀ',
- 'Ʉ' => 'ʉ',
- 'Ʌ' => 'ʌ',
- 'Ɇ' => 'ɇ',
- 'Ɉ' => 'ɉ',
- 'ÉŠ' => 'É‹',
- 'ÉŒ' => 'É',
- 'ÉŽ' => 'É',
- 'Ͱ' => 'ͱ',
- 'Ͳ' => 'ͳ',
- 'Ͷ' => 'ͷ',
- 'Ϳ' => 'ϳ',
- 'Ά' => 'ά',
- 'Έ' => 'έ',
- 'Ή' => 'ή',
- 'Ί' => 'ί',
- 'Ό' => 'ό',
- 'ÎŽ' => 'Ï',
- 'Î' => 'ÏŽ',
- 'Α' => 'α',
- 'Β' => 'β',
- 'Γ' => 'γ',
- 'Δ' => 'δ',
- 'Ε' => 'ε',
- 'Ζ' => 'ζ',
- 'Η' => 'η',
- 'Θ' => 'θ',
- 'Ι' => 'ι',
- 'Κ' => 'κ',
- 'Λ' => 'λ',
- 'Μ' => 'μ',
- 'Î' => 'ν',
- 'Ξ' => 'ξ',
- 'Ο' => 'ο',
- 'Π' => 'π',
- 'Ρ' => 'Ï',
- 'Σ' => 'σ',
- 'Τ' => 'τ',
- 'Î¥' => 'Ï…',
- 'Φ' => 'φ',
- 'Χ' => 'χ',
- 'Ψ' => 'ψ',
- 'Ω' => 'ω',
- 'Ϊ' => 'ϊ',
- 'Ϋ' => 'ϋ',
- 'Ï' => 'Ï—',
- 'Ϙ' => 'ϙ',
- 'Ïš' => 'Ï›',
- 'Ïœ' => 'Ï',
- 'Ïž' => 'ÏŸ',
- 'Ï ' => 'Ï¡',
- 'Ï¢' => 'Ï£',
- 'Ϥ' => 'ϥ',
- 'Ϧ' => 'ϧ',
- 'Ϩ' => 'ϩ',
- 'Ϫ' => 'ϫ',
- 'Ϭ' => 'ϭ',
- 'Ϯ' => 'ϯ',
- 'ϴ' => 'θ',
- 'Ϸ' => 'ϸ',
- 'Ϲ' => 'ϲ',
- 'Ϻ' => 'ϻ',
- 'Ͻ' => 'ͻ',
- 'Ͼ' => 'ͼ',
- 'Ͽ' => 'ͽ',
- 'Ѐ' => 'Ñ',
- 'Ð' => 'Ñ‘',
- 'Ђ' => 'ђ',
- 'Ѓ' => 'ѓ',
- 'Є' => 'є',
- 'Ð…' => 'Ñ•',
- 'І' => 'і',
- 'Ї' => 'ї',
- 'Ј' => 'ј',
- 'Љ' => 'љ',
- 'Њ' => 'њ',
- 'Ћ' => 'ћ',
- 'Ќ' => 'ќ',
- 'Ð' => 'Ñ',
- 'ÐŽ' => 'Ñž',
- 'Ð' => 'ÑŸ',
- 'Ð' => 'а',
- 'Б' => 'б',
- 'В' => 'в',
- 'Г' => 'г',
- 'Д' => 'д',
- 'Е' => 'е',
- 'Ж' => 'ж',
- 'З' => 'з',
- 'И' => 'и',
- 'Й' => 'й',
- 'К' => 'к',
- 'Л' => 'л',
- 'М' => 'м',
- 'Ð' => 'н',
- 'О' => 'о',
- 'П' => 'п',
- 'Р' => 'р',
- 'С' => 'Ñ',
- 'Т' => 'т',
- 'У' => 'у',
- 'Ф' => 'ф',
- 'Ð¥' => 'Ñ…',
- 'Ц' => 'ц',
- 'Ч' => 'ч',
- 'Ш' => 'ш',
- 'Щ' => 'щ',
- 'Ъ' => 'ъ',
- 'Ы' => 'ы',
- 'Ь' => 'ь',
- 'Э' => 'Ñ',
- 'Ю' => 'ю',
- 'Я' => 'Ñ',
- 'Ñ ' => 'Ñ¡',
- 'Ñ¢' => 'Ñ£',
- 'Ѥ' => 'ѥ',
- 'Ѧ' => 'ѧ',
- 'Ѩ' => 'ѩ',
- 'Ѫ' => 'ѫ',
- 'Ѭ' => 'ѭ',
- 'Ѯ' => 'ѯ',
- 'Ѱ' => 'ѱ',
- 'Ѳ' => 'ѳ',
- 'Ѵ' => 'ѵ',
- 'Ѷ' => 'ѷ',
- 'Ѹ' => 'ѹ',
- 'Ѻ' => 'ѻ',
- 'Ѽ' => 'ѽ',
- 'Ѿ' => 'ѿ',
- 'Ò€' => 'Ò',
- 'ÒŠ' => 'Ò‹',
- 'ÒŒ' => 'Ò',
- 'ÒŽ' => 'Ò',
- 'Ò' => 'Ò‘',
- 'Ò’' => 'Ò“',
- 'Ò”' => 'Ò•',
- 'Ò–' => 'Ò—',
- 'Ò˜' => 'Ò™',
- 'Òš' => 'Ò›',
- 'Òœ' => 'Ò',
- 'Òž' => 'ÒŸ',
- 'Ò ' => 'Ò¡',
- 'Ò¢' => 'Ò£',
- 'Ò¤' => 'Ò¥',
- 'Ò¦' => 'Ò§',
- 'Ò¨' => 'Ò©',
- 'Òª' => 'Ò«',
- 'Ò¬' => 'Ò­',
- 'Ò®' => 'Ò¯',
- 'Ò°' => 'Ò±',
- 'Ò²' => 'Ò³',
- 'Ò´' => 'Òµ',
- 'Ò¶' => 'Ò·',
- 'Ò¸' => 'Ò¹',
- 'Òº' => 'Ò»',
- 'Ò¼' => 'Ò½',
- 'Ò¾' => 'Ò¿',
- 'Ó€' => 'Ó',
- 'Ó' => 'Ó‚',
- 'Óƒ' => 'Ó„',
- 'Ó…' => 'Ó†',
- 'Ó‡' => 'Óˆ',
- 'Ó‰' => 'ÓŠ',
- 'Ӌ' => 'ӌ',
- 'Ó' => 'ÓŽ',
- 'Ó' => 'Ó‘',
- 'Ó’' => 'Ó“',
- 'Ó”' => 'Ó•',
- 'Ó–' => 'Ó—',
- 'Ó˜' => 'Ó™',
- 'Óš' => 'Ó›',
- 'Óœ' => 'Ó',
- 'Óž' => 'ÓŸ',
- 'Ó ' => 'Ó¡',
- 'Ó¢' => 'Ó£',
- 'Ó¤' => 'Ó¥',
- 'Ó¦' => 'Ó§',
- 'Ó¨' => 'Ó©',
- 'Óª' => 'Ó«',
- 'Ó¬' => 'Ó­',
- 'Ó®' => 'Ó¯',
- 'Ó°' => 'Ó±',
- 'Ó²' => 'Ó³',
- 'Ó´' => 'Óµ',
- 'Ó¶' => 'Ó·',
- 'Ó¸' => 'Ó¹',
- 'Óº' => 'Ó»',
- 'Ó¼' => 'Ó½',
- 'Ó¾' => 'Ó¿',
- 'Ô€' => 'Ô',
- 'Ô‚' => 'Ôƒ',
- 'Ô„' => 'Ô…',
- 'Ô†' => 'Ô‡',
- 'Ôˆ' => 'Ô‰',
- 'ÔŠ' => 'Ô‹',
- 'ÔŒ' => 'Ô',
- 'ÔŽ' => 'Ô',
- 'Ô' => 'Ô‘',
- 'Ô’' => 'Ô“',
- 'Ô”' => 'Ô•',
- 'Ô–' => 'Ô—',
- 'Ô˜' => 'Ô™',
- 'Ôš' => 'Ô›',
- 'Ôœ' => 'Ô',
- 'Ôž' => 'ÔŸ',
- 'Ô ' => 'Ô¡',
- 'Ô¢' => 'Ô£',
- 'Ô¤' => 'Ô¥',
- 'Ô¦' => 'Ô§',
- 'Ô¨' => 'Ô©',
- 'Ôª' => 'Ô«',
- 'Ô¬' => 'Ô­',
- 'Ô®' => 'Ô¯',
- 'Ô±' => 'Õ¡',
- 'Ô²' => 'Õ¢',
- 'Ô³' => 'Õ£',
- 'Ô´' => 'Õ¤',
- 'Ôµ' => 'Õ¥',
- 'Ô¶' => 'Õ¦',
- 'Ô·' => 'Õ§',
- 'Ô¸' => 'Õ¨',
- 'Ô¹' => 'Õ©',
- 'Ôº' => 'Õª',
- 'Ô»' => 'Õ«',
- 'Ô¼' => 'Õ¬',
- 'Ô½' => 'Õ­',
- 'Ô¾' => 'Õ®',
- 'Ô¿' => 'Õ¯',
- 'Õ€' => 'Õ°',
- 'Õ' => 'Õ±',
- 'Õ‚' => 'Õ²',
- 'Õƒ' => 'Õ³',
- 'Õ„' => 'Õ´',
- 'Õ…' => 'Õµ',
- 'Õ†' => 'Õ¶',
- 'Õ‡' => 'Õ·',
- 'Õˆ' => 'Õ¸',
- 'Õ‰' => 'Õ¹',
- 'ÕŠ' => 'Õº',
- 'Õ‹' => 'Õ»',
- 'Ռ' => 'ռ',
- 'Õ' => 'Õ½',
- 'ÕŽ' => 'Õ¾',
- 'Õ' => 'Õ¿',
- 'Õ' => 'Ö€',
- 'Õ‘' => 'Ö',
- 'Õ’' => 'Ö‚',
- 'Õ“' => 'Öƒ',
- 'Õ”' => 'Ö„',
- 'Õ•' => 'Ö…',
- 'Õ–' => 'Ö†',
- 'á‚ ' => 'â´€',
- 'á‚¡' => 'â´',
- 'á‚¢' => 'â´‚',
- 'á‚£' => 'â´ƒ',
- 'Ⴄ' => 'ⴄ',
- 'á‚¥' => 'â´…',
- 'Ⴆ' => 'ⴆ',
- 'á‚§' => 'â´‡',
- 'Ⴈ' => 'ⴈ',
- 'á‚©' => 'â´‰',
- 'Ⴊ' => 'ⴊ',
- 'á‚«' => 'â´‹',
- 'Ⴌ' => 'ⴌ',
- 'á‚­' => 'â´',
- 'á‚®' => 'â´Ž',
- 'Ⴏ' => 'â´',
- 'á‚°' => 'â´',
- 'Ⴑ' => 'ⴑ',
- 'Ⴒ' => 'ⴒ',
- 'Ⴓ' => 'ⴓ',
- 'á‚´' => 'â´”',
- 'Ⴕ' => 'ⴕ',
- 'á‚¶' => 'â´–',
- 'á‚·' => 'â´—',
- 'Ⴘ' => 'ⴘ',
- 'Ⴙ' => 'ⴙ',
- 'Ⴚ' => 'ⴚ',
- 'á‚»' => 'â´›',
- 'Ⴜ' => 'ⴜ',
- 'Ⴝ' => 'â´',
- 'Ⴞ' => 'ⴞ',
- 'á‚¿' => 'â´Ÿ',
- 'Ⴠ' => 'ⴠ',
- 'áƒ' => 'â´¡',
- 'Ⴢ' => 'ⴢ',
- 'Ⴣ' => 'ⴣ',
- 'Ⴤ' => 'ⴤ',
- 'Ⴥ' => 'ⴥ',
- 'Ⴧ' => 'ⴧ',
- 'áƒ' => 'â´­',
- 'Ꭰ' => 'ꭰ',
- 'Ꭱ' => 'ꭱ',
- 'Ꭲ' => 'ꭲ',
- 'Ꭳ' => 'ꭳ',
- 'Ꭴ' => 'ꭴ',
- 'Ꭵ' => 'ꭵ',
- 'Ꭶ' => 'ꭶ',
- 'Ꭷ' => 'ꭷ',
- 'Ꭸ' => 'ꭸ',
- 'Ꭹ' => 'ꭹ',
- 'Ꭺ' => 'ꭺ',
- 'Ꭻ' => 'ꭻ',
- 'Ꭼ' => 'ꭼ',
- 'Ꭽ' => 'ꭽ',
- 'Ꭾ' => 'ꭾ',
- 'Ꭿ' => 'ꭿ',
- 'Ꮀ' => 'ꮀ',
- 'Ꮁ' => 'ê®',
- 'Ꮂ' => 'ꮂ',
- 'Ꮃ' => 'ꮃ',
- 'Ꮄ' => 'ꮄ',
- 'Ꮅ' => 'ꮅ',
- 'Ꮆ' => 'ꮆ',
- 'Ꮇ' => 'ꮇ',
- 'Ꮈ' => 'ꮈ',
- 'Ꮉ' => 'ꮉ',
- 'Ꮊ' => 'ꮊ',
- 'Ꮋ' => 'ꮋ',
- 'Ꮌ' => 'ꮌ',
- 'Ꮍ' => 'ê®',
- 'Ꮎ' => 'ꮎ',
- 'Ꮏ' => 'ê®',
- 'á€' => 'ê®',
- 'á' => 'ꮑ',
- 'á‚' => 'ê®’',
- 'áƒ' => 'ꮓ',
- 'á„' => 'ê®”',
- 'á…' => 'ꮕ',
- 'á†' => 'ê®–',
- 'á‡' => 'ê®—',
- 'áˆ' => 'ꮘ',
- 'á‰' => 'ê®™',
- 'áŠ' => 'ꮚ',
- 'á‹' => 'ê®›',
- 'áŒ' => 'ꮜ',
- 'á' => 'ê®',
- 'áŽ' => 'ꮞ',
- 'á' => 'ꮟ',
- 'á' => 'ê® ',
- 'á‘' => 'ꮡ',
- 'á’' => 'ꮢ',
- 'á“' => 'ꮣ',
- 'á”' => 'ꮤ',
- 'á•' => 'ꮥ',
- 'á–' => 'ꮦ',
- 'á—' => 'ê®§',
- 'á˜' => 'ꮨ',
- 'á™' => 'ꮩ',
- 'áš' => 'ꮪ',
- 'á›' => 'ꮫ',
- 'áœ' => 'ꮬ',
- 'á' => 'ê®­',
- 'áž' => 'ê®®',
- 'áŸ' => 'ꮯ',
- 'á ' => 'ê®°',
- 'á¡' => 'ê®±',
- 'á¢' => 'ꮲ',
- 'á£' => 'ꮳ',
- 'á¤' => 'ê®´',
- 'á¥' => 'ꮵ',
- 'á¦' => 'ê®¶',
- 'á§' => 'ê®·',
- 'á¨' => 'ꮸ',
- 'á©' => 'ꮹ',
- 'áª' => 'ꮺ',
- 'á«' => 'ê®»',
- 'á¬' => 'ꮼ',
- 'á­' => 'ꮽ',
- 'á®' => 'ꮾ',
- 'á¯' => 'ꮿ',
- 'á°' => 'á¸',
- 'á±' => 'á¹',
- 'á²' => 'áº',
- 'á³' => 'á»',
- 'á´' => 'á¼',
- 'áµ' => 'á½',
- 'á²' => 'áƒ',
- 'Ბ' => 'ბ',
- 'Გ' => 'გ',
- 'Დ' => 'დ',
- 'Ე' => 'ე',
- 'Ვ' => 'ვ',
- 'Ზ' => 'ზ',
- 'Თ' => 'თ',
- 'Ი' => 'ი',
- 'Კ' => 'კ',
- 'Ლ' => 'ლ',
- 'Მ' => 'მ',
- 'Ნ' => 'ნ',
- 'á²' => 'áƒ',
- 'Პ' => 'პ',
- 'Ჟ' => 'ჟ',
- 'Რ' => 'რ',
- 'Ს' => 'ს',
- 'Ტ' => 'ტ',
- 'Უ' => 'უ',
- 'Ფ' => 'ფ',
- 'Ქ' => 'ქ',
- 'Ღ' => 'ღ',
- 'Ყ' => 'ყ',
- 'Შ' => 'შ',
- 'Ჩ' => 'ჩ',
- 'Ც' => 'ც',
- 'Ძ' => 'ძ',
- 'Წ' => 'წ',
- 'Ჭ' => 'ჭ',
- 'Ხ' => 'ხ',
- 'Ჯ' => 'ჯ',
- 'Ჰ' => 'ჰ',
- 'Ჱ' => 'ჱ',
- 'Ჲ' => 'ჲ',
- 'Ჳ' => 'ჳ',
- 'Ჴ' => 'ჴ',
- 'Ჵ' => 'ჵ',
- 'Ჶ' => 'ჶ',
- 'Ჷ' => 'ჷ',
- 'Ჸ' => 'ჸ',
- 'Ჹ' => 'ჹ',
- 'Ჺ' => 'ჺ',
- 'Ჽ' => 'ჽ',
- 'Ჾ' => 'ჾ',
- 'Ჿ' => 'ჿ',
- 'Ḁ' => 'á¸',
- 'Ḃ' => 'ḃ',
- 'Ḅ' => 'ḅ',
- 'Ḇ' => 'ḇ',
- 'Ḉ' => 'ḉ',
- 'Ḋ' => 'ḋ',
- 'Ḍ' => 'á¸',
- 'Ḏ' => 'á¸',
- 'á¸' => 'ḑ',
- 'Ḓ' => 'ḓ',
- 'Ḕ' => 'ḕ',
- 'Ḗ' => 'ḗ',
- 'Ḙ' => 'ḙ',
- 'Ḛ' => 'ḛ',
- 'Ḝ' => 'á¸',
- 'Ḟ' => 'ḟ',
- 'Ḡ' => 'ḡ',
- 'Ḣ' => 'ḣ',
- 'Ḥ' => 'ḥ',
- 'Ḧ' => 'ḧ',
- 'Ḩ' => 'ḩ',
- 'Ḫ' => 'ḫ',
- 'Ḭ' => 'ḭ',
- 'Ḯ' => 'ḯ',
- 'Ḱ' => 'ḱ',
- 'Ḳ' => 'ḳ',
- 'Ḵ' => 'ḵ',
- 'Ḷ' => 'ḷ',
- 'Ḹ' => 'ḹ',
- 'Ḻ' => 'ḻ',
- 'Ḽ' => 'ḽ',
- 'Ḿ' => 'ḿ',
- 'á¹€' => 'á¹',
- 'Ṃ' => 'ṃ',
- 'Ṅ' => 'ṅ',
- 'Ṇ' => 'ṇ',
- 'Ṉ' => 'ṉ',
- 'Ṋ' => 'ṋ',
- 'Ṍ' => 'á¹',
- 'Ṏ' => 'á¹',
- 'á¹' => 'ṑ',
- 'Ṓ' => 'ṓ',
- 'Ṕ' => 'ṕ',
- 'á¹–' => 'á¹—',
- 'Ṙ' => 'ṙ',
- 'Ṛ' => 'ṛ',
- 'Ṝ' => 'á¹',
- 'Ṟ' => 'ṟ',
- 'Ṡ' => 'ṡ',
- 'á¹¢' => 'á¹£',
- 'Ṥ' => 'ṥ',
- 'Ṧ' => 'ṧ',
- 'Ṩ' => 'ṩ',
- 'Ṫ' => 'ṫ',
- 'Ṭ' => 'ṭ',
- 'Ṯ' => 'ṯ',
- 'á¹°' => 'á¹±',
- 'á¹²' => 'á¹³',
- 'á¹´' => 'á¹µ',
- 'á¹¶' => 'á¹·',
- 'Ṹ' => 'ṹ',
- 'Ṻ' => 'ṻ',
- 'á¹¼' => 'á¹½',
- 'Ṿ' => 'ṿ',
- 'Ẁ' => 'áº',
- 'Ẃ' => 'ẃ',
- 'Ẅ' => 'ẅ',
- 'Ẇ' => 'ẇ',
- 'Ẉ' => 'ẉ',
- 'Ẋ' => 'ẋ',
- 'Ẍ' => 'áº',
- 'Ẏ' => 'áº',
- 'áº' => 'ẑ',
- 'Ẓ' => 'ẓ',
- 'Ẕ' => 'ẕ',
- 'ẞ' => 'ß',
- 'Ạ' => 'ạ',
- 'Ả' => 'ả',
- 'Ấ' => 'ấ',
- 'Ầ' => 'ầ',
- 'Ẩ' => 'ẩ',
- 'Ẫ' => 'ẫ',
- 'Ậ' => 'ậ',
- 'Ắ' => 'ắ',
- 'Ằ' => 'ằ',
- 'Ẳ' => 'ẳ',
- 'Ẵ' => 'ẵ',
- 'Ặ' => 'ặ',
- 'Ẹ' => 'ẹ',
- 'Ẻ' => 'ẻ',
- 'Ẽ' => 'ẽ',
- 'Ế' => 'ế',
- 'Ề' => 'á»',
- 'Ể' => 'ể',
- 'Ễ' => 'ễ',
- 'Ệ' => 'ệ',
- 'Ỉ' => 'ỉ',
- 'Ị' => 'ị',
- 'Ọ' => 'á»',
- 'Ỏ' => 'á»',
- 'á»' => 'ố',
- 'Ồ' => 'ồ',
- 'Ổ' => 'ổ',
- 'á»–' => 'á»—',
- 'Ộ' => 'ộ',
- 'Ớ' => 'ớ',
- 'Ờ' => 'á»',
- 'Ở' => 'ở',
- 'Ỡ' => 'ỡ',
- 'Ợ' => 'ợ',
- 'Ụ' => 'ụ',
- 'Ủ' => 'ủ',
- 'Ứ' => 'ứ',
- 'Ừ' => 'ừ',
- 'Ử' => 'ử',
- 'Ữ' => 'ữ',
- 'á»°' => 'á»±',
- 'Ỳ' => 'ỳ',
- 'Ỵ' => 'ỵ',
- 'á»¶' => 'á»·',
- 'Ỹ' => 'ỹ',
- 'Ỻ' => 'ỻ',
- 'Ỽ' => 'ỽ',
- 'Ỿ' => 'ỿ',
- 'Ἀ' => 'ἀ',
- 'Ἁ' => 'á¼',
- 'Ἂ' => 'ἂ',
- 'Ἃ' => 'ἃ',
- 'Ἄ' => 'ἄ',
- 'á¼' => 'á¼…',
- 'Ἆ' => 'ἆ',
- 'á¼' => 'ἇ',
- 'Ἐ' => 'á¼',
- 'Ἑ' => 'ἑ',
- 'Ἒ' => 'ἒ',
- 'Ἓ' => 'ἓ',
- 'Ἔ' => 'ἔ',
- 'á¼' => 'ἕ',
- 'Ἠ' => 'ἠ',
- 'Ἡ' => 'ἡ',
- 'Ἢ' => 'ἢ',
- 'Ἣ' => 'ἣ',
- 'Ἤ' => 'ἤ',
- 'á¼­' => 'á¼¥',
- 'Ἦ' => 'ἦ',
- 'Ἧ' => 'ἧ',
- 'Ἰ' => 'ἰ',
- 'á¼¹' => 'á¼±',
- 'Ἲ' => 'ἲ',
- 'á¼»' => 'á¼³',
- 'á¼¼' => 'á¼´',
- 'á¼½' => 'á¼µ',
- 'á¼¾' => 'á¼¶',
- 'Ἷ' => 'ἷ',
- 'Ὀ' => 'ὀ',
- 'Ὁ' => 'á½',
- 'Ὂ' => 'ὂ',
- 'Ὃ' => 'ὃ',
- 'Ὄ' => 'ὄ',
- 'á½' => 'á½…',
- 'Ὑ' => 'ὑ',
- 'Ὓ' => 'ὓ',
- 'á½' => 'ὕ',
- 'Ὗ' => 'ὗ',
- 'Ὠ' => 'ὠ',
- 'Ὡ' => 'ὡ',
- 'Ὢ' => 'ὢ',
- 'Ὣ' => 'ὣ',
- 'Ὤ' => 'ὤ',
- 'á½­' => 'á½¥',
- 'Ὦ' => 'ὦ',
- 'Ὧ' => 'ὧ',
- 'ᾈ' => 'ᾀ',
- 'ᾉ' => 'á¾',
- 'ᾊ' => 'ᾂ',
- 'ᾋ' => 'ᾃ',
- 'ᾌ' => 'ᾄ',
- 'á¾' => 'á¾…',
- 'ᾎ' => 'ᾆ',
- 'á¾' => 'ᾇ',
- 'ᾘ' => 'á¾',
- 'ᾙ' => 'ᾑ',
- 'ᾚ' => 'ᾒ',
- 'ᾛ' => 'ᾓ',
- 'ᾜ' => 'ᾔ',
- 'á¾' => 'ᾕ',
- 'ᾞ' => 'ᾖ',
- 'ᾟ' => 'ᾗ',
- 'ᾨ' => 'ᾠ',
- 'ᾩ' => 'ᾡ',
- 'ᾪ' => 'ᾢ',
- 'ᾫ' => 'ᾣ',
- 'ᾬ' => 'ᾤ',
- 'á¾­' => 'á¾¥',
- 'ᾮ' => 'ᾦ',
- 'ᾯ' => 'ᾧ',
- 'Ᾰ' => 'ᾰ',
- 'á¾¹' => 'á¾±',
- 'Ὰ' => 'ὰ',
- 'á¾»' => 'á½±',
- 'á¾¼' => 'á¾³',
- 'Ὲ' => 'ὲ',
- 'Έ' => 'έ',
- 'Ὴ' => 'ὴ',
- 'á¿‹' => 'á½µ',
- 'ῌ' => 'ῃ',
- 'Ῐ' => 'á¿',
- 'á¿™' => 'á¿‘',
- 'Ὶ' => 'ὶ',
- 'á¿›' => 'á½·',
- 'Ῠ' => 'ῠ',
- 'á¿©' => 'á¿¡',
- 'Ὺ' => 'ὺ',
- 'á¿«' => 'á½»',
- 'Ῥ' => 'ῥ',
- 'Ὸ' => 'ὸ',
- 'Ό' => 'ό',
- 'Ὼ' => 'ὼ',
- 'á¿»' => 'á½½',
- 'ῼ' => 'ῳ',
- 'Ω' => 'ω',
- 'K' => 'k',
- 'â„«' => 'Ã¥',
- 'Ⅎ' => 'ⅎ',
- 'â… ' => 'â…°',
- 'â…¡' => 'â…±',
- 'â…¢' => 'â…²',
- 'â…£' => 'â…³',
- 'â…¤' => 'â…´',
- 'â…¥' => 'â…µ',
- 'â…¦' => 'â…¶',
- 'â…§' => 'â…·',
- 'â…¨' => 'â…¸',
- 'â…©' => 'â…¹',
- 'â…ª' => 'â…º',
- 'â…«' => 'â…»',
- 'â…¬' => 'â…¼',
- 'â…­' => 'â…½',
- 'â…®' => 'â…¾',
- 'â…¯' => 'â…¿',
- 'Ↄ' => 'ↄ',
- 'â’¶' => 'â“',
- 'â’·' => 'â“‘',
- 'â’¸' => 'â“’',
- 'â’¹' => 'â““',
- 'â’º' => 'â“”',
- 'â’»' => 'â“•',
- 'â’¼' => 'â“–',
- 'â’½' => 'â“—',
- 'Ⓘ' => 'ⓘ',
- 'â’¿' => 'â“™',
- 'Ⓚ' => 'ⓚ',
- 'â“' => 'â“›',
- 'Ⓜ' => 'ⓜ',
- 'Ⓝ' => 'â“',
- 'Ⓞ' => 'ⓞ',
- 'Ⓟ' => 'ⓟ',
- 'Ⓠ' => 'ⓠ',
- 'Ⓡ' => 'ⓡ',
- 'Ⓢ' => 'ⓢ',
- 'Ⓣ' => 'ⓣ',
- 'Ⓤ' => 'ⓤ',
- 'â“‹' => 'â“¥',
- 'Ⓦ' => 'ⓦ',
- 'â“' => 'â“§',
- 'Ⓨ' => 'ⓨ',
- 'â“' => 'â“©',
- 'â°€' => 'â°°',
- 'â°' => 'â°±',
- 'â°‚' => 'â°²',
- 'â°ƒ' => 'â°³',
- 'â°„' => 'â°´',
- 'â°…' => 'â°µ',
- 'â°†' => 'â°¶',
- 'â°‡' => 'â°·',
- 'â°ˆ' => 'â°¸',
- 'â°‰' => 'â°¹',
- 'â°Š' => 'â°º',
- 'â°‹' => 'â°»',
- 'Ⰼ' => 'ⰼ',
- 'â°' => 'â°½',
- 'â°Ž' => 'â°¾',
- 'â°' => 'â°¿',
- 'â°' => 'â±€',
- 'â°‘' => 'â±',
- 'Ⱂ' => 'ⱂ',
- 'Ⱃ' => 'ⱃ',
- 'Ⱄ' => 'ⱄ',
- 'â°•' => 'â±…',
- 'Ⱆ' => 'ⱆ',
- 'Ⱇ' => 'ⱇ',
- 'Ⱈ' => 'ⱈ',
- 'Ⱉ' => 'ⱉ',
- 'Ⱊ' => 'ⱊ',
- 'Ⱋ' => 'ⱋ',
- 'Ⱌ' => 'ⱌ',
- 'â°' => 'â±',
- 'Ⱎ' => 'ⱎ',
- 'â°Ÿ' => 'â±',
- 'â° ' => 'â±',
- 'Ⱑ' => 'ⱑ',
- 'â°¢' => 'â±’',
- 'Ⱓ' => 'ⱓ',
- 'â°¤' => 'â±”',
- 'Ⱕ' => 'ⱕ',
- 'â°¦' => 'â±–',
- 'â°§' => 'â±—',
- 'Ⱘ' => 'ⱘ',
- 'â°©' => 'â±™',
- 'Ⱚ' => 'ⱚ',
- 'â°«' => 'â±›',
- 'Ⱜ' => 'ⱜ',
- 'â°­' => 'â±',
- 'Ⱞ' => 'ⱞ',
- 'Ⱡ' => 'ⱡ',
- 'â±¢' => 'É«',
- 'â±£' => 'áµ½',
- 'Ɽ' => 'ɽ',
- 'Ⱨ' => 'ⱨ',
- 'Ⱪ' => 'ⱪ',
- 'Ⱬ' => 'ⱬ',
- 'â±­' => 'É‘',
- 'Ɱ' => 'ɱ',
- 'Ɐ' => 'É',
- 'â±°' => 'É’',
- 'â±²' => 'â±³',
- 'â±µ' => 'â±¶',
- 'â±¾' => 'È¿',
- 'Ɀ' => 'ɀ',
- 'â²€' => 'â²',
- 'Ⲃ' => 'ⲃ',
- 'Ⲅ' => 'ⲅ',
- 'Ⲇ' => 'ⲇ',
- 'Ⲉ' => 'ⲉ',
- 'Ⲋ' => 'ⲋ',
- 'Ⲍ' => 'â²',
- 'Ⲏ' => 'â²',
- 'â²' => 'ⲑ',
- 'Ⲓ' => 'ⲓ',
- 'Ⲕ' => 'ⲕ',
- 'â²–' => 'â²—',
- 'Ⲙ' => 'ⲙ',
- 'Ⲛ' => 'ⲛ',
- 'Ⲝ' => 'â²',
- 'Ⲟ' => 'ⲟ',
- 'Ⲡ' => 'ⲡ',
- 'â²¢' => 'â²£',
- 'Ⲥ' => 'ⲥ',
- 'Ⲧ' => 'ⲧ',
- 'Ⲩ' => 'ⲩ',
- 'Ⲫ' => 'ⲫ',
- 'Ⲭ' => 'ⲭ',
- 'Ⲯ' => 'ⲯ',
- 'â²°' => 'â²±',
- 'â²²' => 'â²³',
- 'â²´' => 'â²µ',
- 'â²¶' => 'â²·',
- 'Ⲹ' => 'ⲹ',
- 'Ⲻ' => 'ⲻ',
- 'â²¼' => 'â²½',
- 'Ⲿ' => 'ⲿ',
- 'â³€' => 'â³',
- 'Ⳃ' => 'ⳃ',
- 'Ⳅ' => 'ⳅ',
- 'Ⳇ' => 'ⳇ',
- 'Ⳉ' => 'ⳉ',
- 'Ⳋ' => 'ⳋ',
- 'Ⳍ' => 'â³',
- 'Ⳏ' => 'â³',
- 'â³' => 'ⳑ',
- 'Ⳓ' => 'ⳓ',
- 'Ⳕ' => 'ⳕ',
- 'â³–' => 'â³—',
- 'Ⳙ' => 'ⳙ',
- 'Ⳛ' => 'ⳛ',
- 'Ⳝ' => 'â³',
- 'Ⳟ' => 'ⳟ',
- 'Ⳡ' => 'ⳡ',
- 'â³¢' => 'â³£',
- 'Ⳬ' => 'ⳬ',
- 'â³­' => 'â³®',
- 'â³²' => 'â³³',
- 'Ꙁ' => 'ê™',
- 'Ꙃ' => 'ꙃ',
- 'Ꙅ' => 'ꙅ',
- 'Ꙇ' => 'ꙇ',
- 'Ꙉ' => 'ꙉ',
- 'Ꙋ' => 'ꙋ',
- 'Ꙍ' => 'ê™',
- 'Ꙏ' => 'ê™',
- 'ê™' => 'ꙑ',
- 'Ꙓ' => 'ꙓ',
- 'Ꙕ' => 'ꙕ',
- 'ê™–' => 'ê™—',
- 'Ꙙ' => 'ꙙ',
- 'Ꙛ' => 'ꙛ',
- 'Ꙝ' => 'ê™',
- 'Ꙟ' => 'ꙟ',
- 'Ꙡ' => 'ꙡ',
- 'Ꙣ' => 'ꙣ',
- 'Ꙥ' => 'ꙥ',
- 'Ꙧ' => 'ꙧ',
- 'Ꙩ' => 'ꙩ',
- 'Ꙫ' => 'ꙫ',
- 'Ꙭ' => 'ꙭ',
- 'Ꚁ' => 'êš',
- 'Ꚃ' => 'ꚃ',
- 'êš„' => 'êš…',
- 'Ꚇ' => 'ꚇ',
- 'Ꚉ' => 'ꚉ',
- 'Ꚋ' => 'ꚋ',
- 'Ꚍ' => 'êš',
- 'Ꚏ' => 'êš',
- 'êš' => 'êš‘',
- 'êš’' => 'êš“',
- 'êš”' => 'êš•',
- 'êš–' => 'êš—',
- 'Ꚙ' => 'ꚙ',
- 'êšš' => 'êš›',
- 'Ꜣ' => 'ꜣ',
- 'Ꜥ' => 'ꜥ',
- 'Ꜧ' => 'ꜧ',
- 'Ꜩ' => 'ꜩ',
- 'Ꜫ' => 'ꜫ',
- 'Ꜭ' => 'ꜭ',
- 'Ꜯ' => 'ꜯ',
- 'Ꜳ' => 'ꜳ',
- 'Ꜵ' => 'ꜵ',
- 'Ꜷ' => 'ꜷ',
- 'Ꜹ' => 'ꜹ',
- 'Ꜻ' => 'ꜻ',
- 'Ꜽ' => 'ꜽ',
- 'Ꜿ' => 'ꜿ',
- 'ê€' => 'ê',
- 'ê‚' => 'êƒ',
- 'ê„' => 'ê…',
- 'ê†' => 'ê‡',
- 'êˆ' => 'ê‰',
- 'êŠ' => 'ê‹',
- 'êŒ' => 'ê',
- 'êŽ' => 'ê',
- 'ê' => 'ê‘',
- 'ê’' => 'ê“',
- 'ê”' => 'ê•',
- 'ê–' => 'ê—',
- 'ê˜' => 'ê™',
- 'êš' => 'ê›',
- 'êœ' => 'ê',
- 'êž' => 'êŸ',
- 'ê ' => 'ê¡',
- 'ê¢' => 'ê£',
- 'ê¤' => 'ê¥',
- 'ê¦' => 'ê§',
- 'ê¨' => 'ê©',
- 'êª' => 'ê«',
- 'ê¬' => 'ê­',
- 'ê®' => 'ê¯',
- 'ê¹' => 'êº',
- 'ê»' => 'ê¼',
- 'ê½' => 'áµ¹',
- 'ê¾' => 'ê¿',
- 'Ꞁ' => 'êž',
- 'Ꞃ' => 'ꞃ',
- 'êž„' => 'êž…',
- 'Ꞇ' => 'ꞇ',
- 'Ꞌ' => 'ꞌ',
- 'êž' => 'É¥',
- 'êž' => 'êž‘',
- 'êž’' => 'êž“',
- 'êž–' => 'êž—',
- 'Ꞙ' => 'ꞙ',
- 'êžš' => 'êž›',
- 'êžœ' => 'êž',
- 'Ꞟ' => 'ꞟ',
- 'êž ' => 'êž¡',
- 'Ꞣ' => 'ꞣ',
- 'Ꞥ' => 'ꞥ',
- 'Ꞧ' => 'ꞧ',
- 'Ꞩ' => 'ꞩ',
- 'Ɦ' => 'ɦ',
- 'Ɜ' => 'ɜ',
- 'Ɡ' => 'ɡ',
- 'Ɬ' => 'ɬ',
- 'Ɪ' => 'ɪ',
- 'êž°' => 'Êž',
- 'Ʇ' => 'ʇ',
- 'êž²' => 'Ê',
- 'êž³' => 'ê­“',
- 'êž´' => 'êžµ',
- 'êž¶' => 'êž·',
- 'Ꞹ' => 'ꞹ',
- 'Ꞻ' => 'ꞻ',
- 'êž¼' => 'êž½',
- 'êž¾' => 'êž¿',
- 'Ꟃ' => 'ꟃ',
- 'Ꞔ' => 'ꞔ',
- 'Ʂ' => 'ʂ',
- 'Ᶎ' => 'ᶎ',
- 'Ꟈ' => 'ꟈ',
- 'Ꟊ' => 'ꟊ',
- 'Ꟶ' => 'ꟶ',
- 'A' => 'ï½',
- 'B' => 'b',
- 'C' => 'c',
- 'D' => 'd',
- 'ï¼¥' => 'ï½…',
- 'F' => 'f',
- 'G' => 'g',
- 'H' => 'h',
- 'I' => 'i',
- 'J' => 'j',
- 'K' => 'k',
- 'L' => 'l',
- 'ï¼­' => 'ï½',
- 'N' => 'n',
- 'O' => 'ï½',
- 'ï¼°' => 'ï½',
- 'Q' => 'q',
- 'ï¼²' => 'ï½’',
- 'S' => 's',
- 'ï¼´' => 'ï½”',
- 'U' => 'u',
- 'ï¼¶' => 'ï½–',
- 'ï¼·' => 'ï½—',
- 'X' => 'x',
- 'ï¼¹' => 'ï½™',
- '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 @@
-<?php
-
-// from Case_Ignorable in https://unicode.org/Public/UNIDATA/DerivedCoreProperties.txt
-
-return '/(?<![\x{0027}\x{002E}\x{003A}\x{005E}\x{0060}\x{00A8}\x{00AD}\x{00AF}\x{00B4}\x{00B7}\x{00B8}\x{02B0}-\x{02C1}\x{02C2}-\x{02C5}\x{02C6}-\x{02D1}\x{02D2}-\x{02DF}\x{02E0}-\x{02E4}\x{02E5}-\x{02EB}\x{02EC}\x{02ED}\x{02EE}\x{02EF}-\x{02FF}\x{0300}-\x{036F}\x{0374}\x{0375}\x{037A}\x{0384}-\x{0385}\x{0387}\x{0483}-\x{0487}\x{0488}-\x{0489}\x{0559}\x{0591}-\x{05BD}\x{05BF}\x{05C1}-\x{05C2}\x{05C4}-\x{05C5}\x{05C7}\x{05F4}\x{0600}-\x{0605}\x{0610}-\x{061A}\x{061C}\x{0640}\x{064B}-\x{065F}\x{0670}\x{06D6}-\x{06DC}\x{06DD}\x{06DF}-\x{06E4}\x{06E5}-\x{06E6}\x{06E7}-\x{06E8}\x{06EA}-\x{06ED}\x{070F}\x{0711}\x{0730}-\x{074A}\x{07A6}-\x{07B0}\x{07EB}-\x{07F3}\x{07F4}-\x{07F5}\x{07FA}\x{07FD}\x{0816}-\x{0819}\x{081A}\x{081B}-\x{0823}\x{0824}\x{0825}-\x{0827}\x{0828}\x{0829}-\x{082D}\x{0859}-\x{085B}\x{08D3}-\x{08E1}\x{08E2}\x{08E3}-\x{0902}\x{093A}\x{093C}\x{0941}-\x{0948}\x{094D}\x{0951}-\x{0957}\x{0962}-\x{0963}\x{0971}\x{0981}\x{09BC}\x{09C1}-\x{09C4}\x{09CD}\x{09E2}-\x{09E3}\x{09FE}\x{0A01}-\x{0A02}\x{0A3C}\x{0A41}-\x{0A42}\x{0A47}-\x{0A48}\x{0A4B}-\x{0A4D}\x{0A51}\x{0A70}-\x{0A71}\x{0A75}\x{0A81}-\x{0A82}\x{0ABC}\x{0AC1}-\x{0AC5}\x{0AC7}-\x{0AC8}\x{0ACD}\x{0AE2}-\x{0AE3}\x{0AFA}-\x{0AFF}\x{0B01}\x{0B3C}\x{0B3F}\x{0B41}-\x{0B44}\x{0B4D}\x{0B56}\x{0B62}-\x{0B63}\x{0B82}\x{0BC0}\x{0BCD}\x{0C00}\x{0C04}\x{0C3E}-\x{0C40}\x{0C46}-\x{0C48}\x{0C4A}-\x{0C4D}\x{0C55}-\x{0C56}\x{0C62}-\x{0C63}\x{0C81}\x{0CBC}\x{0CBF}\x{0CC6}\x{0CCC}-\x{0CCD}\x{0CE2}-\x{0CE3}\x{0D00}-\x{0D01}\x{0D3B}-\x{0D3C}\x{0D41}-\x{0D44}\x{0D4D}\x{0D62}-\x{0D63}\x{0DCA}\x{0DD2}-\x{0DD4}\x{0DD6}\x{0E31}\x{0E34}-\x{0E3A}\x{0E46}\x{0E47}-\x{0E4E}\x{0EB1}\x{0EB4}-\x{0EB9}\x{0EBB}-\x{0EBC}\x{0EC6}\x{0EC8}-\x{0ECD}\x{0F18}-\x{0F19}\x{0F35}\x{0F37}\x{0F39}\x{0F71}-\x{0F7E}\x{0F80}-\x{0F84}\x{0F86}-\x{0F87}\x{0F8D}-\x{0F97}\x{0F99}-\x{0FBC}\x{0FC6}\x{102D}-\x{1030}\x{1032}-\x{1037}\x{1039}-\x{103A}\x{103D}-\x{103E}\x{1058}-\x{1059}\x{105E}-\x{1060}\x{1071}-\x{1074}\x{1082}\x{1085}-\x{1086}\x{108D}\x{109D}\x{10FC}\x{135D}-\x{135F}\x{1712}-\x{1714}\x{1732}-\x{1734}\x{1752}-\x{1753}\x{1772}-\x{1773}\x{17B4}-\x{17B5}\x{17B7}-\x{17BD}\x{17C6}\x{17C9}-\x{17D3}\x{17D7}\x{17DD}\x{180B}-\x{180D}\x{180E}\x{1843}\x{1885}-\x{1886}\x{18A9}\x{1920}-\x{1922}\x{1927}-\x{1928}\x{1932}\x{1939}-\x{193B}\x{1A17}-\x{1A18}\x{1A1B}\x{1A56}\x{1A58}-\x{1A5E}\x{1A60}\x{1A62}\x{1A65}-\x{1A6C}\x{1A73}-\x{1A7C}\x{1A7F}\x{1AA7}\x{1AB0}-\x{1ABD}\x{1ABE}\x{1B00}-\x{1B03}\x{1B34}\x{1B36}-\x{1B3A}\x{1B3C}\x{1B42}\x{1B6B}-\x{1B73}\x{1B80}-\x{1B81}\x{1BA2}-\x{1BA5}\x{1BA8}-\x{1BA9}\x{1BAB}-\x{1BAD}\x{1BE6}\x{1BE8}-\x{1BE9}\x{1BED}\x{1BEF}-\x{1BF1}\x{1C2C}-\x{1C33}\x{1C36}-\x{1C37}\x{1C78}-\x{1C7D}\x{1CD0}-\x{1CD2}\x{1CD4}-\x{1CE0}\x{1CE2}-\x{1CE8}\x{1CED}\x{1CF4}\x{1CF8}-\x{1CF9}\x{1D2C}-\x{1D6A}\x{1D78}\x{1D9B}-\x{1DBF}\x{1DC0}-\x{1DF9}\x{1DFB}-\x{1DFF}\x{1FBD}\x{1FBF}-\x{1FC1}\x{1FCD}-\x{1FCF}\x{1FDD}-\x{1FDF}\x{1FED}-\x{1FEF}\x{1FFD}-\x{1FFE}\x{200B}-\x{200F}\x{2018}\x{2019}\x{2024}\x{2027}\x{202A}-\x{202E}\x{2060}-\x{2064}\x{2066}-\x{206F}\x{2071}\x{207F}\x{2090}-\x{209C}\x{20D0}-\x{20DC}\x{20DD}-\x{20E0}\x{20E1}\x{20E2}-\x{20E4}\x{20E5}-\x{20F0}\x{2C7C}-\x{2C7D}\x{2CEF}-\x{2CF1}\x{2D6F}\x{2D7F}\x{2DE0}-\x{2DFF}\x{2E2F}\x{3005}\x{302A}-\x{302D}\x{3031}-\x{3035}\x{303B}\x{3099}-\x{309A}\x{309B}-\x{309C}\x{309D}-\x{309E}\x{30FC}-\x{30FE}\x{A015}\x{A4F8}-\x{A4FD}\x{A60C}\x{A66F}\x{A670}-\x{A672}\x{A674}-\x{A67D}\x{A67F}\x{A69C}-\x{A69D}\x{A69E}-\x{A69F}\x{A6F0}-\x{A6F1}\x{A700}-\x{A716}\x{A717}-\x{A71F}\x{A720}-\x{A721}\x{A770}\x{A788}\x{A789}-\x{A78A}\x{A7F8}-\x{A7F9}\x{A802}\x{A806}\x{A80B}\x{A825}-\x{A826}\x{A8C4}-\x{A8C5}\x{A8E0}-\x{A8F1}\x{A8FF}\x{A926}-\x{A92D}\x{A947}-\x{A951}\x{A980}-\x{A982}\x{A9B3}\x{A9B6}-\x{A9B9}\x{A9BC}\x{A9CF}\x{A9E5}\x{A9E6}\x{AA29}-\x{AA2E}\x{AA31}-\x{AA32}\x{AA35}-\x{AA36}\x{AA43}\x{AA4C}\x{AA70}\x{AA7C}\x{AAB0}\x{AAB2}-\x{AAB4}\x{AAB7}-\x{AAB8}\x{AABE}-\x{AABF}\x{AAC1}\x{AADD}\x{AAEC}-\x{AAED}\x{AAF3}-\x{AAF4}\x{AAF6}\x{AB5B}\x{AB5C}-\x{AB5F}\x{ABE5}\x{ABE8}\x{ABED}\x{FB1E}\x{FBB2}-\x{FBC1}\x{FE00}-\x{FE0F}\x{FE13}\x{FE20}-\x{FE2F}\x{FE52}\x{FE55}\x{FEFF}\x{FF07}\x{FF0E}\x{FF1A}\x{FF3E}\x{FF40}\x{FF70}\x{FF9E}-\x{FF9F}\x{FFE3}\x{FFF9}-\x{FFFB}\x{101FD}\x{102E0}\x{10376}-\x{1037A}\x{10A01}-\x{10A03}\x{10A05}-\x{10A06}\x{10A0C}-\x{10A0F}\x{10A38}-\x{10A3A}\x{10A3F}\x{10AE5}-\x{10AE6}\x{10D24}-\x{10D27}\x{10F46}-\x{10F50}\x{11001}\x{11038}-\x{11046}\x{1107F}-\x{11081}\x{110B3}-\x{110B6}\x{110B9}-\x{110BA}\x{110BD}\x{110CD}\x{11100}-\x{11102}\x{11127}-\x{1112B}\x{1112D}-\x{11134}\x{11173}\x{11180}-\x{11181}\x{111B6}-\x{111BE}\x{111C9}-\x{111CC}\x{1122F}-\x{11231}\x{11234}\x{11236}-\x{11237}\x{1123E}\x{112DF}\x{112E3}-\x{112EA}\x{11300}-\x{11301}\x{1133B}-\x{1133C}\x{11340}\x{11366}-\x{1136C}\x{11370}-\x{11374}\x{11438}-\x{1143F}\x{11442}-\x{11444}\x{11446}\x{1145E}\x{114B3}-\x{114B8}\x{114BA}\x{114BF}-\x{114C0}\x{114C2}-\x{114C3}\x{115B2}-\x{115B5}\x{115BC}-\x{115BD}\x{115BF}-\x{115C0}\x{115DC}-\x{115DD}\x{11633}-\x{1163A}\x{1163D}\x{1163F}-\x{11640}\x{116AB}\x{116AD}\x{116B0}-\x{116B5}\x{116B7}\x{1171D}-\x{1171F}\x{11722}-\x{11725}\x{11727}-\x{1172B}\x{1182F}-\x{11837}\x{11839}-\x{1183A}\x{11A01}-\x{11A0A}\x{11A33}-\x{11A38}\x{11A3B}-\x{11A3E}\x{11A47}\x{11A51}-\x{11A56}\x{11A59}-\x{11A5B}\x{11A8A}-\x{11A96}\x{11A98}-\x{11A99}\x{11C30}-\x{11C36}\x{11C38}-\x{11C3D}\x{11C3F}\x{11C92}-\x{11CA7}\x{11CAA}-\x{11CB0}\x{11CB2}-\x{11CB3}\x{11CB5}-\x{11CB6}\x{11D31}-\x{11D36}\x{11D3A}\x{11D3C}-\x{11D3D}\x{11D3F}-\x{11D45}\x{11D47}\x{11D90}-\x{11D91}\x{11D95}\x{11D97}\x{11EF3}-\x{11EF4}\x{16AF0}-\x{16AF4}\x{16B30}-\x{16B36}\x{16B40}-\x{16B43}\x{16F8F}-\x{16F92}\x{16F93}-\x{16F9F}\x{16FE0}-\x{16FE1}\x{1BC9D}-\x{1BC9E}\x{1BCA0}-\x{1BCA3}\x{1D167}-\x{1D169}\x{1D173}-\x{1D17A}\x{1D17B}-\x{1D182}\x{1D185}-\x{1D18B}\x{1D1AA}-\x{1D1AD}\x{1D242}-\x{1D244}\x{1DA00}-\x{1DA36}\x{1DA3B}-\x{1DA6C}\x{1DA75}\x{1DA84}\x{1DA9B}-\x{1DA9F}\x{1DAA1}-\x{1DAAF}\x{1E000}-\x{1E006}\x{1E008}-\x{1E018}\x{1E01B}-\x{1E021}\x{1E023}-\x{1E024}\x{1E026}-\x{1E02A}\x{1E8D0}-\x{1E8D6}\x{1E944}-\x{1E94A}\x{1F3FB}-\x{1F3FF}\x{E0001}\x{E0020}-\x{E007F}\x{E0100}-\x{E01EF}])(\pL)(\pL*+)/u';
diff --git a/vendor/symfony/polyfill-mbstring/Resources/unidata/upperCase.php b/vendor/symfony/polyfill-mbstring/Resources/unidata/upperCase.php
deleted file mode 100644
index 56b9cb852..000000000
--- a/vendor/symfony/polyfill-mbstring/Resources/unidata/upperCase.php
+++ /dev/null
@@ -1,1489 +0,0 @@
-<?php
-
-return array (
- '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',
- 'µ' => 'Μ',
- 'à' => 'À',
- 'á' => 'Ã',
- 'â' => 'Â',
- 'ã' => 'Ã',
- 'ä' => 'Ä',
- 'Ã¥' => 'Ã…',
- 'æ' => 'Æ',
- 'ç' => 'Ç',
- 'è' => 'È',
- 'é' => 'É',
- 'ê' => 'Ê',
- 'ë' => 'Ë',
- 'ì' => 'Ì',
- 'í' => 'Ã',
- 'î' => 'Î',
- 'ï' => 'Ã',
- 'ð' => 'Ã',
- 'ñ' => 'Ñ',
- 'ò' => 'Ò',
- 'ó' => 'Ó',
- 'ô' => 'Ô',
- 'õ' => 'Õ',
- 'ö' => 'Ö',
- 'ø' => 'Ø',
- 'ù' => 'Ù',
- 'ú' => 'Ú',
- 'û' => 'Û',
- 'ü' => 'Ü',
- 'ý' => 'Ã',
- 'þ' => 'Þ',
- 'ÿ' => 'Ÿ',
- 'Ä' => 'Ä€',
- 'ă' => 'Ă',
- 'Ä…' => 'Ä„',
- 'ć' => 'Ć',
- 'ĉ' => 'Ĉ',
- 'Ä‹' => 'ÄŠ',
- 'Ä' => 'ÄŒ',
- 'Ä' => 'ÄŽ',
- 'Ä‘' => 'Ä',
- 'Ä“' => 'Ä’',
- 'Ä•' => 'Ä”',
- 'Ä—' => 'Ä–',
- 'ę' => 'Ę',
- 'Ä›' => 'Äš',
- 'Ä' => 'Äœ',
- 'ÄŸ' => 'Äž',
- 'Ä¡' => 'Ä ',
- 'Ä£' => 'Ä¢',
- 'ĥ' => 'Ĥ',
- 'ħ' => 'Ħ',
- 'ĩ' => 'Ĩ',
- 'ī' => 'Ī',
- 'ĭ' => 'Ĭ',
- 'į' => 'Į',
- 'ı' => 'I',
- 'ij' => 'IJ',
- 'ĵ' => 'Ĵ',
- 'ķ' => 'Ķ',
- 'ĺ' => 'Ĺ',
- 'ļ' => 'Ļ',
- 'ľ' => 'Ľ',
- 'Å€' => 'Ä¿',
- 'Å‚' => 'Å',
- 'ń' => 'Ń',
- 'ņ' => 'Ņ',
- 'ň' => 'Ň',
- 'Å‹' => 'ÅŠ',
- 'Å' => 'ÅŒ',
- 'Å' => 'ÅŽ',
- 'Å‘' => 'Å',
- 'Å“' => 'Å’',
- 'Å•' => 'Å”',
- 'Å—' => 'Å–',
- 'ř' => 'Ř',
- 'Å›' => 'Åš',
- 'Å' => 'Åœ',
- 'ÅŸ' => 'Åž',
- 'Å¡' => 'Å ',
- 'Å£' => 'Å¢',
- 'ť' => 'Ť',
- 'ŧ' => 'Ŧ',
- 'ũ' => 'Ũ',
- 'ū' => 'Ū',
- 'ŭ' => 'Ŭ',
- 'ů' => 'Ů',
- 'ű' => 'Ű',
- 'ų' => 'Ų',
- 'ŵ' => 'Ŵ',
- 'ŷ' => 'Ŷ',
- 'ź' => 'Ź',
- 'ż' => 'Ż',
- 'ž' => 'Ž',
- 'Å¿' => 'S',
- 'ƀ' => 'Ƀ',
- 'ƃ' => 'Ƃ',
- 'Æ…' => 'Æ„',
- 'ƈ' => 'Ƈ',
- 'ƌ' => 'Ƌ',
- 'Æ’' => 'Æ‘',
- 'ƕ' => 'Ƕ',
- 'ƙ' => 'Ƙ',
- 'ƚ' => 'Ƚ',
- 'Æž' => 'È ',
- 'Æ¡' => 'Æ ',
- 'Æ£' => 'Æ¢',
- 'ƥ' => 'Ƥ',
- 'ƨ' => 'Ƨ',
- 'ƭ' => 'Ƭ',
- 'ư' => 'Ư',
- 'ƴ' => 'Ƴ',
- 'ƶ' => 'Ƶ',
- 'ƹ' => 'Ƹ',
- 'ƽ' => 'Ƽ',
- 'Æ¿' => 'Ç·',
- 'Ç…' => 'Ç„',
- 'dž' => 'DŽ',
- 'Lj' => 'LJ',
- 'lj' => 'LJ',
- 'Ç‹' => 'ÇŠ',
- 'nj' => 'NJ',
- 'ÇŽ' => 'Ç',
- 'Ç' => 'Ç',
- 'Ç’' => 'Ç‘',
- 'Ç”' => 'Ç“',
- 'Ç–' => 'Ç•',
- 'ǘ' => 'Ǘ',
- 'Çš' => 'Ç™',
- 'ǜ' => 'Ǜ',
- 'Ç' => 'ÆŽ',
- 'ÇŸ' => 'Çž',
- 'Ç¡' => 'Ç ',
- 'Ç£' => 'Ç¢',
- 'ǥ' => 'Ǥ',
- 'ǧ' => 'Ǧ',
- 'ǩ' => 'Ǩ',
- 'ǫ' => 'Ǫ',
- 'ǭ' => 'Ǭ',
- 'ǯ' => 'Ǯ',
- 'Dz' => 'DZ',
- 'dz' => 'DZ',
- 'ǵ' => 'Ǵ',
- 'ǹ' => 'Ǹ',
- 'ǻ' => 'Ǻ',
- 'ǽ' => 'Ǽ',
- 'ǿ' => 'Ǿ',
- 'È' => 'È€',
- 'ȃ' => 'Ȃ',
- 'È…' => 'È„',
- 'ȇ' => 'Ȇ',
- 'ȉ' => 'Ȉ',
- 'È‹' => 'ÈŠ',
- 'È' => 'ÈŒ',
- 'È' => 'ÈŽ',
- 'È‘' => 'È',
- 'È“' => 'È’',
- 'È•' => 'È”',
- 'È—' => 'È–',
- 'ș' => 'Ș',
- 'È›' => 'Èš',
- 'È' => 'Èœ',
- 'ÈŸ' => 'Èž',
- 'È£' => 'È¢',
- 'ȥ' => 'Ȥ',
- 'ȧ' => 'Ȧ',
- 'ȩ' => 'Ȩ',
- 'ȫ' => 'Ȫ',
- 'ȭ' => 'Ȭ',
- 'ȯ' => 'Ȯ',
- 'ȱ' => 'Ȱ',
- 'ȳ' => 'Ȳ',
- 'ȼ' => 'Ȼ',
- 'È¿' => 'â±¾',
- 'ɀ' => 'Ɀ',
- 'É‚' => 'É',
- 'ɇ' => 'Ɇ',
- 'ɉ' => 'Ɉ',
- 'É‹' => 'ÉŠ',
- 'É' => 'ÉŒ',
- 'É' => 'ÉŽ',
- 'É' => 'Ɐ',
- 'É‘' => 'â±­',
- 'É’' => 'â±°',
- 'É“' => 'Æ',
- 'ɔ' => 'Ɔ',
- 'ɖ' => 'Ɖ',
- 'É—' => 'ÆŠ',
- 'É™' => 'Æ',
- 'É›' => 'Æ',
- 'ɜ' => 'Ɜ',
- 'É ' => 'Æ“',
- 'ɡ' => 'Ɡ',
- 'É£' => 'Æ”',
- 'É¥' => 'êž',
- 'ɦ' => 'Ɦ',
- 'ɨ' => 'Ɨ',
- 'É©' => 'Æ–',
- 'ɪ' => 'Ɪ',
- 'É«' => 'â±¢',
- 'ɬ' => 'Ɬ',
- 'ɯ' => 'Ɯ',
- 'ɱ' => 'Ɱ',
- 'ɲ' => 'Æ',
- 'ɵ' => 'Ɵ',
- 'ɽ' => 'Ɽ',
- 'ʀ' => 'Ʀ',
- 'ʂ' => 'Ʂ',
- 'ʃ' => 'Ʃ',
- 'ʇ' => 'Ʇ',
- 'ʈ' => 'Ʈ',
- 'ʉ' => 'Ʉ',
- 'ʊ' => 'Ʊ',
- 'ʋ' => 'Ʋ',
- 'ʌ' => 'Ʌ',
- 'Ê’' => 'Æ·',
- 'Ê' => 'êž²',
- 'Êž' => 'êž°',
- 'ͅ' => 'Ι',
- 'ͱ' => 'Ͱ',
- 'ͳ' => 'Ͳ',
- 'ͷ' => 'Ͷ',
- 'ͻ' => 'Ͻ',
- 'ͼ' => 'Ͼ',
- 'ͽ' => 'Ͽ',
- 'ά' => 'Ά',
- 'έ' => 'Έ',
- 'ή' => 'Ή',
- 'ί' => 'Ί',
- 'α' => 'Α',
- 'β' => 'Β',
- 'γ' => 'Γ',
- 'δ' => 'Δ',
- 'ε' => 'Ε',
- 'ζ' => 'Ζ',
- 'η' => 'Η',
- 'θ' => 'Θ',
- 'ι' => 'Ι',
- 'κ' => 'Κ',
- 'λ' => 'Λ',
- 'μ' => 'Μ',
- 'ν' => 'Î',
- 'ξ' => 'Ξ',
- 'ο' => 'Ο',
- 'π' => 'Π',
- 'Ï' => 'Ρ',
- 'ς' => 'Σ',
- 'σ' => 'Σ',
- 'τ' => 'Τ',
- 'Ï…' => 'Î¥',
- 'φ' => 'Φ',
- 'χ' => 'Χ',
- 'ψ' => 'Ψ',
- 'ω' => 'Ω',
- 'ϊ' => 'Ϊ',
- 'ϋ' => 'Ϋ',
- 'ό' => 'Ό',
- 'Ï' => 'ÎŽ',
- 'ÏŽ' => 'Î',
- 'Ï' => 'Î’',
- 'ϑ' => 'Θ',
- 'ϕ' => 'Φ',
- 'ϖ' => 'Π',
- 'Ï—' => 'Ï',
- 'ϙ' => 'Ϙ',
- 'Ï›' => 'Ïš',
- 'Ï' => 'Ïœ',
- 'ÏŸ' => 'Ïž',
- 'Ï¡' => 'Ï ',
- 'Ï£' => 'Ï¢',
- 'ϥ' => 'Ϥ',
- 'ϧ' => 'Ϧ',
- 'ϩ' => 'Ϩ',
- 'ϫ' => 'Ϫ',
- 'ϭ' => 'Ϭ',
- 'ϯ' => 'Ϯ',
- 'ϰ' => 'Κ',
- 'ϱ' => 'Ρ',
- 'ϲ' => 'Ϲ',
- 'ϳ' => 'Ϳ',
- 'ϵ' => 'Ε',
- 'ϸ' => 'Ϸ',
- 'ϻ' => 'Ϻ',
- 'а' => 'Ð',
- 'б' => 'Б',
- 'в' => 'В',
- 'г' => 'Г',
- 'д' => 'Д',
- 'е' => 'Е',
- 'ж' => 'Ж',
- 'з' => 'З',
- 'и' => 'И',
- 'й' => 'Й',
- 'к' => 'К',
- 'л' => 'Л',
- 'м' => 'М',
- 'н' => 'Ð',
- 'о' => 'О',
- 'п' => 'П',
- 'р' => 'Р',
- 'Ñ' => 'С',
- 'т' => 'Т',
- 'у' => 'У',
- 'ф' => 'Ф',
- 'Ñ…' => 'Ð¥',
- 'ц' => 'Ц',
- 'ч' => 'Ч',
- 'ш' => 'Ш',
- 'щ' => 'Щ',
- 'ъ' => 'Ъ',
- 'ы' => 'Ы',
- 'ь' => 'Ь',
- 'Ñ' => 'Э',
- 'ю' => 'Ю',
- 'Ñ' => 'Я',
- 'Ñ' => 'Ѐ',
- 'Ñ‘' => 'Ð',
- 'ђ' => 'Ђ',
- 'ѓ' => 'Ѓ',
- 'є' => 'Є',
- 'Ñ•' => 'Ð…',
- 'і' => 'І',
- 'ї' => 'Ї',
- 'ј' => 'Ј',
- 'љ' => 'Љ',
- 'њ' => 'Њ',
- 'ћ' => 'Ћ',
- 'ќ' => 'Ќ',
- 'Ñ' => 'Ð',
- 'Ñž' => 'ÐŽ',
- 'ÑŸ' => 'Ð',
- 'Ñ¡' => 'Ñ ',
- 'Ñ£' => 'Ñ¢',
- 'ѥ' => 'Ѥ',
- 'ѧ' => 'Ѧ',
- 'ѩ' => 'Ѩ',
- 'ѫ' => 'Ѫ',
- 'ѭ' => 'Ѭ',
- 'ѯ' => 'Ѯ',
- 'ѱ' => 'Ѱ',
- 'ѳ' => 'Ѳ',
- 'ѵ' => 'Ѵ',
- 'ѷ' => 'Ѷ',
- 'ѹ' => 'Ѹ',
- 'ѻ' => 'Ѻ',
- 'ѽ' => 'Ѽ',
- 'ѿ' => 'Ѿ',
- 'Ò' => 'Ò€',
- 'Ò‹' => 'ÒŠ',
- 'Ò' => 'ÒŒ',
- 'Ò' => 'ÒŽ',
- 'Ò‘' => 'Ò',
- 'Ò“' => 'Ò’',
- 'Ò•' => 'Ò”',
- 'Ò—' => 'Ò–',
- 'Ò™' => 'Ò˜',
- 'Ò›' => 'Òš',
- 'Ò' => 'Òœ',
- 'ÒŸ' => 'Òž',
- 'Ò¡' => 'Ò ',
- 'Ò£' => 'Ò¢',
- 'Ò¥' => 'Ò¤',
- 'Ò§' => 'Ò¦',
- 'Ò©' => 'Ò¨',
- 'Ò«' => 'Òª',
- 'Ò­' => 'Ò¬',
- 'Ò¯' => 'Ò®',
- 'Ò±' => 'Ò°',
- 'Ò³' => 'Ò²',
- 'Òµ' => 'Ò´',
- 'Ò·' => 'Ò¶',
- 'Ò¹' => 'Ò¸',
- 'Ò»' => 'Òº',
- 'Ò½' => 'Ò¼',
- 'Ò¿' => 'Ò¾',
- 'Ó‚' => 'Ó',
- 'Ó„' => 'Óƒ',
- 'Ó†' => 'Ó…',
- 'Óˆ' => 'Ó‡',
- 'ÓŠ' => 'Ó‰',
- 'ӌ' => 'Ӌ',
- 'ÓŽ' => 'Ó',
- 'Ó' => 'Ó€',
- 'Ó‘' => 'Ó',
- 'Ó“' => 'Ó’',
- 'Ó•' => 'Ó”',
- 'Ó—' => 'Ó–',
- 'Ó™' => 'Ó˜',
- 'Ó›' => 'Óš',
- 'Ó' => 'Óœ',
- 'ÓŸ' => 'Óž',
- 'Ó¡' => 'Ó ',
- 'Ó£' => 'Ó¢',
- 'Ó¥' => 'Ó¤',
- 'Ó§' => 'Ó¦',
- 'Ó©' => 'Ó¨',
- 'Ó«' => 'Óª',
- 'Ó­' => 'Ó¬',
- 'Ó¯' => 'Ó®',
- 'Ó±' => 'Ó°',
- 'Ó³' => 'Ó²',
- 'Óµ' => 'Ó´',
- 'Ó·' => 'Ó¶',
- 'Ó¹' => 'Ó¸',
- 'Ó»' => 'Óº',
- 'Ó½' => 'Ó¼',
- 'Ó¿' => 'Ó¾',
- 'Ô' => 'Ô€',
- 'Ôƒ' => 'Ô‚',
- 'Ô…' => 'Ô„',
- 'Ô‡' => 'Ô†',
- 'Ô‰' => 'Ôˆ',
- 'Ô‹' => 'ÔŠ',
- 'Ô' => 'ÔŒ',
- 'Ô' => 'ÔŽ',
- 'Ô‘' => 'Ô',
- 'Ô“' => 'Ô’',
- 'Ô•' => 'Ô”',
- 'Ô—' => 'Ô–',
- 'Ô™' => 'Ô˜',
- 'Ô›' => 'Ôš',
- 'Ô' => 'Ôœ',
- 'ÔŸ' => 'Ôž',
- 'Ô¡' => 'Ô ',
- 'Ô£' => 'Ô¢',
- 'Ô¥' => 'Ô¤',
- 'Ô§' => 'Ô¦',
- 'Ô©' => 'Ô¨',
- 'Ô«' => 'Ôª',
- 'Ô­' => 'Ô¬',
- 'Ô¯' => 'Ô®',
- 'Õ¡' => 'Ô±',
- 'Õ¢' => 'Ô²',
- 'Õ£' => 'Ô³',
- 'Õ¤' => 'Ô´',
- 'Õ¥' => 'Ôµ',
- 'Õ¦' => 'Ô¶',
- 'Õ§' => 'Ô·',
- 'Õ¨' => 'Ô¸',
- 'Õ©' => 'Ô¹',
- 'Õª' => 'Ôº',
- 'Õ«' => 'Ô»',
- 'Õ¬' => 'Ô¼',
- 'Õ­' => 'Ô½',
- 'Õ®' => 'Ô¾',
- 'Õ¯' => 'Ô¿',
- 'Õ°' => 'Õ€',
- 'Õ±' => 'Õ',
- 'Õ²' => 'Õ‚',
- 'Õ³' => 'Õƒ',
- 'Õ´' => 'Õ„',
- 'Õµ' => 'Õ…',
- 'Õ¶' => 'Õ†',
- 'Õ·' => 'Õ‡',
- 'Õ¸' => 'Õˆ',
- 'Õ¹' => 'Õ‰',
- 'Õº' => 'ÕŠ',
- 'Õ»' => 'Õ‹',
- 'ռ' => 'Ռ',
- 'Õ½' => 'Õ',
- 'Õ¾' => 'ÕŽ',
- 'Õ¿' => 'Õ',
- 'Ö€' => 'Õ',
- 'Ö' => 'Õ‘',
- 'Ö‚' => 'Õ’',
- 'Öƒ' => 'Õ“',
- 'Ö„' => 'Õ”',
- 'Ö…' => 'Õ•',
- 'Ö†' => 'Õ–',
- 'áƒ' => 'á²',
- 'ბ' => 'Ბ',
- 'გ' => 'Გ',
- 'დ' => 'Დ',
- 'ე' => 'Ე',
- 'ვ' => 'Ვ',
- 'ზ' => 'Ზ',
- 'თ' => 'Თ',
- 'ი' => 'Ი',
- 'კ' => 'Კ',
- 'ლ' => 'Ლ',
- 'მ' => 'Მ',
- 'ნ' => 'Ნ',
- 'áƒ' => 'á²',
- 'პ' => 'Პ',
- 'ჟ' => 'Ჟ',
- 'რ' => 'Რ',
- 'ს' => 'Ს',
- 'ტ' => 'Ტ',
- 'უ' => 'Უ',
- 'ფ' => 'Ფ',
- 'ქ' => 'Ქ',
- 'ღ' => 'Ღ',
- 'ყ' => 'Ყ',
- 'შ' => 'Შ',
- 'ჩ' => 'Ჩ',
- 'ც' => 'Ც',
- 'ძ' => 'Ძ',
- 'წ' => 'Წ',
- 'ჭ' => 'Ჭ',
- 'ხ' => 'Ხ',
- 'ჯ' => 'Ჯ',
- 'ჰ' => 'Ჰ',
- 'ჱ' => 'Ჱ',
- 'ჲ' => 'Ჲ',
- 'ჳ' => 'Ჳ',
- 'ჴ' => 'Ჴ',
- 'ჵ' => 'Ჵ',
- 'ჶ' => 'Ჶ',
- 'ჷ' => 'Ჷ',
- 'ჸ' => 'Ჸ',
- 'ჹ' => 'Ჹ',
- 'ჺ' => 'Ჺ',
- 'ჽ' => 'Ჽ',
- 'ჾ' => 'Ჾ',
- 'ჿ' => 'Ჿ',
- 'á¸' => 'á°',
- 'á¹' => 'á±',
- 'áº' => 'á²',
- 'á»' => 'á³',
- 'á¼' => 'á´',
- 'á½' => 'áµ',
- 'á²€' => 'Ð’',
- 'á²' => 'Д',
- 'ᲂ' => 'О',
- 'ᲃ' => 'С',
- 'ᲄ' => 'Т',
- 'ᲅ' => 'Т',
- 'ᲆ' => 'Ъ',
- 'ᲇ' => 'Ѣ',
- 'ᲈ' => 'Ꙋ',
- 'áµ¹' => 'ê½',
- 'áµ½' => 'â±£',
- 'ᶎ' => 'Ᶎ',
- 'á¸' => 'Ḁ',
- 'ḃ' => 'Ḃ',
- 'ḅ' => 'Ḅ',
- 'ḇ' => 'Ḇ',
- 'ḉ' => 'Ḉ',
- 'ḋ' => 'Ḋ',
- 'á¸' => 'Ḍ',
- 'á¸' => 'Ḏ',
- 'ḑ' => 'á¸',
- 'ḓ' => 'Ḓ',
- 'ḕ' => 'Ḕ',
- 'ḗ' => 'Ḗ',
- 'ḙ' => 'Ḙ',
- 'ḛ' => 'Ḛ',
- 'á¸' => 'Ḝ',
- 'ḟ' => 'Ḟ',
- 'ḡ' => 'Ḡ',
- 'ḣ' => 'Ḣ',
- 'ḥ' => 'Ḥ',
- 'ḧ' => 'Ḧ',
- 'ḩ' => 'Ḩ',
- 'ḫ' => 'Ḫ',
- 'ḭ' => 'Ḭ',
- 'ḯ' => 'Ḯ',
- 'ḱ' => 'Ḱ',
- 'ḳ' => 'Ḳ',
- 'ḵ' => 'Ḵ',
- 'ḷ' => 'Ḷ',
- 'ḹ' => 'Ḹ',
- 'ḻ' => 'Ḻ',
- 'ḽ' => 'Ḽ',
- 'ḿ' => 'Ḿ',
- 'á¹' => 'á¹€',
- 'ṃ' => 'Ṃ',
- 'ṅ' => 'Ṅ',
- 'ṇ' => 'Ṇ',
- 'ṉ' => 'Ṉ',
- 'ṋ' => 'Ṋ',
- 'á¹' => 'Ṍ',
- 'á¹' => 'Ṏ',
- 'ṑ' => 'á¹',
- 'ṓ' => 'Ṓ',
- 'ṕ' => 'Ṕ',
- 'á¹—' => 'á¹–',
- 'ṙ' => 'Ṙ',
- 'ṛ' => 'Ṛ',
- 'á¹' => 'Ṝ',
- 'ṟ' => 'Ṟ',
- 'ṡ' => 'Ṡ',
- 'á¹£' => 'á¹¢',
- 'ṥ' => 'Ṥ',
- 'ṧ' => 'Ṧ',
- 'ṩ' => 'Ṩ',
- 'ṫ' => 'Ṫ',
- 'ṭ' => 'Ṭ',
- 'ṯ' => 'Ṯ',
- 'á¹±' => 'á¹°',
- 'á¹³' => 'á¹²',
- 'á¹µ' => 'á¹´',
- 'á¹·' => 'á¹¶',
- 'ṹ' => 'Ṹ',
- 'ṻ' => 'Ṻ',
- 'á¹½' => 'á¹¼',
- 'ṿ' => 'Ṿ',
- 'áº' => 'Ẁ',
- 'ẃ' => 'Ẃ',
- 'ẅ' => 'Ẅ',
- 'ẇ' => 'Ẇ',
- 'ẉ' => 'Ẉ',
- 'ẋ' => 'Ẋ',
- 'áº' => 'Ẍ',
- 'áº' => 'Ẏ',
- 'ẑ' => 'áº',
- 'ẓ' => 'Ẓ',
- 'ẕ' => 'Ẕ',
- 'ẛ' => 'Ṡ',
- 'ạ' => 'Ạ',
- 'ả' => 'Ả',
- 'ấ' => 'Ấ',
- 'ầ' => 'Ầ',
- 'ẩ' => 'Ẩ',
- 'ẫ' => 'Ẫ',
- 'ậ' => 'Ậ',
- 'ắ' => 'Ắ',
- 'ằ' => 'Ằ',
- 'ẳ' => 'Ẳ',
- 'ẵ' => 'Ẵ',
- 'ặ' => 'Ặ',
- 'ẹ' => 'Ẹ',
- 'ẻ' => 'Ẻ',
- 'ẽ' => 'Ẽ',
- 'ế' => 'Ế',
- 'á»' => 'Ề',
- 'ể' => 'Ể',
- 'ễ' => 'Ễ',
- 'ệ' => 'Ệ',
- 'ỉ' => 'Ỉ',
- 'ị' => 'Ị',
- 'á»' => 'Ọ',
- 'á»' => 'Ỏ',
- 'ố' => 'á»',
- 'ồ' => 'Ồ',
- 'ổ' => 'Ổ',
- 'á»—' => 'á»–',
- 'ộ' => 'Ộ',
- 'ớ' => 'Ớ',
- 'á»' => 'Ờ',
- 'ở' => 'Ở',
- 'ỡ' => 'Ỡ',
- 'ợ' => 'Ợ',
- 'ụ' => 'Ụ',
- 'ủ' => 'Ủ',
- 'ứ' => 'Ứ',
- 'ừ' => 'Ừ',
- 'ử' => 'Ử',
- 'ữ' => 'Ữ',
- 'á»±' => 'á»°',
- 'ỳ' => 'Ỳ',
- 'ỵ' => 'Ỵ',
- 'á»·' => 'á»¶',
- 'ỹ' => 'Ỹ',
- 'ỻ' => 'Ỻ',
- 'ỽ' => 'Ỽ',
- 'ỿ' => 'Ỿ',
- 'ἀ' => 'Ἀ',
- 'á¼' => 'Ἁ',
- 'ἂ' => 'Ἂ',
- 'ἃ' => 'Ἃ',
- 'ἄ' => 'Ἄ',
- 'á¼…' => 'á¼',
- 'ἆ' => 'Ἆ',
- 'ἇ' => 'á¼',
- 'á¼' => 'Ἐ',
- 'ἑ' => 'Ἑ',
- 'ἒ' => 'Ἒ',
- 'ἓ' => 'Ἓ',
- 'ἔ' => 'Ἔ',
- 'ἕ' => 'á¼',
- 'ἠ' => 'Ἠ',
- 'ἡ' => 'Ἡ',
- 'ἢ' => 'Ἢ',
- 'ἣ' => 'Ἣ',
- 'ἤ' => 'Ἤ',
- 'á¼¥' => 'á¼­',
- 'ἦ' => 'Ἦ',
- 'ἧ' => 'Ἧ',
- 'ἰ' => 'Ἰ',
- 'á¼±' => 'á¼¹',
- 'ἲ' => 'Ἲ',
- 'á¼³' => 'á¼»',
- 'á¼´' => 'á¼¼',
- 'á¼µ' => 'á¼½',
- 'á¼¶' => 'á¼¾',
- 'ἷ' => 'Ἷ',
- 'ὀ' => 'Ὀ',
- 'á½' => 'Ὁ',
- 'ὂ' => 'Ὂ',
- 'ὃ' => 'Ὃ',
- 'ὄ' => 'Ὄ',
- 'á½…' => 'á½',
- 'ὑ' => 'Ὑ',
- 'ὓ' => 'Ὓ',
- 'ὕ' => 'á½',
- 'ὗ' => 'Ὗ',
- 'ὠ' => 'Ὠ',
- 'ὡ' => 'Ὡ',
- 'ὢ' => 'Ὢ',
- 'ὣ' => 'Ὣ',
- 'ὤ' => 'Ὤ',
- 'á½¥' => 'á½­',
- 'ὦ' => 'Ὦ',
- 'ὧ' => 'Ὧ',
- 'ὰ' => 'Ὰ',
- 'á½±' => 'á¾»',
- 'ὲ' => 'Ὲ',
- 'έ' => 'Έ',
- 'ὴ' => 'Ὴ',
- 'á½µ' => 'á¿‹',
- 'ὶ' => 'Ὶ',
- 'á½·' => 'á¿›',
- 'ὸ' => 'Ὸ',
- 'ό' => 'Ό',
- 'ὺ' => 'Ὺ',
- 'á½»' => 'á¿«',
- 'ὼ' => 'Ὼ',
- 'á½½' => 'á¿»',
- 'ᾀ' => 'ἈΙ',
- 'á¾' => 'ἉΙ',
- 'ᾂ' => 'ἊΙ',
- 'ᾃ' => 'ἋΙ',
- 'ᾄ' => 'ἌΙ',
- 'á¾…' => 'á¼Î™',
- 'ᾆ' => 'ἎΙ',
- 'ᾇ' => 'á¼Î™',
- 'á¾' => 'ἨΙ',
- 'ᾑ' => 'ἩΙ',
- 'ᾒ' => 'ἪΙ',
- 'ᾓ' => 'ἫΙ',
- 'ᾔ' => 'ἬΙ',
- 'ᾕ' => 'ἭΙ',
- 'ᾖ' => 'ἮΙ',
- 'ᾗ' => 'ἯΙ',
- 'ᾠ' => 'ὨΙ',
- 'ᾡ' => 'ὩΙ',
- 'ᾢ' => 'ὪΙ',
- 'ᾣ' => 'ὫΙ',
- 'ᾤ' => 'ὬΙ',
- 'ᾥ' => 'ὭΙ',
- 'ᾦ' => 'ὮΙ',
- 'ᾧ' => 'ὯΙ',
- 'ᾰ' => 'Ᾰ',
- 'á¾±' => 'á¾¹',
- 'ᾳ' => 'ΑΙ',
- 'ι' => 'Ι',
- 'ῃ' => 'ΗΙ',
- 'á¿' => 'Ῐ',
- 'á¿‘' => 'á¿™',
- 'ῠ' => 'Ῠ',
- 'á¿¡' => 'á¿©',
- 'ῥ' => 'Ῥ',
- 'ῳ' => 'ΩΙ',
- 'ⅎ' => 'Ⅎ',
- 'â…°' => 'â… ',
- 'â…±' => 'â…¡',
- 'â…²' => 'â…¢',
- 'â…³' => 'â…£',
- 'â…´' => 'â…¤',
- 'â…µ' => 'â…¥',
- 'â…¶' => 'â…¦',
- 'â…·' => 'â…§',
- 'â…¸' => 'â…¨',
- 'â…¹' => 'â…©',
- 'â…º' => 'â…ª',
- 'â…»' => 'â…«',
- 'â…¼' => 'â…¬',
- 'â…½' => 'â…­',
- 'â…¾' => 'â…®',
- 'â…¿' => 'â…¯',
- 'ↄ' => 'Ↄ',
- 'â“' => 'â’¶',
- 'â“‘' => 'â’·',
- 'â“’' => 'â’¸',
- 'â““' => 'â’¹',
- 'â“”' => 'â’º',
- 'â“•' => 'â’»',
- 'â“–' => 'â’¼',
- 'â“—' => 'â’½',
- 'ⓘ' => 'Ⓘ',
- 'â“™' => 'â’¿',
- 'ⓚ' => 'Ⓚ',
- 'â“›' => 'â“',
- 'ⓜ' => 'Ⓜ',
- 'â“' => 'Ⓝ',
- 'ⓞ' => 'Ⓞ',
- 'ⓟ' => 'Ⓟ',
- 'ⓠ' => 'Ⓠ',
- 'ⓡ' => 'Ⓡ',
- 'ⓢ' => 'Ⓢ',
- 'ⓣ' => 'Ⓣ',
- 'ⓤ' => 'Ⓤ',
- 'â“¥' => 'â“‹',
- 'ⓦ' => 'Ⓦ',
- 'â“§' => 'â“',
- 'ⓨ' => 'Ⓨ',
- 'â“©' => 'â“',
- 'â°°' => 'â°€',
- 'â°±' => 'â°',
- 'â°²' => 'â°‚',
- 'â°³' => 'â°ƒ',
- 'â°´' => 'â°„',
- 'â°µ' => 'â°…',
- 'â°¶' => 'â°†',
- 'â°·' => 'â°‡',
- 'â°¸' => 'â°ˆ',
- 'â°¹' => 'â°‰',
- 'â°º' => 'â°Š',
- 'â°»' => 'â°‹',
- 'ⰼ' => 'Ⰼ',
- 'â°½' => 'â°',
- 'â°¾' => 'â°Ž',
- 'â°¿' => 'â°',
- 'â±€' => 'â°',
- 'â±' => 'â°‘',
- 'ⱂ' => 'Ⱂ',
- 'ⱃ' => 'Ⱃ',
- 'ⱄ' => 'Ⱄ',
- 'â±…' => 'â°•',
- 'ⱆ' => 'Ⱆ',
- 'ⱇ' => 'Ⱇ',
- 'ⱈ' => 'Ⱈ',
- 'ⱉ' => 'Ⱉ',
- 'ⱊ' => 'Ⱊ',
- 'ⱋ' => 'Ⱋ',
- 'ⱌ' => 'Ⱌ',
- 'â±' => 'â°',
- 'ⱎ' => 'Ⱎ',
- 'â±' => 'â°Ÿ',
- 'â±' => 'â° ',
- 'ⱑ' => 'Ⱑ',
- 'â±’' => 'â°¢',
- 'ⱓ' => 'Ⱓ',
- 'â±”' => 'â°¤',
- 'ⱕ' => 'Ⱕ',
- 'â±–' => 'â°¦',
- 'â±—' => 'â°§',
- 'ⱘ' => 'Ⱘ',
- 'â±™' => 'â°©',
- 'ⱚ' => 'Ⱚ',
- 'â±›' => 'â°«',
- 'ⱜ' => 'Ⱜ',
- 'â±' => 'â°­',
- 'ⱞ' => 'Ⱞ',
- 'ⱡ' => 'Ⱡ',
- 'ⱥ' => 'Ⱥ',
- 'ⱦ' => 'Ⱦ',
- 'ⱨ' => 'Ⱨ',
- 'ⱪ' => 'Ⱪ',
- 'ⱬ' => 'Ⱬ',
- 'â±³' => 'â±²',
- 'â±¶' => 'â±µ',
- 'â²' => 'â²€',
- 'ⲃ' => 'Ⲃ',
- 'ⲅ' => 'Ⲅ',
- 'ⲇ' => 'Ⲇ',
- 'ⲉ' => 'Ⲉ',
- 'ⲋ' => 'Ⲋ',
- 'â²' => 'Ⲍ',
- 'â²' => 'Ⲏ',
- 'ⲑ' => 'â²',
- 'ⲓ' => 'Ⲓ',
- 'ⲕ' => 'Ⲕ',
- 'â²—' => 'â²–',
- 'ⲙ' => 'Ⲙ',
- 'ⲛ' => 'Ⲛ',
- 'â²' => 'Ⲝ',
- 'ⲟ' => 'Ⲟ',
- 'ⲡ' => 'Ⲡ',
- 'â²£' => 'â²¢',
- 'ⲥ' => 'Ⲥ',
- 'ⲧ' => 'Ⲧ',
- 'ⲩ' => 'Ⲩ',
- 'ⲫ' => 'Ⲫ',
- 'ⲭ' => 'Ⲭ',
- 'ⲯ' => 'Ⲯ',
- 'â²±' => 'â²°',
- 'â²³' => 'â²²',
- 'â²µ' => 'â²´',
- 'â²·' => 'â²¶',
- 'ⲹ' => 'Ⲹ',
- 'ⲻ' => 'Ⲻ',
- 'â²½' => 'â²¼',
- 'ⲿ' => 'Ⲿ',
- 'â³' => 'â³€',
- 'ⳃ' => 'Ⳃ',
- 'ⳅ' => 'Ⳅ',
- 'ⳇ' => 'Ⳇ',
- 'ⳉ' => 'Ⳉ',
- 'ⳋ' => 'Ⳋ',
- 'â³' => 'Ⳍ',
- 'â³' => 'Ⳏ',
- 'ⳑ' => 'â³',
- 'ⳓ' => 'Ⳓ',
- 'ⳕ' => 'Ⳕ',
- 'â³—' => 'â³–',
- 'ⳙ' => 'Ⳙ',
- 'ⳛ' => 'Ⳛ',
- 'â³' => 'Ⳝ',
- 'ⳟ' => 'Ⳟ',
- 'ⳡ' => 'Ⳡ',
- 'â³£' => 'â³¢',
- 'ⳬ' => 'Ⳬ',
- 'â³®' => 'â³­',
- 'â³³' => 'â³²',
- 'â´€' => 'á‚ ',
- 'â´' => 'á‚¡',
- 'â´‚' => 'á‚¢',
- 'â´ƒ' => 'á‚£',
- 'ⴄ' => 'Ⴄ',
- 'â´…' => 'á‚¥',
- 'ⴆ' => 'Ⴆ',
- 'â´‡' => 'á‚§',
- 'ⴈ' => 'Ⴈ',
- 'â´‰' => 'á‚©',
- 'ⴊ' => 'Ⴊ',
- 'â´‹' => 'á‚«',
- 'ⴌ' => 'Ⴌ',
- 'â´' => 'á‚­',
- 'â´Ž' => 'á‚®',
- 'â´' => 'Ⴏ',
- 'â´' => 'á‚°',
- 'ⴑ' => 'Ⴑ',
- 'ⴒ' => 'Ⴒ',
- 'ⴓ' => 'Ⴓ',
- 'â´”' => 'á‚´',
- 'ⴕ' => 'Ⴕ',
- 'â´–' => 'á‚¶',
- 'â´—' => 'á‚·',
- 'ⴘ' => 'Ⴘ',
- 'ⴙ' => 'Ⴙ',
- 'ⴚ' => 'Ⴚ',
- 'â´›' => 'á‚»',
- 'ⴜ' => 'Ⴜ',
- 'â´' => 'Ⴝ',
- 'ⴞ' => 'Ⴞ',
- 'â´Ÿ' => 'á‚¿',
- 'ⴠ' => 'Ⴠ',
- 'â´¡' => 'áƒ',
- 'ⴢ' => 'Ⴢ',
- 'ⴣ' => 'Ⴣ',
- 'ⴤ' => 'Ⴤ',
- 'ⴥ' => 'Ⴥ',
- 'ⴧ' => 'Ⴧ',
- 'â´­' => 'áƒ',
- 'ê™' => 'Ꙁ',
- 'ꙃ' => 'Ꙃ',
- 'ꙅ' => 'Ꙅ',
- 'ꙇ' => 'Ꙇ',
- 'ꙉ' => 'Ꙉ',
- 'ꙋ' => 'Ꙋ',
- 'ê™' => 'Ꙍ',
- 'ê™' => 'Ꙏ',
- 'ꙑ' => 'ê™',
- 'ꙓ' => 'Ꙓ',
- 'ꙕ' => 'Ꙕ',
- 'ê™—' => 'ê™–',
- 'ꙙ' => 'Ꙙ',
- 'ꙛ' => 'Ꙛ',
- 'ê™' => 'Ꙝ',
- 'ꙟ' => 'Ꙟ',
- 'ꙡ' => 'Ꙡ',
- 'ꙣ' => 'Ꙣ',
- 'ꙥ' => 'Ꙥ',
- 'ꙧ' => 'Ꙧ',
- 'ꙩ' => 'Ꙩ',
- 'ꙫ' => 'Ꙫ',
- 'ꙭ' => 'Ꙭ',
- 'êš' => 'Ꚁ',
- 'ꚃ' => 'Ꚃ',
- 'êš…' => 'êš„',
- 'ꚇ' => 'Ꚇ',
- 'ꚉ' => 'Ꚉ',
- 'ꚋ' => 'Ꚋ',
- 'êš' => 'Ꚍ',
- 'êš' => 'Ꚏ',
- 'êš‘' => 'êš',
- 'êš“' => 'êš’',
- 'êš•' => 'êš”',
- 'êš—' => 'êš–',
- 'ꚙ' => 'Ꚙ',
- 'êš›' => 'êšš',
- 'ꜣ' => 'Ꜣ',
- 'ꜥ' => 'Ꜥ',
- 'ꜧ' => 'Ꜧ',
- 'ꜩ' => 'Ꜩ',
- 'ꜫ' => 'Ꜫ',
- 'ꜭ' => 'Ꜭ',
- 'ꜯ' => 'Ꜯ',
- 'ꜳ' => 'Ꜳ',
- 'ꜵ' => 'Ꜵ',
- 'ꜷ' => 'Ꜷ',
- 'ꜹ' => 'Ꜹ',
- 'ꜻ' => 'Ꜻ',
- 'ꜽ' => 'Ꜽ',
- 'ꜿ' => 'Ꜿ',
- 'ê' => 'ê€',
- 'êƒ' => 'ê‚',
- 'ê…' => 'ê„',
- 'ê‡' => 'ê†',
- 'ê‰' => 'êˆ',
- 'ê‹' => 'êŠ',
- 'ê' => 'êŒ',
- 'ê' => 'êŽ',
- 'ê‘' => 'ê',
- 'ê“' => 'ê’',
- 'ê•' => 'ê”',
- 'ê—' => 'ê–',
- 'ê™' => 'ê˜',
- 'ê›' => 'êš',
- 'ê' => 'êœ',
- 'êŸ' => 'êž',
- 'ê¡' => 'ê ',
- 'ê£' => 'ê¢',
- 'ê¥' => 'ê¤',
- 'ê§' => 'ê¦',
- 'ê©' => 'ê¨',
- 'ê«' => 'êª',
- 'ê­' => 'ê¬',
- 'ê¯' => 'ê®',
- 'êº' => 'ê¹',
- 'ê¼' => 'ê»',
- 'ê¿' => 'ê¾',
- 'êž' => 'Ꞁ',
- 'ꞃ' => 'Ꞃ',
- 'êž…' => 'êž„',
- 'ꞇ' => 'Ꞇ',
- 'ꞌ' => 'Ꞌ',
- 'êž‘' => 'êž',
- 'êž“' => 'êž’',
- 'ꞔ' => 'Ꞔ',
- 'êž—' => 'êž–',
- 'ꞙ' => 'Ꞙ',
- 'êž›' => 'êžš',
- 'êž' => 'êžœ',
- 'ꞟ' => 'Ꞟ',
- 'êž¡' => 'êž ',
- 'ꞣ' => 'Ꞣ',
- 'ꞥ' => 'Ꞥ',
- 'ꞧ' => 'Ꞧ',
- 'ꞩ' => 'Ꞩ',
- 'êžµ' => 'êž´',
- 'êž·' => 'êž¶',
- 'ꞹ' => 'Ꞹ',
- 'ꞻ' => 'Ꞻ',
- 'êž½' => 'êž¼',
- 'êž¿' => 'êž¾',
- 'ꟃ' => 'Ꟃ',
- 'ꟈ' => 'Ꟈ',
- 'ꟊ' => 'Ꟊ',
- 'ꟶ' => 'Ꟶ',
- 'ê­“' => 'êž³',
- 'ꭰ' => 'Ꭰ',
- 'ꭱ' => 'Ꭱ',
- 'ꭲ' => 'Ꭲ',
- 'ꭳ' => 'Ꭳ',
- 'ꭴ' => 'Ꭴ',
- 'ꭵ' => 'Ꭵ',
- 'ꭶ' => 'Ꭶ',
- 'ꭷ' => 'Ꭷ',
- 'ꭸ' => 'Ꭸ',
- 'ꭹ' => 'Ꭹ',
- 'ꭺ' => 'Ꭺ',
- 'ꭻ' => 'Ꭻ',
- 'ꭼ' => 'Ꭼ',
- 'ꭽ' => 'Ꭽ',
- 'ꭾ' => 'Ꭾ',
- 'ꭿ' => 'Ꭿ',
- 'ꮀ' => 'Ꮀ',
- 'ê®' => 'Ꮁ',
- 'ꮂ' => 'Ꮂ',
- 'ꮃ' => 'Ꮃ',
- 'ꮄ' => 'Ꮄ',
- 'ꮅ' => 'Ꮅ',
- 'ꮆ' => 'Ꮆ',
- 'ꮇ' => 'Ꮇ',
- 'ꮈ' => 'Ꮈ',
- 'ꮉ' => 'Ꮉ',
- 'ꮊ' => 'Ꮊ',
- 'ꮋ' => 'Ꮋ',
- 'ꮌ' => 'Ꮌ',
- 'ê®' => 'Ꮍ',
- 'ꮎ' => 'Ꮎ',
- 'ê®' => 'Ꮏ',
- 'ê®' => 'á€',
- 'ꮑ' => 'á',
- 'ê®’' => 'á‚',
- 'ꮓ' => 'áƒ',
- 'ê®”' => 'á„',
- 'ꮕ' => 'á…',
- 'ê®–' => 'á†',
- 'ê®—' => 'á‡',
- 'ꮘ' => 'áˆ',
- 'ê®™' => 'á‰',
- 'ꮚ' => 'áŠ',
- 'ê®›' => 'á‹',
- 'ꮜ' => 'áŒ',
- 'ê®' => 'á',
- 'ꮞ' => 'áŽ',
- 'ꮟ' => 'á',
- 'ê® ' => 'á',
- 'ꮡ' => 'á‘',
- 'ꮢ' => 'á’',
- 'ꮣ' => 'á“',
- 'ꮤ' => 'á”',
- 'ꮥ' => 'á•',
- 'ꮦ' => 'á–',
- 'ê®§' => 'á—',
- 'ꮨ' => 'á˜',
- 'ꮩ' => 'á™',
- 'ꮪ' => 'áš',
- 'ꮫ' => 'á›',
- 'ꮬ' => 'áœ',
- 'ê®­' => 'á',
- 'ê®®' => 'áž',
- 'ꮯ' => 'áŸ',
- 'ê®°' => 'á ',
- 'ê®±' => 'á¡',
- 'ꮲ' => 'á¢',
- 'ꮳ' => 'á£',
- 'ê®´' => 'á¤',
- 'ꮵ' => 'á¥',
- 'ê®¶' => 'á¦',
- 'ê®·' => 'á§',
- 'ꮸ' => 'á¨',
- 'ꮹ' => 'á©',
- 'ꮺ' => 'áª',
- 'ê®»' => 'á«',
- 'ꮼ' => 'á¬',
- 'ꮽ' => 'á­',
- 'ꮾ' => 'á®',
- 'ꮿ' => 'á¯',
- 'ï½' => 'A',
- 'b' => 'B',
- 'c' => 'C',
- 'd' => 'D',
- 'ï½…' => 'ï¼¥',
- 'f' => 'F',
- 'g' => 'G',
- 'h' => 'H',
- 'i' => 'I',
- 'j' => 'J',
- 'k' => 'K',
- 'l' => 'L',
- 'ï½' => 'ï¼­',
- 'n' => 'N',
- 'ï½' => 'O',
- 'ï½' => 'ï¼°',
- 'q' => 'Q',
- 'ï½’' => 'ï¼²',
- 's' => 'S',
- 'ï½”' => 'ï¼´',
- 'u' => 'U',
- 'ï½–' => 'ï¼¶',
- 'ï½—' => 'ï¼·',
- 'x' => 'X',
- 'ï½™' => 'ï¼¹',
- 'z' => 'Z',
- 'ð¨' => 'ð€',
- 'ð©' => 'ð',
- 'ðª' => 'ð‚',
- 'ð«' => 'ðƒ',
- 'ð¬' => 'ð„',
- 'ð­' => 'ð…',
- 'ð®' => 'ð†',
- 'ð¯' => 'ð‡',
- 'ð°' => 'ðˆ',
- 'ð±' => 'ð‰',
- 'ð²' => 'ðŠ',
- 'ð³' => 'ð‹',
- 'ð´' => 'ðŒ',
- 'ðµ' => 'ð',
- 'ð¶' => 'ðŽ',
- 'ð·' => 'ð',
- 'ð¸' => 'ð',
- 'ð¹' => 'ð‘',
- 'ðº' => 'ð’',
- 'ð»' => 'ð“',
- 'ð¼' => 'ð”',
- 'ð½' => 'ð•',
- 'ð¾' => 'ð–',
- 'ð¿' => 'ð—',
- 'ð‘€' => 'ð˜',
- 'ð‘' => 'ð™',
- 'ð‘‚' => 'ðš',
- 'ð‘ƒ' => 'ð›',
- 'ð‘„' => 'ðœ',
- 'ð‘…' => 'ð',
- 'ð‘†' => 'ðž',
- 'ð‘‡' => 'ðŸ',
- 'ð‘ˆ' => 'ð ',
- 'ð‘‰' => 'ð¡',
- 'ð‘Š' => 'ð¢',
- 'ð‘‹' => 'ð£',
- 'ð‘Œ' => 'ð¤',
- 'ð‘' => 'ð¥',
- 'ð‘Ž' => 'ð¦',
- 'ð‘' => 'ð§',
- 'ð“˜' => 'ð’°',
- 'ð“™' => 'ð’±',
- 'ð“š' => 'ð’²',
- 'ð“›' => 'ð’³',
- 'ð“œ' => 'ð’´',
- 'ð“' => 'ð’µ',
- 'ð“ž' => 'ð’¶',
- 'ð“Ÿ' => 'ð’·',
- 'ð“ ' => 'ð’¸',
- 'ð“¡' => 'ð’¹',
- 'ð“¢' => 'ð’º',
- 'ð“£' => 'ð’»',
- 'ð“¤' => 'ð’¼',
- 'ð“¥' => 'ð’½',
- 'ð“¦' => 'ð’¾',
- 'ð“§' => 'ð’¿',
- 'ð“¨' => 'ð“€',
- 'ð“©' => 'ð“',
- 'ð“ª' => 'ð“‚',
- 'ð“«' => 'ð“ƒ',
- 'ð“¬' => 'ð“„',
- 'ð“­' => 'ð“…',
- 'ð“®' => 'ð“†',
- 'ð“¯' => 'ð“‡',
- 'ð“°' => 'ð“ˆ',
- 'ð“±' => 'ð“‰',
- 'ð“²' => 'ð“Š',
- 'ð“³' => 'ð“‹',
- 'ð“´' => 'ð“Œ',
- 'ð“µ' => 'ð“',
- 'ð“¶' => 'ð“Ž',
- 'ð“·' => 'ð“',
- 'ð“¸' => 'ð“',
- 'ð“¹' => 'ð“‘',
- 'ð“º' => 'ð“’',
- 'ð“»' => 'ð““',
- 'ð³€' => 'ð²€',
- 'ð³' => 'ð²',
- 'ð³‚' => 'ð²‚',
- 'ð³ƒ' => 'ð²ƒ',
- 'ð³„' => 'ð²„',
- 'ð³…' => 'ð²…',
- 'ð³†' => 'ð²†',
- 'ð³‡' => 'ð²‡',
- 'ð³ˆ' => 'ð²ˆ',
- 'ð³‰' => 'ð²‰',
- 'ð³Š' => 'ð²Š',
- 'ð³‹' => 'ð²‹',
- 'ð³Œ' => 'ð²Œ',
- 'ð³' => 'ð²',
- 'ð³Ž' => 'ð²Ž',
- 'ð³' => 'ð²',
- 'ð³' => 'ð²',
- 'ð³‘' => 'ð²‘',
- 'ð³’' => 'ð²’',
- 'ð³“' => 'ð²“',
- 'ð³”' => 'ð²”',
- 'ð³•' => 'ð²•',
- 'ð³–' => 'ð²–',
- 'ð³—' => 'ð²—',
- 'ð³˜' => 'ð²˜',
- 'ð³™' => 'ð²™',
- 'ð³š' => 'ð²š',
- 'ð³›' => 'ð²›',
- 'ð³œ' => 'ð²œ',
- 'ð³' => 'ð²',
- 'ð³ž' => 'ð²ž',
- 'ð³Ÿ' => 'ð²Ÿ',
- 'ð³ ' => 'ð² ',
- 'ð³¡' => 'ð²¡',
- 'ð³¢' => 'ð²¢',
- 'ð³£' => 'ð²£',
- 'ð³¤' => 'ð²¤',
- 'ð³¥' => 'ð²¥',
- 'ð³¦' => 'ð²¦',
- 'ð³§' => 'ð²§',
- 'ð³¨' => 'ð²¨',
- 'ð³©' => 'ð²©',
- 'ð³ª' => 'ð²ª',
- 'ð³«' => 'ð²«',
- 'ð³¬' => 'ð²¬',
- 'ð³­' => 'ð²­',
- 'ð³®' => 'ð²®',
- 'ð³¯' => 'ð²¯',
- 'ð³°' => 'ð²°',
- 'ð³±' => 'ð²±',
- 'ð³²' => 'ð²²',
- 'ð‘£€' => 'ð‘¢ ',
- 'ð‘£' => '𑢡',
- '𑣂' => '𑢢',
- '𑣃' => '𑢣',
- '𑣄' => '𑢤',
- 'ð‘£…' => 'ð‘¢¥',
- '𑣆' => '𑢦',
- '𑣇' => '𑢧',
- '𑣈' => '𑢨',
- '𑣉' => '𑢩',
- '𑣊' => '𑢪',
- '𑣋' => '𑢫',
- '𑣌' => '𑢬',
- 'ð‘£' => 'ð‘¢­',
- '𑣎' => '𑢮',
- 'ð‘£' => '𑢯',
- 'ð‘£' => 'ð‘¢°',
- '𑣑' => '𑢱',
- 'ð‘£’' => 'ð‘¢²',
- '𑣓' => '𑢳',
- 'ð‘£”' => 'ð‘¢´',
- '𑣕' => '𑢵',
- 'ð‘£–' => 'ð‘¢¶',
- 'ð‘£—' => 'ð‘¢·',
- '𑣘' => '𑢸',
- 'ð‘£™' => 'ð‘¢¹',
- '𑣚' => '𑢺',
- 'ð‘£›' => 'ð‘¢»',
- '𑣜' => '𑢼',
- 'ð‘£' => 'ð‘¢½',
- '𑣞' => '𑢾',
- '𑣟' => '𑢿',
- 'ð–¹ ' => 'ð–¹€',
- '𖹡' => 'ð–¹',
- '𖹢' => '𖹂',
- '𖹣' => '𖹃',
- '𖹤' => '𖹄',
- 'ð–¹¥' => 'ð–¹…',
- '𖹦' => '𖹆',
- '𖹧' => '𖹇',
- '𖹨' => '𖹈',
- '𖹩' => '𖹉',
- '𖹪' => '𖹊',
- '𖹫' => '𖹋',
- '𖹬' => '𖹌',
- 'ð–¹­' => 'ð–¹',
- '𖹮' => '𖹎',
- '𖹯' => 'ð–¹',
- 'ð–¹°' => 'ð–¹',
- '𖹱' => '𖹑',
- 'ð–¹²' => 'ð–¹’',
- '𖹳' => '𖹓',
- 'ð–¹´' => 'ð–¹”',
- '𖹵' => '𖹕',
- 'ð–¹¶' => 'ð–¹–',
- 'ð–¹·' => 'ð–¹—',
- '𖹸' => '𖹘',
- 'ð–¹¹' => 'ð–¹™',
- '𖹺' => '𖹚',
- 'ð–¹»' => 'ð–¹›',
- '𖹼' => '𖹜',
- 'ð–¹½' => 'ð–¹',
- '𖹾' => '𖹞',
- '𖹿' => '𖹟',
- '𞤢' => '𞤀',
- '𞤣' => 'ðž¤',
- '𞤤' => '𞤂',
- '𞤥' => '𞤃',
- '𞤦' => '𞤄',
- '𞤧' => '𞤅',
- '𞤨' => '𞤆',
- '𞤩' => '𞤇',
- '𞤪' => '𞤈',
- '𞤫' => '𞤉',
- '𞤬' => '𞤊',
- '𞤭' => '𞤋',
- '𞤮' => '𞤌',
- '𞤯' => 'ðž¤',
- '𞤰' => '𞤎',
- '𞤱' => 'ðž¤',
- '𞤲' => 'ðž¤',
- '𞤳' => '𞤑',
- '𞤴' => '𞤒',
- '𞤵' => '𞤓',
- '𞤶' => '𞤔',
- '𞤷' => '𞤕',
- '𞤸' => '𞤖',
- '𞤹' => '𞤗',
- '𞤺' => '𞤘',
- '𞤻' => '𞤙',
- '𞤼' => '𞤚',
- '𞤽' => '𞤛',
- '𞤾' => '𞤜',
- '𞤿' => 'ðž¤',
- '𞥀' => '𞤞',
- 'ðž¥' => '𞤟',
- '𞥂' => '𞤠',
- '𞥃' => '𞤡',
- 'ß' => 'SS',
- 'ff' => 'FF',
- 'ï¬' => '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 @@
-<?php
-
-/*
- * This file is part of the Symfony package.
- *
- * (c) Fabien Potencier <fabien@symfony.com>
- *
- * 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 @@
-<?php
-
-/*
- * This file is part of the Symfony package.
- *
- * (c) Fabien Potencier <fabien@symfony.com>
- *
- * 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 @@
-<?php
-
-/*
- * This file is part of the Symfony package.
- *
- * (c) Fabien Potencier <fabien@symfony.com>
- *
- * 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 <ion.bazan@gmail.com>
- * @author Nico Oelgart <nicoswd@gmail.com>
- * @author Nicolas Grekas <p@tchwork.com>
- *
- * @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 @@
-<?php
-
-/*
- * This file is part of the Symfony package.
- *
- * (c) Fabien Potencier <fabien@symfony.com>
- *
- * 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 <info@ensostudio.ru>
- *
- * @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 @@
-<?php
-
-/*
- * This file is part of the Symfony package.
- *
- * (c) Fabien Potencier <fabien@symfony.com>
- *
- * 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 @@
-<?php
-
-/*
- * This file is part of the Symfony package.
- *
- * (c) Fabien Potencier <fabien@symfony.com>
- *
- * 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 @@
-<?php
-
-/*
- * This file is part of the Symfony package.
- *
- * (c) Fabien Potencier <fabien@symfony.com>
- *
- * 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 @@
-<?php
-
-/*
- * This file is part of the Symfony package.
- *
- * (c) Fabien Potencier <fabien@symfony.com>
- *
- * 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 @@
-<?php
-
-/*
- * This file is part of the Symfony package.
- *
- * (c) Fabien Potencier <fabien@symfony.com>
- *
- * 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 @@
-<?php
-
-/*
- * This file is part of the Symfony package.
- *
- * (c) Fabien Potencier <fabien@symfony.com>
- *
- * 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 @@
-<?php
-
-/*
- * This file is part of the Symfony package.
- *
- * (c) Fabien Potencier <fabien@symfony.com>
- *
- * 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 <p@tchwork.com>
- *
- * @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 @@
-<?php
-
-/*
- * This file is part of the Symfony package.
- *
- * (c) Fabien Potencier <fabien@symfony.com>
- *
- * 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 @@
-<?php
-
-/*
- * This file is part of the Symfony package.
- *
- * (c) Fabien Potencier <fabien@symfony.com>
- *
- * 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 @@
-<?php
-
-/*
- * This file is part of the Symfony package.
- *
- * (c) Fabien Potencier <fabien@symfony.com>
- *
- * 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 @@
-<?php
-
-/*
- * This file is part of the Symfony package.
- *
- * (c) Fabien Potencier <fabien@symfony.com>
- *
- * 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 @@
-<?php
-
-/*
- * This file is part of the Symfony package.
- *
- * (c) Fabien Potencier <fabien@symfony.com>
- *
- * 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 <me@derrabus.de>
- * @author Greg Roach <greg@subaqua.co.uk>
- *
- * @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 @@
-<?php
-
-/*
- * This file is part of the Symfony package.
- *
- * (c) Fabien Potencier <fabien@symfony.com>
- *
- * 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 <tim@bastelstu.be>
- * @author Anton Smirnov <sandfox@sandfox.me>
- *
- * @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 @@
-<?php
-
-/*
- * This file is part of the Symfony package.
- *
- * (c) Fabien Potencier <fabien@symfony.com>
- *
- * 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 @@
-<?php
-
-/*
- * This file is part of the Symfony package.
- *
- * (c) Fabien Potencier <fabien@symfony.com>
- *
- * 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 @@
-<?php
-
-/*
- * This file is part of the Symfony package.
- *
- * (c) Fabien Potencier <fabien@symfony.com>
- *
- * 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 @@
-<?php
-
-/*
- * This file is part of the Symfony package.
- *
- * (c) Fabien Potencier <fabien@symfony.com>
- *
- * 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 @@
-<?php
-
-/*
- * This file is part of the Symfony package.
- *
- * (c) Fabien Potencier <fabien@symfony.com>
- *
- * 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 @@
-<?php
-
-/*
- * This file is part of the Symfony package.
- *
- * (c) Fabien Potencier <fabien@symfony.com>
- *
- * 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 @@
-<?php
-
-/*
- * This file is part of the Symfony package.
- *
- * (c) Fabien Potencier <fabien@symfony.com>
- *
- * 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 @@
-<?php
-
-/*
- * This file is part of the Symfony package.
- *
- * (c) Fabien Potencier <fabien@symfony.com>
- *
- * 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 @@
-<?php
-
-/*
- * This file is part of the Symfony package.
- *
- * (c) Fabien Potencier <fabien@symfony.com>
- *
- * 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 @@
-<?php
-
-/*
- * This file is part of the Symfony package.
- *
- * (c) Fabien Potencier <fabien@symfony.com>
- *
- * 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 <duesterhus@woltlab.com>
- *
- * @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 @@
-<?php
-
-/*
- * This file is part of the Symfony package.
- *
- * (c) Fabien Potencier <fabien@symfony.com>
- *
- * 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"
- }
- }
-}