Standards: Remove EOF closing PHP tags

This commit is contained in:
Hypolite Petovan 2017-04-30 00:21:02 -04:00
parent 4b16de6d80
commit 1d427aa214
33 changed files with 28 additions and 66 deletions

View File

@ -854,4 +854,3 @@ function account_type($contact) {
return $account_type;
}
?>

View File

@ -81,4 +81,3 @@ class Emailer {
return $res;
}
}
?>

View File

@ -1220,4 +1220,3 @@ class Probe {
return $data;
}
}
?>

View File

@ -334,4 +334,3 @@ class exAuth {
fclose($this->rLogFile);
}
}
?>

View File

@ -17,4 +17,3 @@ function create_shadowentry_run($argv, $argc) {
add_shadow_entry($message_id);
}
?>

View File

@ -149,4 +149,3 @@ function remove_orphans($stage = 0) {
}
}
?>

View File

@ -110,4 +110,3 @@ class dbm {
return date('Y-m-d H:i:s', $timestamp);
}
}
?>

View File

@ -3745,4 +3745,3 @@ class Diaspora {
return true;
}
}
?>

View File

@ -366,4 +366,3 @@ function feed_import($xml,$importer,&$contact, &$hub, $simulate = false) {
return array("header" => $author, "items" => $items);
}
}
?>

View File

@ -47,4 +47,3 @@ function update_files_for_items() {
create_files_from_item($message["id"]);
}
}
?>

View File

@ -325,4 +325,3 @@ function html2bbcode($message)
return $message;
}
?>

View File

@ -233,4 +233,3 @@ function html2plain($html, $wraplength = 75, $compact = false)
return(trim($message));
}
?>

View File

@ -222,4 +222,3 @@ function removelinebreak($message)
return(implode("\n", $lines));
}
?>

View File

@ -2297,4 +2297,3 @@ class ostatus {
return(trim($doc->saveXML()));
}
}
?>

View File

@ -38,4 +38,3 @@ class pidfile {
return(posix_kill(file_get_contents($this->_file), SIGTERM));
}
}
?>

View File

@ -432,4 +432,3 @@ function plaintext(App $a, $b, $limit = 0, $includedlinks = false, $htmlmode = 2
return($post);
}
?>

View File

@ -689,4 +689,3 @@ if (array_search(__file__,get_included_files())===0){
killme();
}
?>

View File

@ -258,5 +258,3 @@ function post_update_1206() {
logger("Done", LOGGER_DEBUG);
return true;
}
?>

View File

@ -129,4 +129,3 @@ function removetofu($message)
return($message);
}
?>

View File

@ -22,4 +22,3 @@ function remove_contact_run($argv, $argc) {
// Now we delete all the depending table entries
dba::delete('contact', array('id' => $id));
}
?>

View File

@ -2346,4 +2346,3 @@ function poco_serverlist() {
}
return $r;
}
?>

View File

@ -55,4 +55,3 @@ function spool_post_run($argv, $argc) {
}
}
}
?>

View File

@ -148,4 +148,3 @@ function update_items() {
dba::close($messages);
}
?>

View File

@ -296,4 +296,3 @@ function update_shadow_copy() {
dba::close($messages);
}
?>

View File

@ -252,5 +252,3 @@ function nodeinfo_cron() {
logger('cron_end');
Config::set('nodeinfo', 'last_calucation', time());
}
?>

View File

@ -160,5 +160,3 @@ function pubsubhubbub_init(App $a) {
killme();
}
?>

View File

@ -33,4 +33,3 @@ class BaseObject {
self::$app = $app;
}
}
?>

View File

@ -164,4 +164,3 @@ class Conversation extends BaseObject {
return false;
}
}
?>

View File

@ -807,5 +807,3 @@ class Item extends BaseObject {
}
}
/// @TODO These are discouraged and should be removed:
?>

View File

@ -68,4 +68,3 @@ class AntiXSSTest extends PHPUnit_Framework_TestCase {
//get_mentions
//get_contact_block, bis Zeile 538
}
?>

View File

@ -91,4 +91,3 @@ function add_documentation($line) {
return $block;
}
?>

View File

@ -98,4 +98,3 @@ while (true) {
// Now sleep for 5 minutes
sleep(300);
}
?>

View File

@ -25,5 +25,3 @@ if ($colorset) {
}
echo $setcss;
?>