From e65b5df96c5b05e014cb8b5e1e0f625b6b623a0d Mon Sep 17 00:00:00 2001 From: Luke Kuzmish Date: Thu, 4 Jul 2024 22:04:30 -0400 Subject: [PATCH] fixes namespace --- composer.json | 4 +-- .../Concerns/TagNormalizerAwareTrait.php | 4 +-- src/Adapters/Contracts/TagNormalizerAware.php | 4 +-- .../Datadog/DatadogStatsDClientAdapter.php | 10 +++---- .../InMemory/InMemoryClientAdapter.php | 26 +++++++++---------- .../InMemory/Models/InMemoryCountRecord.php | 2 +- .../Models/InMemoryDistributionRecord.php | 2 +- .../InMemory/Models/InMemoryGaugeRecord.php | 2 +- .../Models/InMemoryHistogramRecord.php | 2 +- .../InMemory/Models/InMemorySetRecord.php | 2 +- .../InMemory/Models/InMemoryStatsRecord.php | 2 +- .../InMemory/Models/InMemoryTimingRecord.php | 2 +- .../League/LeagueStatsDClientAdapter.php | 12 ++++----- src/Adapters/StatsDClientAdapter.php | 2 +- src/Clients/Datadog/DatadogLoggingClient.php | 2 +- src/TagNormalizers/ConvertEnumNormalizer.php | 2 +- src/TagNormalizers/NoopTagNormalizer.php | 2 +- src/TagNormalizers/TagNormalizer.php | 2 +- .../Contracts/SampleRateSendDecider.php | 2 +- .../SampleRateSendDecider.php | 4 +-- .../InMemory/InMemoryDecrementTest.php | 10 +++---- tests/Adapters/InMemory/InMemoryGaugeTest.php | 10 +++---- .../InMemory/InMemoryHistogramTest.php | 10 +++---- .../InMemory/InMemoryIncrementTest.php | 12 ++++----- tests/Adapters/InMemory/InMemorySetTest.php | 10 +++---- tests/Adapters/InMemory/InMemoryTest.php | 12 ++++----- .../Adapters/InMemory/InMemoryTimingTest.php | 10 +++---- .../League/LeagueStatsDClientTest.php | 6 ++--- tests/BaseTestCase.php | 2 +- .../Datadog/DatadogLoggingClientTest.php | 6 ++--- tests/Doubles/ClockStub.php | 2 +- tests/Doubles/TagNormalizerSpy.php | 4 +-- .../ConvertEnumNormalizerTest.php | 10 +++---- tests/TagNormalizers/Enums/IntBackedEnum.php | 2 +- .../TagNormalizers/Enums/StringBackedEnum.php | 2 +- tests/TagNormalizers/Enums/UnbackedEnum.php | 2 +- .../SampleRateSendDeciderTest.php | 6 ++--- 37 files changed, 103 insertions(+), 103 deletions(-) diff --git a/composer.json b/composer.json index 70cc21b..05c4cbb 100644 --- a/composer.json +++ b/composer.json @@ -29,12 +29,12 @@ }, "autoload": { "psr-4": { - "Cosmastech\\StatsDClient\\": "src" + "Cosmastech\\StatsDClientAdapter\\": "src" } }, "autoload-dev": { "psr-4": { - "Cosmastech\\StatsDClient\\Tests\\": "tests" + "Cosmastech\\StatsDClientAdapter\\Tests\\": "tests" } }, "scripts": { diff --git a/src/Adapters/Concerns/TagNormalizerAwareTrait.php b/src/Adapters/Concerns/TagNormalizerAwareTrait.php index a86a031..a731a44 100644 --- a/src/Adapters/Concerns/TagNormalizerAwareTrait.php +++ b/src/Adapters/Concerns/TagNormalizerAwareTrait.php @@ -1,8 +1,8 @@