From 207eca7f74b2b9523e53072c0b7aa8c430bb8ddc Mon Sep 17 00:00:00 2001 From: Silvio Pereira Date: Sat, 27 Jul 2024 11:48:38 -0300 Subject: [PATCH 1/2] Rename namespace --- README.md | 6 +++--- composer.json | 6 +++--- docs/StorageAccount.md | 6 +++--- src/Authentication/MicrosoftEntraId.php | 10 +++++----- src/Authentication/SharedKeyAuth.php | 8 ++++---- src/BlobStorage/BlobStorage.php | 8 ++++---- .../Concerns/ValidateContainerName.php | 4 ++-- .../Concerns/ValidateMetadataKey.php | 4 ++-- src/BlobStorage/Config.php | 12 +++++------ .../Entities/Account/AccountInformation.php | 2 +- .../BlobStorageProperty/BlobProperty.php | 8 ++++---- .../Account/BlobStorageProperty/Cors/Cors.php | 6 +++--- .../BlobStorageProperty/Cors/CorsRule.php | 4 ++-- .../DeleteRetentionPolicy.php | 4 ++-- .../BlobStorageProperty/HourMetrics.php | 4 ++-- .../Account/BlobStorageProperty/Logging.php | 4 ++-- .../BlobStorageProperty/MinuteMetrics.php | 4 ++-- .../BlobStorageProperty/StaticWebsite.php | 4 ++-- .../Entities/Account/GeoReplication.php | 2 +- src/BlobStorage/Entities/Account/KeyInfo.php | 8 ++++---- .../Entities/Account/UserDelegationKey.php | 2 +- src/BlobStorage/Entities/Blob/Blob.php | 10 +++++----- src/BlobStorage/Entities/Blob/BlobLease.php | 10 +++++----- .../Entities/Blob/BlobMetadata.php | 6 +++--- .../Entities/Blob/BlobProperty.php | 4 ++-- src/BlobStorage/Entities/Blob/BlobTag.php | 8 ++++---- src/BlobStorage/Entities/Blob/Blobs.php | 6 +++--- src/BlobStorage/Entities/Blob/File.php | 4 ++-- src/BlobStorage/Entities/Blob/Properties.php | 2 +- src/BlobStorage/Entities/Block.php | 2 +- .../AccessLevel/ContainerAccessLevel.php | 6 +++--- .../AccessLevel/ContainerAccessLevels.php | 6 +++--- .../Entities/Container/Container.php | 16 +++++++-------- .../Entities/Container/ContainerLease.php | 10 +++++----- .../Entities/Container/ContainerMetadata.php | 2 +- .../Container/ContainerProperties.php | 2 +- .../Entities/Container/Containers.php | 6 +++--- .../Entities/Container/Properties.php | 2 +- src/BlobStorage/Entities/Page.php | 2 +- src/BlobStorage/Enums/BlobIncludeOption.php | 2 +- src/BlobStorage/Enums/BlobType.php | 2 +- src/BlobStorage/Enums/ExpirationOption.php | 2 +- src/BlobStorage/Enums/HttpVerb.php | 2 +- .../Account/PreflightBlobRequestManager.php | 12 +++++------ .../Account/StoragePropertyManager.php | 12 +++++------ src/BlobStorage/Managers/AccountManager.php | 12 +++++------ .../Managers/Blob/BlobLeaseManager.php | 12 +++++------ src/BlobStorage/Managers/Blob/BlobManager.php | 16 +++++++-------- .../Managers/Blob/BlobMetadataManager.php | 12 +++++------ .../Managers/Blob/BlobPageManager.php | 16 +++++++-------- .../Managers/Blob/BlobPropertyManager.php | 10 +++++----- .../Managers/Blob/BlobTagManager.php | 12 +++++------ .../Container/ContainerAccessLevelManager.php | 14 ++++++------- .../Container/ContainerLeaseManager.php | 14 ++++++------- .../Container/ContainerMetadataManager.php | 14 ++++++------- src/BlobStorage/Managers/ContainerManager.php | 20 +++++++++---------- src/BlobStorage/Queries/BlobTagQuery.php | 6 +++--- src/BlobStorage/Resource.php | 2 +- src/Concerns/HasManager.php | 6 +++--- src/Concerns/HasRequestShared.php | 4 ++-- src/Contracts/Arrayable.php | 2 +- src/Contracts/Authentication/Auth.php | 6 +++--- src/Contracts/Converter.php | 4 ++-- src/Contracts/HasConfig.php | 4 ++-- src/Contracts/Http/HttpMethods.php | 2 +- src/Contracts/Http/Request.php | 4 ++-- src/Contracts/Http/Response.php | 2 +- src/Contracts/Manager.php | 2 +- src/Contracts/Parser.php | 4 ++-- src/Contracts/RequestShared.php | 4 ++-- src/Contracts/Stringable.php | 2 +- src/Contracts/Xmlable.php | 4 ++-- src/Converter/XmlConverter.php | 6 +++--- .../CouldNotCreateTempFileException.php | 2 +- src/Exceptions/InvalidArgumentException.php | 2 +- .../InvalidFileMimeTypeException.php | 2 +- src/Exceptions/ManagerNotSetException.php | 2 +- src/Exceptions/RequestException.php | 4 ++-- .../FailedAuthenticationException.php | 4 ++-- src/Exceptions/RequiredFieldException.php | 2 +- src/Exceptions/UnableToConvertException.php | 2 +- src/Exceptions/UnableToParseException.php | 2 +- src/Http/Headers.php | 8 ++++---- src/Http/Request.php | 8 ++++---- src/Http/Response.php | 4 ++-- src/Parsers/XmlParser.php | 6 +++--- src/Support/Collection.php | 2 +- src/Tests/Http/Concerns/HasAuthAssertions.php | 2 +- src/Tests/Http/Concerns/HasHttpAssertions.php | 2 +- src/Tests/Http/RequestFake.php | 8 ++++---- src/Tests/Http/ResponseFake.php | 6 +++--- .../Authentication/SharedKeyAuthTest.php | 10 +++++----- .../BlobStorage/BlobStorageConfigTest.php | 8 ++++---- tests/Feature/BlobStorage/BlobStorageTest.php | 10 +++++----- .../BlobStorage/BlobStorateResouceTest.php | 2 +- .../Concerns/ValidateContainerNameTest.php | 4 ++-- .../Concerns/ValidateMetadataKeyTest.php | 4 ++-- .../Container/BlobStorageContainerTest.php | 20 +++++++++---------- ...StoragePreflightBlobRequestManagerTest.php | 10 +++++----- .../BlobStorageStoragePropertyManagerTest.php | 14 ++++++------- .../Blob/BlobStorageBlobManagerTest.php | 14 ++++++------- .../BlobStorageBlobMetadataManagerTest.php | 10 +++++----- .../Blob/BlobStorageBlobPageManagerTest.php | 16 +++++++-------- .../BlobStorageBlobPropertyManagerTest.php | 10 +++++----- .../Blob/BlobStorageBlobTagManagerTest.php | 12 +++++------ .../BlobStorageAccountManagerTest.php | 12 +++++------ .../BlobStorageContainerManagerTest.php | 18 ++++++++--------- ...StorageContainerAccessLevelManagerTest.php | 10 +++++----- .../BlobStorageContainerLeaseManagerTest.php | 10 +++++----- ...lobStorageContainerMetadataManagerTest.php | 12 +++++------ tests/Feature/Converters/XmlConverterTest.php | 6 +++--- tests/Feature/Http/HeadersTest.php | 6 +++--- tests/Feature/Http/RequestTest.php | 10 +++++----- tests/Feature/Http/ResponseTest.php | 2 +- tests/Feature/Parsers/XmlParserTest.php | 6 +++--- tests/Feature/Support/CollectionTest.php | 2 +- tests/Pest.php | 2 +- tests/TestCase.php | 2 +- tests/Unit/ArchTest.php | 8 ++++---- tests/Unit/Concerns/HasManagerTest.php | 6 +++--- tests/Unit/Concerns/HasRequestSharedTest.php | 10 +++++----- .../CouldNotCreateTempFileExceptionTest.php | 2 +- .../InvalidArgumentExceptionTest.php | 2 +- .../InvalidFileMimeTypeExceptionTest.php | 2 +- .../Exceptions/ManagerNotSetExceptionTest.php | 2 +- .../Unit/Exceptions/RequestExceptionTest.php | 4 ++-- .../Exceptions/RequiredFieldExceptionTest.php | 2 +- .../UnableToConvertExceptionTest.php | 2 +- .../Exceptions/UnableToParseExceptionTest.php | 2 +- 129 files changed, 410 insertions(+), 410 deletions(-) diff --git a/README.md b/README.md index db6ad3f..ec8d54f 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ Integrate with Azure's cloud storage services ## Installation ```bash -composer require sjpereira/azure-storage-php-sdk +composer require xray/azure-storage-php-sdk ``` ## Usage @@ -19,8 +19,8 @@ composer require sjpereira/azure-storage-php-sdk Setup Blob Storage ```php -use Sjpereira\AzureStoragePhpSdk\BlobStorage\{BlobStorage, Config}; -use Sjpereira\AzureStoragePhpSdk\Http\Request; +use Xray\AzureStoragePhpSdk\BlobStorage\{BlobStorage, Config}; +use Xray\AzureStoragePhpSdk\Http\Request; $request = new Request(new Config([ 'account' => 'your_account_name', diff --git a/composer.json b/composer.json index 050f7ff..bbb52d9 100644 --- a/composer.json +++ b/composer.json @@ -1,5 +1,5 @@ { - "name": "sjpereira/azure-storage-php-sdk", + "name": "xray/azure-storage-php-sdk", "description": "Integrate with Azure's cloud storage services", "type": "library", "license": "MIT", @@ -37,8 +37,8 @@ ], "autoload": { "psr-4": { - "Sjpereira\\AzureStoragePhpSdk\\": "src/", - "Sjpereira\\Tests\\": "tests/" + "Xray\\AzureStoragePhpSdk\\": "src/", + "Xray\\Tests\\": "tests/" }, "files": [ "src/helpers.php" diff --git a/docs/StorageAccount.md b/docs/StorageAccount.md index c57a13d..b9b0f3a 100644 --- a/docs/StorageAccount.md +++ b/docs/StorageAccount.md @@ -3,8 +3,8 @@ Getting the storage account information ```php -use Sjpereira\AzureStoragePhpSdk\BlobStorage\{BlobStorage, Config}; -use Sjpereira\AzureStoragePhpSdk\Http\Request; +use Xray\AzureStoragePhpSdk\BlobStorage\{BlobStorage, Config}; +use Xray\AzureStoragePhpSdk\Http\Request; $request = new Request(new Config([ 'account' => 'your_account_name', @@ -14,5 +14,5 @@ $request = new Request(new Config([ $blobStorage = new BlobStorage($request); $blobStorage->account()->information(); -// returns Sjpereira\AzureStoragePhpSdk\BlobStorage\Entities\Account\AccountInformation; +// returns Xray\AzureStoragePhpSdk\BlobStorage\Entities\Account\AccountInformation; ``` diff --git a/src/Authentication/MicrosoftEntraId.php b/src/Authentication/MicrosoftEntraId.php index 2906053..a7db688 100644 --- a/src/Authentication/MicrosoftEntraId.php +++ b/src/Authentication/MicrosoftEntraId.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Sjpereira\AzureStoragePhpSdk\Authentication; +namespace Xray\AzureStoragePhpSdk\Authentication; use DateTime; use GuzzleHttp\Client; use Psr\Http\Client\RequestExceptionInterface; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\Enums\HttpVerb; -use Sjpereira\AzureStoragePhpSdk\Contracts\Authentication\Auth; -use Sjpereira\AzureStoragePhpSdk\Exceptions\RequestException; -use Sjpereira\AzureStoragePhpSdk\Http\{Headers}; +use Xray\AzureStoragePhpSdk\BlobStorage\Enums\HttpVerb; +use Xray\AzureStoragePhpSdk\Contracts\Authentication\Auth; +use Xray\AzureStoragePhpSdk\Exceptions\RequestException; +use Xray\AzureStoragePhpSdk\Http\{Headers}; final class MicrosoftEntraId implements Auth { diff --git a/src/Authentication/SharedKeyAuth.php b/src/Authentication/SharedKeyAuth.php index 0133254..a0254a7 100644 --- a/src/Authentication/SharedKeyAuth.php +++ b/src/Authentication/SharedKeyAuth.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Sjpereira\AzureStoragePhpSdk\Authentication; +namespace Xray\AzureStoragePhpSdk\Authentication; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\Enums\HttpVerb; -use Sjpereira\AzureStoragePhpSdk\Contracts\Authentication\Auth; -use Sjpereira\AzureStoragePhpSdk\Http\Headers; +use Xray\AzureStoragePhpSdk\BlobStorage\Enums\HttpVerb; +use Xray\AzureStoragePhpSdk\Contracts\Authentication\Auth; +use Xray\AzureStoragePhpSdk\Http\Headers; final class SharedKeyAuth implements Auth { diff --git a/src/BlobStorage/BlobStorage.php b/src/BlobStorage/BlobStorage.php index ea06b89..53fe271 100644 --- a/src/BlobStorage/BlobStorage.php +++ b/src/BlobStorage/BlobStorage.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Sjpereira\AzureStoragePhpSdk\BlobStorage; +namespace Xray\AzureStoragePhpSdk\BlobStorage; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\Managers\Blob\BlobManager; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\Managers\{AccountManager, ContainerManager}; -use Sjpereira\AzureStoragePhpSdk\Contracts\Http\Request as RequestContract; +use Xray\AzureStoragePhpSdk\BlobStorage\Managers\Blob\BlobManager; +use Xray\AzureStoragePhpSdk\BlobStorage\Managers\{AccountManager, ContainerManager}; +use Xray\AzureStoragePhpSdk\Contracts\Http\Request as RequestContract; final class BlobStorage { diff --git a/src/BlobStorage/Concerns/ValidateContainerName.php b/src/BlobStorage/Concerns/ValidateContainerName.php index 5b3b064..4080cbb 100644 --- a/src/BlobStorage/Concerns/ValidateContainerName.php +++ b/src/BlobStorage/Concerns/ValidateContainerName.php @@ -2,9 +2,9 @@ declare(strict_types=1); -namespace Sjpereira\AzureStoragePhpSdk\BlobStorage\Concerns; +namespace Xray\AzureStoragePhpSdk\BlobStorage\Concerns; -use Sjpereira\AzureStoragePhpSdk\Exceptions\InvalidArgumentException; +use Xray\AzureStoragePhpSdk\Exceptions\InvalidArgumentException; trait ValidateContainerName { diff --git a/src/BlobStorage/Concerns/ValidateMetadataKey.php b/src/BlobStorage/Concerns/ValidateMetadataKey.php index b3f4988..a51ff4a 100644 --- a/src/BlobStorage/Concerns/ValidateMetadataKey.php +++ b/src/BlobStorage/Concerns/ValidateMetadataKey.php @@ -2,9 +2,9 @@ declare(strict_types=1); -namespace Sjpereira\AzureStoragePhpSdk\BlobStorage\Concerns; +namespace Xray\AzureStoragePhpSdk\BlobStorage\Concerns; -use Sjpereira\AzureStoragePhpSdk\Exceptions\InvalidArgumentException; +use Xray\AzureStoragePhpSdk\Exceptions\InvalidArgumentException; trait ValidateMetadataKey { diff --git a/src/BlobStorage/Config.php b/src/BlobStorage/Config.php index 298b1f5..8f41a36 100644 --- a/src/BlobStorage/Config.php +++ b/src/BlobStorage/Config.php @@ -2,13 +2,13 @@ declare(strict_types=1); -namespace Sjpereira\AzureStoragePhpSdk\BlobStorage; +namespace Xray\AzureStoragePhpSdk\BlobStorage; -use Sjpereira\AzureStoragePhpSdk\Contracts\Authentication\Auth; -use Sjpereira\AzureStoragePhpSdk\Contracts\{Converter, Parser}; -use Sjpereira\AzureStoragePhpSdk\Converter\XmlConverter; -use Sjpereira\AzureStoragePhpSdk\Exceptions\InvalidArgumentException; -use Sjpereira\AzureStoragePhpSdk\Parsers\XmlParser; +use Xray\AzureStoragePhpSdk\Contracts\Authentication\Auth; +use Xray\AzureStoragePhpSdk\Contracts\{Converter, Parser}; +use Xray\AzureStoragePhpSdk\Converter\XmlConverter; +use Xray\AzureStoragePhpSdk\Exceptions\InvalidArgumentException; +use Xray\AzureStoragePhpSdk\Parsers\XmlParser; /** * @phpstan-type ConfigType array{version?: string, parser?: Parser, converter?: Converter} diff --git a/src/BlobStorage/Entities/Account/AccountInformation.php b/src/BlobStorage/Entities/Account/AccountInformation.php index 4287d7d..1431441 100644 --- a/src/BlobStorage/Entities/Account/AccountInformation.php +++ b/src/BlobStorage/Entities/Account/AccountInformation.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Sjpereira\AzureStoragePhpSdk\BlobStorage\Entities\Account; +namespace Xray\AzureStoragePhpSdk\BlobStorage\Entities\Account; use DateTimeImmutable; diff --git a/src/BlobStorage/Entities/Account/BlobStorageProperty/BlobProperty.php b/src/BlobStorage/Entities/Account/BlobStorageProperty/BlobProperty.php index ab7ebf6..4dec217 100644 --- a/src/BlobStorage/Entities/Account/BlobStorageProperty/BlobProperty.php +++ b/src/BlobStorage/Entities/Account/BlobStorageProperty/BlobProperty.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Sjpereira\AzureStoragePhpSdk\BlobStorage\Entities\Account\BlobStorageProperty; +namespace Xray\AzureStoragePhpSdk\BlobStorage\Entities\Account\BlobStorageProperty; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\Entities\Account\BlobStorageProperty\Cors\Cors; -use Sjpereira\AzureStoragePhpSdk\Contracts\{Arrayable, Xmlable}; -use Sjpereira\AzureStoragePhpSdk\Converter\XmlConverter; +use Xray\AzureStoragePhpSdk\BlobStorage\Entities\Account\BlobStorageProperty\Cors\Cors; +use Xray\AzureStoragePhpSdk\Contracts\{Arrayable, Xmlable}; +use Xray\AzureStoragePhpSdk\Converter\XmlConverter; /** * @phpstan-import-type LoggingType from Logging diff --git a/src/BlobStorage/Entities/Account/BlobStorageProperty/Cors/Cors.php b/src/BlobStorage/Entities/Account/BlobStorageProperty/Cors/Cors.php index 01d9151..58c4422 100644 --- a/src/BlobStorage/Entities/Account/BlobStorageProperty/Cors/Cors.php +++ b/src/BlobStorage/Entities/Account/BlobStorageProperty/Cors/Cors.php @@ -2,10 +2,10 @@ declare(strict_types=1); -namespace Sjpereira\AzureStoragePhpSdk\BlobStorage\Entities\Account\BlobStorageProperty\Cors; +namespace Xray\AzureStoragePhpSdk\BlobStorage\Entities\Account\BlobStorageProperty\Cors; -use Sjpereira\AzureStoragePhpSdk\Contracts\Arrayable; -use Sjpereira\AzureStoragePhpSdk\Support\Collection; +use Xray\AzureStoragePhpSdk\Contracts\Arrayable; +use Xray\AzureStoragePhpSdk\Support\Collection; /** * @phpstan-import-type CorsRuleType from CorsRule diff --git a/src/BlobStorage/Entities/Account/BlobStorageProperty/Cors/CorsRule.php b/src/BlobStorage/Entities/Account/BlobStorageProperty/Cors/CorsRule.php index e8e27f6..95217e7 100644 --- a/src/BlobStorage/Entities/Account/BlobStorageProperty/Cors/CorsRule.php +++ b/src/BlobStorage/Entities/Account/BlobStorageProperty/Cors/CorsRule.php @@ -2,9 +2,9 @@ declare(strict_types=1); -namespace Sjpereira\AzureStoragePhpSdk\BlobStorage\Entities\Account\BlobStorageProperty\Cors; +namespace Xray\AzureStoragePhpSdk\BlobStorage\Entities\Account\BlobStorageProperty\Cors; -use Sjpereira\AzureStoragePhpSdk\Contracts\Arrayable; +use Xray\AzureStoragePhpSdk\Contracts\Arrayable; /** * @phpstan-type CorsRuleType array{AllowedOrigins?: string, AllowedMethods?: string, MaxAgeInSeconds?: int, ExposedHeaders?: string, AllowedHeaders?: string} diff --git a/src/BlobStorage/Entities/Account/BlobStorageProperty/DeleteRetentionPolicy.php b/src/BlobStorage/Entities/Account/BlobStorageProperty/DeleteRetentionPolicy.php index 8eb6d79..245ee08 100644 --- a/src/BlobStorage/Entities/Account/BlobStorageProperty/DeleteRetentionPolicy.php +++ b/src/BlobStorage/Entities/Account/BlobStorageProperty/DeleteRetentionPolicy.php @@ -2,9 +2,9 @@ declare(strict_types=1); -namespace Sjpereira\AzureStoragePhpSdk\BlobStorage\Entities\Account\BlobStorageProperty; +namespace Xray\AzureStoragePhpSdk\BlobStorage\Entities\Account\BlobStorageProperty; -use Sjpereira\AzureStoragePhpSdk\Contracts\Arrayable; +use Xray\AzureStoragePhpSdk\Contracts\Arrayable; /** * @phpstan-type DeleteRetentionPolicyType array{Enabled?: bool, AllowPermanentDelete?: bool, Days?: int} diff --git a/src/BlobStorage/Entities/Account/BlobStorageProperty/HourMetrics.php b/src/BlobStorage/Entities/Account/BlobStorageProperty/HourMetrics.php index 02124d4..b4d0eea 100644 --- a/src/BlobStorage/Entities/Account/BlobStorageProperty/HourMetrics.php +++ b/src/BlobStorage/Entities/Account/BlobStorageProperty/HourMetrics.php @@ -2,9 +2,9 @@ declare(strict_types=1); -namespace Sjpereira\AzureStoragePhpSdk\BlobStorage\Entities\Account\BlobStorageProperty; +namespace Xray\AzureStoragePhpSdk\BlobStorage\Entities\Account\BlobStorageProperty; -use Sjpereira\AzureStoragePhpSdk\Contracts\Arrayable; +use Xray\AzureStoragePhpSdk\Contracts\Arrayable; /** * @phpstan-type RetentionPolicyType array{Days?: int, Enabled: bool} diff --git a/src/BlobStorage/Entities/Account/BlobStorageProperty/Logging.php b/src/BlobStorage/Entities/Account/BlobStorageProperty/Logging.php index 6a1873d..69b39c0 100644 --- a/src/BlobStorage/Entities/Account/BlobStorageProperty/Logging.php +++ b/src/BlobStorage/Entities/Account/BlobStorageProperty/Logging.php @@ -2,9 +2,9 @@ declare(strict_types=1); -namespace Sjpereira\AzureStoragePhpSdk\BlobStorage\Entities\Account\BlobStorageProperty; +namespace Xray\AzureStoragePhpSdk\BlobStorage\Entities\Account\BlobStorageProperty; -use Sjpereira\AzureStoragePhpSdk\Contracts\Arrayable; +use Xray\AzureStoragePhpSdk\Contracts\Arrayable; /** * @phpstan-type RetentionPolicyType array{Days?: int, Enabled: bool} diff --git a/src/BlobStorage/Entities/Account/BlobStorageProperty/MinuteMetrics.php b/src/BlobStorage/Entities/Account/BlobStorageProperty/MinuteMetrics.php index 49897c1..0687bd9 100644 --- a/src/BlobStorage/Entities/Account/BlobStorageProperty/MinuteMetrics.php +++ b/src/BlobStorage/Entities/Account/BlobStorageProperty/MinuteMetrics.php @@ -2,9 +2,9 @@ declare(strict_types=1); -namespace Sjpereira\AzureStoragePhpSdk\BlobStorage\Entities\Account\BlobStorageProperty; +namespace Xray\AzureStoragePhpSdk\BlobStorage\Entities\Account\BlobStorageProperty; -use Sjpereira\AzureStoragePhpSdk\Contracts\Arrayable; +use Xray\AzureStoragePhpSdk\Contracts\Arrayable; /** * @phpstan-type RetentionPolicyType array{Days?: int, Enabled: bool} diff --git a/src/BlobStorage/Entities/Account/BlobStorageProperty/StaticWebsite.php b/src/BlobStorage/Entities/Account/BlobStorageProperty/StaticWebsite.php index 5a714a9..b9e699a 100644 --- a/src/BlobStorage/Entities/Account/BlobStorageProperty/StaticWebsite.php +++ b/src/BlobStorage/Entities/Account/BlobStorageProperty/StaticWebsite.php @@ -2,9 +2,9 @@ declare(strict_types=1); -namespace Sjpereira\AzureStoragePhpSdk\BlobStorage\Entities\Account\BlobStorageProperty; +namespace Xray\AzureStoragePhpSdk\BlobStorage\Entities\Account\BlobStorageProperty; -use Sjpereira\AzureStoragePhpSdk\Contracts\Arrayable; +use Xray\AzureStoragePhpSdk\Contracts\Arrayable; /** * @phpstan-type StaticWebsiteType array{Enabled?: bool, IndexDocument?: string, DefaultIndexDocumentPath?: string, ErrorDocument404Path?: string} diff --git a/src/BlobStorage/Entities/Account/GeoReplication.php b/src/BlobStorage/Entities/Account/GeoReplication.php index 707ff0c..bb5d211 100644 --- a/src/BlobStorage/Entities/Account/GeoReplication.php +++ b/src/BlobStorage/Entities/Account/GeoReplication.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Sjpereira\AzureStoragePhpSdk\BlobStorage\Entities\Account; +namespace Xray\AzureStoragePhpSdk\BlobStorage\Entities\Account; use DateTimeImmutable; diff --git a/src/BlobStorage/Entities/Account/KeyInfo.php b/src/BlobStorage/Entities/Account/KeyInfo.php index 96a3341..a2a3595 100644 --- a/src/BlobStorage/Entities/Account/KeyInfo.php +++ b/src/BlobStorage/Entities/Account/KeyInfo.php @@ -2,12 +2,12 @@ declare(strict_types=1); -namespace Sjpereira\AzureStoragePhpSdk\BlobStorage\Entities\Account; +namespace Xray\AzureStoragePhpSdk\BlobStorage\Entities\Account; use DateTimeImmutable; -use Sjpereira\AzureStoragePhpSdk\Contracts\{Arrayable, Xmlable}; -use Sjpereira\AzureStoragePhpSdk\Converter\XmlConverter; -use Sjpereira\AzureStoragePhpSdk\Exceptions\RequiredFieldException; +use Xray\AzureStoragePhpSdk\Contracts\{Arrayable, Xmlable}; +use Xray\AzureStoragePhpSdk\Converter\XmlConverter; +use Xray\AzureStoragePhpSdk\Exceptions\RequiredFieldException; /** @implements Arrayable */ final readonly class KeyInfo implements Arrayable, Xmlable diff --git a/src/BlobStorage/Entities/Account/UserDelegationKey.php b/src/BlobStorage/Entities/Account/UserDelegationKey.php index 7c7c59d..b8e20e7 100644 --- a/src/BlobStorage/Entities/Account/UserDelegationKey.php +++ b/src/BlobStorage/Entities/Account/UserDelegationKey.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Sjpereira\AzureStoragePhpSdk\BlobStorage\Entities\Account; +namespace Xray\AzureStoragePhpSdk\BlobStorage\Entities\Account; use DateTimeImmutable; diff --git a/src/BlobStorage/Entities/Blob/Blob.php b/src/BlobStorage/Entities/Blob/Blob.php index 9da0e40..1f871bd 100644 --- a/src/BlobStorage/Entities/Blob/Blob.php +++ b/src/BlobStorage/Entities/Blob/Blob.php @@ -2,14 +2,14 @@ declare(strict_types=1); -namespace Sjpereira\AzureStoragePhpSdk\BlobStorage\Entities\Blob; +namespace Xray\AzureStoragePhpSdk\BlobStorage\Entities\Blob; use DateTime; use DateTimeImmutable; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\Enums\ExpirationOption; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\Managers\Blob\{BlobLeaseManager, BlobManager, BlobTagManager}; -use Sjpereira\AzureStoragePhpSdk\Concerns\HasManager; -use Sjpereira\AzureStoragePhpSdk\Exceptions\RequiredFieldException; +use Xray\AzureStoragePhpSdk\BlobStorage\Enums\ExpirationOption; +use Xray\AzureStoragePhpSdk\BlobStorage\Managers\Blob\{BlobLeaseManager, BlobManager, BlobTagManager}; +use Xray\AzureStoragePhpSdk\Concerns\HasManager; +use Xray\AzureStoragePhpSdk\Exceptions\RequiredFieldException; /** * @phpstan-import-type PropertiesType from Properties diff --git a/src/BlobStorage/Entities/Blob/BlobLease.php b/src/BlobStorage/Entities/Blob/BlobLease.php index 135aca7..72a199d 100644 --- a/src/BlobStorage/Entities/Blob/BlobLease.php +++ b/src/BlobStorage/Entities/Blob/BlobLease.php @@ -2,13 +2,13 @@ declare(strict_types=1); -namespace Sjpereira\AzureStoragePhpSdk\BlobStorage\Entities\Blob; +namespace Xray\AzureStoragePhpSdk\BlobStorage\Entities\Blob; use DateTimeImmutable; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\Managers\Blob\BlobLeaseManager; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\Resource; -use Sjpereira\AzureStoragePhpSdk\Concerns\HasManager; -use Sjpereira\AzureStoragePhpSdk\Exceptions\RequiredFieldException; +use Xray\AzureStoragePhpSdk\BlobStorage\Managers\Blob\BlobLeaseManager; +use Xray\AzureStoragePhpSdk\BlobStorage\Resource; +use Xray\AzureStoragePhpSdk\Concerns\HasManager; +use Xray\AzureStoragePhpSdk\Exceptions\RequiredFieldException; /** * @phpstan-type BlobLeaseType array{'Last-Modified'?: string, ETag?: string, Server?: string, Date?: string, 'x-ms-request-id'?: string, 'x-ms-version'?: string, 'x-ms-lease-id'?: string} diff --git a/src/BlobStorage/Entities/Blob/BlobMetadata.php b/src/BlobStorage/Entities/Blob/BlobMetadata.php index de76806..91345ff 100644 --- a/src/BlobStorage/Entities/Blob/BlobMetadata.php +++ b/src/BlobStorage/Entities/Blob/BlobMetadata.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Sjpereira\AzureStoragePhpSdk\BlobStorage\Entities\Blob; +namespace Xray\AzureStoragePhpSdk\BlobStorage\Entities\Blob; use DateTimeImmutable; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\Concerns\ValidateMetadataKey; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\Resource; +use Xray\AzureStoragePhpSdk\BlobStorage\Concerns\ValidateMetadataKey; +use Xray\AzureStoragePhpSdk\BlobStorage\Resource; /** * @phpstan-type BlobMetadataHeaders array{Content-Length?: string, Last-Modified?: string, ETag?: string, Vary?: string, Server?: string, x-ms-request-id?: string, x-ms-version?: string, Date?: string} diff --git a/src/BlobStorage/Entities/Blob/BlobProperty.php b/src/BlobStorage/Entities/Blob/BlobProperty.php index 1c21821..cef0883 100644 --- a/src/BlobStorage/Entities/Blob/BlobProperty.php +++ b/src/BlobStorage/Entities/Blob/BlobProperty.php @@ -2,10 +2,10 @@ declare(strict_types=1); -namespace Sjpereira\AzureStoragePhpSdk\BlobStorage\Entities\Blob; +namespace Xray\AzureStoragePhpSdk\BlobStorage\Entities\Blob; use DateTimeImmutable; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\Resource; +use Xray\AzureStoragePhpSdk\BlobStorage\Resource; /** * @phpstan-type BlobPropertyHeaders array{Last-Modified?: string, x-ms-creation-time?: string, x-ms-tag-count?: int, x-ms-blob-type?: string, x-ms-copy-completion-time?: string|null, x-ms-copy-status-description?: string|null, x-ms-copy-id?: string|null, x-ms-copy-progress?: string|null, x-ms-copy-source?: string|null, x-ms-copy-status?: string|null, x-ms-incremental-copy?: string|null, x-ms-copy-destination-snapshot?: string|null, x-ms-lease-duration?: string|null, x-ms-lease-state?: string|null, x-ms-lease-status?: string|null, Content-Length?: int, Content-Type?: string|null, ETag?: string, Content-MD5?: string|null, Content-Encoding?: string|null, Content-Language?: string|null, Content-Disposition?: string|null, Cache-Control?: string|null, x-ms-blob-sequence-number?: int, x-ms-request-id?: string|null, x-ms-version?: string|null, Date?: string, Accept-Ranges?: string|null, x-ms-blob-committed-block-count?: string|null, x-ms-server-encrypted?: bool, x-ms-encryption-key-sha256?: string|null, x-ms-encryption-context?: string|null, x-ms-encryption-scope?: string|null, x-ms-access-tier?: string|null, x-ms-access-tier-inferred?: string|null, x-ms-archive-status?: string|null, x-ms-access-tier-change-time?: string|null, x-ms-client-request-id?: string|null, x-ms-rehydrate-priority?: string|null, x-ms-or-policy-id?: string|null, x-ms-last-access-time?: string|null, x-ms-blob-sealed?: string|null, x-ms-immutability-policy-until-date?: string|null, x-ms-immutability-policy-mode?: string|null, x-ms-legal-hold?: string|null, x-ms-owner?: string|null, x-ms-group?: string|null, x-ms-permissions?: string|null, x-ms-acl?: string|null, x-ms-resource-type?: string|null, x-ms-expiry-time?: string|null, leaseId?: string|null, sequenceNumberAction?: string|null, Origin?: string|null} diff --git a/src/BlobStorage/Entities/Blob/BlobTag.php b/src/BlobStorage/Entities/Blob/BlobTag.php index 8304c8d..89166b3 100644 --- a/src/BlobStorage/Entities/Blob/BlobTag.php +++ b/src/BlobStorage/Entities/Blob/BlobTag.php @@ -2,12 +2,12 @@ declare(strict_types=1); -namespace Sjpereira\AzureStoragePhpSdk\BlobStorage\Entities\Blob; +namespace Xray\AzureStoragePhpSdk\BlobStorage\Entities\Blob; use DateTimeImmutable; -use Sjpereira\AzureStoragePhpSdk\Contracts\Xmlable; -use Sjpereira\AzureStoragePhpSdk\Converter\XmlConverter; -use Sjpereira\AzureStoragePhpSdk\Exceptions\InvalidArgumentException; +use Xray\AzureStoragePhpSdk\Contracts\Xmlable; +use Xray\AzureStoragePhpSdk\Converter\XmlConverter; +use Xray\AzureStoragePhpSdk\Exceptions\InvalidArgumentException; /** * @phpstan-type BlobTagHeaders array{Content-Length?: string, Content-Type?: string, Vary?: string, Server?: string, x-ms-request-id?: string, x-ms-version?: string, Date?: string} diff --git a/src/BlobStorage/Entities/Blob/Blobs.php b/src/BlobStorage/Entities/Blob/Blobs.php index a6fb133..28f2709 100644 --- a/src/BlobStorage/Entities/Blob/Blobs.php +++ b/src/BlobStorage/Entities/Blob/Blobs.php @@ -2,10 +2,10 @@ declare(strict_types=1); -namespace Sjpereira\AzureStoragePhpSdk\BlobStorage\Entities\Blob; +namespace Xray\AzureStoragePhpSdk\BlobStorage\Entities\Blob; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\Managers\Blob\BlobManager; -use Sjpereira\AzureStoragePhpSdk\Support\Collection; +use Xray\AzureStoragePhpSdk\BlobStorage\Managers\Blob\BlobManager; +use Xray\AzureStoragePhpSdk\Support\Collection; /** * @phpstan-import-type BlobType from Blob diff --git a/src/BlobStorage/Entities/Blob/File.php b/src/BlobStorage/Entities/Blob/File.php index 6af8e36..3ad54f1 100644 --- a/src/BlobStorage/Entities/Blob/File.php +++ b/src/BlobStorage/Entities/Blob/File.php @@ -2,10 +2,10 @@ declare(strict_types=1); -namespace Sjpereira\AzureStoragePhpSdk\BlobStorage\Entities\Blob; +namespace Xray\AzureStoragePhpSdk\BlobStorage\Entities\Blob; use DateTimeImmutable; -use Sjpereira\AzureStoragePhpSdk\Exceptions\{CouldNotCreateTempFileException, InvalidFileMimeTypeException}; +use Xray\AzureStoragePhpSdk\Exceptions\{CouldNotCreateTempFileException, InvalidFileMimeTypeException}; /** * @phpstan-type FileType array{Content-Length?: string, Content-Type?: string, Content-MD5?: string, Last-Modified?: string, Accept-Ranges?: string, ETag?: string, Vary?: string, Server?: string, x-ms-request-id?: string, x-ms-version?: string, x-ms-creation-time?: string, x-ms-lease-status?: string, x-ms-lease-state?: string, x-ms-blob-type?: string, x-ms-server-encrypted?: bool, Date?: string} diff --git a/src/BlobStorage/Entities/Blob/Properties.php b/src/BlobStorage/Entities/Blob/Properties.php index 808b1ca..caa332a 100644 --- a/src/BlobStorage/Entities/Blob/Properties.php +++ b/src/BlobStorage/Entities/Blob/Properties.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Sjpereira\AzureStoragePhpSdk\BlobStorage\Entities\Blob; +namespace Xray\AzureStoragePhpSdk\BlobStorage\Entities\Blob; use DateTimeImmutable; diff --git a/src/BlobStorage/Entities/Block.php b/src/BlobStorage/Entities/Block.php index 3d4b176..0c3ef92 100644 --- a/src/BlobStorage/Entities/Block.php +++ b/src/BlobStorage/Entities/Block.php @@ -2,4 +2,4 @@ declare(strict_types=1); -namespace Sjpereira\AzureStoragePhpSdk\BlobStorage\Entities; +namespace Xray\AzureStoragePhpSdk\BlobStorage\Entities; diff --git a/src/BlobStorage/Entities/Container/AccessLevel/ContainerAccessLevel.php b/src/BlobStorage/Entities/Container/AccessLevel/ContainerAccessLevel.php index 3b40364..c2305f8 100644 --- a/src/BlobStorage/Entities/Container/AccessLevel/ContainerAccessLevel.php +++ b/src/BlobStorage/Entities/Container/AccessLevel/ContainerAccessLevel.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Sjpereira\AzureStoragePhpSdk\BlobStorage\Entities\Container\AccessLevel; +namespace Xray\AzureStoragePhpSdk\BlobStorage\Entities\Container\AccessLevel; use DateTimeImmutable; -use Sjpereira\AzureStoragePhpSdk\Converter\XmlConverter; -use Sjpereira\AzureStoragePhpSdk\Exceptions\RequiredFieldException; +use Xray\AzureStoragePhpSdk\Converter\XmlConverter; +use Xray\AzureStoragePhpSdk\Exceptions\RequiredFieldException; final readonly class ContainerAccessLevel { diff --git a/src/BlobStorage/Entities/Container/AccessLevel/ContainerAccessLevels.php b/src/BlobStorage/Entities/Container/AccessLevel/ContainerAccessLevels.php index 2248a6e..4bbc7fa 100644 --- a/src/BlobStorage/Entities/Container/AccessLevel/ContainerAccessLevels.php +++ b/src/BlobStorage/Entities/Container/AccessLevel/ContainerAccessLevels.php @@ -2,10 +2,10 @@ declare(strict_types=1); -namespace Sjpereira\AzureStoragePhpSdk\BlobStorage\Entities\Container\AccessLevel; +namespace Xray\AzureStoragePhpSdk\BlobStorage\Entities\Container\AccessLevel; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\Managers\Container\ContainerAccessLevelManager; -use Sjpereira\AzureStoragePhpSdk\Support\Collection; +use Xray\AzureStoragePhpSdk\BlobStorage\Managers\Container\ContainerAccessLevelManager; +use Xray\AzureStoragePhpSdk\Support\Collection; /** * @method array all() diff --git a/src/BlobStorage/Entities/Container/Container.php b/src/BlobStorage/Entities/Container/Container.php index 925bfbf..d154eba 100644 --- a/src/BlobStorage/Entities/Container/Container.php +++ b/src/BlobStorage/Entities/Container/Container.php @@ -2,14 +2,14 @@ declare(strict_types=1); -namespace Sjpereira\AzureStoragePhpSdk\BlobStorage\Entities\Container; - -use Sjpereira\AzureStoragePhpSdk\BlobStorage\Entities\Container\AccessLevel\ContainerAccessLevels; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\Managers\Blob\BlobManager; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\Managers\Container\ContainerLeaseManager; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\Managers\ContainerManager; -use Sjpereira\AzureStoragePhpSdk\Concerns\HasManager; -use Sjpereira\AzureStoragePhpSdk\Exceptions\RequiredFieldException; +namespace Xray\AzureStoragePhpSdk\BlobStorage\Entities\Container; + +use Xray\AzureStoragePhpSdk\BlobStorage\Entities\Container\AccessLevel\ContainerAccessLevels; +use Xray\AzureStoragePhpSdk\BlobStorage\Managers\Blob\BlobManager; +use Xray\AzureStoragePhpSdk\BlobStorage\Managers\Container\ContainerLeaseManager; +use Xray\AzureStoragePhpSdk\BlobStorage\Managers\ContainerManager; +use Xray\AzureStoragePhpSdk\Concerns\HasManager; +use Xray\AzureStoragePhpSdk\Exceptions\RequiredFieldException; /** * @phpstan-import-type PropertiesType from Properties diff --git a/src/BlobStorage/Entities/Container/ContainerLease.php b/src/BlobStorage/Entities/Container/ContainerLease.php index 5e3f94c..11961a2 100644 --- a/src/BlobStorage/Entities/Container/ContainerLease.php +++ b/src/BlobStorage/Entities/Container/ContainerLease.php @@ -2,13 +2,13 @@ declare(strict_types=1); -namespace Sjpereira\AzureStoragePhpSdk\BlobStorage\Entities\Container; +namespace Xray\AzureStoragePhpSdk\BlobStorage\Entities\Container; use DateTimeImmutable; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\Managers\Container\ContainerLeaseManager; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\Resource; -use Sjpereira\AzureStoragePhpSdk\Concerns\HasManager; -use Sjpereira\AzureStoragePhpSdk\Exceptions\RequiredFieldException; +use Xray\AzureStoragePhpSdk\BlobStorage\Managers\Container\ContainerLeaseManager; +use Xray\AzureStoragePhpSdk\BlobStorage\Resource; +use Xray\AzureStoragePhpSdk\Concerns\HasManager; +use Xray\AzureStoragePhpSdk\Exceptions\RequiredFieldException; /** * @phpstan-type ContainerLeaseType array{'Last-Modified'?: string, ETag?: string, Server?: string, Date?: string, 'x-ms-request-id'?: string, 'x-ms-version'?: string, 'x-ms-lease-id'?: string} diff --git a/src/BlobStorage/Entities/Container/ContainerMetadata.php b/src/BlobStorage/Entities/Container/ContainerMetadata.php index 0bf356e..0fda5b8 100644 --- a/src/BlobStorage/Entities/Container/ContainerMetadata.php +++ b/src/BlobStorage/Entities/Container/ContainerMetadata.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Sjpereira\AzureStoragePhpSdk\BlobStorage\Entities\Container; +namespace Xray\AzureStoragePhpSdk\BlobStorage\Entities\Container; use DateTimeImmutable; diff --git a/src/BlobStorage/Entities/Container/ContainerProperties.php b/src/BlobStorage/Entities/Container/ContainerProperties.php index b989e34..3813163 100644 --- a/src/BlobStorage/Entities/Container/ContainerProperties.php +++ b/src/BlobStorage/Entities/Container/ContainerProperties.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Sjpereira\AzureStoragePhpSdk\BlobStorage\Entities\Container; +namespace Xray\AzureStoragePhpSdk\BlobStorage\Entities\Container; use DateTimeImmutable; diff --git a/src/BlobStorage/Entities/Container/Containers.php b/src/BlobStorage/Entities/Container/Containers.php index 9928481..bad5b00 100644 --- a/src/BlobStorage/Entities/Container/Containers.php +++ b/src/BlobStorage/Entities/Container/Containers.php @@ -2,10 +2,10 @@ declare(strict_types=1); -namespace Sjpereira\AzureStoragePhpSdk\BlobStorage\Entities\Container; +namespace Xray\AzureStoragePhpSdk\BlobStorage\Entities\Container; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\Managers\ContainerManager; -use Sjpereira\AzureStoragePhpSdk\Support\Collection; +use Xray\AzureStoragePhpSdk\BlobStorage\Managers\ContainerManager; +use Xray\AzureStoragePhpSdk\Support\Collection; /** * @phpstan-import-type ContainerType from Container diff --git a/src/BlobStorage/Entities/Container/Properties.php b/src/BlobStorage/Entities/Container/Properties.php index 427a143..db71294 100644 --- a/src/BlobStorage/Entities/Container/Properties.php +++ b/src/BlobStorage/Entities/Container/Properties.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Sjpereira\AzureStoragePhpSdk\BlobStorage\Entities\Container; +namespace Xray\AzureStoragePhpSdk\BlobStorage\Entities\Container; use DateTimeImmutable; diff --git a/src/BlobStorage/Entities/Page.php b/src/BlobStorage/Entities/Page.php index 3d4b176..0c3ef92 100644 --- a/src/BlobStorage/Entities/Page.php +++ b/src/BlobStorage/Entities/Page.php @@ -2,4 +2,4 @@ declare(strict_types=1); -namespace Sjpereira\AzureStoragePhpSdk\BlobStorage\Entities; +namespace Xray\AzureStoragePhpSdk\BlobStorage\Entities; diff --git a/src/BlobStorage/Enums/BlobIncludeOption.php b/src/BlobStorage/Enums/BlobIncludeOption.php index 559dfbc..a1e6dc2 100644 --- a/src/BlobStorage/Enums/BlobIncludeOption.php +++ b/src/BlobStorage/Enums/BlobIncludeOption.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Sjpereira\AzureStoragePhpSdk\BlobStorage\Enums; +namespace Xray\AzureStoragePhpSdk\BlobStorage\Enums; enum BlobIncludeOption: string { diff --git a/src/BlobStorage/Enums/BlobType.php b/src/BlobStorage/Enums/BlobType.php index 749ff1f..5b8259f 100644 --- a/src/BlobStorage/Enums/BlobType.php +++ b/src/BlobStorage/Enums/BlobType.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Sjpereira\AzureStoragePhpSdk\BlobStorage\Enums; +namespace Xray\AzureStoragePhpSdk\BlobStorage\Enums; enum BlobType: string { diff --git a/src/BlobStorage/Enums/ExpirationOption.php b/src/BlobStorage/Enums/ExpirationOption.php index 7da9409..880887a 100644 --- a/src/BlobStorage/Enums/ExpirationOption.php +++ b/src/BlobStorage/Enums/ExpirationOption.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Sjpereira\AzureStoragePhpSdk\BlobStorage\Enums; +namespace Xray\AzureStoragePhpSdk\BlobStorage\Enums; enum ExpirationOption: string { diff --git a/src/BlobStorage/Enums/HttpVerb.php b/src/BlobStorage/Enums/HttpVerb.php index bac61b6..8173707 100644 --- a/src/BlobStorage/Enums/HttpVerb.php +++ b/src/BlobStorage/Enums/HttpVerb.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Sjpereira\AzureStoragePhpSdk\BlobStorage\Enums; +namespace Xray\AzureStoragePhpSdk\BlobStorage\Enums; enum HttpVerb: string { diff --git a/src/BlobStorage/Managers/Account/PreflightBlobRequestManager.php b/src/BlobStorage/Managers/Account/PreflightBlobRequestManager.php index 5cb1d15..fecba5f 100644 --- a/src/BlobStorage/Managers/Account/PreflightBlobRequestManager.php +++ b/src/BlobStorage/Managers/Account/PreflightBlobRequestManager.php @@ -2,14 +2,14 @@ declare(strict_types=1); -namespace Sjpereira\AzureStoragePhpSdk\BlobStorage\Managers\Account; +namespace Xray\AzureStoragePhpSdk\BlobStorage\Managers\Account; use Psr\Http\Client\RequestExceptionInterface; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\Enums\HttpVerb; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\Resource; -use Sjpereira\AzureStoragePhpSdk\Contracts\Http\{Request, Response}; -use Sjpereira\AzureStoragePhpSdk\Contracts\Manager; -use Sjpereira\AzureStoragePhpSdk\Exceptions\{RequestException}; +use Xray\AzureStoragePhpSdk\BlobStorage\Enums\HttpVerb; +use Xray\AzureStoragePhpSdk\BlobStorage\Resource; +use Xray\AzureStoragePhpSdk\Contracts\Http\{Request, Response}; +use Xray\AzureStoragePhpSdk\Contracts\Manager; +use Xray\AzureStoragePhpSdk\Exceptions\{RequestException}; class PreflightBlobRequestManager implements Manager { diff --git a/src/BlobStorage/Managers/Account/StoragePropertyManager.php b/src/BlobStorage/Managers/Account/StoragePropertyManager.php index 49fe63c..87c4b26 100644 --- a/src/BlobStorage/Managers/Account/StoragePropertyManager.php +++ b/src/BlobStorage/Managers/Account/StoragePropertyManager.php @@ -2,14 +2,14 @@ declare(strict_types=1); -namespace Sjpereira\AzureStoragePhpSdk\BlobStorage\Managers\Account; +namespace Xray\AzureStoragePhpSdk\BlobStorage\Managers\Account; use Psr\Http\Client\RequestExceptionInterface; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\Entities\Account\BlobStorageProperty\BlobProperty; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\Resource; -use Sjpereira\AzureStoragePhpSdk\Contracts\Http\Request; -use Sjpereira\AzureStoragePhpSdk\Contracts\Manager; -use Sjpereira\AzureStoragePhpSdk\Exceptions\RequestException; +use Xray\AzureStoragePhpSdk\BlobStorage\Entities\Account\BlobStorageProperty\BlobProperty; +use Xray\AzureStoragePhpSdk\BlobStorage\Resource; +use Xray\AzureStoragePhpSdk\Contracts\Http\Request; +use Xray\AzureStoragePhpSdk\Contracts\Manager; +use Xray\AzureStoragePhpSdk\Exceptions\RequestException; /** * @phpstan-import-type BlobPropertyType from BlobProperty diff --git a/src/BlobStorage/Managers/AccountManager.php b/src/BlobStorage/Managers/AccountManager.php index 4653c30..6858e72 100644 --- a/src/BlobStorage/Managers/AccountManager.php +++ b/src/BlobStorage/Managers/AccountManager.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Sjpereira\AzureStoragePhpSdk\BlobStorage\Managers; +namespace Xray\AzureStoragePhpSdk\BlobStorage\Managers; use Psr\Http\Client\RequestExceptionInterface; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\Entities\Account\{ +use Xray\AzureStoragePhpSdk\BlobStorage\Entities\Account\{ AccountInformation, GeoReplication, KeyInfo, UserDelegationKey, }; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\Managers\Account\{PreflightBlobRequestManager, StoragePropertyManager}; -use Sjpereira\AzureStoragePhpSdk\Contracts\Http\Request; -use Sjpereira\AzureStoragePhpSdk\Contracts\Manager; -use Sjpereira\AzureStoragePhpSdk\Exceptions\RequestException; +use Xray\AzureStoragePhpSdk\BlobStorage\Managers\Account\{PreflightBlobRequestManager, StoragePropertyManager}; +use Xray\AzureStoragePhpSdk\Contracts\Http\Request; +use Xray\AzureStoragePhpSdk\Contracts\Manager; +use Xray\AzureStoragePhpSdk\Exceptions\RequestException; readonly class AccountManager implements Manager { diff --git a/src/BlobStorage/Managers/Blob/BlobLeaseManager.php b/src/BlobStorage/Managers/Blob/BlobLeaseManager.php index bbc088c..3024844 100644 --- a/src/BlobStorage/Managers/Blob/BlobLeaseManager.php +++ b/src/BlobStorage/Managers/Blob/BlobLeaseManager.php @@ -2,14 +2,14 @@ declare(strict_types=1); -namespace Sjpereira\AzureStoragePhpSdk\BlobStorage\Managers\Blob; +namespace Xray\AzureStoragePhpSdk\BlobStorage\Managers\Blob; use Psr\Http\Client\RequestExceptionInterface; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\Entities\Blob\BlobLease; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\Resource; -use Sjpereira\AzureStoragePhpSdk\Contracts\Http\{Request, Response}; -use Sjpereira\AzureStoragePhpSdk\Contracts\Manager; -use Sjpereira\AzureStoragePhpSdk\Exceptions\RequestException; +use Xray\AzureStoragePhpSdk\BlobStorage\Entities\Blob\BlobLease; +use Xray\AzureStoragePhpSdk\BlobStorage\Resource; +use Xray\AzureStoragePhpSdk\Contracts\Http\{Request, Response}; +use Xray\AzureStoragePhpSdk\Contracts\Manager; +use Xray\AzureStoragePhpSdk\Exceptions\RequestException; class BlobLeaseManager implements Manager { diff --git a/src/BlobStorage/Managers/Blob/BlobManager.php b/src/BlobStorage/Managers/Blob/BlobManager.php index 5597d9b..d02b013 100644 --- a/src/BlobStorage/Managers/Blob/BlobManager.php +++ b/src/BlobStorage/Managers/Blob/BlobManager.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace Sjpereira\AzureStoragePhpSdk\BlobStorage\Managers\Blob; +namespace Xray\AzureStoragePhpSdk\BlobStorage\Managers\Blob; use DateTime; use DateTimeImmutable; use Psr\Http\Client\RequestExceptionInterface; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\Entities\Blob\{Blob, Blobs, File}; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\Enums\{BlobIncludeOption, BlobType, ExpirationOption}; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\Queries\BlobTagQuery; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\Resource; -use Sjpereira\AzureStoragePhpSdk\Contracts\Http\Request; -use Sjpereira\AzureStoragePhpSdk\Contracts\Manager; -use Sjpereira\AzureStoragePhpSdk\Exceptions\{InvalidArgumentException, RequestException}; +use Xray\AzureStoragePhpSdk\BlobStorage\Entities\Blob\{Blob, Blobs, File}; +use Xray\AzureStoragePhpSdk\BlobStorage\Enums\{BlobIncludeOption, BlobType, ExpirationOption}; +use Xray\AzureStoragePhpSdk\BlobStorage\Queries\BlobTagQuery; +use Xray\AzureStoragePhpSdk\BlobStorage\Resource; +use Xray\AzureStoragePhpSdk\Contracts\Http\Request; +use Xray\AzureStoragePhpSdk\Contracts\Manager; +use Xray\AzureStoragePhpSdk\Exceptions\{InvalidArgumentException, RequestException}; /** * @phpstan-import-type BlobType from Blob as BlobTypeStan diff --git a/src/BlobStorage/Managers/Blob/BlobMetadataManager.php b/src/BlobStorage/Managers/Blob/BlobMetadataManager.php index 42d2973..914d8ad 100644 --- a/src/BlobStorage/Managers/Blob/BlobMetadataManager.php +++ b/src/BlobStorage/Managers/Blob/BlobMetadataManager.php @@ -2,14 +2,14 @@ declare(strict_types=1); -namespace Sjpereira\AzureStoragePhpSdk\BlobStorage\Managers\Blob; +namespace Xray\AzureStoragePhpSdk\BlobStorage\Managers\Blob; use Psr\Http\Client\RequestExceptionInterface; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\Entities\Blob\BlobMetadata; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\Resource; -use Sjpereira\AzureStoragePhpSdk\Contracts\Http\Request; -use Sjpereira\AzureStoragePhpSdk\Contracts\Manager; -use Sjpereira\AzureStoragePhpSdk\Exceptions\RequestException; +use Xray\AzureStoragePhpSdk\BlobStorage\Entities\Blob\BlobMetadata; +use Xray\AzureStoragePhpSdk\BlobStorage\Resource; +use Xray\AzureStoragePhpSdk\Contracts\Http\Request; +use Xray\AzureStoragePhpSdk\Contracts\Manager; +use Xray\AzureStoragePhpSdk\Exceptions\RequestException; /** * @phpstan-import-type BlobMetadataHeaders from BlobMetadata diff --git a/src/BlobStorage/Managers/Blob/BlobPageManager.php b/src/BlobStorage/Managers/Blob/BlobPageManager.php index cafbf39..ad777b3 100644 --- a/src/BlobStorage/Managers/Blob/BlobPageManager.php +++ b/src/BlobStorage/Managers/Blob/BlobPageManager.php @@ -2,16 +2,16 @@ declare(strict_types=1); -namespace Sjpereira\AzureStoragePhpSdk\BlobStorage\Managers\Blob; +namespace Xray\AzureStoragePhpSdk\BlobStorage\Managers\Blob; use Psr\Http\Client\RequestExceptionInterface; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\Entities\Blob\File; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\Enums\BlobType; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\Resource; -use Sjpereira\AzureStoragePhpSdk\Concerns\HasManager; -use Sjpereira\AzureStoragePhpSdk\Contracts\Http\Request; -use Sjpereira\AzureStoragePhpSdk\Contracts\Manager; -use Sjpereira\AzureStoragePhpSdk\Exceptions\{InvalidArgumentException, RequestException}; +use Xray\AzureStoragePhpSdk\BlobStorage\Entities\Blob\File; +use Xray\AzureStoragePhpSdk\BlobStorage\Enums\BlobType; +use Xray\AzureStoragePhpSdk\BlobStorage\Resource; +use Xray\AzureStoragePhpSdk\Concerns\HasManager; +use Xray\AzureStoragePhpSdk\Contracts\Http\Request; +use Xray\AzureStoragePhpSdk\Contracts\Manager; +use Xray\AzureStoragePhpSdk\Exceptions\{InvalidArgumentException, RequestException}; class BlobPageManager implements Manager { diff --git a/src/BlobStorage/Managers/Blob/BlobPropertyManager.php b/src/BlobStorage/Managers/Blob/BlobPropertyManager.php index 1cc4bef..04a7336 100644 --- a/src/BlobStorage/Managers/Blob/BlobPropertyManager.php +++ b/src/BlobStorage/Managers/Blob/BlobPropertyManager.php @@ -2,13 +2,13 @@ declare(strict_types=1); -namespace Sjpereira\AzureStoragePhpSdk\BlobStorage\Managers\Blob; +namespace Xray\AzureStoragePhpSdk\BlobStorage\Managers\Blob; use Psr\Http\Client\RequestExceptionInterface; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\Entities\Blob\BlobProperty; -use Sjpereira\AzureStoragePhpSdk\Contracts\Http\Request; -use Sjpereira\AzureStoragePhpSdk\Contracts\Manager; -use Sjpereira\AzureStoragePhpSdk\Exceptions\RequestException; +use Xray\AzureStoragePhpSdk\BlobStorage\Entities\Blob\BlobProperty; +use Xray\AzureStoragePhpSdk\Contracts\Http\Request; +use Xray\AzureStoragePhpSdk\Contracts\Manager; +use Xray\AzureStoragePhpSdk\Exceptions\RequestException; /** * @phpstan-import-type BlobPropertyHeaders from BlobProperty diff --git a/src/BlobStorage/Managers/Blob/BlobTagManager.php b/src/BlobStorage/Managers/Blob/BlobTagManager.php index eed19a4..0ebdcdc 100644 --- a/src/BlobStorage/Managers/Blob/BlobTagManager.php +++ b/src/BlobStorage/Managers/Blob/BlobTagManager.php @@ -2,14 +2,14 @@ declare(strict_types=1); -namespace Sjpereira\AzureStoragePhpSdk\BlobStorage\Managers\Blob; +namespace Xray\AzureStoragePhpSdk\BlobStorage\Managers\Blob; use Psr\Http\Client\RequestExceptionInterface; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\Entities\Blob\BlobTag; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\Resource; -use Sjpereira\AzureStoragePhpSdk\Contracts\Http\Request; -use Sjpereira\AzureStoragePhpSdk\Contracts\Manager; -use Sjpereira\AzureStoragePhpSdk\Exceptions\RequestException; +use Xray\AzureStoragePhpSdk\BlobStorage\Entities\Blob\BlobTag; +use Xray\AzureStoragePhpSdk\BlobStorage\Resource; +use Xray\AzureStoragePhpSdk\Contracts\Http\Request; +use Xray\AzureStoragePhpSdk\Contracts\Manager; +use Xray\AzureStoragePhpSdk\Exceptions\RequestException; /** * @phpstan-import-type BlobTagHeaders from BlobTag diff --git a/src/BlobStorage/Managers/Container/ContainerAccessLevelManager.php b/src/BlobStorage/Managers/Container/ContainerAccessLevelManager.php index bbe0205..1b0884e 100644 --- a/src/BlobStorage/Managers/Container/ContainerAccessLevelManager.php +++ b/src/BlobStorage/Managers/Container/ContainerAccessLevelManager.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace Sjpereira\AzureStoragePhpSdk\BlobStorage\Managers\Container; +namespace Xray\AzureStoragePhpSdk\BlobStorage\Managers\Container; use Psr\Http\Client\RequestExceptionInterface; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\Concerns\ValidateContainerName; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\Entities\Container\AccessLevel\{ +use Xray\AzureStoragePhpSdk\BlobStorage\Concerns\ValidateContainerName; +use Xray\AzureStoragePhpSdk\BlobStorage\Entities\Container\AccessLevel\{ ContainerAccessLevel, ContainerAccessLevels, }; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\Resource; -use Sjpereira\AzureStoragePhpSdk\Contracts\Http\Request; -use Sjpereira\AzureStoragePhpSdk\Contracts\Manager; -use Sjpereira\AzureStoragePhpSdk\Exceptions\RequestException; +use Xray\AzureStoragePhpSdk\BlobStorage\Resource; +use Xray\AzureStoragePhpSdk\Contracts\Http\Request; +use Xray\AzureStoragePhpSdk\Contracts\Manager; +use Xray\AzureStoragePhpSdk\Exceptions\RequestException; readonly class ContainerAccessLevelManager implements Manager { diff --git a/src/BlobStorage/Managers/Container/ContainerLeaseManager.php b/src/BlobStorage/Managers/Container/ContainerLeaseManager.php index 9e724a4..f63caac 100644 --- a/src/BlobStorage/Managers/Container/ContainerLeaseManager.php +++ b/src/BlobStorage/Managers/Container/ContainerLeaseManager.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Sjpereira\AzureStoragePhpSdk\BlobStorage\Managers\Container; +namespace Xray\AzureStoragePhpSdk\BlobStorage\Managers\Container; use Psr\Http\Client\RequestExceptionInterface; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\Concerns\ValidateContainerName; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\Entities\Container\ContainerLease; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\Resource; -use Sjpereira\AzureStoragePhpSdk\Contracts\Http\{Request, Response}; -use Sjpereira\AzureStoragePhpSdk\Contracts\Manager; -use Sjpereira\AzureStoragePhpSdk\Exceptions\RequestException; +use Xray\AzureStoragePhpSdk\BlobStorage\Concerns\ValidateContainerName; +use Xray\AzureStoragePhpSdk\BlobStorage\Entities\Container\ContainerLease; +use Xray\AzureStoragePhpSdk\BlobStorage\Resource; +use Xray\AzureStoragePhpSdk\Contracts\Http\{Request, Response}; +use Xray\AzureStoragePhpSdk\Contracts\Manager; +use Xray\AzureStoragePhpSdk\Exceptions\RequestException; class ContainerLeaseManager implements Manager { diff --git a/src/BlobStorage/Managers/Container/ContainerMetadataManager.php b/src/BlobStorage/Managers/Container/ContainerMetadataManager.php index 9d5984d..94bcc63 100644 --- a/src/BlobStorage/Managers/Container/ContainerMetadataManager.php +++ b/src/BlobStorage/Managers/Container/ContainerMetadataManager.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Sjpereira\AzureStoragePhpSdk\BlobStorage\Managers\Container; +namespace Xray\AzureStoragePhpSdk\BlobStorage\Managers\Container; use Psr\Http\Client\RequestExceptionInterface; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\Concerns\{ValidateContainerName, ValidateMetadataKey}; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\Entities\Container\ContainerMetadata; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\Resource; -use Sjpereira\AzureStoragePhpSdk\Contracts\Http\Request; -use Sjpereira\AzureStoragePhpSdk\Contracts\Manager; -use Sjpereira\AzureStoragePhpSdk\Exceptions\{RequestException}; +use Xray\AzureStoragePhpSdk\BlobStorage\Concerns\{ValidateContainerName, ValidateMetadataKey}; +use Xray\AzureStoragePhpSdk\BlobStorage\Entities\Container\ContainerMetadata; +use Xray\AzureStoragePhpSdk\BlobStorage\Resource; +use Xray\AzureStoragePhpSdk\Contracts\Http\Request; +use Xray\AzureStoragePhpSdk\Contracts\Manager; +use Xray\AzureStoragePhpSdk\Exceptions\{RequestException}; readonly class ContainerMetadataManager implements Manager { diff --git a/src/BlobStorage/Managers/ContainerManager.php b/src/BlobStorage/Managers/ContainerManager.php index c968a75..474a87a 100644 --- a/src/BlobStorage/Managers/ContainerManager.php +++ b/src/BlobStorage/Managers/ContainerManager.php @@ -2,22 +2,22 @@ declare(strict_types=1); -namespace Sjpereira\AzureStoragePhpSdk\BlobStorage\Managers; +namespace Xray\AzureStoragePhpSdk\BlobStorage\Managers; use Psr\Http\Client\RequestExceptionInterface; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\Concerns\ValidateContainerName; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\Entities\Container\Container; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\Entities\Container\{ContainerProperties, Containers}; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\Managers\Container\{ +use Xray\AzureStoragePhpSdk\BlobStorage\Concerns\ValidateContainerName; +use Xray\AzureStoragePhpSdk\BlobStorage\Entities\Container\Container; +use Xray\AzureStoragePhpSdk\BlobStorage\Entities\Container\{ContainerProperties, Containers}; +use Xray\AzureStoragePhpSdk\BlobStorage\Managers\Container\{ ContainerAccessLevelManager, ContainerLeaseManager, ContainerMetadataManager, }; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\Resource; -use Sjpereira\AzureStoragePhpSdk\Concerns\HasRequestShared; -use Sjpereira\AzureStoragePhpSdk\Contracts\Http\Request; -use Sjpereira\AzureStoragePhpSdk\Contracts\{Manager, RequestShared}; -use Sjpereira\AzureStoragePhpSdk\Exceptions\{RequestException}; +use Xray\AzureStoragePhpSdk\BlobStorage\Resource; +use Xray\AzureStoragePhpSdk\Concerns\HasRequestShared; +use Xray\AzureStoragePhpSdk\Contracts\Http\Request; +use Xray\AzureStoragePhpSdk\Contracts\{Manager, RequestShared}; +use Xray\AzureStoragePhpSdk\Exceptions\{RequestException}; /** * @phpstan-import-type ContainerType from Container diff --git a/src/BlobStorage/Queries/BlobTagQuery.php b/src/BlobStorage/Queries/BlobTagQuery.php index c1eff92..cf7bd2e 100644 --- a/src/BlobStorage/Queries/BlobTagQuery.php +++ b/src/BlobStorage/Queries/BlobTagQuery.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Sjpereira\AzureStoragePhpSdk\BlobStorage\Queries; +namespace Xray\AzureStoragePhpSdk\BlobStorage\Queries; use Closure; -use Sjpereira\AzureStoragePhpSdk\Contracts\Manager; -use Sjpereira\AzureStoragePhpSdk\Exceptions\RequiredFieldException; +use Xray\AzureStoragePhpSdk\Contracts\Manager; +use Xray\AzureStoragePhpSdk\Exceptions\RequiredFieldException; /** * @template TManager of Manager diff --git a/src/BlobStorage/Resource.php b/src/BlobStorage/Resource.php index 752557d..c9015ea 100644 --- a/src/BlobStorage/Resource.php +++ b/src/BlobStorage/Resource.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Sjpereira\AzureStoragePhpSdk\BlobStorage; +namespace Xray\AzureStoragePhpSdk\BlobStorage; final class Resource { diff --git a/src/Concerns/HasManager.php b/src/Concerns/HasManager.php index babe234..154c49d 100644 --- a/src/Concerns/HasManager.php +++ b/src/Concerns/HasManager.php @@ -2,10 +2,10 @@ declare(strict_types=1); -namespace Sjpereira\AzureStoragePhpSdk\Concerns; +namespace Xray\AzureStoragePhpSdk\Concerns; -use Sjpereira\AzureStoragePhpSdk\Contracts\Manager; -use Sjpereira\AzureStoragePhpSdk\Exceptions\ManagerNotSetException; +use Xray\AzureStoragePhpSdk\Contracts\Manager; +use Xray\AzureStoragePhpSdk\Exceptions\ManagerNotSetException; /** @template TManager of Manager */ trait HasManager diff --git a/src/Concerns/HasRequestShared.php b/src/Concerns/HasRequestShared.php index 9c6e51b..7a646a0 100644 --- a/src/Concerns/HasRequestShared.php +++ b/src/Concerns/HasRequestShared.php @@ -2,9 +2,9 @@ declare(strict_types=1); -namespace Sjpereira\AzureStoragePhpSdk\Concerns; +namespace Xray\AzureStoragePhpSdk\Concerns; -use Sjpereira\AzureStoragePhpSdk\Contracts\Http\Request; +use Xray\AzureStoragePhpSdk\Contracts\Http\Request; /** @template TRequest of Request */ trait HasRequestShared diff --git a/src/Contracts/Arrayable.php b/src/Contracts/Arrayable.php index 7f999e1..e92e6d6 100644 --- a/src/Contracts/Arrayable.php +++ b/src/Contracts/Arrayable.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Sjpereira\AzureStoragePhpSdk\Contracts; +namespace Xray\AzureStoragePhpSdk\Contracts; /** * @template TValue of array diff --git a/src/Contracts/Authentication/Auth.php b/src/Contracts/Authentication/Auth.php index 1bf649b..5ff191c 100644 --- a/src/Contracts/Authentication/Auth.php +++ b/src/Contracts/Authentication/Auth.php @@ -2,10 +2,10 @@ declare(strict_types=1); -namespace Sjpereira\AzureStoragePhpSdk\Contracts\Authentication; +namespace Xray\AzureStoragePhpSdk\Contracts\Authentication; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\Enums\HttpVerb; -use Sjpereira\AzureStoragePhpSdk\Http\Headers; +use Xray\AzureStoragePhpSdk\BlobStorage\Enums\HttpVerb; +use Xray\AzureStoragePhpSdk\Http\Headers; interface Auth { diff --git a/src/Contracts/Converter.php b/src/Contracts/Converter.php index 49b9bc9..93e49b8 100644 --- a/src/Contracts/Converter.php +++ b/src/Contracts/Converter.php @@ -2,9 +2,9 @@ declare(strict_types=1); -namespace Sjpereira\AzureStoragePhpSdk\Contracts; +namespace Xray\AzureStoragePhpSdk\Contracts; -use Sjpereira\AzureStoragePhpSdk\Exceptions\UnableToConvertException; +use Xray\AzureStoragePhpSdk\Exceptions\UnableToConvertException; interface Converter { diff --git a/src/Contracts/HasConfig.php b/src/Contracts/HasConfig.php index d371ae5..cf2b6c5 100644 --- a/src/Contracts/HasConfig.php +++ b/src/Contracts/HasConfig.php @@ -2,9 +2,9 @@ declare(strict_types=1); -namespace Sjpereira\AzureStoragePhpSdk\Contracts; +namespace Xray\AzureStoragePhpSdk\Contracts; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\Config; +use Xray\AzureStoragePhpSdk\BlobStorage\Config; interface HasConfig { diff --git a/src/Contracts/Http/HttpMethods.php b/src/Contracts/Http/HttpMethods.php index 0aa371d..ca0017d 100644 --- a/src/Contracts/Http/HttpMethods.php +++ b/src/Contracts/Http/HttpMethods.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Sjpereira\AzureStoragePhpSdk\Contracts\Http; +namespace Xray\AzureStoragePhpSdk\Contracts\Http; interface HttpMethods { diff --git a/src/Contracts/Http/Request.php b/src/Contracts/Http/Request.php index 7bd1566..2b4d502 100644 --- a/src/Contracts/Http/Request.php +++ b/src/Contracts/Http/Request.php @@ -2,10 +2,10 @@ declare(strict_types=1); -namespace Sjpereira\AzureStoragePhpSdk\Contracts\Http; +namespace Xray\AzureStoragePhpSdk\Contracts\Http; use Closure; -use Sjpereira\AzureStoragePhpSdk\Contracts\HasConfig; +use Xray\AzureStoragePhpSdk\Contracts\HasConfig; interface Request extends HasConfig, HttpMethods { diff --git a/src/Contracts/Http/Response.php b/src/Contracts/Http/Response.php index 9da0dbc..809b144 100644 --- a/src/Contracts/Http/Response.php +++ b/src/Contracts/Http/Response.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Sjpereira\AzureStoragePhpSdk\Contracts\Http; +namespace Xray\AzureStoragePhpSdk\Contracts\Http; interface Response { diff --git a/src/Contracts/Manager.php b/src/Contracts/Manager.php index 8ad58ae..40b37de 100644 --- a/src/Contracts/Manager.php +++ b/src/Contracts/Manager.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Sjpereira\AzureStoragePhpSdk\Contracts; +namespace Xray\AzureStoragePhpSdk\Contracts; interface Manager { diff --git a/src/Contracts/Parser.php b/src/Contracts/Parser.php index 7ac6f93..5f5846f 100644 --- a/src/Contracts/Parser.php +++ b/src/Contracts/Parser.php @@ -2,9 +2,9 @@ declare(strict_types=1); -namespace Sjpereira\AzureStoragePhpSdk\Contracts; +namespace Xray\AzureStoragePhpSdk\Contracts; -use Sjpereira\AzureStoragePhpSdk\Exceptions\UnableToParseException; +use Xray\AzureStoragePhpSdk\Exceptions\UnableToParseException; interface Parser { diff --git a/src/Contracts/RequestShared.php b/src/Contracts/RequestShared.php index 7178978..02c45e2 100644 --- a/src/Contracts/RequestShared.php +++ b/src/Contracts/RequestShared.php @@ -2,9 +2,9 @@ declare(strict_types=1); -namespace Sjpereira\AzureStoragePhpSdk\Contracts; +namespace Xray\AzureStoragePhpSdk\Contracts; -use Sjpereira\AzureStoragePhpSdk\Contracts\Http\Request; +use Xray\AzureStoragePhpSdk\Contracts\Http\Request; /** @template TRequest of Request */ interface RequestShared diff --git a/src/Contracts/Stringable.php b/src/Contracts/Stringable.php index 576f40a..223595e 100644 --- a/src/Contracts/Stringable.php +++ b/src/Contracts/Stringable.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Sjpereira\AzureStoragePhpSdk\Contracts; +namespace Xray\AzureStoragePhpSdk\Contracts; interface Stringable { diff --git a/src/Contracts/Xmlable.php b/src/Contracts/Xmlable.php index 645f283..6e96cc3 100644 --- a/src/Contracts/Xmlable.php +++ b/src/Contracts/Xmlable.php @@ -2,9 +2,9 @@ declare(strict_types=1); -namespace Sjpereira\AzureStoragePhpSdk\Contracts; +namespace Xray\AzureStoragePhpSdk\Contracts; -use Sjpereira\AzureStoragePhpSdk\Exceptions\UnableToConvertException; +use Xray\AzureStoragePhpSdk\Exceptions\UnableToConvertException; interface Xmlable { diff --git a/src/Converter/XmlConverter.php b/src/Converter/XmlConverter.php index 7d1eb39..ce7b184 100644 --- a/src/Converter/XmlConverter.php +++ b/src/Converter/XmlConverter.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Sjpereira\AzureStoragePhpSdk\Converter; +namespace Xray\AzureStoragePhpSdk\Converter; use SimpleXMLElement; -use Sjpereira\AzureStoragePhpSdk\Contracts\Converter; -use Sjpereira\AzureStoragePhpSdk\Exceptions\UnableToConvertException; +use Xray\AzureStoragePhpSdk\Contracts\Converter; +use Xray\AzureStoragePhpSdk\Exceptions\UnableToConvertException; class XmlConverter implements Converter { diff --git a/src/Exceptions/CouldNotCreateTempFileException.php b/src/Exceptions/CouldNotCreateTempFileException.php index c609d3f..176a9a8 100644 --- a/src/Exceptions/CouldNotCreateTempFileException.php +++ b/src/Exceptions/CouldNotCreateTempFileException.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Sjpereira\AzureStoragePhpSdk\Exceptions; +namespace Xray\AzureStoragePhpSdk\Exceptions; use Exception; diff --git a/src/Exceptions/InvalidArgumentException.php b/src/Exceptions/InvalidArgumentException.php index b880d27..9d7fc39 100644 --- a/src/Exceptions/InvalidArgumentException.php +++ b/src/Exceptions/InvalidArgumentException.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Sjpereira\AzureStoragePhpSdk\Exceptions; +namespace Xray\AzureStoragePhpSdk\Exceptions; use Exception; diff --git a/src/Exceptions/InvalidFileMimeTypeException.php b/src/Exceptions/InvalidFileMimeTypeException.php index 4279ae5..e2de521 100644 --- a/src/Exceptions/InvalidFileMimeTypeException.php +++ b/src/Exceptions/InvalidFileMimeTypeException.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Sjpereira\AzureStoragePhpSdk\Exceptions; +namespace Xray\AzureStoragePhpSdk\Exceptions; use Exception; diff --git a/src/Exceptions/ManagerNotSetException.php b/src/Exceptions/ManagerNotSetException.php index f244893..5951c52 100644 --- a/src/Exceptions/ManagerNotSetException.php +++ b/src/Exceptions/ManagerNotSetException.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Sjpereira\AzureStoragePhpSdk\Exceptions; +namespace Xray\AzureStoragePhpSdk\Exceptions; use Exception; diff --git a/src/Exceptions/RequestException.php b/src/Exceptions/RequestException.php index 70f0aa7..0dc80ba 100644 --- a/src/Exceptions/RequestException.php +++ b/src/Exceptions/RequestException.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Sjpereira\AzureStoragePhpSdk\Exceptions; +namespace Xray\AzureStoragePhpSdk\Exceptions; use Exception; use Psr\Http\Client\RequestExceptionInterface; -use Sjpereira\AzureStoragePhpSdk\Exceptions\RequestException\FailedAuthenticationException; +use Xray\AzureStoragePhpSdk\Exceptions\RequestException\FailedAuthenticationException; use Throwable; class RequestException extends Exception diff --git a/src/Exceptions/RequestException/FailedAuthenticationException.php b/src/Exceptions/RequestException/FailedAuthenticationException.php index b97e9dd..9cba5a7 100644 --- a/src/Exceptions/RequestException/FailedAuthenticationException.php +++ b/src/Exceptions/RequestException/FailedAuthenticationException.php @@ -2,9 +2,9 @@ declare(strict_types=1); -namespace Sjpereira\AzureStoragePhpSdk\Exceptions\RequestException; +namespace Xray\AzureStoragePhpSdk\Exceptions\RequestException; -use Sjpereira\AzureStoragePhpSdk\Exceptions\RequestException; +use Xray\AzureStoragePhpSdk\Exceptions\RequestException; class FailedAuthenticationException extends RequestException { diff --git a/src/Exceptions/RequiredFieldException.php b/src/Exceptions/RequiredFieldException.php index db9f5d3..2c3f737 100644 --- a/src/Exceptions/RequiredFieldException.php +++ b/src/Exceptions/RequiredFieldException.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Sjpereira\AzureStoragePhpSdk\Exceptions; +namespace Xray\AzureStoragePhpSdk\Exceptions; use Exception; diff --git a/src/Exceptions/UnableToConvertException.php b/src/Exceptions/UnableToConvertException.php index 13f657a..45cfca3 100644 --- a/src/Exceptions/UnableToConvertException.php +++ b/src/Exceptions/UnableToConvertException.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Sjpereira\AzureStoragePhpSdk\Exceptions; +namespace Xray\AzureStoragePhpSdk\Exceptions; use Exception; diff --git a/src/Exceptions/UnableToParseException.php b/src/Exceptions/UnableToParseException.php index 6b49bb0..4ef3d57 100644 --- a/src/Exceptions/UnableToParseException.php +++ b/src/Exceptions/UnableToParseException.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Sjpereira\AzureStoragePhpSdk\Exceptions; +namespace Xray\AzureStoragePhpSdk\Exceptions; use Exception; diff --git a/src/Http/Headers.php b/src/Http/Headers.php index 0808280..80779fd 100644 --- a/src/Http/Headers.php +++ b/src/Http/Headers.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Sjpereira\AzureStoragePhpSdk\Http; +namespace Xray\AzureStoragePhpSdk\Http; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\Resource; -use Sjpereira\AzureStoragePhpSdk\Contracts\{Arrayable, Stringable}; -use Sjpereira\AzureStoragePhpSdk\Exceptions\InvalidArgumentException; +use Xray\AzureStoragePhpSdk\BlobStorage\Resource; +use Xray\AzureStoragePhpSdk\Contracts\{Arrayable, Stringable}; +use Xray\AzureStoragePhpSdk\Exceptions\InvalidArgumentException; /** * @property-read ?string $contentEncoding diff --git a/src/Http/Request.php b/src/Http/Request.php index aaf0d67..ec32762 100644 --- a/src/Http/Request.php +++ b/src/Http/Request.php @@ -2,13 +2,13 @@ declare(strict_types=1); -namespace Sjpereira\AzureStoragePhpSdk\Http; +namespace Xray\AzureStoragePhpSdk\Http; use Closure; use GuzzleHttp\{Client, ClientInterface}; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\Enums\HttpVerb; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\{Config, Resource}; -use Sjpereira\AzureStoragePhpSdk\Contracts\Http\{Request as RequestContract, Response as ResponseContract}; +use Xray\AzureStoragePhpSdk\BlobStorage\Enums\HttpVerb; +use Xray\AzureStoragePhpSdk\BlobStorage\{Config, Resource}; +use Xray\AzureStoragePhpSdk\Contracts\Http\{Request as RequestContract, Response as ResponseContract}; class Request implements RequestContract { diff --git a/src/Http/Response.php b/src/Http/Response.php index b208b89..842c843 100644 --- a/src/Http/Response.php +++ b/src/Http/Response.php @@ -2,10 +2,10 @@ declare(strict_types=1); -namespace Sjpereira\AzureStoragePhpSdk\Http; +namespace Xray\AzureStoragePhpSdk\Http; use Psr\Http\Message\ResponseInterface; -use Sjpereira\AzureStoragePhpSdk\Contracts\Http\Response as ResponseContract; +use Xray\AzureStoragePhpSdk\Contracts\Http\Response as ResponseContract; final class Response implements ResponseContract { diff --git a/src/Parsers/XmlParser.php b/src/Parsers/XmlParser.php index fd9f9e1..b6fc00f 100644 --- a/src/Parsers/XmlParser.php +++ b/src/Parsers/XmlParser.php @@ -2,10 +2,10 @@ declare(strict_types=1); -namespace Sjpereira\AzureStoragePhpSdk\Parsers; +namespace Xray\AzureStoragePhpSdk\Parsers; -use Sjpereira\AzureStoragePhpSdk\Contracts\Parser; -use Sjpereira\AzureStoragePhpSdk\Exceptions\UnableToParseException; +use Xray\AzureStoragePhpSdk\Contracts\Parser; +use Xray\AzureStoragePhpSdk\Exceptions\UnableToParseException; class XmlParser implements Parser { diff --git a/src/Support/Collection.php b/src/Support/Collection.php index e83a4b9..37b356a 100644 --- a/src/Support/Collection.php +++ b/src/Support/Collection.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Sjpereira\AzureStoragePhpSdk\Support; +namespace Xray\AzureStoragePhpSdk\Support; use ArrayAccess; use ArrayIterator; diff --git a/src/Tests/Http/Concerns/HasAuthAssertions.php b/src/Tests/Http/Concerns/HasAuthAssertions.php index 569ebf9..27a92d8 100644 --- a/src/Tests/Http/Concerns/HasAuthAssertions.php +++ b/src/Tests/Http/Concerns/HasAuthAssertions.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Sjpereira\AzureStoragePhpSdk\Tests\Http\Concerns; +namespace Xray\AzureStoragePhpSdk\Tests\Http\Concerns; use PHPUnit\Framework\Assert; diff --git a/src/Tests/Http/Concerns/HasHttpAssertions.php b/src/Tests/Http/Concerns/HasHttpAssertions.php index bc36fe2..bda85ff 100644 --- a/src/Tests/Http/Concerns/HasHttpAssertions.php +++ b/src/Tests/Http/Concerns/HasHttpAssertions.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Sjpereira\AzureStoragePhpSdk\Tests\Http\Concerns; +namespace Xray\AzureStoragePhpSdk\Tests\Http\Concerns; use PHPUnit\Framework\Assert; diff --git a/src/Tests/Http/RequestFake.php b/src/Tests/Http/RequestFake.php index 142540e..58e9d4b 100644 --- a/src/Tests/Http/RequestFake.php +++ b/src/Tests/Http/RequestFake.php @@ -2,12 +2,12 @@ declare(strict_types=1); -namespace Sjpereira\AzureStoragePhpSdk\Tests\Http; +namespace Xray\AzureStoragePhpSdk\Tests\Http; use Closure; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\Config; -use Sjpereira\AzureStoragePhpSdk\Contracts\Http\{Request, Response}; -use Sjpereira\AzureStoragePhpSdk\Tests\Http\Concerns\{HasAuthAssertions, HasHttpAssertions}; +use Xray\AzureStoragePhpSdk\BlobStorage\Config; +use Xray\AzureStoragePhpSdk\Contracts\Http\{Request, Response}; +use Xray\AzureStoragePhpSdk\Tests\Http\Concerns\{HasAuthAssertions, HasHttpAssertions}; /** * @phpstan-type Method array{endpoint: string, body?: string} diff --git a/src/Tests/Http/ResponseFake.php b/src/Tests/Http/ResponseFake.php index 645c970..6f77cc5 100644 --- a/src/Tests/Http/ResponseFake.php +++ b/src/Tests/Http/ResponseFake.php @@ -2,10 +2,10 @@ declare(strict_types=1); -namespace Sjpereira\AzureStoragePhpSdk\Tests\Http; +namespace Xray\AzureStoragePhpSdk\Tests\Http; -use Sjpereira\AzureStoragePhpSdk\Contracts\Http\Response; -use Sjpereira\AzureStoragePhpSdk\Http\Response as BaseResponse; +use Xray\AzureStoragePhpSdk\Contracts\Http\Response; +use Xray\AzureStoragePhpSdk\Http\Response as BaseResponse; class ResponseFake implements Response { diff --git a/tests/Feature/Authentication/SharedKeyAuthTest.php b/tests/Feature/Authentication/SharedKeyAuthTest.php index 5fcbed2..62cc7a6 100644 --- a/tests/Feature/Authentication/SharedKeyAuthTest.php +++ b/tests/Feature/Authentication/SharedKeyAuthTest.php @@ -2,11 +2,11 @@ declare(strict_types=1); -use Sjpereira\AzureStoragePhpSdk\Authentication\SharedKeyAuth; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\Enums\HttpVerb; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\{Resource}; -use Sjpereira\AzureStoragePhpSdk\Contracts\Authentication\Auth; -use Sjpereira\AzureStoragePhpSdk\Http\Headers; +use Xray\AzureStoragePhpSdk\Authentication\SharedKeyAuth; +use Xray\AzureStoragePhpSdk\BlobStorage\Enums\HttpVerb; +use Xray\AzureStoragePhpSdk\BlobStorage\{Resource}; +use Xray\AzureStoragePhpSdk\Contracts\Authentication\Auth; +use Xray\AzureStoragePhpSdk\Http\Headers; uses()->group('authentications'); diff --git a/tests/Feature/BlobStorage/BlobStorageConfigTest.php b/tests/Feature/BlobStorage/BlobStorageConfigTest.php index eeaa6a7..c8ca661 100644 --- a/tests/Feature/BlobStorage/BlobStorageConfigTest.php +++ b/tests/Feature/BlobStorage/BlobStorageConfigTest.php @@ -2,10 +2,10 @@ declare(strict_types=1); -use Sjpereira\AzureStoragePhpSdk\Authentication\SharedKeyAuth; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\{Config, Resource}; -use Sjpereira\AzureStoragePhpSdk\Contracts\Converter; -use Sjpereira\AzureStoragePhpSdk\Parsers\XmlParser; +use Xray\AzureStoragePhpSdk\Authentication\SharedKeyAuth; +use Xray\AzureStoragePhpSdk\BlobStorage\{Config, Resource}; +use Xray\AzureStoragePhpSdk\Contracts\Converter; +use Xray\AzureStoragePhpSdk\Parsers\XmlParser; uses()->group('blob-storage'); diff --git a/tests/Feature/BlobStorage/BlobStorageTest.php b/tests/Feature/BlobStorage/BlobStorageTest.php index 6938d78..5d85d10 100644 --- a/tests/Feature/BlobStorage/BlobStorageTest.php +++ b/tests/Feature/BlobStorage/BlobStorageTest.php @@ -2,11 +2,11 @@ declare(strict_types=1); -use Sjpereira\AzureStoragePhpSdk\Authentication\SharedKeyAuth; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\Managers\Blob\BlobManager; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\Managers\{AccountManager, ContainerManager}; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\{BlobStorage, Config}; -use Sjpereira\AzureStoragePhpSdk\Tests\Http\RequestFake; +use Xray\AzureStoragePhpSdk\Authentication\SharedKeyAuth; +use Xray\AzureStoragePhpSdk\BlobStorage\Managers\Blob\BlobManager; +use Xray\AzureStoragePhpSdk\BlobStorage\Managers\{AccountManager, ContainerManager}; +use Xray\AzureStoragePhpSdk\BlobStorage\{BlobStorage, Config}; +use Xray\AzureStoragePhpSdk\Tests\Http\RequestFake; uses()->group('blob-storage'); diff --git a/tests/Feature/BlobStorage/BlobStorateResouceTest.php b/tests/Feature/BlobStorage/BlobStorateResouceTest.php index 63d8275..2581101 100644 --- a/tests/Feature/BlobStorage/BlobStorateResouceTest.php +++ b/tests/Feature/BlobStorage/BlobStorateResouceTest.php @@ -2,7 +2,7 @@ declare(strict_types=1); -use Sjpereira\AzureStoragePhpSdk\BlobStorage\Resource; +use Xray\AzureStoragePhpSdk\BlobStorage\Resource; uses()->group('blob-storage'); diff --git a/tests/Feature/BlobStorage/Concerns/ValidateContainerNameTest.php b/tests/Feature/BlobStorage/Concerns/ValidateContainerNameTest.php index f8244c0..54af27c 100644 --- a/tests/Feature/BlobStorage/Concerns/ValidateContainerNameTest.php +++ b/tests/Feature/BlobStorage/Concerns/ValidateContainerNameTest.php @@ -1,7 +1,7 @@ group('blob-storage', 'concerns'); diff --git a/tests/Feature/BlobStorage/Concerns/ValidateMetadataKeyTest.php b/tests/Feature/BlobStorage/Concerns/ValidateMetadataKeyTest.php index 1f933b2..1b9cf76 100644 --- a/tests/Feature/BlobStorage/Concerns/ValidateMetadataKeyTest.php +++ b/tests/Feature/BlobStorage/Concerns/ValidateMetadataKeyTest.php @@ -1,7 +1,7 @@ group('blob-storage', 'concerns'); diff --git a/tests/Feature/BlobStorage/Entities/Container/BlobStorageContainerTest.php b/tests/Feature/BlobStorage/Entities/Container/BlobStorageContainerTest.php index 4c7aa6d..45b395f 100644 --- a/tests/Feature/BlobStorage/Entities/Container/BlobStorageContainerTest.php +++ b/tests/Feature/BlobStorage/Entities/Container/BlobStorageContainerTest.php @@ -1,15 +1,15 @@ group('blob-storage', 'entities', 'containers'); diff --git a/tests/Feature/BlobStorage/Managers/Account/BlobStoragePreflightBlobRequestManagerTest.php b/tests/Feature/BlobStorage/Managers/Account/BlobStoragePreflightBlobRequestManagerTest.php index dad331b..4bbdbff 100644 --- a/tests/Feature/BlobStorage/Managers/Account/BlobStoragePreflightBlobRequestManagerTest.php +++ b/tests/Feature/BlobStorage/Managers/Account/BlobStoragePreflightBlobRequestManagerTest.php @@ -2,11 +2,11 @@ declare(strict_types=1); -use Sjpereira\AzureStoragePhpSdk\Authentication\SharedKeyAuth; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\Enums\HttpVerb; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\Managers\Account\PreflightBlobRequestManager; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\{Config, Resource}; -use Sjpereira\AzureStoragePhpSdk\Tests\Http\RequestFake; +use Xray\AzureStoragePhpSdk\Authentication\SharedKeyAuth; +use Xray\AzureStoragePhpSdk\BlobStorage\Enums\HttpVerb; +use Xray\AzureStoragePhpSdk\BlobStorage\Managers\Account\PreflightBlobRequestManager; +use Xray\AzureStoragePhpSdk\BlobStorage\{Config, Resource}; +use Xray\AzureStoragePhpSdk\Tests\Http\RequestFake; uses()->group('blob-storage', 'managers', 'account'); diff --git a/tests/Feature/BlobStorage/Managers/Account/BlobStorageStoragePropertyManagerTest.php b/tests/Feature/BlobStorage/Managers/Account/BlobStorageStoragePropertyManagerTest.php index 770d5b9..b997922 100644 --- a/tests/Feature/BlobStorage/Managers/Account/BlobStorageStoragePropertyManagerTest.php +++ b/tests/Feature/BlobStorage/Managers/Account/BlobStorageStoragePropertyManagerTest.php @@ -2,13 +2,13 @@ declare(strict_types=1); -use Sjpereira\AzureStoragePhpSdk\Authentication\SharedKeyAuth; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\Entities\Account\BlobStorageProperty\Cors\Cors; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\Entities\Account\BlobStorageProperty\{BlobProperty, DeleteRetentionPolicy, HourMetrics, Logging, MinuteMetrics, StaticWebsite}; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\Managers\Account\StoragePropertyManager; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\{Config, Resource}; -use Sjpereira\AzureStoragePhpSdk\Http\Response as BaseResponse; -use Sjpereira\AzureStoragePhpSdk\Tests\Http\{RequestFake, ResponseFake}; +use Xray\AzureStoragePhpSdk\Authentication\SharedKeyAuth; +use Xray\AzureStoragePhpSdk\BlobStorage\Entities\Account\BlobStorageProperty\Cors\Cors; +use Xray\AzureStoragePhpSdk\BlobStorage\Entities\Account\BlobStorageProperty\{BlobProperty, DeleteRetentionPolicy, HourMetrics, Logging, MinuteMetrics, StaticWebsite}; +use Xray\AzureStoragePhpSdk\BlobStorage\Managers\Account\StoragePropertyManager; +use Xray\AzureStoragePhpSdk\BlobStorage\{Config, Resource}; +use Xray\AzureStoragePhpSdk\Http\Response as BaseResponse; +use Xray\AzureStoragePhpSdk\Tests\Http\{RequestFake, ResponseFake}; uses()->group('blob-storage', 'managers', 'account'); diff --git a/tests/Feature/BlobStorage/Managers/Blob/BlobStorageBlobManagerTest.php b/tests/Feature/BlobStorage/Managers/Blob/BlobStorageBlobManagerTest.php index b6d3132..7ccfc50 100644 --- a/tests/Feature/BlobStorage/Managers/Blob/BlobStorageBlobManagerTest.php +++ b/tests/Feature/BlobStorage/Managers/Blob/BlobStorageBlobManagerTest.php @@ -1,12 +1,12 @@ group('blob-storage', 'managers', 'blobs'); diff --git a/tests/Feature/BlobStorage/Managers/Blob/BlobStorageBlobMetadataManagerTest.php b/tests/Feature/BlobStorage/Managers/Blob/BlobStorageBlobMetadataManagerTest.php index fe2d069..6cb3e11 100644 --- a/tests/Feature/BlobStorage/Managers/Blob/BlobStorageBlobMetadataManagerTest.php +++ b/tests/Feature/BlobStorage/Managers/Blob/BlobStorageBlobMetadataManagerTest.php @@ -2,11 +2,11 @@ declare(strict_types=1); -use Sjpereira\AzureStoragePhpSdk\Authentication\SharedKeyAuth; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\Entities\Blob\BlobMetadata; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\Managers\Blob\BlobMetadataManager; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\{Config, Resource}; -use Sjpereira\AzureStoragePhpSdk\Tests\Http\{RequestFake, ResponseFake}; +use Xray\AzureStoragePhpSdk\Authentication\SharedKeyAuth; +use Xray\AzureStoragePhpSdk\BlobStorage\Entities\Blob\BlobMetadata; +use Xray\AzureStoragePhpSdk\BlobStorage\Managers\Blob\BlobMetadataManager; +use Xray\AzureStoragePhpSdk\BlobStorage\{Config, Resource}; +use Xray\AzureStoragePhpSdk\Tests\Http\{RequestFake, ResponseFake}; uses()->group('blob-storage', 'managers', 'blobs'); diff --git a/tests/Feature/BlobStorage/Managers/Blob/BlobStorageBlobPageManagerTest.php b/tests/Feature/BlobStorage/Managers/Blob/BlobStorageBlobPageManagerTest.php index 722bd6c..bfd631b 100644 --- a/tests/Feature/BlobStorage/Managers/Blob/BlobStorageBlobPageManagerTest.php +++ b/tests/Feature/BlobStorage/Managers/Blob/BlobStorageBlobPageManagerTest.php @@ -2,14 +2,14 @@ declare(strict_types=1); -use Sjpereira\AzureStoragePhpSdk\Authentication\SharedKeyAuth; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\Entities\Blob\File; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\Enums\BlobType; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\Managers\Blob\{BlobManager, BlobPageManager}; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\{Config, Resource}; -use Sjpereira\AzureStoragePhpSdk\Exceptions\InvalidArgumentException; -use Sjpereira\AzureStoragePhpSdk\Http\Response as BaseResponse; -use Sjpereira\AzureStoragePhpSdk\Tests\Http\{RequestFake, ResponseFake}; +use Xray\AzureStoragePhpSdk\Authentication\SharedKeyAuth; +use Xray\AzureStoragePhpSdk\BlobStorage\Entities\Blob\File; +use Xray\AzureStoragePhpSdk\BlobStorage\Enums\BlobType; +use Xray\AzureStoragePhpSdk\BlobStorage\Managers\Blob\{BlobManager, BlobPageManager}; +use Xray\AzureStoragePhpSdk\BlobStorage\{Config, Resource}; +use Xray\AzureStoragePhpSdk\Exceptions\InvalidArgumentException; +use Xray\AzureStoragePhpSdk\Http\Response as BaseResponse; +use Xray\AzureStoragePhpSdk\Tests\Http\{RequestFake, ResponseFake}; uses()->group('blob-storage', 'managers', 'blobs'); diff --git a/tests/Feature/BlobStorage/Managers/Blob/BlobStorageBlobPropertyManagerTest.php b/tests/Feature/BlobStorage/Managers/Blob/BlobStorageBlobPropertyManagerTest.php index eedd10b..7de4541 100644 --- a/tests/Feature/BlobStorage/Managers/Blob/BlobStorageBlobPropertyManagerTest.php +++ b/tests/Feature/BlobStorage/Managers/Blob/BlobStorageBlobPropertyManagerTest.php @@ -2,11 +2,11 @@ declare(strict_types=1); -use Sjpereira\AzureStoragePhpSdk\Authentication\SharedKeyAuth; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\Config; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\Entities\Blob\BlobProperty; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\Managers\Blob\BlobPropertyManager; -use Sjpereira\AzureStoragePhpSdk\Tests\Http\{RequestFake, ResponseFake}; +use Xray\AzureStoragePhpSdk\Authentication\SharedKeyAuth; +use Xray\AzureStoragePhpSdk\BlobStorage\Config; +use Xray\AzureStoragePhpSdk\BlobStorage\Entities\Blob\BlobProperty; +use Xray\AzureStoragePhpSdk\BlobStorage\Managers\Blob\BlobPropertyManager; +use Xray\AzureStoragePhpSdk\Tests\Http\{RequestFake, ResponseFake}; uses()->group('blob-storage', 'managers', 'blobs'); diff --git a/tests/Feature/BlobStorage/Managers/Blob/BlobStorageBlobTagManagerTest.php b/tests/Feature/BlobStorage/Managers/Blob/BlobStorageBlobTagManagerTest.php index 797dc24..e5b32c0 100644 --- a/tests/Feature/BlobStorage/Managers/Blob/BlobStorageBlobTagManagerTest.php +++ b/tests/Feature/BlobStorage/Managers/Blob/BlobStorageBlobTagManagerTest.php @@ -2,12 +2,12 @@ declare(strict_types=1); -use Sjpereira\AzureStoragePhpSdk\Authentication\SharedKeyAuth; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\Entities\Blob\BlobTag; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\Managers\Blob\BlobTagManager; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\{Config, Resource}; -use Sjpereira\AzureStoragePhpSdk\Http\Response as BaseResponse; -use Sjpereira\AzureStoragePhpSdk\Tests\Http\{RequestFake, ResponseFake}; +use Xray\AzureStoragePhpSdk\Authentication\SharedKeyAuth; +use Xray\AzureStoragePhpSdk\BlobStorage\Entities\Blob\BlobTag; +use Xray\AzureStoragePhpSdk\BlobStorage\Managers\Blob\BlobTagManager; +use Xray\AzureStoragePhpSdk\BlobStorage\{Config, Resource}; +use Xray\AzureStoragePhpSdk\Http\Response as BaseResponse; +use Xray\AzureStoragePhpSdk\Tests\Http\{RequestFake, ResponseFake}; uses()->group('blob-storage', 'managers', 'blobs'); diff --git a/tests/Feature/BlobStorage/Managers/BlobStorageAccountManagerTest.php b/tests/Feature/BlobStorage/Managers/BlobStorageAccountManagerTest.php index 980a662..776f3b9 100644 --- a/tests/Feature/BlobStorage/Managers/BlobStorageAccountManagerTest.php +++ b/tests/Feature/BlobStorage/Managers/BlobStorageAccountManagerTest.php @@ -2,12 +2,12 @@ declare(strict_types=1); -use Sjpereira\AzureStoragePhpSdk\Authentication\SharedKeyAuth; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\Config; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\Entities\Account\{AccountInformation, GeoReplication, KeyInfo, UserDelegationKey}; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\Managers\Account\{PreflightBlobRequestManager, StoragePropertyManager}; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\Managers\AccountManager; -use Sjpereira\AzureStoragePhpSdk\Tests\Http\{RequestFake, ResponseFake}; +use Xray\AzureStoragePhpSdk\Authentication\SharedKeyAuth; +use Xray\AzureStoragePhpSdk\BlobStorage\Config; +use Xray\AzureStoragePhpSdk\BlobStorage\Entities\Account\{AccountInformation, GeoReplication, KeyInfo, UserDelegationKey}; +use Xray\AzureStoragePhpSdk\BlobStorage\Managers\Account\{PreflightBlobRequestManager, StoragePropertyManager}; +use Xray\AzureStoragePhpSdk\BlobStorage\Managers\AccountManager; +use Xray\AzureStoragePhpSdk\Tests\Http\{RequestFake, ResponseFake}; uses()->group('blob-storage', 'managers', 'accounts'); diff --git a/tests/Feature/BlobStorage/Managers/BlobStorageContainerManagerTest.php b/tests/Feature/BlobStorage/Managers/BlobStorageContainerManagerTest.php index bf040d8..63cde31 100644 --- a/tests/Feature/BlobStorage/Managers/BlobStorageContainerManagerTest.php +++ b/tests/Feature/BlobStorage/Managers/BlobStorageContainerManagerTest.php @@ -3,15 +3,15 @@ declare(strict_types=1); use Pest\Expectation; -use Sjpereira\AzureStoragePhpSdk\Authentication\SharedKeyAuth; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\Entities\Container\Properties; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\Entities\Container\{Container, ContainerProperties, Containers}; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\Managers\Container\{ContainerAccessLevelManager, ContainerLeaseManager, ContainerMetadataManager}; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\Managers\ContainerManager; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\{Config, Resource}; -use Sjpereira\AzureStoragePhpSdk\Exceptions\InvalidArgumentException; -use Sjpereira\AzureStoragePhpSdk\Http\Response as BaseResponse; -use Sjpereira\AzureStoragePhpSdk\Tests\Http\{RequestFake, ResponseFake}; +use Xray\AzureStoragePhpSdk\Authentication\SharedKeyAuth; +use Xray\AzureStoragePhpSdk\BlobStorage\Entities\Container\Properties; +use Xray\AzureStoragePhpSdk\BlobStorage\Entities\Container\{Container, ContainerProperties, Containers}; +use Xray\AzureStoragePhpSdk\BlobStorage\Managers\Container\{ContainerAccessLevelManager, ContainerLeaseManager, ContainerMetadataManager}; +use Xray\AzureStoragePhpSdk\BlobStorage\Managers\ContainerManager; +use Xray\AzureStoragePhpSdk\BlobStorage\{Config, Resource}; +use Xray\AzureStoragePhpSdk\Exceptions\InvalidArgumentException; +use Xray\AzureStoragePhpSdk\Http\Response as BaseResponse; +use Xray\AzureStoragePhpSdk\Tests\Http\{RequestFake, ResponseFake}; uses()->group('blob-storage', 'managers', 'containers'); diff --git a/tests/Feature/BlobStorage/Managers/Container/BlobStorageContainerAccessLevelManagerTest.php b/tests/Feature/BlobStorage/Managers/Container/BlobStorageContainerAccessLevelManagerTest.php index e20d466..8dfe73f 100644 --- a/tests/Feature/BlobStorage/Managers/Container/BlobStorageContainerAccessLevelManagerTest.php +++ b/tests/Feature/BlobStorage/Managers/Container/BlobStorageContainerAccessLevelManagerTest.php @@ -2,11 +2,11 @@ declare(strict_types=1); -use Sjpereira\AzureStoragePhpSdk\Authentication\SharedKeyAuth; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\Entities\Container\AccessLevel\{ContainerAccessLevel, ContainerAccessLevels}; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\Managers\Container\ContainerAccessLevelManager; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\{Config, Resource}; -use Sjpereira\AzureStoragePhpSdk\Tests\Http\{RequestFake, ResponseFake}; +use Xray\AzureStoragePhpSdk\Authentication\SharedKeyAuth; +use Xray\AzureStoragePhpSdk\BlobStorage\Entities\Container\AccessLevel\{ContainerAccessLevel, ContainerAccessLevels}; +use Xray\AzureStoragePhpSdk\BlobStorage\Managers\Container\ContainerAccessLevelManager; +use Xray\AzureStoragePhpSdk\BlobStorage\{Config, Resource}; +use Xray\AzureStoragePhpSdk\Tests\Http\{RequestFake, ResponseFake}; uses()->group('blob-storage', 'managers', 'containers'); diff --git a/tests/Feature/BlobStorage/Managers/Container/BlobStorageContainerLeaseManagerTest.php b/tests/Feature/BlobStorage/Managers/Container/BlobStorageContainerLeaseManagerTest.php index 80d50d6..b0e389d 100644 --- a/tests/Feature/BlobStorage/Managers/Container/BlobStorageContainerLeaseManagerTest.php +++ b/tests/Feature/BlobStorage/Managers/Container/BlobStorageContainerLeaseManagerTest.php @@ -2,11 +2,11 @@ declare(strict_types=1); -use Sjpereira\AzureStoragePhpSdk\Authentication\SharedKeyAuth; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\Entities\Container\ContainerLease; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\Managers\Container\ContainerLeaseManager; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\{Config, Resource}; -use Sjpereira\AzureStoragePhpSdk\Tests\Http\{RequestFake, ResponseFake}; +use Xray\AzureStoragePhpSdk\Authentication\SharedKeyAuth; +use Xray\AzureStoragePhpSdk\BlobStorage\Entities\Container\ContainerLease; +use Xray\AzureStoragePhpSdk\BlobStorage\Managers\Container\ContainerLeaseManager; +use Xray\AzureStoragePhpSdk\BlobStorage\{Config, Resource}; +use Xray\AzureStoragePhpSdk\Tests\Http\{RequestFake, ResponseFake}; uses()->group('blob-storage', 'managers', 'containers'); diff --git a/tests/Feature/BlobStorage/Managers/Container/BlobStorageContainerMetadataManagerTest.php b/tests/Feature/BlobStorage/Managers/Container/BlobStorageContainerMetadataManagerTest.php index 5ca2dfa..6640d57 100644 --- a/tests/Feature/BlobStorage/Managers/Container/BlobStorageContainerMetadataManagerTest.php +++ b/tests/Feature/BlobStorage/Managers/Container/BlobStorageContainerMetadataManagerTest.php @@ -2,12 +2,12 @@ declare(strict_types=1); -use Sjpereira\AzureStoragePhpSdk\Authentication\SharedKeyAuth; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\Entities\Container\ContainerMetadata; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\Managers\Container\ContainerMetadataManager; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\{Config, Resource}; -use Sjpereira\AzureStoragePhpSdk\Exceptions\InvalidArgumentException; -use Sjpereira\AzureStoragePhpSdk\Tests\Http\{RequestFake, ResponseFake}; +use Xray\AzureStoragePhpSdk\Authentication\SharedKeyAuth; +use Xray\AzureStoragePhpSdk\BlobStorage\Entities\Container\ContainerMetadata; +use Xray\AzureStoragePhpSdk\BlobStorage\Managers\Container\ContainerMetadataManager; +use Xray\AzureStoragePhpSdk\BlobStorage\{Config, Resource}; +use Xray\AzureStoragePhpSdk\Exceptions\InvalidArgumentException; +use Xray\AzureStoragePhpSdk\Tests\Http\{RequestFake, ResponseFake}; uses()->group('blob-storage', 'managers', 'containers'); diff --git a/tests/Feature/Converters/XmlConverterTest.php b/tests/Feature/Converters/XmlConverterTest.php index 3b56110..9869c36 100644 --- a/tests/Feature/Converters/XmlConverterTest.php +++ b/tests/Feature/Converters/XmlConverterTest.php @@ -2,9 +2,9 @@ declare(strict_types=1); -use Sjpereira\AzureStoragePhpSdk\Contracts\Converter; -use Sjpereira\AzureStoragePhpSdk\Converter\XmlConverter; -use Sjpereira\AzureStoragePhpSdk\Exceptions\UnableToConvertException; +use Xray\AzureStoragePhpSdk\Contracts\Converter; +use Xray\AzureStoragePhpSdk\Converter\XmlConverter; +use Xray\AzureStoragePhpSdk\Exceptions\UnableToConvertException; uses()->group('converters'); diff --git a/tests/Feature/Http/HeadersTest.php b/tests/Feature/Http/HeadersTest.php index ee5b8ae..bf2c076 100644 --- a/tests/Feature/Http/HeadersTest.php +++ b/tests/Feature/Http/HeadersTest.php @@ -2,9 +2,9 @@ declare(strict_types=1); -use Sjpereira\AzureStoragePhpSdk\BlobStorage\Resource; -use Sjpereira\AzureStoragePhpSdk\Exceptions\InvalidArgumentException; -use Sjpereira\AzureStoragePhpSdk\Http\Headers; +use Xray\AzureStoragePhpSdk\BlobStorage\Resource; +use Xray\AzureStoragePhpSdk\Exceptions\InvalidArgumentException; +use Xray\AzureStoragePhpSdk\Http\Headers; uses()->group('http'); diff --git a/tests/Feature/Http/RequestTest.php b/tests/Feature/Http/RequestTest.php index 985dd23..aa94446 100644 --- a/tests/Feature/Http/RequestTest.php +++ b/tests/Feature/Http/RequestTest.php @@ -7,11 +7,11 @@ use GuzzleHttp\Psr7\Response; use PHPUnit\Framework\Assert; use Psr\Http\Message\{RequestInterface, ResponseInterface}; -use Sjpereira\AzureStoragePhpSdk\Authentication\SharedKeyAuth; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\Enums\HttpVerb; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\{Config, Resource}; -use Sjpereira\AzureStoragePhpSdk\Contracts\Http\Response as HttpResponse; -use Sjpereira\AzureStoragePhpSdk\Http\Request; +use Xray\AzureStoragePhpSdk\Authentication\SharedKeyAuth; +use Xray\AzureStoragePhpSdk\BlobStorage\Enums\HttpVerb; +use Xray\AzureStoragePhpSdk\BlobStorage\{Config, Resource}; +use Xray\AzureStoragePhpSdk\Contracts\Http\Response as HttpResponse; +use Xray\AzureStoragePhpSdk\Http\Request; uses()->group('http'); diff --git a/tests/Feature/Http/ResponseTest.php b/tests/Feature/Http/ResponseTest.php index 55de0f7..67ace52 100644 --- a/tests/Feature/Http/ResponseTest.php +++ b/tests/Feature/Http/ResponseTest.php @@ -3,7 +3,7 @@ declare(strict_types=1); use GuzzleHttp\Psr7\Response as GuzzleResponse; -use Sjpereira\AzureStoragePhpSdk\Http\Response; +use Xray\AzureStoragePhpSdk\Http\Response; uses()->group('http'); diff --git a/tests/Feature/Parsers/XmlParserTest.php b/tests/Feature/Parsers/XmlParserTest.php index d9cda2f..e7bcf63 100644 --- a/tests/Feature/Parsers/XmlParserTest.php +++ b/tests/Feature/Parsers/XmlParserTest.php @@ -2,9 +2,9 @@ declare(strict_types=1); -use Sjpereira\AzureStoragePhpSdk\Contracts\Parser; -use Sjpereira\AzureStoragePhpSdk\Exceptions\UnableToParseException; -use Sjpereira\AzureStoragePhpSdk\Parsers\XmlParser; +use Xray\AzureStoragePhpSdk\Contracts\Parser; +use Xray\AzureStoragePhpSdk\Exceptions\UnableToParseException; +use Xray\AzureStoragePhpSdk\Parsers\XmlParser; uses()->group('parsers'); diff --git a/tests/Feature/Support/CollectionTest.php b/tests/Feature/Support/CollectionTest.php index 5acbed3..43021b0 100644 --- a/tests/Feature/Support/CollectionTest.php +++ b/tests/Feature/Support/CollectionTest.php @@ -2,7 +2,7 @@ declare(strict_types=1); -use Sjpereira\AzureStoragePhpSdk\Support\Collection; +use Xray\AzureStoragePhpSdk\Support\Collection; uses()->group('supports'); diff --git a/tests/Pest.php b/tests/Pest.php index eaabbcf..0ca6e81 100644 --- a/tests/Pest.php +++ b/tests/Pest.php @@ -1,6 +1,6 @@ expect(['dd', 'dump', 'die', 'exit', 'var_dump', 'var_export']) ->not->toBeUsed(); arch('should use strict types everywhere') - ->expect('Sjpereira\\AzureStoragePhpSdk') + ->expect('Xray\\AzureStoragePhpSdk') ->toUseStrictTypes(); arch('it should all entities be final') - ->expect('Sjpereira\\AzureStoragePhpSdk\\BlobStorage\\Entities') + ->expect('Xray\\AzureStoragePhpSdk\\BlobStorage\\Entities') ->classes() ->toBeFinal(); arch('it should all manger implements Manage interface') - ->expect('Sjpereira\\AzureStoragePhpSdk\\BlobStorage\\Managers') + ->expect('Xray\\AzureStoragePhpSdk\\BlobStorage\\Managers') ->classes() ->toImplement(Manager::class); diff --git a/tests/Unit/Concerns/HasManagerTest.php b/tests/Unit/Concerns/HasManagerTest.php index 0ae29fb..a974aae 100644 --- a/tests/Unit/Concerns/HasManagerTest.php +++ b/tests/Unit/Concerns/HasManagerTest.php @@ -2,9 +2,9 @@ declare(strict_types=1); -use Sjpereira\AzureStoragePhpSdk\Concerns\HasManager; -use Sjpereira\AzureStoragePhpSdk\Contracts\Manager; -use Sjpereira\AzureStoragePhpSdk\Exceptions\ManagerNotSetException; +use Xray\AzureStoragePhpSdk\Concerns\HasManager; +use Xray\AzureStoragePhpSdk\Contracts\Manager; +use Xray\AzureStoragePhpSdk\Exceptions\ManagerNotSetException; uses()->group('concerns', 'traits'); diff --git a/tests/Unit/Concerns/HasRequestSharedTest.php b/tests/Unit/Concerns/HasRequestSharedTest.php index 780929f..2d48895 100644 --- a/tests/Unit/Concerns/HasRequestSharedTest.php +++ b/tests/Unit/Concerns/HasRequestSharedTest.php @@ -2,11 +2,11 @@ declare(strict_types=1); -use Sjpereira\AzureStoragePhpSdk\Authentication\SharedKeyAuth; -use Sjpereira\AzureStoragePhpSdk\BlobStorage\Config; -use Sjpereira\AzureStoragePhpSdk\Concerns\HasRequestShared; -use Sjpereira\AzureStoragePhpSdk\Contracts\Http\Request; -use Sjpereira\AzureStoragePhpSdk\Tests\Http\RequestFake; +use Xray\AzureStoragePhpSdk\Authentication\SharedKeyAuth; +use Xray\AzureStoragePhpSdk\BlobStorage\Config; +use Xray\AzureStoragePhpSdk\Concerns\HasRequestShared; +use Xray\AzureStoragePhpSdk\Contracts\Http\Request; +use Xray\AzureStoragePhpSdk\Tests\Http\RequestFake; uses()->group('concerns', 'traits'); diff --git a/tests/Unit/Exceptions/CouldNotCreateTempFileExceptionTest.php b/tests/Unit/Exceptions/CouldNotCreateTempFileExceptionTest.php index 801aef1..ba4ab32 100644 --- a/tests/Unit/Exceptions/CouldNotCreateTempFileExceptionTest.php +++ b/tests/Unit/Exceptions/CouldNotCreateTempFileExceptionTest.php @@ -2,7 +2,7 @@ declare(strict_types=1); -use Sjpereira\AzureStoragePhpSdk\Exceptions\CouldNotCreateTempFileException; +use Xray\AzureStoragePhpSdk\Exceptions\CouldNotCreateTempFileException; uses()->group('exceptions'); diff --git a/tests/Unit/Exceptions/InvalidArgumentExceptionTest.php b/tests/Unit/Exceptions/InvalidArgumentExceptionTest.php index 1d75112..94dbb7d 100644 --- a/tests/Unit/Exceptions/InvalidArgumentExceptionTest.php +++ b/tests/Unit/Exceptions/InvalidArgumentExceptionTest.php @@ -2,7 +2,7 @@ declare(strict_types=1); -use Sjpereira\AzureStoragePhpSdk\Exceptions\InvalidArgumentException; +use Xray\AzureStoragePhpSdk\Exceptions\InvalidArgumentException; uses()->group('exceptions'); diff --git a/tests/Unit/Exceptions/InvalidFileMimeTypeExceptionTest.php b/tests/Unit/Exceptions/InvalidFileMimeTypeExceptionTest.php index 55e52e2..2389ef5 100644 --- a/tests/Unit/Exceptions/InvalidFileMimeTypeExceptionTest.php +++ b/tests/Unit/Exceptions/InvalidFileMimeTypeExceptionTest.php @@ -2,7 +2,7 @@ declare(strict_types=1); -use Sjpereira\AzureStoragePhpSdk\Exceptions\InvalidFileMimeTypeException; +use Xray\AzureStoragePhpSdk\Exceptions\InvalidFileMimeTypeException; uses()->group('exceptions'); diff --git a/tests/Unit/Exceptions/ManagerNotSetExceptionTest.php b/tests/Unit/Exceptions/ManagerNotSetExceptionTest.php index 21c7797..54f5577 100644 --- a/tests/Unit/Exceptions/ManagerNotSetExceptionTest.php +++ b/tests/Unit/Exceptions/ManagerNotSetExceptionTest.php @@ -2,7 +2,7 @@ declare(strict_types=1); -use Sjpereira\AzureStoragePhpSdk\Exceptions\ManagerNotSetException; +use Xray\AzureStoragePhpSdk\Exceptions\ManagerNotSetException; uses()->group('exceptions'); diff --git a/tests/Unit/Exceptions/RequestExceptionTest.php b/tests/Unit/Exceptions/RequestExceptionTest.php index 4062f69..5b6a03b 100644 --- a/tests/Unit/Exceptions/RequestExceptionTest.php +++ b/tests/Unit/Exceptions/RequestExceptionTest.php @@ -4,8 +4,8 @@ use GuzzleHttp\Exception\RequestException as GuzzleRequestException; use GuzzleHttp\Psr7\{Request, Response}; -use Sjpereira\AzureStoragePhpSdk\Exceptions\RequestException; -use Sjpereira\AzureStoragePhpSdk\Exceptions\RequestException\FailedAuthenticationException; +use Xray\AzureStoragePhpSdk\Exceptions\RequestException; +use Xray\AzureStoragePhpSdk\Exceptions\RequestException\FailedAuthenticationException; uses()->group('exceptions'); diff --git a/tests/Unit/Exceptions/RequiredFieldExceptionTest.php b/tests/Unit/Exceptions/RequiredFieldExceptionTest.php index d1efe02..bf32c0d 100644 --- a/tests/Unit/Exceptions/RequiredFieldExceptionTest.php +++ b/tests/Unit/Exceptions/RequiredFieldExceptionTest.php @@ -2,7 +2,7 @@ declare(strict_types=1); -use Sjpereira\AzureStoragePhpSdk\Exceptions\RequiredFieldException; +use Xray\AzureStoragePhpSdk\Exceptions\RequiredFieldException; uses()->group('exceptions'); diff --git a/tests/Unit/Exceptions/UnableToConvertExceptionTest.php b/tests/Unit/Exceptions/UnableToConvertExceptionTest.php index 50d2d3e..ec4f590 100644 --- a/tests/Unit/Exceptions/UnableToConvertExceptionTest.php +++ b/tests/Unit/Exceptions/UnableToConvertExceptionTest.php @@ -2,7 +2,7 @@ declare(strict_types=1); -use Sjpereira\AzureStoragePhpSdk\Exceptions\UnableToConvertException; +use Xray\AzureStoragePhpSdk\Exceptions\UnableToConvertException; uses()->group('exceptions'); diff --git a/tests/Unit/Exceptions/UnableToParseExceptionTest.php b/tests/Unit/Exceptions/UnableToParseExceptionTest.php index 4569732..d2f8d8f 100644 --- a/tests/Unit/Exceptions/UnableToParseExceptionTest.php +++ b/tests/Unit/Exceptions/UnableToParseExceptionTest.php @@ -2,7 +2,7 @@ declare(strict_types=1); -use Sjpereira\AzureStoragePhpSdk\Exceptions\UnableToParseException; +use Xray\AzureStoragePhpSdk\Exceptions\UnableToParseException; uses()->group('exceptions'); From c1bd757cd80d384061f79dda0d525dd936eb1ea5 Mon Sep 17 00:00:00 2001 From: Silvio Pereira Date: Sat, 27 Jul 2024 11:50:32 -0300 Subject: [PATCH 2/2] run composer fix --- src/Authentication/MicrosoftEntraId.php | 4 ++-- src/Exceptions/RequestException.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Authentication/MicrosoftEntraId.php b/src/Authentication/MicrosoftEntraId.php index a7db688..9e0ac7e 100644 --- a/src/Authentication/MicrosoftEntraId.php +++ b/src/Authentication/MicrosoftEntraId.php @@ -10,7 +10,7 @@ use Xray\AzureStoragePhpSdk\BlobStorage\Enums\HttpVerb; use Xray\AzureStoragePhpSdk\Contracts\Authentication\Auth; use Xray\AzureStoragePhpSdk\Exceptions\RequestException; -use Xray\AzureStoragePhpSdk\Http\{Headers}; +use Xray\AzureStoragePhpSdk\Http\Headers; final class MicrosoftEntraId implements Auth { @@ -66,7 +66,7 @@ protected function authenticate(): void throw RequestException::createFromRequestException($e); } - /** @var array{token_type: string, expires_in: int, access_token: string} */ + /** @var array{token_type: string, expires_in: int, access_token: string} $body */ $body = json_decode((string) $response->getBody(), true); $this->token = "{$body['token_type']} {$body['access_token']}"; diff --git a/src/Exceptions/RequestException.php b/src/Exceptions/RequestException.php index 0dc80ba..49a7ddb 100644 --- a/src/Exceptions/RequestException.php +++ b/src/Exceptions/RequestException.php @@ -6,8 +6,8 @@ use Exception; use Psr\Http\Client\RequestExceptionInterface; -use Xray\AzureStoragePhpSdk\Exceptions\RequestException\FailedAuthenticationException; use Throwable; +use Xray\AzureStoragePhpSdk\Exceptions\RequestException\FailedAuthenticationException; class RequestException extends Exception {