diff --git a/src/ConfigProvider.php b/src/ConfigProvider.php index c35e102..aff0864 100644 --- a/src/ConfigProvider.php +++ b/src/ConfigProvider.php @@ -9,6 +9,7 @@ * @contact group@hyperf.io * @license https://github.com/hyperf/hyperf/blob/master/LICENSE */ + namespace Hyperf\View; class ConfigProvider diff --git a/src/Engine/BladeEngine.php b/src/Engine/BladeEngine.php index 495fbbc..6a3ee24 100644 --- a/src/Engine/BladeEngine.php +++ b/src/Engine/BladeEngine.php @@ -9,6 +9,7 @@ * @contact group@hyperf.io * @license https://github.com/hyperf/hyperf/blob/master/LICENSE */ + namespace Hyperf\View\Engine; use duncan3dc\Laravel\BladeInstance; diff --git a/src/Engine/EngineInterface.php b/src/Engine/EngineInterface.php index 31efdf8..c6a3c07 100644 --- a/src/Engine/EngineInterface.php +++ b/src/Engine/EngineInterface.php @@ -9,6 +9,7 @@ * @contact group@hyperf.io * @license https://github.com/hyperf/hyperf/blob/master/LICENSE */ + namespace Hyperf\View\Engine; interface EngineInterface diff --git a/src/Engine/NoneEngine.php b/src/Engine/NoneEngine.php index 4734a6a..90721b7 100644 --- a/src/Engine/NoneEngine.php +++ b/src/Engine/NoneEngine.php @@ -9,6 +9,7 @@ * @contact group@hyperf.io * @license https://github.com/hyperf/hyperf/blob/master/LICENSE */ + namespace Hyperf\View\Engine; class NoneEngine implements EngineInterface diff --git a/src/Engine/PlatesEngine.php b/src/Engine/PlatesEngine.php index 35d5eb5..c461c1d 100644 --- a/src/Engine/PlatesEngine.php +++ b/src/Engine/PlatesEngine.php @@ -9,6 +9,7 @@ * @contact group@hyperf.io * @license https://github.com/hyperf/hyperf/blob/master/LICENSE */ + namespace Hyperf\View\Engine; use League\Plates\Engine; diff --git a/src/Engine/SmartyEngine.php b/src/Engine/SmartyEngine.php index dbbc88e..eb6f913 100644 --- a/src/Engine/SmartyEngine.php +++ b/src/Engine/SmartyEngine.php @@ -9,6 +9,7 @@ * @contact group@hyperf.io * @license https://github.com/hyperf/hyperf/blob/master/LICENSE */ + namespace Hyperf\View\Engine; use Smarty; diff --git a/src/Engine/ThinkEngine.php b/src/Engine/ThinkEngine.php index 7546b2d..5c7a22b 100644 --- a/src/Engine/ThinkEngine.php +++ b/src/Engine/ThinkEngine.php @@ -9,6 +9,7 @@ * @contact group@hyperf.io * @license https://github.com/hyperf/hyperf/blob/master/LICENSE */ + namespace Hyperf\View\Engine; use think\Template; diff --git a/src/Engine/TwigEngine.php b/src/Engine/TwigEngine.php index 357a29b..967ed03 100644 --- a/src/Engine/TwigEngine.php +++ b/src/Engine/TwigEngine.php @@ -9,6 +9,7 @@ * @contact group@hyperf.io * @license https://github.com/hyperf/hyperf/blob/master/LICENSE */ + namespace Hyperf\View\Engine; use Twig\Environment; diff --git a/src/Exception/EngineNotFindException.php b/src/Exception/EngineNotFindException.php index f1db716..31da98d 100644 --- a/src/Exception/EngineNotFindException.php +++ b/src/Exception/EngineNotFindException.php @@ -9,6 +9,7 @@ * @contact group@hyperf.io * @license https://github.com/hyperf/hyperf/blob/master/LICENSE */ + namespace Hyperf\View\Exception; use RuntimeException; diff --git a/src/Exception/RenderException.php b/src/Exception/RenderException.php index 38a1608..ac1b115 100644 --- a/src/Exception/RenderException.php +++ b/src/Exception/RenderException.php @@ -9,6 +9,7 @@ * @contact group@hyperf.io * @license https://github.com/hyperf/hyperf/blob/master/LICENSE */ + namespace Hyperf\View\Exception; use RuntimeException; diff --git a/src/Mode.php b/src/Mode.php index 3da2a92..81f01ba 100644 --- a/src/Mode.php +++ b/src/Mode.php @@ -9,6 +9,7 @@ * @contact group@hyperf.io * @license https://github.com/hyperf/hyperf/blob/master/LICENSE */ + namespace Hyperf\View; class Mode diff --git a/src/Render.php b/src/Render.php index 1cc0922..a18d948 100644 --- a/src/Render.php +++ b/src/Render.php @@ -9,6 +9,7 @@ * @contact group@hyperf.io * @license https://github.com/hyperf/hyperf/blob/master/LICENSE */ + namespace Hyperf\View; use Hyperf\Context\ResponseContext; diff --git a/src/RenderInterface.php b/src/RenderInterface.php index 8ecdb5e..193cf74 100644 --- a/src/RenderInterface.php +++ b/src/RenderInterface.php @@ -9,6 +9,7 @@ * @contact group@hyperf.io * @license https://github.com/hyperf/hyperf/blob/master/LICENSE */ + namespace Hyperf\View; use Psr\Http\Message\ResponseInterface; diff --git a/tests/NoneTest.php b/tests/NoneTest.php index ee2174b..cf93f7b 100644 --- a/tests/NoneTest.php +++ b/tests/NoneTest.php @@ -9,6 +9,7 @@ * @contact group@hyperf.io * @license https://github.com/hyperf/hyperf/blob/master/LICENSE */ + namespace HyperfTest\View; use Hyperf\View\Engine\NoneEngine; diff --git a/tests/PlatesTest.php b/tests/PlatesTest.php index d9f9af1..2eb8f05 100644 --- a/tests/PlatesTest.php +++ b/tests/PlatesTest.php @@ -9,6 +9,7 @@ * @contact group@hyperf.io * @license https://github.com/hyperf/hyperf/blob/master/LICENSE */ + namespace HyperfTest\View; use Hyperf\View\Engine\PlatesEngine; diff --git a/tests/RenderTest.php b/tests/RenderTest.php index 0c9496c..15c0512 100644 --- a/tests/RenderTest.php +++ b/tests/RenderTest.php @@ -9,6 +9,7 @@ * @contact group@hyperf.io * @license https://github.com/hyperf/hyperf/blob/master/LICENSE */ + namespace HyperfTest\View; use Hyperf\Config\Config; diff --git a/tests/SmartyTest.php b/tests/SmartyTest.php index 7db2088..89b42d3 100644 --- a/tests/SmartyTest.php +++ b/tests/SmartyTest.php @@ -9,6 +9,7 @@ * @contact group@hyperf.io * @license https://github.com/hyperf/hyperf/blob/master/LICENSE */ + namespace HyperfTest\View; use Hyperf\View\Engine\SmartyEngine; diff --git a/tests/ThinkTest.php b/tests/ThinkTest.php index dc4ca75..7d4a63a 100644 --- a/tests/ThinkTest.php +++ b/tests/ThinkTest.php @@ -9,6 +9,7 @@ * @contact group@hyperf.io * @license https://github.com/hyperf/hyperf/blob/master/LICENSE */ + namespace HyperfTest\View; use Hyperf\View\Engine\ThinkEngine; diff --git a/tests/TwigTest.php b/tests/TwigTest.php index dc73a3d..6b5d911 100644 --- a/tests/TwigTest.php +++ b/tests/TwigTest.php @@ -9,6 +9,7 @@ * @contact group@hyperf.io * @license https://github.com/hyperf/hyperf/blob/master/LICENSE */ + namespace HyperfTest\View; use Hyperf\View\Engine\TwigEngine;