Passed
Push — develop ( f8fbd4...0ede07 )
by nguereza
02:50
created
src/Console/Command/MakeActionCommand.php 1 patch
Switch Indentation   -28 removed lines patch added patch discarded remove patch
@@ -85,31 +85,3 @@
 block discarded – undo
85 85
     public function getClassTemplate(): string
86 86
     {
87 87
         return <<<EOF
88
-        <?php
89
-        
90
-        declare(strict_types=1);
91
-        
92
-        namespace %namespace%;
93
-
94
-        use Platine\Http\Handler\RequestHandlerInterface;
95
-        use Platine\Http\ResponseInterface;
96
-        use Platine\Http\ServerRequestInterface;
97
-
98
-        /**
99
-        * @class %classname%
100
-        * @package %namespace%
101
-        */
102
-        class %classname% implements RequestHandlerInterface
103
-        {
104
-
105
-            /**
106
-            * {@inheritodc}
107
-            */
108
-            public function handle(ServerRequestInterface \$request): ResponseInterface
109
-            {
110
-            }
111
-        }
112
-        
113
-        EOF;
114
-    }
115
-}
Please login to merge, or discard this patch.
src/Migration/Command/MigrationCreateCommand.php 1 patch
Switch Indentation   -23 removed lines patch added patch discarded remove patch
@@ -161,26 +161,3 @@
 block discarded – undo
161 161
     private function getTemplateClass(): string
162 162
     {
163 163
         return <<<EOF
164
-        <?php
165
-        namespace Platine\Framework\Migration;
166
-
167
-        use Platine\Framework\Migration\AbstractMigration;
168
-
169
-        class AddUserTable20210915100000 extends AbstractMigration
170
-        {
171
-
172
-            public function up(): void
173
-            {
174
-              //Action when migrate up
175
-
176
-            }
177
-
178
-            public function down(): void
179
-            {
180
-              //Action when migrate down
181
-
182
-            }
183
-        }
184
-        EOF;
185
-    }
186
-}
Please login to merge, or discard this patch.