From edbe65917492c026ca9ebfdfd5128178b8760906 Mon Sep 17 00:00:00 2001 From: Pooya Parsa Dadashi Date: Sun, 22 Oct 2023 06:12:43 +0330 Subject: [PATCH] style: add copyright to all files with linter --- .php-cs-fixer.dist.php | 15 ++++++++++++++- rector.php | 9 +++++++++ src/Auth.php | 9 +++++++++ src/Authentication/Actions/ActionInterface.php | 9 +++++++++ src/Authentication/Actions/Email2FA.php | 9 +++++++++ src/Authentication/Actions/EmailActivator.php | 9 +++++++++ src/Authentication/Authentication.php | 9 +++++++++ src/Authentication/AuthenticationException.php | 9 +++++++++ src/Authentication/AuthenticatorInterface.php | 9 +++++++++ .../Authenticators/AccessTokens.php | 9 +++++++++ src/Authentication/Authenticators/HmacSha256.php | 9 +++++++++ src/Authentication/Authenticators/JWT.php | 9 +++++++++ src/Authentication/Authenticators/Session.php | 9 +++++++++ .../JWT/Adapters/FirebaseAdapter.php | 9 +++++++++ .../JWT/Exceptions/InvalidTokenException.php | 9 +++++++++ src/Authentication/JWT/JWSAdapterInterface.php | 9 +++++++++ src/Authentication/JWT/JWSDecoder.php | 9 +++++++++ src/Authentication/JWT/JWSEncoder.php | 9 +++++++++ src/Authentication/JWTManager.php | 9 +++++++++ src/Authentication/Passwords.php | 9 +++++++++ src/Authentication/Passwords/BaseValidator.php | 9 +++++++++ .../Passwords/CompositionValidator.php | 9 +++++++++ .../Passwords/DictionaryValidator.php | 9 +++++++++ .../Passwords/NothingPersonalValidator.php | 9 +++++++++ src/Authentication/Passwords/PwnedValidator.php | 9 +++++++++ src/Authentication/Passwords/ValidationRules.php | 9 +++++++++ .../Passwords/ValidatorInterface.php | 9 +++++++++ src/Authentication/Traits/HasAccessTokens.php | 9 +++++++++ src/Authentication/Traits/HasHmacTokens.php | 9 +++++++++ src/Authorization/AuthorizationException.php | 9 +++++++++ src/Authorization/Groups.php | 9 +++++++++ src/Authorization/Traits/Authorizable.php | 9 +++++++++ src/Collectors/Auth.php | 9 +++++++++ src/Commands/BaseCommand.php | 9 +++++++++ src/Commands/Exceptions/BadInputException.php | 9 +++++++++ src/Commands/Exceptions/CancelException.php | 9 +++++++++ src/Commands/Generators/UserModelGenerator.php | 9 +++++++++ src/Commands/Setup.php | 9 +++++++++ src/Commands/Setup/ContentReplacer.php | 9 +++++++++ src/Commands/User.php | 9 +++++++++ src/Commands/Utils/InputOutput.php | 9 +++++++++ src/Config/Auth.php | 9 +++++++++ src/Config/AuthGroups.php | 9 +++++++++ src/Config/AuthJWT.php | 9 +++++++++ src/Config/AuthRoutes.php | 9 +++++++++ src/Config/AuthToken.php | 9 +++++++++ src/Config/Registrar.php | 9 +++++++++ src/Config/Services.php | 9 +++++++++ src/Controllers/ActionController.php | 9 +++++++++ src/Controllers/LoginController.php | 9 +++++++++ src/Controllers/MagicLinkController.php | 9 +++++++++ src/Controllers/RegisterController.php | 9 +++++++++ .../2020-12-28-223112_create_auth_tables.php | 9 +++++++++ src/Entities/AccessToken.php | 9 +++++++++ src/Entities/Cast/IntBoolCast.php | 9 +++++++++ src/Entities/Entity.php | 9 +++++++++ src/Entities/Group.php | 9 +++++++++ src/Entities/Login.php | 9 +++++++++ src/Entities/User.php | 9 +++++++++ src/Entities/UserIdentity.php | 9 +++++++++ src/Exceptions/BaseException.php | 9 +++++++++ src/Exceptions/GroupException.php | 9 +++++++++ src/Exceptions/InvalidArgumentException.php | 9 +++++++++ src/Exceptions/LogicException.php | 9 +++++++++ src/Exceptions/PermissionException.php | 9 +++++++++ src/Exceptions/RuntimeException.php | 9 +++++++++ src/Exceptions/SecurityException.php | 9 +++++++++ src/Exceptions/UserNotFoundException.php | 9 +++++++++ src/Exceptions/ValidationException.php | 9 +++++++++ src/Filters/AbstractAuthFilter.php | 9 +++++++++ src/Filters/AuthRates.php | 9 +++++++++ src/Filters/ChainAuth.php | 9 +++++++++ src/Filters/ForcePasswordResetFilter.php | 9 +++++++++ src/Filters/GroupFilter.php | 9 +++++++++ src/Filters/HmacAuth.php | 9 +++++++++ src/Filters/JWTAuth.php | 9 +++++++++ src/Filters/PermissionFilter.php | 9 +++++++++ src/Filters/SessionAuth.php | 9 +++++++++ src/Filters/TokenAuth.php | 9 +++++++++ src/Helpers/auth_helper.php | 9 +++++++++ src/Helpers/email_helper.php | 9 +++++++++ src/Language/ar/Auth.php | 9 +++++++++ src/Language/bg/Auth.php | 9 +++++++++ src/Language/de/Auth.php | 9 +++++++++ src/Language/en/Auth.php | 9 +++++++++ src/Language/es/Auth.php | 9 +++++++++ src/Language/fa/Auth.php | 9 +++++++++ src/Language/fr/Auth.php | 9 +++++++++ src/Language/id/Auth.php | 9 +++++++++ src/Language/it/Auth.php | 9 +++++++++ src/Language/ja/Auth.php | 9 +++++++++ src/Language/lt/Auth.php | 9 +++++++++ src/Language/pt-BR/Auth.php | 9 +++++++++ src/Language/pt/Auth.php | 9 +++++++++ src/Language/sk/Auth.php | 9 +++++++++ src/Language/sr/Auth.php | 9 +++++++++ src/Language/sv-SE/Auth.php | 9 +++++++++ src/Language/tr/Auth.php | 9 +++++++++ src/Language/uk/Auth.php | 9 +++++++++ src/Models/BaseModel.php | 9 +++++++++ src/Models/CheckQueryReturnTrait.php | 9 +++++++++ src/Models/DatabaseException.php | 9 +++++++++ src/Models/GroupModel.php | 9 +++++++++ src/Models/LoginModel.php | 9 +++++++++ src/Models/PermissionModel.php | 9 +++++++++ src/Models/RememberModel.php | 9 +++++++++ src/Models/TokenLoginModel.php | 9 +++++++++ src/Models/UserIdentityModel.php | 9 +++++++++ src/Models/UserModel.php | 9 +++++++++ src/Result.php | 9 +++++++++ src/Test/AuthenticationTesting.php | 9 +++++++++ src/Test/MockInputOutput.php | 9 +++++++++ src/Traits/Activatable.php | 9 +++++++++ src/Traits/Bannable.php | 9 +++++++++ src/Traits/Resettable.php | 9 +++++++++ src/Traits/Viewable.php | 9 +++++++++ src/Validation/ValidationRules.php | 9 +++++++++ tests/Authentication/AccessTokenTest.php | 9 +++++++++ tests/Authentication/AuthHelperTest.php | 9 +++++++++ tests/Authentication/AuthTest.php | 9 +++++++++ tests/Authentication/AuthenticationTest.php | 9 +++++++++ .../AccessTokenAuthenticatorTest.php | 9 +++++++++ .../Authenticators/HmacAuthenticatorTest.php | 9 +++++++++ .../Authenticators/JWTAuthenticatorTest.php | 9 +++++++++ .../Authenticators/SessionAuthenticatorTest.php | 9 +++++++++ .../Filters/AbstractFilterTestCase.php | 9 +++++++++ tests/Authentication/Filters/ChainFilterTest.php | 9 +++++++++ tests/Authentication/Filters/GroupFilterTest.php | 9 +++++++++ tests/Authentication/Filters/HmacFilterTest.php | 9 +++++++++ tests/Authentication/Filters/JWTFilterTest.php | 9 +++++++++ .../Filters/PermissionFilterTest.php | 9 +++++++++ .../Authentication/Filters/SessionFilterTest.php | 9 +++++++++ tests/Authentication/Filters/TokenFilterTest.php | 9 +++++++++ tests/Authentication/ForcePasswordResetTest.php | 9 +++++++++ tests/Authentication/HasAccessTokensTest.php | 9 +++++++++ tests/Authentication/HasHmacTokensTest.php | 9 +++++++++ tests/Authentication/MagicLinkTest.php | 9 +++++++++ tests/Authorization/AuthorizableTest.php | 9 +++++++++ tests/Authorization/GroupTest.php | 9 +++++++++ tests/Authorization/GroupsTest.php | 9 +++++++++ tests/Collectors/AuthTest.php | 9 +++++++++ tests/Commands/Setup/ContentReplacerTest.php | 9 +++++++++ tests/Commands/SetupTest.php | 9 +++++++++ tests/Commands/UserModelGeneratorTest.php | 9 +++++++++ tests/Commands/UserTest.php | 9 +++++++++ tests/Controllers/ActionsTest.php | 9 +++++++++ tests/Controllers/LoginTest.php | 9 +++++++++ tests/Controllers/MagicLinkTest.php | 9 +++++++++ tests/Controllers/RegisterTest.php | 9 +++++++++ tests/Language/AbstractTranslationTestCase.php | 2 +- tests/Language/ArabicTranslationTest.php | 2 +- tests/Language/BrazilianTranslationTest.php | 9 +++++++++ tests/Language/BulgarianTranslationTest.php | 2 +- tests/Language/FarsiTranslationTest.php | 2 +- tests/Language/FrenchTranslationTest.php | 2 +- tests/Language/GermanTranslationTest.php | 2 +- tests/Language/IndonesianTranslationTest.php | 2 +- tests/Language/ItalianTranslationTest.php | 9 +++++++++ tests/Language/JapaneseTranslationTest.php | 2 +- tests/Language/LithuanianTranslationTest.php | 2 +- tests/Language/PortugueseTranslationTest.php | 9 +++++++++ tests/Language/SerbianTranslationTest.php | 2 +- tests/Language/SlovakTranslationTest.php | 2 +- tests/Language/SpanishTranslationTest.php | 2 +- tests/Language/SwedishTranslationTest.php | 2 +- tests/Language/TurkishTranslationTest.php | 2 +- tests/Language/UkrainianTranslationTest.php | 2 +- tests/Unit/AuthRoutesTest.php | 9 +++++++++ .../JWT/Adapters/FirebaseAdapaterTest.php | 9 +++++++++ tests/Unit/Authentication/JWT/JWTManagerTest.php | 9 +++++++++ tests/Unit/CompositionValidatorTest.php | 9 +++++++++ tests/Unit/DictionaryValidatorTest.php | 9 +++++++++ tests/Unit/EmailActivatorTest.php | 9 +++++++++ tests/Unit/FilterInCliTest.php | 9 +++++++++ tests/Unit/LoginModelTest.php | 9 +++++++++ tests/Unit/NothingPersonalValidatorTest.php | 9 +++++++++ tests/Unit/PasswordsTest.php | 9 +++++++++ tests/Unit/PwnedValidatorTest.php | 9 +++++++++ tests/Unit/UserIdentityModelTest.php | 9 +++++++++ tests/Unit/UserModelTest.php | 9 +++++++++ tests/Unit/UserTest.php | 9 +++++++++ tests/_support/Config/Registrar.php | 2 +- tests/_support/DatabaseTestCase.php | 9 +++++++++ tests/_support/FakeUser.php | 9 +++++++++ tests/_support/TestCase.php | 9 +++++++++ 185 files changed, 1542 insertions(+), 17 deletions(-) diff --git a/.php-cs-fixer.dist.php b/.php-cs-fixer.dist.php index 5636649d5..0e986f3c2 100644 --- a/.php-cs-fixer.dist.php +++ b/.php-cs-fixer.dist.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + use CodeIgniter\CodingStandard\CodeIgniter4; use Nexus\CsConfig\Factory; use PhpCsFixer\Finder; @@ -28,4 +37,8 @@ 'cacheFile' => 'build/.php-cs-fixer.cache', ]; -return Factory::create(new CodeIgniter4(), $overrides, $options)->forProjects(); +return Factory::create(new CodeIgniter4(), $overrides, $options)->forLibrary( + 'CodeIgniter Shield', + 'CodeIgniter Foundation', + 'admin@codeigniter.com' +); diff --git a/rector.php b/rector.php index 76a02ab28..04b2685d8 100644 --- a/rector.php +++ b/rector.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + use Rector\CodeQuality\Rector\BooleanAnd\SimplifyEmptyArrayCheckRector; use Rector\CodeQuality\Rector\Class_\CompleteDynamicPropertiesRector; use Rector\CodeQuality\Rector\Expression\InlineIfToExplicitIfRector; diff --git a/src/Auth.php b/src/Auth.php index 28b2b0f0b..6a84c5cd7 100644 --- a/src/Auth.php +++ b/src/Auth.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace CodeIgniter\Shield; use CodeIgniter\Router\RouteCollection; diff --git a/src/Authentication/Actions/ActionInterface.php b/src/Authentication/Actions/ActionInterface.php index 73b625b06..b2025bde3 100644 --- a/src/Authentication/Actions/ActionInterface.php +++ b/src/Authentication/Actions/ActionInterface.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace CodeIgniter\Shield\Authentication\Actions; use CodeIgniter\HTTP\IncomingRequest; diff --git a/src/Authentication/Actions/Email2FA.php b/src/Authentication/Actions/Email2FA.php index 54883b7be..2d9cf2bd3 100644 --- a/src/Authentication/Actions/Email2FA.php +++ b/src/Authentication/Actions/Email2FA.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace CodeIgniter\Shield\Authentication\Actions; use CodeIgniter\HTTP\IncomingRequest; diff --git a/src/Authentication/Actions/EmailActivator.php b/src/Authentication/Actions/EmailActivator.php index 5017798f0..f91316cc3 100644 --- a/src/Authentication/Actions/EmailActivator.php +++ b/src/Authentication/Actions/EmailActivator.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace CodeIgniter\Shield\Authentication\Actions; use CodeIgniter\Exceptions\PageNotFoundException; diff --git a/src/Authentication/Authentication.php b/src/Authentication/Authentication.php index 015357e44..9e2dd2d75 100644 --- a/src/Authentication/Authentication.php +++ b/src/Authentication/Authentication.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace CodeIgniter\Shield\Authentication; use CodeIgniter\Shield\Config\Auth as AuthConfig; diff --git a/src/Authentication/AuthenticationException.php b/src/Authentication/AuthenticationException.php index ced1ff2e4..982166b70 100644 --- a/src/Authentication/AuthenticationException.php +++ b/src/Authentication/AuthenticationException.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace CodeIgniter\Shield\Authentication; use CodeIgniter\HTTP\Exceptions\HTTPException; diff --git a/src/Authentication/AuthenticatorInterface.php b/src/Authentication/AuthenticatorInterface.php index acd6c8b61..b39591f14 100644 --- a/src/Authentication/AuthenticatorInterface.php +++ b/src/Authentication/AuthenticatorInterface.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace CodeIgniter\Shield\Authentication; use CodeIgniter\Shield\Entities\User; diff --git a/src/Authentication/Authenticators/AccessTokens.php b/src/Authentication/Authenticators/AccessTokens.php index f8e2e9254..86824ed61 100644 --- a/src/Authentication/Authenticators/AccessTokens.php +++ b/src/Authentication/Authenticators/AccessTokens.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace CodeIgniter\Shield\Authentication\Authenticators; use CodeIgniter\HTTP\IncomingRequest; diff --git a/src/Authentication/Authenticators/HmacSha256.php b/src/Authentication/Authenticators/HmacSha256.php index 697c7a447..42a6cdc31 100644 --- a/src/Authentication/Authenticators/HmacSha256.php +++ b/src/Authentication/Authenticators/HmacSha256.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace CodeIgniter\Shield\Authentication\Authenticators; use CodeIgniter\HTTP\IncomingRequest; diff --git a/src/Authentication/Authenticators/JWT.php b/src/Authentication/Authenticators/JWT.php index 09590275c..d962f86f2 100644 --- a/src/Authentication/Authenticators/JWT.php +++ b/src/Authentication/Authenticators/JWT.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace CodeIgniter\Shield\Authentication\Authenticators; use CodeIgniter\HTTP\IncomingRequest; diff --git a/src/Authentication/Authenticators/Session.php b/src/Authentication/Authenticators/Session.php index e15fba3ae..98e4a29a0 100644 --- a/src/Authentication/Authenticators/Session.php +++ b/src/Authentication/Authenticators/Session.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace CodeIgniter\Shield\Authentication\Authenticators; use CodeIgniter\Config\Factories; diff --git a/src/Authentication/JWT/Adapters/FirebaseAdapter.php b/src/Authentication/JWT/Adapters/FirebaseAdapter.php index 70141393d..0c7bb95ef 100644 --- a/src/Authentication/JWT/Adapters/FirebaseAdapter.php +++ b/src/Authentication/JWT/Adapters/FirebaseAdapter.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace CodeIgniter\Shield\Authentication\JWT\Adapters; use CodeIgniter\Shield\Authentication\JWT\Exceptions\InvalidTokenException; diff --git a/src/Authentication/JWT/Exceptions/InvalidTokenException.php b/src/Authentication/JWT/Exceptions/InvalidTokenException.php index b3f9b5569..033855970 100644 --- a/src/Authentication/JWT/Exceptions/InvalidTokenException.php +++ b/src/Authentication/JWT/Exceptions/InvalidTokenException.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace CodeIgniter\Shield\Authentication\JWT\Exceptions; use CodeIgniter\Shield\Exceptions\ValidationException; diff --git a/src/Authentication/JWT/JWSAdapterInterface.php b/src/Authentication/JWT/JWSAdapterInterface.php index 991fdabba..7305a018f 100644 --- a/src/Authentication/JWT/JWSAdapterInterface.php +++ b/src/Authentication/JWT/JWSAdapterInterface.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace CodeIgniter\Shield\Authentication\JWT; use stdClass; diff --git a/src/Authentication/JWT/JWSDecoder.php b/src/Authentication/JWT/JWSDecoder.php index 3ba548ac6..145eb5623 100644 --- a/src/Authentication/JWT/JWSDecoder.php +++ b/src/Authentication/JWT/JWSDecoder.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace CodeIgniter\Shield\Authentication\JWT; use CodeIgniter\Shield\Authentication\JWT\Adapters\FirebaseAdapter; diff --git a/src/Authentication/JWT/JWSEncoder.php b/src/Authentication/JWT/JWSEncoder.php index e426e7eda..458aeec01 100644 --- a/src/Authentication/JWT/JWSEncoder.php +++ b/src/Authentication/JWT/JWSEncoder.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace CodeIgniter\Shield\Authentication\JWT; use CodeIgniter\I18n\Time; diff --git a/src/Authentication/JWTManager.php b/src/Authentication/JWTManager.php index 11f1dba93..ad638bc3a 100644 --- a/src/Authentication/JWTManager.php +++ b/src/Authentication/JWTManager.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace CodeIgniter\Shield\Authentication; use CodeIgniter\I18n\Time; diff --git a/src/Authentication/Passwords.php b/src/Authentication/Passwords.php index 3a5b7b041..994c192a8 100644 --- a/src/Authentication/Passwords.php +++ b/src/Authentication/Passwords.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace CodeIgniter\Shield\Authentication; use CodeIgniter\Shield\Authentication\Passwords\ValidatorInterface; diff --git a/src/Authentication/Passwords/BaseValidator.php b/src/Authentication/Passwords/BaseValidator.php index 6f7bfe4cf..64e7a3eac 100644 --- a/src/Authentication/Passwords/BaseValidator.php +++ b/src/Authentication/Passwords/BaseValidator.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace CodeIgniter\Shield\Authentication\Passwords; use CodeIgniter\Shield\Config\Auth as AuthConfig; diff --git a/src/Authentication/Passwords/CompositionValidator.php b/src/Authentication/Passwords/CompositionValidator.php index dec8f34af..49ae3738a 100644 --- a/src/Authentication/Passwords/CompositionValidator.php +++ b/src/Authentication/Passwords/CompositionValidator.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace CodeIgniter\Shield\Authentication\Passwords; use CodeIgniter\Shield\Authentication\AuthenticationException; diff --git a/src/Authentication/Passwords/DictionaryValidator.php b/src/Authentication/Passwords/DictionaryValidator.php index b7cb6add4..8394428a8 100644 --- a/src/Authentication/Passwords/DictionaryValidator.php +++ b/src/Authentication/Passwords/DictionaryValidator.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace CodeIgniter\Shield\Authentication\Passwords; use CodeIgniter\Shield\Entities\User; diff --git a/src/Authentication/Passwords/NothingPersonalValidator.php b/src/Authentication/Passwords/NothingPersonalValidator.php index 14a8c587b..90112bf2d 100644 --- a/src/Authentication/Passwords/NothingPersonalValidator.php +++ b/src/Authentication/Passwords/NothingPersonalValidator.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace CodeIgniter\Shield\Authentication\Passwords; use CodeIgniter\Shield\Entities\User; diff --git a/src/Authentication/Passwords/PwnedValidator.php b/src/Authentication/Passwords/PwnedValidator.php index a68e92e99..ff933fe49 100644 --- a/src/Authentication/Passwords/PwnedValidator.php +++ b/src/Authentication/Passwords/PwnedValidator.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace CodeIgniter\Shield\Authentication\Passwords; use CodeIgniter\Config\Services; diff --git a/src/Authentication/Passwords/ValidationRules.php b/src/Authentication/Passwords/ValidationRules.php index 2ad59c87d..ca6f07638 100644 --- a/src/Authentication/Passwords/ValidationRules.php +++ b/src/Authentication/Passwords/ValidationRules.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace CodeIgniter\Shield\Authentication\Passwords; use CodeIgniter\HTTP\IncomingRequest; diff --git a/src/Authentication/Passwords/ValidatorInterface.php b/src/Authentication/Passwords/ValidatorInterface.php index af187ffa7..5fc3845be 100644 --- a/src/Authentication/Passwords/ValidatorInterface.php +++ b/src/Authentication/Passwords/ValidatorInterface.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace CodeIgniter\Shield\Authentication\Passwords; use CodeIgniter\Shield\Entities\User; diff --git a/src/Authentication/Traits/HasAccessTokens.php b/src/Authentication/Traits/HasAccessTokens.php index e19aecaa2..f2fd7e283 100644 --- a/src/Authentication/Traits/HasAccessTokens.php +++ b/src/Authentication/Traits/HasAccessTokens.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace CodeIgniter\Shield\Authentication\Traits; use CodeIgniter\Shield\Entities\AccessToken; diff --git a/src/Authentication/Traits/HasHmacTokens.php b/src/Authentication/Traits/HasHmacTokens.php index 435a19bd2..a9db79303 100644 --- a/src/Authentication/Traits/HasHmacTokens.php +++ b/src/Authentication/Traits/HasHmacTokens.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace CodeIgniter\Shield\Authentication\Traits; use CodeIgniter\Shield\Entities\AccessToken; diff --git a/src/Authorization/AuthorizationException.php b/src/Authorization/AuthorizationException.php index fa85b44b6..bdc5f793b 100644 --- a/src/Authorization/AuthorizationException.php +++ b/src/Authorization/AuthorizationException.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace CodeIgniter\Shield\Authorization; use CodeIgniter\Shield\Exceptions\RuntimeException; diff --git a/src/Authorization/Groups.php b/src/Authorization/Groups.php index ae223fb44..eb76920c9 100644 --- a/src/Authorization/Groups.php +++ b/src/Authorization/Groups.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace CodeIgniter\Shield\Authorization; use CodeIgniter\Shield\Entities\Group; diff --git a/src/Authorization/Traits/Authorizable.php b/src/Authorization/Traits/Authorizable.php index eb57cd788..4167341b2 100644 --- a/src/Authorization/Traits/Authorizable.php +++ b/src/Authorization/Traits/Authorizable.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace CodeIgniter\Shield\Authorization\Traits; use CodeIgniter\I18n\Time; diff --git a/src/Collectors/Auth.php b/src/Collectors/Auth.php index f265b2e58..a1824d4bd 100644 --- a/src/Collectors/Auth.php +++ b/src/Collectors/Auth.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace CodeIgniter\Shield\Collectors; use CodeIgniter\Debug\Toolbar\Collectors\BaseCollector; diff --git a/src/Commands/BaseCommand.php b/src/Commands/BaseCommand.php index 2b30856f0..f7ad9962d 100644 --- a/src/Commands/BaseCommand.php +++ b/src/Commands/BaseCommand.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace CodeIgniter\Shield\Commands; use CodeIgniter\CLI\BaseCommand as FrameworkBaseCommand; diff --git a/src/Commands/Exceptions/BadInputException.php b/src/Commands/Exceptions/BadInputException.php index 0316394e1..35d6ec898 100644 --- a/src/Commands/Exceptions/BadInputException.php +++ b/src/Commands/Exceptions/BadInputException.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace CodeIgniter\Shield\Commands\Exceptions; use CodeIgniter\Shield\Exceptions\RuntimeException; diff --git a/src/Commands/Exceptions/CancelException.php b/src/Commands/Exceptions/CancelException.php index 44ac64067..6eb126673 100644 --- a/src/Commands/Exceptions/CancelException.php +++ b/src/Commands/Exceptions/CancelException.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace CodeIgniter\Shield\Commands\Exceptions; use CodeIgniter\Shield\Exceptions\RuntimeException; diff --git a/src/Commands/Generators/UserModelGenerator.php b/src/Commands/Generators/UserModelGenerator.php index 3a9b63590..605a05cea 100644 --- a/src/Commands/Generators/UserModelGenerator.php +++ b/src/Commands/Generators/UserModelGenerator.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace CodeIgniter\Shield\Commands\Generators; use CodeIgniter\CLI\BaseCommand; diff --git a/src/Commands/Setup.php b/src/Commands/Setup.php index f4b14657e..0f14a6e26 100644 --- a/src/Commands/Setup.php +++ b/src/Commands/Setup.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace CodeIgniter\Shield\Commands; use CodeIgniter\CLI\CLI; diff --git a/src/Commands/Setup/ContentReplacer.php b/src/Commands/Setup/ContentReplacer.php index e603e7a11..20061e763 100644 --- a/src/Commands/Setup/ContentReplacer.php +++ b/src/Commands/Setup/ContentReplacer.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace CodeIgniter\Shield\Commands\Setup; class ContentReplacer diff --git a/src/Commands/User.php b/src/Commands/User.php index e5d42daa9..c5ef8513c 100644 --- a/src/Commands/User.php +++ b/src/Commands/User.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace CodeIgniter\Shield\Commands; use CodeIgniter\Shield\Authentication\Authenticators\Session; diff --git a/src/Commands/Utils/InputOutput.php b/src/Commands/Utils/InputOutput.php index 5bbfb4474..c6a3ceabc 100644 --- a/src/Commands/Utils/InputOutput.php +++ b/src/Commands/Utils/InputOutput.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace CodeIgniter\Shield\Commands\Utils; use CodeIgniter\CLI\CLI; diff --git a/src/Config/Auth.php b/src/Config/Auth.php index 40b57c2ae..e711fb3e2 100644 --- a/src/Config/Auth.php +++ b/src/Config/Auth.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace CodeIgniter\Shield\Config; use CodeIgniter\Config\BaseConfig; diff --git a/src/Config/AuthGroups.php b/src/Config/AuthGroups.php index 3b92aee82..9bc24580a 100644 --- a/src/Config/AuthGroups.php +++ b/src/Config/AuthGroups.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace CodeIgniter\Shield\Config; use CodeIgniter\Config\BaseConfig; diff --git a/src/Config/AuthJWT.php b/src/Config/AuthJWT.php index adf9bf404..2db352f93 100644 --- a/src/Config/AuthJWT.php +++ b/src/Config/AuthJWT.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace CodeIgniter\Shield\Config; use CodeIgniter\Config\BaseConfig; diff --git a/src/Config/AuthRoutes.php b/src/Config/AuthRoutes.php index 0428bbcb3..141978565 100644 --- a/src/Config/AuthRoutes.php +++ b/src/Config/AuthRoutes.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace CodeIgniter\Shield\Config; use CodeIgniter\Config\BaseConfig; diff --git a/src/Config/AuthToken.php b/src/Config/AuthToken.php index d945bc454..8ff13f97e 100644 --- a/src/Config/AuthToken.php +++ b/src/Config/AuthToken.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace CodeIgniter\Shield\Config; use CodeIgniter\Config\BaseConfig; diff --git a/src/Config/Registrar.php b/src/Config/Registrar.php index 8c366e8cd..4ac13b3ac 100644 --- a/src/Config/Registrar.php +++ b/src/Config/Registrar.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace CodeIgniter\Shield\Config; use CodeIgniter\Shield\Authentication\Passwords\ValidationRules as PasswordRules; diff --git a/src/Config/Services.php b/src/Config/Services.php index aa922f834..88e5e05c2 100644 --- a/src/Config/Services.php +++ b/src/Config/Services.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace CodeIgniter\Shield\Config; use CodeIgniter\Config\BaseService; diff --git a/src/Controllers/ActionController.php b/src/Controllers/ActionController.php index 8bcbb4f80..706dfcba7 100644 --- a/src/Controllers/ActionController.php +++ b/src/Controllers/ActionController.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace CodeIgniter\Shield\Controllers; use App\Controllers\BaseController; diff --git a/src/Controllers/LoginController.php b/src/Controllers/LoginController.php index 0dc49436e..1296632cf 100644 --- a/src/Controllers/LoginController.php +++ b/src/Controllers/LoginController.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace CodeIgniter\Shield\Controllers; use App\Controllers\BaseController; diff --git a/src/Controllers/MagicLinkController.php b/src/Controllers/MagicLinkController.php index 3357f3d7d..2a1b25785 100644 --- a/src/Controllers/MagicLinkController.php +++ b/src/Controllers/MagicLinkController.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace CodeIgniter\Shield\Controllers; use App\Controllers\BaseController; diff --git a/src/Controllers/RegisterController.php b/src/Controllers/RegisterController.php index 43761b990..aad49b5a0 100644 --- a/src/Controllers/RegisterController.php +++ b/src/Controllers/RegisterController.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace CodeIgniter\Shield\Controllers; use App\Controllers\BaseController; diff --git a/src/Database/Migrations/2020-12-28-223112_create_auth_tables.php b/src/Database/Migrations/2020-12-28-223112_create_auth_tables.php index 792cdad3a..2833e81cd 100644 --- a/src/Database/Migrations/2020-12-28-223112_create_auth_tables.php +++ b/src/Database/Migrations/2020-12-28-223112_create_auth_tables.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace CodeIgniter\Shield\Database\Migrations; use CodeIgniter\Database\Forge; diff --git a/src/Entities/AccessToken.php b/src/Entities/AccessToken.php index 6f81a3b3b..406910f21 100644 --- a/src/Entities/AccessToken.php +++ b/src/Entities/AccessToken.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace CodeIgniter\Shield\Entities; use CodeIgniter\Entity\Entity; diff --git a/src/Entities/Cast/IntBoolCast.php b/src/Entities/Cast/IntBoolCast.php index 401a52aa7..40c3bb2cf 100644 --- a/src/Entities/Cast/IntBoolCast.php +++ b/src/Entities/Cast/IntBoolCast.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace CodeIgniter\Shield\Entities\Cast; use CodeIgniter\Entity\Cast\BaseCast; diff --git a/src/Entities/Entity.php b/src/Entities/Entity.php index 5708c8a41..550945049 100644 --- a/src/Entities/Entity.php +++ b/src/Entities/Entity.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace CodeIgniter\Shield\Entities; use CodeIgniter\Entity\Entity as FrameworkEntity; diff --git a/src/Entities/Group.php b/src/Entities/Group.php index 8fe30b184..62384a159 100644 --- a/src/Entities/Group.php +++ b/src/Entities/Group.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace CodeIgniter\Shield\Entities; use CodeIgniter\Entity\Entity; diff --git a/src/Entities/Login.php b/src/Entities/Login.php index d6859f132..785e3c79a 100644 --- a/src/Entities/Login.php +++ b/src/Entities/Login.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace CodeIgniter\Shield\Entities; class Login extends Entity diff --git a/src/Entities/User.php b/src/Entities/User.php index 1aff561ab..573e9e987 100644 --- a/src/Entities/User.php +++ b/src/Entities/User.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace CodeIgniter\Shield\Entities; use CodeIgniter\Database\Exceptions\DataException; diff --git a/src/Entities/UserIdentity.php b/src/Entities/UserIdentity.php index 31ab3e249..b0a491fe9 100644 --- a/src/Entities/UserIdentity.php +++ b/src/Entities/UserIdentity.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace CodeIgniter\Shield\Entities; use CodeIgniter\I18n\Time; diff --git a/src/Exceptions/BaseException.php b/src/Exceptions/BaseException.php index 693d58c8f..61221a9f1 100644 --- a/src/Exceptions/BaseException.php +++ b/src/Exceptions/BaseException.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace CodeIgniter\Shield\Exceptions; use Throwable; diff --git a/src/Exceptions/GroupException.php b/src/Exceptions/GroupException.php index bda9ef35c..4653bd5d4 100644 --- a/src/Exceptions/GroupException.php +++ b/src/Exceptions/GroupException.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace CodeIgniter\Shield\Exceptions; use CodeIgniter\Shield\Authorization\AuthorizationException; diff --git a/src/Exceptions/InvalidArgumentException.php b/src/Exceptions/InvalidArgumentException.php index f01a5382a..9de15e6e9 100644 --- a/src/Exceptions/InvalidArgumentException.php +++ b/src/Exceptions/InvalidArgumentException.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace CodeIgniter\Shield\Exceptions; class InvalidArgumentException extends LogicException implements BaseException diff --git a/src/Exceptions/LogicException.php b/src/Exceptions/LogicException.php index 5825f9159..384edd6e6 100644 --- a/src/Exceptions/LogicException.php +++ b/src/Exceptions/LogicException.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace CodeIgniter\Shield\Exceptions; class LogicException extends \LogicException implements BaseException diff --git a/src/Exceptions/PermissionException.php b/src/Exceptions/PermissionException.php index 57f037420..bf65c6776 100644 --- a/src/Exceptions/PermissionException.php +++ b/src/Exceptions/PermissionException.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace CodeIgniter\Shield\Exceptions; use CodeIgniter\Shield\Authorization\AuthorizationException; diff --git a/src/Exceptions/RuntimeException.php b/src/Exceptions/RuntimeException.php index e5a507ecd..0a7d371e8 100644 --- a/src/Exceptions/RuntimeException.php +++ b/src/Exceptions/RuntimeException.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace CodeIgniter\Shield\Exceptions; class RuntimeException extends \RuntimeException implements BaseException diff --git a/src/Exceptions/SecurityException.php b/src/Exceptions/SecurityException.php index c72d7aa04..62f0ecc24 100644 --- a/src/Exceptions/SecurityException.php +++ b/src/Exceptions/SecurityException.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace CodeIgniter\Shield\Exceptions; class SecurityException extends RuntimeException diff --git a/src/Exceptions/UserNotFoundException.php b/src/Exceptions/UserNotFoundException.php index 485f5c04e..64b4945e5 100644 --- a/src/Exceptions/UserNotFoundException.php +++ b/src/Exceptions/UserNotFoundException.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace CodeIgniter\Shield\Exceptions; class UserNotFoundException extends RuntimeException diff --git a/src/Exceptions/ValidationException.php b/src/Exceptions/ValidationException.php index 3aae180ef..1922ae115 100644 --- a/src/Exceptions/ValidationException.php +++ b/src/Exceptions/ValidationException.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace CodeIgniter\Shield\Exceptions; class ValidationException extends RuntimeException diff --git a/src/Filters/AbstractAuthFilter.php b/src/Filters/AbstractAuthFilter.php index fb81d1274..652d8940b 100644 --- a/src/Filters/AbstractAuthFilter.php +++ b/src/Filters/AbstractAuthFilter.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace CodeIgniter\Shield\Filters; use CodeIgniter\Filters\FilterInterface; diff --git a/src/Filters/AuthRates.php b/src/Filters/AuthRates.php index 7c1ad4e5e..2b9a9eae2 100644 --- a/src/Filters/AuthRates.php +++ b/src/Filters/AuthRates.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace CodeIgniter\Shield\Filters; use CodeIgniter\Filters\FilterInterface; diff --git a/src/Filters/ChainAuth.php b/src/Filters/ChainAuth.php index eb4ee0fbb..4f014898b 100644 --- a/src/Filters/ChainAuth.php +++ b/src/Filters/ChainAuth.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace CodeIgniter\Shield\Filters; use CodeIgniter\Filters\FilterInterface; diff --git a/src/Filters/ForcePasswordResetFilter.php b/src/Filters/ForcePasswordResetFilter.php index ce64492b4..017aad124 100644 --- a/src/Filters/ForcePasswordResetFilter.php +++ b/src/Filters/ForcePasswordResetFilter.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace CodeIgniter\Shield\Filters; use CodeIgniter\Filters\FilterInterface; diff --git a/src/Filters/GroupFilter.php b/src/Filters/GroupFilter.php index 7c0a33b16..9a863843b 100644 --- a/src/Filters/GroupFilter.php +++ b/src/Filters/GroupFilter.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace CodeIgniter\Shield\Filters; use CodeIgniter\HTTP\RedirectResponse; diff --git a/src/Filters/HmacAuth.php b/src/Filters/HmacAuth.php index 986175caa..14e38ad0c 100644 --- a/src/Filters/HmacAuth.php +++ b/src/Filters/HmacAuth.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace CodeIgniter\Shield\Filters; use CodeIgniter\Filters\FilterInterface; diff --git a/src/Filters/JWTAuth.php b/src/Filters/JWTAuth.php index 735bf2f2d..e49fb476b 100644 --- a/src/Filters/JWTAuth.php +++ b/src/Filters/JWTAuth.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace CodeIgniter\Shield\Filters; use CodeIgniter\Filters\FilterInterface; diff --git a/src/Filters/PermissionFilter.php b/src/Filters/PermissionFilter.php index e20f7a23d..d406ffa56 100644 --- a/src/Filters/PermissionFilter.php +++ b/src/Filters/PermissionFilter.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace CodeIgniter\Shield\Filters; use CodeIgniter\HTTP\RedirectResponse; diff --git a/src/Filters/SessionAuth.php b/src/Filters/SessionAuth.php index 97e85c98b..915d92a4c 100644 --- a/src/Filters/SessionAuth.php +++ b/src/Filters/SessionAuth.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace CodeIgniter\Shield\Filters; use CodeIgniter\Filters\FilterInterface; diff --git a/src/Filters/TokenAuth.php b/src/Filters/TokenAuth.php index 8094f8f38..9e2fdd91a 100644 --- a/src/Filters/TokenAuth.php +++ b/src/Filters/TokenAuth.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace CodeIgniter\Shield\Filters; use CodeIgniter\Filters\FilterInterface; diff --git a/src/Helpers/auth_helper.php b/src/Helpers/auth_helper.php index 3396ffb55..b05accb86 100644 --- a/src/Helpers/auth_helper.php +++ b/src/Helpers/auth_helper.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + use CodeIgniter\Shield\Auth; if (! function_exists('auth')) { diff --git a/src/Helpers/email_helper.php b/src/Helpers/email_helper.php index 09a99e480..20e9ccf47 100644 --- a/src/Helpers/email_helper.php +++ b/src/Helpers/email_helper.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + use CodeIgniter\Email\Email; if (! defined('emailer')) { diff --git a/src/Language/ar/Auth.php b/src/Language/ar/Auth.php index 3f92deec0..5f44a4284 100644 --- a/src/Language/ar/Auth.php +++ b/src/Language/ar/Auth.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + return [ // Exceptions 'unknownAuthenticator' => '{0} ليس توثيق صحيح.', diff --git a/src/Language/bg/Auth.php b/src/Language/bg/Auth.php index b4bee29dd..8aa8f898d 100644 --- a/src/Language/bg/Auth.php +++ b/src/Language/bg/Auth.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + return [ // Изключения 'unknownAuthenticator' => '{0} не е валиден аутентикатор.', diff --git a/src/Language/de/Auth.php b/src/Language/de/Auth.php index 53b67542a..6ac29d5e2 100644 --- a/src/Language/de/Auth.php +++ b/src/Language/de/Auth.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + return [ // Exceptions 'unknownAuthenticator' => '{0} ist kein gültiger Authentifikator.', diff --git a/src/Language/en/Auth.php b/src/Language/en/Auth.php index 1dfdfe7b1..6f34fe3ee 100644 --- a/src/Language/en/Auth.php +++ b/src/Language/en/Auth.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + return [ // Exceptions 'unknownAuthenticator' => '{0} is not a valid authenticator.', diff --git a/src/Language/es/Auth.php b/src/Language/es/Auth.php index 5fdd2ae0c..9f3797744 100644 --- a/src/Language/es/Auth.php +++ b/src/Language/es/Auth.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + return [ // Excepciones 'unknownAuthenticator' => '{0} no es un autenticador válido.', diff --git a/src/Language/fa/Auth.php b/src/Language/fa/Auth.php index c3bf118f0..e42ae39a4 100644 --- a/src/Language/fa/Auth.php +++ b/src/Language/fa/Auth.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + return [ // Exceptions 'unknownAuthenticator' => '{0} احراز هویت معتبری نمی باشد.', diff --git a/src/Language/fr/Auth.php b/src/Language/fr/Auth.php index fb167b954..c6f8e4919 100644 --- a/src/Language/fr/Auth.php +++ b/src/Language/fr/Auth.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + return [ // Exceptions 'unknownAuthenticator' => '{0} n\'est pas un authentificateur valide.', diff --git a/src/Language/id/Auth.php b/src/Language/id/Auth.php index a2b8f6246..6910a81fd 100644 --- a/src/Language/id/Auth.php +++ b/src/Language/id/Auth.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + return [ // Exceptions 'unknownAuthenticator' => '{0} bukan otentikator yang sah.', diff --git a/src/Language/it/Auth.php b/src/Language/it/Auth.php index 0b4e845ac..9cafd7f48 100644 --- a/src/Language/it/Auth.php +++ b/src/Language/it/Auth.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + return [ // Exceptions 'unknownAuthenticator' => '{0} non è un autenticatore valido.', diff --git a/src/Language/ja/Auth.php b/src/Language/ja/Auth.php index 7823e88cb..282335160 100644 --- a/src/Language/ja/Auth.php +++ b/src/Language/ja/Auth.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + return [ // Exceptions 'unknownAuthenticator' => '{0} は有効なオーセンティケーターではありません。', // '{0} is not a valid authenticator.' diff --git a/src/Language/lt/Auth.php b/src/Language/lt/Auth.php index 035d80070..716f6f263 100644 --- a/src/Language/lt/Auth.php +++ b/src/Language/lt/Auth.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + return [ // Exceptions 'unknownAuthenticator' => '{0} nėra teisingas autentifikatorius.', diff --git a/src/Language/pt-BR/Auth.php b/src/Language/pt-BR/Auth.php index e4b479b5b..f8aa21912 100644 --- a/src/Language/pt-BR/Auth.php +++ b/src/Language/pt-BR/Auth.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + return [ // Exceptions 'unknownAuthenticator' => '{0} não é um autenticador válido.', diff --git a/src/Language/pt/Auth.php b/src/Language/pt/Auth.php index 765db2070..50d39b0dd 100644 --- a/src/Language/pt/Auth.php +++ b/src/Language/pt/Auth.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + return [ // Exceptions 'unknownAuthenticator' => '{0} não é um autenticador válido.', diff --git a/src/Language/sk/Auth.php b/src/Language/sk/Auth.php index 11579e7ba..f12c1310e 100644 --- a/src/Language/sk/Auth.php +++ b/src/Language/sk/Auth.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + return [ // Exceptions 'unknownAuthenticator' => '{0} nie je platný autentifikátor.', diff --git a/src/Language/sr/Auth.php b/src/Language/sr/Auth.php index 9211ba0d4..03ce96794 100644 --- a/src/Language/sr/Auth.php +++ b/src/Language/sr/Auth.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + return [ // Exceptions 'unknownAuthenticator' => '{0} nije validan autentikator.', diff --git a/src/Language/sv-SE/Auth.php b/src/Language/sv-SE/Auth.php index ab206d7d5..d857e7c4b 100644 --- a/src/Language/sv-SE/Auth.php +++ b/src/Language/sv-SE/Auth.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + return [ // Exceptions 'unknownAuthenticator' => '{0} är inte en giltig autentiseringsmetod.', diff --git a/src/Language/tr/Auth.php b/src/Language/tr/Auth.php index 2b35941d7..a433c3757 100644 --- a/src/Language/tr/Auth.php +++ b/src/Language/tr/Auth.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + return [ // Exceptions 'unknownAuthenticator' => '{0} geçerli bir kimlik doğrulayıcı değil.', diff --git a/src/Language/uk/Auth.php b/src/Language/uk/Auth.php index d54b30dd1..c588f1f37 100644 --- a/src/Language/uk/Auth.php +++ b/src/Language/uk/Auth.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + return [ // Exceptions 'unknownAuthenticator' => '{0} не є дійсним автентифікатором.', diff --git a/src/Models/BaseModel.php b/src/Models/BaseModel.php index e0db1dec1..411e32422 100644 --- a/src/Models/BaseModel.php +++ b/src/Models/BaseModel.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace CodeIgniter\Shield\Models; use CodeIgniter\Model; diff --git a/src/Models/CheckQueryReturnTrait.php b/src/Models/CheckQueryReturnTrait.php index 687d7da96..496db20b9 100644 --- a/src/Models/CheckQueryReturnTrait.php +++ b/src/Models/CheckQueryReturnTrait.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace CodeIgniter\Shield\Models; use CodeIgniter\Shield\Exceptions\ValidationException; diff --git a/src/Models/DatabaseException.php b/src/Models/DatabaseException.php index dd782ce1a..82d53ab35 100644 --- a/src/Models/DatabaseException.php +++ b/src/Models/DatabaseException.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace CodeIgniter\Shield\Models; use CodeIgniter\Shield\Exceptions\RuntimeException; diff --git a/src/Models/GroupModel.php b/src/Models/GroupModel.php index aa24bea12..899931400 100644 --- a/src/Models/GroupModel.php +++ b/src/Models/GroupModel.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace CodeIgniter\Shield\Models; use CodeIgniter\Shield\Entities\User; diff --git a/src/Models/LoginModel.php b/src/Models/LoginModel.php index 5cb59491c..9c2ff0dca 100644 --- a/src/Models/LoginModel.php +++ b/src/Models/LoginModel.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace CodeIgniter\Shield\Models; use CodeIgniter\I18n\Time; diff --git a/src/Models/PermissionModel.php b/src/Models/PermissionModel.php index a23db8d29..84dd28199 100644 --- a/src/Models/PermissionModel.php +++ b/src/Models/PermissionModel.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace CodeIgniter\Shield\Models; use CodeIgniter\Shield\Entities\User; diff --git a/src/Models/RememberModel.php b/src/Models/RememberModel.php index 76b6b11fd..68b09bda1 100644 --- a/src/Models/RememberModel.php +++ b/src/Models/RememberModel.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace CodeIgniter\Shield\Models; use CodeIgniter\I18n\Time; diff --git a/src/Models/TokenLoginModel.php b/src/Models/TokenLoginModel.php index 748bf4ecd..07c902d41 100644 --- a/src/Models/TokenLoginModel.php +++ b/src/Models/TokenLoginModel.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace CodeIgniter\Shield\Models; use CodeIgniter\I18n\Time; diff --git a/src/Models/UserIdentityModel.php b/src/Models/UserIdentityModel.php index b91c48712..9ccb029ff 100644 --- a/src/Models/UserIdentityModel.php +++ b/src/Models/UserIdentityModel.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace CodeIgniter\Shield\Models; use CodeIgniter\I18n\Time; diff --git a/src/Models/UserModel.php b/src/Models/UserModel.php index 3c6f5f518..73d293033 100644 --- a/src/Models/UserModel.php +++ b/src/Models/UserModel.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace CodeIgniter\Shield\Models; use CodeIgniter\Database\Exceptions\DataException; diff --git a/src/Result.php b/src/Result.php index 9a3f368ca..45f75cc5f 100644 --- a/src/Result.php +++ b/src/Result.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace CodeIgniter\Shield; use CodeIgniter\Shield\Entities\User; diff --git a/src/Test/AuthenticationTesting.php b/src/Test/AuthenticationTesting.php index b0e4822cd..437a2477a 100644 --- a/src/Test/AuthenticationTesting.php +++ b/src/Test/AuthenticationTesting.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace CodeIgniter\Shield\Test; use CodeIgniter\Shield\Authentication\Authenticators\Session; diff --git a/src/Test/MockInputOutput.php b/src/Test/MockInputOutput.php index e4ce93dda..c3c2f635d 100644 --- a/src/Test/MockInputOutput.php +++ b/src/Test/MockInputOutput.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace CodeIgniter\Shield\Test; use CodeIgniter\CLI\CLI; diff --git a/src/Traits/Activatable.php b/src/Traits/Activatable.php index 4294f0866..b75808076 100644 --- a/src/Traits/Activatable.php +++ b/src/Traits/Activatable.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace CodeIgniter\Shield\Traits; trait Activatable diff --git a/src/Traits/Bannable.php b/src/Traits/Bannable.php index b151c1b64..739f32e14 100644 --- a/src/Traits/Bannable.php +++ b/src/Traits/Bannable.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace CodeIgniter\Shield\Traits; trait Bannable diff --git a/src/Traits/Resettable.php b/src/Traits/Resettable.php index 4b1d61b8c..c68c0ba1b 100644 --- a/src/Traits/Resettable.php +++ b/src/Traits/Resettable.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace CodeIgniter\Shield\Traits; use CodeIgniter\Shield\Authentication\Authenticators\Session; diff --git a/src/Traits/Viewable.php b/src/Traits/Viewable.php index d9bedf2ac..85f4df1fb 100644 --- a/src/Traits/Viewable.php +++ b/src/Traits/Viewable.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace CodeIgniter\Shield\Traits; trait Viewable diff --git a/src/Validation/ValidationRules.php b/src/Validation/ValidationRules.php index 4f38a7c64..4e1284fb7 100644 --- a/src/Validation/ValidationRules.php +++ b/src/Validation/ValidationRules.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace CodeIgniter\Shield\Validation; use CodeIgniter\Shield\Authentication\Passwords; diff --git a/tests/Authentication/AccessTokenTest.php b/tests/Authentication/AccessTokenTest.php index b5fd8b9d8..2103b0f9d 100644 --- a/tests/Authentication/AccessTokenTest.php +++ b/tests/Authentication/AccessTokenTest.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace Tests\Authentication; use CodeIgniter\Shield\Entities\AccessToken; diff --git a/tests/Authentication/AuthHelperTest.php b/tests/Authentication/AuthHelperTest.php index da8dff537..a0cd35505 100644 --- a/tests/Authentication/AuthHelperTest.php +++ b/tests/Authentication/AuthHelperTest.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace Tests\Authentication; use CodeIgniter\Shield\Authentication\AuthenticationException; diff --git a/tests/Authentication/AuthTest.php b/tests/Authentication/AuthTest.php index 100760c7a..429184b5d 100644 --- a/tests/Authentication/AuthTest.php +++ b/tests/Authentication/AuthTest.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace Tests\Authentication; use CodeIgniter\Shield\Config\Services; diff --git a/tests/Authentication/AuthenticationTest.php b/tests/Authentication/AuthenticationTest.php index 58b92ce10..27d8029cc 100644 --- a/tests/Authentication/AuthenticationTest.php +++ b/tests/Authentication/AuthenticationTest.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace Tests\Authentication; use CodeIgniter\Shield\Authentication\Authentication; diff --git a/tests/Authentication/Authenticators/AccessTokenAuthenticatorTest.php b/tests/Authentication/Authenticators/AccessTokenAuthenticatorTest.php index 12ffadd54..7c48ac1c5 100644 --- a/tests/Authentication/Authenticators/AccessTokenAuthenticatorTest.php +++ b/tests/Authentication/Authenticators/AccessTokenAuthenticatorTest.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace Tests\Authentication\Authenticators; use CodeIgniter\I18n\Time; diff --git a/tests/Authentication/Authenticators/HmacAuthenticatorTest.php b/tests/Authentication/Authenticators/HmacAuthenticatorTest.php index 96db32cd0..7c601c113 100644 --- a/tests/Authentication/Authenticators/HmacAuthenticatorTest.php +++ b/tests/Authentication/Authenticators/HmacAuthenticatorTest.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace Tests\Authentication\Authenticators; use CodeIgniter\I18n\Time; diff --git a/tests/Authentication/Authenticators/JWTAuthenticatorTest.php b/tests/Authentication/Authenticators/JWTAuthenticatorTest.php index 3bd24070f..9d4e5d6b5 100644 --- a/tests/Authentication/Authenticators/JWTAuthenticatorTest.php +++ b/tests/Authentication/Authenticators/JWTAuthenticatorTest.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace Tests\Authentication\Authenticators; use CodeIgniter\I18n\Time; diff --git a/tests/Authentication/Authenticators/SessionAuthenticatorTest.php b/tests/Authentication/Authenticators/SessionAuthenticatorTest.php index 662b32fd0..ca1a8b53e 100644 --- a/tests/Authentication/Authenticators/SessionAuthenticatorTest.php +++ b/tests/Authentication/Authenticators/SessionAuthenticatorTest.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace Tests\Authentication\Authenticators; use CodeIgniter\Config\Factories; diff --git a/tests/Authentication/Filters/AbstractFilterTestCase.php b/tests/Authentication/Filters/AbstractFilterTestCase.php index d44f9e931..246fc7b93 100644 --- a/tests/Authentication/Filters/AbstractFilterTestCase.php +++ b/tests/Authentication/Filters/AbstractFilterTestCase.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace Tests\Authentication\Filters; use CodeIgniter\Config\Factories; diff --git a/tests/Authentication/Filters/ChainFilterTest.php b/tests/Authentication/Filters/ChainFilterTest.php index c71f92dff..b1c81aad4 100644 --- a/tests/Authentication/Filters/ChainFilterTest.php +++ b/tests/Authentication/Filters/ChainFilterTest.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace Tests\Authentication\Filters; use CodeIgniter\Shield\Entities\AccessToken; diff --git a/tests/Authentication/Filters/GroupFilterTest.php b/tests/Authentication/Filters/GroupFilterTest.php index ddfb423b1..3e0d2a905 100644 --- a/tests/Authentication/Filters/GroupFilterTest.php +++ b/tests/Authentication/Filters/GroupFilterTest.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace Tests\Authentication\Filters; use CodeIgniter\Shield\Entities\User; diff --git a/tests/Authentication/Filters/HmacFilterTest.php b/tests/Authentication/Filters/HmacFilterTest.php index 4a7acb9bc..14531a773 100644 --- a/tests/Authentication/Filters/HmacFilterTest.php +++ b/tests/Authentication/Filters/HmacFilterTest.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace Tests\Authentication\Filters; use CodeIgniter\Shield\Entities\AccessToken; diff --git a/tests/Authentication/Filters/JWTFilterTest.php b/tests/Authentication/Filters/JWTFilterTest.php index e8f4d3b39..f26ef13fa 100644 --- a/tests/Authentication/Filters/JWTFilterTest.php +++ b/tests/Authentication/Filters/JWTFilterTest.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace Tests\Authentication\Filters; use CodeIgniter\Config\Factories; diff --git a/tests/Authentication/Filters/PermissionFilterTest.php b/tests/Authentication/Filters/PermissionFilterTest.php index d4580017b..67564fcdf 100644 --- a/tests/Authentication/Filters/PermissionFilterTest.php +++ b/tests/Authentication/Filters/PermissionFilterTest.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace Tests\Authentication\Filters; use CodeIgniter\Shield\Entities\User; diff --git a/tests/Authentication/Filters/SessionFilterTest.php b/tests/Authentication/Filters/SessionFilterTest.php index a217d7a74..e8ee1f9f4 100644 --- a/tests/Authentication/Filters/SessionFilterTest.php +++ b/tests/Authentication/Filters/SessionFilterTest.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace Tests\Authentication\Filters; use CodeIgniter\Shield\Filters\SessionAuth; diff --git a/tests/Authentication/Filters/TokenFilterTest.php b/tests/Authentication/Filters/TokenFilterTest.php index fc5337761..c080be2df 100644 --- a/tests/Authentication/Filters/TokenFilterTest.php +++ b/tests/Authentication/Filters/TokenFilterTest.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace Tests\Authentication\Filters; use CodeIgniter\Shield\Entities\AccessToken; diff --git a/tests/Authentication/ForcePasswordResetTest.php b/tests/Authentication/ForcePasswordResetTest.php index c677adf4b..582961f92 100644 --- a/tests/Authentication/ForcePasswordResetTest.php +++ b/tests/Authentication/ForcePasswordResetTest.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace Tests\Authentication; use CodeIgniter\Shield\Entities\User; diff --git a/tests/Authentication/HasAccessTokensTest.php b/tests/Authentication/HasAccessTokensTest.php index 9612b8136..0005325d8 100644 --- a/tests/Authentication/HasAccessTokensTest.php +++ b/tests/Authentication/HasAccessTokensTest.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace Tests\Authentication; use CodeIgniter\Shield\Entities\AccessToken; diff --git a/tests/Authentication/HasHmacTokensTest.php b/tests/Authentication/HasHmacTokensTest.php index 12ebcd284..c2b0c158c 100644 --- a/tests/Authentication/HasHmacTokensTest.php +++ b/tests/Authentication/HasHmacTokensTest.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace Tests\Authentication; use CodeIgniter\Shield\Entities\AccessToken; diff --git a/tests/Authentication/MagicLinkTest.php b/tests/Authentication/MagicLinkTest.php index 63292fae6..f8426604a 100644 --- a/tests/Authentication/MagicLinkTest.php +++ b/tests/Authentication/MagicLinkTest.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace Tests\Authentication; use CodeIgniter\I18n\Time; diff --git a/tests/Authorization/AuthorizableTest.php b/tests/Authorization/AuthorizableTest.php index 1dc098abf..5f3d9ff9c 100644 --- a/tests/Authorization/AuthorizableTest.php +++ b/tests/Authorization/AuthorizableTest.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace Tests\Authorization; use CodeIgniter\I18n\Time; diff --git a/tests/Authorization/GroupTest.php b/tests/Authorization/GroupTest.php index 40cb5f039..68c190be8 100644 --- a/tests/Authorization/GroupTest.php +++ b/tests/Authorization/GroupTest.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace Tests\Authorization; use CodeIgniter\Shield\Authorization\Groups; diff --git a/tests/Authorization/GroupsTest.php b/tests/Authorization/GroupsTest.php index 219880742..b4b1ba32f 100644 --- a/tests/Authorization/GroupsTest.php +++ b/tests/Authorization/GroupsTest.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace Tests\Authorization; use CodeIgniter\Shield\Authorization\Groups; diff --git a/tests/Collectors/AuthTest.php b/tests/Collectors/AuthTest.php index 45d7a5871..cba81aacc 100644 --- a/tests/Collectors/AuthTest.php +++ b/tests/Collectors/AuthTest.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace Tests\Collectors; use CodeIgniter\Shield\Auth as ShieldAuth; diff --git a/tests/Commands/Setup/ContentReplacerTest.php b/tests/Commands/Setup/ContentReplacerTest.php index 9b4c8d8e1..2a6c029e3 100644 --- a/tests/Commands/Setup/ContentReplacerTest.php +++ b/tests/Commands/Setup/ContentReplacerTest.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace Tests\Commands\Setup; use CodeIgniter\Shield\Commands\Setup\ContentReplacer; diff --git a/tests/Commands/SetupTest.php b/tests/Commands/SetupTest.php index 3401295a0..1419b5962 100644 --- a/tests/Commands/SetupTest.php +++ b/tests/Commands/SetupTest.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace Tests\Commands; use CodeIgniter\Shield\Commands\Setup; diff --git a/tests/Commands/UserModelGeneratorTest.php b/tests/Commands/UserModelGeneratorTest.php index 7b8ebcb3e..0e9124448 100644 --- a/tests/Commands/UserModelGeneratorTest.php +++ b/tests/Commands/UserModelGeneratorTest.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace Tests\Commands; use CodeIgniter\Test\CIUnitTestCase; diff --git a/tests/Commands/UserTest.php b/tests/Commands/UserTest.php index 98a706563..76e1e3989 100644 --- a/tests/Commands/UserTest.php +++ b/tests/Commands/UserTest.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace Tests\Commands; use CodeIgniter\Shield\Commands\User; diff --git a/tests/Controllers/ActionsTest.php b/tests/Controllers/ActionsTest.php index cb815af40..a6d9394f6 100644 --- a/tests/Controllers/ActionsTest.php +++ b/tests/Controllers/ActionsTest.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace Tests\Controllers; use CodeIgniter\Config\Factories; diff --git a/tests/Controllers/LoginTest.php b/tests/Controllers/LoginTest.php index f4c7bc5f7..c0b6ba8bb 100644 --- a/tests/Controllers/LoginTest.php +++ b/tests/Controllers/LoginTest.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace Tests\Controllers; use CodeIgniter\Config\Factories; diff --git a/tests/Controllers/MagicLinkTest.php b/tests/Controllers/MagicLinkTest.php index b8b1f794e..477c98248 100644 --- a/tests/Controllers/MagicLinkTest.php +++ b/tests/Controllers/MagicLinkTest.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace Tests\Controllers; use CodeIgniter\Config\Factories; diff --git a/tests/Controllers/RegisterTest.php b/tests/Controllers/RegisterTest.php index 630c13b38..03a6587f9 100644 --- a/tests/Controllers/RegisterTest.php +++ b/tests/Controllers/RegisterTest.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace Tests\Controllers; use CodeIgniter\Config\Factories; diff --git a/tests/Language/AbstractTranslationTestCase.php b/tests/Language/AbstractTranslationTestCase.php index b3b45a21f..eabe49195 100644 --- a/tests/Language/AbstractTranslationTestCase.php +++ b/tests/Language/AbstractTranslationTestCase.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * This file is part of CodeIgniter 4 framework. + * This file is part of CodeIgniter Shield. * * (c) CodeIgniter Foundation * diff --git a/tests/Language/ArabicTranslationTest.php b/tests/Language/ArabicTranslationTest.php index 22eeaf14f..fbb449d82 100644 --- a/tests/Language/ArabicTranslationTest.php +++ b/tests/Language/ArabicTranslationTest.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * This file is part of CodeIgniter 4 framework. + * This file is part of CodeIgniter Shield. * * (c) CodeIgniter Foundation * diff --git a/tests/Language/BrazilianTranslationTest.php b/tests/Language/BrazilianTranslationTest.php index 7cf1df04c..8745961df 100644 --- a/tests/Language/BrazilianTranslationTest.php +++ b/tests/Language/BrazilianTranslationTest.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace Tests\Language; /** diff --git a/tests/Language/BulgarianTranslationTest.php b/tests/Language/BulgarianTranslationTest.php index 1125d144e..ab26a4d5f 100644 --- a/tests/Language/BulgarianTranslationTest.php +++ b/tests/Language/BulgarianTranslationTest.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * This file is part of CodeIgniter 4 framework. + * This file is part of CodeIgniter Shield. * * (c) CodeIgniter Foundation * diff --git a/tests/Language/FarsiTranslationTest.php b/tests/Language/FarsiTranslationTest.php index ace86cbed..ffa8942fe 100644 --- a/tests/Language/FarsiTranslationTest.php +++ b/tests/Language/FarsiTranslationTest.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * This file is part of CodeIgniter 4 framework. + * This file is part of CodeIgniter Shield. * * (c) CodeIgniter Foundation * diff --git a/tests/Language/FrenchTranslationTest.php b/tests/Language/FrenchTranslationTest.php index df6b64bbf..2ece0ee22 100644 --- a/tests/Language/FrenchTranslationTest.php +++ b/tests/Language/FrenchTranslationTest.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * This file is part of CodeIgniter 4 framework. + * This file is part of CodeIgniter Shield. * * (c) CodeIgniter Foundation * diff --git a/tests/Language/GermanTranslationTest.php b/tests/Language/GermanTranslationTest.php index 8bccc62d6..6c32d25ee 100644 --- a/tests/Language/GermanTranslationTest.php +++ b/tests/Language/GermanTranslationTest.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * This file is part of CodeIgniter 4 framework. + * This file is part of CodeIgniter Shield. * * (c) CodeIgniter Foundation * diff --git a/tests/Language/IndonesianTranslationTest.php b/tests/Language/IndonesianTranslationTest.php index 31a244ca1..457b0365a 100644 --- a/tests/Language/IndonesianTranslationTest.php +++ b/tests/Language/IndonesianTranslationTest.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * This file is part of CodeIgniter 4 framework. + * This file is part of CodeIgniter Shield. * * (c) CodeIgniter Foundation * diff --git a/tests/Language/ItalianTranslationTest.php b/tests/Language/ItalianTranslationTest.php index c00ad673d..a22e05fcb 100644 --- a/tests/Language/ItalianTranslationTest.php +++ b/tests/Language/ItalianTranslationTest.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace Tests\Language; /** diff --git a/tests/Language/JapaneseTranslationTest.php b/tests/Language/JapaneseTranslationTest.php index 71c1e834e..4d908479e 100644 --- a/tests/Language/JapaneseTranslationTest.php +++ b/tests/Language/JapaneseTranslationTest.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * This file is part of CodeIgniter 4 framework. + * This file is part of CodeIgniter Shield. * * (c) CodeIgniter Foundation * diff --git a/tests/Language/LithuanianTranslationTest.php b/tests/Language/LithuanianTranslationTest.php index b9a5372f0..bbaebedd1 100644 --- a/tests/Language/LithuanianTranslationTest.php +++ b/tests/Language/LithuanianTranslationTest.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * This file is part of CodeIgniter 4 framework. + * This file is part of CodeIgniter Shield. * * (c) CodeIgniter Foundation * diff --git a/tests/Language/PortugueseTranslationTest.php b/tests/Language/PortugueseTranslationTest.php index 1b74b90ad..7e976cead 100644 --- a/tests/Language/PortugueseTranslationTest.php +++ b/tests/Language/PortugueseTranslationTest.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace Tests\Language; /** diff --git a/tests/Language/SerbianTranslationTest.php b/tests/Language/SerbianTranslationTest.php index 5dede1cf5..df9978f82 100644 --- a/tests/Language/SerbianTranslationTest.php +++ b/tests/Language/SerbianTranslationTest.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * This file is part of CodeIgniter 4 framework. + * This file is part of CodeIgniter Shield. * * (c) CodeIgniter Foundation * diff --git a/tests/Language/SlovakTranslationTest.php b/tests/Language/SlovakTranslationTest.php index b21914bb5..333cfaeac 100644 --- a/tests/Language/SlovakTranslationTest.php +++ b/tests/Language/SlovakTranslationTest.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * This file is part of CodeIgniter 4 framework. + * This file is part of CodeIgniter Shield. * * (c) CodeIgniter Foundation * diff --git a/tests/Language/SpanishTranslationTest.php b/tests/Language/SpanishTranslationTest.php index 6b6365834..15bca9a43 100644 --- a/tests/Language/SpanishTranslationTest.php +++ b/tests/Language/SpanishTranslationTest.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * This file is part of CodeIgniter 4 framework. + * This file is part of CodeIgniter Shield. * * (c) CodeIgniter Foundation * diff --git a/tests/Language/SwedishTranslationTest.php b/tests/Language/SwedishTranslationTest.php index 2c5ed0674..da1d818b9 100644 --- a/tests/Language/SwedishTranslationTest.php +++ b/tests/Language/SwedishTranslationTest.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * This file is part of CodeIgniter 4 framework. + * This file is part of CodeIgniter Shield. * * (c) CodeIgniter Foundation * diff --git a/tests/Language/TurkishTranslationTest.php b/tests/Language/TurkishTranslationTest.php index df5afd3bc..a31afd2a3 100644 --- a/tests/Language/TurkishTranslationTest.php +++ b/tests/Language/TurkishTranslationTest.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * This file is part of CodeIgniter 4 framework. + * This file is part of CodeIgniter Shield. * * (c) CodeIgniter Foundation * diff --git a/tests/Language/UkrainianTranslationTest.php b/tests/Language/UkrainianTranslationTest.php index 79bdfad01..f8bc3ff31 100644 --- a/tests/Language/UkrainianTranslationTest.php +++ b/tests/Language/UkrainianTranslationTest.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * This file is part of CodeIgniter 4 framework. + * This file is part of CodeIgniter Shield. * * (c) CodeIgniter Foundation * diff --git a/tests/Unit/AuthRoutesTest.php b/tests/Unit/AuthRoutesTest.php index e67bec994..9012b731e 100644 --- a/tests/Unit/AuthRoutesTest.php +++ b/tests/Unit/AuthRoutesTest.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace Tests\Unit; use Tests\Support\TestCase; diff --git a/tests/Unit/Authentication/JWT/Adapters/FirebaseAdapaterTest.php b/tests/Unit/Authentication/JWT/Adapters/FirebaseAdapaterTest.php index 8385a3f00..ada3dfbbf 100644 --- a/tests/Unit/Authentication/JWT/Adapters/FirebaseAdapaterTest.php +++ b/tests/Unit/Authentication/JWT/Adapters/FirebaseAdapaterTest.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace Tests\Unit\Authentication\JWT\Adapters; use CodeIgniter\I18n\Time; diff --git a/tests/Unit/Authentication/JWT/JWTManagerTest.php b/tests/Unit/Authentication/JWT/JWTManagerTest.php index 045e70633..6acd82717 100644 --- a/tests/Unit/Authentication/JWT/JWTManagerTest.php +++ b/tests/Unit/Authentication/JWT/JWTManagerTest.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace Tests\Unit\Authentication\JWT; use CodeIgniter\I18n\Time; diff --git a/tests/Unit/CompositionValidatorTest.php b/tests/Unit/CompositionValidatorTest.php index 151475f62..3b3bed60b 100644 --- a/tests/Unit/CompositionValidatorTest.php +++ b/tests/Unit/CompositionValidatorTest.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace Tests\Unit; use CodeIgniter\Shield\Authentication\AuthenticationException; diff --git a/tests/Unit/DictionaryValidatorTest.php b/tests/Unit/DictionaryValidatorTest.php index 97fbf4072..2c5819862 100644 --- a/tests/Unit/DictionaryValidatorTest.php +++ b/tests/Unit/DictionaryValidatorTest.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace Tests\Unit; use CodeIgniter\Shield\Authentication\Passwords\DictionaryValidator; diff --git a/tests/Unit/EmailActivatorTest.php b/tests/Unit/EmailActivatorTest.php index daa7f79ac..15d356cc0 100644 --- a/tests/Unit/EmailActivatorTest.php +++ b/tests/Unit/EmailActivatorTest.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace Tests\Unit; use CodeIgniter\Shield\Authentication\Actions\EmailActivator; diff --git a/tests/Unit/FilterInCliTest.php b/tests/Unit/FilterInCliTest.php index fa9a7c77d..ad642c657 100644 --- a/tests/Unit/FilterInCliTest.php +++ b/tests/Unit/FilterInCliTest.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace Tests\Unit; use CodeIgniter\Filters\FilterInterface; diff --git a/tests/Unit/LoginModelTest.php b/tests/Unit/LoginModelTest.php index 464a2b0f5..2d77f4cfd 100644 --- a/tests/Unit/LoginModelTest.php +++ b/tests/Unit/LoginModelTest.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace Tests\Unit; use CodeIgniter\Shield\Exceptions\ValidationException; diff --git a/tests/Unit/NothingPersonalValidatorTest.php b/tests/Unit/NothingPersonalValidatorTest.php index b3e7d8e77..7fbb8fe28 100644 --- a/tests/Unit/NothingPersonalValidatorTest.php +++ b/tests/Unit/NothingPersonalValidatorTest.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace Tests\Unit; use CodeIgniter\Shield\Authentication\Passwords\NothingPersonalValidator; diff --git a/tests/Unit/PasswordsTest.php b/tests/Unit/PasswordsTest.php index fc892013b..80bad8ac0 100644 --- a/tests/Unit/PasswordsTest.php +++ b/tests/Unit/PasswordsTest.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace Tests\Unit; use CodeIgniter\Shield\Authentication\Passwords; diff --git a/tests/Unit/PwnedValidatorTest.php b/tests/Unit/PwnedValidatorTest.php index 1d0c7ec90..52e5b6767 100644 --- a/tests/Unit/PwnedValidatorTest.php +++ b/tests/Unit/PwnedValidatorTest.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace Tests\Unit; use CodeIgniter\HTTP\Exceptions\HTTPException; diff --git a/tests/Unit/UserIdentityModelTest.php b/tests/Unit/UserIdentityModelTest.php index 34e4e45f0..53cbb4259 100644 --- a/tests/Unit/UserIdentityModelTest.php +++ b/tests/Unit/UserIdentityModelTest.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace Tests\Unit; use CodeIgniter\Shield\Authentication\Authenticators\Session; diff --git a/tests/Unit/UserModelTest.php b/tests/Unit/UserModelTest.php index 6cb92a0d9..77c71ea59 100644 --- a/tests/Unit/UserModelTest.php +++ b/tests/Unit/UserModelTest.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace Tests\Unit; use CodeIgniter\Database\Exceptions\DataException; diff --git a/tests/Unit/UserTest.php b/tests/Unit/UserTest.php index f2554fa62..9c4d3ccda 100644 --- a/tests/Unit/UserTest.php +++ b/tests/Unit/UserTest.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace Tests\Unit; use CodeIgniter\I18n\Time; diff --git a/tests/_support/Config/Registrar.php b/tests/_support/Config/Registrar.php index 7a08e4dc7..36c680924 100644 --- a/tests/_support/Config/Registrar.php +++ b/tests/_support/Config/Registrar.php @@ -3,7 +3,7 @@ declare(strict_types=1); /** - * This file is part of CodeIgniter 4 framework. + * This file is part of CodeIgniter Shield. * * (c) CodeIgniter Foundation * diff --git a/tests/_support/DatabaseTestCase.php b/tests/_support/DatabaseTestCase.php index 8e72928af..61f5f8d25 100644 --- a/tests/_support/DatabaseTestCase.php +++ b/tests/_support/DatabaseTestCase.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace Tests\Support; use CodeIgniter\Shield\Config\Auth; diff --git a/tests/_support/FakeUser.php b/tests/_support/FakeUser.php index 6cc1fe09e..1dcb62fd8 100644 --- a/tests/_support/FakeUser.php +++ b/tests/_support/FakeUser.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace Tests\Support; use CodeIgniter\Shield\Entities\User; diff --git a/tests/_support/TestCase.php b/tests/_support/TestCase.php index 021fccfd9..a7af822ea 100644 --- a/tests/_support/TestCase.php +++ b/tests/_support/TestCase.php @@ -2,6 +2,15 @@ declare(strict_types=1); +/** + * This file is part of CodeIgniter Shield. + * + * (c) CodeIgniter Foundation + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + namespace Tests\Support; use CodeIgniter\Config\Factories;