Completed
Push — master ( ab6422...b16e97 )
by Thomas
27s
created
htdocs/src/Oc/SmartyPlugins/modifier.hyperlink.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
61 61
 
62 62
         $retval .= mb_substr($text, $curpos, $starthttp - $curpos);
63 63
         $url = mb_substr($text, $starthttp, $endhttp - $starthttp);
64
-        $retval .= '<a href="' . $url . '" alt="" target="_blank">' . $url . '</a>';
64
+        $retval .= '<a href="'.$url.'" alt="" target="_blank">'.$url.'</a>';
65 65
 
66 66
         $curpos = $endhttp;
67 67
         if ($curpos >= mb_strlen($text)) {
Please login to merge, or discard this patch.
htdocs/src/Oc/SmartyPlugins/modifier.format_hour.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
 {
21 21
     $hour = floor($value);
22 22
 
23
-    return $hour . ':' . sprintf('%02.0F', ($value - $hour) * 60);
23
+    return $hour.':'.sprintf('%02.0F', ($value - $hour) * 60);
24 24
 }
25 25
 
26 26
 /* vim: set expandtab: */
Please login to merge, or discard this patch.
htdocs/src/Oc/Libse/Language/TranslatorLanguage.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@  discard block
 block discarded – undo
7 7
 
8 8
 namespace Oc\Libse\Language;
9 9
 
10
-require_once __DIR__ . '/../../../../lib2/translate.class.php';
10
+require_once __DIR__.'/../../../../lib2/translate.class.php';
11 11
 
12 12
 class TranslatorLanguage
13 13
 {
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
                     $value = $args[$pattern];
37 37
 
38 38
                     if (!isset($value)) {
39
-                        $value = $pattern . '-missing';
39
+                        $value = $pattern.'-missing';
40 40
                     }
41 41
 
42 42
                     $lang_string = mb_ereg_replace($curly_pattern, $value, $lang_string);
Please login to merge, or discard this patch.
htdocs/src/Oc/Libse/Coordinate/TypeCoordinate.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@
 block discarded – undo
7 7
 
8 8
 namespace Oc\Libse\Coordinate;
9 9
 
10
-require_once __DIR__ . '/../../../../lib2/logic/const.inc.php';
10
+require_once __DIR__.'/../../../../lib2/logic/const.inc.php';
11 11
 
12 12
 class TypeCoordinate
13 13
 {
Please login to merge, or discard this patch.
htdocs/src/Oc/Libse/Coordinate/FormatterCoordinate.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -47,12 +47,12 @@
 block discarded – undo
47 47
     public function formatHtml($coordinate, $separator = ' ')
48 48
     {
49 49
         return $this->formatHtmlHemDegMin($this->formatLatHem($coordinate), $this->formatLatDeg($coordinate), $this->formatLatMin($coordinate))
50
-        . $separator .
50
+        . $separator.
51 51
         $this->formatHtmlHemDegMin($this->formatLonHem($coordinate), $this->formatLonDeg($coordinate), $this->formatLonMin($coordinate));
52 52
     }
53 53
 
54 54
     private function formatHtmlHemDegMin($hem, $deg, $min)
55 55
     {
56
-        return $hem . ' ' . $deg . '&deg; ' . $min . '\'';
56
+        return $hem.' '.$deg.'&deg; '.$min.'\'';
57 57
     }
58 58
 }
Please login to merge, or discard this patch.
htdocs/src/Oc/Libse/Validator/IntegerValidator.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -30,11 +30,11 @@
 block discarded – undo
30 30
 
31 31
     protected function getValidateRegex()
32 32
     {
33
-        return '-?[0-9]' . $this->int_len . '$';
33
+        return '-?[0-9]'.$this->int_len.'$';
34 34
     }
35 35
 
36 36
     protected function getValue($value)
37 37
     {
38
-        return (int) $value;
38
+        return (int)$value;
39 39
     }
40 40
 }
Please login to merge, or discard this patch.
htdocs/src/Oc/Libse/Validator/RealValidator.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
 
23 23
     protected function getMinValue()
24 24
     {
25
-        return - 1e38;
25
+        return -1e38;
26 26
     }
27 27
 
28 28
     protected function getMaxValue()
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
 
33 33
     protected function getValidateRegex()
34 34
     {
35
-        return '-?[0-9]' . $this->int_len . '([,.][0-9]' . $this->dec_len . ')?$';
35
+        return '-?[0-9]'.$this->int_len.'([,.][0-9]'.$this->dec_len.')?$';
36 36
     }
37 37
 
38 38
     protected function getValue($value)
Please login to merge, or discard this patch.
htdocs/src/Oc/Console/Command/CodeSnifferCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
         }
44 44
 
45 45
         $process = new Process($cmd, $this->rootPath, null, null, 9600);
46
-        $process->run(function ($type, $buffer) {
46
+        $process->run(function($type, $buffer) {
47 47
             echo $buffer;
48 48
         });
49 49
 
Please login to merge, or discard this patch.
htdocs/src/Oc/Console/Command/AbstractCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,6 +27,6 @@
 block discarded – undo
27 27
     {
28 28
         parent::__construct($name);
29 29
 
30
-        $this->rootPath = realpath(__DIR__ . '/../../../../');
30
+        $this->rootPath = realpath(__DIR__.'/../../../../');
31 31
     }
32 32
 }
Please login to merge, or discard this patch.