psr2 end file new line none found

This commit is contained in:
Frédéric FRANCE 2019-02-03 15:21:21 +01:00
parent 2e5382f40d
commit 273d68381c
No known key found for this signature in database
GPG Key ID: 06809324E4B2ABC1
25 changed files with 25 additions and 25 deletions

View File

@ -432,5 +432,5 @@
<rule ref="PSR2.Classes.ClassDeclaration" /> <rule ref="PSR2.Classes.ClassDeclaration" />
<rule ref="PSR2.Methods.FunctionClosingBrace" /> <rule ref="PSR2.Methods.FunctionClosingBrace" />
<rule ref="PSR2.Files.EndFileNewline.TooMany" /> <rule ref="PSR2.Files.EndFileNewline.TooMany" />
<rule ref="PSR2.Files.EndFileNewline.NoneFound" />
</ruleset> </ruleset>

View File

@ -220,4 +220,4 @@ dol_fiche_end();
// End of page // End of page
llxFooter(); llxFooter();
$db->close(); $db->close();

View File

@ -57,4 +57,4 @@ $url = $conf->global->BLOCKEDLOG_AUTHORITY_URL.'/blockedlog/ajax/authority.php?s
$res = file_get_contents($url); $res = file_get_contents($url);
//echo $url; //echo $url;
echo $res; echo $res;

View File

@ -426,4 +426,4 @@ class CashControl extends CommonObject
return $result; return $result;
} }
} }

View File

@ -73,4 +73,4 @@ if ($action == 'deletecomment')
$action=''; $action='';
} }
} }
} }

View File

@ -447,4 +447,4 @@ class EmailSenderProfileLine
// @var mixed Sample line property 2 // @var mixed Sample line property 2
public $prop2; public $prop2;
} }
*/ */

View File

@ -53,4 +53,4 @@ function fiscalyear_prepare_head(Fiscalyear $object)
complete_head_from_modules($conf,$langs,$object,$head,$h,'fiscalyear','remove'); complete_head_from_modules($conf,$langs,$object,$head,$h,'fiscalyear','remove');
return $head; return $head;
} }

View File

@ -162,4 +162,4 @@ class modDon extends DolibarrModules
return $this->_init($sql,$options); return $this->_init($sql,$options);
} }
} }

View File

@ -257,4 +257,4 @@ class modSupplierProposal extends DolibarrModules
return $this->_remove($sql, $options); return $this->_remove($sql, $options);
} }
} }

View File

@ -519,4 +519,4 @@ class doc_generic_reception_odt extends ModelePdfReception
return -1; return -1;
} }
} }

View File

@ -143,4 +143,4 @@ class mod_reception_beryl extends ModelNumRefReception
// phpcs:enable // phpcs:enable
return $this->getNextValue($objsoc,$objforref); return $this->getNextValue($objsoc,$objforref);
} }
} }

View File

@ -134,4 +134,4 @@ class mod_reception_moonstone extends ModelNumRefReception
// phpcs:enable // phpcs:enable
return $this->getNextValue($objsoc,$objforref); return $this->getNextValue($objsoc,$objforref);
} }
} }

View File

@ -97,4 +97,4 @@ class LogHandler
{ {
$this->ident+=$ident; $this->ident+=$ident;
} }
} }

View File

@ -83,4 +83,4 @@ interface LogHandlerInterface
* @return void * @return void
*/ */
public function export($content); public function export($content);
} }

View File

@ -124,4 +124,4 @@ class mod_syslog_syslog extends LogHandler implements LogHandlerInterface
syslog($content['level'], $content['message']); syslog($content['level'], $content['message']);
closelog(); closelog();
} }
} }

View File

@ -527,4 +527,4 @@ print '<script type="text/javascript" language="javascript">
print '</tr>'; print '</tr>';
print '</table>'; print '</table>';
print '</form>'; print '</form>';
print '<br>'; print '<br>';

View File

@ -45,4 +45,4 @@ if (! empty($extrafieldsobjectkey)) // $extrafieldsobject is the $object->table_
} }
} }
} }
} }

View File

@ -26,4 +26,4 @@ if (! empty($extrafieldsobjectkey)) // $extrafieldsobject is the $object->table_
} }
} }
} }
} }

View File

@ -518,4 +518,4 @@ class DataPolicyCron
$contacts->getAllAdherentsNotInformed(); $contacts->getAllAdherentsNotInformed();
return true; return true;
} }
} }

View File

@ -1973,4 +1973,4 @@ class Reception extends CommonObject
return CommonObject::commonReplaceThirdparty($db, $origin_id, $dest_id, $tables); return CommonObject::commonReplaceThirdparty($db, $origin_id, $dest_id, $tables);
} }
} }

View File

@ -59,4 +59,4 @@ if ($action=="search"){
$rows[] = $row; $rows[] = $row;
} }
echo json_encode($rows); echo json_encode($rows);
} }

View File

@ -57,4 +57,4 @@ if ($res == -1) {
exit(); exit();
} }
print json_encode($res); print json_encode($res);

View File

@ -346,4 +346,4 @@ class ProductAttribute
return 1; return 1;
} }
} }

View File

@ -226,4 +226,4 @@ class ProductAttributeValue
return -1; return -1;
} }
} }

View File

@ -157,4 +157,4 @@ WHERE c2v.fk_prod_combination = ".(int) $fk_combination;
return -1; return -1;
} }
} }