diff --git a/administrator/components/com_finder/helpers/indexer/adapter.php b/administrator/components/com_finder/helpers/indexer/adapter.php
index 76c357a329e3e..6ef6b2e422958 100644
--- a/administrator/components/com_finder/helpers/indexer/adapter.php
+++ b/administrator/components/com_finder/helpers/indexer/adapter.php
@@ -125,8 +125,8 @@ abstract class FinderIndexerAdapter extends JPlugin
/**
* Method to instantiate the indexer adapter.
*
- * @param object &$subject The object to observe.
- * @param array $config An array that holds the plugin configuration.
+ * @param object $subject The object to observe.
+ * @param array $config An array that holds the plugin configuration.
*
* @since 2.5
*/
diff --git a/administrator/components/com_finder/helpers/indexer/helper.php b/administrator/components/com_finder/helpers/indexer/helper.php
index 759468052f40b..3a8d3768b096c 100644
--- a/administrator/components/com_finder/helpers/indexer/helper.php
+++ b/administrator/components/com_finder/helpers/indexer/helper.php
@@ -443,7 +443,7 @@ public static function getContentPath($url)
* Method to get extra data for a content before being indexed. This is how
* we add Comments, Tags, Labels, etc. that should be available to Finder.
*
- * @param FinderIndexerResult &$item The item to index as a FinderIndexerResult object.
+ * @param FinderIndexerResult $item The item to index as a FinderIndexerResult object.
*
* @return boolean True on success, false on failure.
*
diff --git a/administrator/components/com_finder/helpers/indexer/query.php b/administrator/components/com_finder/helpers/indexer/query.php
index cd4fd873aef01..02850fc13f73c 100644
--- a/administrator/components/com_finder/helpers/indexer/query.php
+++ b/administrator/components/com_finder/helpers/indexer/query.php
@@ -244,9 +244,8 @@ public function __construct($options)
// Remove the temporary date storage.
unset($this->dates);
- /*
- * Lastly, determine whether this query can return a result set.
- */
+ // Lastly, determine whether this query can return a result set.
+
// Check if we have a query string.
if (!empty($this->input))
{
diff --git a/administrator/components/com_finder/helpers/indexer/stemmer/porter_en.php b/administrator/components/com_finder/helpers/indexer/stemmer/porter_en.php
index e1649958f2b21..663cc6cf26f55 100644
--- a/administrator/components/com_finder/helpers/indexer/stemmer/porter_en.php
+++ b/administrator/components/com_finder/helpers/indexer/stemmer/porter_en.php
@@ -350,7 +350,7 @@ private static function step5($word)
* Replaces the first string with the second, at the end of the string. If third
* arg is given, then the preceding string must match that m count at least.
*
- * @param string &$str String to check
+ * @param string $str String to check
* @param string $check Ending to check for
* @param string $repl Replacement string
* @param integer $m Optional minimum number of m() to meet
diff --git a/administrator/components/com_finder/models/index.php b/administrator/components/com_finder/models/index.php
index d1862184e6ba7..9d437ffb4ef73 100644
--- a/administrator/components/com_finder/models/index.php
+++ b/administrator/components/com_finder/models/index.php
@@ -89,7 +89,7 @@ protected function canEditState($record)
/**
* Method to delete one or more records.
*
- * @param array &$pks An array of record primary keys.
+ * @param array $pks An array of record primary keys.
*
* @return boolean True if successful, false if an error occurs.
*
@@ -395,7 +395,7 @@ protected function populateState($ordering = 'l.title', $direction = 'asc')
/**
* Method to change the published state of one or more records.
*
- * @param array &$pks A list of the primary keys to change.
+ * @param array $pks A list of the primary keys to change.
* @param integer $value The value of the published state. [optional]
*
* @return boolean True on success.
diff --git a/administrator/components/com_finder/models/maps.php b/administrator/components/com_finder/models/maps.php
index 957bf53e904e4..1dc75b1f68820 100644
--- a/administrator/components/com_finder/models/maps.php
+++ b/administrator/components/com_finder/models/maps.php
@@ -71,7 +71,7 @@ protected function canEditState($record)
/**
* Method to delete one or more records.
*
- * @param array &$pks An array of record primary keys.
+ * @param array $pks An array of record primary keys.
*
* @return boolean True if successful, false if an error occurs.
*
@@ -323,7 +323,7 @@ protected function populateState($ordering = 'd.branch_title', $direction = 'ASC
/**
* Method to change the published state of one or more records.
*
- * @param array &$pks A list of the primary keys to change.
+ * @param array $pks A list of the primary keys to change.
* @param integer $value The value of the published state. [optional]
*
* @return boolean True on success.
diff --git a/administrator/components/com_finder/tables/filter.php b/administrator/components/com_finder/tables/filter.php
index c9bd00bbe63cc..35cc290d70353 100644
--- a/administrator/components/com_finder/tables/filter.php
+++ b/administrator/components/com_finder/tables/filter.php
@@ -22,7 +22,7 @@ class FinderTableFilter extends JTable
/**
* Constructor
*
- * @param JDatabaseDriver &$db JDatabaseDriver connector object.
+ * @param JDatabaseDriver $db JDatabaseDriver connector object.
*
* @since 2.5
*/
diff --git a/administrator/components/com_finder/tables/link.php b/administrator/components/com_finder/tables/link.php
index 18c010eb06c46..7f8e6fbe8d0c6 100644
--- a/administrator/components/com_finder/tables/link.php
+++ b/administrator/components/com_finder/tables/link.php
@@ -19,7 +19,7 @@ class FinderTableLink extends JTable
/**
* Constructor
*
- * @param JDatabaseDriver &$db JDatabaseDriver connector object.
+ * @param JDatabaseDriver $db JDatabaseDriver connector object.
*
* @since 2.5
*/
diff --git a/administrator/components/com_finder/tables/map.php b/administrator/components/com_finder/tables/map.php
index 3b25bd5ea9345..cdb07f0d7682a 100644
--- a/administrator/components/com_finder/tables/map.php
+++ b/administrator/components/com_finder/tables/map.php
@@ -21,7 +21,7 @@ class FinderTableMap extends JTable
/**
* Constructor
*
- * @param JDatabaseDriver &$db JDatabaseDriver connector object.
+ * @param JDatabaseDriver $db JDatabaseDriver connector object.
*
* @since 2.5
*/
diff --git a/administrator/components/com_installer/models/extension.php b/administrator/components/com_installer/models/extension.php
index 2d6c1239215be..203a20f21e697 100644
--- a/administrator/components/com_installer/models/extension.php
+++ b/administrator/components/com_installer/models/extension.php
@@ -137,7 +137,7 @@ protected function _getList($query, $limitstart = 0, $limit = 0)
/**
* Translate a list of objects
*
- * @param array &$items The array of objects
+ * @param array $items The array of objects
*
* @return array The array of translated objects
*/
diff --git a/administrator/components/com_installer/models/manage.php b/administrator/components/com_installer/models/manage.php
index a046a110407b1..0781019dd2393 100644
--- a/administrator/components/com_installer/models/manage.php
+++ b/administrator/components/com_installer/models/manage.php
@@ -79,7 +79,7 @@ protected function populateState($ordering = 'name', $direction = 'asc')
/**
* Enable/Disable an extension.
*
- * @param array &$eid Extension ids to un/publish
+ * @param array $eid Extension ids to un/publish
* @param int $value Publish value
*
* @return boolean True on success
diff --git a/administrator/components/com_installer/models/update.php b/administrator/components/com_installer/models/update.php
index a77fdd8ac8558..54c1dad542530 100644
--- a/administrator/components/com_installer/models/update.php
+++ b/administrator/components/com_installer/models/update.php
@@ -154,7 +154,7 @@ protected function getListQuery()
/**
* Translate a list of objects
*
- * @param array &$items The array of objects
+ * @param array $items The array of objects
*
* @return array The array of translated objects
*
diff --git a/administrator/components/com_installer/models/updatesites.php b/administrator/components/com_installer/models/updatesites.php
index 10ba2f3937fd4..bf55104aa29fe 100644
--- a/administrator/components/com_installer/models/updatesites.php
+++ b/administrator/components/com_installer/models/updatesites.php
@@ -73,7 +73,7 @@ protected function populateState($ordering = 'name', $direction = 'asc')
/**
* Enable/Disable an extension.
*
- * @param array &$eid Extension ids to un/publish
+ * @param array $eid Extension ids to un/publish
* @param int $value Publish value
*
* @return boolean True on success
diff --git a/administrator/components/com_menus/helpers/menus.php b/administrator/components/com_menus/helpers/menus.php
index 5563fecc88bda..29f512055fd04 100644
--- a/administrator/components/com_menus/helpers/menus.php
+++ b/administrator/components/com_menus/helpers/menus.php
@@ -430,7 +430,7 @@ public static function installPreset($preset, $menutype)
/**
* Method to install a preset menu item into database and link it to the given menutype
*
- * @param stdClass[] &$items The single menuitem instance with a list of its descendants
+ * @param stdClass[] $items The single menuitem instance with a list of its descendants
* @param string $menutype The target menutype
* @param int $parent The parent id or object
*
diff --git a/administrator/components/com_menus/models/item.php b/administrator/components/com_menus/models/item.php
index c205868d1d8ea..0a131deefce75 100644
--- a/administrator/components/com_menus/models/item.php
+++ b/administrator/components/com_menus/models/item.php
@@ -1596,7 +1596,7 @@ public function saveorder($idArray = null, $lft_array = null)
/**
* Method to change the home state of one or more items.
*
- * @param array &$pks A list of the primary keys to change.
+ * @param array $pks A list of the primary keys to change.
* @param integer $value The value of the home state.
*
* @return boolean True on success.
@@ -1683,7 +1683,7 @@ public function setHome(&$pks, $value = 1)
/**
* Method to change the published state of one or more records.
*
- * @param array &$pks A list of the primary keys to change.
+ * @param array $pks A list of the primary keys to change.
* @param integer $value The value of the published state.
*
* @return boolean True on success.
diff --git a/administrator/components/com_menus/views/menutypes/view.html.php b/administrator/components/com_menus/views/menutypes/view.html.php
index 15affb3ecf0b5..56f0a3073c7ed 100644
--- a/administrator/components/com_menus/views/menutypes/view.html.php
+++ b/administrator/components/com_menus/views/menutypes/view.html.php
@@ -89,7 +89,7 @@ protected function addToolbar()
/**
* Method to add system link types to the link types array
*
- * @param array &$types The list of link types
+ * @param array $types The list of link types
*
* @return void
*
diff --git a/build/phpcs/Joomla/ruleset.xml b/build/phpcs/Joomla/ruleset.xml
index 7e094ee1fdf63..48c1a61969c08 100644
--- a/build/phpcs/Joomla/ruleset.xml
+++ b/build/phpcs/Joomla/ruleset.xml
@@ -157,6 +157,13 @@
templates/*
layouts/*
tests/*
+
+
+
+ administrator/components/*
+
+
+
administrator/components/*