From: Fabii547 Date: Fri, 8 Jul 2016 13:48:20 +0000 (+0200) Subject: Fix typos (#2055) X-Git-Tag: 3.0.0_Beta_1~1240 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b2aa772d66018346f787e27b79fa16e16abd5e0e;p=GitHub%2FWoltLab%2FWCF.git Fix typos (#2055) --- diff --git a/wcfsetup/install/files/js/WoltLab/WCF/Attachment/Upload.js b/wcfsetup/install/files/js/WoltLab/WCF/Attachment/Upload.js index c278a50b92..3f44eeb84f 100644 --- a/wcfsetup/install/files/js/WoltLab/WCF/Attachment/Upload.js +++ b/wcfsetup/install/files/js/WoltLab/WCF/Attachment/Upload.js @@ -60,7 +60,7 @@ define(['Core', 'Dom/ChangeListener', 'Dom/Traverse', 'Language', 'List', 'Uploa var span = elCreate('span'); if (this._options.maxSize >= file.size) { - span.className = 'icon icon48 fa-spinnner'; + span.className = 'icon icon48 fa-spinner'; } else { span.className = 'icon icon48 fa-ban-circle'; diff --git a/wcfsetup/install/files/js/WoltLab/WCF/Controller/Condition/Page/Dependence.js b/wcfsetup/install/files/js/WoltLab/WCF/Controller/Condition/Page/Dependence.js index 8d20e68be5..8836888252 100644 --- a/wcfsetup/install/files/js/WoltLab/WCF/Controller/Condition/Page/Dependence.js +++ b/wcfsetup/install/files/js/WoltLab/WCF/Controller/Condition/Page/Dependence.js @@ -1,5 +1,5 @@ /** - * Shows and hides an element that dependes on certain selected pages when setting up conditions. + * Shows and hides an element that depends on certain selected pages when setting up conditions. * * @author Matthias Schmidt * @copyright 2001-2016 WoltLab GmbH diff --git a/wcfsetup/install/files/js/WoltLab/WCF/Controller/Notice/Dismiss.js b/wcfsetup/install/files/js/WoltLab/WCF/Controller/Notice/Dismiss.js index 493417693a..223aa25a05 100644 --- a/wcfsetup/install/files/js/WoltLab/WCF/Controller/Notice/Dismiss.js +++ b/wcfsetup/install/files/js/WoltLab/WCF/Controller/Notice/Dismiss.js @@ -1,5 +1,5 @@ /** - * Handles dismissable user notices. + * Handles dismissible user notices. * * @author Alexander Ebert * @copyright 2001-2015 WoltLab GmbH diff --git a/wcfsetup/install/files/js/WoltLab/WCF/Dom/Util.js b/wcfsetup/install/files/js/WoltLab/WCF/Dom/Util.js index abf35699eb..a28e697761 100644 --- a/wcfsetup/install/files/js/WoltLab/WCF/Dom/Util.js +++ b/wcfsetup/install/files/js/WoltLab/WCF/Dom/Util.js @@ -326,14 +326,14 @@ define(['Environment', 'StringUtil'], function(Environment, StringUtil) { * * @param {Element} element target element * @param {string=} prefix attribute prefix - * @param {boolean=} camcelCaseName transform attribute names into camel case using dashes as separators + * @param {boolean=} camelCaseName transform attribute names into camel case using dashes as separators * @param {boolean=} idToUpperCase transform '-id' into 'ID' * @returns {object} list of data attributes */ - getDataAttributes: function(element, prefix, camcelCaseName, idToUpperCase) { + getDataAttributes: function(element, prefix, camelCaseName, idToUpperCase) { prefix = prefix || ''; if (!/^data-/.test(prefix)) prefix = 'data-' + prefix; - camcelCaseName = (camcelCaseName === true); + camelCaseName = (camelCaseName === true); idToUpperCase = (idToUpperCase === true); var attribute, attributes = {}, name, tmp; @@ -342,7 +342,7 @@ define(['Environment', 'StringUtil'], function(Environment, StringUtil) { if (attribute.name.indexOf(prefix) === 0) { name = attribute.name.replace(new RegExp('^' + prefix), ''); - if (camcelCaseName) { + if (camelCaseName) { tmp = name.split('-'); name = ''; for (var j = 0, innerLength = tmp.length; j < innerLength; j++) { diff --git a/wcfsetup/install/files/js/WoltLab/WCF/Language/Chooser.js b/wcfsetup/install/files/js/WoltLab/WCF/Language/Chooser.js index f7de7dcaed..a4356063df 100644 --- a/wcfsetup/install/files/js/WoltLab/WCF/Language/Chooser.js +++ b/wcfsetup/install/files/js/WoltLab/WCF/Language/Chooser.js @@ -275,7 +275,7 @@ define(['Dictionary', 'Language', 'Dom/Traverse', 'Dom/Util', 'ObjectMap', 'Ui/S * Returns the selected language for a certain chooser. * * @param {string} chooserId input element id - * @return {int} choosen language id + * @return {int} chosen language id */ getLanguageId: function(chooserId) { return ~~this.getChooser(chooserId).element.value; diff --git a/wcfsetup/install/files/js/WoltLab/WCF/Media/Manager/Search.js b/wcfsetup/install/files/js/WoltLab/WCF/Media/Manager/Search.js index 2289f372b7..f2bdd5cbf3 100644 --- a/wcfsetup/install/files/js/WoltLab/WCF/Media/Manager/Search.js +++ b/wcfsetup/install/files/js/WoltLab/WCF/Media/Manager/Search.js @@ -80,7 +80,7 @@ define(['Ajax', 'Core', 'Dom/Traverse', 'Dom/Util', 'Language', 'WoltLab/WCF/Med var innerInfo = DomTraverse.childByClass(this._input.parentNode.parentNode, 'innerInfo'); - // TODO: treshold option? + // TODO: threshold option? if (this._input.value.length >= 3) { if (innerInfo) { elHide(innerInfo); diff --git a/wcfsetup/install/files/js/WoltLab/WCF/Ui/Dropdown/Simple.js b/wcfsetup/install/files/js/WoltLab/WCF/Ui/Dropdown/Simple.js index bbd6317e02..1b05e5343e 100644 --- a/wcfsetup/install/files/js/WoltLab/WCF/Ui/Dropdown/Simple.js +++ b/wcfsetup/install/files/js/WoltLab/WCF/Ui/Dropdown/Simple.js @@ -356,7 +356,7 @@ define( var dropdown = _dropdowns.get(targetId), preventToggle = false; if (dropdown !== undefined) { - // Repeated clicks on the dropdown buttom will not cause it to close, the only way + // Repeated clicks on the dropdown button will not cause it to close, the only way // to close it is by clicking somewhere else in the document or on another dropdown // toggle. This is used with the search bar to prevent the dropdown from closing by // setting the caret position in the search input field. diff --git a/wcfsetup/install/files/js/WoltLab/WCF/Ui/Like/Handler.js b/wcfsetup/install/files/js/WoltLab/WCF/Ui/Like/Handler.js index ef6aeabaf1..1004588aea 100644 --- a/wcfsetup/install/files/js/WoltLab/WCF/Ui/Like/Handler.js +++ b/wcfsetup/install/files/js/WoltLab/WCF/Ui/Like/Handler.js @@ -31,11 +31,11 @@ define( * Initializes the like handler. * * @param {string} objectType object type - * @param {object} options initilization options + * @param {object} options initialization options */ init: function(objectType, options) { if (options.containerSelector === '') { - throw new Error("[WoltLab/WCF/Ui/Like/Handler] Expected a non-emtpy string for option 'containerSelector'."); + throw new Error("[WoltLab/WCF/Ui/Like/Handler] Expected a non-empty string for option 'containerSelector'."); } this._containers = new ObjectMap(); diff --git a/wcfsetup/install/files/js/WoltLab/WCF/Ui/Redactor/Format.js b/wcfsetup/install/files/js/WoltLab/WCF/Ui/Redactor/Format.js index 36f4b6b646..81052292fe 100644 --- a/wcfsetup/install/files/js/WoltLab/WCF/Ui/Redactor/Format.js +++ b/wcfsetup/install/files/js/WoltLab/WCF/Ui/Redactor/Format.js @@ -78,7 +78,7 @@ define(['Dom/Util'], function(DomUtil) { * |This is a |simple example| * * As a result we can now remove both inside the element as well as - * the outer without harming the effect of for the preceeding siblings. + * the outer without harming the effect of for the preceding siblings. * * This process is repeated for siblings appearing after the element too, it * works as described above but flipped. This is an expensive operation and will only diff --git a/wcfsetup/install/files/lib/acp/form/MenuAddForm.class.php b/wcfsetup/install/files/lib/acp/form/MenuAddForm.class.php index 4c5bc60a3b..5b7c7583ae 100644 --- a/wcfsetup/install/files/lib/acp/form/MenuAddForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/MenuAddForm.class.php @@ -19,7 +19,7 @@ use wcf\util\StringUtil; * @copyright 2001-2016 WoltLab GmbH * @license GNU Lesser General Public License * @package WoltLabSuite\Core\Acp\Form - * @since 3.0k + * @since 3.0 */ class MenuAddForm extends AbstractForm { /** diff --git a/wcfsetup/install/files/lib/acp/form/OptionForm.class.php b/wcfsetup/install/files/lib/acp/form/OptionForm.class.php index 1c3503691f..4a1b5e3eef 100644 --- a/wcfsetup/install/files/lib/acp/form/OptionForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/OptionForm.class.php @@ -78,7 +78,7 @@ class OptionForm extends AbstractOptionListForm { // reset styles to make sure the updated option values are used StyleHandler::resetStylesheets(); - // show succes message + // show success message WCF::getTPL()->assign('success', true); } diff --git a/wcfsetup/install/files/lib/acp/form/UserEmailAddressExportForm.class.php b/wcfsetup/install/files/lib/acp/form/UserEmailAddressExportForm.class.php index 184e9af6fd..d57c50f46c 100755 --- a/wcfsetup/install/files/lib/acp/form/UserEmailAddressExportForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/UserEmailAddressExportForm.class.php @@ -29,7 +29,7 @@ class UserEmailAddressExportForm extends AbstractForm { public $neededPermissions = ['admin.user.canMailUser']; /** - * type of the file containg the exported email addresses + * type of the file containing the exported email addresses * @var string */ public $fileType = 'csv'; diff --git a/wcfsetup/install/files/lib/action/AJAXInvokeAction.class.php b/wcfsetup/install/files/lib/action/AJAXInvokeAction.class.php index a50d276a7f..c48fb2c941 100644 --- a/wcfsetup/install/files/lib/action/AJAXInvokeAction.class.php +++ b/wcfsetup/install/files/lib/action/AJAXInvokeAction.class.php @@ -161,7 +161,7 @@ class AJAXInvokeAction extends AbstractSecureAction { } /** - * Throws an previously catched exception while maintaing the propriate stacktrace. + * Throws an previously catched exception while maintaining the propriate stacktrace. * * @param \Exception|\Throwable $e * @throws AJAXException diff --git a/wcfsetup/install/files/lib/data/application/Application.class.php b/wcfsetup/install/files/lib/data/application/Application.class.php index 4c28af053d..d9193d8cd4 100644 --- a/wcfsetup/install/files/lib/data/application/Application.class.php +++ b/wcfsetup/install/files/lib/data/application/Application.class.php @@ -93,7 +93,7 @@ class Application extends DatabaseObject { } /** - * Returns the directory of the application with the given abbrevation. + * Returns the directory of the application with the given abbreviation. * * @param string $abbreviation * @return string diff --git a/wcfsetup/install/files/lib/data/article/ViewableArticle.class.php b/wcfsetup/install/files/lib/data/article/ViewableArticle.class.php index 82964ebaed..b69402c3e1 100644 --- a/wcfsetup/install/files/lib/data/article/ViewableArticle.class.php +++ b/wcfsetup/install/files/lib/data/article/ViewableArticle.class.php @@ -69,7 +69,7 @@ class ViewableArticle extends DatabaseObjectDecorator { } /** - * Sest the article's content. + * Sets the article's content. * * @param ViewableArticleContent $articleContent */ diff --git a/wcfsetup/install/files/lib/data/box/Box.class.php b/wcfsetup/install/files/lib/data/box/Box.class.php index 55a2247819..39b0d0fb76 100644 --- a/wcfsetup/install/files/lib/data/box/Box.class.php +++ b/wcfsetup/install/files/lib/data/box/Box.class.php @@ -513,7 +513,7 @@ class Box extends DatabaseObject { } /** - * Returns the box with the given idnetifier. + * Returns the box with the given identifier. * * @param string $identifier * @return Box diff --git a/wcfsetup/install/files/lib/data/category/Category.class.php b/wcfsetup/install/files/lib/data/category/Category.class.php index 9aa0b1939f..484568ce82 100644 --- a/wcfsetup/install/files/lib/data/category/Category.class.php +++ b/wcfsetup/install/files/lib/data/category/Category.class.php @@ -158,9 +158,9 @@ class Category extends ProcessibleDatabaseObject implements IPermissionObject, I public function getParentCategories() { if ($this->parentCategories === null) { $this->parentCategories = []; - $parentCaregory = $this; - while ($parentCaregory = $parentCaregory->getParentCategory()) { - $this->parentCategories[] = $parentCaregory; + $parentCategory = $this; + while ($parentCategory = $parentCategory->getParentCategory()) { + $this->parentCategories[] = $parentCategory; } $this->parentCategories = array_reverse($this->parentCategories); diff --git a/wcfsetup/install/files/lib/data/category/CategoryNodeTree.class.php b/wcfsetup/install/files/lib/data/category/CategoryNodeTree.class.php index 0238f664da..afb289b1e8 100644 --- a/wcfsetup/install/files/lib/data/category/CategoryNodeTree.class.php +++ b/wcfsetup/install/files/lib/data/category/CategoryNodeTree.class.php @@ -13,7 +13,7 @@ use wcf\system\exception\SystemException; */ class CategoryNodeTree implements \IteratorAggregate { /** - * list of ids of categories which will not be inluded in the node tree + * list of ids of categories which will not be included in the node tree * @var integer[] */ protected $excludedCategoryIDs = []; diff --git a/wcfsetup/install/files/lib/data/comment/CommentAction.class.php b/wcfsetup/install/files/lib/data/comment/CommentAction.class.php index 2153f3e927..828e71c867 100644 --- a/wcfsetup/install/files/lib/data/comment/CommentAction.class.php +++ b/wcfsetup/install/files/lib/data/comment/CommentAction.class.php @@ -84,7 +84,7 @@ class CommentAction extends AbstractDatabaseObjectAction { public $createdResponse = null; /** - * errors occuring durch the validation of addComment or addResponse + * errors occurring through the validation of addComment or addResponse * @var array */ public $validationErrors = []; diff --git a/wcfsetup/install/files/lib/data/comment/response/StructuredCommentResponseList.class.php b/wcfsetup/install/files/lib/data/comment/response/StructuredCommentResponseList.class.php index 5d49fe1888..d4e61810cf 100644 --- a/wcfsetup/install/files/lib/data/comment/response/StructuredCommentResponseList.class.php +++ b/wcfsetup/install/files/lib/data/comment/response/StructuredCommentResponseList.class.php @@ -102,7 +102,7 @@ class StructuredCommentResponseList extends CommentResponseList { } /** - * Returns mimimum response time. + * Returns minimum response time. * * @return integer */ diff --git a/wcfsetup/install/files/lib/data/cronjob/CronjobAction.class.php b/wcfsetup/install/files/lib/data/cronjob/CronjobAction.class.php index 20eb73cd9a..cb82328914 100644 --- a/wcfsetup/install/files/lib/data/cronjob/CronjobAction.class.php +++ b/wcfsetup/install/files/lib/data/cronjob/CronjobAction.class.php @@ -134,7 +134,7 @@ class CronjobAction extends AbstractDatabaseObjectAction implements IToggleActio // check if all required options are set for cronjob to be executed // note: a general log is created to avoid confusion why a cronjob - // apperently is not executed while that is indeed the correct internal + // apparently is not executed while that is indeed the correct internal // behavior if ($cronjob->validateOptions()) { try { diff --git a/wcfsetup/install/files/lib/data/media/Media.class.php b/wcfsetup/install/files/lib/data/media/Media.class.php index 0d4b41c12c..18caa5934b 100644 --- a/wcfsetup/install/files/lib/data/media/Media.class.php +++ b/wcfsetup/install/files/lib/data/media/Media.class.php @@ -8,7 +8,7 @@ use wcf\system\request\LinkHandler; use wcf\system\WCF; /** - * Represents a madia file. + * Represents a media file. * * @author Matthias Schmidt * @copyright 2001-2016 WoltLab GmbH diff --git a/wcfsetup/install/files/lib/data/media/MediaAction.class.php b/wcfsetup/install/files/lib/data/media/MediaAction.class.php index 3942963015..475c12530d 100644 --- a/wcfsetup/install/files/lib/data/media/MediaAction.class.php +++ b/wcfsetup/install/files/lib/data/media/MediaAction.class.php @@ -17,7 +17,7 @@ use wcf\system\WCF; use wcf\util\FileUtil; /** - * Executes madia file-related actions. + * Executes media file-related actions. * * @author Matthias Schmidt * @copyright 2001-2016 WoltLab GmbH diff --git a/wcfsetup/install/files/lib/data/media/MediaEditor.class.php b/wcfsetup/install/files/lib/data/media/MediaEditor.class.php index 1b380b093d..36e86f8695 100644 --- a/wcfsetup/install/files/lib/data/media/MediaEditor.class.php +++ b/wcfsetup/install/files/lib/data/media/MediaEditor.class.php @@ -3,7 +3,7 @@ namespace wcf\data\media; use wcf\data\DatabaseObjectEditor; /** - * Procides functions to edit media files. + * Provides functions to edit media files. * * @author Matthias Schmidt * @copyright 2001-2016 WoltLab GmbH diff --git a/wcfsetup/install/files/lib/data/media/MediaList.class.php b/wcfsetup/install/files/lib/data/media/MediaList.class.php index e71cb03dba..f9c39e65ed 100644 --- a/wcfsetup/install/files/lib/data/media/MediaList.class.php +++ b/wcfsetup/install/files/lib/data/media/MediaList.class.php @@ -4,7 +4,7 @@ use wcf\data\DatabaseObjectList; use wcf\system\database\util\PreparedStatementConditionBuilder; /** - * Represents a list of madia files. + * Represents a list of media files. * * @author Matthias Schmidt * @copyright 2001-2016 WoltLab GmbH diff --git a/wcfsetup/install/files/lib/data/media/ViewableMedia.class.php b/wcfsetup/install/files/lib/data/media/ViewableMedia.class.php index 829da19c62..f301489031 100644 --- a/wcfsetup/install/files/lib/data/media/ViewableMedia.class.php +++ b/wcfsetup/install/files/lib/data/media/ViewableMedia.class.php @@ -5,7 +5,7 @@ use wcf\util\FileUtil; use wcf\util\StringUtil; /** - * Represents a viewable madia file. + * Represents a viewable media file. * * @author Matthias Schmidt * @copyright 2001-2016 WoltLab GmbH diff --git a/wcfsetup/install/files/lib/data/menu/item/MenuItemNodeTree.class.php b/wcfsetup/install/files/lib/data/menu/item/MenuItemNodeTree.class.php index 311fdfb34c..344f4eda46 100644 --- a/wcfsetup/install/files/lib/data/menu/item/MenuItemNodeTree.class.php +++ b/wcfsetup/install/files/lib/data/menu/item/MenuItemNodeTree.class.php @@ -104,7 +104,7 @@ class MenuItemNodeTree { $node->setIsActive(); // only one effective item can be marked as active, use the first - // occurence with the highest priority and ignore everything else + // occurrence with the highest priority and ignore everything else return; } } diff --git a/wcfsetup/install/files/lib/data/moderation/queue/ViewableModerationQueueList.class.php b/wcfsetup/install/files/lib/data/moderation/queue/ViewableModerationQueueList.class.php index ae217b7ac0..6d2f7c3bdf 100644 --- a/wcfsetup/install/files/lib/data/moderation/queue/ViewableModerationQueueList.class.php +++ b/wcfsetup/install/files/lib/data/moderation/queue/ViewableModerationQueueList.class.php @@ -74,7 +74,7 @@ class ViewableModerationQueueList extends ModerationQueueList { ModerationQueueManager::getInstance()->populate($objectTypeID, $queueItems); } - // check for non-existant items + // check for non-existent items $queueIDs = []; foreach ($this->objects as $index => $object) { if ($object->isOrphaned()) { diff --git a/wcfsetup/install/files/lib/data/object/type/ObjectType.class.php b/wcfsetup/install/files/lib/data/object/type/ObjectType.class.php index c93d280b29..529c9323ba 100644 --- a/wcfsetup/install/files/lib/data/object/type/ObjectType.class.php +++ b/wcfsetup/install/files/lib/data/object/type/ObjectType.class.php @@ -54,7 +54,7 @@ class ObjectType extends ProcessibleDatabaseObject { } /** - * Returns the names of proporties that should be serialized. + * Returns the names of properties that should be serialized. * * @return string[] */ diff --git a/wcfsetup/install/files/lib/data/package/update/server/PackageUpdateServer.class.php b/wcfsetup/install/files/lib/data/package/update/server/PackageUpdateServer.class.php index 371f9619bc..eba7c405ea 100644 --- a/wcfsetup/install/files/lib/data/package/update/server/PackageUpdateServer.class.php +++ b/wcfsetup/install/files/lib/data/package/update/server/PackageUpdateServer.class.php @@ -159,7 +159,7 @@ class PackageUpdateServer extends DatabaseObject { } /** - * Returns the highlighed server URL. + * Returns the highlighted server URL. * * @return string */ diff --git a/wcfsetup/install/files/lib/data/poll/PollAction.class.php b/wcfsetup/install/files/lib/data/poll/PollAction.class.php index 3a92f06b61..15cfe22264 100644 --- a/wcfsetup/install/files/lib/data/poll/PollAction.class.php +++ b/wcfsetup/install/files/lib/data/poll/PollAction.class.php @@ -346,7 +346,7 @@ class PollAction extends AbstractDatabaseObjectAction implements IGroupedUserLis // step 2) copy // - // cretae poll + // create poll $pollData = $row; $pollData['objectTypeID'] = $targetObjectType->objectTypeID; $pollData['objectID'] = $this->parameters['targetObjectID']; diff --git a/wcfsetup/install/files/lib/data/user/activity/event/UserActivityEventAction.class.php b/wcfsetup/install/files/lib/data/user/activity/event/UserActivityEventAction.class.php index dba3983242..76510d5c92 100644 --- a/wcfsetup/install/files/lib/data/user/activity/event/UserActivityEventAction.class.php +++ b/wcfsetup/install/files/lib/data/user/activity/event/UserActivityEventAction.class.php @@ -68,7 +68,7 @@ class UserActivityEventAction extends AbstractDatabaseObjectAction { return []; } - // removes orphaned and non-accessable events + // removes orphaned and non-accessible events UserActivityEventHandler::validateEvents($eventList); if (!count($eventList)) { diff --git a/wcfsetup/install/files/lib/data/user/group/UserGroup.class.php b/wcfsetup/install/files/lib/data/user/group/UserGroup.class.php index 5dd0d5dfba..ebf479c43f 100644 --- a/wcfsetup/install/files/lib/data/user/group/UserGroup.class.php +++ b/wcfsetup/install/files/lib/data/user/group/UserGroup.class.php @@ -251,7 +251,7 @@ class UserGroup extends DatabaseObject implements ITitledObject { /** * Returns true if the current group is a moderator-group. * - * @reutn boolean + * @return boolean */ public function isModGroup() { // workaround for WCF-Setup diff --git a/wcfsetup/install/files/lib/data/user/group/assignment/UserGroupAssignment.class.php b/wcfsetup/install/files/lib/data/user/group/assignment/UserGroupAssignment.class.php index f60f20f733..35f03a6380 100644 --- a/wcfsetup/install/files/lib/data/user/group/assignment/UserGroupAssignment.class.php +++ b/wcfsetup/install/files/lib/data/user/group/assignment/UserGroupAssignment.class.php @@ -7,7 +7,7 @@ use wcf\system\condition\ConditionHandler; use wcf\system\request\IRouteController; /** - * Represents an automatic assignement to a user group. + * Represents an automatic assignment to a user group. * * @author Matthias Schmidt * @copyright 2001-2016 WoltLab GmbH @@ -31,7 +31,7 @@ class UserGroupAssignment extends DatabaseObject implements IRouteController { protected static $databaseTableName = 'user_group_assignment'; /** - * Returns the conditions of the automatic assignement to a user group. + * Returns the conditions of the automatic assignment to a user group. * * @return Condition[] */ diff --git a/wcfsetup/install/files/lib/form/MessageForm.class.php b/wcfsetup/install/files/lib/form/MessageForm.class.php index df32f580c3..b79e89eb5d 100644 --- a/wcfsetup/install/files/lib/form/MessageForm.class.php +++ b/wcfsetup/install/files/lib/form/MessageForm.class.php @@ -18,7 +18,7 @@ use wcf\util\MessageUtil; use wcf\util\StringUtil; /** - * MessageForm is an abstract form implementation for a message with optional captcha suppport. + * MessageForm is an abstract form implementation for a message with optional captcha support. * * @author Marcel Werk * @copyright 2001-2016 WoltLab GmbH diff --git a/wcfsetup/install/files/lib/page/RecentActivityListPage.class.php b/wcfsetup/install/files/lib/page/RecentActivityListPage.class.php index d018bb58b1..f5585002ce 100644 --- a/wcfsetup/install/files/lib/page/RecentActivityListPage.class.php +++ b/wcfsetup/install/files/lib/page/RecentActivityListPage.class.php @@ -51,7 +51,7 @@ class RecentActivityListPage extends AbstractPage { $lastEventTime = $this->eventList->getLastEventTime(); - // removes orphaned and non-accessable events + // removes orphaned and non-accessible events UserActivityEventHandler::validateEvents($this->eventList); WCF::getTPL()->assign([ diff --git a/wcfsetup/install/files/lib/system/IAJAXInvokeAction.class.php b/wcfsetup/install/files/lib/system/IAJAXInvokeAction.class.php index 6159c4d3b9..7b5066046f 100644 --- a/wcfsetup/install/files/lib/system/IAJAXInvokeAction.class.php +++ b/wcfsetup/install/files/lib/system/IAJAXInvokeAction.class.php @@ -6,7 +6,7 @@ namespace wcf\system; * * You SHOULD NOT implement this interface in generic classes, as each method is entirely * responsible to verify parameters and permissions. Implementing this class in generic - * classes leads to a potential breach of security and unforseen side-effects. + * classes leads to a potential breach of security and unforeseen side-effects. * * @author Alexander Ebert * @copyright 2001-2016 WoltLab GmbH diff --git a/wcfsetup/install/files/lib/system/Regex.class.php b/wcfsetup/install/files/lib/system/Regex.class.php index 1f0cab838e..deada47213 100644 --- a/wcfsetup/install/files/lib/system/Regex.class.php +++ b/wcfsetup/install/files/lib/system/Regex.class.php @@ -42,7 +42,7 @@ final class Regex { const NO_ANALYSE = 8; /** - * indicates that whitespaces are igored in regex + * indicates that whitespaces are ignored in regex * @var integer */ const IGNORE_WHITESPACE = 16; diff --git a/wcfsetup/install/files/lib/system/SingletonFactory.class.php b/wcfsetup/install/files/lib/system/SingletonFactory.class.php index 2388d0eabe..a8c9d653b1 100644 --- a/wcfsetup/install/files/lib/system/SingletonFactory.class.php +++ b/wcfsetup/install/files/lib/system/SingletonFactory.class.php @@ -26,7 +26,7 @@ abstract class SingletonFactory { } /** - * Called within __construct(), override if neccessary. + * Called within __construct(), override if necessary. */ protected function init() { } diff --git a/wcfsetup/install/files/lib/system/WCF.class.php b/wcfsetup/install/files/lib/system/WCF.class.php index 1e5f1cefb9..fc6cc3ba8d 100644 --- a/wcfsetup/install/files/lib/system/WCF.class.php +++ b/wcfsetup/install/files/lib/system/WCF.class.php @@ -287,7 +287,7 @@ class WCF { * @throws ErrorException */ public static final function handleError($severity, $message, $file, $line) { - // this is neccessary for the shut-up operator + // this is necessary for the shut-up operator if (error_reporting() == 0) return; throw new ErrorException($message, 0, $severity, $file, $line); diff --git a/wcfsetup/install/files/lib/system/WCFSetup.class.php b/wcfsetup/install/files/lib/system/WCFSetup.class.php index 8cca0de88c..d453edcc65 100644 --- a/wcfsetup/install/files/lib/system/WCFSetup.class.php +++ b/wcfsetup/install/files/lib/system/WCFSetup.class.php @@ -607,7 +607,7 @@ class WCFSetup extends WCF { } /** - * Shows the page for configurating the database connection. + * Shows the page for configuring the database connection. */ protected function configureDB() { if (self::$developerMode && isset($_ENV['WCFSETUP_DBHOST'])) { diff --git a/wcfsetup/install/files/lib/system/background/BackgroundQueueHandler.class.php b/wcfsetup/install/files/lib/system/background/BackgroundQueueHandler.class.php index a0bbb27002..efd1e5a1b0 100644 --- a/wcfsetup/install/files/lib/system/background/BackgroundQueueHandler.class.php +++ b/wcfsetup/install/files/lib/system/background/BackgroundQueueHandler.class.php @@ -75,7 +75,7 @@ class BackgroundQueueHandler extends SingletonFactory { } /** - * Immediatly performs the given job. + * Immediately performs the given job. * This method automatically handles requeuing in case of failure. * * This method is used internally by performNextJob(), but it can @@ -135,7 +135,7 @@ class BackgroundQueueHandler extends SingletonFactory { */ public function performNextJob() { WCF::getDB()->beginTransaction(); - $commited = false; + $committed = false; try { $sql = "SELECT jobID, job FROM wcf".WCF_N."_background_job @@ -174,10 +174,10 @@ class BackgroundQueueHandler extends SingletonFactory { return; } WCF::getDB()->commitTransaction(); - $commited = true; + $committed = true; } finally { - if (!$commited) WCF::getDB()->rollBackTransaction(); + if (!$committed) WCF::getDB()->rollBackTransaction(); } $job = null; diff --git a/wcfsetup/install/files/lib/system/bbcode/CodeBBCode.class.php b/wcfsetup/install/files/lib/system/bbcode/CodeBBCode.class.php index c5a5e680c2..8ad00a0558 100644 --- a/wcfsetup/install/files/lib/system/bbcode/CodeBBCode.class.php +++ b/wcfsetup/install/files/lib/system/bbcode/CodeBBCode.class.php @@ -39,7 +39,7 @@ class CodeBBCode extends AbstractBBCode { protected $filename = ''; /** - * start line numer attribute value + * start line number attribute value * @var string */ protected $startLineNumber = 1; diff --git a/wcfsetup/install/files/lib/system/bulk/processing/user/AbstractUserBulkProcessingAction.class.php b/wcfsetup/install/files/lib/system/bulk/processing/user/AbstractUserBulkProcessingAction.class.php index 8ec510a65d..c617ab64cf 100644 --- a/wcfsetup/install/files/lib/system/bulk/processing/user/AbstractUserBulkProcessingAction.class.php +++ b/wcfsetup/install/files/lib/system/bulk/processing/user/AbstractUserBulkProcessingAction.class.php @@ -26,7 +26,7 @@ abstract class AbstractUserBulkProcessingAction extends AbstractBulkProcessingAc /** * Returns all users who the active user can access due to their user group - * assocition. + * association. * * @param UserList $userList * @return User[] diff --git a/wcfsetup/install/files/lib/system/bulk/processing/user/SendMailUserBulkProcessingAction.class.php b/wcfsetup/install/files/lib/system/bulk/processing/user/SendMailUserBulkProcessingAction.class.php index f0dcd0c1d6..fe1077fd6c 100644 --- a/wcfsetup/install/files/lib/system/bulk/processing/user/SendMailUserBulkProcessingAction.class.php +++ b/wcfsetup/install/files/lib/system/bulk/processing/user/SendMailUserBulkProcessingAction.class.php @@ -7,7 +7,7 @@ use wcf\system\WCF; use wcf\util\StringUtil; /** - * Bulk processing action implementation for sening mails to users. + * Bulk processing action implementation for sending mails to users. * * @author Matthias Schmidt * @copyright 2001-2016 WoltLab GmbH diff --git a/wcfsetup/install/files/lib/system/cache/builder/RoutingCacheBuilder.class.php b/wcfsetup/install/files/lib/system/cache/builder/RoutingCacheBuilder.class.php index 37f579f508..7f11a6f2f0 100644 --- a/wcfsetup/install/files/lib/system/cache/builder/RoutingCacheBuilder.class.php +++ b/wcfsetup/install/files/lib/system/cache/builder/RoutingCacheBuilder.class.php @@ -29,7 +29,7 @@ class RoutingCacheBuilder extends AbstractCacheBuilder { } /** - * Builds the list of controllers violating the camcel-case schema by having more than + * Builds the list of controllers violating the camel-case schema by having more than * two consecutive upper-case letters in the name. The list is divided on an application * and environment level to prevent any issues with controllers with the same name but * correct spelling to be incorrectly handled. diff --git a/wcfsetup/install/files/lib/system/cache/source/DiskCacheSource.class.php b/wcfsetup/install/files/lib/system/cache/source/DiskCacheSource.class.php index 34f00c9407..225161bcf9 100644 --- a/wcfsetup/install/files/lib/system/cache/source/DiskCacheSource.class.php +++ b/wcfsetup/install/files/lib/system/cache/source/DiskCacheSource.class.php @@ -108,7 +108,7 @@ class DiskCacheSource implements ICacheSource { } /** - * Determines wheater the cache needs to be rebuild or not. + * Determines whether the cache needs to be rebuild or not. * * @param string $filename * @param integer $maxLifetime diff --git a/wcfsetup/install/files/lib/system/condition/AbstractTimestampCondition.class.php b/wcfsetup/install/files/lib/system/condition/AbstractTimestampCondition.class.php index ebf6e3a54e..d2667c18da 100644 --- a/wcfsetup/install/files/lib/system/condition/AbstractTimestampCondition.class.php +++ b/wcfsetup/install/files/lib/system/condition/AbstractTimestampCondition.class.php @@ -7,7 +7,7 @@ use wcf\system\exception\UserInputException; use wcf\system\WCF; /** - * Condition implementation for compairing a user-bound timestamp with a fixed time + * Condition implementation for comparing a user-bound timestamp with a fixed time * interval. * * @author Matthias Schmidt diff --git a/wcfsetup/install/files/lib/system/cronjob/BackgroundQueueCleanUpCronjob.class.php b/wcfsetup/install/files/lib/system/cronjob/BackgroundQueueCleanUpCronjob.class.php index d1300cf408..ef6f6ee044 100644 --- a/wcfsetup/install/files/lib/system/cronjob/BackgroundQueueCleanUpCronjob.class.php +++ b/wcfsetup/install/files/lib/system/cronjob/BackgroundQueueCleanUpCronjob.class.php @@ -23,7 +23,7 @@ class BackgroundQueueCleanUpCronjob extends AbstractCronjob { WCF::getDB()->beginTransaction(); /** @noinspection PhpUnusedLocalVariableInspection */ - $commited = false; + $committed = false; try { $sql = "SELECT jobID, job FROM wcf".WCF_N."_background_job @@ -60,7 +60,7 @@ class BackgroundQueueCleanUpCronjob extends AbstractCronjob { if (empty($jobIDs)) { WCF::getDB()->commitTransaction(); - $commited = true; + $committed = true; return; } @@ -72,10 +72,10 @@ class BackgroundQueueCleanUpCronjob extends AbstractCronjob { $statement->execute($condition->getParameters()); WCF::getDB()->commitTransaction(); - $commited = true; + $committed = true; } finally { - if (!$commited) WCF::getDB()->rollBackTransaction(); + if (!$committed) WCF::getDB()->rollBackTransaction(); } } } diff --git a/wcfsetup/install/files/lib/system/cronjob/CronjobScheduler.class.php b/wcfsetup/install/files/lib/system/cronjob/CronjobScheduler.class.php index a064dc9c08..1c6c6c402d 100644 --- a/wcfsetup/install/files/lib/system/cronjob/CronjobScheduler.class.php +++ b/wcfsetup/install/files/lib/system/cronjob/CronjobScheduler.class.php @@ -67,7 +67,7 @@ class CronjobScheduler extends SingletonFactory { // check if all required options are set for cronjob to be executed // note: a general log is created to avoid confusion why a cronjob - // apperently is not executed while that is indeed the correct internal + // apparently is not executed while that is indeed the correct internal // behavior if ($cronjobEditor->validateOptions()) { try { diff --git a/wcfsetup/install/files/lib/system/cronjob/SessionCleanUpCronjob.class.php b/wcfsetup/install/files/lib/system/cronjob/SessionCleanUpCronjob.class.php index fec4f4300c..e72b9d7ad1 100644 --- a/wcfsetup/install/files/lib/system/cronjob/SessionCleanUpCronjob.class.php +++ b/wcfsetup/install/files/lib/system/cronjob/SessionCleanUpCronjob.class.php @@ -7,7 +7,7 @@ use wcf\data\session\virtual\SessionVirtualEditor; use wcf\data\session\SessionEditor; /** - * Deletes expired sesions. + * Deletes expired sessions. * * @author Marcel Werk * @copyright 2001-2016 WoltLab GmbH diff --git a/wcfsetup/install/files/lib/system/database/Database.class.php b/wcfsetup/install/files/lib/system/database/Database.class.php index cdc9ceb2e2..1fd81b807e 100644 --- a/wcfsetup/install/files/lib/system/database/Database.class.php +++ b/wcfsetup/install/files/lib/system/database/Database.class.php @@ -161,7 +161,7 @@ abstract class Database { } /** - * Commits a transaction and returns true if the transaction was successfull. + * Commits a transaction and returns true if the transaction was successful. * * @return boolean * @throws DatabaseTransactionException @@ -191,7 +191,7 @@ abstract class Database { } /** - * Rolls back a transaction and returns true if the rollback was successfull. + * Rolls back a transaction and returns true if the rollback was successful. * * @return boolean * @throws DatabaseTransactionException diff --git a/wcfsetup/install/files/lib/system/event/EventHandler.class.php b/wcfsetup/install/files/lib/system/event/EventHandler.class.php index 94b1185500..5995494e48 100644 --- a/wcfsetup/install/files/lib/system/event/EventHandler.class.php +++ b/wcfsetup/install/files/lib/system/event/EventHandler.class.php @@ -30,7 +30,7 @@ class EventHandler extends SingletonFactory { protected $inheritedActions = null; /** - * instances of registerd actions + * instances of registered actions * @var array */ protected $actionsObjects = []; diff --git a/wcfsetup/install/files/lib/system/image/adapter/ImageAdapter.class.php b/wcfsetup/install/files/lib/system/image/adapter/ImageAdapter.class.php index 5c334a6996..09b20a8a5f 100644 --- a/wcfsetup/install/files/lib/system/image/adapter/ImageAdapter.class.php +++ b/wcfsetup/install/files/lib/system/image/adapter/ImageAdapter.class.php @@ -250,7 +250,7 @@ class ImageAdapter implements IImageAdapter { */ public function rotate($degrees) { if ($degrees > 360.0 || $degrees < 0.0) { - throw new SystemException("Degress must be a value between 0 and 360."); + throw new SystemException("Degrees must be a value between 0 and 360."); } return $this->adapter->rotate($degrees); diff --git a/wcfsetup/install/files/lib/system/mail/SMTPMailSender.class.php b/wcfsetup/install/files/lib/system/mail/SMTPMailSender.class.php index 37273748ed..e909308192 100644 --- a/wcfsetup/install/files/lib/system/mail/SMTPMailSender.class.php +++ b/wcfsetup/install/files/lib/system/mail/SMTPMailSender.class.php @@ -253,7 +253,7 @@ class SMTPMailSender extends MailSender { } /** - * Reads the Information wich the Server sends back. + * Reads the Information which the Server sends back. * * @return string */ diff --git a/wcfsetup/install/files/lib/system/message/embedded/object/MessageEmbeddedObjectManager.class.php b/wcfsetup/install/files/lib/system/message/embedded/object/MessageEmbeddedObjectManager.class.php index 80587ba53e..f17d4ef64c 100644 --- a/wcfsetup/install/files/lib/system/message/embedded/object/MessageEmbeddedObjectManager.class.php +++ b/wcfsetup/install/files/lib/system/message/embedded/object/MessageEmbeddedObjectManager.class.php @@ -128,7 +128,7 @@ class MessageEmbeddedObjectManager extends SingletonFactory { } /** - * Removes embedded object assigments for given messages. + * Removes embedded object assignments for given messages. * * @param string $messageObjectType * @param integer[] $messageIDs diff --git a/wcfsetup/install/files/lib/system/message/quote/MessageQuoteManager.class.php b/wcfsetup/install/files/lib/system/message/quote/MessageQuoteManager.class.php index 62a43b7747..68c2b86c50 100644 --- a/wcfsetup/install/files/lib/system/message/quote/MessageQuoteManager.class.php +++ b/wcfsetup/install/files/lib/system/message/quote/MessageQuoteManager.class.php @@ -91,7 +91,7 @@ class MessageQuoteManager extends SingletonFactory { /** * Adds a quote unless it is already stored. If you want to quote a whole - * message while maintaing the original markup, pass $obj->getExcerpt() for + * message while maintaining the original markup, pass $obj->getExcerpt() for * $message and $obj->getMessage() for $fullQuote. * * @param string $objectType diff --git a/wcfsetup/install/files/lib/system/moderation/queue/IModerationQueueManager.class.php b/wcfsetup/install/files/lib/system/moderation/queue/IModerationQueueManager.class.php index c56022596a..c7b6304b66 100644 --- a/wcfsetup/install/files/lib/system/moderation/queue/IModerationQueueManager.class.php +++ b/wcfsetup/install/files/lib/system/moderation/queue/IModerationQueueManager.class.php @@ -63,7 +63,7 @@ interface IModerationQueueManager { public function populate($objectTypeID, array $objects); /** - * Returns whether the afftected content may be removed. + * Returns whether the affected content may be removed. * * @param \wcf\data\moderation\queue\ModerationQueue $queue * @return boolean diff --git a/wcfsetup/install/files/lib/system/option/ISearchableConditionUserOption.class.php b/wcfsetup/install/files/lib/system/option/ISearchableConditionUserOption.class.php index 59112aadd6..50df569eb9 100644 --- a/wcfsetup/install/files/lib/system/option/ISearchableConditionUserOption.class.php +++ b/wcfsetup/install/files/lib/system/option/ISearchableConditionUserOption.class.php @@ -35,7 +35,7 @@ interface ISearchableConditionUserOption extends ISearchableUserOption { public function checkUser(User $user, Option $option, $value); /** - * Returns the data of the condition or null if the option should be igored. + * Returns the data of the condition or null if the option should be ignored. * * @param Option $option * @param mixed $newValue diff --git a/wcfsetup/install/files/lib/system/package/PackageArchive.class.php b/wcfsetup/install/files/lib/system/package/PackageArchive.class.php index 27ab6cceaf..32102545f5 100644 --- a/wcfsetup/install/files/lib/system/package/PackageArchive.class.php +++ b/wcfsetup/install/files/lib/system/package/PackageArchive.class.php @@ -471,7 +471,7 @@ class PackageArchive { } /** - * Returns true if the package is an application and has an unique abbrevation. + * Returns true if the package is an application and has an unique abbreviation. * * @return boolean */ diff --git a/wcfsetup/install/files/lib/system/package/PackageInstallationFileHandler.class.php b/wcfsetup/install/files/lib/system/package/PackageInstallationFileHandler.class.php index 97ace01e21..acc361c464 100644 --- a/wcfsetup/install/files/lib/system/package/PackageInstallationFileHandler.class.php +++ b/wcfsetup/install/files/lib/system/package/PackageInstallationFileHandler.class.php @@ -13,7 +13,7 @@ use wcf\system\setup\IFileHandler; */ abstract class PackageInstallationFileHandler implements IFileHandler { /** - * abbrevation of the application the files belong to + * abbreviation of the application the files belong to * @var string */ protected $application = ''; diff --git a/wcfsetup/install/files/lib/system/package/plugin/UserGroupOptionPackageInstallationPlugin.class.php b/wcfsetup/install/files/lib/system/package/plugin/UserGroupOptionPackageInstallationPlugin.class.php index affba2cb25..d8c422b839 100644 --- a/wcfsetup/install/files/lib/system/package/plugin/UserGroupOptionPackageInstallationPlugin.class.php +++ b/wcfsetup/install/files/lib/system/package/plugin/UserGroupOptionPackageInstallationPlugin.class.php @@ -61,7 +61,7 @@ class UserGroupOptionPackageInstallationPlugin extends AbstractOptionPackageInst if (!in_array($tag, self::$reservedTags)) $additionalData[$tag] = $value; } - // check if the otion exist already and was installed by this package + // check if the option exist already and was installed by this package $sql = "SELECT optionID FROM wcf".WCF_N."_user_group_option WHERE optionName = ? diff --git a/wcfsetup/install/files/lib/system/page/handler/AbstractMenuPageHandler.class.php b/wcfsetup/install/files/lib/system/page/handler/AbstractMenuPageHandler.class.php index ad3a035604..bd97a22f36 100644 --- a/wcfsetup/install/files/lib/system/page/handler/AbstractMenuPageHandler.class.php +++ b/wcfsetup/install/files/lib/system/page/handler/AbstractMenuPageHandler.class.php @@ -2,7 +2,7 @@ namespace wcf\system\page\handler; /** - * Default implementation for pages supporting visiblity and outstanding items. + * Default implementation for pages supporting visibility and outstanding items. * * It is highly recommended to extend this class rather than implementing the interface * directly to achieve better upwards-compatibility in case of interface changes. diff --git a/wcfsetup/install/files/lib/system/page/handler/IMenuPageHandler.class.php b/wcfsetup/install/files/lib/system/page/handler/IMenuPageHandler.class.php index f1d24d4f79..6ba0f3331e 100644 --- a/wcfsetup/install/files/lib/system/page/handler/IMenuPageHandler.class.php +++ b/wcfsetup/install/files/lib/system/page/handler/IMenuPageHandler.class.php @@ -2,7 +2,7 @@ namespace wcf\system\page\handler; /** - * Default interface for pages supporting visiblity and outstanding items. + * Default interface for pages supporting visibility and outstanding items. * * @author Alexander Ebert * @copyright 2001-2016 WoltLab GmbH diff --git a/wcfsetup/install/files/lib/system/request/Request.class.php b/wcfsetup/install/files/lib/system/request/Request.class.php index df028a388a..72fd45a3c3 100644 --- a/wcfsetup/install/files/lib/system/request/Request.class.php +++ b/wcfsetup/install/files/lib/system/request/Request.class.php @@ -149,7 +149,7 @@ class Request { } /** - * Returns true if the requested page is avaiable during the offline mode. + * Returns true if the requested page is available during the offline mode. * * @return boolean */ diff --git a/wcfsetup/install/files/lib/system/request/RouteHandler.class.php b/wcfsetup/install/files/lib/system/request/RouteHandler.class.php index 6b7a14e6c1..ab0df9eb48 100644 --- a/wcfsetup/install/files/lib/system/request/RouteHandler.class.php +++ b/wcfsetup/install/files/lib/system/request/RouteHandler.class.php @@ -204,7 +204,7 @@ class RouteHandler extends SingletonFactory { * This heavily limits the abilities for end-users to define appealing urls, but at * the same time this ensures a sufficient level of stability. * - * @param string $customUrl url to perform sanitiy checks on + * @param string $customUrl url to perform sanity checks on * @return bool true if `$customUrl` passes the sanity check * @since 3.0 */ diff --git a/wcfsetup/install/files/lib/system/request/StaticRoute.class.php b/wcfsetup/install/files/lib/system/request/StaticRoute.class.php index 984286d06f..4b31e15eff 100644 --- a/wcfsetup/install/files/lib/system/request/StaticRoute.class.php +++ b/wcfsetup/install/files/lib/system/request/StaticRoute.class.php @@ -24,7 +24,7 @@ class StaticRoute extends FlexibleRoute { protected $staticController = ''; /** - * Creates a new static route instace. + * Creates a new static route instance. */ public function __construct() { // static routes are disallowed for ACP diff --git a/wcfsetup/install/files/lib/system/search/acp/IACPSearchResultProvider.class.php b/wcfsetup/install/files/lib/system/search/acp/IACPSearchResultProvider.class.php index e39bb65980..d28ac00f4a 100644 --- a/wcfsetup/install/files/lib/system/search/acp/IACPSearchResultProvider.class.php +++ b/wcfsetup/install/files/lib/system/search/acp/IACPSearchResultProvider.class.php @@ -11,7 +11,7 @@ namespace wcf\system\search\acp; */ interface IACPSearchResultProvider { /** - * Returns a list of seach results for given query. + * Returns a list of search results for given query. * * @param string $query * @return ACPSearchResult[] diff --git a/wcfsetup/install/files/lib/system/template/TemplateScriptingCompiler.class.php b/wcfsetup/install/files/lib/system/template/TemplateScriptingCompiler.class.php index f23793bb4e..407958ab14 100644 --- a/wcfsetup/install/files/lib/system/template/TemplateScriptingCompiler.class.php +++ b/wcfsetup/install/files/lib/system/template/TemplateScriptingCompiler.class.php @@ -468,7 +468,7 @@ class TemplateScriptingCompiler { * @throws SystemException */ protected function compileBlockPlugin($tagCommand, $tagArgs) { - // check wheater this is the start ({block}) or the + // check whether this is the start ({block}) or the // end tag ({/block}) if (substr($tagCommand, 0, 1) == '/') { $tagCommand = substr($tagCommand, 1); @@ -516,7 +516,7 @@ class TemplateScriptingCompiler { * @throws SystemException */ protected function compileCompilerPlugin($tagCommand, $tagArgs) { - // check wheater this is the start ({block}) or the + // check whether this is the start ({block}) or the // end tag ({/block}) if (substr($tagCommand, 0, 1) == '/') { $tagCommand = substr($tagCommand, 1); diff --git a/wcfsetup/install/files/lib/system/template/plugin/HascontentPrefilterTemplatePlugin.class.php b/wcfsetup/install/files/lib/system/template/plugin/HascontentPrefilterTemplatePlugin.class.php index 7a486a70c9..8b186729ae 100644 --- a/wcfsetup/install/files/lib/system/template/plugin/HascontentPrefilterTemplatePlugin.class.php +++ b/wcfsetup/install/files/lib/system/template/plugin/HascontentPrefilterTemplatePlugin.class.php @@ -39,7 +39,7 @@ class HascontentPrefilterTemplatePlugin implements IPrefilterTemplatePlugin { /** * Reorders content to provide a logical order. In fact the content of * '{content}' is moved outside the if-condition in order to capture - * the content during runtime, safely determining wether content is empty + * the content during runtime, safely determining whether content is empty * or not. * * @param array $matches diff --git a/wcfsetup/install/files/lib/system/template/plugin/LangPrefilterTemplatePlugin.class.php b/wcfsetup/install/files/lib/system/template/plugin/LangPrefilterTemplatePlugin.class.php index 7867327887..0c0f4f4b24 100644 --- a/wcfsetup/install/files/lib/system/template/plugin/LangPrefilterTemplatePlugin.class.php +++ b/wcfsetup/install/files/lib/system/template/plugin/LangPrefilterTemplatePlugin.class.php @@ -4,7 +4,7 @@ use wcf\system\template\TemplateScriptingCompiler; use wcf\system\WCF; /** - * Template prefiler plugin which compiles static language variables. + * Template prefilter plugin which compiles static language variables. * * Dynamic language variables will catched by the 'lang' compiler function. * It is recommended to use static language variables. diff --git a/wcfsetup/install/files/lib/system/user/activity/point/UserActivityPointHandler.class.php b/wcfsetup/install/files/lib/system/user/activity/point/UserActivityPointHandler.class.php index 01bc52069d..1645bcedc2 100644 --- a/wcfsetup/install/files/lib/system/user/activity/point/UserActivityPointHandler.class.php +++ b/wcfsetup/install/files/lib/system/user/activity/point/UserActivityPointHandler.class.php @@ -231,7 +231,7 @@ class UserActivityPointHandler extends SingletonFactory { /** * Returns the user activity point event object type with the given id or - * null if no such object tyoe exists. + * null if no such object type exists. * * @param integer $objectTypeID * @return \wcf\data\object\type\ObjectType diff --git a/wcfsetup/install/files/lib/system/user/notification/event/ModerationQueueCommentResponseUserNotificationEvent.class.php b/wcfsetup/install/files/lib/system/user/notification/event/ModerationQueueCommentResponseUserNotificationEvent.class.php index dcaeb447d3..acf94d3cef 100644 --- a/wcfsetup/install/files/lib/system/user/notification/event/ModerationQueueCommentResponseUserNotificationEvent.class.php +++ b/wcfsetup/install/files/lib/system/user/notification/event/ModerationQueueCommentResponseUserNotificationEvent.class.php @@ -9,7 +9,7 @@ use wcf\system\moderation\queue\report\IModerationQueueReportHandler; use wcf\system\WCF; /** - * User notification event for moderation queue commments. + * User notification event for moderation queue comments. * * @author Matthias Schmidt * @copyright 2001-2016 WoltLab GmbH diff --git a/wcfsetup/install/files/lib/system/user/notification/event/ModerationQueueCommentUserNotificationEvent.class.php b/wcfsetup/install/files/lib/system/user/notification/event/ModerationQueueCommentUserNotificationEvent.class.php index c94eda27c0..8381ec3423 100644 --- a/wcfsetup/install/files/lib/system/user/notification/event/ModerationQueueCommentUserNotificationEvent.class.php +++ b/wcfsetup/install/files/lib/system/user/notification/event/ModerationQueueCommentUserNotificationEvent.class.php @@ -9,7 +9,7 @@ use wcf\system\user\notification\object\IUserNotificationObject; use wcf\system\WCF; /** - * User notification event for moderation queue commments. + * User notification event for moderation queue comments. * * @author Matthias Schmidt * @copyright 2001-2016 WoltLab GmbH diff --git a/wcfsetup/install/files/lib/system/user/notification/event/UserProfileCommentLikeUserNotificationEvent.class.php b/wcfsetup/install/files/lib/system/user/notification/event/UserProfileCommentLikeUserNotificationEvent.class.php index a0f4aa488f..05d482183f 100644 --- a/wcfsetup/install/files/lib/system/user/notification/event/UserProfileCommentLikeUserNotificationEvent.class.php +++ b/wcfsetup/install/files/lib/system/user/notification/event/UserProfileCommentLikeUserNotificationEvent.class.php @@ -5,7 +5,7 @@ use wcf\system\request\LinkHandler; use wcf\system\WCF; /** - * User notification event for profile commment likes. + * User notification event for profile comment likes. * * @author Alexander Ebert * @copyright 2001-2016 WoltLab GmbH diff --git a/wcfsetup/install/files/lib/system/user/notification/event/UserProfileCommentResponseLikeUserNotificationEvent.class.php b/wcfsetup/install/files/lib/system/user/notification/event/UserProfileCommentResponseLikeUserNotificationEvent.class.php index 1a5e21de36..6f411613b4 100644 --- a/wcfsetup/install/files/lib/system/user/notification/event/UserProfileCommentResponseLikeUserNotificationEvent.class.php +++ b/wcfsetup/install/files/lib/system/user/notification/event/UserProfileCommentResponseLikeUserNotificationEvent.class.php @@ -5,7 +5,7 @@ use wcf\system\request\LinkHandler; use wcf\system\WCF; /** - * User notification event for profile commment response likes. + * User notification event for profile comment response likes. * * @author Alexander Ebert * @copyright 2001-2016 WoltLab GmbH diff --git a/wcfsetup/install/files/lib/system/user/notification/event/UserProfileCommentResponseOwnerUserNotificationEvent.class.php b/wcfsetup/install/files/lib/system/user/notification/event/UserProfileCommentResponseOwnerUserNotificationEvent.class.php index 4ed3efb429..2fb86ab1fd 100644 --- a/wcfsetup/install/files/lib/system/user/notification/event/UserProfileCommentResponseOwnerUserNotificationEvent.class.php +++ b/wcfsetup/install/files/lib/system/user/notification/event/UserProfileCommentResponseOwnerUserNotificationEvent.class.php @@ -10,7 +10,7 @@ use wcf\system\user\notification\object\CommentResponseUserNotificationObject; use wcf\system\WCF; /** - * User notification event for profile's owner for commment responses. + * User notification event for profile's owner for comment responses. * * @author Alexander Ebert * @copyright 2001-2016 WoltLab GmbH diff --git a/wcfsetup/install/files/lib/util/ClassUtil.class.php b/wcfsetup/install/files/lib/util/ClassUtil.class.php index 68bd8769f7..a6f327b2c3 100644 --- a/wcfsetup/install/files/lib/util/ClassUtil.class.php +++ b/wcfsetup/install/files/lib/util/ClassUtil.class.php @@ -26,7 +26,7 @@ final class ClassUtil { } /** - * Checks wether given class extends or implements the target class or interface. + * Checks whether given class extends or implements the target class or interface. * You SHOULD NOT call this method if 'instanceof' satisfies your request! * * @param string $className diff --git a/wcfsetup/install/files/lib/util/CronjobUtil.class.php b/wcfsetup/install/files/lib/util/CronjobUtil.class.php index 3873f51d22..6cfca4e5e8 100644 --- a/wcfsetup/install/files/lib/util/CronjobUtil.class.php +++ b/wcfsetup/install/files/lib/util/CronjobUtil.class.php @@ -210,7 +210,7 @@ final class CronjobUtil { } - // compare day, month and year wether we have to recalculate hour and minute + // compare day, month and year whether we have to recalculate hour and minute if (($day != self::$result['day']) || ($month != self::$result['month']) || ($year != self::$result['year'])) { // calculate new time base $timeBase = gmmktime(0, 0, 1, self::$result['month'], self::$result['day'], self::$result['year']); diff --git a/wcfsetup/install/files/lib/util/DOMUtil.class.php b/wcfsetup/install/files/lib/util/DOMUtil.class.php index c844c248f8..eebde6c26c 100644 --- a/wcfsetup/install/files/lib/util/DOMUtil.class.php +++ b/wcfsetup/install/files/lib/util/DOMUtil.class.php @@ -84,7 +84,7 @@ final class DOMUtil { } /** - * Returns the immediate parent element before provided ancenstor element. Returns null if + * Returns the immediate parent element before provided ancestor element. Returns null if * the ancestor element is the direct parent of provided node. * * @param \DOMNode $node node diff --git a/wcfsetup/install/files/lib/util/Diff.class.php b/wcfsetup/install/files/lib/util/Diff.class.php index 56c31cb66d..6c69fd437f 100644 --- a/wcfsetup/install/files/lib/util/Diff.class.php +++ b/wcfsetup/install/files/lib/util/Diff.class.php @@ -25,7 +25,7 @@ class Diff { const REMOVED = '-'; /** - * indentifier for unchanged lines + * identifier for unchanged lines * @var string */ const SAME = ' '; diff --git a/wcfsetup/install/files/lib/util/StringUtil.class.php b/wcfsetup/install/files/lib/util/StringUtil.class.php index e06e5123ff..6832f55060 100644 --- a/wcfsetup/install/files/lib/util/StringUtil.class.php +++ b/wcfsetup/install/files/lib/util/StringUtil.class.php @@ -307,7 +307,7 @@ final class StringUtil { } /** - * Checks wether $haystack starts with $needle, or not. + * Checks whether $haystack starts with $needle, or not. * * @param string $haystack The string to be checked for starting with $needle * @param string $needle The string to be found at the start of $haystack @@ -576,7 +576,7 @@ final class StringUtil { $openTags = []; $truncatedString = ''; - // initalize length counter with the ending length + // initialize length counter with the ending length $totalLength = mb_strlen($etc); preg_match_all('/(<\/?([\w+]+)[^>]*>)?([^<>]*)/', $string, $tags, PREG_SET_ORDER); diff --git a/wcfsetup/install/files/lib/util/XMLWriter.class.php b/wcfsetup/install/files/lib/util/XMLWriter.class.php index 147db73593..39a072068e 100644 --- a/wcfsetup/install/files/lib/util/XMLWriter.class.php +++ b/wcfsetup/install/files/lib/util/XMLWriter.class.php @@ -18,7 +18,7 @@ class XMLWriter { protected $activeDocument = false; /** - * number of open elments + * number of open elements * @var integer */ protected $openElements = 0;