From 78cb40a7f766ac0da30a578fa8e7dc44b1c1fada Mon Sep 17 00:00:00 2001 From: Brett McBride Date: Tue, 7 Jan 2025 21:18:52 +1100 Subject: [PATCH] remove blank lines after class opening (#1468) add the php-cs-fixer no_blank_lines_after_class_opening rule and apply to codebase --- Common/InstrumentationScope/ConfiguratorClosure.php | 1 - Metrics/Data/Gauge.php | 1 - Metrics/MetricSourceRegistryUnregisterInterface.php | 1 - Propagation/LateBindingTextMapPropagator.php | 1 - 4 files changed, 4 deletions(-) diff --git a/Common/InstrumentationScope/ConfiguratorClosure.php b/Common/InstrumentationScope/ConfiguratorClosure.php index ff043fa..59718e7 100644 --- a/Common/InstrumentationScope/ConfiguratorClosure.php +++ b/Common/InstrumentationScope/ConfiguratorClosure.php @@ -12,7 +12,6 @@ */ final class ConfiguratorClosure { - public function __construct( public readonly Closure $closure, private readonly ?string $name, diff --git a/Metrics/Data/Gauge.php b/Metrics/Data/Gauge.php index f8bf9ca..f0be485 100644 --- a/Metrics/Data/Gauge.php +++ b/Metrics/Data/Gauge.php @@ -6,7 +6,6 @@ final class Gauge implements DataInterface { - /** * @param iterable $dataPoints */ diff --git a/Metrics/MetricSourceRegistryUnregisterInterface.php b/Metrics/MetricSourceRegistryUnregisterInterface.php index 5439397..6030e3d 100644 --- a/Metrics/MetricSourceRegistryUnregisterInterface.php +++ b/Metrics/MetricSourceRegistryUnregisterInterface.php @@ -13,6 +13,5 @@ */ interface MetricSourceRegistryUnregisterInterface { - public function unregisterStream(MetricCollectorInterface $collector, int $streamId): void; } diff --git a/Propagation/LateBindingTextMapPropagator.php b/Propagation/LateBindingTextMapPropagator.php index 6e30a00..814c300 100644 --- a/Propagation/LateBindingTextMapPropagator.php +++ b/Propagation/LateBindingTextMapPropagator.php @@ -15,7 +15,6 @@ */ final class LateBindingTextMapPropagator implements TextMapPropagatorInterface { - /** * @param TextMapPropagatorInterface|Closure(): TextMapPropagatorInterface $propagator */