From 1c969874ce4c2d2043d75e430303d9266e9d7722 Mon Sep 17 00:00:00 2001 From: Awilum Date: Sun, 10 Jul 2022 22:35:27 +0300 Subject: [PATCH] feat(entries): add missed namespaces --- src/flextype/core/Entries/Directives/ExpressionsDirective.php | 2 ++ src/flextype/core/Entries/Directives/MarkdownDirective.php | 2 ++ src/flextype/core/Entries/Directives/PhpDirective.php | 2 ++ src/flextype/core/Entries/Directives/ShortcodesDirective.php | 2 ++ src/flextype/core/Entries/Directives/TextileDirective.php | 2 ++ src/flextype/core/Entries/Directives/TypesDirective.php | 2 ++ src/flextype/core/Entries/Fields/Default/CreatedAtField.php | 2 ++ src/flextype/core/Entries/Fields/Default/CreatedByField.php | 2 ++ src/flextype/core/Entries/Fields/Default/IdField.php | 2 ++ src/flextype/core/Entries/Fields/Default/ModifiedAtField.php | 2 ++ src/flextype/core/Entries/Fields/Default/PublishedAtField.php | 2 ++ src/flextype/core/Entries/Fields/Default/PublishedByField.php | 2 ++ src/flextype/core/Entries/Fields/Default/RoutableField.php | 2 ++ src/flextype/core/Entries/Fields/Default/SlugField.php | 2 ++ src/flextype/core/Entries/Fields/Default/UuidField.php | 2 ++ src/flextype/core/Entries/Fields/Default/VisibilityField.php | 2 ++ src/flextype/core/Entries/Fields/Tokens/Items/CallsField.php | 2 ++ src/flextype/core/Entries/Fields/Tokens/Items/IdField.php | 2 ++ .../core/Entries/Fields/Tokens/Items/LimitCallsField.php | 2 ++ src/flextype/core/Entries/Fields/Tokens/Items/StateField.php | 2 ++ src/flextype/core/Entries/Macros/EntriesMacros.php | 2 ++ src/flextype/core/Entries/Macros/PhpMacros.php | 2 ++ src/flextype/core/Entries/Macros/RegistryMacros.php | 2 ++ 23 files changed, 46 insertions(+) diff --git a/src/flextype/core/Entries/Directives/ExpressionsDirective.php b/src/flextype/core/Entries/Directives/ExpressionsDirective.php index 0711ae9a..26ce6c5b 100644 --- a/src/flextype/core/Entries/Directives/ExpressionsDirective.php +++ b/src/flextype/core/Entries/Directives/ExpressionsDirective.php @@ -14,6 +14,8 @@ declare(strict_types=1); * Redistributions of files must retain the above copyright notice. */ +namespace Flextype\Entries\Directives; + use function Flextype\emitter; use function Flextype\entries; use function Flextype\expression; diff --git a/src/flextype/core/Entries/Directives/MarkdownDirective.php b/src/flextype/core/Entries/Directives/MarkdownDirective.php index 4e33e0cb..7b03ba8a 100644 --- a/src/flextype/core/Entries/Directives/MarkdownDirective.php +++ b/src/flextype/core/Entries/Directives/MarkdownDirective.php @@ -14,6 +14,8 @@ declare(strict_types=1); * Redistributions of files must retain the above copyright notice. */ +namespace Flextype\Entries\Directives; + use function Flextype\emitter; use function Flextype\entries; use function Flextype\parsers; diff --git a/src/flextype/core/Entries/Directives/PhpDirective.php b/src/flextype/core/Entries/Directives/PhpDirective.php index 6db63152..35f3f8c1 100644 --- a/src/flextype/core/Entries/Directives/PhpDirective.php +++ b/src/flextype/core/Entries/Directives/PhpDirective.php @@ -14,6 +14,8 @@ declare(strict_types=1); * Redistributions of files must retain the above copyright notice. */ +namespace Flextype\Entries\Directives; + use function Flextype\emitter; use function Flextype\entries; use function Flextype\registry; diff --git a/src/flextype/core/Entries/Directives/ShortcodesDirective.php b/src/flextype/core/Entries/Directives/ShortcodesDirective.php index f5d0b41a..8f33f9de 100644 --- a/src/flextype/core/Entries/Directives/ShortcodesDirective.php +++ b/src/flextype/core/Entries/Directives/ShortcodesDirective.php @@ -14,6 +14,8 @@ declare(strict_types=1); * Redistributions of files must retain the above copyright notice. */ +namespace Flextype\Entries\Directives; + use function Flextype\emitter; use function Flextype\entries; use function Flextype\parsers; diff --git a/src/flextype/core/Entries/Directives/TextileDirective.php b/src/flextype/core/Entries/Directives/TextileDirective.php index d7fa1c1b..0688e84b 100644 --- a/src/flextype/core/Entries/Directives/TextileDirective.php +++ b/src/flextype/core/Entries/Directives/TextileDirective.php @@ -14,6 +14,8 @@ declare(strict_types=1); * Redistributions of files must retain the above copyright notice. */ +namespace Flextype\Entries\Directives; + use function Flextype\emitter; use function Flextype\entries; use function Flextype\parsers; diff --git a/src/flextype/core/Entries/Directives/TypesDirective.php b/src/flextype/core/Entries/Directives/TypesDirective.php index 3705e1df..99265c55 100644 --- a/src/flextype/core/Entries/Directives/TypesDirective.php +++ b/src/flextype/core/Entries/Directives/TypesDirective.php @@ -14,6 +14,8 @@ declare(strict_types=1); * Redistributions of files must retain the above copyright notice. */ +namespace Flextype\Entries\Directives; + use function Flextype\collection; use function Flextype\collectionFromQueryString; use function Flextype\emitter; diff --git a/src/flextype/core/Entries/Fields/Default/CreatedAtField.php b/src/flextype/core/Entries/Fields/Default/CreatedAtField.php index 3c387075..3d7e5452 100644 --- a/src/flextype/core/Entries/Fields/Default/CreatedAtField.php +++ b/src/flextype/core/Entries/Fields/Default/CreatedAtField.php @@ -14,6 +14,8 @@ declare(strict_types=1); * Redistributions of files must retain the above copyright notice. */ +namespace Flextype\Entries\Fields; + use function Glowy\Strings\strings; use function Glowy\Filesystem\filesystem; use function Flextype\emitter; diff --git a/src/flextype/core/Entries/Fields/Default/CreatedByField.php b/src/flextype/core/Entries/Fields/Default/CreatedByField.php index e384c4f3..94521c65 100644 --- a/src/flextype/core/Entries/Fields/Default/CreatedByField.php +++ b/src/flextype/core/Entries/Fields/Default/CreatedByField.php @@ -14,6 +14,8 @@ declare(strict_types=1); * Redistributions of files must retain the above copyright notice. */ +namespace Flextype\Entries\Fields; + use function Glowy\Strings\strings; use function Flextype\emitter; use function Flextype\entries; diff --git a/src/flextype/core/Entries/Fields/Default/IdField.php b/src/flextype/core/Entries/Fields/Default/IdField.php index 864aa003..04d11234 100644 --- a/src/flextype/core/Entries/Fields/Default/IdField.php +++ b/src/flextype/core/Entries/Fields/Default/IdField.php @@ -14,6 +14,8 @@ declare(strict_types=1); * Redistributions of files must retain the above copyright notice. */ +namespace Flextype\Entries\Fields; + use function Glowy\Strings\strings; use function Flextype\emitter; use function Flextype\entries; diff --git a/src/flextype/core/Entries/Fields/Default/ModifiedAtField.php b/src/flextype/core/Entries/Fields/Default/ModifiedAtField.php index fb113df3..2f5f01e8 100644 --- a/src/flextype/core/Entries/Fields/Default/ModifiedAtField.php +++ b/src/flextype/core/Entries/Fields/Default/ModifiedAtField.php @@ -14,6 +14,8 @@ declare(strict_types=1); * Redistributions of files must retain the above copyright notice. */ +namespace Flextype\Entries\Fields; + use function Glowy\Strings\strings; use function Glowy\Filesystem\filesystem; use function Flextype\emitter; diff --git a/src/flextype/core/Entries/Fields/Default/PublishedAtField.php b/src/flextype/core/Entries/Fields/Default/PublishedAtField.php index f4d77745..35b7ed71 100644 --- a/src/flextype/core/Entries/Fields/Default/PublishedAtField.php +++ b/src/flextype/core/Entries/Fields/Default/PublishedAtField.php @@ -14,6 +14,8 @@ declare(strict_types=1); * Redistributions of files must retain the above copyright notice. */ +namespace Flextype\Entries\Fields; + use function Glowy\Strings\strings; use function Glowy\Filesystem\filesystem; use function Flextype\registry; diff --git a/src/flextype/core/Entries/Fields/Default/PublishedByField.php b/src/flextype/core/Entries/Fields/Default/PublishedByField.php index 060b7908..dcbc05b2 100644 --- a/src/flextype/core/Entries/Fields/Default/PublishedByField.php +++ b/src/flextype/core/Entries/Fields/Default/PublishedByField.php @@ -14,6 +14,8 @@ declare(strict_types=1); * Redistributions of files must retain the above copyright notice. */ +namespace Flextype\Entries\Fields; + use function Glowy\Strings\strings; use function Flextype\emitter; use function Flextype\entries; diff --git a/src/flextype/core/Entries/Fields/Default/RoutableField.php b/src/flextype/core/Entries/Fields/Default/RoutableField.php index 919c52a3..f55379c7 100644 --- a/src/flextype/core/Entries/Fields/Default/RoutableField.php +++ b/src/flextype/core/Entries/Fields/Default/RoutableField.php @@ -14,6 +14,8 @@ declare(strict_types=1); * Redistributions of files must retain the above copyright notice. */ +namespace Flextype\Entries\Fields; + use function Glowy\Strings\strings; use function Flextype\emitter; use function Flextype\entries; diff --git a/src/flextype/core/Entries/Fields/Default/SlugField.php b/src/flextype/core/Entries/Fields/Default/SlugField.php index 74695c71..7aa2c284 100644 --- a/src/flextype/core/Entries/Fields/Default/SlugField.php +++ b/src/flextype/core/Entries/Fields/Default/SlugField.php @@ -14,6 +14,8 @@ declare(strict_types=1); * Redistributions of files must retain the above copyright notice. */ +namespace Flextype\Entries\Fields; + use function Glowy\Strings\strings; use function Flextype\emitter; use function Flextype\entries; diff --git a/src/flextype/core/Entries/Fields/Default/UuidField.php b/src/flextype/core/Entries/Fields/Default/UuidField.php index 69a97d8c..c5ea09f9 100644 --- a/src/flextype/core/Entries/Fields/Default/UuidField.php +++ b/src/flextype/core/Entries/Fields/Default/UuidField.php @@ -14,6 +14,8 @@ declare(strict_types=1); * Redistributions of files must retain the above copyright notice. */ +namespace Flextype\Entries\Fields; + use Ramsey\Uuid\Uuid; use function Glowy\Strings\strings; use function Flextype\emitter; diff --git a/src/flextype/core/Entries/Fields/Default/VisibilityField.php b/src/flextype/core/Entries/Fields/Default/VisibilityField.php index 40cef772..32759264 100644 --- a/src/flextype/core/Entries/Fields/Default/VisibilityField.php +++ b/src/flextype/core/Entries/Fields/Default/VisibilityField.php @@ -14,6 +14,8 @@ declare(strict_types=1); * Redistributions of files must retain the above copyright notice. */ +namespace Flextype\Entries\Fields; + use function Glowy\Strings\strings; use function Flextype\emitter; use function Flextype\entries; diff --git a/src/flextype/core/Entries/Fields/Tokens/Items/CallsField.php b/src/flextype/core/Entries/Fields/Tokens/Items/CallsField.php index f4c36fbe..0dcacab4 100644 --- a/src/flextype/core/Entries/Fields/Tokens/Items/CallsField.php +++ b/src/flextype/core/Entries/Fields/Tokens/Items/CallsField.php @@ -14,6 +14,8 @@ declare(strict_types=1); * Redistributions of files must retain the above copyright notice. */ +namespace Flextype\Entries\Fields; + use function Glowy\Strings\strings; use function Flextype\emitter; use function Flextype\entries; diff --git a/src/flextype/core/Entries/Fields/Tokens/Items/IdField.php b/src/flextype/core/Entries/Fields/Tokens/Items/IdField.php index db76070f..106285fa 100644 --- a/src/flextype/core/Entries/Fields/Tokens/Items/IdField.php +++ b/src/flextype/core/Entries/Fields/Tokens/Items/IdField.php @@ -14,6 +14,8 @@ declare(strict_types=1); * Redistributions of files must retain the above copyright notice. */ +namespace Flextype\Entries\Fields; + use function Glowy\Strings\strings; use function Flextype\emitter; use function Flextype\entries; diff --git a/src/flextype/core/Entries/Fields/Tokens/Items/LimitCallsField.php b/src/flextype/core/Entries/Fields/Tokens/Items/LimitCallsField.php index 3401e97b..1f18df49 100644 --- a/src/flextype/core/Entries/Fields/Tokens/Items/LimitCallsField.php +++ b/src/flextype/core/Entries/Fields/Tokens/Items/LimitCallsField.php @@ -14,6 +14,8 @@ declare(strict_types=1); * Redistributions of files must retain the above copyright notice. */ +namespace Flextype\Entries\Fields; + use function Glowy\Strings\strings; use function Flextype\emitter; use function Flextype\entries; diff --git a/src/flextype/core/Entries/Fields/Tokens/Items/StateField.php b/src/flextype/core/Entries/Fields/Tokens/Items/StateField.php index f614c67f..46a2db07 100644 --- a/src/flextype/core/Entries/Fields/Tokens/Items/StateField.php +++ b/src/flextype/core/Entries/Fields/Tokens/Items/StateField.php @@ -14,6 +14,8 @@ declare(strict_types=1); * Redistributions of files must retain the above copyright notice. */ +namespace Flextype\Entries\Fields; + use function Glowy\Strings\strings; use function Flextype\emitter; use function Flextype\entries; diff --git a/src/flextype/core/Entries/Macros/EntriesMacros.php b/src/flextype/core/Entries/Macros/EntriesMacros.php index 652ca9bb..4fb55262 100644 --- a/src/flextype/core/Entries/Macros/EntriesMacros.php +++ b/src/flextype/core/Entries/Macros/EntriesMacros.php @@ -14,6 +14,8 @@ declare(strict_types=1); * Redistributions of files must retain the above copyright notice. */ +namespace Flextype\Entries\Macros; + use Glowy\Arrays\Arrays as Collection; use function Flextype\registry; diff --git a/src/flextype/core/Entries/Macros/PhpMacros.php b/src/flextype/core/Entries/Macros/PhpMacros.php index 0c3714db..3bb0098d 100644 --- a/src/flextype/core/Entries/Macros/PhpMacros.php +++ b/src/flextype/core/Entries/Macros/PhpMacros.php @@ -14,6 +14,8 @@ declare(strict_types=1); * Redistributions of files must retain the above copyright notice. */ +namespace Flextype\Entries\Macros; + use function Flextype\registry; use function Flextype\emitter; use function Flextype\entries; diff --git a/src/flextype/core/Entries/Macros/RegistryMacros.php b/src/flextype/core/Entries/Macros/RegistryMacros.php index bde14c42..817509ac 100644 --- a/src/flextype/core/Entries/Macros/RegistryMacros.php +++ b/src/flextype/core/Entries/Macros/RegistryMacros.php @@ -14,6 +14,8 @@ declare(strict_types=1); * Redistributions of files must retain the above copyright notice. */ +namespace Flextype\Entries\Macros; + use function Flextype\registry; use function Flextype\emitter; use function Flextype\collection;