Test Failed
Push — master ( 20d1d2...8b8ea2 )
by Florian
03:50
created
src/Helper/MailHelper.php 2 patches
Indentation   +24 added lines, -24 removed lines patch added patch discarded remove patch
@@ -10,29 +10,29 @@
 block discarded – undo
10 10
  */
11 11
 class MailHelper extends HtmlHelper {
12 12
 
13
-	public function initialize(array $config) {
14
-		parent::initialize($config);
15
-	}
16
-
17
-	public function setDefaultUrlParams($params, $merge = true) {
18
-		$this->setConfig('urlParams', $params, $merge);
19
-	}
20
-
21
-	public function link($title, $url = null, array $options = []) {
22
-		if (is_array($url)) {
23
-			if (!isset($url['?'])) {
24
-				$url['?'] = [];
25
-			}
26
-			if (isset($options['urlParams'])) {
27
-				if (is_array($options['urlParams'])) {
28
-					$url['?'] = array_merge($url['?'], $options['urlParams']);
29
-				}
30
-			} else {
31
-				$url['?'] = array_merge($url['?'], (array)$this->getConfig('urlParams'));
32
-			}
33
-		}
34
-
35
-		return parent::link($title, $url, $options);
36
-	}
13
+    public function initialize(array $config) {
14
+        parent::initialize($config);
15
+    }
16
+
17
+    public function setDefaultUrlParams($params, $merge = true) {
18
+        $this->setConfig('urlParams', $params, $merge);
19
+    }
20
+
21
+    public function link($title, $url = null, array $options = []) {
22
+        if (is_array($url)) {
23
+            if (!isset($url['?'])) {
24
+                $url['?'] = [];
25
+            }
26
+            if (isset($options['urlParams'])) {
27
+                if (is_array($options['urlParams'])) {
28
+                    $url['?'] = array_merge($url['?'], $options['urlParams']);
29
+                }
30
+            } else {
31
+                $url['?'] = array_merge($url['?'], (array)$this->getConfig('urlParams'));
32
+            }
33
+        }
34
+
35
+        return parent::link($title, $url, $options);
36
+    }
37 37
 
38 38
 }
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types = 1);
2
+declare(strict_types=1);
3 3
 
4 4
 namespace Burzum\ZurbInky\View\Helper;
5 5
 
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
 					$url['?'] = array_merge($url['?'], $options['urlParams']);
29 29
 				}
30 30
 			} else {
31
-				$url['?'] = array_merge($url['?'], (array)$this->getConfig('urlParams'));
31
+				$url['?'] = array_merge($url['?'], (array) $this->getConfig('urlParams'));
32 32
 			}
33 33
 		}
34 34
 
Please login to merge, or discard this patch.
src/View/InkyView.php 2 patches
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -104,7 +104,6 @@
 block discarded – undo
104 104
     /**
105 105
      * Gets the CSS from a file
106 106
      *
107
-     * @param string $css CSS File
108 107
      * @return string
109 108
      */
110 109
     protected function _getCssFromFile(string $file) : string
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types = 1);
2
+declare(strict_types=1);
3 3
 
4 4
 namespace Burzum\ZurbInky\View;
5 5
 
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
109 109
      */
110 110
     protected function _getCssFromFile(string $file) : string
111 111
     {
112
-        $file = WWW_ROOT . $this->Url->css($file, ['timestamp' => false]);
112
+        $file = WWW_ROOT.$this->Url->css($file, ['timestamp' => false]);
113 113
 
114 114
         if (!file_exists($file)) {
115 115
             throw new RuntimeException(sprintf('The CSS file `%s` does not exist.', $file));
Please login to merge, or discard this patch.