Completed
Push — master ( 21ff29...a314d2 )
by Paul
03:35
created
src/Console/Command/AbstractCommand.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * This file is part of the PPI Framework.
4
- *
5
- * @copyright  Copyright (c) 2011-2013 Paul Dragoonis <[email protected]>
6
- * @license    http://opensource.org/licenses/mit-license.php MIT
7
- *
8
- * @link       http://www.ppi.io
9
- */
3
+     * This file is part of the PPI Framework.
4
+     *
5
+     * @copyright  Copyright (c) 2011-2013 Paul Dragoonis <[email protected]>
6
+     * @license    http://opensource.org/licenses/mit-license.php MIT
7
+     *
8
+     * @link       http://www.ppi.io
9
+     */
10 10
 
11 11
 namespace PPI\Framework\Console\Command;
12 12
 
Please login to merge, or discard this patch.
src/Console/Command/AssetsInstallCommand.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * This file is part of the PPI Framework.
4
- *
5
- * @copyright  Copyright (c) 2011-2013 Paul Dragoonis <[email protected]>
6
- * @license    http://opensource.org/licenses/mit-license.php MIT
7
- *
8
- * @link       http://www.ppi.io
9
- */
3
+     * This file is part of the PPI Framework.
4
+     *
5
+     * @copyright  Copyright (c) 2011-2013 Paul Dragoonis <[email protected]>
6
+     * @license    http://opensource.org/licenses/mit-license.php MIT
7
+     *
8
+     * @link       http://www.ppi.io
9
+     */
10 10
 
11 11
 namespace PPI\Framework\Console\Command;
12 12
 
Please login to merge, or discard this patch.
src/Console/Command/CacheClearCommand.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * This file is part of the PPI Framework.
4
- *
5
- * @copyright  Copyright (c) 2011-2013 Paul Dragoonis <[email protected]>
6
- * @license    http://opensource.org/licenses/mit-license.php MIT
7
- *
8
- * @link       http://www.ppi.io
9
- */
3
+     * This file is part of the PPI Framework.
4
+     *
5
+     * @copyright  Copyright (c) 2011-2013 Paul Dragoonis <[email protected]>
6
+     * @license    http://opensource.org/licenses/mit-license.php MIT
7
+     *
8
+     * @link       http://www.ppi.io
9
+     */
10 10
 
11 11
 namespace PPI\Framework\Console\Command;
12 12
 
Please login to merge, or discard this patch.
src/Console/Command/ConfigDebugCommand.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * This file is part of the PPI Framework.
4
- *
5
- * @copyright  Copyright (c) 2011-2013 Paul Dragoonis <[email protected]>
6
- * @license    http://opensource.org/licenses/mit-license.php MIT
7
- *
8
- * @link       http://www.ppi.io
9
- */
3
+     * This file is part of the PPI Framework.
4
+     *
5
+     * @copyright  Copyright (c) 2011-2013 Paul Dragoonis <[email protected]>
6
+     * @license    http://opensource.org/licenses/mit-license.php MIT
7
+     *
8
+     * @link       http://www.ppi.io
9
+     */
10 10
 
11 11
 namespace PPI\Framework\Console\Command;
12 12
 
Please login to merge, or discard this patch.
src/Console/Command/ModuleCreateCommand.php 3 patches
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * This file is part of the PPI Framework.
4
- *
5
- * @copyright  Copyright (c) 2011-2013 Paul Dragoonis <[email protected]>
6
- * @license    http://opensource.org/licenses/mit-license.php MIT
7
- *
8
- * @link       http://www.ppi.io
9
- */
3
+     * This file is part of the PPI Framework.
4
+     *
5
+     * @copyright  Copyright (c) 2011-2013 Paul Dragoonis <[email protected]>
6
+     * @license    http://opensource.org/licenses/mit-license.php MIT
7
+     *
8
+     * @link       http://www.ppi.io
9
+     */
10 10
 
11 11
 namespace PPI\Framework\Console\Command;
12 12
 
Please login to merge, or discard this patch.
Switch Indentation   +29 added lines, -29 removed lines patch added patch discarded remove patch
@@ -179,38 +179,38 @@
 block discarded – undo
179 179
 
180 180
         // Copy files relative to the selected templating engine
181 181
         switch ($this->tplEngine) {
182
-            case self::TPL_ENGINE_PHP:
183
-            case self::TPL_ENGINE_TWIG:
184
-            case self::TPL_ENGINE_SMARTY:
185
-                // Copy templating files over
186
-                $tplFiles = $this->tplEngineFilesMap[$this->tplEngine];
187
-                $this->copyFiles($this->skeletonModuleDir, $moduleDir, $tplFiles);
188
-                // Setting up templating tokens
189
-                foreach ($tplFiles as $tplFile) {
190
-                    $tokenizedFiles[] = $tplFile;
191
-                }
192
-                $tokens['[MODULE_NAME]'] = $moduleName;
193
-                $tokens['[TPL_ENGINE_EXT]'] = $this->tplEngine;
194
-                break;
182
+        case self::TPL_ENGINE_PHP:
183
+        case self::TPL_ENGINE_TWIG:
184
+        case self::TPL_ENGINE_SMARTY:
185
+            // Copy templating files over
186
+            $tplFiles = $this->tplEngineFilesMap[$this->tplEngine];
187
+            $this->copyFiles($this->skeletonModuleDir, $moduleDir, $tplFiles);
188
+            // Setting up templating tokens
189
+            foreach ($tplFiles as $tplFile) {
190
+                $tokenizedFiles[] = $tplFile;
191
+            }
192
+            $tokens['[MODULE_NAME]'] = $moduleName;
193
+            $tokens['[TPL_ENGINE_EXT]'] = $this->tplEngine;
194
+            break;
195 195
         }
196 196
         // Routing
197 197
         switch ($this->routingEngine) {
198
-            case self::ROUTING_ENGINE_SYMFONY:
199
-            case self::ROUTING_ENGINE_AURA:
200
-            case self::ROUTING_ENGINE_LARAVEL:
201
-                // Copy routing files over
202
-                $routingFiles = $this->routingEngineFilesMap[$this->routingEngine];
203
-                $this->copyFiles($this->skeletonModuleDir, $moduleDir, $routingFiles);
204
-
205
-                // Setting up routing tokens
206
-                foreach ($routingFiles as $routingFile) {
207
-                    $tokenizedFiles[] = $routingFile;
208
-                }
209
-                $routingTokensMap = $this->routingEngineTokenMap[$this->routingEngine];
210
-                foreach ($routingTokensMap as $routingTokenKey => $routingTokenVal) {
211
-                    $tokens[$routingTokenKey] = $routingTokenVal;
212
-                }
213
-                break;
198
+        case self::ROUTING_ENGINE_SYMFONY:
199
+        case self::ROUTING_ENGINE_AURA:
200
+        case self::ROUTING_ENGINE_LARAVEL:
201
+            // Copy routing files over
202
+            $routingFiles = $this->routingEngineFilesMap[$this->routingEngine];
203
+            $this->copyFiles($this->skeletonModuleDir, $moduleDir, $routingFiles);
204
+
205
+            // Setting up routing tokens
206
+            foreach ($routingFiles as $routingFile) {
207
+                $tokenizedFiles[] = $routingFile;
208
+            }
209
+            $routingTokensMap = $this->routingEngineTokenMap[$this->routingEngine];
210
+            foreach ($routingTokensMap as $routingTokenKey => $routingTokenVal) {
211
+                $tokens[$routingTokenKey] = $routingTokenVal;
212
+            }
213
+            break;
214 214
         }
215 215
 
216 216
         // Replace tokens in all files
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -331,12 +331,12 @@
 block discarded – undo
331 331
     private function checkRouters(InputInterface $input, OutputInterface $output)
332 332
     {
333 333
         // Aura Check
334
-        if($this->routingEngine == self::ROUTING_ENGINE_AURA && !class_exists('\Aura\Router\Router')) {
334
+        if ($this->routingEngine == self::ROUTING_ENGINE_AURA && !class_exists('\Aura\Router\Router')) {
335 335
             $output->writeln("<comment>Aura Router doesn't appear to be loaded. Run: <info>composer require ppi/aura-router</info></comment>");
336 336
         }
337 337
 
338 338
         // Laravel check
339
-        if($this->routingEngine == self::ROUTING_ENGINE_LARAVEL && !class_exists('\PPI\LaravelRouting\LaravelRouter')) {
339
+        if ($this->routingEngine == self::ROUTING_ENGINE_LARAVEL && !class_exists('\PPI\LaravelRouting\LaravelRouter')) {
340 340
             $output->writeln("<comment>Laravel Router doesn't appear to be loaded. Run: <info>composer require ppi/laravel-router</info></comment>");
341 341
         }
342 342
 
Please login to merge, or discard this patch.
src/Console/Command/RouterDebugCommand.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * This file is part of the PPI Framework.
4
- *
5
- * @copyright  Copyright (c) 2011-2013 Paul Dragoonis <[email protected]>
6
- * @license    http://opensource.org/licenses/mit-license.php MIT
7
- *
8
- * @link       http://www.ppi.io
9
- */
3
+     * This file is part of the PPI Framework.
4
+     *
5
+     * @copyright  Copyright (c) 2011-2013 Paul Dragoonis <[email protected]>
6
+     * @license    http://opensource.org/licenses/mit-license.php MIT
7
+     *
8
+     * @link       http://www.ppi.io
9
+     */
10 10
 
11 11
 namespace PPI\Framework\Console\Command;
12 12
 
Please login to merge, or discard this patch.
src/Console/Command/ServiceManagerDebugCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -124,7 +124,7 @@
 block discarded – undo
124 124
             $output->write(sprintf('<info>%s</info> ', str_pad($id, $pad['id'])));
125 125
             $output->write(sprintf('%s ', str_pad($line['type'], $pad['type'])));
126 126
             if ('Alias' == $line['type']) {
127
-                $output->write(sprintf('<comment>alias for</comment> <info>%s </info>', str_pad($line['class'], $pad['class']-10)));
127
+                $output->write(sprintf('<comment>alias for</comment> <info>%s </info>', str_pad($line['class'], $pad['class'] - 10)));
128 128
             } else {
129 129
                 $output->write(sprintf('%s ', str_pad($line['class'], $pad['class'])));
130 130
             }
Please login to merge, or discard this patch.
src/Console/Shell.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * This file is part of the PPI Framework.
4
- *
5
- * @copyright  Copyright (c) 2011-2013 Paul Dragoonis <[email protected]>
6
- * @license    http://opensource.org/licenses/mit-license.php MIT
7
- *
8
- * @link       http://www.ppi.io
9
- */
3
+     * This file is part of the PPI Framework.
4
+     *
5
+     * @copyright  Copyright (c) 2011-2013 Paul Dragoonis <[email protected]>
6
+     * @license    http://opensource.org/licenses/mit-license.php MIT
7
+     *
8
+     * @link       http://www.ppi.io
9
+     */
10 10
 
11 11
 namespace PPI\Framework\Console;
12 12
 
Please login to merge, or discard this patch.
src/Exception/NotImplementedException.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * This file is part of the PPI Framework.
4
- *
5
- * @copyright   Copyright (c) 2011-2013 Paul Dragoonis <[email protected]>
6
- * @license     http://opensource.org/licenses/mit-license.php MIT
7
- *
8
- * @link        http://www.ppi.io
9
- */
3
+     * This file is part of the PPI Framework.
4
+     *
5
+     * @copyright   Copyright (c) 2011-2013 Paul Dragoonis <[email protected]>
6
+     * @license     http://opensource.org/licenses/mit-license.php MIT
7
+     *
8
+     * @link        http://www.ppi.io
9
+     */
10 10
 
11 11
 namespace PPI\Framework\Exception;
12 12
 
Please login to merge, or discard this patch.