Completed
Push — master ( 0f95d0...246dde )
by Mikołaj
03:39
created
src/app/init.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
 putenv('LC_ALL='.$lang.'.'.$codeset);
33 33
 putenv('LANG='.$lang.'.'.$codeset);
34 34
 putenv('LANGUAGE='.$lang.'.'.$codeset);
35
-setlocale(LC_ALL,  $lang.'.'.$codeset);
35
+setlocale(LC_ALL, $lang.'.'.$codeset);
36 36
 
37 37
 $domain = 'rudolf';
38 38
 bindtextdomain($domain, APP_ROOT.'/locale');
Please login to merge, or discard this patch.
src/app/module/Articles/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/app/module/Articles/hooks.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,7 @@
 block discarded – undo
2 2
 
3 3
 use Rudolf\Component\Hooks\Filter;
4 4
 
5
-Filter::add('head_after', function ($after) {
5
+Filter::add('head_after', function($after) {
6 6
     $after[] = '<link href="'.DIR.'/rss/" rel="alternate" type="application/rss+xml" title="Kanał z artykułami">';
7 7
 
8 8
     return $after;
Please login to merge, or discard this patch.
src/app/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/app/module/Koxy/One/Model.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
 
42 42
             file_put_contents($file, implode(':', $contentArray));
43 43
 
44
-            setcookie('vote_'.$id, $type,  time() + (3600 * 24 * 365 * 5), DIR);
44
+            setcookie('vote_'.$id, $type, time() + (3600 * 24 * 365 * 5), DIR);
45 45
         }
46 46
 
47 47
         return [
Please login to merge, or discard this patch.
src/app/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/app/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/app/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/app/defines.php 1 patch
Spacing   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -4,18 +4,18 @@  discard block
 block discarded – undo
4 4
 define('VER_NAME', '0.11.0');
5 5
 define('NAME', 'rudolf');
6 6
 
7
-define('APP_ROOT',      __DIR__);
8
-define('CORE_ROOT',     APP_ROOT.'/core');
9
-define('MODULES_ROOT',  APP_ROOT.'/module');
7
+define('APP_ROOT', __DIR__);
8
+define('CORE_ROOT', APP_ROOT.'/core');
9
+define('MODULES_ROOT', APP_ROOT.'/module');
10 10
 
11
-define('CONFIG_ROOT',   WEB_ROOT.'/config');
12
-define('TEMP_ROOT',     WEB_ROOT.'/temp');
13
-define('LOG_ROOT',      WEB_ROOT.'/log');
11
+define('CONFIG_ROOT', WEB_ROOT.'/config');
12
+define('TEMP_ROOT', WEB_ROOT.'/temp');
13
+define('LOG_ROOT', WEB_ROOT.'/log');
14 14
 
15
-define('CONTENT_ROOT',  WEB_ROOT.'/content');
16
-define('PLUGINS_ROOT',  CONTENT_ROOT.'/plugins');
17
-define('THEMES_ROOT',   CONTENT_ROOT.'/themes');
18
-define('UPLOADS_ROOT',  CONTENT_ROOT.'/uploads');
15
+define('CONTENT_ROOT', WEB_ROOT.'/content');
16
+define('PLUGINS_ROOT', CONTENT_ROOT.'/plugins');
17
+define('THEMES_ROOT', CONTENT_ROOT.'/themes');
18
+define('UPLOADS_ROOT', CONTENT_ROOT.'/uploads');
19 19
 
20 20
 if (dirname($_SERVER['SCRIPT_NAME']) == '/') {
21 21
     define('DIR', '');
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
     define('DIR', dirname($_SERVER['SCRIPT_NAME']));
24 24
 }
25 25
 
26
-define('CONTENT',       DIR.'/content');
27
-define('PLUGINS',       CONTENT.'/plugins');
28
-define('THEMES',        CONTENT.'/themes');
29
-define('UPLOADS',       CONTENT.'/uploads');
26
+define('CONTENT', DIR.'/content');
27
+define('PLUGINS', CONTENT.'/plugins');
28
+define('THEMES', CONTENT.'/themes');
29
+define('UPLOADS', CONTENT.'/uploads');
Please login to merge, or discard this patch.