From 4de750394c4c048146486228ec663c0acb221fb2 Mon Sep 17 00:00:00 2001 From: Awilum Date: Fri, 16 Jul 2021 17:25:29 +0300 Subject: [PATCH] feat(helpers): update namespace for shortcodes --- src/flextype/Support/Parsers/Shortcodes/EntriesShortcode.php | 2 ++ src/flextype/Support/Parsers/Shortcodes/MediaShortcode.php | 2 ++ src/flextype/Support/Parsers/Shortcodes/RawShortcode.php | 2 ++ src/flextype/Support/Parsers/Shortcodes/RegistryShortcode.php | 2 ++ src/flextype/Support/Parsers/Shortcodes/UrlShortcode.php | 2 ++ 5 files changed, 10 insertions(+) diff --git a/src/flextype/Support/Parsers/Shortcodes/EntriesShortcode.php b/src/flextype/Support/Parsers/Shortcodes/EntriesShortcode.php index bb6e1ecf..0eff9527 100644 --- a/src/flextype/Support/Parsers/Shortcodes/EntriesShortcode.php +++ b/src/flextype/Support/Parsers/Shortcodes/EntriesShortcode.php @@ -7,6 +7,8 @@ declare(strict_types=1); * Founded by Sergey Romanenko and maintained by Flextype Community. */ +namespace Flextype\Support\Parsers\Shortcodes; + use Thunder\Shortcode\Shortcode\ShortcodeInterface; // Shortcode: [entries_fetch id="entry-id" field="field-name" default="default-value"] diff --git a/src/flextype/Support/Parsers/Shortcodes/MediaShortcode.php b/src/flextype/Support/Parsers/Shortcodes/MediaShortcode.php index 0375212f..88b6af7d 100644 --- a/src/flextype/Support/Parsers/Shortcodes/MediaShortcode.php +++ b/src/flextype/Support/Parsers/Shortcodes/MediaShortcode.php @@ -7,6 +7,8 @@ declare(strict_types=1); * Founded by Sergey Romanenko and maintained by Flextype Community. */ +namespace Flextype\Support\Parsers\Shortcodes; + use Thunder\Shortcode\Shortcode\ShortcodeInterface; // Shortcode: [media_files_fetch id="media-id" field="field-name" default="default-value"] diff --git a/src/flextype/Support/Parsers/Shortcodes/RawShortcode.php b/src/flextype/Support/Parsers/Shortcodes/RawShortcode.php index e521b350..78aa1a12 100644 --- a/src/flextype/Support/Parsers/Shortcodes/RawShortcode.php +++ b/src/flextype/Support/Parsers/Shortcodes/RawShortcode.php @@ -7,6 +7,8 @@ declare(strict_types=1); * Founded by Sergey Romanenko and maintained by Flextype Community. */ +namespace Flextype\Support\Parsers\Shortcodes; + use Thunder\Shortcode\EventHandler\FilterRawEventHandler; use Thunder\Shortcode\Events; use Thunder\Shortcode\Shortcode\ShortcodeInterface; diff --git a/src/flextype/Support/Parsers/Shortcodes/RegistryShortcode.php b/src/flextype/Support/Parsers/Shortcodes/RegistryShortcode.php index aa025f17..ecb4f4f7 100644 --- a/src/flextype/Support/Parsers/Shortcodes/RegistryShortcode.php +++ b/src/flextype/Support/Parsers/Shortcodes/RegistryShortcode.php @@ -7,6 +7,8 @@ declare(strict_types=1); * Founded by Sergey Romanenko and maintained by Flextype Community. */ +namespace Flextype\Support\Parsers\Shortcodes; + use Thunder\Shortcode\Shortcode\ShortcodeInterface; // Shortcode: [registry_get name="item-name" default="default-value"] diff --git a/src/flextype/Support/Parsers/Shortcodes/UrlShortcode.php b/src/flextype/Support/Parsers/Shortcodes/UrlShortcode.php index 887aeef2..a83c9966 100644 --- a/src/flextype/Support/Parsers/Shortcodes/UrlShortcode.php +++ b/src/flextype/Support/Parsers/Shortcodes/UrlShortcode.php @@ -7,6 +7,8 @@ declare(strict_types=1); * Founded by Sergey Romanenko and maintained by Flextype Community. */ +namespace Flextype\Support\Parsers\Shortcodes; + use Slim\Http\Environment; use Slim\Http\Uri;