Browse Source

remove some redundant php closing tags

remotes/origin/jsonfeed-test-branch
Andrew Dolgov 5 years ago
parent
commit
ea79a0e033
  1. 2
      api/index.php
  2. 4
      classes/api.php
  3. 2
      classes/auth/base.php
  4. 3
      classes/backend.php
  5. 3
      classes/db.php
  6. 1
      classes/db/mysqli.php
  7. 3
      classes/db/pdo.php
  8. 3
      classes/db/pgsql.php
  9. 3
      classes/db/prefs.php
  10. 3
      classes/db/stmt.php
  11. 2
      classes/dbupdater.php
  12. 3
      classes/dlg.php
  13. 2
      classes/feedenclosure.php
  14. 2
      classes/feeditem.php
  15. 3
      classes/feeditem/atom.php
  16. 3
      classes/feeditem/common.php
  17. 3
      classes/feeditem/rss.php
  18. 2
      classes/feedparser.php
  19. 3
      classes/handler.php
  20. 1
      classes/handler/protected.php
  21. 1
      classes/iauthmodule.php
  22. 1
      classes/idb.php
  23. 1
      classes/ihandler.php
  24. 3
      classes/logger.php
  25. 3
      classes/logger/sql.php
  26. 3
      classes/logger/syslog.php
  27. 1
      classes/opml.php
  28. 3
      classes/plugin.php
  29. 2
      classes/pluginhandler.php
  30. 3
      classes/pluginhost.php
  31. 3
      classes/pref/feeds.php
  32. 3
      classes/pref/filters.php
  33. 4
      classes/pref/labels.php
  34. 3
      classes/pref/prefs.php
  35. 1
      classes/pref/system.php
  36. 4
      classes/pref/users.php
  37. 3
      classes/rpc.php
  38. 4
      classes/ttrssmailer.php
  39. 3
      include/autoload.php
  40. 2
      include/ccache.php
  41. 2
      include/colors.php
  42. 3
      include/crypt.php
  43. 3
      include/db-prefs.php
  44. 2
      include/db.php
  45. 2
      include/digest.php
  46. 2
      include/errorhandler.php
  47. 1
      include/feedbrowser.php
  48. 2
      include/functions2.php
  49. 2
      include/labels.php
  50. 2
      include/rssfuncs.php
  51. 1
      include/sessions.php
  52. 1
      include/version.php

2
api/index.php

@ -87,4 +87,4 @@
header("Api-Content-Length: " . ob_get_length());
ob_end_flush();
?>

4
classes/api.php

@ -887,6 +887,4 @@ class API extends Handler {
}
}
?>
}

2
classes/auth/base.php

@ -63,5 +63,3 @@ class Auth_Base {
}
}
?>

3
classes/backend.php

@ -115,5 +115,4 @@ class Backend extends Handler {
__('Close this window')."</button></div>"; */
}
}
?>
}

3
classes/db.php

@ -97,5 +97,4 @@ class Db implements IDb {
function last_query_error() {
return $this->adapter->last_query_error();
}
}
?>
}

1
classes/db/mysqli.php

@ -83,4 +83,3 @@ class Db_Mysqli implements IDb {
}
}
?>

3
classes/db/pdo.php

@ -97,5 +97,4 @@ class Db_PDO implements IDb {
return true;
}
}
?>
}

3
classes/db/pgsql.php

@ -88,5 +88,4 @@ class Db_Pgsql implements IDb {
return true;
}
}
?>
}

3
classes/db/prefs.php

@ -183,5 +183,4 @@ class Db_Prefs {
}
}
}
?>
}

3
classes/db/stmt.php

@ -28,5 +28,4 @@ class Db_Stmt {
function fetch() {
return $this->stmt->fetch();
}
}
?>
}

2
classes/dbupdater.php

@ -72,4 +72,4 @@ class DbUpdater {
}
}
} ?>
}

3
classes/dlg.php

@ -190,5 +190,4 @@ class Dlg extends Handler_Protected {
//return;
}
}
?>
}

2
classes/feedenclosure.php

@ -7,4 +7,4 @@ class FeedEnclosure {
public $height;
public $width;
}
?>

2
classes/feeditem.php

@ -12,4 +12,4 @@ abstract class FeedItem {
abstract function get_enclosures();
abstract function get_author();
}
?>

3
classes/feeditem/atom.php

@ -197,5 +197,4 @@ class FeedItem_Atom extends FeedItem_Common {
return $encs;
}
}
?>
}

3
classes/feeditem/common.php

@ -82,5 +82,4 @@ abstract class FeedItem_Common extends FeedItem {
}
}
}
?>
}

3
classes/feeditem/rss.php

@ -189,5 +189,4 @@ class FeedItem_RSS extends FeedItem_Common {
return $encs;
}
}
?>
}

2
classes/feedparser.php

@ -283,4 +283,4 @@ class FeedParser {
return $rv;
}
} ?>
}

3
classes/handler.php

@ -20,5 +20,4 @@ class Handler implements IHandler {
return true;
}
}
?>
}

1
classes/handler/protected.php

@ -5,4 +5,3 @@ class Handler_Protected extends Handler {
return parent::before($method) && $_SESSION['uid'];
}
}
?>

1
classes/iauthmodule.php

@ -2,4 +2,3 @@
interface IAuthModule {
function authenticate($login, $password);
}
?>

1
classes/idb.php

@ -11,4 +11,3 @@ interface IDb {
function last_error();
function last_query_error();
}
?>

1
classes/ihandler.php

@ -4,4 +4,3 @@ interface IHandler {
function before($method);
function after();
}
?>

3
classes/logger.php

@ -61,5 +61,4 @@ class Logger {
return self::$instance;
}
}
?>
}

3
classes/logger/sql.php

@ -23,5 +23,4 @@ class Logger_SQL {
return false;
}
}
?>
}

3
classes/logger/syslog.php

@ -30,5 +30,4 @@ class Logger_Syslog {
}
}
?>
}

1
classes/opml.php

@ -515,4 +515,3 @@ class Opml extends Handler_Protected {
}
?>

3
classes/plugin.php

@ -40,5 +40,4 @@ class Plugin {
function api_version() {
return Plugin::API_VERSION_COMPAT;
}
}
?>
}

2
classes/pluginhandler.php

@ -18,5 +18,3 @@ class PluginHandler extends Handler_Protected {
}
}
}
?>

3
classes/pluginhost.php

@ -434,5 +434,4 @@ class PluginHost {
function get_filter_actions() {
return $this->plugin_actions;
}
}
?>
}

3
classes/pref/feeds.php

@ -1976,5 +1976,4 @@ class Pref_Feeds extends Handler_Protected {
print (int) $this->dbh->fetch_result($result, 0, "num_inactive");
}
}
?>
}

3
classes/pref/filters.php

@ -1192,5 +1192,4 @@ class Pref_Filters extends Handler_Protected {
$this->dbh->query("COMMIT");
}
}
?>
}

4
classes/pref/labels.php

@ -311,6 +311,4 @@ class Pref_Labels extends Handler_Protected {
print "</div>"; #container
}
}
?>
}

3
classes/pref/prefs.php

@ -1120,5 +1120,4 @@ class Pref_Prefs extends Handler_Protected {
return "";
}
}
?>
}

1
classes/pref/system.php

@ -87,4 +87,3 @@ class Pref_System extends Handler_Protected {
}
}
?>

4
classes/pref/users.php

@ -453,6 +453,4 @@ class Pref_Users extends Handler_Protected {
print "</div>"; #container
}
}
?>
}

3
classes/rpc.php

@ -664,5 +664,4 @@ class RPC extends Handler_Protected {
}
}
}
?>
}

4
classes/ttrssmailer.php

@ -60,6 +60,4 @@ class ttrssMailer extends PHPMailer {
$rc=$this->send();
return $rc;
}
}
?>
}

3
include/autoload.php

@ -10,5 +10,4 @@
require $file;
}
}
?>
}

2
include/ccache.php

@ -222,4 +222,4 @@
}
} */
?>

2
include/colors.php

@ -348,4 +348,4 @@ function hsl2rgb($arr) {
}
return '';
}
?>

3
include/crypt.php

@ -17,5 +17,4 @@
}
return false;
}
?>
}

3
include/db-prefs.php

@ -7,5 +7,4 @@
function set_pref($pref_name, $value, $user_id = false, $strip_tags = true) {
return Db_Prefs::get()->write($pref_name, $value, $user_id, $strip_tags);
}
?>
}

2
include/db.php

@ -36,5 +36,3 @@ function db_last_query_error() {
function db_quote($str){
return Db::get()->quote($str);
}
?>

2
include/digest.php

@ -189,4 +189,4 @@
return array($tmp, $headlines_count, $affected_ids, $tmp_t);
}
?>

2
include/errorhandler.php

@ -71,4 +71,4 @@ function ttrss_fatal_handler() {
register_shutdown_function('ttrss_fatal_handler');
set_error_handler('ttrss_error_handler');
?>

1
include/feedbrowser.php

@ -110,4 +110,3 @@
return $rv;
}
?>

2
include/functions2.php

@ -2530,4 +2530,4 @@
return "";
}
}
?>

2
include/labels.php

@ -197,5 +197,3 @@
return $result;
}
?>

2
include/rssfuncs.php

@ -1531,4 +1531,4 @@
PluginHost::getInstance()->run_hooks(PluginHost::HOOK_HOUSE_KEEPING, "hook_house_keeping", "");
}
?>

1
include/sessions.php

@ -140,4 +140,3 @@
@session_start();
}
}
?>

1
include/version.php

@ -39,4 +39,3 @@
}
define('VERSION', get_version());
?>

Loading…
Cancel
Save