Passed
Push — develop ( c95d07...475f16 )
by nguereza
03:12
created
src/Migration/Command/MigrationCreateCommand.php 1 patch
Switch Indentation   -23 removed lines patch added patch discarded remove patch
@@ -159,26 +159,3 @@
 block discarded – undo
159 159
     private function getTemplateClass(): string
160 160
     {
161 161
         return <<<EOF
162
-        <?php
163
-        namespace Platine\Framework\Migration;
164
-
165
-        use Platine\Framework\Migration\AbstractMigration;
166
-
167
-        class %classname% extends AbstractMigration
168
-        {
169
-
170
-            public function up(): void
171
-            {
172
-              //Action when migrate up
173
-
174
-            }
175
-
176
-            public function down(): void
177
-            {
178
-              //Action when migrate down
179
-
180
-            }
181
-        }
182
-        EOF;
183
-    }
184
-}
Please login to merge, or discard this patch.
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.