From ab3f9850e43fe7374abfb104006e7fdd9faa0115 Mon Sep 17 00:00:00 2001 From: jgen Date: Thu, 24 Apr 2014 19:01:47 -0400 Subject: [PATCH] Removing the closing PHP "?>" tag as per style guidelines. --- core/basethemelet.class.php | 2 +- core/block.class.php | 2 +- core/config.class.php | 2 +- core/database.class.php | 2 +- core/email.class.php | 2 +- core/event.class.php | 2 +- core/exceptions.class.php | 2 +- core/extension.class.php | 2 +- core/imageboard.pack.php | 2 +- core/sys_config.inc.php | 3 ++- core/user.class.php | 2 +- core/userclass.class.php | 2 +- core/util.inc.php | 2 +- ext/chatbox/php/ajaxcall.class.php | 4 ++-- ext/comment/theme.php | 2 +- ext/upload/main.php | 2 +- ext/upload/test.php | 2 +- ext/upload/theme.php | 2 +- themes/danbooru2/comment.theme.php | 2 +- themes/lite/comment.theme.php | 1 - themes/lite/custompage.class.php | 2 +- themes/lite/setup.theme.php | 2 +- themes/lite/themelet.class.php | 2 +- themes/lite/user.theme.php | 2 +- themes/lite/view.theme.php | 2 +- 25 files changed, 26 insertions(+), 26 deletions(-) diff --git a/core/basethemelet.class.php b/core/basethemelet.class.php index 430597b8..49be4a41 100644 --- a/core/basethemelet.class.php +++ b/core/basethemelet.class.php @@ -115,4 +115,4 @@ class BaseThemelet { .'
<< '.$pages_html.' >>'; } } -?> + diff --git a/core/block.class.php b/core/block.class.php index 4fd0c28d..21b50dd1 100644 --- a/core/block.class.php +++ b/core/block.class.php @@ -71,4 +71,4 @@ class NavBlock extends Block { parent::__construct("Navigation", "Index", "left", 0); } } -?> + diff --git a/core/config.class.php b/core/config.class.php index 96e6e156..7b0f6f1f 100644 --- a/core/config.class.php +++ b/core/config.class.php @@ -224,4 +224,4 @@ class MockConfig extends HardcodeConfig { parent::__construct($config); } } -?> + diff --git a/core/database.class.php b/core/database.class.php index c4aface5..1fbfb2f8 100644 --- a/core/database.class.php +++ b/core/database.class.php @@ -553,4 +553,4 @@ class MockDatabase extends Database { public function create_table($name, $def) {} public function connect_engine() {} } -?> + diff --git a/core/email.class.php b/core/email.class.php index 82c50c81..8dd2db58 100644 --- a/core/email.class.php +++ b/core/email.class.php @@ -116,4 +116,4 @@ Copyright (C) '.$this->sitename.'
return $sent; } } -?> + diff --git a/core/event.class.php b/core/event.class.php index 713aba0f..b1c66b6a 100644 --- a/core/event.class.php +++ b/core/event.class.php @@ -265,4 +265,4 @@ class LogEvent extends Event { $this->time = time(); } } -?> + diff --git a/core/exceptions.class.php b/core/exceptions.class.php index f9648bf8..fd52b7af 100644 --- a/core/exceptions.class.php +++ b/core/exceptions.class.php @@ -8,4 +8,4 @@ class SCoreException extends Exception {} * A fairly common, generic exception */ class PermissionDeniedException extends SCoreException {} -?> + diff --git a/core/extension.class.php b/core/extension.class.php index 824cb6e1..5730e4ac 100644 --- a/core/extension.class.php +++ b/core/extension.class.php @@ -231,4 +231,4 @@ abstract class DataHandlerExtension extends Extension { abstract protected function create_image_from_data($filename, $metadata); abstract protected function create_thumb($hash); } -?> + diff --git a/core/imageboard.pack.php b/core/imageboard.pack.php index 0992ded9..f9053ce7 100644 --- a/core/imageboard.pack.php +++ b/core/imageboard.pack.php @@ -1143,4 +1143,4 @@ function get_thumbnail_size(/*int*/ $orig_width, /*int*/ $orig_height) { } } -?> + diff --git a/core/sys_config.inc.php b/core/sys_config.inc.php index c70acb93..bd9f0616 100644 --- a/core/sys_config.inc.php +++ b/core/sys_config.inc.php @@ -46,4 +46,5 @@ _d("EXTRA_EXTS", ""); // optional extra extensions */ _d("SCORE_VERSION", 's2hack/'.VERSION); // string SCore version _d("ENABLED_EXTS", CORE_EXTS.",".EXTRA_EXTS); -?> + + diff --git a/core/user.class.php b/core/user.class.php index 3de02a6b..bb63523e 100644 --- a/core/user.class.php +++ b/core/user.class.php @@ -218,4 +218,4 @@ class MockUser extends User { parent::__construct($row); } } -?> + diff --git a/core/userclass.class.php b/core/userclass.class.php index 1d13688c..d960f954 100644 --- a/core/userclass.class.php +++ b/core/userclass.class.php @@ -164,4 +164,4 @@ new UserClass("hellbanned", "user", array( )); @include_once "data/config/user-classes.conf.php"; -?> + diff --git a/core/util.inc.php b/core/util.inc.php index 95014ed9..77c6c33e 100644 --- a/core/util.inc.php +++ b/core/util.inc.php @@ -1461,4 +1461,4 @@ function _end_coverage() { file_put_contents("$absolute_path/$t.$n.log", gzdeflate(serialize(xdebug_get_code_coverage()))); } } -?> + diff --git a/ext/chatbox/php/ajaxcall.class.php b/ext/chatbox/php/ajaxcall.class.php index 7d175b25..05aa5c06 100644 --- a/ext/chatbox/php/ajaxcall.class.php +++ b/ext/chatbox/php/ajaxcall.class.php @@ -272,8 +272,8 @@ $send['error'] = false; } - echo jsonEncode($send); + echo jsonEncode($send); } } -?> \ No newline at end of file + diff --git a/ext/comment/theme.php b/ext/comment/theme.php index 7821b68c..3a08c695 100644 --- a/ext/comment/theme.php +++ b/ext/comment/theme.php @@ -296,4 +296,4 @@ class CommentListTheme extends Themelet { '; } } -?> + diff --git a/ext/upload/main.php b/ext/upload/main.php index e0a2c9b8..155bb75c 100644 --- a/ext/upload/main.php +++ b/ext/upload/main.php @@ -388,4 +388,4 @@ class Upload extends Extension { } // }}} } -?> + diff --git a/ext/upload/test.php b/ext/upload/test.php index 7a9c1281..7eb0b08d 100644 --- a/ext/upload/test.php +++ b/ext/upload/test.php @@ -39,4 +39,4 @@ class UploadTest extends ShimmieWebTestCase { $this->log_out(); } } -?> + diff --git a/ext/upload/theme.php b/ext/upload/theme.php index 464d8ee9..e1c9692d 100644 --- a/ext/upload/theme.php +++ b/ext/upload/theme.php @@ -319,4 +319,4 @@ class UploadTheme extends Themelet { "; } } -?> + diff --git a/themes/danbooru2/comment.theme.php b/themes/danbooru2/comment.theme.php index f7146beb..826c87d4 100644 --- a/themes/danbooru2/comment.theme.php +++ b/themes/danbooru2/comment.theme.php @@ -121,4 +121,4 @@ class CustomCommentListTheme extends CommentListTheme { } } } -?> + diff --git a/themes/lite/comment.theme.php b/themes/lite/comment.theme.php index 97676e24..9c4638ea 100644 --- a/themes/lite/comment.theme.php +++ b/themes/lite/comment.theme.php @@ -9,4 +9,3 @@ class CustomCommentListTheme extends CommentListTheme { return $this->rr(parent::build_postbox($image_id)); } } -?> diff --git a/themes/lite/custompage.class.php b/themes/lite/custompage.class.php index 1e71720b..16d676cf 100644 --- a/themes/lite/custompage.class.php +++ b/themes/lite/custompage.class.php @@ -6,4 +6,4 @@ class CustomPage extends Page { $this->left_enabled = false; } } -?> + diff --git a/themes/lite/setup.theme.php b/themes/lite/setup.theme.php index 282e80b6..a1e9e72d 100644 --- a/themes/lite/setup.theme.php +++ b/themes/lite/setup.theme.php @@ -34,4 +34,4 @@ class CustomSetupTheme extends SetupTheme { return $this->rr($html); } } -?> + diff --git a/themes/lite/themelet.class.php b/themes/lite/themelet.class.php index 49477ac5..939c0a6b 100644 --- a/themes/lite/themelet.class.php +++ b/themes/lite/themelet.class.php @@ -66,4 +66,4 @@ class Themelet extends BaseThemelet { "; } } -?> + diff --git a/themes/lite/user.theme.php b/themes/lite/user.theme.php index f3b11a8d..21a6544c 100644 --- a/themes/lite/user.theme.php +++ b/themes/lite/user.theme.php @@ -96,4 +96,4 @@ class CustomUserPageTheme extends UserPageTheme { parent::display_user_page($duser, $stats); } } -?> + diff --git a/themes/lite/view.theme.php b/themes/lite/view.theme.php index 419b3571..b9e2db75 100644 --- a/themes/lite/view.theme.php +++ b/themes/lite/view.theme.php @@ -55,4 +55,4 @@ class CustomViewImageTheme extends ViewImageTheme { return $html; } } -?> +