Fix code formatting
authorMatthias Schmidt <gravatronics@live.com>
Sat, 14 Jun 2014 21:17:31 +0000 (23:17 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Sat, 14 Jun 2014 21:17:31 +0000 (23:17 +0200)
77 files changed:
com.woltlab.wcf/templates/aclPermissionJavaScript.tpl
com.woltlab.wcf/templates/headInclude.tpl
com.woltlab.wcf/templates/header.tpl
com.woltlab.wcf/templates/usersOnlineList.tpl
wcfsetup/install/files/acp/style/blueTemptation/individual.less
wcfsetup/install/files/acp/templates/aclPermissionJavaScript.tpl
wcfsetup/install/files/acp/templates/userException.tpl
wcfsetup/install/files/js/WCF.Like.js
wcfsetup/install/files/js/WCF.User.js
wcfsetup/install/files/js/WCF.js
wcfsetup/install/files/lib/acp/form/LanguageExportForm.class.php
wcfsetup/install/files/lib/acp/form/NoticeEditForm.class.php
wcfsetup/install/files/lib/acp/form/StyleAddForm.class.php
wcfsetup/install/files/lib/acp/form/UserOptionSetDefaultsForm.class.php
wcfsetup/install/files/lib/acp/page/ExceptionLogViewPage.class.php
wcfsetup/install/files/lib/acp/page/StatPage.class.php
wcfsetup/install/files/lib/acp/page/UserListPage.class.php
wcfsetup/install/files/lib/action/GravatarDownloadAction.class.php
wcfsetup/install/files/lib/action/MessageQuoteAction.class.php
wcfsetup/install/files/lib/data/comment/CommentAction.class.php
wcfsetup/install/files/lib/data/cronjob/CronjobAction.class.php
wcfsetup/install/files/lib/data/language/Language.class.php
wcfsetup/install/files/lib/data/like/LikeAction.class.php
wcfsetup/install/files/lib/data/style/StyleAction.class.php
wcfsetup/install/files/lib/data/user/UserBirthdayAction.class.php
wcfsetup/install/files/lib/data/user/UserProfile.class.php
wcfsetup/install/files/lib/data/user/group/UserGroup.class.php
wcfsetup/install/files/lib/form/LoginForm.class.php
wcfsetup/install/files/lib/page/CookiePolicyPage.class.php
wcfsetup/install/files/lib/page/PrivacyPolicyPage.class.php
wcfsetup/install/files/lib/system/cache/builder/ACPMenuCacheBuilder.class.php
wcfsetup/install/files/lib/system/cache/builder/PageMenuCacheBuilder.class.php
wcfsetup/install/files/lib/system/cache/source/NoCacheSource.class.php
wcfsetup/install/files/lib/system/dashboard/box/AbstractSidebarDashboardBox.class.php
wcfsetup/install/files/lib/system/dashboard/box/FollowingsOnlineSidebarDashboardBox.class.php
wcfsetup/install/files/lib/system/dashboard/box/MostActiveMembersDashboardBox.class.php
wcfsetup/install/files/lib/system/dashboard/box/MostLikedMembersDashboardBox.class.php
wcfsetup/install/files/lib/system/dashboard/box/NewestMembersDashboardBox.class.php
wcfsetup/install/files/lib/system/dashboard/box/RecentActivityDashboardBox.class.php
wcfsetup/install/files/lib/system/dashboard/box/RecentActivitySidebarDashboardBox.class.php
wcfsetup/install/files/lib/system/dashboard/box/StaffOnlineSidebarDashboardBox.class.php
wcfsetup/install/files/lib/system/dashboard/box/StatsSidebarDashboardBox.class.php
wcfsetup/install/files/lib/system/dashboard/box/TodaysBirthdaysDashboardBox.class.php
wcfsetup/install/files/lib/system/dashboard/box/TodaysFollowingBirthdaysDashboardBox.class.php
wcfsetup/install/files/lib/system/dashboard/box/UsersOnlineSidebarDashboardBox.class.php
wcfsetup/install/files/lib/system/event/listener/PreParserAtUserListener.class.php
wcfsetup/install/files/lib/system/importer/UserOptionImporter.class.php
wcfsetup/install/files/lib/system/io/Zip.class.php
wcfsetup/install/files/lib/system/label/LabelHandler.class.php
wcfsetup/install/files/lib/system/mail/Mail.class.php
wcfsetup/install/files/lib/system/option/AboutMeOptionType.class.php
wcfsetup/install/files/lib/system/option/BirthdayOptionType.class.php
wcfsetup/install/files/lib/system/option/SelectOptionType.class.php
wcfsetup/install/files/lib/system/option/TextOptionType.class.php
wcfsetup/install/files/lib/system/package/plugin/UserNotificationEventPackageInstallationPlugin.class.php
wcfsetup/install/files/lib/system/package/plugin/UserOptionPackageInstallationPlugin.class.php
wcfsetup/install/files/lib/system/request/RequestHandler.class.php
wcfsetup/install/files/lib/system/search/AbstractSearchableObjectType.class.php
wcfsetup/install/files/lib/system/session/SessionHandler.class.php
wcfsetup/install/files/lib/system/stat/AbstractStatDailyHandler.class.php
wcfsetup/install/files/lib/system/stat/AttachmentDiskUsageStatDailyHandler.class.php
wcfsetup/install/files/lib/system/stat/AttachmentStatDailyHandler.class.php
wcfsetup/install/files/lib/system/stat/DislikeStatDailyHandler.class.php
wcfsetup/install/files/lib/system/stat/LikeStatDailyHandler.class.php
wcfsetup/install/files/lib/system/stat/UserStatDailyHandler.class.php
wcfsetup/install/files/lib/system/template/TemplateEngine.class.php
wcfsetup/install/files/lib/system/template/plugin/CounterFunctionTemplatePlugin.class.php
wcfsetup/install/files/lib/system/user/UserBirthdayCache.class.php
wcfsetup/install/files/lib/system/user/notification/UserNotificationHandler.class.php
wcfsetup/install/files/lib/system/worker/StatDailyRebuildDataWorker.class.php
wcfsetup/install/files/lib/util/FileUtil.class.php
wcfsetup/install/files/lib/util/HeaderUtil.class.php
wcfsetup/install/files/style/bbcode.less
wcfsetup/install/files/style/colorPicker.less
wcfsetup/install/files/style/global.less
wcfsetup/install/files/style/layout.less
wcfsetup/install/files/style/message.less

index 756e38df73c387884ba06dc325c96266e7d919f4..bb86d0a1129e49dbf6820c3a7cbc23ca7cb2ff4c 100644 (file)
@@ -5,7 +5,7 @@
        //<![CDATA[
        $(function() {
                {if $aclValues[$objectTypeID]|isset}
-                       var initialPermissions = { 
+                       var initialPermissions = {
                                returnValues: {
                                        options: {
                                                {foreach from=$aclValues[$objectTypeID][options] key='__optionID' item='__optionData'}
index 556cd3916854505b0da62adaf87d731dc05e4460..22130ef23d258df3e5eb69dedbe0149329a4d828 100644 (file)
@@ -2,7 +2,7 @@
 <meta charset="utf-8" />
 <meta name="viewport" content="width=device-width, initial-scale=1" />
 <meta name="format-detection" content="telephone=no" />
-{if $allowSpidersToIndexThisPage|empty}<meta name="robots" content="noindex,nofollow" />{/if} 
+{if $allowSpidersToIndexThisPage|empty}<meta name="robots" content="noindex,nofollow" />{/if}
 {implode from=$__wcf->getMetaTagHandler() item=__metaTag glue="\n"}{@$__metaTag}{/implode}
 {event name='metaTags'}
 
index ea61c069336bbd60ffb669d6f7a971beb867b233..31c26fe760fb054a4d8a588962e350353a1308ce 100644 (file)
@@ -80,7 +80,7 @@
                        
                        {if !$sidebarOrientation|isset || $sidebarOrientation == 'left'}
                                {@$__sidebar}
-                       {/if} 
+                       {/if}
                        
                        <section id="content" class="content">
                                {if MODULE_AD}{@$__wcf->getAdHandler()->getAds('com.woltlab.wcf.header.content')}{/if}
index 6b05ab53d6a73f1b10e9bc1ab03455b3a2cdbc42..3b05477753cc55d6fbeda14d1440e404fec5d1a9 100644 (file)
                                        <div class="details userInformation">
                                                <div class="containerHeadline">
                                                        <h3><a href="{link controller='User' object=$user}{/link}">{@$user->getFormattedUsername()}</a>{if MODULE_USER_RANK && $user->getUserTitle()} <span class="badge userTitleBadge{if $user->getRank() && $user->getRank()->cssClassName} {@$user->getRank()->cssClassName}{/if}">{$user->getUserTitle()}</span>{/if}</h3>
-                                                       {@$locationData} 
+                                                       {@$locationData}
                                                </div>
                                                
                                                {@$sessionData}
                                        <div class="details userInformation">
                                                <div class="containerHeadline">
                                                        <h3>{if $user->getSpider()->spiderURL}<a href="{$user->getSpider()->spiderURL}" class="externalURL"{if EXTERNAL_LINK_TARGET_BLANK} target="_blank"{/if}{if EXTERNAL_LINK_REL_NOFOLLOW} rel="nofollow"{/if}>{$user->getSpider()->spiderName}</a>{else}{$user->getSpider()->spiderName}{/if}</h3>
-                                                       {@$locationData} 
+                                                       {@$locationData}
                                                </div>
                                                
                                                {@$sessionData}
                                        <div class="details userInformation">
                                                <div class="containerHeadline">
                                                        <h3>{lang}wcf.user.guest{/lang}</h3>
-                                                       {@$locationData} 
+                                                       {@$locationData}
                                                </div>
                                                
                                                {@$sessionData}
index 284a1cf21075a798065a096d83df8d2fcc6305b5..480dc035f473cb19aa9adf8680852e5e11d38507 100644 (file)
@@ -13,7 +13,7 @@ body, .tabularBox, .dialogTitlebar {
                > a {
                        border-width: 0 !important;
                        
-                       .transition(color, .3s, ease); 
+                       .transition(color, .3s, ease);
                        .textShadow(@wcfPageBackgroundColor);
                        
                        &:hover {
@@ -678,7 +678,7 @@ select[multiple]:focus {
        .boxShadowNative(~"0 0 5px" fade(@wcfErrorBackgroundColor, 50%) ~", inset 0 1px 5px rgba(0, 0, 0, .1)");
        
        &:hover, &:focus {
-               background-color: @wcfInputHoverBackgroundColor; 
+               background-color: @wcfInputHoverBackgroundColor;
        }
 }
 
@@ -696,7 +696,7 @@ select[multiple]:focus {
        .boxShadowNative(~"0 0 5px" fade(@wcfSuccessBackgroundColor, 50%) ~", inset 0 1px 5px rgba(0, 0, 0, .1)");
        
        &:hover, &:focus {
-               background-color: @wcfInputHoverBackgroundColor; 
+               background-color: @wcfInputHoverBackgroundColor;
        }
 }
 
@@ -829,7 +829,7 @@ select[multiple]:focus {
 /* attachments */
 .attachmentThumbnail {
        .boxShadow(0, 1px, rgba(0, 0, 0, 0.2), 1px);
-       .transition(box-shadow, .1s); 
+       .transition(box-shadow, .1s);
        
        &:hover {
                .boxShadow(0, 0, @wcfButtonHoverBorderColor, 20px);
index 756e38df73c387884ba06dc325c96266e7d919f4..bb86d0a1129e49dbf6820c3a7cbc23ca7cb2ff4c 100644 (file)
@@ -5,7 +5,7 @@
        //<![CDATA[
        $(function() {
                {if $aclValues[$objectTypeID]|isset}
-                       var initialPermissions = { 
+                       var initialPermissions = {
                                returnValues: {
                                        options: {
                                                {foreach from=$aclValues[$objectTypeID][options] key='__optionID' item='__optionData'}
index be69ad2a153c1c76a63d946d53bf53c655001af8..1d48284b662ad935dca3228e9c41cefde9de0e41 100644 (file)
@@ -7,7 +7,7 @@
 <script data-relocate="true">
        //<![CDATA[
        if (document.referrer) {
-               $('#errorMessage').append('<br /><a href="' + document.referrer + '">{lang}wcf.global.error.backward{/lang}</a>'); 
+               $('#errorMessage').append('<br /><a href="' + document.referrer + '">{lang}wcf.global.error.backward{/lang}</a>');
        }
        //]]>
 </script>
index 9c3cacec31f88cc087b6e70d49f37470160ef166..122bc342c96ba11f91bc41574bf42f3b980bb21d 100644 (file)
@@ -193,7 +193,7 @@ WCF.Like = Class.extend({
                }
                badge.appendTo($widget);
                
-               this._addWidget(containerID, $widget); 
+               this._addWidget(containerID, $widget);
        },
        
        /**
index d23e4046e94c028f57c3b301634be65b5557f7fd..cd0c89b3b30e1b19f391f41db4b4266996551dd0 100644 (file)
@@ -1657,13 +1657,13 @@ WCF.User.LikeLoader = Class.extend({
        
        /**
         * like type
-        * @var string
+        * @var string
         */
        _likeType: 'received',
        
        /**
         * like value
-        * @var integer
+        * @var integer
         */
        _likeValue: 1,
        
index 66f6b82ab5200aed5d804a3c466d37a7bf77d1ef..c77798258b6c9a4a8ce1e7bb9872365aaa021ce8 100755 (executable)
@@ -40,7 +40,7 @@
                                                arguments[0] = key.replace(/ID$/, '-id');
                                        }
                                break;
-                       } 
+                       }
                }
                
                // call jQuery's own data method
@@ -1992,9 +1992,8 @@ WCF.LoadingOverlayHandler = {
                                        
                                        pe.stop();
                                        self._pending = null;
-                               }, 250); 
+                               }, 250);
                        }
-                       
                }
        },
        
@@ -6696,7 +6695,7 @@ WCF.System.FlexibleMenu = {
                $maximumWidth -= parseInt($container.css('padding-left').replace(/px$/, '')) + parseInt($container.css('padding-right').replace(/px$/, ''));
                
                // substract paddings from the actual list
-               $maximumWidth -= parseInt($container.children('ul:eq(0)').css('padding-left').replace(/px$/, '')) + parseInt($container.children('ul:eq(0)').css('padding-right').replace(/px$/, '')); 
+               $maximumWidth -= parseInt($container.children('ul:eq(0)').css('padding-left').replace(/px$/, '')) + parseInt($container.children('ul:eq(0)').css('padding-right').replace(/px$/, ''));
                if ($currentWidth > $maximumWidth || (this._hasHiddenItems[containerID] && ($currentWidth > $maximumWidth - $dropdownWidth))) {
                        var $menuItems = $menuItems.filter(':not(.active):not(.ui-state-active):visible');
                        
@@ -7540,7 +7539,7 @@ WCF.System.PageNavigation = {
        
        /**
         * Validates the page No input.
-        *
+        * 
         * @param       Event           event
         */
        _keyUp: function(event) {
@@ -8248,7 +8247,7 @@ WCF.Upload = Class.extend({
                        }
                        
                        var self = this;
-                       $.ajax({ 
+                       $.ajax({
                                type: 'POST',
                                url: this._options.url,
                                enctype: 'multipart/form-data',
@@ -8461,7 +8460,7 @@ WCF.Upload.Parallel = WCF.Upload.extend({
         */
        _sendRequest: function(internalFileID, formData) {
                var self = this;
-               $.ajax({ 
+               $.ajax({
                        type: 'POST',
                        url: this._options.url,
                        enctype: 'multipart/form-data',
@@ -11097,7 +11096,7 @@ $.widget('ui.wcfPages', {
                        $pageElement.addClass('break');
                }
                if (page != this.options.activePage) {
-                       var $pageLink = $('<a>' + WCF.String.addThousandsSeparator(page) + '</a>'); 
+                       var $pageLink = $('<a>' + WCF.String.addThousandsSeparator(page) + '</a>');
                        $pageElement.append($pageLink);
                        this._bindSwitchPage($pageLink, page);
                }
index f0730351ce7a556d4ca7ec89b4c1534dca01234f..dbf9ab2adec46611fde0e8336990f41f25ede252 100644 (file)
@@ -63,7 +63,7 @@ class LanguageExportForm extends AbstractForm {
         * max package name length
         * @var integer
         */
-       public $packageNameLength = 0; 
+       public $packageNameLength = 0;
        
        /**
         * @see \wcf\page\IPage::readParameters()
index 31702c273daecfa0fe53ca09d85854df8f5e6811..62c43f812d699ddb90dd64744c15c1f353b54431 100644 (file)
@@ -40,7 +40,7 @@ class NoticeEditForm extends NoticeAddForm {
        
        /**
         * 1 if the notice will be displayed for all users again
-        * @var unknown
+        * @var integer
         */
        public $resetIsDismissed = 0;
        
index 2aff9f404d733bab1a74c5516a7ecd921f97fd9a..c3659ec9693e6a6ed763d34852c528c64d048ad4 100644 (file)
@@ -203,7 +203,7 @@ class StyleAddForm extends AbstractForm {
                // read variables with units, e.g. 13px
                foreach ($this->globals as $variableName) {
                        if (isset($_POST[$variableName]) && is_numeric($_POST[$variableName])) {
-                               if (isset($_POST[$variableName.'_unit']) && in_array($_POST[$variableName.'_unit'], $this->availableUnits)) { 
+                               if (isset($_POST[$variableName.'_unit']) && in_array($_POST[$variableName.'_unit'], $this->availableUnits)) {
                                        $this->variables[$variableName] = $_POST[$variableName].$_POST[$variableName.'_unit'];
                                }
                        }
index bc412462328232f336cba42b87e31a86bef3fab4..5a1fed6ff91be2f1e97da059331505f548610698 100644 (file)
@@ -84,7 +84,7 @@ class UserOptionSetDefaultsForm extends AbstractForm {
                        // get changed options
                        $sql = "SELECT  optionID, defaultValue
                                FROM    wcf".WCF_N."_user_option
-                               WHERE   optionID IN (?".str_repeat(', ?', count($optionIDs) - 1).")"; 
+                               WHERE   optionID IN (?".str_repeat(', ?', count($optionIDs) - 1).")";
                        $statement = WCF::getDB()->prepareStatement($sql);
                        $statement->execute($optionIDs);
                        $optionIDs = $optionValues = array();
index 8585c62fba3780899c874fc4f010e14606bd2e53..11ecfc76e7e1733c662ebb00ef8ec7b0b8235e91 100644 (file)
@@ -118,8 +118,8 @@ class ExceptionLogViewPage extends MultipleLinkPage {
                
                // even items become keys, odd items become values
                $this->exceptions = call_user_func_array('array_merge', array_map(
-                       function($v) { 
-                               return array($v[0] => $v[1]); 
+                       function($v) {
+                               return array($v[0] => $v[1]);
                        }, 
                        array_chunk($contents, 2)
                ));
index 75fce3f37b7cd8397a23ae8fd83fecb711d1cffe..e799cd1d83d4ef71faf2467a9f02ab3503b7f8e4 100644 (file)
@@ -28,19 +28,19 @@ class StatPage extends AbstractPage {
        
        /**
         * start date (yyyy-mm-dd)
-        * @var string
+        * @var string
         */
        public $startDate = '';
        
        /**
         * end date (yyyy-mm-dd)
-        * @var string
+        * @var string
         */
        public $endDate = '';
        
        /**
         * available object type
-        * @var array
+        * @var array
         */
        public $availableObjectTypes = array();
        
index c0a88e6f96b94b714d4848568024cd50f8688caf..e5b8da372dccf48681ce4d1f21a1ff63013e0091 100755 (executable)
@@ -40,7 +40,7 @@ class UserListPage extends SortablePage {
        
        /**
         * applies special CSS classes for selected columns
-        * @var array
+        * @var array
         */
        public $columnStyling = array(
                'registrationDate' => 'columnDate',
index e06365b28498f93b5e4137921b739eb4a013c2a5..ef6883b31beb330f21c318ed2838f49ea886ae5d 100644 (file)
@@ -48,7 +48,7 @@ class GravatarDownloadAction extends AbstractAction {
                        throw new IllegalLinkException();
                }
                
-               if (!empty($_REQUEST['size'])) $this->size = intval($_REQUEST['size']); 
+               if (!empty($_REQUEST['size'])) $this->size = intval($_REQUEST['size']);
        }
        
        /**
index 70a3abea692986f4eb749371050b4f1906ec0363..9d350fb6698695101d0b8d48edc5c4625a2f4b37 100644 (file)
@@ -45,8 +45,8 @@ class MessageQuoteAction extends AJAXProxyAction {
                AbstractSecureAction::readParameters();
                
                if (isset($_POST['actionName'])) $this->actionName = StringUtil::trim($_POST['actionName']);
-               if (isset($_POST['getFullQuoteObjectIDs'])) $this->_getFullQuoteObjectIDs = intval($_POST['getFullQuoteObjectIDs']); 
-               if (isset($_POST['objectTypes']) && is_array($_POST['objectTypes'])) $this->objectTypes = ArrayUtil::trim($_POST['objectTypes']); 
+               if (isset($_POST['getFullQuoteObjectIDs'])) $this->_getFullQuoteObjectIDs = intval($_POST['getFullQuoteObjectIDs']);
+               if (isset($_POST['objectTypes']) && is_array($_POST['objectTypes'])) $this->objectTypes = ArrayUtil::trim($_POST['objectTypes']);
                if (isset($_POST['quoteIDs'])) {
                        $this->quoteIDs = ArrayUtil::trim($_POST['quoteIDs']);
                        
index 37a592a68f75b02ae4a323d4b751c84ddcddaa78..580cacf5122d3745dc6c5d71ee6498c522d4df3f 100644 (file)
@@ -105,7 +105,7 @@ class CommentAction extends AbstractDatabaseObjectAction {
                        
                        $processors[$comment->objectTypeID]->updateCounter($comment->objectID, -1 * ($comment->responses + 1));
                        $groupCommentIDs[$comment->objectTypeID][] = $comment->commentID;
-                       $commentIDs[] = $comment->commentID; 
+                       $commentIDs[] = $comment->commentID;
                }
                
                if (!empty($groupCommentIDs)) {
index f098f313883e10c8282226b636a671936ce53c45..cdc6d811cd281d230596639849f08a8eb5a66b82 100644 (file)
@@ -71,7 +71,7 @@ class CronjobAction extends AbstractDatabaseObjectAction implements IToggleActio
                foreach ($this->objects as $cronjob) {
                        if (!$cronjob->isEditable()) {
                                throw new PermissionDeniedException();
-                       } 
+                       }
                }
        }
        
@@ -84,7 +84,7 @@ class CronjobAction extends AbstractDatabaseObjectAction implements IToggleActio
                foreach ($this->objects as $cronjob) {
                        if (!$cronjob->canBeDisabled()) {
                                throw new PermissionDeniedException();
-                       } 
+                       }
                }
        }
        
index 5b19c8c6640b483c39c4d2c8a360edb469c72e60..698dc9ecd5130a8b8499c10117339cc3dc4aaa3b 100644 (file)
@@ -140,7 +140,7 @@ class Language extends DatabaseObject {
                
                // search language file
                $filename = WCF_DIR.'language/'.$this->languageID.'_'.$category.'.php';
-               if (!@file_exists($filename)) { 
+               if (!@file_exists($filename)) {
                        if ($this->editor === null) {
                                $this->editor = new LanguageEditor($this);
                        }
index 0bc144d8dbe96fc032511db6a6a57fda4558b4f1..98710e133a7665e90e8119fa0edf6ea5cef10e1b 100644 (file)
@@ -288,7 +288,7 @@ class LikeAction extends AbstractDatabaseObjectAction implements IGroupedUserLis
        
        /**
         * Loads a list of likes.
-        *
+        * 
         * @return      array
         */
        public function load() {
index 8b1efb38d0384e52ab5bd244ae4b437370406bc4..c3120544f03607c5bc842127fe646061855da532 100644 (file)
@@ -478,7 +478,7 @@ class StyleAction extends AbstractDatabaseObjectAction implements IToggleAction
                foreach ($this->objects as $style) {
                        if ($style->isDefault) {
                                throw new UserInputException('objectIDs');
-                       } 
+                       }
                }
        }
        
index 967ff6c18110e14ea9d5021d257d344a7e314aa1..afb5cf5d20cce8410be86f0c49cee74812ad9b42 100644 (file)
@@ -9,7 +9,7 @@ use wcf\system\WCF;
 
 /**
  * Shows a list of user birthdays.
- *
+ * 
  * @author     Marcel Werk
  * @copyright  2001-2014 WoltLab GmbH
  * @license    GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
@@ -52,7 +52,7 @@ class UserBirthdayAction extends UserProfileAction implements IGroupedUserListAc
                $userList->readObjects();
                foreach ($userList->getObjects() as $user) {
                        if (!$user->isProtected() && $user->getAge($year) >= 0) {
-                               $users[] = $user; 
+                               $users[] = $user;
                        }
                }
                
index f720cecd68d9160b734b425efe866865c00a0607..29c0d18e657a57eef593a749b8254ee6132026ab 100644 (file)
@@ -776,7 +776,7 @@ class UserProfile extends DatabaseObjectDecorator implements IBreadcrumbProvider
        
        /**
         * Returns true, if the active user has access to the user option with the given name.
-        *
+        * 
         * @param       string          $name
         * @return      boolean
         */
@@ -787,7 +787,7 @@ class UserProfile extends DatabaseObjectDecorator implements IBreadcrumbProvider
        
        /**
         * Returns the formatted username.
-        *
+        * 
         * @return      string
         */
        public function getFormattedUsername() {
index f358ffcdbf0778fffd73eca8e0c96481c0f53cc1..c5f3708f1f1cbe6d655774038c57da513c994172 100644 (file)
@@ -172,7 +172,7 @@ class UserGroup extends DatabaseObject {
                foreach ($groupIDs as $groupID) {
                        if (!in_array($groupID, self::$accessibleGroups)) {
                                return false;
-                       } 
+                       }
                }
                
                return true;
index 1743a3a573b0d3e54e240fb5a778eccb9cd8ac57..0c221b8ea60cd57cc9b571c3fbaaacf66af02fba 100644 (file)
@@ -4,7 +4,7 @@ use wcf\system\request\LinkHandler;
 use wcf\system\user\authentication\UserAuthenticationFactory;
 use wcf\system\WCF;
 use wcf\util\HeaderUtil;
-use wcf\util\UserUtil; 
+use wcf\util\UserUtil;
 
 /**
  * Shows the user login form.
index 3c08da191e763aab8e8bfe17a55ed8ead13f28d9..a9855da22a9d5ba496e4b51a0935dfbb4c40f028 100644 (file)
@@ -3,7 +3,7 @@ namespace wcf\page;
 
 /**
  * Show the cookie policy.
- *
+ * 
  * @author     Marcel Werk
  * @copyright  2001-2014 WoltLab GmbH
  * @license    GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
index 969b8b8b705781e0a7c9132ee66f661950882d6a..9ca1af70a95bfc22744b1729ab0480c42e28540a 100644 (file)
@@ -3,7 +3,7 @@ namespace wcf\page;
 
 /**
  * Show the privacy policy.
- *
+ * 
  * @author     Marcel Werk
  * @copyright  2001-2014 WoltLab GmbH
  * @license    GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
index 32e639a9fc7257527e40d4fb033ab20fcd1aa90b..bc046f47ca16687c04436d7a67de1062bcca42e6 100644 (file)
@@ -32,7 +32,7 @@ class ACPMenuCacheBuilder extends AbstractCacheBuilder {
        /**
         * @see \wcf\system\cache\builder\AbstractCacheBuilder::rebuild()
         */
-       public function rebuild(array $parameters) { 
+       public function rebuild(array $parameters) {
                $data = array();
                
                // get "real" menu items
index 72c69687900b641592cf3ffd317142d8ec215478..f9e37d90e2423bac3dbb7752881a3d55b754c5dd 100644 (file)
@@ -16,7 +16,7 @@ class PageMenuCacheBuilder extends AbstractCacheBuilder {
        /**
         * @see \wcf\system\cache\builder\AbstractCacheBuilder::rebuild()
         */
-       public function rebuild(array $parameters) { 
+       public function rebuild(array $parameters) {
                $data = array();
                
                $menuItemList = new PageMenuItemList();
index e72bd1fb194d215ac0a3ab24f1166e7a0b492342..f66ac55d92bcb0b9e35c8437bc31a283aeae65f1 100644 (file)
@@ -34,7 +34,7 @@ class NoCacheSource implements ICacheSource {
                                        unset($this->cache[$key]);
                                }
                        }
-               } 
+               }
        }
        
        /**
index dd365e0e32bb1298f2bd65518ab28124e0854af0..f89b4ec65ae90ceb445d0a068c14642faa0a024b 100644 (file)
@@ -20,7 +20,7 @@ abstract class AbstractSidebarDashboardBox extends AbstractContentDashboardBox {
        
        /**
         * title link
-        * @var string
+        * @var string
         */
        public $titleLink = '';
        
@@ -32,13 +32,13 @@ abstract class AbstractSidebarDashboardBox extends AbstractContentDashboardBox {
                if (empty($template)) {
                        return '';
                }
-       
+               
                WCF::getTPL()->assign(array(
                        'box' => $this->box,
                        'template' => $template,
                        'titleLink' => $this->titleLink
                ));
-       
+               
                return WCF::getTPL()->fetch($this->templateName);
        }
 }
index bb91805ecae1a9dab43b6e0e578ad625c9feaced..a2752c88605ad4c7257bc83c8d3994f83b3a588d 100644 (file)
@@ -1,8 +1,8 @@
 <?php
 namespace wcf\system\dashboard\box;
-use wcf\data\dashboard\box\DashboardBox; 
+use wcf\data\dashboard\box\DashboardBox;
 use wcf\data\user\online\UsersOnlineList;
-use wcf\page\IPage; 
+use wcf\page\IPage;
 use wcf\system\WCF;
 
 /**
@@ -26,7 +26,7 @@ class FollowingsOnlineSidebarDashboardBox extends AbstractSidebarDashboardBox {
         * @see \wcf\system\dashboard\box\IDashboardBox::init()
         */
        public function init(DashboardBox $box, IPage $page) {
-               parent::init($box, $page); 
+               parent::init($box, $page);
                
                if (MODULE_USERS_ONLINE && count(WCF::getUserProfileHandler()->getFollowingUsers())) {
                        $this->usersOnlineList = new UsersOnlineList();
@@ -34,7 +34,7 @@ class FollowingsOnlineSidebarDashboardBox extends AbstractSidebarDashboardBox {
                        $this->usersOnlineList->readObjects();
                }
                
-               $this->fetched(); 
+               $this->fetched();
        }
        
        /**
@@ -42,7 +42,7 @@ class FollowingsOnlineSidebarDashboardBox extends AbstractSidebarDashboardBox {
         */
        protected function render() {
                if (empty($this->usersOnlineList) || !count($this->usersOnlineList->getObjects())) {
-                       return ''; 
+                       return '';
                }
                
                WCF::getTPL()->assign(array(
index 7c182f8aed30b1e156a65c3e9130628036c2ec18..d20b9e600e2b1969517d004f58751d70dc706a57 100644 (file)
@@ -1,8 +1,8 @@
 <?php
 namespace wcf\system\dashboard\box;
-use wcf\data\dashboard\box\DashboardBox; 
+use wcf\data\dashboard\box\DashboardBox;
 use wcf\data\user\UserProfileList;
-use wcf\page\IPage; 
+use wcf\page\IPage;
 use wcf\system\cache\builder\MostActiveMembersCacheBuilder;
 use wcf\system\WCF;
 
@@ -21,13 +21,13 @@ class MostActiveMembersDashboardBox extends AbstractSidebarDashboardBox {
         * user profile list
         * @var \wcf\data\user\UserProfileList
         */
-       public $userProfileList = null; 
+       public $userProfileList = null;
        
        /**
         * @see \wcf\system\dashboard\box\AbstractDashboardBoxContent::init()
         */
        public function init(DashboardBox $box, IPage $page) {
-               parent::init($box, $page); 
+               parent::init($box, $page);
                
                // get ids
                $mostActiveMemberIDs = MostActiveMembersCacheBuilder::getInstance()->getData();
@@ -39,14 +39,14 @@ class MostActiveMembersDashboardBox extends AbstractSidebarDashboardBox {
                        $this->userProfileList->readObjects();
                }
                
-               $this->fetched(); 
+               $this->fetched();
        }
 
        /**
         * @see \wcf\system\dashboard\box\AbstractContentDashboardBox::render()
         */
        protected function render() {
-               if ($this->userProfileList == null) return ''; 
+               if ($this->userProfileList == null) return '';
                
                WCF::getTPL()->assign(array(
                        'mostActiveMembers' => $this->userProfileList
index 0f24f83f45133574ec32dc89f9706d2746fefb0a..dc60f3d816c922ce1caf86a379cb36e898fdd309 100644 (file)
@@ -1,8 +1,8 @@
 <?php
 namespace wcf\system\dashboard\box;
-use wcf\data\dashboard\box\DashboardBox; 
+use wcf\data\dashboard\box\DashboardBox;
 use wcf\data\user\UserProfileList;
-use wcf\page\IPage; 
+use wcf\page\IPage;
 use wcf\system\cache\builder\MostLikedMembersCacheBuilder;
 use wcf\system\WCF;
 
@@ -21,13 +21,13 @@ class MostLikedMembersDashboardBox extends AbstractSidebarDashboardBox {
         * user profile list
         * @var \wcf\data\user\UserProfileList
         */
-       public $userProfileList = null; 
+       public $userProfileList = null;
        
        /**
         * @see \wcf\system\dashboard\box\IDashboardBox::init()
         */
        public function init(DashboardBox $box, IPage $page) {
-               parent::init($box, $page); 
+               parent::init($box, $page);
                
                // get ids
                $mostLikedMemberIDs = MostLikedMembersCacheBuilder::getInstance()->getData();
@@ -39,14 +39,14 @@ class MostLikedMembersDashboardBox extends AbstractSidebarDashboardBox {
                        $this->userProfileList->readObjects();
                }
                
-               $this->fetched(); 
+               $this->fetched();
        }
        
        /**
         * @see \wcf\system\dashboard\box\AbstractContentDashboardBox::render()
         */
        protected function render() {
-               if ($this->userProfileList == null) return ''; 
+               if ($this->userProfileList == null) return '';
                
                WCF::getTPL()->assign(array(
                        'mostLikedMembers' => $this->userProfileList
index 2f28d02655e81adf253ab6fb3c72db68d25bd629..267f1bd8c3fb82b0a016acc7c3a289ffea97d620 100644 (file)
@@ -1,8 +1,8 @@
 <?php
 namespace wcf\system\dashboard\box;
-use wcf\data\dashboard\box\DashboardBox; 
+use wcf\data\dashboard\box\DashboardBox;
 use wcf\data\user\UserProfileList;
-use wcf\page\IPage; 
+use wcf\page\IPage;
 use wcf\system\cache\builder\NewestMembersCacheBuilder;
 use wcf\system\WCF;
 
@@ -21,13 +21,13 @@ class NewestMembersDashboardBox extends AbstractSidebarDashboardBox {
         * user profile list
         * @var \wcf\data\user\UserProfileList
         */
-       public $userProfileList = null; 
+       public $userProfileList = null;
        
        /**
         * @see \wcf\system\dashboard\box\IDashboardBox::init()
         */
        public function init(DashboardBox $box, IPage $page) {
-               parent::init($box, $page); 
+               parent::init($box, $page);
                
                // get ids
                $newestMemberIDs = NewestMembersCacheBuilder::getInstance()->getData();
@@ -39,14 +39,14 @@ class NewestMembersDashboardBox extends AbstractSidebarDashboardBox {
                        $this->userProfileList->readObjects();
                }
                
-               $this->fetched(); 
+               $this->fetched();
        }
        
        /**
         * @see \wcf\system\dashboard\box\AbstractContentDashboardBox::render()
         */
        protected function render() {
-               if ($this->userProfileList == null) return ''; 
+               if ($this->userProfileList == null) return '';
                
                WCF::getTPL()->assign(array(
                        'newestMembers' => $this->userProfileList
index 6a9bbc0cbf5ad76450b8d92212d8e72be00d9c8a..2c3b60748c32e61300bd648c733deab1754b55e9 100644 (file)
@@ -63,7 +63,7 @@ class RecentActivityDashboardBox extends AbstractContentDashboardBox {
                // removes orphaned and non-accessable events
                UserActivityEventHandler::validateEvents($this->eventList);
                
-               $this->fetched(); 
+               $this->fetched();
        }
        
        /**
index b994ff9db7645ce0db2c76d1c4b6f925c3597f1d..3ea83431989b47566eecdc5eff6fb88b5aa70431 100644 (file)
@@ -36,7 +36,7 @@ class RecentActivitySidebarDashboardBox extends AbstractSidebarDashboardBox {
                // removes orphaned and non-accessable events
                UserActivityEventHandler::validateEvents($this->eventList);
                
-               $this->fetched(); 
+               $this->fetched();
        }
        
        /**
index c1e1668672840fd21ec87d162d305f79c238ef75..134ea30880a8d1e5ac2b5a47e9c83bb6e2eb447c 100644 (file)
@@ -1,8 +1,8 @@
 <?php
 namespace wcf\system\dashboard\box;
-use wcf\data\dashboard\box\DashboardBox; 
+use wcf\data\dashboard\box\DashboardBox;
 use wcf\data\user\online\UsersOnlineList;
-use wcf\page\IPage; 
+use wcf\page\IPage;
 use wcf\system\WCF;
 
 /**
@@ -26,7 +26,7 @@ class StaffOnlineSidebarDashboardBox extends AbstractSidebarDashboardBox {
         * @see \wcf\system\dashboard\box\IDashboardBox::init()
         */
        public function init(DashboardBox $box, IPage $page) {
-               parent::init($box, $page); 
+               parent::init($box, $page);
                
                if (MODULE_USERS_ONLINE) {
                        $this->usersOnlineList = new UsersOnlineList();
@@ -34,7 +34,7 @@ class StaffOnlineSidebarDashboardBox extends AbstractSidebarDashboardBox {
                        $this->usersOnlineList->readObjects();
                }
                
-               $this->fetched(); 
+               $this->fetched();
        }
        
        /**
@@ -42,7 +42,7 @@ class StaffOnlineSidebarDashboardBox extends AbstractSidebarDashboardBox {
         */
        protected function render() {
                if (empty($this->usersOnlineList) || !count($this->usersOnlineList->getObjects())) {
-                       return ''; 
+                       return '';
                }
                
                WCF::getTPL()->assign(array(
index a4ee3658251e2fd609e74cfff9f31cc4f8d3e168..d1fb0c4a129d281d36568ef96c60f78bcbb9f731 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 namespace wcf\system\dashboard\box;
-use wcf\data\dashboard\box\DashboardBox; 
-use wcf\page\IPage; 
+use wcf\data\dashboard\box\DashboardBox;
+use wcf\page\IPage;
 use wcf\system\cache\builder\UserStatsCacheBuilder;
 use wcf\system\WCF;
 
@@ -18,9 +18,9 @@ use wcf\system\WCF;
 class StatsSidebarDashboardBox extends AbstractSidebarDashboardBox {
        /**
         * displayed stats
-        * @var \wcf\system\cache\builder\UserStatsCacheBuilder
+        * @var array
         */
-       public $stats = null; 
+       public $stats = null;
        
        /**
         * @see \wcf\system\dashboard\box\IDashboardBox::init()
@@ -28,9 +28,9 @@ class StatsSidebarDashboardBox extends AbstractSidebarDashboardBox {
        public function init(DashboardBox $box, IPage $page) {
                parent::init($box, $page);
                
-               $this->stats = UserStatsCacheBuilder::getInstance()->getData(); 
+               $this->stats = UserStatsCacheBuilder::getInstance()->getData();
                
-               $this->fetched(); 
+               $this->fetched();
        }
        
        /**
index 12676295e836895b1a78e59f472ce6b2b6a3ec7b..d2afdc51c85750c429e5e8448502b97812bfcffa 100644 (file)
@@ -1,8 +1,8 @@
 <?php
 namespace wcf\system\dashboard\box;
-use wcf\data\dashboard\box\DashboardBox; 
+use wcf\data\dashboard\box\DashboardBox;
 use wcf\data\user\UserProfileList;
-use wcf\page\IPage; 
+use wcf\page\IPage;
 use wcf\system\user\UserBirthdayCache;
 use wcf\system\WCF;
 use wcf\util\DateUtil;
@@ -20,15 +20,15 @@ use wcf\util\DateUtil;
 class TodaysBirthdaysDashboardBox extends AbstractSidebarDashboardBox {
        /**
         * user profiles
-        * @var arra<\wcf\data\user\UserProfile>
+        * @var array<\wcf\data\user\UserProfile>
         */
-       public $userProfiles = array(); 
+       public $userProfiles = array();
        
        /**
         * @see \wcf\system\dashboard\box\IDashboardBox::init()
         */
        public function init(DashboardBox $box, IPage $page) {
-               parent::init($box, $page); 
+               parent::init($box, $page);
                
                // get current date
                $currentDay = DateUtil::format(null, 'm-d');
@@ -52,7 +52,7 @@ class TodaysBirthdaysDashboardBox extends AbstractSidebarDashboardBox {
                        }
                }
                
-               $this->fetched(); 
+               $this->fetched();
        }
        
        /**
@@ -60,7 +60,7 @@ class TodaysBirthdaysDashboardBox extends AbstractSidebarDashboardBox {
         */
        protected function render() {
                if (empty($this->userProfiles)) {
-                       return ''; 
+                       return '';
                }
                
                WCF::getTPL()->assign(array(
index 2880b9f1bf55123d3dceab505a5b18c6f5388bc3..0f3a384c0a39b5901698856379b050e3359392f8 100644 (file)
@@ -1,8 +1,8 @@
 <?php
 namespace wcf\system\dashboard\box;
-use wcf\data\dashboard\box\DashboardBox; 
+use wcf\data\dashboard\box\DashboardBox;
 use wcf\data\user\UserProfileList;
-use wcf\page\IPage; 
+use wcf\page\IPage;
 use wcf\system\user\UserBirthdayCache;
 use wcf\system\WCF;
 use wcf\util\DateUtil;
@@ -22,13 +22,13 @@ class TodaysFollowingBirthdaysDashboardBox extends AbstractSidebarDashboardBox {
         * user profiles
         * @var arra<\wcf\data\user\UserProfile>
         */
-       public $userProfiles = array(); 
+       public $userProfiles = array();
        
        /**
         * @see \wcf\system\dashboard\box\IDashboardBox::init()
         */
        public function init(DashboardBox $box, IPage $page) {
-               parent::init($box, $page); 
+               parent::init($box, $page);
                
                // get current date
                $currentDay = DateUtil::format(null, 'm-d');
@@ -49,7 +49,7 @@ class TodaysFollowingBirthdaysDashboardBox extends AbstractSidebarDashboardBox {
                        }
                }
                
-               $this->fetched(); 
+               $this->fetched();
        }
        
        /**
@@ -57,7 +57,7 @@ class TodaysFollowingBirthdaysDashboardBox extends AbstractSidebarDashboardBox {
         */
        protected function render() {
                if (empty($this->userProfiles)) {
-                       return ''; 
+                       return '';
                }
                
                WCF::getTPL()->assign(array(
index aea8b56d1d13ad5597eac2b18a986ed3caeff89f..5f701f99ab051b348077cd31158fd5b8e53606f8 100644 (file)
@@ -27,7 +27,7 @@ class UsersOnlineSidebarDashboardBox extends AbstractSidebarDashboardBox {
         * @see \wcf\system\dashboard\box\IDashboardBox::init()
         */
        public function init(DashboardBox $box, IPage $page) {
-               parent::init($box, $page); 
+               parent::init($box, $page);
                
                if (MODULE_USERS_ONLINE) {
                        $this->usersOnlineList = new UsersOnlineList();
@@ -37,7 +37,7 @@ class UsersOnlineSidebarDashboardBox extends AbstractSidebarDashboardBox {
                        $this->usersOnlineList->readObjects();
                }
                
-               $this->fetched(); 
+               $this->fetched();
        }
        
        /**
@@ -45,7 +45,7 @@ class UsersOnlineSidebarDashboardBox extends AbstractSidebarDashboardBox {
         */
        protected function render() {
                if (empty($this->usersOnlineList) || !count($this->usersOnlineList->getObjects())) {
-                       return ''; 
+                       return '';
                }
                
                $this->titleLink = LinkHandler::getInstance()->getLink('UsersOnlineList');
index 1b37bc146d53551c053f42288d177d26cf69e9fd..43610bbede8dfac30bb52fd808774e65eaa68e52 100644 (file)
@@ -78,7 +78,7 @@ class PreParserAtUserListener implements IEventListener {
                        $usernames = array();
                        foreach ($matches[1] as $match) {
                                $username = self::getUsername($match);
-                               if (!in_array($username, $usernames)) $usernames[] = $username; 
+                               if (!in_array($username, $usernames)) $usernames[] = $username;
                        }
                        
                        if (!empty($usernames)) {
@@ -88,7 +88,7 @@ class PreParserAtUserListener implements IEventListener {
                                $userList->readObjects();
                                $users = array();
                                foreach ($userList as $user) {
-                                       $users[mb_strtolower($user->username)] = $user; 
+                                       $users[mb_strtolower($user->username)] = $user;
                                }
                                
                                $text = $userRegex->replace($text, new Callback(function ($matches) use ($users) {
index 452bdb7a01779936d0a2cd0fa6282472af64747a..28d524385ce8ad931bddb92716e911ad20c3b0e7 100644 (file)
@@ -32,7 +32,7 @@ class UserOptionImporter extends AbstractImporter {
        
        /**
         * list of available user option categories
-        * @var array<string>
+        * @var array<string>
         */
        protected $categoryCache = null;
        
index 8bbb9ff6210975f823ffd17e4a5e06e8bcec8ea4..9332d5dae0d9f4683751c3c9ed1adbf23cce96df 100644 (file)
@@ -272,7 +272,7 @@ class Zip extends File implements IArchive {
                // read headers
                $header = array();
                $header = unpack('vminVersion/vgeneralPurposeBit/vcompression/vmtime/vmdate', $this->read(10));
-               if ($header['generalPurposeBit'] & 7 /* 3rd bit */) throw new SystemException('Data Descriptors are not supported'); 
+               if ($header['generalPurposeBit'] & 7 /* 3rd bit */) throw new SystemException('Data Descriptors are not supported');
                $second = ($header['mtime'] & 31 /* 5 bits */) * 2;
                $minute = ($header['mtime'] >> 5) & 63 /* 6 bits */;
                $hour = ($header['mtime'] >> 11) & 31 /* 5 bits */;
index 63006cc5aa87bc848e9fd64e7462318783b98364..762fcab5ba47cd7a8701c467d8c43c82ea7f2849 100644 (file)
@@ -339,7 +339,7 @@ class LabelHandler extends SingletonFactory {
        
        /**
         * Removes all assigned labels for given object ids.
-        *
+        * 
         * @param       integer                 $objectTypeID
         * @param       array<integer>          $objectID
         */
index 9dac4a0e77a8317bb85ea9e60bdb1deee9d86448..042015052c43b97b216fcbc06310aee71b70a326 100644 (file)
@@ -199,7 +199,7 @@ class Mail {
                        $this->body .= self::$lineEnding;
                        
                        // wrap lines after 70 characters
-                       $this->body .= wordwrap($this->getMessage(), 70); 
+                       $this->body .= wordwrap($this->getMessage(), 70);
                        $this->body .= self::$lineEnding.self::$lineEnding;
                        $this->body .= '--'.$this->getBoundary().self::$lineEnding;
                        
index 34e74a4cdf95e347b5a2aafbc73b69f1fa4f03ac..e0a01f80f6a75b6ff0814f743356551ecd30c6cc 100644 (file)
@@ -6,7 +6,7 @@ use wcf\system\WCF;
 
 /**
  * Option type implementation for the 'about me' text field.
- *
+ * 
  * @author     Marcel Werk
  * @copyright  2001-2014 WoltLab GmbH
  * @license    GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
@@ -20,7 +20,7 @@ class AboutMeOptionType extends MessageOptionType {
         */
        public function validate(Option $option, $newValue) {
                parent::validate($option, $newValue);
-       
+               
                if (WCF::getSession()->getPermission('user.profile.aboutMeMaxLength') < mb_strlen($newValue)) {
                        throw new UserInputException($option->optionName, 'tooLong');
                }
index 7ad2d321a19ecff9aeff7633aba7e47d376f7aa8..1a1801782302e730851c6c1cce375de34cc44a2b 100644 (file)
@@ -32,7 +32,7 @@ class BirthdayOptionType extends DateOptionType {
                
                if (empty($newValue)) return;
                
-               $timestamp = @strtotime($newValue); 
+               $timestamp = @strtotime($newValue);
                if ($timestamp > TIME_NOW) {
                        throw new UserInputException($option->optionName, 'validationFailed');
                }
index 64629ffcd5cade3c23a886b76954fc03498ee94c..2d766d835c3e1f815216e40a37d087e74efe2986 100644 (file)
@@ -14,7 +14,7 @@ use wcf\system\WCF;
  * @category   Community Framework
  */
 class SelectOptionType extends RadioButtonOptionType {
-       protected $allowEmptyValue = false; 
+       protected $allowEmptyValue = false;
        
        /**
         * @see \wcf\system\option\IOptionType::getFormElement()
index d16c77ba67804ae7b3c53eafae9f1a1dfc555ba7..44f1e38e758e6ef59124d79aafac098dd88736a8 100644 (file)
@@ -107,7 +107,7 @@ class TextOptionType extends AbstractOptionType implements ISearchableConditionU
                if ($option->contentpattern) {
                        if (preg_match('~'.$option->contentpattern.'~', $newValue, $matches)) {
                                unset($matches[0]);
-                               $newValue = implode('', $matches); 
+                               $newValue = implode('', $matches);
                        }
                }
                
index 8021f5bbdfb4cd94f5c4163bc5e2b07c62e42206..a2a651b97c5da494ed28e90bef49565a241e698d 100644 (file)
@@ -31,7 +31,7 @@ class UserNotificationEventPackageInstallationPlugin extends AbstractXMLPackageI
        
        /**
         * preset event ids
-        * @var array<integer>
+        * @var array<integer>
         */
        protected $presetEventIDs = array();
        
index 354654d6765703f7d579f96ab784ffd635a004ae..9954d6c58a5f8e823ebbfd62054c7da5d67c6011 100644 (file)
@@ -46,7 +46,7 @@ class UserOptionPackageInstallationPlugin extends AbstractOptionPackageInstallat
                if ($userOptionCategory !== null) {
                        if ($userOptionCategory->packageID != $this->installation->getPackageID()) {
                                throw new SystemException("Cannot override existing category '".$category['categoryName']."'");
-                       } 
+                       }
                        
                        $categoryEditor = new UserOptionCategoryEditor($userOptionCategory);
                        $categoryEditor->update($data);
index 83058eaf44a2e0fe5d4442912873901ed2b038aa..c2bae2546ab793bb3b8aa3e9d7b9b08e3e2b6a90 100644 (file)
@@ -13,7 +13,7 @@ use wcf\util\HeaderUtil;
 
 /**
  * Handles http requests.
- *
+ * 
  * @author     Marcel Werk
  * @copyright  2001-2014 WoltLab GmbH
  * @license    GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
@@ -67,7 +67,7 @@ class RequestHandler extends SingletonFactory {
        
        /**
         * Handles a http request.
-        *
+        * 
         * @param       string          $application
         * @param       boolean         $isACPRequest
         */
@@ -110,7 +110,7 @@ class RequestHandler extends SingletonFactory {
        
        /**
         * Builds a new request.
-        *
+        * 
         * @param       string          $application
         */
        protected function buildRequest($application) {
@@ -215,7 +215,7 @@ class RequestHandler extends SingletonFactory {
        /**
         * Returns the class data for the active request or null if for the given
         * configuration no proper class exist.
-        *
+        * 
         * @param       string          $controller
         * @param       string          $pageType
         * @param       string          $application
@@ -245,7 +245,7 @@ class RequestHandler extends SingletonFactory {
        
        /**
         * Returns the active request object.
-        *
+        * 
         * @return      \wcf\system\request\Request
         */
        public function getActiveRequest() {
@@ -254,7 +254,7 @@ class RequestHandler extends SingletonFactory {
        
        /**
         * Returns true if the request is an acp request.
-        *
+        * 
         * @return      boolean
         */
        public function isACPRequest() {
@@ -263,7 +263,7 @@ class RequestHandler extends SingletonFactory {
        
        /**
         * Returns true, if current host mismatches any known domain.
-        *
+        * 
         * @return      boolean
         */
        public function inRescueMode() {
index b82f8caa669bf3ef2234d062675202f260cd29be..6a25675f6a1145f75f5dd414bcda8f9010053a03 100644 (file)
@@ -17,7 +17,7 @@ use wcf\system\database\util\PreparedStatementConditionBuilder;
 abstract class AbstractSearchableObjectType extends AbstractObjectTypeProcessor implements ISearchableObjectType {
        /**
         * active main menu item
-        * @var string
+        * @var string
         */
        protected $activeMenuItem = '';
        
index e87bbe66a0f7818e48a7132ee7e62004b12dea5d..828f0370f33da5e8b943b713a8ee53132338d5c0 100644 (file)
@@ -122,8 +122,8 @@ class SessionHandler extends SingletonFactory {
        protected $virtualSession = false;
        
        /**
-        * true, if this is a new session
-        * @var boolean
+        * true if this is a new session
+        * @var boolean
         */
        protected $firstVisit = false;
        
@@ -907,8 +907,8 @@ class SessionHandler extends SingletonFactory {
        }
        
        /**
-        * Returns true, if this is a new session.
-        *
+        * Returns true if this is a new session.
+        * 
         * @return      boolean
         */
        public function isFirstVisit() {
index 0616624f1e187600c0c4a221994fdcf2e0f688f8..38aa4fcec2d225f3702b44e8a67fed3fd234ef93 100644 (file)
@@ -4,7 +4,7 @@ use wcf\system\WCF;
 
 /**
  * Abstract implementation of a stat handler.
- *
+ * 
  * @author     Marcel Werk
  * @copyright  2001-2014 WoltLab GmbH
  * @license    GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
@@ -32,7 +32,7 @@ abstract class AbstractStatDailyHandler implements IStatDailyHandler {
        
        /**
         * Counts the total number of rows.
-        *
+        * 
         * @param       integer         $date
         * @param       string          $tableName
         * @param       string          $dateColumnName
@@ -48,7 +48,7 @@ abstract class AbstractStatDailyHandler implements IStatDailyHandler {
        }
        
        /**
-        * @see \wcf\system\stat\IStatDailyHandler::getFormattedCounter()
+        * @see \wcf\system\stat\IStatDailyHandler::getFormattedCounter()
         */
        public function getFormattedCounter($counter) {
                return $counter;
index ffc0c0b1bf1b81c6a87ed99d7e4781cc9cbc5ffe..066300065e6632e26fcb5f9ca50b155eacaa7afd 100644 (file)
@@ -4,7 +4,7 @@ use wcf\system\WCF;
 
 /**
  * Stat handler implementation for attachment disk usage.
- *
+ * 
  * @author     Marcel Werk
  * @copyright  2001-2014 WoltLab GmbH
  * @license    GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
@@ -14,7 +14,7 @@ use wcf\system\WCF;
  */
 class AttachmentDiskUsageStatDailyHandler extends AbstractStatDailyHandler {
        /**
-        * @see \wcf\system\stat\IStatDailyHandler::getData()
+        * @see \wcf\system\stat\IStatDailyHandler::getData()
         */
        public function getData($date) {
                $sql = "SELECT  CEIL(SUM(filesize) / 1000)
@@ -38,7 +38,7 @@ class AttachmentDiskUsageStatDailyHandler extends AbstractStatDailyHandler {
        }
        
        /**
-        * @see \wcf\system\stat\IStatDailyHandler::getFormattedCounter()
+        * @see \wcf\system\stat\IStatDailyHandler::getFormattedCounter()
         */
        public function getFormattedCounter($counter) {
                return round($counter / 1000, 2); // return mb
index 62a801fc85f50b5aa7edfd8e8595f9499b8d6aed..58206848ec4370047253e711e41dc1b91fb3a320 100644 (file)
@@ -3,7 +3,7 @@ namespace wcf\system\stat;
 
 /**
  * Stat handler implementation for attachment stats.
- *
+ * 
  * @author     Marcel Werk
  * @copyright  2001-2014 WoltLab GmbH
  * @license    GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
@@ -13,7 +13,7 @@ namespace wcf\system\stat;
  */
 class AttachmentStatDailyHandler extends AbstractStatDailyHandler {
        /**
-        * @see \wcf\system\stat\IStatDailyHandler::getData()
+        * @see \wcf\system\stat\IStatDailyHandler::getData()
         */
        public function getData($date) {
                return array(
index 5837493f845b928b6d253e7d131f87d1bae9aa43..42be860bb7d31ff67df7c76149d4212390310327 100644 (file)
@@ -4,7 +4,7 @@ use wcf\data\like\Like;
 
 /**
  * Stat handler implementation for dislike stats.
- *
+ * 
  * @author     Marcel Werk
  * @copyright  2001-2014 WoltLab GmbH
  * @license    GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
index 89f57cc028a7ac52c6ceeb19b7e2c7c504b78e41..5590c32b67527e9062cbea066d76ec92b8d8959d 100644 (file)
@@ -5,7 +5,7 @@ use wcf\system\WCF;
 
 /**
  * Stat handler implementation for like stats.
- *
+ * 
  * @author     Marcel Werk
  * @copyright  2001-2014 WoltLab GmbH
  * @license    GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
@@ -17,7 +17,7 @@ class LikeStatDailyHandler extends AbstractStatDailyHandler {
        protected $likeValue = Like::LIKE;
        
        /**
-        * @see \wcf\system\stat\IStatDailyHandler::getData()
+        * @see \wcf\system\stat\IStatDailyHandler::getData()
         */
        public function getData($date) {
                $sql = "SELECT  COUNT(*)
index 4ebae6560d0937211c8f5f19ddb974c684284db5..eedd7e1c5ec12c126ae8e72bdda1fd4f69835cb9 100644 (file)
@@ -3,7 +3,7 @@ namespace wcf\system\stat;
 
 /**
  * Stat handler implementation for user stats.
- *
+ * 
  * @author     Marcel Werk
  * @copyright  2001-2014 WoltLab GmbH
  * @license    GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
@@ -13,7 +13,7 @@ namespace wcf\system\stat;
  */
 class UserStatDailyHandler extends AbstractStatDailyHandler {
        /**
-        * @see \wcf\system\stat\IStatDailyHandler::getData()
+        * @see \wcf\system\stat\IStatDailyHandler::getData()
         */
        public function getData($date) {
                return array(
index 221298fd7cd3b045fc957776337f3ae2e0beec20..a405665b5e345cd4460db1f580f8f0194ea6b101 100755 (executable)
@@ -201,7 +201,7 @@ class TemplateEngine extends SingletonFactory {
                                                        if (isset($this->v[$variable][$key])) {
                                                                $this->v[$variable][$key] .= $value[$key];
                                                        }
-                                                       else { 
+                                                       else {
                                                                $this->v[$variable][$key] = $value[$key];
                                                        }
                                                }
@@ -240,7 +240,7 @@ class TemplateEngine extends SingletonFactory {
                                                        if (isset($this->v[$variable][$key])) {
                                                                $this->v[$variable][$key] = $value[$key] . $this->v[$variable][$key];
                                                        }
-                                                       else { 
+                                                       else {
                                                                $this->v[$variable][$key] = $value[$key];
                                                        }
                                                }
index f58796d397263d6f9e4169353e020b0b977735a3..06f1b6099835f2d85bd3b54debc7d5a9ce8993f3 100644 (file)
@@ -50,7 +50,7 @@ class CounterFunctionTemplatePlugin implements IFunctionTemplatePlugin {
                $result = '';
                if ($counter['print']) {
                        $result = $counter['count'];
-               } 
+               }
                
                if ($counter['direction'] == 'down') {
                        $counter['count'] -= $counter['skip'];
index cf9f2b6661ec864a05bf4c9de9f9b0cc02f35e35..fbfc93d34dadb1575003593fb2660bf9c0e532ff 100644 (file)
@@ -5,7 +5,7 @@ use wcf\system\SingletonFactory;
 
 /**
  * Manages the user birthday cache.
- *
+ * 
  * @author     Marcel Werk
  * @copyright  2001-2014 WoltLab GmbH
  * @license    GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
@@ -16,13 +16,13 @@ use wcf\system\SingletonFactory;
 class UserBirthdayCache extends SingletonFactory {
        /**
         * loaded months
-        * @var array<integer>
+        * @var array<integer>
         */
        protected $monthsLoaded = array();
        
        /**
         * user birthdays
-        * @var array<integer>
+        * @var array<integer>
         */
        protected $birthdays = array();
        
index 867db78d8e6622791d00f13e01ccf74288e8a3a6..7403bed27a651563925970ec2a16a7db6b1c4fb7 100644 (file)
@@ -355,13 +355,13 @@ class UserNotificationHandler extends SingletonFactory {
        
        /**
         * Returns all events for given object type.
-        *
+        * 
         * @param       string          $objectType
         * @return      array<\wcf\system\user\notification\event\IUserNotificationEvent>
         */
        public function getEvents($objectType) {
                if (!isset($this->availableEvents[$objectType])) return array();
-       
+               
                return $this->availableEvents[$objectType];
        }
        
index e3916b1462be9883b1b56480a9498ee5ffa9d8d0..6fd29d720e8086a305f717cb52ecccd045d68a65 100644 (file)
@@ -28,7 +28,7 @@ class StatDailyRebuildDataWorker extends AbstractRebuildDataWorker {
        
        /**
         * start timestamp
-        * @var integer
+        * @var integer
         */
        protected $startDate = 0;
        
index 5b7ac75765f124575ad8ab8c5a847764d8e0c910..c5643ebb5d7c8a544b183b49eb396ff315204802 100644 (file)
@@ -44,7 +44,7 @@ final class FileUtil {
                        if (strpos($_SERVER['DOCUMENT_ROOT'], 'strato') !== false) {
                                // strato bugfix
                                // create tmp folder in document root automatically
-                               if (!@file_exists($_SERVER['DOCUMENT_ROOT'].'/tmp')) { 
+                               if (!@file_exists($_SERVER['DOCUMENT_ROOT'].'/tmp')) {
                                        @mkdir($_SERVER['DOCUMENT_ROOT'].'/tmp/', 0777);
                                        self::makeWritable($_SERVER['DOCUMENT_ROOT'].'/tmp/');
                                }
@@ -307,14 +307,14 @@ final class FileUtil {
                        if ($dir == '..') {
                                if (end($result) == '..') {
                                        $result[] = '..';
-                               } 
-                               else { 
+                               }
+                               else {
                                        $lastValue = array_pop($result);
                                        if ($lastValue === '' || $lastValue === null) {
                                                $result[] = '..';
                                        }
                                }
-                       } 
+                       }
                        else if ($dir !== '' && $dir != '.') {
                                $result[] = $dir;
                        }
index 9fdb74df7f8aa82022068c4cadb9007da18585c8..7b9530fd341637e631da04d8f8c55a2ca6d67164 100644 (file)
@@ -82,7 +82,7 @@ final class HeaderUtil {
         * Sends no cache headers.
         */
        public static function sendNoCacheHeaders() {
-               @header('Expires: Mon, 26 Jul 1997 05:00:00 GMT'); 
+               @header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
                @header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
                @header('Cache-Control: no-cache, must-revalidate');
                @header('Pragma: no-cache');
index 6986d4c45f80f60b492d782555b49e1fae9cd4b5..0c4ef91974b9105a3d59c4b308e800cbc1f9033a 100644 (file)
@@ -48,7 +48,7 @@
                                }
                                
                                &:target {
-                                       background-color: @wcfHighlightBackgroundColor; 
+                                       background-color: @wcfHighlightBackgroundColor;
                                }
                        }
                }
index 8c5f91bd3fc06a9fbacce83ce643688d35cfa4b8..d0df9523ab818ca8f276ac16d6460769ffaa21c3 100644 (file)
@@ -28,7 +28,7 @@
                        width: 8px;
                }
        }
-} 
+}
 
 #colorPickerBar {
        background-image: url('../images/colorPickerBar.png');
index 7293f6ee58ec3053997e2c2b330fb18382caeba8..d60361597140db94d881b62671dc7cf8dde37e38 100644 (file)
@@ -39,7 +39,7 @@ a {
                font-family: FontAwesome !important;
                font-size: 14px !important;
                font-weight: normal !important;
-               font-style: normal !important; 
+               font-style: normal !important;
                margin-left: 4px;
                vertical-align: -1px;
        }
@@ -208,7 +208,7 @@ body > iframe[src="about:blank"] {
 /* fixes fieldset overflow issues */
 /* webkit */
 fieldset {
-       min-width: 0; 
+       min-width: 0;
 }
 /* firefox */
 @-moz-document url-prefix() {
index 6e44193bfc79b27a1c0148f9c9998e56683a7dbb..cda9c7031334e44d8e9e1e38d8f6254dd79eeacc 100644 (file)
                        border-radius: 6px;
                        display: block;
                        
-                       .transition(background-color, .1s); 
+                       .transition(background-color, .1s);
                        
                        &:hover {
                                background-color: @wcfContainerHoverBackgroundColor;
@@ -1188,7 +1188,7 @@ html[dir="rtl"] {
        margin-bottom: -@wcfGapSmall;
        
        > li {
-               margin-bottom: @wcfGapSmall; 
+               margin-bottom: @wcfGapSmall;
                
                > div {
                        overflow: hidden;
index 3e437191dbfc4d562a7f26529d6b17d6c87797c6..4d9684ab6084a3a11db26ea7440fcff61aa67522 100644 (file)
@@ -14,7 +14,7 @@
                        > .badge.label {
                                top: -2px;
                        }
-               } 
+               }
                
                > small {
                        display: block;
@@ -942,7 +942,7 @@ li:nth-child(2n+1) .message {
 
 .dislikeButton.active {
        .icon {
-               color: rgba(204, 0, 0, 1); 
+               color: rgba(204, 0, 0, 1);
        }
 }