Completed
Push — master ( fe72c4...326c99 )
by Anton
06:15 queued 04:27
created
application/modules/test/controllers/cache-data.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -20,13 +20,13 @@  discard block
 block discarded – undo
20 20
  * @return void
21 21
  * @throws \Exception
22 22
  */
23
-return function ($id = null) {
23
+return function($id = null) {
24 24
     /**
25 25
      * @var Controller $this
26 26
      */
27 27
     Layout::breadCrumbs(
28 28
         [
29
-            Layout::ahref('Test', ['test', 'index']),
29
+            Layout::ahref('Test', [ 'test', 'index' ]),
30 30
             'Cache',
31 31
             'Data',
32 32
         ]
@@ -45,9 +45,9 @@  discard block
 block discarded – undo
45 45
     /**
46 46
      * @var Users\Row $userRow
47 47
      */
48
-    if (!$userRow = Cache::get('user.' . $id)) {
48
+    if (!$userRow = Cache::get('user.'.$id)) {
49 49
         $userRow = Users\Table::findRow($id);
50
-        Cache::set('user.' . $id, $userRow, 30);
50
+        Cache::set('user.'.$id, $userRow, 30);
51 51
     };
52 52
 
53 53
     if (!$userRow) {
Please login to merge, or discard this patch.
application/modules/test/controllers/no-view.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -14,10 +14,10 @@
 block discarded – undo
14 14
 /**
15 15
  * @return void
16 16
  */
17
-return function () {
17
+return function() {
18 18
     Layout::breadCrumbs(
19 19
         [
20
-            Layout::ahref('Test', ['test', 'index']),
20
+            Layout::ahref('Test', [ 'test', 'index' ]),
21 21
             'Without view',
22 22
         ]
23 23
     );
Please login to merge, or discard this patch.
application/modules/test/controllers/route.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,13 +15,13 @@
 block discarded – undo
15 15
 /**
16 16
  * @return void
17 17
  */
18
-return function () {
18
+return function() {
19 19
     /**
20 20
      * @var Controller $this
21 21
      */
22 22
     Layout::breadCrumbs(
23 23
         [
24
-            Layout::ahref('Test', ['test', 'index']),
24
+            Layout::ahref('Test', [ 'test', 'index' ]),
25 25
             'Routers Examples',
26 26
         ]
27 27
     );
Please login to merge, or discard this patch.
application/modules/test/controllers/dispatch.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,13 +15,13 @@
 block discarded – undo
15 15
 /**
16 16
  * @return void
17 17
  */
18
-return function () {
18
+return function() {
19 19
     /**
20 20
      * @var Controller $this
21 21
      */
22 22
     Layout::breadCrumbs(
23 23
         [
24
-            Layout::ahref('Test', ['test', 'index']),
24
+            Layout::ahref('Test', [ 'test', 'index' ]),
25 25
             'Dispatch',
26 26
         ]
27 27
     );
Please login to merge, or discard this patch.
application/modules/test/controllers/grid-array.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -17,13 +17,13 @@
 block discarded – undo
17 17
 /**
18 18
  * @return void
19 19
  */
20
-return function () {
20
+return function() {
21 21
     /**
22 22
      * @var Controller $this
23 23
      */
24 24
     Layout::breadCrumbs(
25 25
         [
26
-            Layout::ahref('Test', ['test', 'index']),
26
+            Layout::ahref('Test', [ 'test', 'index' ]),
27 27
             'Grid',
28 28
             'Array source',
29 29
         ]
Please login to merge, or discard this patch.
application/modules/test/controllers/cli-not-allowed.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,9 +19,9 @@
 block discarded – undo
19 19
  *
20 20
  * @return array
21 21
  */
22
-return function ($flag = false) {
22
+return function($flag = false) {
23 23
     /**
24 24
      * @var Controller $this
25 25
      */
26
-    return ['string' => 'bar', 'array' => ['some', 'array'], 'flag' => $flag];
26
+    return [ 'string' => 'bar', 'array' => [ 'some', 'array' ], 'flag' => $flag ];
27 27
 };
Please login to merge, or discard this patch.
application/modules/test/controllers/route-with-params.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -23,13 +23,13 @@  discard block
 block discarded – undo
23 23
  *
24 24
  * @return string
25 25
  */
26
-return function ($a, $b, $c) {
26
+return function($a, $b, $c) {
27 27
     /**
28 28
      * @var Controller $this
29 29
      */
30 30
     Layout::breadCrumbs(
31 31
         [
32
-            Layout::ahref('Test', ['test', 'index']),
32
+            Layout::ahref('Test', [ 'test', 'index' ]),
33 33
             'Routers Examples',
34 34
         ]
35 35
     );
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
      echo \$c; <em>// '$c'</em>
56 56
  }</code></pre></div>
57 57
 CODE;
58
-    $this->assign('title', $module . '/' . $controller);
58
+    $this->assign('title', $module.'/'.$controller);
59 59
     $this->assign('content', $content);
60 60
     return 'modal.phtml';
61 61
 };
Please login to merge, or discard this patch.
application/modules/test/controllers/request.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,13 +15,13 @@
 block discarded – undo
15 15
 /**
16 16
  * @return void
17 17
  */
18
-return function () {
18
+return function() {
19 19
     /**
20 20
      * @var Controller $this
21 21
      */
22 22
     Layout::breadCrumbs(
23 23
         [
24
-            Layout::ahref('Test', ['test', 'index']),
24
+            Layout::ahref('Test', [ 'test', 'index' ]),
25 25
             'Request Examples',
26 26
         ]
27 27
     );
Please login to merge, or discard this patch.
application/modules/test/controllers/options.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -17,19 +17,19 @@
 block discarded – undo
17 17
 /**
18 18
  * @return void
19 19
  */
20
-return function () {
20
+return function() {
21 21
     /**
22 22
      * @var Controller $this
23 23
      */
24 24
     Layout::breadCrumbs(
25 25
         [
26
-            Layout::ahref('Test', ['test', 'index']),
26
+            Layout::ahref('Test', [ 'test', 'index' ]),
27 27
             'Options',
28 28
         ]
29 29
     );
30 30
 
31 31
     if ($example = Options\Table::get('example')) {
32
-        $message = sprintf('Option `example` was found, it is `%s`', (string)$example);
32
+        $message = sprintf('Option `example` was found, it is `%s`', (string) $example);
33 33
         Options\Table::remove('example');
34 34
     } else {
35 35
         $message = 'Option `example` not found, try again later';
Please login to merge, or discard this patch.