Completed
Push — master ( f47b30...a4cf0d )
by Fariz
01:55 queued 22s
created
routes/hello.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
 | Try to go to /hello or /hello/yourname and see what it shows
19 19
 |
20 20
 */
21
-Router::get('hello', function () {
21
+Router::get('hello', function() {
22 22
     Viewer::file('resources/views/hello.php');
23 23
 });
24 24
 Router::get('hello/(:any)', 'Controller\Hello@greetWithName');
Please login to merge, or discard this patch.
routes/web.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
 | view files (home.php) into any directory within the project.
19 19
 |
20 20
 */
21
-Router::get('', function () {
21
+Router::get('', function() {
22 22
     Viewer::file('resources/views/home.php');
23 23
 });
24 24
 
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
 | URI into any file.
32 32
 |
33 33
 */
34
-Router::get('(:any)', function ($match) {
34
+Router::get('(:any)', function($match) {
35 35
     Viewer::file('resources/views/'.$match);
36 36
 });
37 37
 
Please login to merge, or discard this patch.
resources/views/home.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
 -->
7 7
 <html>
8 8
 <?php
9
-$data = ['title' => 'StupidlySimple PHP | Home'];
9
+$data = [ 'title' => 'StupidlySimple PHP | Home' ];
10 10
 Core\Viewer::file('layouts/head.php', $data); ?>
11 11
 <body>
12 12
 <!-- Wrapper -->
Please login to merge, or discard this patch.
resources/views/controller.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
 -->
7 7
 <html>
8 8
 <?php
9
-$data = ['title' => 'StupidlySimple | Controller'];
9
+$data = [ 'title' => 'StupidlySimple | Controller' ];
10 10
 Core\Viewer::file('layouts/head.php', $data); ?>
11 11
 <body>
12 12
 <!-- Wrapper -->
Please login to merge, or discard this patch.
resources/views/routing.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
 -->
7 7
 <html>
8 8
 <?php
9
-$data = ['title' => 'StupidlySimple PHP | Service'];
9
+$data = [ 'title' => 'StupidlySimple PHP | Service' ];
10 10
 Core\Viewer::file('layouts/head.php', $data); ?>
11 11
 <body>
12 12
 <!-- Wrapper -->
Please login to merge, or discard this patch.
resources/views/admin/home.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -6,14 +6,14 @@
 block discarded – undo
6 6
 -->
7 7
 <html>
8 8
 <?php
9
-$data = ['title' => 'StupidlySimple PHP | Home'];
9
+$data = [ 'title' => 'StupidlySimple PHP | Home' ];
10 10
 Core\Viewer::file('../layouts/head.php', $data); ?>
11 11
 <body>
12 12
 <!-- Wrapper -->
13 13
 <div id="wrapper">
14 14
 
15 15
     <?php
16
-    $top_data = ['is_admin' => true];
16
+    $top_data = [ 'is_admin' => true ];
17 17
     Viewer::file('../layouts/top.php', $top_data) ?>
18 18
 
19 19
     <?php Viewer::file('../layouts/menu.php') ?>
Please login to merge, or discard this patch.
config/cache.php 2 patches
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -9,8 +9,8 @@  discard block
 block discarded – undo
9 9
  * @link		https://stupidlysimple.github.io/
10 10
  */
11 11
 return [
12
-  'enabled'   => false,
13
-  'settings'  => [
12
+    'enabled'   => false,
13
+    'settings'  => [
14 14
     /*
15 15
      * Default storage
16 16
      * if you set this storage => 'files', then $cache = phpFastCache(); <-- will be files cache
@@ -68,5 +68,5 @@  discard block
 block discarded – undo
68 68
      * Use 1 as normal traditional, 2 = phpfastcache fastest as default, 3 = phpfastcache memory stable
69 69
      */
70 70
     'caching_method' => 2,
71
-  ],
71
+    ],
72 72
 ];
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -42,11 +42,11 @@
 block discarded – undo
42 42
      * Default Memcache Server for all $cache = phpFastCache('memcache');
43 43
      */
44 44
     'server'        => [
45
-            ['127.0.0.1', 11211, 1],
45
+            [ '127.0.0.1', 11211, 1 ],
46 46
     ],
47 47
 
48 48
     'memcache'      => [
49
-            ['127.0.0.1', 11211, 1],
49
+            [ '127.0.0.1', 11211, 1 ],
50 50
     ],
51 51
 
52 52
     'redis'         => [
Please login to merge, or discard this patch.
config/database.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -10,8 +10,8 @@  discard block
 block discarded – undo
10 10
  */
11 11
 return
12 12
 [
13
-  'enabled'   => true,
14
-  'settings'  => [
13
+    'enabled'   => true,
14
+    'settings'  => [
15 15
     'host'      => 'localhost',
16 16
     'driver'    => 'mysql',
17 17
     'database'  => 'stupidlysimple',
@@ -20,5 +20,5 @@  discard block
 block discarded – undo
20 20
     'charset'   => 'utf8',
21 21
     'collation' => 'utf8_unicode_ci',
22 22
     'prefix'    => '',
23
-  ],
23
+    ],
24 24
 ];
Please login to merge, or discard this patch.
config/timetrackr.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,5 +10,5 @@
 block discarded – undo
10 10
  */
11 11
 return
12 12
 [
13
-  'timezone' => 'Asia/Kuala_Lumpur',
13
+    'timezone' => 'Asia/Kuala_Lumpur',
14 14
 ];
Please login to merge, or discard this patch.