Skip to content

Commit

Permalink
Change composer namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
solodkiy committed Sep 30, 2024
1 parent 467232b commit e0353f4
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 17 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# Gauge Exporter PHP Client

PHP Client for [Gague Exporter](https://github.com/belka-car/gague-exporter).
PHP Client for [Gauge Exporter](https://github.com/belka-tech/gague-exporter).


## Usage example
```php
<?php

use Belkacar\GaugeExporterClient\GaugeExporterClient;
use Belkacar\GaugeExporterClient\MetricBag;
use BelkaTech\GaugeExporterClient\GaugeExporterClient;
use BelkaTech\GaugeExporterClient\MetricBag;
use GuzzleHttp\Client;

require_once "vendor/autoload.php";
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "belkacar/gauge-exporter-client",
"name": "belka-tech/gauge-exporter-client",
"description": "Gauge Exporter PHP client",
"type": "library",
"license": "MIT",
Expand All @@ -12,12 +12,12 @@
},
"autoload": {
"psr-4": {
"Belkacar\\GaugeExporterClient\\": "src/"
"BelkaTech\\GaugeExporterClient\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Belkacar\\GaugeExporterClient\\Tests\\": "tests/"
"BelkaTech\\GaugeExporterClient\\Tests\\": "tests/"
}
},
"config": {
Expand Down
2 changes: 1 addition & 1 deletion src/Exception/BadResponseException.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace Belkacar\GaugeExporterClient\Exception;
namespace BelkaTech\GaugeExporterClient\Exception;

use Psr\Http\Client\ClientExceptionInterface;
use Psr\Http\Message\ResponseInterface;
Expand Down
4 changes: 2 additions & 2 deletions src/GaugeExporterClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

declare(strict_types=1);

namespace Belkacar\GaugeExporterClient;
namespace BelkaTech\GaugeExporterClient;

use Belkacar\GaugeExporterClient\Exception\BadResponseException;
use BelkaTech\GaugeExporterClient\Exception\BadResponseException;
use Psr\Http\Client\ClientExceptionInterface;
use Psr\Http\Client\ClientInterface;
use GuzzleHttp\Psr7\Request;
Expand Down
2 changes: 1 addition & 1 deletion src/MetricBag.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace Belkacar\GaugeExporterClient;
namespace BelkaTech\GaugeExporterClient;

use InvalidArgumentException;

Expand Down
2 changes: 1 addition & 1 deletion src/MetricLine.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace Belkacar\GaugeExporterClient;
namespace BelkaTech\GaugeExporterClient;

use InvalidArgumentException;

Expand Down
8 changes: 4 additions & 4 deletions tests/GaugeExporterClientTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

declare(strict_types=1);

namespace Belkacar\GaugeExporterClient\Tests;
namespace BelkaTech\GaugeExporterClient\Tests;

use Belkacar\GaugeExporterClient\Exception\BadResponseException;
use Belkacar\GaugeExporterClient\GaugeExporterClient;
use Belkacar\GaugeExporterClient\MetricBag;
use BelkaTech\GaugeExporterClient\Exception\BadResponseException;
use BelkaTech\GaugeExporterClient\GaugeExporterClient;
use BelkaTech\GaugeExporterClient\MetricBag;
use GuzzleHttp\Psr7\Response;
use Http\Message\RequestMatcher\RequestMatcher;
use Http\Mock\Client as MockClient;
Expand Down
4 changes: 2 additions & 2 deletions tests/MetricBagTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

declare(strict_types=1);

namespace Belkacar\GaugeExporterClient\Tests;
namespace BelkaTech\GaugeExporterClient\Tests;

use Belkacar\GaugeExporterClient\MetricBag;
use BelkaTech\GaugeExporterClient\MetricBag;
use Exception;
use InvalidArgumentException;
use PHPUnit\Framework\TestCase;
Expand Down

0 comments on commit e0353f4

Please sign in to comment.