Completed
Push — master ( 18f460...9e5c66 )
by Mikołaj
02:35
created
src/install/config.example/modules/albums.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 return array(
4
-  'on_page' => 10,
5
-  'nav_number' => 7,
6
-  'order' => 'DESC',
7
-  'sort' => 'id',
8
-  'path' => 'foto',
4
+    'on_page' => 10,
5
+    'nav_number' => 7,
6
+    'order' => 'DESC',
7
+    'sort' => 'id',
8
+    'path' => 'foto',
9 9
 );
Please login to merge, or discard this patch.
src/install/config.example/auth.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 return array(
4
-  'site_key' => 'site_key_value',
5
-  'session_expire' => '+1 month',
4
+    'site_key' => 'site_key_value',
5
+    'session_expire' => '+1 month',
6 6
 );
Please login to merge, or discard this patch.
src/component/Hooks/Filter.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -189,7 +189,7 @@
 block discarded – undo
189 189
         // Sort
190 190
         if (!isset(self::$mergedFilters[$tag])) {
191 191
             ksort(self::$filters[$tag]);
192
-            self::$mergedFilters[ $tag ] = true;
192
+            self::$mergedFilters[$tag] = true;
193 193
         }
194 194
 
195 195
         reset(self::$filters[$tag]);
Please login to merge, or discard this patch.
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -71,7 +71,6 @@  discard block
 block discarded – undo
71 71
      * @param string   $tag              The filter hook to which the function to be removed is hooked.
72 72
      * @param callback $functionToRemove The name of the function which should be removed.
73 73
      * @param int      $priority         optional. The priority of the function (default: 10).
74
-     * @param int      $accepted_args    optional. The number of arguments the function accepts (default: 1).
75 74
      *
76 75
      * @return bool Whether the function existed before it was removed.
77 76
      */
@@ -160,7 +159,6 @@  discard block
 block discarded – undo
160 159
      *
161 160
      * @param string $tag     The name of the filter hook.
162 161
      * @param mixed  $value   The value on which the filters hooked to <tt>$tag</tt> are applied on.
163
-     * @param mixed  $var,... Additional variables passed to the functions hooked to <tt>$tag</tt>.
164 162
      *
165 163
      * @return mixed The filtered value after all hooked functions are applied to it.
166 164
      */
Please login to merge, or discard this patch.
src/component/ErrorHandler/Resources/templates/layout.html.php 1 patch
Spacing   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -2,37 +2,37 @@
 block discarded – undo
2 2
 <html>
3 3
   <head>
4 4
     <meta charset="utf-8">
5
-    <title><?=$this->pageTitle;?></title>
6
-    <style><?=$this->pageStyle;?></style>
5
+    <title><?=$this->pageTitle; ?></title>
6
+    <style><?=$this->pageStyle; ?></style>
7 7
   </head>
8 8
   <body>
9 9
     <section class="wrapper">
10
-      <h1><?=$this->message;?></h1>
10
+      <h1><?=$this->message; ?></h1>
11 11
       <p>
12
-        <span class="file"><?=$this->description['file'];?></span>
13
-        <span class="line"><?=$this->description['line'];?></span> throws
14
-        <span class="class"><?=$this->description['class'];?></span>
12
+        <span class="file"><?=$this->description['file']; ?></span>
13
+        <span class="line"><?=$this->description['line']; ?></span> throws
14
+        <span class="class"><?=$this->description['class']; ?></span>
15 15
       </p>
16 16
 
17 17
       <section class="trace">
18 18
         <h2>/* Stack trace */</h2>
19 19
         <ol><?php foreach ($this->trace as $key => $v): ?> 
20 20
           <li title="check args">
21
-            <span class="file"><?=$v['file'];?></span>
22
-            <span class="line"><?=$v['line'];?></span>
23
-            <span class="class"><?=$v['class'];?></span>
24
-            <span class="type"><?=$v['type'];?></span>
25
-            <span class="function"><?=$v['function'];?></span>
26
-            <pre><?=$v['args'];?></pre>
21
+            <span class="file"><?=$v['file']; ?></span>
22
+            <span class="line"><?=$v['line']; ?></span>
23
+            <span class="class"><?=$v['class']; ?></span>
24
+            <span class="type"><?=$v['type']; ?></span>
25
+            <span class="function"><?=$v['function']; ?></span>
26
+            <pre><?=$v['args']; ?></pre>
27 27
           </li>
28
-          <?php endforeach;?>
28
+          <?php endforeach; ?>
29 29
         </ol>
30 30
       </section>
31 31
     </section>
32 32
     <footer class="footer">
33
-      <span><?=VER_NAME;?></span>
34
-      <span>&copy; <?=date('Y');?> <?=NAME;?></span>
33
+      <span><?=VER_NAME; ?></span>
34
+      <span>&copy; <?=date('Y'); ?> <?=NAME; ?></span>
35 35
     </footer>
36
-    <script><?=$this->pageScript;?></script>
36
+    <script><?=$this->pageScript; ?></script>
37 37
   </body>
38 38
 </html>
39 39
\ No newline at end of file
Please login to merge, or discard this patch.
src/component/Forms/Form.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
             $this->data = array_merge($mergeWith, $this->data);
65 65
         }
66 66
 
67
-        return array_map(function ($a) {
67
+        return array_map(function($a) {
68 68
             return htmlspecialchars(trim($a));
69 69
         }, $this->data);
70 70
     }
Please login to merge, or discard this patch.
src/component/Helpers/Navigation/MenuItemCollection.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
             }
43 43
         }
44 44
 
45
-        usort($items, function ($a, $b) {
45
+        usort($items, function($a, $b) {
46 46
             return strcmp($a->getPosition(), $b->getPosition());
47 47
         });
48 48
 
Please login to merge, or discard this patch.
src/module/Pages/One/Admin/FormCheck.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
             'published' => '',
27 27
         ], $this->data);
28 28
 
29
-        $data = array_map(function ($a) {
29
+        $data = array_map(function($a) {
30 30
             return trim($a);
31 31
         }, $data);
32 32
 
Please login to merge, or discard this patch.
src/module/Albums/routing.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
     'foto/kategorie/<slug>(/|/page/<page>)?',
16 16
     'Rudolf\Modules\Albums\Category\One\Controller::getCategory',
17 17
     ['slug' => '[a-z0-9]+(?:-[a-z0-9]+)*',
18
-     'page' => '[1-9][0-9]*$', ],
18
+        'page' => '[1-9][0-9]*$', ],
19 19
     ['page' => 0]
20 20
 ));
21 21
 
@@ -24,8 +24,8 @@  discard block
 block discarded – undo
24 24
     'foto/<year>/<month>/<slug>(\/)?',
25 25
     'Rudolf\Modules\Albums\One\Controller::getOne',
26 26
     ['year' => '[0-9]{4}',
27
-     'month' => "(0[1-9]|[12]\d|3[01])",
28
-     'slug' => '[a-z0-9-]+',
27
+        'month' => "(0[1-9]|[12]\d|3[01])",
28
+        'slug' => '[a-z0-9-]+',
29 29
         // (0[1-9]|[12]\d|3[01]) with 0, like 05
30 30
         // ([1-9]|[12]\d|3[01]) without 0, like 5
31 31
     ]
Please login to merge, or discard this patch.
src/module/Albums/One/Admin/FormCheck.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
             'published' => '',
27 27
         ], $this->data);
28 28
 
29
-        $data = array_map(function ($a) {
29
+        $data = array_map(function($a) {
30 30
             return trim($a);
31 31
         }, $data);
32 32
 
Please login to merge, or discard this patch.