diff --git a/src/Authenticator.php b/src/Authenticator.php index 427c406..e80375f 100644 --- a/src/Authenticator.php +++ b/src/Authenticator.php @@ -4,7 +4,7 @@ namespace Intervention\HttpAuth; -use Intervention\HttpAuth\Exception\NotSupportedException; +use Intervention\HttpAuth\Exceptions\NotSupportedException; use Intervention\HttpAuth\Interfaces\VaultInterface; use Intervention\HttpAuth\Vault\BasicVault; use Intervention\HttpAuth\Vault\DigestVault; diff --git a/src/Environment.php b/src/Environment.php index ee46314..181681b 100644 --- a/src/Environment.php +++ b/src/Environment.php @@ -4,7 +4,7 @@ namespace Intervention\HttpAuth; -use Intervention\HttpAuth\Exception\AuthentificationException; +use Intervention\HttpAuth\Exceptions\AuthentificationException; use Intervention\HttpAuth\Interfaces\EnvironmentInterface; use Intervention\HttpAuth\Interfaces\TokenInterface; diff --git a/src/Exception/AuthentificationException.php b/src/Exceptions/AuthentificationException.php similarity index 72% rename from src/Exception/AuthentificationException.php rename to src/Exceptions/AuthentificationException.php index 2dfaec1..381c5e0 100644 --- a/src/Exception/AuthentificationException.php +++ b/src/Exceptions/AuthentificationException.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Intervention\HttpAuth\Exception; +namespace Intervention\HttpAuth\Exceptions; use RuntimeException; diff --git a/src/Exception/NotSupportedException.php b/src/Exceptions/NotSupportedException.php similarity index 72% rename from src/Exception/NotSupportedException.php rename to src/Exceptions/NotSupportedException.php index 209e521..d10f3be 100644 --- a/src/Exception/NotSupportedException.php +++ b/src/Exceptions/NotSupportedException.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Intervention\HttpAuth\Exception; +namespace Intervention\HttpAuth\Exceptions; use RuntimeException; diff --git a/src/Interfaces/EnvironmentInterface.php b/src/Interfaces/EnvironmentInterface.php index 4e38340..6c2eaff 100644 --- a/src/Interfaces/EnvironmentInterface.php +++ b/src/Interfaces/EnvironmentInterface.php @@ -4,7 +4,7 @@ namespace Intervention\HttpAuth\Interfaces; -use Intervention\HttpAuth\Exception\AuthentificationException; +use Intervention\HttpAuth\Exceptions\AuthentificationException; interface EnvironmentInterface { diff --git a/src/Interfaces/VaultInterface.php b/src/Interfaces/VaultInterface.php index 4d2c15e..d6503e8 100644 --- a/src/Interfaces/VaultInterface.php +++ b/src/Interfaces/VaultInterface.php @@ -4,7 +4,7 @@ namespace Intervention\HttpAuth\Interfaces; -use Intervention\HttpAuth\Exception\AuthentificationException; +use Intervention\HttpAuth\Exceptions\AuthentificationException; use Intervention\HttpAuth\Type; interface VaultInterface diff --git a/src/Token/HttpAuthentification.php b/src/Token/HttpAuthentification.php index 499731c..2def96c 100644 --- a/src/Token/HttpAuthentification.php +++ b/src/Token/HttpAuthentification.php @@ -4,7 +4,7 @@ namespace Intervention\HttpAuth\Token; -use Intervention\HttpAuth\Exception\AuthentificationException; +use Intervention\HttpAuth\Exceptions\AuthentificationException; class HttpAuthentification extends AbstractToken { diff --git a/src/Token/HttpAuthorization.php b/src/Token/HttpAuthorization.php index 4047380..a782c7d 100644 --- a/src/Token/HttpAuthorization.php +++ b/src/Token/HttpAuthorization.php @@ -4,7 +4,7 @@ namespace Intervention\HttpAuth\Token; -use Intervention\HttpAuth\Exception\AuthentificationException; +use Intervention\HttpAuth\Exceptions\AuthentificationException; class HttpAuthorization extends AbstractToken { diff --git a/src/Token/PhpAuthDigest.php b/src/Token/PhpAuthDigest.php index 2a2a406..e22b1c0 100644 --- a/src/Token/PhpAuthDigest.php +++ b/src/Token/PhpAuthDigest.php @@ -4,7 +4,7 @@ namespace Intervention\HttpAuth\Token; -use Intervention\HttpAuth\Exception\AuthentificationException; +use Intervention\HttpAuth\Exceptions\AuthentificationException; class PhpAuthDigest extends AbstractToken { diff --git a/src/Token/PhpAuthUser.php b/src/Token/PhpAuthUser.php index 46ec134..61e392b 100644 --- a/src/Token/PhpAuthUser.php +++ b/src/Token/PhpAuthUser.php @@ -4,7 +4,7 @@ namespace Intervention\HttpAuth\Token; -use Intervention\HttpAuth\Exception\AuthentificationException; +use Intervention\HttpAuth\Exceptions\AuthentificationException; class PhpAuthUser extends AbstractToken { diff --git a/src/Token/RedirectHttpAuthorization.php b/src/Token/RedirectHttpAuthorization.php index d146554..451abec 100644 --- a/src/Token/RedirectHttpAuthorization.php +++ b/src/Token/RedirectHttpAuthorization.php @@ -4,7 +4,7 @@ namespace Intervention\HttpAuth\Token; -use Intervention\HttpAuth\Exception\AuthentificationException; +use Intervention\HttpAuth\Exceptions\AuthentificationException; class RedirectHttpAuthorization extends AbstractToken { diff --git a/src/Vault/AbstractVault.php b/src/Vault/AbstractVault.php index ee974da..aa951e4 100644 --- a/src/Vault/AbstractVault.php +++ b/src/Vault/AbstractVault.php @@ -5,7 +5,7 @@ namespace Intervention\HttpAuth\Vault; use Intervention\HttpAuth\Environment; -use Intervention\HttpAuth\Exception\AuthentificationException; +use Intervention\HttpAuth\Exceptions\AuthentificationException; use Intervention\HttpAuth\Interfaces\TokenInterface; use Intervention\HttpAuth\Interfaces\VaultInterface; use SensitiveParameter; diff --git a/src/Vault/BasicVault.php b/src/Vault/BasicVault.php index bdb670f..895a35a 100644 --- a/src/Vault/BasicVault.php +++ b/src/Vault/BasicVault.php @@ -5,7 +5,7 @@ namespace Intervention\HttpAuth\Vault; use Intervention\HttpAuth\Directive; -use Intervention\HttpAuth\Exception\AuthentificationException; +use Intervention\HttpAuth\Exceptions\AuthentificationException; use Intervention\HttpAuth\Interfaces\DirectiveInterface; use Intervention\HttpAuth\Interfaces\TokenInterface; use Intervention\HttpAuth\Type; diff --git a/src/Vault/DigestVault.php b/src/Vault/DigestVault.php index ad36d96..a8de885 100644 --- a/src/Vault/DigestVault.php +++ b/src/Vault/DigestVault.php @@ -5,7 +5,7 @@ namespace Intervention\HttpAuth\Vault; use Intervention\HttpAuth\Directive; -use Intervention\HttpAuth\Exception\AuthentificationException; +use Intervention\HttpAuth\Exceptions\AuthentificationException; use Intervention\HttpAuth\Interfaces\DirectiveInterface; use Intervention\HttpAuth\Interfaces\TokenInterface; use Intervention\HttpAuth\Type; diff --git a/tests/Unit/Token/HttpAuthentificationTest.php b/tests/Unit/Token/HttpAuthentificationTest.php index 20f5622..23235ed 100644 --- a/tests/Unit/Token/HttpAuthentificationTest.php +++ b/tests/Unit/Token/HttpAuthentificationTest.php @@ -4,7 +4,7 @@ namespace Intervention\HttpAuth\Tests\Unit\Token; -use Intervention\HttpAuth\Exception\AuthentificationException; +use Intervention\HttpAuth\Exceptions\AuthentificationException; use Intervention\HttpAuth\Tests\TestCase; use Intervention\HttpAuth\Token\HttpAuthentification; diff --git a/tests/Unit/Token/HttpAuthorizationTest.php b/tests/Unit/Token/HttpAuthorizationTest.php index 90bef0e..415f2fa 100644 --- a/tests/Unit/Token/HttpAuthorizationTest.php +++ b/tests/Unit/Token/HttpAuthorizationTest.php @@ -4,7 +4,7 @@ namespace Intervention\HttpAuth\Tests\Unit\Token; -use Intervention\HttpAuth\Exception\AuthentificationException; +use Intervention\HttpAuth\Exceptions\AuthentificationException; use Intervention\HttpAuth\Tests\TestCase; use Intervention\HttpAuth\Token\HttpAuthorization; diff --git a/tests/Unit/Token/PhpAuthDigestTest.php b/tests/Unit/Token/PhpAuthDigestTest.php index 7b34b4a..61261bd 100644 --- a/tests/Unit/Token/PhpAuthDigestTest.php +++ b/tests/Unit/Token/PhpAuthDigestTest.php @@ -4,7 +4,7 @@ namespace Intervention\HttpAuth\Tests\Unit\Token; -use Intervention\HttpAuth\Exception\AuthentificationException; +use Intervention\HttpAuth\Exceptions\AuthentificationException; use Intervention\HttpAuth\Tests\TestCase; use Intervention\HttpAuth\Token\PhpAuthDigest; diff --git a/tests/Unit/Token/PhpAuthUserTest.php b/tests/Unit/Token/PhpAuthUserTest.php index fab451c..b6ef9f8 100644 --- a/tests/Unit/Token/PhpAuthUserTest.php +++ b/tests/Unit/Token/PhpAuthUserTest.php @@ -4,7 +4,7 @@ namespace Intervention\HttpAuth\Tests\Unit\Token; -use Intervention\HttpAuth\Exception\AuthentificationException; +use Intervention\HttpAuth\Exceptions\AuthentificationException; use Intervention\HttpAuth\Tests\TestCase; use Intervention\HttpAuth\Token\PhpAuthUser; diff --git a/tests/Unit/Token/RedirectHttpAuthorizationTest.php b/tests/Unit/Token/RedirectHttpAuthorizationTest.php index fb3ac01..fe96f2a 100644 --- a/tests/Unit/Token/RedirectHttpAuthorizationTest.php +++ b/tests/Unit/Token/RedirectHttpAuthorizationTest.php @@ -4,7 +4,7 @@ namespace Intervention\HttpAuth\Tests\Unit\Token; -use Intervention\HttpAuth\Exception\AuthentificationException; +use Intervention\HttpAuth\Exceptions\AuthentificationException; use Intervention\HttpAuth\Tests\TestCase; use Intervention\HttpAuth\Token\RedirectHttpAuthorization; diff --git a/tests/Unit/Vault/BasicVaultTest.php b/tests/Unit/Vault/BasicVaultTest.php index 7bab8b6..fab15f5 100644 --- a/tests/Unit/Vault/BasicVaultTest.php +++ b/tests/Unit/Vault/BasicVaultTest.php @@ -6,7 +6,7 @@ use Intervention\HttpAuth\Vault\BasicVault; use Intervention\HttpAuth\Directive; -use Intervention\HttpAuth\Exception\AuthentificationException; +use Intervention\HttpAuth\Exceptions\AuthentificationException; use Intervention\HttpAuth\Token\HttpAuthentification; use Intervention\HttpAuth\Token\HttpAuthorization; use Intervention\HttpAuth\Token\PhpAuthDigest; diff --git a/tests/Unit/Vault/DigestVaultTest.php b/tests/Unit/Vault/DigestVaultTest.php index 4a7b054..6fb7bd6 100644 --- a/tests/Unit/Vault/DigestVaultTest.php +++ b/tests/Unit/Vault/DigestVaultTest.php @@ -5,7 +5,7 @@ namespace Intervention\HttpAuth\Tests\Unit\Vault; use Intervention\HttpAuth\Directive; -use Intervention\HttpAuth\Exception\AuthentificationException; +use Intervention\HttpAuth\Exceptions\AuthentificationException; use Intervention\HttpAuth\Token\HttpAuthentification; use Intervention\HttpAuth\Token\HttpAuthorization; use Intervention\HttpAuth\Token\PhpAuthDigest;