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;
?>