Completed
Push — master ( e5abe6...566895 )
by Baris
09:19 queued 06:33
created
apps/default.app/configs/error.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,10 +15,11 @@
 block discarded – undo
15 15
 use Whoops\Handler\PlainTextHandler;
16 16
 
17 17
 $run     = new Whoops\Run;
18
-if (PHP_SAPI === 'cli') 
18
+if (PHP_SAPI === 'cli') {
19 19
 	$handler = new PlainTextHandler;
20
-else
20
+} else {
21 21
 	$handler = new PrettyPageHandler;
22
+}
22 23
 	
23 24
 $run->pushHandler($handler);
24 25
 
Please login to merge, or discard this patch.
apps/default.app/configs/routing.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -11,9 +11,9 @@
 block discarded – undo
11 11
     "/:module/:controller/:action/:params",
12 12
     array(
13 13
         "module" => 1,
14
-		'controller' => 2,
15
-		'action' => 3,
16
-		'params' => 4,
14
+        'controller' => 2,
15
+        'action' => 3,
16
+        'params' => 4,
17 17
     )
18 18
 );
19 19
 
Please login to merge, or discard this patch.
bootstrap/services.php 3 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,9 +11,9 @@
 block discarded – undo
11 11
 */
12 12
 
13 13
 if (PHP_SAPI === 'cli') {
14
-	$di = new \Phalcon\DI\FactoryDefault\CLI();
14
+    $di = new \Phalcon\DI\FactoryDefault\CLI();
15 15
 } else {
16
-	$di = new \Phalcon\DI\FactoryDefault();
16
+    $di = new \Phalcon\DI\FactoryDefault();
17 17
 }
18 18
 
19 19
 /*
Please login to merge, or discard this patch.
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
 |
43 43
 */
44 44
 
45
-$di->set('error', function () {
45
+$di->set('error', function() {
46 46
     return include_once APPLICATION_PATH."configs/error.php";
47 47
 });	
48 48
 
@@ -91,10 +91,10 @@  discard block
 block discarded – undo
91 91
     include_once _if(APPLICATION_PATH."configs", "database.php")
92 92
 );
93 93
 
94
-foreach ($dbConfig->databases as $name => $dbConfig ) {
94
+foreach ($dbConfig->databases as $name => $dbConfig) {
95 95
     $di->set($name, function() use ($dbConfig, $di){
96 96
         $className = $dbConfig["type"];
97
-        $database =  new $className($dbConfig["config"]->toArray());
97
+        $database = new $className($dbConfig["config"]->toArray());
98 98
         $database->connect();
99 99
         return $database;
100 100
     });
@@ -154,7 +154,7 @@  discard block
 block discarded – undo
154 154
 |
155 155
 */
156 156
 
157
-$di->set('response', function(){
157
+$di->set('response', function() {
158 158
     return new \Phalcon\Http\Response();
159 159
 });
160 160
 
@@ -170,7 +170,7 @@  discard block
 block discarded – undo
170 170
 |
171 171
 */
172 172
 
173
-$di->set('assets', function () {
173
+$di->set('assets', function() {
174 174
     $assetManager = new \Phalcon\Assets\Manager();
175 175
     return $assetManager;
176 176
 }, true);
@@ -188,7 +188,7 @@  discard block
 block discarded – undo
188 188
 
189 189
 if (PHP_SAPI !== 'cli') 
190 190
 {
191
-    $di->set('url', function () {
191
+    $di->set('url', function() {
192 192
         global $di;
193 193
         $appConfig = $di->get('config');
194 194
         $url = new \Phalcon\Mvc\Url();
@@ -209,7 +209,7 @@  discard block
 block discarded – undo
209 209
 |
210 210
 */
211 211
 
212
-$di->set('crypt', function (){
212
+$di->set('crypt', function() {
213 213
     global $di;
214 214
     $appConfig = $di->get('config');
215 215
     $crypt = new \Phalcon\Crypt();
@@ -286,7 +286,7 @@  discard block
 block discarded – undo
286 286
 if (PHP_SAPI !== 'cli') 
287 287
 {
288 288
 
289
-    $di->set('router', function () {
289
+    $di->set('router', function() {
290 290
         global $di;
291 291
         $appConfig = $di->get('config');
292 292
         $router = new \Phalcon\Mvc\Router\Annotations(false);
Please login to merge, or discard this patch.
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -192,8 +192,9 @@
 block discarded – undo
192 192
         global $di;
193 193
         $appConfig = $di->get('config');
194 194
         $url = new \Phalcon\Mvc\Url();
195
-        if (!is_null($appConfig->base_url))
196
-            $url->setBaseUri($appConfig->base_url);
195
+        if (!is_null($appConfig->base_url)) {
196
+                    $url->setBaseUri($appConfig->base_url);
197
+        }
197 198
         return $url;
198 199
     }, true);
199 200
 }
Please login to merge, or discard this patch.
bootstrap/application.php 2 patches
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -51,10 +51,10 @@  discard block
 block discarded – undo
51 51
     $arguments['task'] = $appConfig->default_task;
52 52
     $arguments['action'] = $appConfig->default_action;
53 53
 
54
-    if ( isset( $_SERVER['argv'][1] ) AND strpos($argv[1], "@") !== FALSE  ) {
54
+    if (isset($_SERVER['argv'][1]) AND strpos($argv[1], "@") !== FALSE) {
55 55
         $itemNumber = 0;
56 56
         $allArguments = explode("@", $argv[1]);
57
-        if ( count($allArguments) === 2 )
57
+        if (count($allArguments) === 2)
58 58
         {
59 59
             $itemNumber = 1;
60 60
         }
@@ -67,8 +67,8 @@  discard block
 block discarded – undo
67 67
 
68 68
     $arguments['params'] = array();
69 69
 
70
-    foreach($_SERVER['argv'] as $k => $arg) {
71
-        if($k >= 2) {
70
+    foreach ($_SERVER['argv'] as $k => $arg) {
71
+        if ($k >= 2) {
72 72
             $arguments['params'][] = $arg;
73 73
         }
74 74
     }
@@ -83,10 +83,10 @@  discard block
 block discarded – undo
83 83
     $output = $application->handle()->getContent();
84 84
 
85 85
     // HTML Minification
86
-    if ( $appConfig->html_minify ) {
87
-        ob_start( function() use ($output) {
88
-            $search = array( '/\>[^\S ]+/s', '/[^\S ]+\</s', '/(\s)+/s' );
89
-            $replace = array( '>', '<', '\\1' );
86
+    if ($appConfig->html_minify) {
87
+        ob_start(function() use ($output) {
88
+            $search = array('/\>[^\S ]+/s', '/[^\S ]+\</s', '/(\s)+/s');
89
+            $replace = array('>', '<', '\\1');
90 90
             $buffer = preg_replace($search, $replace, $output);
91 91
             return $buffer;
92 92
         });
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -75,8 +75,7 @@
 block discarded – undo
75 75
 
76 76
     // handle incoming arguments
77 77
     $application->handle($arguments); 
78
-} 
79
-else 
78
+} else 
80 79
 {   
81 80
     $debugWidget = new \Phalcon\Debug\DebugWidget($di);
82 81
     //Handle the request
Please login to merge, or discard this patch.
apps/default.app/modules/common/module.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -26,8 +26,8 @@  discard block
 block discarded – undo
26 26
 
27 27
         $loader->registerNamespaces(
28 28
             array(
29
-                'Modules\Common\Controllers' => __DIR__ . '/controllers/',
30
-                'Modules\Common\Models'      => __DIR__ . '/models/',
29
+                'Modules\Common\Controllers' => __DIR__.'/controllers/',
30
+                'Modules\Common\Models'      => __DIR__.'/models/',
31 31
             )
32 32
         );
33 33
 
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
     public function registerServices(DiInterface $di)
41 41
     {
42 42
         // Registering a dispatcher
43
-        $di->set('dispatcher', function () {
43
+        $di->set('dispatcher', function() {
44 44
             $dispatcher = new Dispatcher();
45 45
             $dispatcher->setDefaultNamespace("Modules\Common\Controllers");
46 46
             return $dispatcher;
@@ -48,9 +48,9 @@  discard block
 block discarded – undo
48 48
 
49 49
         $appConfig = $di->get('config');
50 50
         $view = $di->get('view');
51
-        $view->setLayoutsDir( '_shared/');
51
+        $view->setLayoutsDir('_shared/');
52 52
         $view->setTemplateAfter($appConfig->view_layout_name);
53
-        $view->setViewsDir( __DIR__ . '/views/');
53
+        $view->setViewsDir(__DIR__.'/views/');
54 54
         $di->set('view', $view);
55 55
     }
56 56
 }
57 57
\ No newline at end of file
Please login to merge, or discard this patch.
apps/default.app/configs/application.php 2 patches
Indentation   +75 added lines, -75 removed lines patch added patch discarded remove patch
@@ -2,7 +2,7 @@  discard block
 block discarded – undo
2 2
 
3 3
 return array(
4 4
 
5
-	/*
5
+    /*
6 6
 	|--------------------------------------------------------------------------
7 7
 	| View Engines
8 8
 	|--------------------------------------------------------------------------
@@ -14,19 +14,19 @@  discard block
 block discarded – undo
14 14
 	|
15 15
 	*/
16 16
 
17
-	'view_engines' => array(
18
-		'.volt' => array(
19
-			'type' => '\Phalcon\Mvc\View\Engine\Volt',
20
-			'options' => array(
21
-			'compiledPath' => STORAGE_PATH . 'framework/views/',
22
-			'compiledSeparator' => '_',
23
-			'compiledExtension' => '.compiled',
24
-			'stat' => TRUE
25
-			)
26
-		)
27
-	),
17
+    'view_engines' => array(
18
+        '.volt' => array(
19
+            'type' => '\Phalcon\Mvc\View\Engine\Volt',
20
+            'options' => array(
21
+            'compiledPath' => STORAGE_PATH . 'framework/views/',
22
+            'compiledSeparator' => '_',
23
+            'compiledExtension' => '.compiled',
24
+            'stat' => TRUE
25
+            )
26
+        )
27
+    ),
28 28
 
29
-	/*
29
+    /*
30 30
 	|--------------------------------------------------------------------------
31 31
 	| View Layout Name
32 32
 	|--------------------------------------------------------------------------
@@ -36,9 +36,9 @@  discard block
 block discarded – undo
36 36
 	|
37 37
 	*/
38 38
 
39
-	'view_layout_name' => 'main',
39
+    'view_layout_name' => 'main',
40 40
 
41
-	/*
41
+    /*
42 42
 	|--------------------------------------------------------------------------
43 43
 	| Application Name
44 44
 	|--------------------------------------------------------------------------
@@ -48,9 +48,9 @@  discard block
 block discarded – undo
48 48
 	|
49 49
 	*/
50 50
 
51
-	'name' => "default.app",
51
+    'name' => "default.app",
52 52
 
53
-	/*
53
+    /*
54 54
 	|--------------------------------------------------------------------------
55 55
 	| Theme Layout Name
56 56
 	|--------------------------------------------------------------------------
@@ -61,9 +61,9 @@  discard block
 block discarded – undo
61 61
 	|
62 62
 	*/
63 63
 
64
-	'theme_layout_name' => "default",
64
+    'theme_layout_name' => "default",
65 65
 
66
-	/*
66
+    /*
67 67
 	|--------------------------------------------------------------------------
68 68
 	| * Default Language
69 69
 	|--------------------------------------------------------------------------
@@ -73,9 +73,9 @@  discard block
 block discarded – undo
73 73
 	|
74 74
 	*/
75 75
 
76
-	'default_language' => 'en',
76
+    'default_language' => 'en',
77 77
 
78
-	/*
78
+    /*
79 79
 	|--------------------------------------------------------------------------
80 80
 	| Registering Namespaces
81 81
 	|--------------------------------------------------------------------------
@@ -96,11 +96,11 @@  discard block
 block discarded – undo
96 96
 	|
97 97
 	*/
98 98
 
99
-	'namespaces' => array(
100
-		'Modules\Common' => APPLICATION_PATH . 'modules/common/',
101
-	),
99
+    'namespaces' => array(
100
+        'Modules\Common' => APPLICATION_PATH . 'modules/common/',
101
+    ),
102 102
 
103
-	/*
103
+    /*
104 104
 	|--------------------------------------------------------------------------
105 105
 	| Module Registration
106 106
 	|--------------------------------------------------------------------------
@@ -118,14 +118,14 @@  discard block
 block discarded – undo
118 118
 	|
119 119
 	*/
120 120
 
121
-	'modules' => array(
122
-		'common' => array(
123
-			'className' => 'Modules\Common\Module',
124
-			'path' => APPLICATION_PATH . 'modules/common/module.php'
125
-		)
126
-	),
121
+    'modules' => array(
122
+        'common' => array(
123
+            'className' => 'Modules\Common\Module',
124
+            'path' => APPLICATION_PATH . 'modules/common/module.php'
125
+        )
126
+    ),
127 127
 
128
-	/*
128
+    /*
129 129
 	|--------------------------------------------------------------------------
130 130
 	| Default settings (MVC)
131 131
 	|--------------------------------------------------------------------------
@@ -135,13 +135,13 @@  discard block
 block discarded – undo
135 135
 	|
136 136
 	*/
137 137
 
138
-	'default_namespace' 	=> 'Modules\Common\Controllers',
139
-	'default_module' 		=> 'common',
140
-	'default_controller' 	=> 'index',
141
-	'default_method' 		=> 'index',
138
+    'default_namespace' 	=> 'Modules\Common\Controllers',
139
+    'default_module' 		=> 'common',
140
+    'default_controller' 	=> 'index',
141
+    'default_method' 		=> 'index',
142 142
 
143 143
 	
144
-	/*
144
+    /*
145 145
 	|--------------------------------------------------------------------------
146 146
 	| Default settings (Task)
147 147
 	|--------------------------------------------------------------------------
@@ -151,10 +151,10 @@  discard block
 block discarded – undo
151 151
 	|
152 152
 	*/
153 153
 
154
-	'default_task' 			=> 'main',
155
-	'default_action' 		=> 'main',
154
+    'default_task' 			=> 'main',
155
+    'default_action' 		=> 'main',
156 156
 
157
-	/*
157
+    /*
158 158
 	|--------------------------------------------------------------------------
159 159
 	| Extra/Trailing slashes
160 160
 	|--------------------------------------------------------------------------
@@ -166,9 +166,9 @@  discard block
 block discarded – undo
166 166
 	|
167 167
 	*/
168 168
 
169
-	'extra_slashes' => TRUE,
169
+    'extra_slashes' => TRUE,
170 170
 
171
-	/*
171
+    /*
172 172
 	|--------------------------------------------------------------------------
173 173
 	| Application Debug Mode
174 174
 	|--------------------------------------------------------------------------
@@ -179,9 +179,9 @@  discard block
 block discarded – undo
179 179
 	|
180 180
 	*/
181 181
 
182
-	'debug' => FALSE,
182
+    'debug' => FALSE,
183 183
 
184
-	/*
184
+    /*
185 185
 	|--------------------------------------------------------------------------
186 186
 	| Do you need HTML Minification ?
187 187
 	|--------------------------------------------------------------------------
@@ -191,9 +191,9 @@  discard block
 block discarded – undo
191 191
 	|
192 192
 	*/
193 193
 
194
-	'html_minify' => FALSE,
194
+    'html_minify' => FALSE,
195 195
 
196
-	/*
196
+    /*
197 197
 	|--------------------------------------------------------------------------
198 198
 	| Application URL
199 199
 	|--------------------------------------------------------------------------
@@ -204,9 +204,9 @@  discard block
 block discarded – undo
204 204
 	|
205 205
 	*/
206 206
 
207
-	'base_url' => NULL,
207
+    'base_url' => NULL,
208 208
 
209
-	/*
209
+    /*
210 210
 	|--------------------------------------------------------------------------
211 211
 	| Application Timezone
212 212
 	|--------------------------------------------------------------------------
@@ -217,9 +217,9 @@  discard block
 block discarded – undo
217 217
 	|
218 218
 	*/
219 219
 
220
-	'timezone' => 'UTC',
220
+    'timezone' => 'UTC',
221 221
 
222
-	/*
222
+    /*
223 223
 	|--------------------------------------------------------------------------
224 224
 	| Encryption of Cookies
225 225
 	|--------------------------------------------------------------------------
@@ -231,9 +231,9 @@  discard block
 block discarded – undo
231 231
 	|
232 232
 	*/
233 233
 
234
-	'cookie_encryption' => TRUE,
234
+    'cookie_encryption' => TRUE,
235 235
 
236
-	/*
236
+    /*
237 237
 	|--------------------------------------------------------------------------
238 238
 	| Encryption Key
239 239
 	|--------------------------------------------------------------------------
@@ -244,9 +244,9 @@  discard block
 block discarded – undo
244 244
 	|
245 245
 	*/
246 246
 
247
-	'key' => 'this-is-my-secret-key',
247
+    'key' => 'this-is-my-secret-key',
248 248
 
249
-	/*
249
+    /*
250 250
 	|--------------------------------------------------------------------------
251 251
 	| Encryption Type
252 252
 	|--------------------------------------------------------------------------
@@ -256,9 +256,9 @@  discard block
 block discarded – undo
256 256
 	|
257 257
 	*/
258 258
 
259
-	'cipher' => MCRYPT_RIJNDAEL_256,
259
+    'cipher' => MCRYPT_RIJNDAEL_256,
260 260
 
261
-	/*
261
+    /*
262 262
 	|--------------------------------------------------------------------------
263 263
 	| Encryption Type
264 264
 	|--------------------------------------------------------------------------
@@ -267,9 +267,9 @@  discard block
 block discarded – undo
267 267
 	|
268 268
 	*/
269 269
 
270
-	'encryption_mode' => 'ecb',
270
+    'encryption_mode' => 'ecb',
271 271
 
272
-	/*
272
+    /*
273 273
 	|--------------------------------------------------------------------------
274 274
 	| Work Factor
275 275
 	|--------------------------------------------------------------------------
@@ -278,9 +278,9 @@  discard block
 block discarded – undo
278 278
 	|
279 279
 	*/
280 280
 
281
-	'work_factor' => 12,
281
+    'work_factor' => 12,
282 282
 
283
-	/*
283
+    /*
284 284
 	|--------------------------------------------------------------------------
285 285
 	| Application Path Registration
286 286
 	|--------------------------------------------------------------------------
@@ -304,13 +304,13 @@  discard block
 block discarded – undo
304 304
 	|
305 305
 	*/
306 306
 
307
-	'paths' => array(
308
-		APPLICATION_PATH . 'controllers/',
309
-		APPLICATION_PATH . 'models/',
310
-		APPLICATION_PATH . 'tasks/'
311
-	),
307
+    'paths' => array(
308
+        APPLICATION_PATH . 'controllers/',
309
+        APPLICATION_PATH . 'models/',
310
+        APPLICATION_PATH . 'tasks/'
311
+    ),
312 312
 
313
-	/*
313
+    /*
314 314
 	|--------------------------------------------------------------------------
315 315
 	| Application Classes Registration
316 316
 	|--------------------------------------------------------------------------
@@ -332,9 +332,9 @@  discard block
 block discarded – undo
332 332
 	|
333 333
 	*/
334 334
 
335
-	'classes' => array(),
335
+    'classes' => array(),
336 336
 
337
-	/*
337
+    /*
338 338
 	|--------------------------------------------------------------------------
339 339
 	| Registering Prefixes
340 340
 	|--------------------------------------------------------------------------
@@ -356,9 +356,9 @@  discard block
 block discarded – undo
356 356
 	|
357 357
 	*/
358 358
 
359
-	'prefixes' => array(),
359
+    'prefixes' => array(),
360 360
 
361
-	/*
361
+    /*
362 362
 	|--------------------------------------------------------------------------
363 363
 	| Additional File Extensions
364 364
 	|--------------------------------------------------------------------------
@@ -370,9 +370,9 @@  discard block
 block discarded – undo
370 370
 	|
371 371
 	*/
372 372
 
373
-	'extensions' => array("php"),
373
+    'extensions' => array("php"),
374 374
 
375
-	/*
375
+    /*
376 376
 	|--------------------------------------------------------------------------
377 377
 	| Default libraries
378 378
 	|--------------------------------------------------------------------------
@@ -380,7 +380,7 @@  discard block
 block discarded – undo
380 380
 	|
381 381
 	*/
382 382
 
383
-	'libraries' => array(
384
-		'session' => '\Phalcon\Session\Adapter\Files'
385
-	)
383
+    'libraries' => array(
384
+        'session' => '\Phalcon\Session\Adapter\Files'
385
+    )
386 386
 );
387 387
\ No newline at end of file
Please login to merge, or discard this patch.
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
 		'.volt' => array(
19 19
 			'type' => '\Phalcon\Mvc\View\Engine\Volt',
20 20
 			'options' => array(
21
-			'compiledPath' => STORAGE_PATH . 'framework/views/',
21
+			'compiledPath' => STORAGE_PATH.'framework/views/',
22 22
 			'compiledSeparator' => '_',
23 23
 			'compiledExtension' => '.compiled',
24 24
 			'stat' => TRUE
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
 	*/
98 98
 
99 99
 	'namespaces' => array(
100
-		'Modules\Common' => APPLICATION_PATH . 'modules/common/',
100
+		'Modules\Common' => APPLICATION_PATH.'modules/common/',
101 101
 	),
102 102
 
103 103
 	/*
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
 	'modules' => array(
122 122
 		'common' => array(
123 123
 			'className' => 'Modules\Common\Module',
124
-			'path' => APPLICATION_PATH . 'modules/common/module.php'
124
+			'path' => APPLICATION_PATH.'modules/common/module.php'
125 125
 		)
126 126
 	),
127 127
 
@@ -305,9 +305,9 @@  discard block
 block discarded – undo
305 305
 	*/
306 306
 
307 307
 	'paths' => array(
308
-		APPLICATION_PATH . 'controllers/',
309
-		APPLICATION_PATH . 'models/',
310
-		APPLICATION_PATH . 'tasks/'
308
+		APPLICATION_PATH.'controllers/',
309
+		APPLICATION_PATH.'models/',
310
+		APPLICATION_PATH.'tasks/'
311 311
 	),
312 312
 
313 313
 	/*
Please login to merge, or discard this patch.
apps/default.app/configs/mail.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -2,7 +2,7 @@  discard block
 block discarded – undo
2 2
 
3 3
 return array(
4 4
 
5
-	/*
5
+    /*
6 6
 	|--------------------------------------------------------------------------
7 7
 	| Mail Configuration
8 8
 	|--------------------------------------------------------------------------
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
     'username'   => '[email protected]',
30 30
     'password'   => 'your_password',
31 31
     'from'       => array(
32
-		'email' => '[email protected]',
33
-		'name'  => 'YOUR FROM NAME'
32
+        'email' => '[email protected]',
33
+        'name'  => 'YOUR FROM NAME'
34 34
     )
35 35
 );
36 36
\ No newline at end of file
Please login to merge, or discard this patch.
apps/default.app/configs/database.php 2 patches
Indentation   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -2,7 +2,7 @@  discard block
 block discarded – undo
2 2
 
3 3
 return array(
4 4
 
5
-	/*
5
+    /*
6 6
 	|--------------------------------------------------------------------------
7 7
 	| Database Connections
8 8
 	|--------------------------------------------------------------------------
@@ -25,18 +25,18 @@  discard block
 block discarded – undo
25 25
 	|
26 26
 	*/
27 27
 
28
-	'databases' => array (
29
-		'db' => array (
30
-	        'type' => '\Phalcon\Db\Adapter\Pdo\Mysql',
31
-	        'config' => array (
32
-	        	'host' => '127.0.0.1',
33
-				'port' => 3306,
34
-		        'username' => 'root',
35
-		        'password' => '',
36
-		        'dbname' => '',
37
-				'dbname' => 'northwind',
38
-				'persistent' => FALSE
39
-		    )
40
-		)
41
-	)
28
+    'databases' => array (
29
+        'db' => array (
30
+            'type' => '\Phalcon\Db\Adapter\Pdo\Mysql',
31
+            'config' => array (
32
+                'host' => '127.0.0.1',
33
+                'port' => 3306,
34
+                'username' => 'root',
35
+                'password' => '',
36
+                'dbname' => '',
37
+                'dbname' => 'northwind',
38
+                'persistent' => FALSE
39
+            )
40
+        )
41
+    )
42 42
 );
43 43
\ No newline at end of file
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -25,10 +25,10 @@
 block discarded – undo
25 25
 	|
26 26
 	*/
27 27
 
28
-	'databases' => array (
29
-		'db' => array (
28
+	'databases' => array(
29
+		'db' => array(
30 30
 	        'type' => '\Phalcon\Db\Adapter\Pdo\Mysql',
31
-	        'config' => array (
31
+	        'config' => array(
32 32
 	        	'host' => '127.0.0.1',
33 33
 				'port' => 3306,
34 34
 		        'username' => 'root',
Please login to merge, or discard this patch.
bootstrap/paths.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
     |
51 51
     */
52 52
 
53
-	'vendor_path' => ROOT_PATH."/vendor/",
53
+    'vendor_path' => ROOT_PATH."/vendor/",
54 54
 
55 55
     /*
56 56
     |--------------------------------------------------------------------------
Please login to merge, or discard this patch.