Completed
Push — master ( b16e97...cfa47d )
by Thomas
07:53
created
htdocs/src/Oc/Libse/ChildWp/PresenterChildWp.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
 use Oc\Libse\Validator\AlwaysValidValidator;
12 12
 use Oc\Libse\Validator\ArrayValidator;
13 13
 
14
-require_once __DIR__ . '/../../../../lib2/error.inc.php';
14
+require_once __DIR__.'/../../../../lib2/error.inc.php';
15 15
 
16 16
 abstract class PresenterChildWp
17 17
 {
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 . '° ' . $min . '\'';
56
+        return $hem.' '.$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.
htdocs/lang/de/ocstyle/editlog.inc.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -18,13 +18,13 @@
 block discarded – undo
18 18
 
19 19
 $error_wrong_node = t('This log entry has been created on another Opencaching website. The cache can only be edited there.');
20 20
 
21
-$date_message = '<span class="errormsg">' . t('date or time is invalid') . '</span>';
21
+$date_message = '<span class="errormsg">'.t('date or time is invalid').'</span>';
22 22
 $smiley_link = '<a href="javascript:insertSmiley(\'{smiley_symbol}\',\'{smiley_file}\')">{smiley_image}</a>';
23 23
 
24
-$log_pw_field = '<tr><td colspan="2">' . t('passwort to log:') . ' <input class="input100" type="text" name="log_pw" maxlength="20" value="" /> (' . t('only for found logs') . ')</td></tr>
24
+$log_pw_field = '<tr><td colspan="2">'.t('passwort to log:').' <input class="input100" type="text" name="log_pw" maxlength="20" value="" /> ('.t('only for found logs').')</td></tr>
25 25
                     <tr><td class="spacer" colspan="2"></td></tr>';
26
-$log_pw_field_pw_not_ok = '<tr><td colspan="2">' . t('passwort to log:') . ' <input type="text" name="log_pw" maxlength="20" size="20" value=""/><span class="errormsg"> ' . t('Invalid password!') . '</span></td></tr><tr><td class="spacer" colspan="2"></td></tr>';
26
+$log_pw_field_pw_not_ok = '<tr><td colspan="2">'.t('passwort to log:').' <input type="text" name="log_pw" maxlength="20" size="20" value=""/><span class="errormsg"> '.t('Invalid password!').'</span></td></tr><tr><td class="spacer" colspan="2"></td></tr>';
27 27
 
28
-$teamcomment_field = '&nbsp; <input type="checkbox" name="teamcomment" value="1" class="checkbox" {chk_sel} id="teamcomment" /> <label for="teamcomment">' . t('OC team comment') . "</label>";
28
+$teamcomment_field = '&nbsp; <input type="checkbox" name="teamcomment" value="1" class="checkbox" {chk_sel} id="teamcomment" /> <label for="teamcomment">'.t('OC team comment')."</label>";
29 29
 
30 30
 $type_edit_disabled = 'disabled class="disabled"';
Please login to merge, or discard this patch.
htdocs/lang/de/ocstyle/rating.inc.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -17,16 +17,16 @@
 block discarded – undo
17 17
 
18 18
  ****************************************************************************/
19 19
 
20
-$rating_tpl =    '<tr>
21
-                <td valign="top">' . t('Recommendations:') . '</td>
20
+$rating_tpl = '<tr>
21
+                <td valign="top">' . t('Recommendations:').'</td>
22 22
                 <td valign="top">
23 23
                     {rating_msg}
24
-                    <noscript><br />' . t('A recommendation can only be made within a "found"-log!') . '</noscript>
24
+                    <noscript><br />' . t('A recommendation can only be made within a "found"-log!').'</noscript>
25 25
                 </td>
26 26
             </tr>
27 27
             <tr><td class="spacer" colspan="2"></td></tr>';
28 28
 
29
-$rating_allowed = '<input type="hidden" name="ratingoption" value="1"><input type="checkbox" name="rating" value="1" class="checkbox" {chk_sel}/>&nbsp;' . t('This cache is one of my recommendations.');
29
+$rating_allowed = '<input type="hidden" name="ratingoption" value="1"><input type="checkbox" name="rating" value="1" class="checkbox" {chk_sel}/>&nbsp;'.t('This cache is one of my recommendations.');
30 30
 $rating_too_few_founds = t('You need additional {anzahl} finds, to make another recommandation.');
31 31
 $rating_maywithdraw = t('Alternatively, you can withdraw a <a href="mytop5.php">existing recommendation</a>.');
32 32
 $rating_stat = t('You have given {curr} of {max} possible recommendations.');
Please login to merge, or discard this patch.