Completed
Push — master ( 079139...59379f )
by Mikołaj
02:42
created
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   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -159,7 +159,6 @@  discard block
 block discarded – undo
159 159
      *
160 160
      * @param string $tag     The name of the filter hook.
161 161
      * @param mixed  $value   The value on which the filters hooked to <tt>$tag</tt> are applied on.
162
-     * @param mixed  $var,... Additional variables passed to the functions hooked to <tt>$tag</tt>.
163 162
      *
164 163
      * @return mixed The filtered value after all hooked functions are applied to it.
165 164
      */
@@ -313,7 +312,7 @@  discard block
 block discarded – undo
313 312
      * @param int|bool $priority Used in counting how many hooks were applied. If === false and
314 313
      *                           $function is an object reference, we return the unique id only if it already has one, false otherwise.
315 314
      *
316
-     * @return string|bool Unique ID for usage as array key or false if $priority === false and
315
+     * @return string|false Unique ID for usage as array key or false if $priority === false and
317 316
      *                     $function is an object reference, and it does not already have a unique id.
318 317
      */
319 318
     private static function buildUniqueID($tag, $function, $priority)
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/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.
src/module/Galleries/One/Admin/FormCheck.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
             'thumb_height' => '',
19 19
         ], $this->data);
20 20
 
21
-        $data = array_map(function ($a) {
21
+        $data = array_map(function($a) {
22 22
             return trim($a);
23 23
         }, $data);
24 24
 
Please login to merge, or discard this patch.
src/module/Categories/One/Admin/FormCheck.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
             'type' => $this->type,
24 24
         ], $this->data);
25 25
 
26
-        $data = array_map(function ($a) {
26
+        $data = array_map(function($a) {
27 27
             return trim($a);
28 28
         }, $data);
29 29
 
Please login to merge, or discard this patch.
src/module/Articles/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
     'artykuly/kategorie/<slug>(/|/page/<page>)?',
16 16
     'Rudolf\Modules\Articles\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
     'artykuly/<year>/<month>/<slug>(\/)?',
25 25
     'Rudolf\Modules\Articles\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.