Passed
Push — master ( f58b8c...123922 )
by Michael
05:18 queued 12s
created
class/Files/User/UserListTag.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -92,7 +92,7 @@
 block discarded – undo
92 92
         $filename      = $this->getFileName();
93 93
         $moduleDirname = $module->getVar('mod_dirname');
94 94
         $content       = $this->getHeaderFilesComments($module, $filename);
95
-        $content       .= $this->getUserListTag();
95
+        $content .= $this->getUserListTag();
96 96
 
97 97
         $this->create($moduleDirname, '/', $filename, $content, _AM_TDMCREATE_FILE_CREATED, _AM_TDMCREATE_FILE_NOTCREATED);
98 98
 
Please login to merge, or discard this patch.
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
      */
37 37
     private $pc = null;
38 38
 	
39
-	/**
39
+    /**
40 40
      * @public function constructor
41 41
      * @param null
42 42
      */
Please login to merge, or discard this patch.
class/Files/User/UserFooter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -104,7 +104,7 @@
 block discarded – undo
104 104
         $moduleDirname = $module->getVar('mod_dirname');
105 105
         $filename      = $this->getFileName();
106 106
         $content       = $this->getHeaderFilesComments($module, $filename);
107
-        $content       .= $this->getUserFooter($moduleDirname);
107
+        $content .= $this->getUserFooter($moduleDirname);
108 108
 
109 109
         $this->create($moduleDirname, '/', $filename, $content, _AM_TDMCREATE_FILE_CREATED, _AM_TDMCREATE_FILE_NOTCREATED);
110 110
 
Please login to merge, or discard this patch.
class/Files/User/UserVisit.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -104,10 +104,10 @@
 block discarded – undo
104 104
         }
105 105
         if (1 == $table->getVar('table_category')) {
106 106
             $ccFieldPid = $this->getCamelCase($fieldPid, false, true);
107
-            $ret        .= $this->xc->getXcXoopsRequest($ccFieldPid, (string)$fieldPid, '0', 'Int');
107
+            $ret .= $this->xc->getXcXoopsRequest($ccFieldPid, (string)$fieldPid, '0', 'Int');
108 108
         }
109 109
         $ccFieldId = $this->getCamelCase($fieldId, false, true);
110
-        $ret       .= $this->xc->getXcXoopsRequest($ccFieldId, (string)$fieldId, '0', 'Int');
110
+        $ret .= $this->xc->getXcXoopsRequest($ccFieldId, (string)$fieldId, '0', 'Int');
111 111
 
112 112
         return $ret;
113 113
     }
Please login to merge, or discard this patch.
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
      */
42 42
     private $xc = null;
43 43
 	
44
-	/**
44
+    /**
45 45
      * @var string
46 46
      */
47 47
     private $pc = null;
Please login to merge, or discard this patch.
class/Files/User/UserRss.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -214,7 +214,7 @@
 block discarded – undo
214 214
         $moduleDirname = $module->getVar('mod_dirname');
215 215
         $language      = $this->getLanguage($moduleDirname, 'MA');
216 216
         $content       = $this->getHeaderFilesComments($module, $filename);
217
-        $content       .= $this->getUserRss($moduleDirname, $language);
217
+        $content .= $this->getUserRss($moduleDirname, $language);
218 218
         $this->create($moduleDirname, '/', $filename, $content, _AM_TDMCREATE_FILE_CREATED, _AM_TDMCREATE_FILE_NOTCREATED);
219 219
 
220 220
         return $this->renderFile();
Please login to merge, or discard this patch.
class/Files/Templates/user/MoreFiles.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -105,7 +105,7 @@
 block discarded – undo
105 105
         $moduleDirname = $module->getVar('mod_dirname');
106 106
         $content       = $this->getTemplatesUserMoreFile();
107 107
 
108
-        $this->create($moduleDirname, $this->folder, $filename . '.' . $this->extension, $content, _AM_TDMCREATE_FILE_CREATED, _AM_TDMCREATE_FILE_NOTCREATED);
108
+        $this->create($moduleDirname, $this->folder, $filename.'.'.$this->extension, $content, _AM_TDMCREATE_FILE_CREATED, _AM_TDMCREATE_FILE_NOTCREATED);
109 109
 
110 110
         return $this->renderFile();
111 111
     }
Please login to merge, or discard this patch.
class/Files/Templates/user/Rate.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
      */
80 80
     private function getTemplatesUserRateHeader($moduleDirname, $table, $language)
81 81
     {
82
-        $ret    = <<<EOT
82
+        $ret = <<<EOT
83 83
 <{include file="db:{$moduleDirname}_header.tpl"}>
84 84
 <table class="{$moduleDirname}">
85 85
     <thead class="outer">
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
         $fields = $this->getTableFields($table->getVar('table_mid'), $table->getVar('table_id'));
89 89
         foreach (array_keys($fields) as $f) {
90 90
             $fieldName        = $fields[$f]->getVar('field_name');
91
-            $langStuFieldName = $language . mb_strtoupper($fieldName);
91
+            $langStuFieldName = $language.mb_strtoupper($fieldName);
92 92
             if ((1 == $table->getVar('table_autoincrement')) || (1 == $fields[$f]->getVar('field_user'))) {
93 93
                 $ret .= <<<EOT
94 94
             <th class="center"><{\$smarty.const.{$langStuFieldName}}></th>\n
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
119 119
         <{foreach item=list from=\${$tableName}}>
120 120
             <tr class="<{cycle values='odd, even'}>">\n
121 121
 EOT;
122
-        $fields    = $this->getTableFields($table->getVar('table_mid'), $table->getVar('table_id'));
122
+        $fields = $this->getTableFields($table->getVar('table_mid'), $table->getVar('table_id'));
123 123
         foreach (array_keys($fields) as $f) {
124 124
             $fieldName    = $fields[$f]->getVar('field_name');
125 125
             $fieldElement = $fields[$f]->getVar('field_element');
@@ -175,7 +175,7 @@  discard block
 block discarded – undo
175 175
         <{foreach item=list from=\${$tableName}}>
176 176
             <tr class="<{cycle values='odd, even'}>">\n
177 177
 EOT;
178
-        $fields    = $this->getTableFields($table->getVar('table_mid'), $table->getVar('table_id'));
178
+        $fields = $this->getTableFields($table->getVar('table_mid'), $table->getVar('table_id'));
179 179
         foreach (array_keys($fields) as $f) {
180 180
             $fieldName    = $fields[$f]->getVar('field_name');
181 181
             $fieldElement = $fields[$f]->getVar('field_element');
Please login to merge, or discard this patch.
class/Files/Templates/user/Search.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
      */
80 80
     private function getTemplatesUserSearchHeader($moduleDirname, $table, $language)
81 81
     {
82
-        $ret    = <<<EOT
82
+        $ret = <<<EOT
83 83
 <{include file="db:{$moduleDirname}_header.tpl"}>
84 84
 <table class="{$moduleDirname}">
85 85
     <thead class="outer">
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
         $fields = $this->getTableFields($table->getVar('table_mid'), $table->getVar('table_id'));
89 89
         foreach (array_keys($fields) as $f) {
90 90
             $fieldName        = $fields[$f]->getVar('field_name');
91
-            $langStuFieldName = $language . mb_strtoupper($fieldName);
91
+            $langStuFieldName = $language.mb_strtoupper($fieldName);
92 92
             if ((1 == $table->getVar('table_autoincrement')) || (1 == $fields[$f]->getVar('field_user'))) {
93 93
                 $ret .= <<<EOT
94 94
             <th class="center"><{\$smarty.const.{$langStuFieldName}}></th>\n
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
119 119
         <{foreach item=list from=\${$tableName}}>
120 120
             <tr class="<{cycle values='odd, even'}>">\n
121 121
 EOT;
122
-        $fields    = $this->getTableFields($table->getVar('table_mid'), $table->getVar('table_id'));
122
+        $fields = $this->getTableFields($table->getVar('table_mid'), $table->getVar('table_id'));
123 123
         foreach (array_keys($fields) as $f) {
124 124
             $fieldName    = $fields[$f]->getVar('field_name');
125 125
             $fieldElement = $fields[$f]->getVar('field_element');
@@ -175,7 +175,7 @@  discard block
 block discarded – undo
175 175
         <{foreach item=list from=\${$tableName}}>
176 176
             <tr class="<{cycle values='odd, even'}>">\n
177 177
 EOT;
178
-        $fields    = $this->getTableFields($table->getVar('table_mid'), $table->getVar('table_id'));
178
+        $fields = $this->getTableFields($table->getVar('table_mid'), $table->getVar('table_id'));
179 179
         foreach (array_keys($fields) as $f) {
180 180
             $fieldName    = $fields[$f]->getVar('field_name');
181 181
             $fieldElement = $fields[$f]->getVar('field_element');
Please login to merge, or discard this patch.
class/Files/Templates/user/UserPrint.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
      */
80 80
     private function getTemplatesUserPrintHeader($moduleDirname, $table, $language)
81 81
     {
82
-        $ret    = <<<EOT
82
+        $ret = <<<EOT
83 83
 <{include file="db:{$moduleDirname}_header.tpl"}>
84 84
 <table class="{$moduleDirname}">
85 85
     <thead class="outer">
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
         $fields = $this->getTableFields($table->getVar('table_mid'), $table->getVar('table_id'));
89 89
         foreach (array_keys($fields) as $f) {
90 90
             $fieldName        = $fields[$f]->getVar('field_name');
91
-            $langStuFieldName = $language . mb_strtoupper($fieldName);
91
+            $langStuFieldName = $language.mb_strtoupper($fieldName);
92 92
             if ((1 == $table->getVar('table_autoincrement')) || (1 == $fields[$f]->getVar('field_user'))) {
93 93
                 $ret .= <<<EOT
94 94
             <th class="center"><{\$smarty.const.{$langStuFieldName}}></th>\n
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
119 119
         <{foreach item=list from=\${$tableName}}>
120 120
             <tr class="<{cycle values='odd, even'}>">\n
121 121
 EOT;
122
-        $fields    = $this->getTableFields($table->getVar('table_mid'), $table->getVar('table_id'));
122
+        $fields = $this->getTableFields($table->getVar('table_mid'), $table->getVar('table_id'));
123 123
         foreach (array_keys($fields) as $f) {
124 124
             $fieldName    = $fields[$f]->getVar('field_name');
125 125
             $fieldElement = $fields[$f]->getVar('field_element');
@@ -175,7 +175,7 @@  discard block
 block discarded – undo
175 175
         <{foreach item=list from=\${$tableName}}>
176 176
             <tr class="<{cycle values='odd, even'}>">\n
177 177
 EOT;
178
-        $fields    = $this->getTableFields($table->getVar('table_mid'), $table->getVar('table_id'));
178
+        $fields = $this->getTableFields($table->getVar('table_mid'), $table->getVar('table_id'));
179 179
         foreach (array_keys($fields) as $f) {
180 180
             $fieldName    = $fields[$f]->getVar('field_name');
181 181
             $fieldElement = $fields[$f]->getVar('field_element');
Please login to merge, or discard this patch.
class/Files/CreateCodeIndents.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -22,11 +22,11 @@
 block discarded – undo
22 22
 $show_table = true;
23 23
 
24 24
 echo '<!doctype html>';
25
-echo nl() . '<html>' . nl(1) . '<head>' . nl(2) . '<title>This is a title</title>' . nl(1) . '</head>' . nl(1) . '<body>' . nl(2) . '<div id="some_container">';
25
+echo nl().'<html>'.nl(1).'<head>'.nl(2).'<title>This is a title</title>'.nl(1).'</head>'.nl(1).'<body>'.nl(2).'<div id="some_container">';
26 26
 if ($show_table) {
27
-    echo nl(3) . '<table>' . nl(4) . '<tr>' . nl(5) . '<td>This is a cell in a table</td>' . nl(4) . '</tr>' . nl(3) . '</table>';
27
+    echo nl(3).'<table>'.nl(4).'<tr>'.nl(5).'<td>This is a cell in a table</td>'.nl(4).'</tr>'.nl(3).'</table>';
28 28
 }
29
-echo nl(2) . '</div><!--some_container-->' . nl(2) . '<p>This is some text in a paragraph</p>' . nl(1) . '</body>' . nl() . '</html>';
29
+echo nl(2).'</div><!--some_container-->'.nl(2).'<p>This is some text in a paragraph</p>'.nl(1).'</body>'.nl().'</html>';
30 30
 ?>
31 31
 <!doctype html>
32 32
 <html>
Please login to merge, or discard this patch.