diff --git a/administrator/components/com_admin/models/profile.php b/administrator/components/com_admin/models/profile.php index 5ab5051094fc0..a59cb7a18a327 100644 --- a/administrator/components/com_admin/models/profile.php +++ b/administrator/components/com_admin/models/profile.php @@ -21,7 +21,7 @@ class AdminModelProfile extends UsersModelUser /** * Method to get the record form. * - * @param array $data An optional array of data for the form to interogate. + * @param array $data An optional array of data for the form to interrogate. * @param boolean $loadData True if the form is to load its own data (default case), false if not. * * @return JForm A JForm object on success, false on failure diff --git a/administrator/components/com_admin/models/sysinfo.php b/administrator/components/com_admin/models/sysinfo.php index 58b3f050de996..dbb4ede1b4413 100644 --- a/administrator/components/com_admin/models/sysinfo.php +++ b/administrator/components/com_admin/models/sysinfo.php @@ -162,7 +162,7 @@ class AdminModelSysInfo extends JModelLegacy /** * Remove sections of data marked as private in the privateSettings * - * @param array $dataArray Array with data tha may contain private informati + * @param array $dataArray Array with data that may contain private information * @param string $dataType Type of data to search for a specific section in the privateSettings array * * @return array diff --git a/administrator/components/com_banners/models/clients.php b/administrator/components/com_banners/models/clients.php index 1f564920692b1..44cd8ce1e9c0d 100644 --- a/administrator/components/com_banners/models/clients.php +++ b/administrator/components/com_banners/models/clients.php @@ -201,7 +201,7 @@ public function getItems() // Load the list items. $items = parent::getItems(); - // If emtpy or an error, just return. + // If empty or an error, just return. if (empty($items)) { return array(); diff --git a/administrator/components/com_banners/views/banner/view.html.php b/administrator/components/com_banners/views/banner/view.html.php index a974f787af6a1..1185fc4c37ed5 100644 --- a/administrator/components/com_banners/views/banner/view.html.php +++ b/administrator/components/com_banners/views/banner/view.html.php @@ -48,7 +48,7 @@ class BannersViewBanner extends JViewLegacy */ public function display($tpl = null) { - // Initialiase variables. + // Initialize variables. $this->form = $this->get('Form'); $this->item = $this->get('Item'); $this->state = $this->get('State'); diff --git a/administrator/components/com_config/model/application.php b/administrator/components/com_config/model/application.php index ba9651401a3e7..44d3c08c6dff3 100644 --- a/administrator/components/com_config/model/application.php +++ b/administrator/components/com_config/model/application.php @@ -49,7 +49,7 @@ public function getForm($data = array(), $loadData = true) * JConfig. If configuration data has been saved in the session, that * data will be merged into the original data, overwriting it. * - * @return array An array containg all global config data. + * @return array An array containing all global config data. * * @since 1.6 */ @@ -816,21 +816,21 @@ public function storePermissions($permission = null) $result['text'] = JText::_('JLIB_RULES_ALLOWED_INHERITED'); } - // Second part: Overwrite the calculated permissions labels if there is an explicity permission in the current group. + // Second part: Overwrite the calculated permissions labels if there is an explicit permission in the current group. /** - * @to do: incorect info + * @todo: incorrect info * If a component has a permission that doesn't exists in global config (ex: frontend editing in com_modules) by default * we get "Not Allowed (Inherited)" when we should get "Not Allowed (Default)". */ - // If there is an explicity permission "Not Allowed". Calculated permission is "Not Allowed". + // If there is an explicit permission "Not Allowed". Calculated permission is "Not Allowed". if ($assetRule === false) { $result['class'] = 'label label-important'; $result['text'] = JText::_('JLIB_RULES_NOT_ALLOWED'); } - // If there is an explicity permission is "Allowed". Calculated permission is "Allowed". + // If there is an explicit permission is "Allowed". Calculated permission is "Allowed". elseif ($assetRule === true) { $result['class'] = 'label label-success'; diff --git a/administrator/components/com_contact/controllers/contact.php b/administrator/components/com_contact/controllers/contact.php index 3c0812fafad2b..5a4a999f53053 100644 --- a/administrator/components/com_contact/controllers/contact.php +++ b/administrator/components/com_contact/controllers/contact.php @@ -40,7 +40,7 @@ protected function allowAdd($data = array()) if ($allow === null) { - // In the absense of better information, revert to the component permissions. + // In the absence of better information, revert to the component permissions. return parent::allowAdd($data); } diff --git a/administrator/components/com_content/controllers/article.php b/administrator/components/com_content/controllers/article.php index 7fe14836d6c5d..520c5ce3893b9 100644 --- a/administrator/components/com_content/controllers/article.php +++ b/administrator/components/com_content/controllers/article.php @@ -60,7 +60,7 @@ protected function allowAdd($data = array()) if ($allow === null) { - // In the absense of better information, revert to the component permissions. + // In the absence of better information, revert to the component permissions. return parent::allowAdd(); } diff --git a/administrator/components/com_content/models/article.php b/administrator/components/com_content/models/article.php index 9c15d309bee59..a5186e2e0d005 100644 --- a/administrator/components/com_content/models/article.php +++ b/administrator/components/com_content/models/article.php @@ -46,7 +46,7 @@ class ContentModelArticle extends JModelAdmin protected $associationsContext = 'com_content.item'; /** - * Function that can be overriden to do any data cleanup after batch copying data + * Function that can be overridden to do any data cleanup after batch copying data * * @param \JTableInterface $table The table object containing the newly created item * @param integer $newId The id of the new item diff --git a/administrator/components/com_installer/models/database.php b/administrator/components/com_installer/models/database.php index 1290f001e69d8..6412661ed9a1b 100644 --- a/administrator/components/com_installer/models/database.php +++ b/administrator/components/com_installer/models/database.php @@ -70,7 +70,7 @@ public function fix() /* * Finally, if the schema updates succeeded, make sure the database is - * converted to utf8mb4 or, if not suported by the server, compatible to it. + * converted to utf8mb4 or, if not supported by the server, compatible to it. */ $statusArray = $changeSet->getStatus(); diff --git a/administrator/components/com_installer/models/extension.php b/administrator/components/com_installer/models/extension.php index 66c39e45a4f18..207610b559f49 100644 --- a/administrator/components/com_installer/models/extension.php +++ b/administrator/components/com_installer/models/extension.php @@ -110,7 +110,7 @@ protected function _getList($query, $limitstart = 0, $limit = 0) } // Process ordering. - // Sort array object by selected ordering and selected direction. Sort is case insensative and using locale sorting. + // Sort array object by selected ordering and selected direction. Sort is case insensitive and using locale sorting. $result = ArrayHelper::sortObjects($result, $listOrder, strtolower($listDirn) == 'desc' ? -1 : 1, false, true); // Process pagination. diff --git a/administrator/components/com_joomlaupdate/restore_finalisation.php b/administrator/components/com_joomlaupdate/restore_finalisation.php index afaec8a6b2cee..ee55ee5f3343b 100644 --- a/administrator/components/com_joomlaupdate/restore_finalisation.php +++ b/administrator/components/com_joomlaupdate/restore_finalisation.php @@ -170,7 +170,7 @@ function finalizeRestore($siteRoot, $restorePath) // Make sure Joomla!'s code can figure out which files exist and need be removed clearstatcache(); - // Remove obsolete files - prevents errors occuring in some system plugins + // Remove obsolete files - prevents errors occurring in some system plugins if (class_exists('JoomlaInstallerScript')) { $script = new JoomlaInstallerScript; diff --git a/administrator/components/com_languages/models/installed.php b/administrator/components/com_languages/models/installed.php index 80a683013a6e2..9dca49d645784 100644 --- a/administrator/components/com_languages/models/installed.php +++ b/administrator/components/com_languages/models/installed.php @@ -30,7 +30,7 @@ class LanguagesModelInstalled extends JModelList protected $user = null; /** - * @var boolean|JExeption True, if FTP settings should be shown, or an exeption + * @var boolean|JExeption True, if FTP settings should be shown, or an exception */ protected $ftp = null; diff --git a/administrator/components/com_languages/models/strings.php b/administrator/components/com_languages/models/strings.php index db0656728ee56..bcf989f36682c 100644 --- a/administrator/components/com_languages/models/strings.php +++ b/administrator/components/com_languages/models/strings.php @@ -111,7 +111,7 @@ public function refresh() /** * Method for searching language strings. * - * @return array Array of resuls on success, Exception object otherwise. + * @return array Array of results on success, Exception object otherwise. * * @since 2.5 */ diff --git a/administrator/components/com_media/controllers/file.json.php b/administrator/components/com_media/controllers/file.json.php index 41c2b396a5157..8fdaec403810d 100644 --- a/administrator/components/com_media/controllers/file.json.php +++ b/administrator/components/com_media/controllers/file.json.php @@ -84,7 +84,7 @@ public function upload() $fileparts['filename'] = JStringPunycode::toPunycode($fileparts['filename']); $tempExt = !empty($fileparts['extension']) ? strtolower($fileparts['extension']) : ''; - // Transform filename to punycode, then neglect otherthan non-alphanumeric characters & underscores. Also transform extension to lowercase + // Transform filename to punycode, then neglect other than non-alphanumeric characters & underscores. Also transform extension to lowercase $safeFileName = preg_replace(array("/[\\s]/", '/[^a-zA-Z0-9_\-]/'), array('_', ''), $fileparts['filename']) . '.' . $tempExt; // Create filepath with safe-filename diff --git a/administrator/components/com_media/controllers/file.php b/administrator/components/com_media/controllers/file.php index af320a5a76fa6..0e58f81dc9a60 100644 --- a/administrator/components/com_media/controllers/file.php +++ b/administrator/components/com_media/controllers/file.php @@ -210,7 +210,7 @@ public function upload() /** * Check that the user is authorized to perform this action * - * @param string $action - the action to be peformed (create or delete) + * @param string $action - the action to be performed (create or delete) * * @return boolean * diff --git a/administrator/components/com_menus/models/item.php b/administrator/components/com_menus/models/item.php index 5bb089d03daf6..08e7ceedb7e75 100644 --- a/administrator/components/com_menus/models/item.php +++ b/administrator/components/com_menus/models/item.php @@ -1570,7 +1570,7 @@ public function save($data) * @param array $idArray Rows identifiers to be reordered * @param array $lft_array lft values of rows to be reordered * - * @return boolean false on failuer or error, true otherwise. + * @return boolean false on failure or error, true otherwise. * * @since 1.6 */ diff --git a/administrator/components/com_menus/models/menus.php b/administrator/components/com_menus/models/menus.php index f4a4d4014d7ce..4aee4b0f822d2 100644 --- a/administrator/components/com_menus/models/menus.php +++ b/administrator/components/com_menus/models/menus.php @@ -62,7 +62,7 @@ public function getItems() // Load the list items. $items = parent::getItems(); - // If emtpy or an error, just return. + // If empty or an error, just return. if (empty($items)) { return array(); diff --git a/administrator/components/com_menus/views/menutypes/view.html.php b/administrator/components/com_menus/views/menutypes/view.html.php index 1955058227c71..b68f78f7571b8 100644 --- a/administrator/components/com_menus/views/menutypes/view.html.php +++ b/administrator/components/com_menus/views/menutypes/view.html.php @@ -10,7 +10,7 @@ defined('_JEXEC') or die; /** - * The HTML Menus Menu Item TYpes View. + * The HTML Menus Menu Item Types View. * * @since 1.6 */ diff --git a/administrator/components/com_modules/models/modules.php b/administrator/components/com_modules/models/modules.php index 97214bf4607b6..1c304080c9eba 100644 --- a/administrator/components/com_modules/models/modules.php +++ b/administrator/components/com_modules/models/modules.php @@ -362,7 +362,7 @@ protected function getListQuery() { $query->having('MIN(' . $db->quoteName('mm.menuid') . ') IS NULL'); } - // If user selected the modules assigned to some particlar page (menu item). + // If user selected the modules assigned to some particular page (menu item). else { // Modules in "All" pages. diff --git a/administrator/components/com_search/models/searches.php b/administrator/components/com_search/models/searches.php index 63c139c6d739f..d3cb76f9e1c15 100644 --- a/administrator/components/com_search/models/searches.php +++ b/administrator/components/com_search/models/searches.php @@ -162,7 +162,7 @@ public function getItems() } /** - * Method to reset the seach log table. + * Method to reset the search log table. * * @return boolean * diff --git a/administrator/components/com_templates/models/style.php b/administrator/components/com_templates/models/style.php index 123693a07f6c3..5537c5a351cb7 100644 --- a/administrator/components/com_templates/models/style.php +++ b/administrator/components/com_templates/models/style.php @@ -248,7 +248,7 @@ protected function generateNewTitle($category_id, $alias, $title) /** * Method to get the record form. * - * @param array $data An optional array of data for the form to interogate. + * @param array $data An optional array of data for the form to interrogate. * @param boolean $loadData True if the form is to load its own data (default case), false if not. * * @return JForm A JForm object on success, false on failure diff --git a/administrator/components/com_users/models/group.php b/administrator/components/com_users/models/group.php index 9cfa5f2b714e1..ee4f19c28543d 100644 --- a/administrator/components/com_users/models/group.php +++ b/administrator/components/com_users/models/group.php @@ -60,7 +60,7 @@ public function getTable($type = 'Usergroup', $prefix = 'JTable', $config = arra /** * Method to get the record form. * - * @param array $data An optional array of data for the form to interogate. + * @param array $data An optional array of data for the form to interrogate. * @param boolean $loadData True if the form is to load its own data (default case), false if not. * * @return JForm A JForm object on success, false on failure diff --git a/administrator/components/com_users/models/level.php b/administrator/components/com_users/models/level.php index 3a4b4b8dff9b7..ec4a81543f8ab 100644 --- a/administrator/components/com_users/models/level.php +++ b/administrator/components/com_users/models/level.php @@ -166,7 +166,7 @@ public function getItem($pk = null) /** * Method to get the record form. * - * @param array $data An optional array of data for the form to interogate. + * @param array $data An optional array of data for the form to interrogate. * @param boolean $loadData True if the form is to load its own data (default case), false if not. * * @return JForm A JForm object on success, false on failure diff --git a/administrator/components/com_users/models/mail.php b/administrator/components/com_users/models/mail.php index 3511a3c7ccf12..d241d5f231944 100644 --- a/administrator/components/com_users/models/mail.php +++ b/administrator/components/com_users/models/mail.php @@ -19,7 +19,7 @@ class UsersModelMail extends JModelAdmin /** * Method to get the row form. * - * @param array $data An optional array of data for the form to interogate. + * @param array $data An optional array of data for the form to interrogate. * @param boolean $loadData True if the form is to load its own data (default case), false if not. * * @return JForm A JForm object on success, false on failure diff --git a/administrator/components/com_users/models/user.php b/administrator/components/com_users/models/user.php index 0786eff684dea..11d1ec9fa26b0 100644 --- a/administrator/components/com_users/models/user.php +++ b/administrator/components/com_users/models/user.php @@ -95,7 +95,7 @@ public function getItem($pk = null) /** * Method to get the record form. * - * @param array $data An optional array of data for the form to interogate. + * @param array $data An optional array of data for the form to interrogate. * @param boolean $loadData True if the form is to load its own data (default case), false if not. * * @return mixed A JForm object on success, false on failure diff --git a/administrator/templates/hathor/component.php b/administrator/templates/hathor/component.php index 64b82efa78bbd..52f2bf4b24958 100644 --- a/administrator/templates/hathor/component.php +++ b/administrator/templates/hathor/component.php @@ -12,7 +12,7 @@ /** @var JDocumentHtml $this */ // Get additional language strings prefixed with TPL_HATHOR -// @todo: Do we realy need this? +// @todo: Do we really need this? $lang = JFactory::getLanguage(); $lang->load('tpl_hathor', JPATH_ADMINISTRATOR) || $lang->load('tpl_hathor', JPATH_ADMINISTRATOR . '/templates/hathor/language'); diff --git a/administrator/templates/hathor/css/template_rtl.css b/administrator/templates/hathor/css/template_rtl.css index c376fab94c884..d126ff0b7724f 100644 --- a/administrator/templates/hathor/css/template_rtl.css +++ b/administrator/templates/hathor/css/template_rtl.css @@ -232,7 +232,7 @@ div.current table#filter-config th.acl-groups { text-align: right; } -/* -------- Menu Assigments ---------- */ +/* -------- Menu Assignments ---------- */ div#menu-assignment { clear:right; } @@ -541,7 +541,7 @@ table.adminform tr { } /** - * Table formating styles + * Table formatting styles */ /* Avoid using the width classes. They are here for 3PD Extensions if needed diff --git a/build/phpcs/Joomla/Sniffs/Commenting/FileCommentSniff.php b/build/phpcs/Joomla/Sniffs/Commenting/FileCommentSniff.php index deb848329facd..fcb3d7a2a5f1b 100644 --- a/build/phpcs/Joomla/Sniffs/Commenting/FileCommentSniff.php +++ b/build/phpcs/Joomla/Sniffs/Commenting/FileCommentSniff.php @@ -392,7 +392,7 @@ protected function processTags($commentStart, $commentEnd) $foundIndexes = array_keys($foundTags, $tag); if (count($foundIndexes) > 1) { - // Multiple occurance not allowed. + // Multiple occurrence not allowed. if ($info['allow_multiple'] === false) { $error = 'Only 1 @%s tag is allowed in a %s comment'; $data = array( diff --git a/build/phpcs/Joomla/Sniffs/Commenting/FunctionCommentSniff.php b/build/phpcs/Joomla/Sniffs/Commenting/FunctionCommentSniff.php index c564978183143..b8d9fe20622c0 100644 --- a/build/phpcs/Joomla/Sniffs/Commenting/FunctionCommentSniff.php +++ b/build/phpcs/Joomla/Sniffs/Commenting/FunctionCommentSniff.php @@ -56,7 +56,7 @@ class Joomla_Sniffs_Commenting_FunctionCommentSniff implements PHP_CodeSniffer_S private $_methodName = ''; /** - * The position in the stack where the fucntion token was found. + * The position in the stack where the function token was found. * * @var int */ diff --git a/components/com_config/controller/helper.php b/components/com_config/controller/helper.php index c492bbfaa0d11..0d40c93aa72c5 100644 --- a/components/com_config/controller/helper.php +++ b/components/com_config/controller/helper.php @@ -24,7 +24,7 @@ class ConfigControllerHelper * $options[1] is the name of the controller file, * $options[2] is the name of the folder found in the component controller folder for controllers * not prefixed with Config. - * Additional options maybe added to parameterise the controller. + * Additional options maybe added to parameterize the controller. * * @param JApplicationBase $app An application object * diff --git a/components/com_config/model/templates.php b/components/com_config/model/templates.php index 070b051ea7615..e6e5c8796010a 100644 --- a/components/com_config/model/templates.php +++ b/components/com_config/model/templates.php @@ -39,7 +39,7 @@ protected function populateState() /** * Method to get the record form. * - * @param array $data An optional array of data for the form to interogate. + * @param array $data An optional array of data for the form to interrogate. * @param boolean $loadData True if the form is to load its own data (default case), false if not. * * @return JForm A JForm object on success, false on failure @@ -99,7 +99,7 @@ protected function preprocessForm(JForm $form, $data, $group = 'content') $lang->load('tpl_' . $template, JPATH_BASE, null, false, true) || $lang->load('tpl_' . $template, JPATH_BASE . '/templates/' . $template, null, false, true); - // Look for com_config.xml, which contains fileds to display + // Look for com_config.xml, which contains fields to display $formFile = JPath::clean(JPATH_BASE . '/templates/' . $template . '/com_config.xml'); if (!file_exists($formFile)) diff --git a/components/com_contact/views/category/view.feed.php b/components/com_contact/views/category/view.feed.php index 4c80368eb75a8..21ec29c627e81 100644 --- a/components/com_contact/views/category/view.feed.php +++ b/components/com_contact/views/category/view.feed.php @@ -24,7 +24,7 @@ class ContactViewCategory extends JViewCategoryfeed /** * Method to reconcile non standard names from components to usage in this class. - * Typically overriden in the component feed view class. + * Typically overridden in the component feed view class. * * @param object $item The item for a feed, an element of the $items array. * diff --git a/components/com_contact/views/contact/view.html.php b/components/com_contact/views/contact/view.html.php index 3a5c42915d7b1..1abc6529c199a 100644 --- a/components/com_contact/views/contact/view.html.php +++ b/components/com_contact/views/contact/view.html.php @@ -41,7 +41,7 @@ class ContactViewContact extends JViewLegacy protected $item; /** - * The page to return to on sumission + * The page to return to on submission * * @var string * @since 1.6 diff --git a/components/com_content/controllers/article.php b/components/com_content/controllers/article.php index cc04303a14cd5..ef70d58fcae3d 100644 --- a/components/com_content/controllers/article.php +++ b/components/com_content/controllers/article.php @@ -93,7 +93,7 @@ protected function allowAdd($data = array()) if ($allow === null) { - // In the absense of better information, revert to the component permissions. + // In the absence of better information, revert to the component permissions. return parent::allowAdd(); } else diff --git a/components/com_content/models/articles.php b/components/com_content/models/articles.php index 1ea725c36b5d9..b0e1832410725 100644 --- a/components/com_content/models/articles.php +++ b/components/com_content/models/articles.php @@ -565,7 +565,7 @@ protected function getListQuery() /** * Method to get a list of articles. * - * Overriden to inject convert the attribs field into a JParameter object. + * Overridden to inject convert the attribs field into a JParameter object. * * @return mixed An array of objects on success, false on failure. * diff --git a/components/com_content/views/category/view.feed.php b/components/com_content/views/category/view.feed.php index bd72955eda721..7770559a0b5d9 100644 --- a/components/com_content/views/category/view.feed.php +++ b/components/com_content/views/category/view.feed.php @@ -24,7 +24,7 @@ class ContentViewCategory extends JViewCategoryfeed /** * Method to reconcile non standard names from components to usage in this class. - * Typically overriden in the component feed view class. + * Typically overridden in the component feed view class. * * @param object $item The item for a feed, an element of the $items array. * diff --git a/components/com_users/models/login.php b/components/com_users/models/login.php index 3f151f94c43d2..b1f6d908a5ab3 100644 --- a/components/com_users/models/login.php +++ b/components/com_users/models/login.php @@ -22,7 +22,7 @@ class UsersModelLogin extends JModelForm * The base form is loaded from XML and then an event is fired * for users plugins to extend the form with extra fields. * - * @param array $data An optional array of data for the form to interogate. + * @param array $data An optional array of data for the form to interrogate. * @param boolean $loadData True if the form is to load its own data (default case), false if not. * * @return JForm A JForm object on success, false on failure diff --git a/components/com_users/models/profile.php b/components/com_users/models/profile.php index e0a0d06efdfd8..072b209a39a2a 100644 --- a/components/com_users/models/profile.php +++ b/components/com_users/models/profile.php @@ -160,7 +160,7 @@ public function getData() * The base form is loaded from XML and then an event is fired * for users plugins to extend the form with extra fields. * - * @param array $data An optional array of data for the form to interogate. + * @param array $data An optional array of data for the form to interrogate. * @param boolean $loadData True if the form is to load its own data (default case), false if not. * * @return JForm A JForm object on success, false on failure diff --git a/components/com_users/models/registration.php b/components/com_users/models/registration.php index 3d60a5ea558bd..f34bc782624f1 100644 --- a/components/com_users/models/registration.php +++ b/components/com_users/models/registration.php @@ -318,7 +318,7 @@ public function getData() * The base form is loaded from XML and then an event is fired * for users plugins to extend the form with extra fields. * - * @param array $data An optional array of data for the form to interogate. + * @param array $data An optional array of data for the form to interrogate. * @param boolean $loadData True if the form is to load its own data (default case), false if not. * * @return JForm A JForm object on success, false on failure diff --git a/components/com_users/models/remind.php b/components/com_users/models/remind.php index 21906cb723f75..2fcf1578d16f0 100644 --- a/components/com_users/models/remind.php +++ b/components/com_users/models/remind.php @@ -21,7 +21,7 @@ class UsersModelRemind extends JModelForm /** * Method to get the username remind request form. * - * @param array $data An optional array of data for the form to interogate. + * @param array $data An optional array of data for the form to interrogate. * @param boolean $loadData True if the form is to load its own data (default case), false if not. * * @return JFor A JForm object on success, false on failure diff --git a/components/com_users/models/reset.php b/components/com_users/models/reset.php index 96cf023ff6d84..2e7a6d53af5ad 100644 --- a/components/com_users/models/reset.php +++ b/components/com_users/models/reset.php @@ -22,7 +22,7 @@ class UsersModelReset extends JModelForm * The base form is loaded from XML and then an event is fired * for users plugins to extend the form with extra fields. * - * @param array $data An optional array of data for the form to interogate. + * @param array $data An optional array of data for the form to interrogate. * @param boolean $loadData True if the form is to load its own data (default case), false if not. * * @return JForm A JForm object on success, false on failure diff --git a/layouts/plugins/editors/tinymce/field/tinymcebuilder.php b/layouts/plugins/editors/tinymce/field/tinymcebuilder.php index bf22d3c73c880..b416b308174ff 100644 --- a/layouts/plugins/editors/tinymce/field/tinymcebuilder.php +++ b/layouts/plugins/editors/tinymce/field/tinymcebuilder.php @@ -42,7 +42,7 @@ * @var array $menubarSource Menu items for builder * @var array $buttons List of the buttons * @var array $buttonsSource Buttons by group, for the builder - * @var array $toolbarPreset Toolbar presset (default values) + * @var array $toolbarPreset Toolbar preset (default values) * @var int $setsAmount Amount of sets * @var array $setsNames List of Sets names * @var JForm[] $setsForms Form with extra options for an each set diff --git a/layouts/plugins/system/privacyconsent/label.php b/layouts/plugins/system/privacyconsent/label.php index 47d300fe334cc..2c6db2f06c709 100644 --- a/layouts/plugins/system/privacyconsent/label.php +++ b/layouts/plugins/system/privacyconsent/label.php @@ -46,7 +46,7 @@ * @var array $translateLabel Should the label be translated? * @var array $translateDescription Should the description be translated? * @var array $translateHint Should the hint be translated? - * @var array $privacyArticle The Article ID holding the Privancy Article + * @var array $privacyArticle The Article ID holding the Privacy Article * $var object $article The Article object */ diff --git a/layouts/plugins/system/privacyconsent/message.php b/layouts/plugins/system/privacyconsent/message.php index da2215574f4ea..a8d8341f7a0e4 100644 --- a/layouts/plugins/system/privacyconsent/message.php +++ b/layouts/plugins/system/privacyconsent/message.php @@ -42,7 +42,7 @@ * @var array $translateLabel Should the label be translated? * @var array $translateDescription Should the description be translated? * @var array $translateHint Should the hint be translated? - * @var array $privacyArticle The Article ID holding the Privancy Article + * @var array $privacyArticle The Article ID holding the Privacy Article */ echo '
' . $privacynote . '
'; diff --git a/libraries/cms.php b/libraries/cms.php index eca1d6cb7d3fd..1313633787697 100644 --- a/libraries/cms.php +++ b/libraries/cms.php @@ -39,7 +39,7 @@ // Decorate Composer autoloader spl_autoload_register(array(new JClassLoader($loader), 'loadClass'), true, true); -// Register the class aliases for Framework classes that have replaced their Platform equivilents +// Register the class aliases for Framework classes that have replaced their Platform equivalents require_once JPATH_LIBRARIES . '/classmap.php'; // Suppress phar stream wrapper for non .phar files diff --git a/libraries/cms/html/select.php b/libraries/cms/html/select.php index 0a071863460c5..7143b20484e84 100644 --- a/libraries/cms/html/select.php +++ b/libraries/cms/html/select.php @@ -167,7 +167,7 @@ public static function suggestionlist($data, $optKey = 'value', $optText = 'text 'deprecated' ); - // Note: $idtag is requried but has to be an optional argument in the funtion call due to argument order + // Note: $idtag is required but has to be an optional argument in the funtion call due to argument order if (!$idtag) { throw new InvalidArgumentException('$idtag is a required argument in deprecated JHtmlSelect::suggestionlist'); diff --git a/libraries/fof/autoloader/component.php b/libraries/fof/autoloader/component.php index f9a2a8e564630..9b016587bf8c0 100644 --- a/libraries/fof/autoloader/component.php +++ b/libraries/fof/autoloader/component.php @@ -1,9 +1,10 @@ 'row_value']. The array of rows can optionally be keyed by a field name, but defaults to * a sequential numeric array. * - * NOTE: Chosing to key the result array by a non-unique field name can result in unwanted + * NOTE: Choosing to key the result array by a non-unique field name can result in unwanted * behavior and should be avoided. * * @param string $key The name of a field on which to key the result array. diff --git a/libraries/fof/database/driver/pdomysql.php b/libraries/fof/database/driver/pdomysql.php index 8e975747878ae..c0aa9fa0a2c3e 100644 --- a/libraries/fof/database/driver/pdomysql.php +++ b/libraries/fof/database/driver/pdomysql.php @@ -4,6 +4,7 @@ * @subpackage database * @copyright Copyright (C) 2010-2016 Nicholas K. Dionysopoulos / Akeeba Ltd. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt + * @note This file has been modified by the Joomla! Project and no longer reflects the original work of its author. * * This file is adapted from the Joomla! Platform. It is used to iterate a database cursor returning FOFTable objects * instead of plain stdClass objects @@ -76,7 +77,7 @@ class FOFDatabaseDriverPdomysql extends FOFDatabaseDriverPdo public function __construct($options) { /** - * Pre-populate the UTF-8 Multibyte compatibility flag. Unfortuantely PDO won't report the server version + * Pre-populate the UTF-8 Multibyte compatibility flag. Unfortunately PDO won't report the server version * unless we're connected to it and we cannot connect to it unless we know if it supports utf8mb4 which requires * us knowing the server version. Between this chicken and egg issue we _assume_ it's supported and we'll just * catch any problems at connection time. diff --git a/libraries/fof/database/driver/postgresql.php b/libraries/fof/database/driver/postgresql.php index 4908377f2c27d..0869fe01c1308 100644 --- a/libraries/fof/database/driver/postgresql.php +++ b/libraries/fof/database/driver/postgresql.php @@ -4,6 +4,7 @@ * @subpackage database * @copyright Copyright (C) 2010-2016 Nicholas K. Dionysopoulos / Akeeba Ltd. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt + * @note This file has been modified by the Joomla! Project and no longer reflects the original work of its author. * * This file is adapted from the Joomla! Platform. It is used to iterate a database cursor returning FOFTable objects * instead of plain stdClass objects @@ -346,7 +347,7 @@ public function getQuery($new = false, $asObj = false) /** * Shows the table CREATE statement that creates the given tables. * - * This is unsuported by PostgreSQL. + * This is unsupported by PostgreSQL. * * @param mixed $tables A table name or a list of table names. * diff --git a/libraries/fof/dispatcher/dispatcher.php b/libraries/fof/dispatcher/dispatcher.php index 931ec9a780008..de9a9f4687de6 100644 --- a/libraries/fof/dispatcher/dispatcher.php +++ b/libraries/fof/dispatcher/dispatcher.php @@ -4,8 +4,9 @@ * @subpackage dispatcher * @copyright Copyright (C) 2010-2016 Nicholas K. Dionysopoulos / Akeeba Ltd. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt - * @note This file has been modified by the Joomla! Project in 2019 in order to ensure compatibility with PHP 7.3+ versions. + * @note This file has been modified by the Joomla! Project and no longer reflects the original work of its author. */ + // Protect from unauthorized access defined('FOF_INCLUDED') or die; @@ -701,7 +702,7 @@ private function _createDecryptionKey($time = null) /** * Main function to detect if we're running in a CLI environment and we're admin * - * @return array isCLI and isAdmin. It's not an associtive array, so we can use list. + * @return array isCLI and isAdmin. It's not an associative array, so we can use list. */ public static function isCliAdmin() { diff --git a/libraries/fof/form/header/model.php b/libraries/fof/form/header/model.php index e27d889547f46..2768795b9b7e8 100644 --- a/libraries/fof/form/header/model.php +++ b/libraries/fof/form/header/model.php @@ -2,9 +2,11 @@ /** * @package FrameworkOnFramework * @subpackage form - * @copyright Copyright (C) 2010-2016 Nicholas K. Dionysopoulos / Akeeba Ltd. All rights reserved. + * @copyright Copyright (C) 2010-2016 Nicholas K. Dionysopoulos / Akeeba Ltd. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt + * @note This file has been modified by the Joomla! Project and no longer reflects the original work of its author. */ + // Protect from unauthorized access defined('FOF_INCLUDED') or die; @@ -45,7 +47,7 @@ protected function getOptions() $options[] = JHtml::_('select.option', null, JText::_($nonePlaceholder)); } - // Process field atrtibutes + // Process field attributes $applyAccess = strtolower($applyAccess); $applyAccess = in_array($applyAccess, array('yes', 'on', 'true', '1')); diff --git a/libraries/fof/input/input.php b/libraries/fof/input/input.php index 9aea0539a7a49..8b242a96442f5 100644 --- a/libraries/fof/input/input.php +++ b/libraries/fof/input/input.php @@ -6,6 +6,7 @@ * @license GNU General Public License version 2 or later; see LICENSE.txt * @note This file has been modified by the Joomla! Project and no longer reflects the original work of its author. */ + // Protect from unauthorized access defined('FOF_INCLUDED') or die; @@ -36,7 +37,7 @@ class FOFInput extends JInput { /** - * Public constructor. Overriden to allow specifying the global input array + * Public constructor. Overridden to allow specifying the global input array * to use as a string and instantiate from an objetc holding variables. * * @param array|string|object|null $source Source data; set null to use $_REQUEST @@ -109,7 +110,7 @@ public function __construct($source = null, array $options = array()) } /** - * Gets a value from the input data. Overriden to allow specifying a filter + * Gets a value from the input data. Overridden to allow specifying a filter * mask. * * @param string $name Name of the value to get. diff --git a/libraries/fof/input/jinput/files.php b/libraries/fof/input/jinput/files.php index 7cd537e93fd4e..729220ac81533 100644 --- a/libraries/fof/input/jinput/files.php +++ b/libraries/fof/input/jinput/files.php @@ -2,7 +2,6 @@ /** * @package Joomla.Platform * @subpackage Input - * * @copyright Copyright (C) 2005-2016 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE */ @@ -77,7 +76,7 @@ public function get($name, $default = null, $filter = 'cmd') ) ); - // Prevent returning an unsafe file unless speciffically requested + // Prevent returning an unsafe file unless specifically requested if ($filter != 'raw') { $isSafe = JFilterInput::isSafeFile($results); diff --git a/libraries/fof/integration/joomla/platform.php b/libraries/fof/integration/joomla/platform.php index 6fe75a8522317..a39365da602ad 100644 --- a/libraries/fof/integration/joomla/platform.php +++ b/libraries/fof/integration/joomla/platform.php @@ -4,7 +4,9 @@ * @subpackage platform * @copyright Copyright (C) 2010-2016 Nicholas K. Dionysopoulos / Akeeba Ltd. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt + * @note This file has been modified by the Joomla! Project and no longer reflects the original work of its author. */ + // Protect from unauthorized access defined('FOF_INCLUDED') or die; @@ -116,7 +118,7 @@ public function isEnabled() /** * Main function to detect if we're running in a CLI environment and we're admin * - * @return array isCLI and isAdmin. It's not an associtive array, so we can use list. + * @return array isCLI and isAdmin. It's not an associative array, so we can use list. */ protected function isCliAdmin() { @@ -278,7 +280,7 @@ public function getTemplateSuffixes() /** * Return the absolute path to the application's template overrides * directory for a specific component. We will use it to look for template - * files instead of the regular component directorues. If the application + * files instead of the regular component directories. If the application * does not have such a thing as template overrides return an empty string. * * @param string $component The name of the component for which to fetch the overrides @@ -781,7 +783,7 @@ public function getConfig() /** * logs in a user * - * @param array $authInfo authentification information + * @param array $authInfo authentication information * * @return boolean True on success */ diff --git a/libraries/fof/less/formatter/classic.php b/libraries/fof/less/formatter/classic.php index 2df9569e98b77..74e841031bf42 100644 --- a/libraries/fof/less/formatter/classic.php +++ b/libraries/fof/less/formatter/classic.php @@ -4,7 +4,9 @@ * @subpackage less * @copyright Copyright (C) 2010-2016 Nicholas K. Dionysopoulos / Akeeba Ltd. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt + * @note This file has been modified by the Joomla! Project and no longer reflects the original work of its author. */ + // Protect from unauthorized access defined('FOF_INCLUDED') or die; @@ -69,8 +71,8 @@ public function indentStr($n = 0) /** * Return the code for a property * - * @param string $name The name of the porperty - * @param string $value The value of the porperty + * @param string $name The name of the property + * @param string $value The value of the property * * @return string The CSS code */ diff --git a/libraries/fof/model/behavior/access.php b/libraries/fof/model/behavior/access.php index 1cafe7f07932b..0e3c8a6d42d79 100644 --- a/libraries/fof/model/behavior/access.php +++ b/libraries/fof/model/behavior/access.php @@ -4,7 +4,9 @@ * @subpackage model * @copyright Copyright (C) 2010-2016 Nicholas K. Dionysopoulos / Akeeba Ltd. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt + * @note This file has been modified by the Joomla! Project and no longer reflects the original work of its author. */ + // Protect from unauthorized access defined('FOF_INCLUDED') or die; @@ -52,7 +54,7 @@ public function onAfterBuildQuery(&$model, &$query) * item from the database. It is used to apply automatic filters. * * @param FOFModel &$model The model which was called - * @param FOFTable &$record The record loaded from the databae + * @param FOFTable &$record The record loaded from the database * * @return void */ diff --git a/libraries/fof/model/behavior/enabled.php b/libraries/fof/model/behavior/enabled.php index c2e358523bb27..3201b4c513049 100644 --- a/libraries/fof/model/behavior/enabled.php +++ b/libraries/fof/model/behavior/enabled.php @@ -4,7 +4,9 @@ * @subpackage model * @copyright Copyright (C) 2010-2016 Nicholas K. Dionysopoulos / Akeeba Ltd. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt + * @note This file has been modified by the Joomla! Project and no longer reflects the original work of its author. */ + // Protect from unauthorized access defined('FOF_INCLUDED') or die; @@ -59,7 +61,7 @@ public function onAfterBuildQuery(&$model, &$query) * item from the database. It is used to apply automatic filters. * * @param FOFModel &$model The model which was called - * @param FOFTable &$record The record loaded from the databae + * @param FOFTable &$record The record loaded from the database * * @return void */ diff --git a/libraries/fof/model/behavior/language.php b/libraries/fof/model/behavior/language.php index e42911c27cb1a..c968a4c3f536d 100644 --- a/libraries/fof/model/behavior/language.php +++ b/libraries/fof/model/behavior/language.php @@ -4,7 +4,9 @@ * @subpackage model * @copyright Copyright (C) 2010-2016 Nicholas K. Dionysopoulos / Akeeba Ltd. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt + * @note This file has been modified by the Joomla! Project and no longer reflects the original work of its author. */ + // Protect from unauthorized access defined('FOF_INCLUDED') or die; @@ -110,7 +112,7 @@ public function onAfterBuildQuery(&$model, &$query) * item from the database. It is used to apply automatic filters. * * @param FOFModel &$model The model which was called - * @param FOFTable &$record The record loaded from the databae + * @param FOFTable &$record The record loaded from the database * * @return void */ diff --git a/libraries/fof/model/behavior/private.php b/libraries/fof/model/behavior/private.php index 85ce3d1d3e394..b9b4a11cebd4d 100644 --- a/libraries/fof/model/behavior/private.php +++ b/libraries/fof/model/behavior/private.php @@ -4,13 +4,15 @@ * @subpackage model * @copyright Copyright (C) 2010-2016 Nicholas K. Dionysopoulos / Akeeba Ltd. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt + * @note This file has been modified by the Joomla! Project and no longer reflects the original work of its author. */ + // Protect from unauthorized access defined('FOF_INCLUDED') or die; /** * FrameworkOnFramework model behavior class to filter front-end access to items - * craeted by the currently logged in user only. + * created by the currently logged in user only. * * @package FrameworkOnFramework * @since 2.1 @@ -61,7 +63,7 @@ public function onAfterBuildQuery(&$model, &$query) * item from the database. It is used to apply automatic filters. * * @param FOFModel &$model The model which was called - * @param FOFTable &$record The record loaded from the databae + * @param FOFTable &$record The record loaded from the database * * @return void */ diff --git a/libraries/fof/model/model.php b/libraries/fof/model/model.php index 5d67e2af8d3a2..54f12cef645c6 100644 --- a/libraries/fof/model/model.php +++ b/libraries/fof/model/model.php @@ -4,7 +4,9 @@ * @subpackage model * @copyright Copyright (C) 2010-2016 Nicholas K. Dionysopoulos / Akeeba Ltd. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt + * @note This file has been modified by the Joomla! Project and no longer reflects the original work of its author. */ + // Protect from unauthorized access defined('FOF_INCLUDED') or die; @@ -204,7 +206,7 @@ class FOFModel extends FOFUtilsObject protected $_behaviorParams = array(); /** - * Returns a new model object. Unless overriden by the $config array, it will + * Returns a new model object. Unless overridden by the $config array, it will * try to automatically populate its state from the request variables. * * @param string $type Model type, e.g. 'Items' @@ -2684,7 +2686,7 @@ public function onAfterPreprocessForm(FOFForm &$form, &$data) } /** - * This method can be overriden to automatically do something with the + * This method can be overridden to automatically do something with the * list results array. You are supposed to modify the list which was passed * in the parameters; DO NOT return a new array! * @@ -2714,7 +2716,7 @@ protected function onAfterGetItem(&$record) } catch (Exception $e) { - // Oops, an exception occured! + // Oops, an exception occurred! $this->setError($e->getMessage()); } } @@ -2768,7 +2770,7 @@ protected function onBeforeSave(&$data, &$table) } catch (Exception $e) { - // Oops, an exception occured! + // Oops, an exception occurred! $this->setError($e->getMessage()); return false; @@ -2808,7 +2810,7 @@ protected function onAfterSave(&$table) } catch (Exception $e) { - // Oops, an exception occured! + // Oops, an exception occurred! $this->setError($e->getMessage()); return false; @@ -2858,7 +2860,7 @@ protected function onBeforeDelete(&$id, &$table) } catch (Exception $e) { - // Oops, an exception occured! + // Oops, an exception occurred! $this->setError($e->getMessage()); return false; @@ -2895,7 +2897,7 @@ protected function onAfterDelete($id) } catch (Exception $e) { - // Oops, an exception occured! + // Oops, an exception occurred! $this->setError($e->getMessage()); return false; @@ -3227,9 +3229,9 @@ public function getBehaviorParam($name, $default = null) } /** - * Set or get the backlisted filters + * Set or get the blacklisted filters * - * @param mixed $list A filter or list of filters to backlist. If null return the list of backlisted filter + * @param mixed $list A filter or list of filters to blacklist. If null return the list of blacklisted filter * @param boolean $reset Reset the blacklist if true * * @return void|array Return an array of value if $list is null diff --git a/libraries/fof/platform/interface.php b/libraries/fof/platform/interface.php index 04048df12e221..3e0d617521696 100644 --- a/libraries/fof/platform/interface.php +++ b/libraries/fof/platform/interface.php @@ -4,7 +4,9 @@ * @subpackage platform * @copyright Copyright (C) 2010-2016 Nicholas K. Dionysopoulos / Akeeba Ltd. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt + * @note This file has been modified by the Joomla! Project and no longer reflects the original work of its author. */ + // Protect from unauthorized access defined('FOF_INCLUDED') or die; @@ -229,7 +231,7 @@ public function loadTranslations($component); /** * By default FOF will only use the Controller's onBefore* methods to * perform user authorisation. In some cases, like the Joomla! back-end, - * you alos need to perform component-wide user authorisation in the + * you also need to perform component-wide user authorisation in the * Dispatcher. This method MUST implement this authorisation check. If you * do not need this in your platform, please always return true. * @@ -274,7 +276,7 @@ public function importPlugin($type); * @param string $event The event (trigger) name, e.g. onBeforeScratchMyEar * @param array $data A hash array of data sent to the plugins as part of the trigger * - * @return array A simple array containing the resutls of the plugins triggered + * @return array A simple array containing the results of the plugins triggered */ public function runPlugins($event, $data); @@ -423,7 +425,7 @@ public function isGlobalFOFCacheEnabled(); /** * logs in a user * - * @param array $authInfo authentification information + * @param array $authInfo authentication information * * @return boolean True on success */ diff --git a/libraries/fof/platform/platform.php b/libraries/fof/platform/platform.php index 452230f351e92..aa5ba448b4ecd 100644 --- a/libraries/fof/platform/platform.php +++ b/libraries/fof/platform/platform.php @@ -4,7 +4,9 @@ * @subpackage platform * @copyright Copyright (C) 2010-2016 Nicholas K. Dionysopoulos / Akeeba Ltd. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt + * @note This file has been modified by the Joomla! Project and no longer reflects the original work of its author. */ + // Protect from unauthorized access defined('FOF_INCLUDED') or die; @@ -417,7 +419,7 @@ public function getTemplateSuffixes() /** * Return the absolute path to the application's template overrides * directory for a specific component. We will use it to look for template - * files instead of the regular component directorues. If the application + * files instead of the regular component directories. If the application * does not have such a thing as template overrides return an empty string. * * @param string $component The name of the component for which to fetch the overrides @@ -668,7 +670,7 @@ public function clearCache() /** * logs in a user * - * @param array $authInfo authentification information + * @param array $authInfo authentication information * * @return boolean True on success */ @@ -703,7 +705,7 @@ public function logDeprecated($message) /** * Returns the (internal) name of the platform implementation, e.g. * "joomla", "foobar123" etc. This MUST be the last part of the platform - * class name. For example, if you have a plaform implementation class + * class name. For example, if you have a platform implementation class * FOFPlatformFoobar you MUST return "foobar" (all lowercase). * * @return string diff --git a/libraries/fof/table/behavior/assets.php b/libraries/fof/table/behavior/assets.php index d1c2151125e57..c753d22a5c576 100644 --- a/libraries/fof/table/behavior/assets.php +++ b/libraries/fof/table/behavior/assets.php @@ -4,7 +4,9 @@ * @subpackage table * @copyright Copyright (C) 2010-2016 Nicholas K. Dionysopoulos / Akeeba Ltd. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt + * @note This file has been modified by the Joomla! Project and no longer reflects the original work of its author. */ + // Protect from unauthorized access defined('FOF_INCLUDED') or die; @@ -43,7 +45,7 @@ public function onAfterStore(&$table) } } - // Create the object used for inserting/udpating data to the database + // Create the object used for inserting/updpating data to the database $fields = $table->getTableFields(); // Let's remove the asset_id field, since we unset the property above and we would get a PHP notice diff --git a/libraries/fof/table/behavior/tags.php b/libraries/fof/table/behavior/tags.php index 7eb1d27cdf266..b57e0966ad6c2 100644 --- a/libraries/fof/table/behavior/tags.php +++ b/libraries/fof/table/behavior/tags.php @@ -4,7 +4,9 @@ * @subpackage table * @copyright Copyright (C) 2010-2016 Nicholas K. Dionysopoulos / Akeeba Ltd. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt + * @note This file has been modified by the Joomla! Project and no longer reflects the original work of its author. */ + // Protect from unauthorized access defined('FOF_INCLUDED') or die; @@ -75,7 +77,7 @@ public function onBeforeStore(&$table, $updateNulls) // TODO: JHelperTags sucks in Joomla! 3.1, it requires that tags are // stored in the metadata property. Not our case, therefore we need // to add it in a fake object. We sent a PR to Joomla! CMS to fix - // that. Once it's accepted, we'll have to remove the attrocity + // that. Once it's accepted, we'll have to remove the atrocity // here... $tagsTable = clone($table); $tagsHelper->preStoreProcess($tagsTable); diff --git a/libraries/fof/template/utils.php b/libraries/fof/template/utils.php index 797a53b66a5d3..818ac491d9c42 100644 --- a/libraries/fof/template/utils.php +++ b/libraries/fof/template/utils.php @@ -4,7 +4,9 @@ * @subpackage template * @copyright Copyright (C) 2010-2016 Nicholas K. Dionysopoulos / Akeeba Ltd. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt + * @note This file has been modified by the Joomla! Project and no longer reflects the original work of its author. */ + // Protect from unauthorized access defined('FOF_INCLUDED') or die; @@ -56,7 +58,7 @@ public static function addCSS($path) * @param boolean $defer Adds the defer attribute, meaning that your script * will only load after the page has finished parsing. * @param boolean $async Adds the async attribute, meaning that your script - * will be executed while the resto of the page + * will be executed while the rest of the page * continues parsing. * * @see FOFTemplateUtils::parsePath diff --git a/libraries/fof/toolbar/toolbar.php b/libraries/fof/toolbar/toolbar.php index 345aaf9645260..3d7318fe20bcf 100644 --- a/libraries/fof/toolbar/toolbar.php +++ b/libraries/fof/toolbar/toolbar.php @@ -4,7 +4,9 @@ * @subpackage toolbar * @copyright Copyright (C) 2010-2016 Nicholas K. Dionysopoulos / Akeeba Ltd. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt + * @note This file has been modified by the Joomla! Project and no longer reflects the original work of its author. */ + // Protect from unauthorized access defined('FOF_INCLUDED') or die; @@ -166,7 +168,7 @@ public function __construct($config = array()) $this->input->set('option', $this->component); - // Get default permissions (can be overriden by the view) + // Get default permissions (can be overridden by the view) $platform = FOFPlatform::getInstance(); $perms = (object) array( 'manage' => $platform->authorise('core.manage', $this->input->getCmd('option', 'com_foobar')), @@ -526,7 +528,7 @@ public function &getLinks() * @param string|null $link The link to render; set to null to render a separator * @param boolean $active True if it's an active link * @param string|null $icon Icon class (used by some renderers, like the Bootstrap renderer) - * @param string|null $parent The parent element (referenced by name)) Thsi will create a dropdown list + * @param string|null $parent The parent element (referenced by name)) This will create a dropdown list * * @return void */ diff --git a/libraries/fof/utils/update/joomla.php b/libraries/fof/utils/update/joomla.php index 3a80fac8e6f0d..a1cf9ccc1994f 100644 --- a/libraries/fof/utils/update/joomla.php +++ b/libraries/fof/utils/update/joomla.php @@ -4,6 +4,7 @@ * @subpackage utils * @copyright Copyright (C) 2010-2016 Nicholas K. Dionysopoulos / Akeeba Ltd. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt + * @note This file has been modified by the Joomla! Project and no longer reflects the original work of its author. */ // Protect from unauthorized access @@ -301,7 +302,7 @@ public function getVersionProperties($jVersion, $currentVersion = null) /** - * Filters a list of updates, making sure they apply to the specifed CMS + * Filters a list of updates, making sure they apply to the specified CMS * release. * * @param array $updates A list of update records returned by the getUpdatesFromExtension method diff --git a/libraries/fof/view/form.php b/libraries/fof/view/form.php index 8710315b15455..f6d7cc3d5a4ed 100644 --- a/libraries/fof/view/form.php +++ b/libraries/fof/view/form.php @@ -4,12 +4,14 @@ * @subpackage view * @copyright Copyright (C) 2010-2016 Nicholas K. Dionysopoulos / Akeeba Ltd. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt + * @note This file has been modified by the Joomla! Project and no longer reflects the original work of its author. */ + // Protect from unauthorized access defined('FOF_INCLUDED') or die; /** - * FrameworkOnFramework Form class. It preferrably renders an XML view template + * FrameworkOnFramework Form class. It preferably renders an XML view template * instead of a traditional PHP-based view template. * * @package FrameworkOnFramework diff --git a/libraries/fof/view/html.php b/libraries/fof/view/html.php index c8b85ff55743c..51b30318669ad 100644 --- a/libraries/fof/view/html.php +++ b/libraries/fof/view/html.php @@ -4,12 +4,14 @@ * @subpackage view * @copyright Copyright (C) 2010-2016 Nicholas K. Dionysopoulos / Akeeba Ltd. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt + * @note This file has been modified by the Joomla! Project and no longer reflects the original work of its author. */ + // Protect from unauthorized access defined('FOF_INCLUDED') or die; /** - * FrameworkOnFramework HTML output class. Together with PHP-based view tempalates + * FrameworkOnFramework HTML output class. Together with PHP-based view templates * it will render your data into an HTML representation. * * @package FrameworkOnFramework diff --git a/libraries/fof/view/raw.php b/libraries/fof/view/raw.php index 99bb0f4231cfa..ef268d9bf199f 100644 --- a/libraries/fof/view/raw.php +++ b/libraries/fof/view/raw.php @@ -4,7 +4,9 @@ * @subpackage view * @copyright Copyright (C) 2010-2016 Nicholas K. Dionysopoulos / Akeeba Ltd. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt + * @note This file has been modified by the Joomla! Project and no longer reflects the original work of its author. */ + // Protect from unauthorized access defined('FOF_INCLUDED') or die; @@ -230,7 +232,7 @@ protected function onAdd($tpl = null) */ protected function onEdit($tpl = null) { - // This perms are used only for hestetic reasons (ie showing toolbar buttons), "real" checks + // This perms are used only for aesthetic reasons (ie showing toolbar buttons), "real" checks // are made by the controller // It seems that I can't edit records, maybe I can edit only this one due asset tracking? if (!$this->perms->edit || !$this->perms->editown) @@ -281,7 +283,7 @@ protected function onRead($tpl = null) * AJAX-powered drag and drop reordering. If they do, it will set up the * drag & drop reordering feature. * - * @return boolean|array False if not suported, a table with necessary + * @return boolean|array False if not supported, a table with necessary * information (saveOrder: should you enabled DnD * reordering; orderingColumn: which column has the * ordering information). diff --git a/libraries/fof/view/view.php b/libraries/fof/view/view.php index 9606ca7910c8b..0f1afc4d80d60 100644 --- a/libraries/fof/view/view.php +++ b/libraries/fof/view/view.php @@ -4,8 +4,9 @@ * @subpackage view * @copyright Copyright (C) 2010-2016 Nicholas K. Dionysopoulos / Akeeba Ltd. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt - * @note This file has been modified by the Joomla! Project and no longer reflects the original work of its author. + * @note This file has been modified by the Joomla! Project and no longer reflects the original work of its author. */ + // Protect from unauthorized access defined('FOF_INCLUDED') or die; @@ -821,7 +822,7 @@ public function addHelperPath($path) /** * Overrides the built-in loadTemplate function with an FOF-specific one. - * Our overriden function uses loadAnyTemplate to provide smarter view + * Our overridden function uses loadAnyTemplate to provide smarter view * template loading. * * @param string $tpl The name of the template file to parse diff --git a/libraries/joomla/archive/zip.php b/libraries/joomla/archive/zip.php index 904284a551b92..51314e9c7a629 100644 --- a/libraries/joomla/archive/zip.php +++ b/libraries/joomla/archive/zip.php @@ -442,7 +442,7 @@ private function _readZipInfo(&$data) } /** - * Returns the file data for a file by offsest in the ZIP archive + * Returns the file data for a file by offset in the ZIP archive * * @param integer $key The position of the file in the archive. * diff --git a/libraries/joomla/database/driver.php b/libraries/joomla/database/driver.php index ab169e69c737a..0952c935bd19e 100644 --- a/libraries/joomla/database/driver.php +++ b/libraries/joomla/database/driver.php @@ -978,7 +978,7 @@ public function getCount() } /** - * Gets the name of the database used by this conneciton. + * Gets the name of the database used by this connection. * * @return string * @@ -1484,7 +1484,7 @@ public function loadAssoc() * of ['field_name' => 'row_value']. The array of rows can optionally be keyed by a field name, but defaults to * a sequential numeric array. * - * NOTE: Chosing to key the result array by a non-unique field name can result in unwanted + * NOTE: Choosing to key the result array by a non-unique field name can result in unwanted * behavior and should be avoided. * * @param string $key The name of a field on which to key the result array. diff --git a/libraries/joomla/database/driver/pgsql.php b/libraries/joomla/database/driver/pgsql.php index 7e15d7945a5ee..9932a6639f4a0 100644 --- a/libraries/joomla/database/driver/pgsql.php +++ b/libraries/joomla/database/driver/pgsql.php @@ -154,7 +154,7 @@ public function getConnectionCollation() /** * Shows the table CREATE statement that creates the given tables. * - * This is unsuported by PostgreSQL. + * This is unsupported by PostgreSQL. * * @param mixed $tables A table name or a list of table names. * diff --git a/libraries/joomla/database/driver/postgresql.php b/libraries/joomla/database/driver/postgresql.php index f6d4b45825f17..361d5de8881b4 100644 --- a/libraries/joomla/database/driver/postgresql.php +++ b/libraries/joomla/database/driver/postgresql.php @@ -375,7 +375,7 @@ public function getQuery($new = false, $asObj = false) /** * Shows the table CREATE statement that creates the given tables. * - * This is unsuported by PostgreSQL. + * This is unsupported by PostgreSQL. * * @param mixed $tables A table name or a list of table names. * diff --git a/libraries/joomla/database/query/mysqli.php b/libraries/joomla/database/query/mysqli.php index 55934d0c1eaa7..ccfd4238124fa 100644 --- a/libraries/joomla/database/query/mysqli.php +++ b/libraries/joomla/database/query/mysqli.php @@ -213,7 +213,7 @@ public function selectRowNumber($orderBy, $orderColumnAlias) * * @param string $value The value to cast as a char. * - * @param string $len The lenght of the char. + * @param string $len The length of the char. * * @return string Returns the cast value. * diff --git a/libraries/joomla/database/query/pdo.php b/libraries/joomla/database/query/pdo.php index 1dde7ac87a4f3..1d95d3e811994 100644 --- a/libraries/joomla/database/query/pdo.php +++ b/libraries/joomla/database/query/pdo.php @@ -27,7 +27,7 @@ class JDatabaseQueryPdo extends JDatabaseQuery * * @param string $value The value to cast as a char. * - * @param string $len The lenght of the char. + * @param string $len The length of the char. * * @return string Returns the cast value. * diff --git a/libraries/joomla/database/query/postgresql.php b/libraries/joomla/database/query/postgresql.php index 3ebce9cf158a5..4b1b95f8889fb 100644 --- a/libraries/joomla/database/query/postgresql.php +++ b/libraries/joomla/database/query/postgresql.php @@ -346,7 +346,7 @@ public function clear($clause = null) * * @param string $value The value to cast as a char. * - * @param string $len The lenght of the char. + * @param string $len The length of the char. * * @return string Returns the cast value. * diff --git a/libraries/joomla/database/query/sqlsrv.php b/libraries/joomla/database/query/sqlsrv.php index eccedb54603cc..0896a7430c570 100644 --- a/libraries/joomla/database/query/sqlsrv.php +++ b/libraries/joomla/database/query/sqlsrv.php @@ -235,7 +235,7 @@ public function __toString() * * @param string $value The value to cast as a char. * - * @param string $len The lenght of the char. + * @param string $len The length of the char. * * @return string Returns the cast value. * diff --git a/libraries/joomla/facebook/user.php b/libraries/joomla/facebook/user.php index 26fd4c0fd004d..17520e38ee1a4 100644 --- a/libraries/joomla/facebook/user.php +++ b/libraries/joomla/facebook/user.php @@ -107,7 +107,7 @@ public function getFeed($user, $limit = 0, $offset = 0, $until = null, $since = * * @param mixed $user Either an integer containing the user ID or a string containing the username. * @param string $filter User's stream filter. - * @param boolean $location Retreive only posts with a location attached. + * @param boolean $location Retrieve only posts with a location attached. * @param integer $limit The number of objects per page. * @param integer $offset The object's number on the page. * @param string $until A unix timestamp or any date accepted by strtotime. @@ -656,7 +656,7 @@ public function createPhoto($user, $source, $message = null, $place = null, $no_ * Method to get the user's posts. Requires authentication and read_stream permission for non-public posts. * * @param mixed $user Either an integer containing the user ID or a string containing the username. - * @param boolean $location Retreive only posts with a location attached. + * @param boolean $location Retrieve only posts with a location attached. * @param integer $limit The number of objects per page. * @param integer $offset The object's number on the page. * @param string $until A unix timestamp or any date accepted by strtotime. diff --git a/libraries/joomla/form/fields/checkboxes.php b/libraries/joomla/form/fields/checkboxes.php index c8f054522adc1..bae4d86e06b89 100644 --- a/libraries/joomla/form/fields/checkboxes.php +++ b/libraries/joomla/form/fields/checkboxes.php @@ -46,7 +46,7 @@ class JFormFieldCheckboxes extends JFormFieldList protected $forceMultiple = true; /** - * The comma seprated list of checked checkboxes value. + * The comma separated list of checked checkboxes value. * * @var mixed * @since 3.2 diff --git a/libraries/joomla/form/fields/repeatable.php b/libraries/joomla/form/fields/repeatable.php index 5ad959a39818e..6685db92f95c9 100644 --- a/libraries/joomla/form/fields/repeatable.php +++ b/libraries/joomla/form/fields/repeatable.php @@ -88,7 +88,7 @@ protected function getInput() . '' . implode("\n", $body_row_str) . '' . ''; - // And finaly build a main container + // And finally build a main container $str = array(); $str[] = '
'; diff --git a/libraries/joomla/github/object.php b/libraries/joomla/github/object.php index c84419ff25bf4..3e7999f5bed3b 100644 --- a/libraries/joomla/github/object.php +++ b/libraries/joomla/github/object.php @@ -60,7 +60,7 @@ public function __construct(Registry $options = null, JGithubHttp $client = null */ protected function fetchUrl($path, $page = 0, $limit = 0) { - // Get a new JUri object fousing the api url and given path. + // Get a new JUri object focusing the api url and given path. $uri = new JUri($this->options->get('api.url') . $path); if ($this->options->get('gh.token', false)) diff --git a/libraries/joomla/github/package/gists.php b/libraries/joomla/github/package/gists.php index 19c0b618cbeec..5a9a091fafbd0 100644 --- a/libraries/joomla/github/package/gists.php +++ b/libraries/joomla/github/package/gists.php @@ -112,7 +112,7 @@ public function edit($gistId, $files = null, $public = null, $description = null // Build the request path. $path = '/gists/' . (int) $gistId; - // Craete the data object. + // Create the data object. $data = new stdClass; // If a description is set add it to the data object. diff --git a/libraries/joomla/github/package/issues.php b/libraries/joomla/github/package/issues.php index 63d301cad59b8..901e1341976f7 100644 --- a/libraries/joomla/github/package/issues.php +++ b/libraries/joomla/github/package/issues.php @@ -104,7 +104,7 @@ public function edit($user, $repo, $issueId, $state = null, $title = null, $body // Build the request path. $path = '/repos/' . $user . '/' . $repo . '/issues/' . (int) $issueId; - // Craete the data object. + // Create the data object. $data = new stdClass; // If a title is set add it to the data object. diff --git a/libraries/joomla/github/package/issues/assignees.php b/libraries/joomla/github/package/issues/assignees.php index 8bc43fc7efd5b..5d33fb71d02bf 100644 --- a/libraries/joomla/github/package/issues/assignees.php +++ b/libraries/joomla/github/package/issues/assignees.php @@ -49,7 +49,7 @@ public function getList($owner, $repo) * * @param string $owner The name of the owner of the GitHub repository. * @param string $repo The name of the GitHub repository. - * @param string $assignee The assinees login name. + * @param string $assignee The assignees login name. * * @throws DomainException|Exception * @return boolean diff --git a/libraries/joomla/github/package/pulls.php b/libraries/joomla/github/package/pulls.php index e910437db2903..f338e98f0eec3 100644 --- a/libraries/joomla/github/package/pulls.php +++ b/libraries/joomla/github/package/pulls.php @@ -139,7 +139,7 @@ public function edit($user, $repo, $pullId, $title = null, $body = null, $state // Build the request path. $path = '/repos/' . $user . '/' . $repo . '/pulls/' . (int) $pullId; - // Craete the data object. + // Create the data object. $data = new stdClass; // If a title is set add it to the data object. diff --git a/libraries/joomla/github/package/users.php b/libraries/joomla/github/package/users.php index b9acafa55df12..8696d4f4917c4 100644 --- a/libraries/joomla/github/package/users.php +++ b/libraries/joomla/github/package/users.php @@ -69,8 +69,8 @@ public function getAuthenticatedUser() * @param string $blog The blog * @param string $company The company * @param string $location The location - * @param string $hireable If he is unemplayed :P - * @param string $bio The biometrical DNA fingerprint (or smthng...) + * @param string $hireable If he is unemployed :P + * @param string $bio The biometrical DNA fingerprint (or something...) * * @throws DomainException * @@ -148,8 +148,8 @@ public function getUser($user) * @param string $blog The blog * @param string $company The company * @param string $location The location - * @param string $hireable If he is unemplayed :P - * @param string $bio The biometrical DNA fingerprint (or smthng...) + * @param string $hireable If he is unemployed :P + * @param string $bio The biometrical DNA fingerprint (or something...) * * @deprecated use users->edit() * diff --git a/libraries/joomla/github/refs.php b/libraries/joomla/github/refs.php index 61f01e9531d6a..699af64f5f3cb 100644 --- a/libraries/joomla/github/refs.php +++ b/libraries/joomla/github/refs.php @@ -78,7 +78,7 @@ public function edit($user, $repo, $ref, $sha, $force = false) // Build the request path. $path = '/repos/' . $user . '/' . $repo . '/git/refs/' . $ref; - // Craete the data object. + // Create the data object. $data = new stdClass; // If a title is set add it to the data object. diff --git a/libraries/joomla/linkedin/communications.php b/libraries/joomla/linkedin/communications.php index 25ab367bc7796..d2be50a0cf6a5 100644 --- a/libraries/joomla/linkedin/communications.php +++ b/libraries/joomla/linkedin/communications.php @@ -20,7 +20,7 @@ class JLinkedinCommunications extends JLinkedinObject * Method used to invite people. * * @param string $email A string containing email of the recipient. - * @param string $first_name A string containing frist name of the recipient. + * @param string $first_name A string containing first name of the recipient. * @param string $last_name A string containing last name of the recipient. * @param string $subject The subject of the message that will be sent to the recipient * @param string $body A text of the message. @@ -79,7 +79,7 @@ public function inviteByEmail($email, $first_name, $last_name, $subject, $body, * Method used to invite people. * * @param string $id Member id. - * @param string $first_name A string containing frist name of the recipient. + * @param string $first_name A string containing first name of the recipient. * @param string $last_name A string containing last name of the recipient. * @param string $subject The subject of the message that will be sent to the recipient * @param string $body A text of the message. diff --git a/libraries/joomla/observable/interface.php b/libraries/joomla/observable/interface.php index 732dd9cc94063..24a1091d1363e 100644 --- a/libraries/joomla/observable/interface.php +++ b/libraries/joomla/observable/interface.php @@ -36,8 +36,8 @@ interface JObservableInterface { /** * Adds an observer to this JObservableInterface instance. - * Ideally, this method should be called fron the constructor of JObserverInterface - * which should be instanciated by JObserverMapper. + * Ideally, this method should be called from the constructor of JObserverInterface + * which should be instantiated by JObserverMapper. * The implementation of this function can use JObserverUpdater * * @param JObserverInterface $observer The observer to attach to $this observable subject diff --git a/libraries/joomla/observer/interface.php b/libraries/joomla/observer/interface.php index 8d2ad8d90b852..f799b0e0d7bf2 100644 --- a/libraries/joomla/observer/interface.php +++ b/libraries/joomla/observer/interface.php @@ -24,7 +24,7 @@ * $this->observableObject = $observableObject; * } * - * 3) and must implement the instanciator function createObserver() below, e.g. as follows: + * 3) and must implement the instantiator function createObserver() below, e.g. as follows: * public static function createObserver(JObservableInterface $observableObject, $params = array()) * { * $observer = new self($observableObject); @@ -34,7 +34,7 @@ * * 4) Then add functions corresponding to the events to be observed, * E.g. to respond to event: $this->_observers->update('onBeforeLoad', array($keys, $reset)); - * following function is needed in the obser: + * following function is needed in the observer: * public function onBeforeLoad($keys, $reset) { ... } * * 5) Finally, the binding is made outside the observable and observer classes, using: diff --git a/libraries/joomla/observer/updater.php b/libraries/joomla/observer/updater.php index ed2405420bd64..34083973422dd 100644 --- a/libraries/joomla/observer/updater.php +++ b/libraries/joomla/observer/updater.php @@ -33,7 +33,7 @@ class JObserverUpdater implements JObserverUpdaterInterface protected $observers = array(); /** - * Process observers (useful when a class extends significantly an observerved method, and calls observers itself + * Process observers (useful when a class extends significantly an observed method, and calls observers itself * * @var boolean * @since 3.1.2 diff --git a/libraries/joomla/observer/updater/interface.php b/libraries/joomla/observer/updater/interface.php index c4260ae9fc320..89a789869a7b2 100644 --- a/libraries/joomla/observer/updater/interface.php +++ b/libraries/joomla/observer/updater/interface.php @@ -27,7 +27,7 @@ public function __construct(JObservableInterface $observable); /** * Adds an observer to the JObservableInterface instance updated by this - * This method can be called fron JObservableInterface::attachObserver + * This method can be called from JObservableInterface::attachObserver * * @param JObserverInterface $observer The observer object * diff --git a/libraries/joomla/twitter/object.php b/libraries/joomla/twitter/object.php index 751a51f443e85..decea5b3b176b 100644 --- a/libraries/joomla/twitter/object.php +++ b/libraries/joomla/twitter/object.php @@ -114,7 +114,7 @@ public function fetchUrl($path, $parameters = null) } } - // Get a new JUri object fousing the api url and given path. + // Get a new JUri object focusing the api url and given path. if (strpos($path, 'http://search.twitter.com/search.json') === false) { $uri = new JUri($this->options->get('api.url') . $path); diff --git a/libraries/src/Cache/Controller/CallbackController.php b/libraries/src/Cache/Controller/CallbackController.php index 0ace88bcfd38f..289c4f2bede06 100644 --- a/libraries/src/Cache/Controller/CallbackController.php +++ b/libraries/src/Cache/Controller/CallbackController.php @@ -51,7 +51,7 @@ public function call() * @param mixed $callback Callback or string shorthand for a callback * @param array $args Callback arguments * @param mixed $id Cache ID - * @param boolean $wrkarounds True to use wrkarounds + * @param boolean $wrkarounds True to use workarounds * @param array $woptions Workaround options * * @return mixed Result of the callback @@ -74,7 +74,7 @@ public function get($callback, $args = array(), $id = false, $wrkarounds = false elseif (strstr($callback, '->')) { /* - * This is a really not so smart way of doing this... we provide this for backward compatability but this + * This is a really not so smart way of doing this... we provide this for backward compatibility but this * WILL! disappear in a future version. If you are using this syntax change your code to use the standard * PHP callback array syntax: * diff --git a/libraries/src/Cache/Controller/PageController.php b/libraries/src/Cache/Controller/PageController.php index f8f8bfb23ae16..2b5841c8cc17a 100644 --- a/libraries/src/Cache/Controller/PageController.php +++ b/libraries/src/Cache/Controller/PageController.php @@ -122,7 +122,7 @@ public function get($id = false, $group = 'page') * @param mixed $data The data to store * @param string $id The cache data ID * @param string $group The cache data group - * @param boolean $wrkarounds True to use wrkarounds + * @param boolean $wrkarounds True to use workarounds * * @return boolean * diff --git a/libraries/src/Categories/CategoryNode.php b/libraries/src/Categories/CategoryNode.php index 6c2bd5b7b899f..f4b3e98bc6008 100644 --- a/libraries/src/Categories/CategoryNode.php +++ b/libraries/src/Categories/CategoryNode.php @@ -196,7 +196,7 @@ class CategoryNode extends \JObject public $modified_time = null; /** - * Nmber of times the category has been viewed + * Number of times the category has been viewed * * @var integer * @since 1.6 diff --git a/libraries/src/Component/ComponentHelper.php b/libraries/src/Component/ComponentHelper.php index aee13186dea7f..92ecfa40d8093 100644 --- a/libraries/src/Component/ComponentHelper.php +++ b/libraries/src/Component/ComponentHelper.php @@ -191,7 +191,7 @@ public static function filterText($text) } // Collect the blacklist or whitelist tags and attributes. - // Each list is cummulative. + // Each list is cumulative. if ($filterType === 'BL') { $blackList = true; diff --git a/libraries/src/Crypt/Cipher/BlowfishCipher.php b/libraries/src/Crypt/Cipher/BlowfishCipher.php index ed8468f116e5c..2e042a222106a 100644 --- a/libraries/src/Crypt/Cipher/BlowfishCipher.php +++ b/libraries/src/Crypt/Cipher/BlowfishCipher.php @@ -14,7 +14,7 @@ * Crypt cipher for Blowfish encryption, decryption and key generation. * * @since 3.0.0 - * @deprecated 4.0 Without replacment use CryptoCipher + * @deprecated 4.0 Without replacement use CryptoCipher */ class BlowfishCipher extends McryptCipher { diff --git a/libraries/src/Crypt/Cipher/McryptCipher.php b/libraries/src/Crypt/Cipher/McryptCipher.php index 4c92a6c382548..74296f1a8630b 100644 --- a/libraries/src/Crypt/Cipher/McryptCipher.php +++ b/libraries/src/Crypt/Cipher/McryptCipher.php @@ -18,7 +18,7 @@ * Crypt cipher for mcrypt algorithm encryption, decryption and key generation. * * @since 3.0.0 - * @deprecated 4.0 Without replacment use CryptoCipher + * @deprecated 4.0 Without replacement use CryptoCipher */ abstract class McryptCipher implements CipherInterface { diff --git a/libraries/src/Crypt/Cipher/Rijndael256Cipher.php b/libraries/src/Crypt/Cipher/Rijndael256Cipher.php index 21f955f6cecd1..71e526fbfe3ec 100644 --- a/libraries/src/Crypt/Cipher/Rijndael256Cipher.php +++ b/libraries/src/Crypt/Cipher/Rijndael256Cipher.php @@ -14,7 +14,7 @@ * Crypt cipher for Rijndael 256 encryption, decryption and key generation. * * @since 3.0.0 - * @deprecated 4.0 Without replacment use CryptoCipher + * @deprecated 4.0 Without replacement use CryptoCipher */ class Rijndael256Cipher extends McryptCipher { diff --git a/libraries/src/Helper/TagsHelper.php b/libraries/src/Helper/TagsHelper.php index dad13954bc28a..3ef120acfda39 100644 --- a/libraries/src/Helper/TagsHelper.php +++ b/libraries/src/Helper/TagsHelper.php @@ -812,7 +812,7 @@ public static function getTypes($arrayType = 'objectList', $selectTypes = null, * * @param TableInterface $table Table being processed * @param array $newTags Array of new tags - * @param boolean $replace Flag indicating if all exising tags should be replaced + * @param boolean $replace Flag indicating if all existing tags should be replaced * * @return boolean * @@ -1023,7 +1023,7 @@ public function tagDeleteInstances($tag_id) * @param integer $ucmId Id of the #__ucm_content item being tagged * @param TableInterface $table Table object being tagged * @param array $tags Array of tags to be applied. - * @param boolean $replace Flag indicating if all exising tags should be replaced + * @param boolean $replace Flag indicating if all existing tags should be replaced * * @return boolean true on success, otherwise false. * diff --git a/libraries/src/Http/Transport/SocketTransport.php b/libraries/src/Http/Transport/SocketTransport.php index a1881f77da568..addebfbc00e61 100644 --- a/libraries/src/Http/Transport/SocketTransport.php +++ b/libraries/src/Http/Transport/SocketTransport.php @@ -141,7 +141,7 @@ public function request($method, Uri $uri, $data = null, array $headers = null, $request[] = $data; } - // Authentification, if needed + // Authentication, if needed if ($this->options->get('userauth') && $this->options->get('passwordauth')) { $request[] = 'Authorization: Basic ' . base64_encode($this->options->get('userauth') . ':' . $this->options->get('passwordauth')); diff --git a/libraries/src/Http/Transport/StreamTransport.php b/libraries/src/Http/Transport/StreamTransport.php index 17f181273729b..647b3ed7a56ec 100644 --- a/libraries/src/Http/Transport/StreamTransport.php +++ b/libraries/src/Http/Transport/StreamTransport.php @@ -170,7 +170,7 @@ public function request($method, Uri $uri, $data = null, array $headers = null, ) ); - // Authentification, if needed + // Authentication, if needed if ($this->options->get('userauth') && $this->options->get('passwordauth')) { $uri->setUser($this->options->get('userauth')); diff --git a/libraries/src/Installer/Adapter/ModuleAdapter.php b/libraries/src/Installer/Adapter/ModuleAdapter.php index ccf8a0ff77849..4c6256589c643 100644 --- a/libraries/src/Installer/Adapter/ModuleAdapter.php +++ b/libraries/src/Installer/Adapter/ModuleAdapter.php @@ -569,7 +569,7 @@ public function uninstall($id) $this->parent->setPath('source', $this->parent->getPath('extension_root')); - // Get the module's manifest objecct + // Get the module's manifest object // We do findManifest to avoid problem when uninstalling a list of extensions: getManifest cache its manifest file. $this->parent->findManifest(); $this->setManifest($this->parent->getManifest()); diff --git a/libraries/src/Installer/InstallerHelper.php b/libraries/src/Installer/InstallerHelper.php index adf142e47c781..5fb9b6439a2f0 100644 --- a/libraries/src/Installer/InstallerHelper.php +++ b/libraries/src/Installer/InstallerHelper.php @@ -86,7 +86,7 @@ public static function downloadPackage($url, $target = false) return false; } - // Convert keys of headers to lowercase, to accomodate for case variations + // Convert keys of headers to lowercase, to accommodate for case variations $headers = array_change_key_case($response->headers); if (302 == $response->code && !empty($headers['location'])) diff --git a/libraries/src/Language/Associations.php b/libraries/src/Language/Associations.php index 1a44ccc32c56d..edf11bb52e6f4 100644 --- a/libraries/src/Language/Associations.php +++ b/libraries/src/Language/Associations.php @@ -13,7 +13,7 @@ use Joomla\Registry\Registry; /** - * Utitlity class for associations in multilang + * Utility class for associations in multilang * * @since 3.1 */ diff --git a/libraries/src/Language/Multilanguage.php b/libraries/src/Language/Multilanguage.php index ffacf4bcb681e..79d40ca8f18d0 100644 --- a/libraries/src/Language/Multilanguage.php +++ b/libraries/src/Language/Multilanguage.php @@ -11,7 +11,7 @@ defined('JPATH_PLATFORM') or die; /** - * Utitlity class for multilang + * Utility class for multilang * * @since 2.5.4 */ diff --git a/libraries/src/Layout/FileLayout.php b/libraries/src/Layout/FileLayout.php index e74a31117488c..784ac38b961bc 100644 --- a/libraries/src/Layout/FileLayout.php +++ b/libraries/src/Layout/FileLayout.php @@ -80,7 +80,7 @@ public function __construct($layoutId, $basePath = null, $options = null) $this->setLayout($layoutId); $this->basePath = $basePath; - // Init Enviroment + // Init Environment $this->setComponent($this->options->get('component', 'auto')); $this->setClient($this->options->get('client', 'auto')); } @@ -600,7 +600,7 @@ public function getDefaultIncludePaths() } } - // (4) Standard Joomla! layouts overriden + // (4) Standard Joomla! layouts overridden $paths[] = JPATH_THEMES . '/' . \JFactory::getApplication()->getTemplate() . '/html/layouts'; // (5 - lower priority) Frontend base layouts diff --git a/libraries/src/MVC/Model/AdminModel.php b/libraries/src/MVC/Model/AdminModel.php index 12510a3fdc453..8853d6c737a8d 100644 --- a/libraries/src/MVC/Model/AdminModel.php +++ b/libraries/src/MVC/Model/AdminModel.php @@ -523,7 +523,7 @@ protected function batchCopy($value, $pks, $contexts) } /** - * Function that can be overriden to do any data cleanup after batch copying data + * Function that can be overridden to do any data cleanup after batch copying data * * @param \JTableInterface $table The table object containing the newly created item * @param integer $newId The id of the new item diff --git a/libraries/src/MVC/Model/BaseDatabaseModel.php b/libraries/src/MVC/Model/BaseDatabaseModel.php index 1b9d8b6abdb59..f4e84489e32ba 100644 --- a/libraries/src/MVC/Model/BaseDatabaseModel.php +++ b/libraries/src/MVC/Model/BaseDatabaseModel.php @@ -313,7 +313,7 @@ protected function _getList($query, $limitstart = 0, $limit = 0) * * Note: Current implementation of this method assumes that getListQuery() returns a set of unique rows, * thus it uses SELECT COUNT(*) to count the rows. In cases that getListQuery() uses DISTINCT - * then either this method must be overriden by a custom implementation at the derived Model Class + * then either this method must be overridden by a custom implementation at the derived Model Class * or a GROUP BY clause should be used to make the set unique. * * @param \JDatabaseQuery|string $query The query. diff --git a/libraries/src/MVC/View/CategoryFeedView.php b/libraries/src/MVC/View/CategoryFeedView.php index 8ef640e299d4e..7da4a64c84926 100644 --- a/libraries/src/MVC/View/CategoryFeedView.php +++ b/libraries/src/MVC/View/CategoryFeedView.php @@ -133,7 +133,7 @@ public function display($tpl = null) /** * Method to reconcile non standard names from components to usage in this class. - * Typically overriden in the component feed view class. + * Typically overridden in the component feed view class. * * @param object $item The item for a feed, an element of the $items array. * diff --git a/libraries/src/Router/SiteRouter.php b/libraries/src/Router/SiteRouter.php index e3bbfedfeeb5d..7fb2c7c8cba95 100644 --- a/libraries/src/Router/SiteRouter.php +++ b/libraries/src/Router/SiteRouter.php @@ -288,7 +288,7 @@ protected function parseSefRoute(&$uri) // Handle an empty URL (special case) if (empty($route)) { - // If route is empty AND option is set in the query, assume it's non-sef url, and parse apropriately + // If route is empty AND option is set in the query, assume it's non-sef url, and parse appropriately if (isset($vars['option']) || isset($vars['Itemid'])) { return $this->parseRawRoute($uri); diff --git a/libraries/src/Schema/ChangeItem/MysqlChangeItem.php b/libraries/src/Schema/ChangeItem/MysqlChangeItem.php index fa6a6deb52ebd..8e733f10da31e 100644 --- a/libraries/src/Schema/ChangeItem/MysqlChangeItem.php +++ b/libraries/src/Schema/ChangeItem/MysqlChangeItem.php @@ -298,7 +298,7 @@ private function fixQuote($string) /** * Make check query for column changes/modifications tolerant * for automatic type changes of text columns, e.g. from TEXT - * to MEDIUMTEXT, after comnversion from utf8 to utf8mb4, and + * to MEDIUMTEXT, after conversion from utf8 to utf8mb4, and * fix integer (int or tinyint) columns without display length * for MySQL 8. * diff --git a/libraries/src/Session/Session.php b/libraries/src/Session/Session.php index 8c3e3125c8bf1..3279a1d59a713 100644 --- a/libraries/src/Session/Session.php +++ b/libraries/src/Session/Session.php @@ -126,7 +126,7 @@ public function __construct($store = 'none', array $options = array(), \JSession // Set the session handler $this->_handler = $handlerInterface instanceof \JSessionHandlerInterface ? $handlerInterface : new \JSessionHandlerJoomla($options); - // Initialize the data variable, let's avoid fatal error if the session is not corretly started (ie in CLI). + // Initialize the data variable, let's avoid fatal error if the session is not correctly started (ie in CLI). $this->data = new \Joomla\Registry\Registry; // Clear any existing sessions diff --git a/libraries/src/Table/Observer/Tags.php b/libraries/src/Table/Observer/Tags.php index 9f4bcb02c1d63..5e2292f66a16c 100644 --- a/libraries/src/Table/Observer/Tags.php +++ b/libraries/src/Table/Observer/Tags.php @@ -14,7 +14,7 @@ * Abstract class defining methods that can be * implemented by an Observer class of a Table class (which is an Observable). * Attaches $this Observer to the $table in the constructor. - * The classes extending this class should not be instanciated directly, as they + * The classes extending this class should not be instantiated directly, as they * are automatically instanciated by the \JObserverMapper * * @since 3.1.2 diff --git a/libraries/src/Toolbar/Button/CustomButton.php b/libraries/src/Toolbar/Button/CustomButton.php index 1ce0f20a193b1..6c29698483002 100644 --- a/libraries/src/Toolbar/Button/CustomButton.php +++ b/libraries/src/Toolbar/Button/CustomButton.php @@ -30,7 +30,7 @@ class CustomButton extends ToolbarButton * Fetch the HTML for the button * * @param string $type Button type, unused string. - * @param string $html HTML strng for the button + * @param string $html HTML string for the button * @param string $id CSS id for the button * * @return string HTML string for the button diff --git a/modules/mod_articles_category/helper.php b/modules/mod_articles_category/helper.php index 6240b3cd600d6..878f04dde9328 100644 --- a/modules/mod_articles_category/helper.php +++ b/modules/mod_articles_category/helper.php @@ -337,7 +337,7 @@ public static function _cleanIntrotext($introtext) * the html intact as possible with all tags properly closed. * * @param string $html The content of the introtext to be truncated - * @param integer $maxLength The maximum number of charactes to render + * @param integer $maxLength The maximum number of characters to render * * @return string The truncated string * diff --git a/plugins/actionlog/joomla/joomla.php b/plugins/actionlog/joomla/joomla.php index 0f33ec3952a9e..c168ae6b18017 100644 --- a/plugins/actionlog/joomla/joomla.php +++ b/plugins/actionlog/joomla/joomla.php @@ -578,7 +578,7 @@ public function onExtensionAfterDelete($context, $table) * * @param array $user Holds the new user data. * @param boolean $isnew True if a new user is stored. - * @param boolean $success True if user was succesfully stored in the database. + * @param boolean $success True if user was successfully stored in the database. * @param string $msg Message. * * @return void @@ -650,7 +650,7 @@ public function onUserAfterSave($user, $isnew, $success, $msg) * Method is called after user data is deleted from the database * * @param array $user Holds the user data - * @param boolean $success True if user was succesfully stored in the database + * @param boolean $success True if user was successfully stored in the database * @param string $msg Message * * @return void @@ -728,7 +728,7 @@ public function onUserAfterSaveGroup($context, $table, $isNew) * Method is called after user data is deleted from the database * * @param array $group Holds the group data - * @param boolean $success True if user was succesfully stored in the database + * @param boolean $success True if user was successfully stored in the database * @param string $msg Message * * @return void diff --git a/plugins/authentication/cookie/cookie.php b/plugins/authentication/cookie/cookie.php index dd1215a4524ed..1544e00dcf437 100644 --- a/plugins/authentication/cookie/cookie.php +++ b/plugins/authentication/cookie/cookie.php @@ -225,7 +225,7 @@ public function onUserAuthenticate($credentials, $options, &$response) } /** - * We set the authentication cookie only after login is successfullly finished. + * We set the authentication cookie only after login is successfully finished. * We set a new cookie either for a user with no cookies or one * where the user used a cookie to authenticate. * diff --git a/plugins/editors-xtd/article/article.php b/plugins/editors-xtd/article/article.php index 77eaadd98fc04..9a285e77e8f27 100644 --- a/plugins/editors-xtd/article/article.php +++ b/plugins/editors-xtd/article/article.php @@ -10,7 +10,7 @@ defined('_JEXEC') or die; /** - * Editor Article buton + * Editor Article button * * @since 1.5 */ diff --git a/plugins/editors-xtd/contact/contact.php b/plugins/editors-xtd/contact/contact.php index e142df97c4fbd..2aef448512ba3 100644 --- a/plugins/editors-xtd/contact/contact.php +++ b/plugins/editors-xtd/contact/contact.php @@ -10,7 +10,7 @@ defined('_JEXEC') or die; /** - * Editor Contact buton + * Editor Contact button * * @since 3.7.0 */ diff --git a/plugins/editors-xtd/menu/menu.php b/plugins/editors-xtd/menu/menu.php index c12af6d43e640..63d02e9f2fc8b 100644 --- a/plugins/editors-xtd/menu/menu.php +++ b/plugins/editors-xtd/menu/menu.php @@ -10,7 +10,7 @@ defined('_JEXEC') or die; /** - * Editor menu buton + * Editor menu button * * @since 3.7.0 */ diff --git a/plugins/editors-xtd/pagebreak/pagebreak.php b/plugins/editors-xtd/pagebreak/pagebreak.php index 6fd7db7f9c5c4..9968a999a708a 100644 --- a/plugins/editors-xtd/pagebreak/pagebreak.php +++ b/plugins/editors-xtd/pagebreak/pagebreak.php @@ -10,7 +10,7 @@ defined('_JEXEC') or die; /** - * Editor Pagebreak buton + * Editor Pagebreak button * * @since 1.5 */ diff --git a/plugins/finder/newsfeeds/newsfeeds.php b/plugins/finder/newsfeeds/newsfeeds.php index a8cf5afbc07eb..7313d3213764f 100644 --- a/plugins/finder/newsfeeds/newsfeeds.php +++ b/plugins/finder/newsfeeds/newsfeeds.php @@ -132,7 +132,7 @@ public function onFinderAfterDelete($context, $table) * Smart Search after save content method. * Reindexes the link information for a newsfeed that has been saved. * It also makes adjustments if the access level of a newsfeed item or - * the category to which it belongs has beend changed. + * the category to which it belongs has been changed. * * @param string $context The context of the content passed to the plugin. * @param JTable $row A JTable object. diff --git a/plugins/search/content/content.php b/plugins/search/content/content.php index 62342817f5554..01c09849b14e4 100644 --- a/plugins/search/content/content.php +++ b/plugins/search/content/content.php @@ -371,7 +371,7 @@ public function onContentSearch($text, $phrase = '', $ordering = '', $areas = nu ) ->order($order); - // Join over Fields is no longer neded + // Join over Fields is no longer needed // Filter by language. if ($app->isClient('site') && JLanguageMultilang::isEnabled()) diff --git a/plugins/system/actionlogs/actionlogs.php b/plugins/system/actionlogs/actionlogs.php index 474d74b636fe2..b3e68c3dd362f 100644 --- a/plugins/system/actionlogs/actionlogs.php +++ b/plugins/system/actionlogs/actionlogs.php @@ -266,7 +266,7 @@ public function onAfterRespond() } catch (Exception $exc) { - // If we failed to execite + // If we failed to execute $db->unlockTables(); $result = false; } diff --git a/plugins/system/logrotation/logrotation.php b/plugins/system/logrotation/logrotation.php index de0ca52a551d2..f34cfb93e1280 100644 --- a/plugins/system/logrotation/logrotation.php +++ b/plugins/system/logrotation/logrotation.php @@ -103,7 +103,7 @@ public function onAfterRender() } catch (Exception $exc) { - // If we failed to execite + // If we failed to execute $db->unlockTables(); $result = false; } diff --git a/plugins/system/privacyconsent/privacyconsent.php b/plugins/system/privacyconsent/privacyconsent.php index f6ae0aea797bd..16ddd17acf66a 100644 --- a/plugins/system/privacyconsent/privacyconsent.php +++ b/plugins/system/privacyconsent/privacyconsent.php @@ -242,7 +242,7 @@ public function onUserAfterSave($data, $isNew, $result, $error) * Method is called after user data is deleted from the database * * @param array $user Holds the user data - * @param boolean $success True if user was succesfully stored in the database + * @param boolean $success True if user was successfully stored in the database * @param string $msg Message * * @return boolean @@ -425,7 +425,7 @@ private function isUserConsented($userId) /** * Get privacy article ID. If the site is a multilingual website and there is associated article for the - * current language, ID of the associlated article will be returned + * current language, ID of the associated article will be returned * * @return integer * diff --git a/plugins/system/sef/sef.php b/plugins/system/sef/sef.php index 3b38150572d2a..b7e2d4a18242e 100644 --- a/plugins/system/sef/sef.php +++ b/plugins/system/sef/sef.php @@ -115,7 +115,7 @@ public function onAfterRender() $this->checkBuffer($buffer); } - // Check for all unknown protocals (a protocol must contain at least one alpahnumeric character followed by a ":"). + // Check for all unknown protocols (a protocol must contain at least one alphanumeric character followed by a ":"). $protocols = '[a-zA-Z0-9\-]+:'; $attributes = array('href=', 'src=', 'poster='); @@ -152,7 +152,7 @@ function ($match) use ($base, $protocols) $this->checkBuffer($buffer); } - // Replace all unknown protocals in javascript window open events. + // Replace all unknown protocols in javascript window open events. if (strpos($buffer, 'window.open(') !== false) { $regex = '#onclick="window.open\(\'(?!/|' . $protocols . '|\#)([^/]+[^\']*?\')#m'; diff --git a/plugins/system/updatenotification/updatenotification.php b/plugins/system/updatenotification/updatenotification.php index e1e6d3998535b..7cef8d5906845 100644 --- a/plugins/system/updatenotification/updatenotification.php +++ b/plugins/system/updatenotification/updatenotification.php @@ -92,7 +92,7 @@ public function onAfterRender() } catch (Exception $exc) { - // If we failed to execite + // If we failed to execute $db->unlockTables(); $result = false; } diff --git a/plugins/twofactorauth/totp/totp.php b/plugins/twofactorauth/totp/totp.php index 5b8f02eb5ea4f..233268a0b61be 100644 --- a/plugins/twofactorauth/totp/totp.php +++ b/plugins/twofactorauth/totp/totp.php @@ -223,7 +223,7 @@ public function onUserTwofactorApplyConfiguration($method) return false; } - // Check succeedeed; return an OTP configuration object + // Check succeeded; return an OTP configuration object $otpConfig = (object) array( 'method' => 'totp', 'config' => array( diff --git a/plugins/twofactorauth/yubikey/yubikey.php b/plugins/twofactorauth/yubikey/yubikey.php index f977052aff1a2..46bc7fddaa2df 100644 --- a/plugins/twofactorauth/yubikey/yubikey.php +++ b/plugins/twofactorauth/yubikey/yubikey.php @@ -189,7 +189,7 @@ public function onUserTwofactorApplyConfiguration($method) // Remove the last 32 digits and store the rest in the user configuration parameters $yubikey = substr($data['securitycode'], 0, -32); - // Check succeedeed; return an OTP configuration object + // Check succeeded; return an OTP configuration object $otpConfig = (object) array( 'method' => $this->methodName, 'config' => array( diff --git a/plugins/user/contactcreator/contactcreator.php b/plugins/user/contactcreator/contactcreator.php index b6c5a4806ce5a..3109ec9f546aa 100644 --- a/plugins/user/contactcreator/contactcreator.php +++ b/plugins/user/contactcreator/contactcreator.php @@ -38,7 +38,7 @@ class PlgUserContactCreator extends JPlugin * * @param array $user Holds the new user data. * @param boolean $isnew True if a new user is stored. - * @param boolean $success True if user was succesfully stored in the database. + * @param boolean $success True if user was successfully stored in the database. * @param string $msg Message. * * @return boolean diff --git a/plugins/user/profile/profile.php b/plugins/user/profile/profile.php index 26ef4c6d4d37d..c119177bb1514 100644 --- a/plugins/user/profile/profile.php +++ b/plugins/user/profile/profile.php @@ -380,7 +380,7 @@ public function onUserBeforeSave($user, $isnew, $data) if (Date::getInstance('now') < $date) { - // Throw an exception if dob is greather than now. + // Throw an exception if dob is greater than now. throw new InvalidArgumentException(Text::_('PLG_USER_PROFILE_ERROR_INVALID_DOB_FUTURE_DATE')); } } @@ -481,7 +481,7 @@ public function onUserAfterSave($data, $isNew, $result, $error) * Method is called after user data is deleted from the database * * @param array $user Holds the user data - * @param boolean $success True if user was succesfully stored in the database + * @param boolean $success True if user was successfully stored in the database * @param string $msg Message * * @return boolean diff --git a/templates/beez3/css/nature.css b/templates/beez3/css/nature.css index 5d0ec1b0638d9..83d47011ea4f1 100644 --- a/templates/beez3/css/nature.css +++ b/templates/beez3/css/nature.css @@ -199,7 +199,7 @@ ul.menu a:focus { } -/* ++++++++++++++++ highlightning active menuitem +++++++++++++++++++ */ +/* ++++++++++++++++ highlighting active menuitem +++++++++++++++++++ */ ul.menu li.active a,ul.menu li.active ul li.active a, ul.menu li.active ul li.active ul li.active a, diff --git a/templates/beez3/css/personal.css b/templates/beez3/css/personal.css index 59e63dd3c4da2..f66a00218544c 100644 --- a/templates/beez3/css/personal.css +++ b/templates/beez3/css/personal.css @@ -105,7 +105,7 @@ a:hover,a:active,a:focus { border: solid 1px #ddd } -/* +++++++++++++ table display Catgegories table, contact etc, ++++++++++++++++++++* */ +/* +++++++++++++ table display Categories table, contact etc, ++++++++++++++++++++* */ table { border: solid 1px #ddd } @@ -251,7 +251,7 @@ ul.menu a:hover,ul.menu a:active,ul.menu a:focus { color: #095197 } -/* ++++++++++++++++ highlightning active menuitem +++++++++++++++++++ */ +/* ++++++++++++++++ highlighting active menuitem +++++++++++++++++++ */ ul.menu li.active a,ul.menu li.active ul li.active a,ul.menu li.active ul li.active ul li.active a,ul.menu li.active ul li.active ul li.active ul li.active a,ul.menu li.active ul li.active ul li.active ul li.active ul li.active a { font-weight: bold; diff --git a/templates/beez3/css/turq.less b/templates/beez3/css/turq.less index bcd2f39c8df93..8ae8ce8680da6 100644 --- a/templates/beez3/css/turq.less +++ b/templates/beez3/css/turq.less @@ -121,7 +121,7 @@ a:hover,a:active,a:focus { } .article-info {color:@textcolor} -/* +++++++++++++ table display Catgegories table, contact etc, ++++++++++++++++++++* */ +/* +++++++++++++ table display Categories table, contact etc, ++++++++++++++++++++* */ table { border: solid 1px #ddd } @@ -234,7 +234,7 @@ ul.menu a:hover,ul.menu a:active,ul.menu a:focus { color:@linkcolor } -/* ++++++++++++++++ highlightning active menuitem +++++++++++++++++++ */ +/* ++++++++++++++++ highlighting active menuitem +++++++++++++++++++ */ ul.menu li.active a,ul.menu li.active ul li.active a,ul.menu li.active ul li.active ul li.active a,ul.menu li.active ul li.active ul li.active ul li.active a,ul.menu li.active ul li.active ul li.active ul li.active ul li.active a { font-weight: bold; diff --git a/templates/beez3/html/com_content/archive/default.php b/templates/beez3/html/com_content/archive/default.php index 3113b49a9c387..e84fee5198c68 100644 --- a/templates/beez3/html/com_content/archive/default.php +++ b/templates/beez3/html/com_content/archive/default.php @@ -15,7 +15,7 @@ if (!$templateparams->get('html5', 0)) { require JPATH_BASE.'/components/com_content/views/archive/tmpl/default.php'; - //evtl. ersetzen durch JPATH_COMPONENT.'/views/...' + // possibly replace with JPATH_COMPONENT.'/views/...' } else { JHtml::addIncludePath(JPATH_COMPONENT . '/helpers'); diff --git a/templates/beez3/html/com_content/archive/default_items.php b/templates/beez3/html/com_content/archive/default_items.php index 8b14f7283f564..5f0a5ed5d7b63 100644 --- a/templates/beez3/html/com_content/archive/default_items.php +++ b/templates/beez3/html/com_content/archive/default_items.php @@ -15,7 +15,7 @@ if (!$templateparams->get('html5', 0)) { require JPATH_BASE.'/components/com_content/views/archive/tmpl/default_items.php'; - //evtl. ersetzen durch JPATH_COMPONENT.'/views/...' + // possibly replace with JPATH_COMPONENT.'/views/...' } else { JHtml::addIncludePath(JPATH_COMPONENT . '/helpers'); $params = &$this->params; diff --git a/tests/unit/core/case/case.php b/tests/unit/core/case/case.php index ac5129f2dee37..36a6d68ddfc46 100644 --- a/tests/unit/core/case/case.php +++ b/tests/unit/core/case/case.php @@ -331,7 +331,7 @@ class_exists('JApplicationWeb'); * will also fail because we assume you were testing to see that an error did occur when it was * supposed to. * - * If passed without argument, the array is initialized if it hsn't been already + * If passed without argument, the array is initialized if it hasn't been already * * @param mixed $error The JException object to expect. * @@ -438,7 +438,7 @@ protected function saveFactoryState() /** * Sets the JError error handlers. * - * @param array $errorHandlers araay of values and options to set the handlers + * @param array $errorHandlers array of values and options to set the handlers * * @return void * diff --git a/tests/unit/core/case/database.php b/tests/unit/core/case/database.php index 56afccf541d34..773ec5830d9fd 100644 --- a/tests/unit/core/case/database.php +++ b/tests/unit/core/case/database.php @@ -392,7 +392,7 @@ protected function getDataSet() */ protected function getSetUpOperation() { - // Required given the use of InnoDB contraints. + // Required given the use of InnoDB constraints. return new PHPUnit_Extensions_Database_Operation_Composite( array( PHPUnit_Extensions_Database_Operation_Factory::DELETE_ALL(), @@ -410,7 +410,7 @@ protected function getSetUpOperation() */ protected function getTearDownOperation() { - // Required given the use of InnoDB contraints. + // Required given the use of InnoDB constraints. return PHPUnit_Extensions_Database_Operation_Factory::DELETE_ALL(); } @@ -476,7 +476,7 @@ protected function saveFactoryState() /** * Sets the JError error handlers. * - * @param array $errorHandlers araay of values and options to set the handlers + * @param array $errorHandlers array of values and options to set the handlers * * @return void * diff --git a/tests/unit/core/mock/input.php b/tests/unit/core/mock/input.php index dcb399210257f..39d77416b7533 100644 --- a/tests/unit/core/mock/input.php +++ b/tests/unit/core/mock/input.php @@ -29,7 +29,7 @@ class TestMockInput private static $test; /** - * Class contructor. + * Class constructor. * * @param PHPUnit_Framework_TestCase $test A test class. * diff --git a/tests/unit/core/reflection.php b/tests/unit/core/reflection.php index 40f292c762ca9..490e251fd5816 100644 --- a/tests/unit/core/reflection.php +++ b/tests/unit/core/reflection.php @@ -15,7 +15,7 @@ class TestReflection { /** - * Helper method that gets a protected or private property in a class by relfection. + * Helper method that gets a protected or private property in a class by reflection. * * @param object $object The object from which to return the property value. * @param string $propertyName The name of the property to return. @@ -82,7 +82,7 @@ public static function invoke($object, $methodName) } /** - * Helper method that sets a protected or private property in a class by relfection. + * Helper method that sets a protected or private property in a class by reflection. * * @param object $object The object for which to set the property. * @param string $propertyName The name of the property to set. diff --git a/tests/unit/suites/database/driver/postgresql/JDatabaseQueryPostgresqlTest.php b/tests/unit/suites/database/driver/postgresql/JDatabaseQueryPostgresqlTest.php index a08acc5fcc632..fbb7f9c5f8667 100644 --- a/tests/unit/suites/database/driver/postgresql/JDatabaseQueryPostgresqlTest.php +++ b/tests/unit/suites/database/driver/postgresql/JDatabaseQueryPostgresqlTest.php @@ -692,7 +692,7 @@ public function testClear_type() $q->$type ); - // Now check the claues have not been affected. + // Now check the clauses have not been affected. foreach ($clauses as $clause) { $this->assertEquals( diff --git a/tests/unit/suites/libraries/cms/application/JApplicationCmsTest.php b/tests/unit/suites/libraries/cms/application/JApplicationCmsTest.php index cc59b39020713..74bc8128a38bd 100644 --- a/tests/unit/suites/libraries/cms/application/JApplicationCmsTest.php +++ b/tests/unit/suites/libraries/cms/application/JApplicationCmsTest.php @@ -169,7 +169,7 @@ public function test__construct() } /** - * Tests the JApplicationCms::__construct method with dependancy injection. + * Tests the JApplicationCms::__construct method with dependency injection. * * @return void * diff --git a/tests/unit/suites/libraries/cms/helper/JHelperContentTest.php b/tests/unit/suites/libraries/cms/helper/JHelperContentTest.php index c4fe655c53d34..15feaa3cb1dd3 100644 --- a/tests/unit/suites/libraries/cms/helper/JHelperContentTest.php +++ b/tests/unit/suites/libraries/cms/helper/JHelperContentTest.php @@ -8,7 +8,7 @@ */ /** - * Test class for JHelperCOntent. + * Test class for JHelperContent. * * @package Joomla.UnitTest * @subpackage Helper diff --git a/tests/unit/suites/libraries/cms/installer/JInstallerAdapterTest.php b/tests/unit/suites/libraries/cms/installer/JInstallerAdapterTest.php index 5d58929d7159a..19c1938c7035d 100644 --- a/tests/unit/suites/libraries/cms/installer/JInstallerAdapterTest.php +++ b/tests/unit/suites/libraries/cms/installer/JInstallerAdapterTest.php @@ -786,7 +786,7 @@ public function casesGetScriptClassName() /** * @testdox Test getting the script class name for an extension * - * @param string $element The element name to set in the clas + * @param string $element The element name to set in the class * @param string $element The expected script name * @param string $failureMessage The failure message * diff --git a/tests/unit/suites/libraries/joomla/JLoaderTest.php b/tests/unit/suites/libraries/joomla/JLoaderTest.php index cca790340852f..ff9662b82d8a3 100644 --- a/tests/unit/suites/libraries/joomla/JLoaderTest.php +++ b/tests/unit/suites/libraries/joomla/JLoaderTest.php @@ -522,7 +522,7 @@ public function testRegisterNamespace() } /** - * Tests the JLoader::registerNamespace method when reseting the paths. + * Tests the JLoader::registerNamespace method when resetting the paths. * * @return void * diff --git a/tests/unit/suites/libraries/joomla/access/JAccessRulesTest.php b/tests/unit/suites/libraries/joomla/access/JAccessRulesTest.php index c84f1840aec4d..270b1421c8ad7 100644 --- a/tests/unit/suites/libraries/joomla/access/JAccessRulesTest.php +++ b/tests/unit/suites/libraries/joomla/access/JAccessRulesTest.php @@ -17,7 +17,7 @@ class JAccessRulesTest extends \PHPUnit\Framework\TestCase { /** - * This method tests both the contructor and the __toString magic method. + * This method tests both the constructor and the __toString magic method. * * The input for this class could come from a posted form, or from a JSON string * stored in the database. We need to ensure that the resulting JSON is the same diff --git a/tests/unit/suites/libraries/joomla/application/JApplicationCliTest.php b/tests/unit/suites/libraries/joomla/application/JApplicationCliTest.php index 665a731638cd9..733355a268af8 100644 --- a/tests/unit/suites/libraries/joomla/application/JApplicationCliTest.php +++ b/tests/unit/suites/libraries/joomla/application/JApplicationCliTest.php @@ -79,7 +79,7 @@ public function test__construct() } /** - * Tests the JApplicationCli::__construct method with dependancy injection. + * Tests the JApplicationCli::__construct method with dependency injection. * * @return void * diff --git a/tests/unit/suites/libraries/joomla/application/JApplicationWebTest.php b/tests/unit/suites/libraries/joomla/application/JApplicationWebTest.php index 6f2be530331f7..a2a61e2eded3d 100644 --- a/tests/unit/suites/libraries/joomla/application/JApplicationWebTest.php +++ b/tests/unit/suites/libraries/joomla/application/JApplicationWebTest.php @@ -167,7 +167,7 @@ public function test__construct() } /** - * Tests the JApplicationWeb::__construct method with dependancy injection. + * Tests the JApplicationWeb::__construct method with dependency injection. * * @return void * @@ -241,7 +241,7 @@ public function testAllowCache() */ public function testAppendBody() { - // Similulate a previous call to setBody or appendBody. + // Simulate a previous call to setBody or appendBody. TestReflection::getValue($this->class, 'response')->body = array('foo'); $this->class->appendBody('bar'); @@ -837,7 +837,7 @@ public function testInitialiseWithFalse() } /** - * Tests the JApplicationWeb::initialise method with dependancy injection. + * Tests the JApplicationWeb::initialise method with dependency injection. * * @return void * @@ -1045,7 +1045,7 @@ public function testLoadSystemUrisWithoutSiteUriWithRelativeMediaUriSet() */ public function testPrependBody() { - // Similulate a previous call to a body method. + // Simulate a previous call to a body method. TestReflection::getValue($this->class, 'response')->body = array('foo'); $this->class->prependBody('bar'); @@ -1444,7 +1444,7 @@ public function testRender() */ public function testSendHeaders() { - // Similulate a previous call to a setHeader method. + // Simulate a previous call to a setHeader method. TestReflection::getValue($this->class, 'response')->headers = array( array('name' => 'Status', 'value' => 200), array('name' => 'X-JWeb-SendHeaders', 'value' => 'foo'), diff --git a/tests/unit/suites/libraries/joomla/application/web/router/JApplicationWebRouterRestTest.php b/tests/unit/suites/libraries/joomla/application/web/router/JApplicationWebRouterRestTest.php index c50032fda8c56..3c033a5d87cf3 100644 --- a/tests/unit/suites/libraries/joomla/application/web/router/JApplicationWebRouterRestTest.php +++ b/tests/unit/suites/libraries/joomla/application/web/router/JApplicationWebRouterRestTest.php @@ -58,7 +58,7 @@ public function testFetchControllerSuffixWithMissingSuffixMap() } /** - * Provides test data for testing fetch controller sufix + * Provides test data for testing fetch controller suffix * * @return array * @@ -124,7 +124,7 @@ public function testFetchControllerSuffix($input, $expected, $method, $exception { TestReflection::invoke($this->_instance, 'setMethodInPostRequest', $allowMethod); - // Set reuqest method + // Set request method $_SERVER['REQUEST_METHOD'] = $input; // Set method in POST request diff --git a/tests/unit/suites/libraries/joomla/database/JDatabaseQueryTest.php b/tests/unit/suites/libraries/joomla/database/JDatabaseQueryTest.php index 83e873f7c5675..a1c8c89bc9f66 100644 --- a/tests/unit/suites/libraries/joomla/database/JDatabaseQueryTest.php +++ b/tests/unit/suites/libraries/joomla/database/JDatabaseQueryTest.php @@ -565,7 +565,7 @@ public function testClear_type() $this->equalTo(null) ); - // Now check the claues have not been affected. + // Now check the clauses have not been affected. foreach ($clauses as $clause) { $this->assertThat( diff --git a/tests/unit/suites/libraries/joomla/filesystem/JFilesystemPatcherTest.php b/tests/unit/suites/libraries/joomla/filesystem/JFilesystemPatcherTest.php index 460d1b22d6c17..6a0e13902d2ab 100644 --- a/tests/unit/suites/libraries/joomla/filesystem/JFilesystemPatcherTest.php +++ b/tests/unit/suites/libraries/joomla/filesystem/JFilesystemPatcherTest.php @@ -947,7 +947,7 @@ public function testApply($udiff, $root, $strip, $sources, $destinations, $resul } else { - // Remove all vertical characters to ensure system independed compare + // Remove all vertical characters to ensure system independent compare $content = preg_replace('/\v/', '', $content); $data = file_get_contents($path); $data = preg_replace('/\v/', '', $data); diff --git a/tests/unit/suites/libraries/joomla/form/JFormTest.php b/tests/unit/suites/libraries/joomla/form/JFormTest.php index 2c8470ed41d19..0731bd302d014 100644 --- a/tests/unit/suites/libraries/joomla/form/JFormTest.php +++ b/tests/unit/suites/libraries/joomla/form/JFormTest.php @@ -306,7 +306,7 @@ public function testFilter() 'Line:' . __LINE__ . ' The filtered result should be an array.' ); - // Test that filtering is occuring (not that all filters work - done in testFilterField). + // Test that filtering is occurring (not that all filters work - done in testFilterField). $this->assertThat( $filtered['word'], @@ -759,7 +759,7 @@ public function testFindGroup() 'Line:' . __LINE__ . ' A group path that does not exist should return an empty array.' ); - // Check that an existant field returns something. + // Check that an existent field returns something. $this->assertThat( count($form->findGroup('params.cache')), $this->equalTo(1), diff --git a/tests/unit/suites/libraries/joomla/form/fields/JFormFieldTextareaTest.php b/tests/unit/suites/libraries/joomla/form/fields/JFormFieldTextareaTest.php index e2fc7104a8c8e..15bf7340d6a01 100644 --- a/tests/unit/suites/libraries/joomla/form/fields/JFormFieldTextareaTest.php +++ b/tests/unit/suites/libraries/joomla/form/fields/JFormFieldTextareaTest.php @@ -79,7 +79,7 @@ public function getInputData() } /** - * Tests rows and columns attribute setup by JFormFieldTextare::setup method + * Tests rows and columns attribute setup by JFormFieldTextarea::setup method * * @covers JFormField::setup * @covers JFormField::__get diff --git a/tests/unit/suites/libraries/joomla/image/JImageTest.php b/tests/unit/suites/libraries/joomla/image/JImageTest.php index bc7de24189f2b..a94731ba8268d 100644 --- a/tests/unit/suites/libraries/joomla/image/JImageTest.php +++ b/tests/unit/suites/libraries/joomla/image/JImageTest.php @@ -306,7 +306,7 @@ public function testResize() $image->resize(1000, 682, false); - // Verify that the resizeded image is the correct size. + // Verify that the resized image is the correct size. $this->assertEquals(682, imagesy($image->getClassProperty('handle'))); $this->assertEquals(1000, imagesx($image->getClassProperty('handle'))); } @@ -331,7 +331,7 @@ public function testResizeTransparent() $image->resize(5, 5, false); - // Verify that the resizeed image is the correct size. + // Verify that the resized image is the correct size. $this->assertEquals(5, imagesy($image->getClassProperty('handle'))); $this->assertEquals(5, imagesx($image->getClassProperty('handle'))); @@ -654,7 +654,7 @@ public function testTransparentIsTransparent() /** * Test the JImage::isTransparent method to make sure it gives the correct - * result if the image does not haave an alpha channel. + * result if the image does not have an alpha channel. * * @return void * @@ -980,7 +980,7 @@ public function testSanitizeWidth($inputHeight, $inputWidth, $imageHeight, $imag * Tests the JImage::sanitizeOffset method. * * @param mixed $input The input offset. - * @param integer $expected The expected result offest. + * @param integer $expected The expected result offset. * * @return void * @@ -997,7 +997,7 @@ public function testSanitizeOffset($input, $expected) } /** - * Tests the JImage::destory method + * Tests the JImage::destroy method * * @return void * diff --git a/tests/unit/suites/libraries/joomla/keychain/JKeychainTest.php b/tests/unit/suites/libraries/joomla/keychain/JKeychainTest.php index e6c0fd4998083..ffb2a86cbb788 100644 --- a/tests/unit/suites/libraries/joomla/keychain/JKeychainTest.php +++ b/tests/unit/suites/libraries/joomla/keychain/JKeychainTest.php @@ -89,7 +89,7 @@ public function testCreatePassphraseFile() } /** - * Try to load a keychain that liaosn't exist (this shouldn't cause an error) + * Try to load a keychain that doesn't exist (this shouldn't cause an error) * * @expectedException RuntimeException * @expectedExceptionMessage Attempting to load non-existent keychain file diff --git a/tests/unit/suites/libraries/joomla/language/JLanguageHelperTest.php b/tests/unit/suites/libraries/joomla/language/JLanguageHelperTest.php index 17484bd183ebb..0d0b0187bdb02 100644 --- a/tests/unit/suites/libraries/joomla/language/JLanguageHelperTest.php +++ b/tests/unit/suites/libraries/joomla/language/JLanguageHelperTest.php @@ -47,7 +47,7 @@ public function testDetectLanguage() { $lang = JLanguageHelper::detectLanguage(); - // Since we're running in a CLI context we can only check the defualt value + // Since we're running in a CLI context we can only check the default value $this->assertNull( $lang ); diff --git a/tests/unit/suites/libraries/joomla/language/JLanguageTest.php b/tests/unit/suites/libraries/joomla/language/JLanguageTest.php index 61995e02297bf..2f9be681ff26a 100644 --- a/tests/unit/suites/libraries/joomla/language/JLanguageTest.php +++ b/tests/unit/suites/libraries/joomla/language/JLanguageTest.php @@ -74,7 +74,7 @@ public function testGetInstance() public function testConstruct() { // @codingStandardsIgnoreStart - // @todo check the instanciating new classes without brackets sniff + // @todo check the instantiating new classes without brackets sniff $instance = new JLanguage(null, true); // @codingStandardsIgnoreEnd @@ -82,7 +82,7 @@ public function testConstruct() $this->assertTrue($instance->getDebug()); // @codingStandardsIgnoreStart - // @todo check the instanciating new classes without brackets sniff + // @todo check the instantiating new classes without brackets sniff $instance = new JLanguage(null, false); // @codingStandardsIgnoreEnd $this->assertInstanceOf('JLanguage', $instance); @@ -240,7 +240,7 @@ public function testSetTransliterator() 'Line: ' . __LINE__ ); - // Note: set -> $function2: set returns $function1 and get retuns $function2 + // Note: set -> $function2: set returns $function1 and get returns $function2 $set = $lang->setTransliterator($function2); $this->assertEquals( $function1, @@ -333,7 +333,7 @@ public function testSetPluralSuffixesCallback() 'Line: ' . __LINE__ ); - // Note: set -> $function2: set returns $function1 and get retuns $function2 + // Note: set -> $function2: set returns $function1 and get returns $function2 $set = $lang->setPluralSuffixesCallback($function2); $this->assertEquals( $function1, @@ -423,7 +423,7 @@ public function testSetIgnoredSearchWordsCallback() 'Line: ' . __LINE__ ); - // Note: set -> $function2: set returns $function1 and get retuns $function2 + // Note: set -> $function2: set returns $function1 and get returns $function2 $set = $lang->setIgnoredSearchWordsCallback($function2); $this->assertEquals( $function1, @@ -513,7 +513,7 @@ public function testSetLowerLimitSearchWordCallback() 'Line: ' . __LINE__ ); - // Note: set -> $function2: set returns $function1 and get retuns $function2 + // Note: set -> $function2: set returns $function1 and get returns $function2 $set = $lang->setLowerLimitSearchWordCallback($function2); $this->assertEquals( $function1, @@ -603,7 +603,7 @@ public function testSetUpperLimitSearchWordCallback() 'Line: ' . __LINE__ ); - // Note: set -> $function2: set returns $function1 and get retuns $function2 + // Note: set -> $function2: set returns $function1 and get returns $function2 $set = $lang->setUpperLimitSearchWordCallback($function2); $this->assertEquals( $function1, @@ -693,7 +693,7 @@ public function testSetSearchDisplayedCharactersNumberCallback() 'Line: ' . __LINE__ ); - // Note: set -> $function2: set returns $function1 and get retuns $function2 + // Note: set -> $function2: set returns $function1 and get returns $function2 $set = $lang->setSearchDisplayedCharactersNumberCallback($function2); $this->assertEquals( $function1, @@ -857,7 +857,7 @@ public function testGetName() */ public function testGetPaths() { - // Without extension, retuns NULL + // Without extension, returns NULL $this->assertNull( $this->object->getPaths('') ); @@ -1023,7 +1023,7 @@ public function testHasKey() */ public function testGetMetadata() { - // Language doesn't exist, retun NULL + // Language doesn't exist, return NULL $this->assertNull( $this->inspector->getMetadata('es-ES') ); diff --git a/tests/unit/suites/libraries/joomla/linkedin/JLinkedinTest.php b/tests/unit/suites/libraries/joomla/linkedin/JLinkedinTest.php index 228496855cfe9..73b46265b6751 100644 --- a/tests/unit/suites/libraries/joomla/linkedin/JLinkedinTest.php +++ b/tests/unit/suites/libraries/joomla/linkedin/JLinkedinTest.php @@ -174,7 +174,7 @@ public function test__GetCommunications() } /** - * Tests the magic __get method - other (non existant) + * Tests the magic __get method - other (non existent) * * @return void * diff --git a/tests/unit/suites/libraries/joomla/mediawiki/stubs/JMediawikiObjectMock.php b/tests/unit/suites/libraries/joomla/mediawiki/stubs/JMediawikiObjectMock.php index 189f61942ef59..a22b78ca9abb7 100644 --- a/tests/unit/suites/libraries/joomla/mediawiki/stubs/JMediawikiObjectMock.php +++ b/tests/unit/suites/libraries/joomla/mediawiki/stubs/JMediawikiObjectMock.php @@ -50,7 +50,7 @@ public function buildParameter(array $params) /** * Method to validate response for errors * - * @param JHttpresponse $response reponse from the mediawiki server + * @param JHttpresponse $response response from the mediawiki server * * @return Object * diff --git a/tests/unit/suites/libraries/joomla/model/JModelBaseTest.php b/tests/unit/suites/libraries/joomla/model/JModelBaseTest.php index 34c3033eb3a21..ea6ee3742c225 100644 --- a/tests/unit/suites/libraries/joomla/model/JModelBaseTest.php +++ b/tests/unit/suites/libraries/joomla/model/JModelBaseTest.php @@ -36,7 +36,7 @@ class JModelBaseTest extends TestCase public function test__construct() { // @codingStandardsIgnoreStart - // @todo check the instanciating new classes without brackets sniff + // @todo check the instantiating new classes without brackets sniff $this->assertEquals(new Registry, $this->_instance->getState(), 'Checks default state.'); // @codingStandardsIgnoreEnd diff --git a/tests/unit/suites/libraries/joomla/model/JModelDatabaseTest.php b/tests/unit/suites/libraries/joomla/model/JModelDatabaseTest.php index f6361923a33b8..1baa8ae765d91 100644 --- a/tests/unit/suites/libraries/joomla/model/JModelDatabaseTest.php +++ b/tests/unit/suites/libraries/joomla/model/JModelDatabaseTest.php @@ -45,7 +45,7 @@ public function testChecksDefaultDatabaseDriver() */ public function testChecksInjectedDatabaseDriver() { - // Create a new datbase mock for injection. + // Create a new database mock for injection. $db = $this->getMockDatabase(); $class = new DatabaseModel(null, $db); $this->assertSame($db, $class->getDb()); diff --git a/tests/unit/suites/libraries/joomla/oauth1/stubs/JOAuth1ClientInspector.php b/tests/unit/suites/libraries/joomla/oauth1/stubs/JOAuth1ClientInspector.php index 237b41f4cf5f7..cde4c3c3d554b 100644 --- a/tests/unit/suites/libraries/joomla/oauth1/stubs/JOAuth1ClientInspector.php +++ b/tests/unit/suites/libraries/joomla/oauth1/stubs/JOAuth1ClientInspector.php @@ -18,7 +18,7 @@ class JOAuth1ClientInspector extends JOAuth1Client { /** - * Mimic verifing credentials. + * Mimic verifying credentials. * * @return void * diff --git a/tests/unit/suites/libraries/joomla/openstreetmap/JOpenstreetmapElementsTest.php b/tests/unit/suites/libraries/joomla/openstreetmap/JOpenstreetmapElementsTest.php index 080575f1686ea..cd08b0e30b833 100644 --- a/tests/unit/suites/libraries/joomla/openstreetmap/JOpenstreetmapElementsTest.php +++ b/tests/unit/suites/libraries/joomla/openstreetmap/JOpenstreetmapElementsTest.php @@ -316,7 +316,7 @@ public function seedElement() } /** - * Provides test data for element type - faliures + * Provides test data for element type - failures * * @return array * @@ -669,7 +669,7 @@ public function seedElements() } /** - * Provides test data for element type - faliures + * Provides test data for element type - failures * * @return array * @@ -885,7 +885,7 @@ public function seedFullElement() } /** - * Provides test data for full element type - faliures + * Provides test data for full element type - failures * * @return array * diff --git a/tests/unit/suites/libraries/joomla/openstreetmap/JOpenstreetmapTest.php b/tests/unit/suites/libraries/joomla/openstreetmap/JOpenstreetmapTest.php index 525bac8271000..267ae7e9f90c4 100644 --- a/tests/unit/suites/libraries/joomla/openstreetmap/JOpenstreetmapTest.php +++ b/tests/unit/suites/libraries/joomla/openstreetmap/JOpenstreetmapTest.php @@ -159,7 +159,7 @@ public function test__GetUser() } /** - * Tests the magic __get method - other (non existant) + * Tests the magic __get method - other (non existent) * * @return void * diff --git a/tests/unit/suites/libraries/joomla/twitter/JTwitterTest.php b/tests/unit/suites/libraries/joomla/twitter/JTwitterTest.php index f89f604ff85eb..17bdf43112828 100644 --- a/tests/unit/suites/libraries/joomla/twitter/JTwitterTest.php +++ b/tests/unit/suites/libraries/joomla/twitter/JTwitterTest.php @@ -111,7 +111,7 @@ public function test__GetHelp() } /** - * Tests the magic __get method - other (non existant) + * Tests the magic __get method - other (non existent) * * @return void * diff --git a/tests/unit/suites/libraries/joomla/user/JUserTest.php b/tests/unit/suites/libraries/joomla/user/JUserTest.php index cc344f87fd540..8b6912a4e97c0 100644 --- a/tests/unit/suites/libraries/joomla/user/JUserTest.php +++ b/tests/unit/suites/libraries/joomla/user/JUserTest.php @@ -232,7 +232,7 @@ public function casesAuthorise() * Tests JUser::authorise(). * * @param integer $userId User id of user to test - * @param string $action Action to get aithorized for this user + * @param string $action Action to get authorized for this user * @param string $asset Asset to get authorization for * @param boolean $expected Expected return from the authorization check * diff --git a/tests/unit/suites/libraries/joomla/utilities/JArrayHelperTest.php b/tests/unit/suites/libraries/joomla/utilities/JArrayHelperTest.php index 78b180f42ed1e..8f0b4f983022c 100644 --- a/tests/unit/suites/libraries/joomla/utilities/JArrayHelperTest.php +++ b/tests/unit/suites/libraries/joomla/utilities/JArrayHelperTest.php @@ -1429,7 +1429,7 @@ public function testGetColumn($input, $index, $expect, $message) * * @param array $input Input array * @param mixed $index Element to pull, either by association or number - * @param mixed $default The defualt value, if element not present + * @param mixed $default The default value, if element not present * @param string $type The type of value returned * @param array $expect The expected results * @param string $message The failure message diff --git a/tests/unit/suites/libraries/legacy/controller/JControllerLegacyTest.php b/tests/unit/suites/libraries/legacy/controller/JControllerLegacyTest.php index 9387dd06ea974..fb909d262afba 100644 --- a/tests/unit/suites/libraries/legacy/controller/JControllerLegacyTest.php +++ b/tests/unit/suites/libraries/legacy/controller/JControllerLegacyTest.php @@ -328,7 +328,7 @@ public function testSetRedirectWithMessageOverwritesPreviousMessage() } /** - * @testdox Tests setRedirect() works when message and message type are set in setMessage() and the message is overriden by setRedirect() + * @testdox Tests setRedirect() works when message and message type are set in setMessage() and the message is overridden by setRedirect() * * @covers JControllerLegacy::setRedirect */ @@ -403,7 +403,7 @@ public function testSetRedirectWithUrlMessageAndMessageTypeOverwritesPreviouslyS } /** - * @testdox Tests that message and message type set in setMessage() are overriden by setRedirect() + * @testdox Tests that message and message type set in setMessage() are overridden by setRedirect() * * @covers JControllerLegacy::setRedirect */ diff --git a/tests/unit/suites/libraries/legacy/model/JModelListTest.php b/tests/unit/suites/libraries/legacy/model/JModelListTest.php index 2699fe1a03300..d87f63b8f846b 100644 --- a/tests/unit/suites/libraries/legacy/model/JModelListTest.php +++ b/tests/unit/suites/libraries/legacy/model/JModelListTest.php @@ -617,7 +617,7 @@ public function testPopulateStateFixedInvalidOrderDirection() // This stops populate state from being called again TestReflection::setValue($this->object, '__state_set', true); - // Make sure that the invalid value is overriden by the value from the constructor + // Make sure that the invalid value is overridden by the value from the constructor $this->assertEquals('ASC', $this->object->getState('list.direction')); } @@ -940,7 +940,7 @@ public function testGetuserstateUsesDefault() * * @return void * - * @testdox getUserState() returns data from the current request if exisiting + * @testdox getUserState() returns data from the current request if existing */ public function testGetuserstateUsesRequestData() { diff --git a/tests/unit/suites/plugins/content/emailcloak/PlgContentEmailcloakTest.php b/tests/unit/suites/plugins/content/emailcloak/PlgContentEmailcloakTest.php index b7b02aca7ebd9..6824fe09c34f8 100644 --- a/tests/unit/suites/plugins/content/emailcloak/PlgContentEmailcloakTest.php +++ b/tests/unit/suites/plugins/content/emailcloak/PlgContentEmailcloakTest.php @@ -80,7 +80,7 @@ public function dataTestOnContentPrepare() * At the moment there is a slight unit test bug in that what you see here will start with * the opening tag, and not the full surrounding html from the article - I might fix that in future * but for now we are testing the actual replacement inside the tags and not the surrounding html - * due to the crazyness of the unit tests converting from JS to HTML to compare + * due to the craziness of the unit tests converting from JS to HTML to compare */ 'this should not be parsed as it has no (at) sign in it - see what I did there? ;)',